Browse Source

Update all references of the app's name

from uberwriter to apostrophe, but the appIds
master
Manuel Genovés 3 years ago
parent
commit
29d2af97fa
  1. 8
      PKGBUILD
  2. 14
      README.md
  3. 20
      apostrophe.in
  4. 0
      apostrophe/.pylintrc
  5. 8
      apostrophe/__init__.py
  6. 18
      apostrophe/application.py
  7. 18
      apostrophe/auto_correct.py
  8. 2
      apostrophe/builder.py
  9. 14
      apostrophe/config.py
  10. 6
      apostrophe/export_dialog.py
  11. 2
      apostrophe/fix_table.py
  12. 4
      apostrophe/headerbars.py
  13. 12
      apostrophe/helpers.py
  14. 4
      apostrophe/inline_preview.py
  15. 0
      apostrophe/latex_to_PNG.py
  16. 32
      apostrophe/main_window.py
  17. 0
      apostrophe/markup_regex.py
  18. 0
      apostrophe/plugins/__init__.py
  19. 0
      apostrophe/plugins/bibtex/LICENSE.md
  20. 0
      apostrophe/plugins/bibtex/__init__.py
  21. 0
      apostrophe/plugins/bibtex/bibtex.glade
  22. 4
      apostrophe/plugins/bibtex/bibtex.py
  23. 0
      apostrophe/plugins/bibtex/bibtex_item.glade
  24. 0
      apostrophe/plugins/bibtex/bibtexparser/__init__.py
  25. 0
      apostrophe/plugins/bibtex/bibtexparser/bibdatabase.py
  26. 0
      apostrophe/plugins/bibtex/bibtexparser/bparser.py
  27. 0
      apostrophe/plugins/bibtex/bibtexparser/bwriter.py
  28. 0
      apostrophe/plugins/bibtex/bibtexparser/customization.py
  29. 0
      apostrophe/plugins/bibtex/bibtexparser/latexenc.py
  30. 0
      apostrophe/plugins/bibtex/fuzzywuzzy/StringMatcher.py
  31. 0
      apostrophe/plugins/bibtex/fuzzywuzzy/__init__.py
  32. 0
      apostrophe/plugins/bibtex/fuzzywuzzy/fuzz.py
  33. 0
      apostrophe/plugins/bibtex/fuzzywuzzy/process.py
  34. 0
      apostrophe/plugins/bibtex/fuzzywuzzy/string_processing.py
  35. 0
      apostrophe/plugins/bibtex/fuzzywuzzy/utils.py
  36. 0
      apostrophe/plugins/bibtex/gi_composites.py
  37. 0
      apostrophe/plugins/uberquation/equation_widget.glade
  38. 0
      apostrophe/plugins/uberquation/icons/Rightarrow
  39. 0
      apostrophe/plugins/uberquation/icons/^{0}
  40. 0
      apostrophe/plugins/uberquation/icons/_{0}
  41. 0
      apostrophe/plugins/uberquation/icons/alpha
  42. 0
      apostrophe/plugins/uberquation/icons/beta
  43. 0
      apostrophe/plugins/uberquation/icons/int_{0}^{1}{2}
  44. 0
      apostrophe/plugins/uberquation/icons/rarrow
  45. 0
      apostrophe/plugins/uberquation/uberquation.py
  46. 2
      apostrophe/preferences_dialog.py
  47. 4
      apostrophe/preview_converter.py
  48. 8
      apostrophe/preview_handler.py
  49. 6
      apostrophe/preview_renderer.py
  50. 0
      apostrophe/preview_web_view.py
  51. 0
      apostrophe/pylocales/__init__.py
  52. 0
      apostrophe/pylocales/locales.db
  53. 0
      apostrophe/pylocales/locales.py
  54. 6
      apostrophe/search_and_replace.py
  55. 2
      apostrophe/settings.py
  56. 2
      apostrophe/sidebar.py
  57. 2
      apostrophe/stats_counter.py
  58. 4
      apostrophe/stats_handler.py
  59. 2
      apostrophe/styled_window.py
  60. 0
      apostrophe/tables.py
  61. 22
      apostrophe/text_view.py
  62. 2
      apostrophe/text_view_drag_drop_handler.py
  63. 2
      apostrophe/text_view_format_inserter.py
  64. 4
      apostrophe/text_view_markup_handler.py
  65. 0
      apostrophe/text_view_scroller.py
  66. 2
      apostrophe/text_view_undo_redo_handler.py
  67. 4
      apostrophe/theme.py
  68. 35
      build-aux/flatpak/de.wolfvollprecht.UberWriter.pipdeps.json
  69. 0
      data/apostrophe.gresource.xml
  70. 26
      data/de.wolfvollprecht.UberWriter.appdata.xml.in.in
  71. 6
      data/de.wolfvollprecht.UberWriter.desktop.in.in
  72. 0
      data/icons/de.wolfvollprecht.apostrophe.Source
  73. 2
      data/media/apostrophe_markdown.md
  74. 30
      data/media/css/gtk/base.css
  75. 32
      data/media/raw/raw_icons.svg
  76. 2
      data/meson.build
  77. 6
      data/ui/About.ui.in
  78. 2
      data/ui/Menu.ui
  79. 8
      help/C/index.page
  80. 2
      help/C/pandocs-markdown.page
  81. 8
      help/C/preview.page
  82. 14
      help/stump/help_backup.html
  83. 10
      help/stump/help_backup.md
  84. 2
      lipsum.md
  85. 10
      meson.build
  86. 116
      po/uberwriter.pot
  87. 4
      po/update_translations.sh
  88. 8
      screenshots/mockups.svg
  89. 16
      screenshots/mockups_text.svg
  90. 10
      screenshots/mockups_text2.svg
  91. 2
      scripts/color_palette_generator.py
  92. 2
      scripts/data_generator.sh
  93. 12
      tests/test_example.py
  94. 4
      tests/test_lint.py
  95. 2
      tests/test_regex_commonmark.py
  96. 99
      uberwriter/plugins/bibtex/bibtex.glade~
  97. 48
      uberwriter/plugins/bibtex/bibtex_item.glade~
  98. 109
      uberwriter/plugins/uberquation/equation_widget.glade~

8
PKGBUILD

@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
pkgname=uberwriter
_pkgname=uberwriter
pkgname=apostrophe
_pkgname=apostrophe
pkgver=2.1.3
pkgrel=1
pkgdesc='A distraction free Markdown editor for GNU/Linux made with GTK+'
arch=('any')
url='http://uberwriter.github.io/uberwriter/'
url='http://apostrophe.github.io/apostrophe/'
license=('GPL3')
depends=('gtk3' 'pandoc' 'gspell')
makedepends=('python-setuptools')
optdepends=('texlive-core' 'otf-fira-mono: Recommended font')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=('git+https://github.com/UberWriter/uberwriter.git#branch=refactoring')
source=('git+https://github.com/Apostrophe/apostrophe.git#branch=refactoring')
sha256sums=('SKIP')
pkgver() {

14
README.md

@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
[![Please do not theme this app](https://stopthemingmy.app/badge.svg)](https://stopthemingmy.app)
# Uberwriter
# Apostrophe
![](screenshots/main.png)
## About
Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.
Apostrophe is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.
## Install
You can get UberWriter on Flathub!
You can get Apostrophe on Flathub!
[Get it now](https://flathub.org/apps/details/de.wolfvollprecht.UberWriter)
## Contributions and localization
@ -21,13 +21,13 @@ Any help is appreciated! @@ -21,13 +21,13 @@ Any help is appreciated!
## Building from Git
```bash
$ git clone https://github.com/UberWriter/uberwriter.git
$ cd uberwriter
$ git clone https://github.com/Apostrophe/apostrophe.git
$ cd apostrophe
$ meson builddir --prefix=/usr
# sudo ninja -C builddir install
```
To use uberwriter, please make sure you have some dependencies installed:
To use apostrophe, please make sure you have some dependencies installed:
- Pandoc, the program used to convert Markdown to basically anything else (the package name should be pandoc in most distributions)
- Of course, gtk3 etc. needs to be installed as well since this is a gtk application
@ -37,7 +37,7 @@ To use uberwriter, please make sure you have some dependencies installed: @@ -37,7 +37,7 @@ To use uberwriter, please make sure you have some dependencies installed:
### Running it without installing it
You can run UberWriter with `./uberwriter.in` without installing it in the system,
You can run Apostrophe with `./apostrophe.in` without installing it in the system,
but you'll need to install and compile the schemas before:
```bash

20
uberwriter.in → apostrophe.in

@ -31,33 +31,33 @@ from gi.repository import Gio @@ -31,33 +31,33 @@ from gi.repository import Gio
PROJECT_ROOT_DIRECTORY = os.path.abspath(
os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))
# Set the path if needed. This allows uberwriter to run without installing it :)
# Set the path if needed. This allows apostrophe to run without installing it :)
python_path = []
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'uberwriter'))
if (os.path.exists(os.path.join(PROJECT_ROOT_DIRECTORY, 'apostrophe'))
and PROJECT_ROOT_DIRECTORY not in sys.path):
python_path.insert(0, PROJECT_ROOT_DIRECTORY)
sys.path.insert(0, PROJECT_ROOT_DIRECTORY)
if python_path:
os.putenv('PYTHONPATH', "%s:%s" % (os.getenv('PYTHONPATH', ''), ':'.join(python_path))) # for subprocesses
import uberwriter
import apostrophe
localedir = '@LOCALE_DIR@'
pkgdatadir = '@DATA_DIR@'
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(uberwriter.__file__),'../po/'))
#locale_dir = os.path.abspath(os.path.join(os.path.dirname(apostrophe.__file__),'../po/'))
# L10n
locale.textdomain('uberwriter')
locale.bindtextdomain('uberwriter', localedir)
gettext.textdomain('uberwriter')
gettext.bindtextdomain('uberwriter', localedir)
locale.textdomain('apostrophe')
locale.bindtextdomain('apostrophe', localedir)
gettext.textdomain('apostrophe')
gettext.bindtextdomain('apostrophe', localedir)
resource = Gio.resource_load(os.path.join(pkgdatadir, 'uberwriter/uberwriter.gresource'))
resource = Gio.resource_load(os.path.join(pkgdatadir, 'apostrophe/apostrophe.gresource'))
Gio.Resource._register(resource)
uberwriter.main()
apostrophe.main()

0
uberwriter/.pylintrc → apostrophe/.pylintrc

8
uberwriter/__init__.py → apostrophe/__init__.py

@ -19,10 +19,10 @@ import gi @@ -19,10 +19,10 @@ import gi
gi.require_version('Gtk', '3.0')
from uberwriter import main_window
from uberwriter import application
from uberwriter.helpers import set_up_logging
from uberwriter.config import get_version
from apostrophe import main_window
from apostrophe import application
from apostrophe.helpers import set_up_logging
from apostrophe.config import get_version
def main():

18
uberwriter/application.py → apostrophe/application.py

@ -15,16 +15,16 @@ from gettext import gettext as _ @@ -15,16 +15,16 @@ from gettext import gettext as _
import gi
from uberwriter.main_window import MainWindow
from apostrophe.main_window import MainWindow
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
from gi.repository import GLib, Gio, Gtk, GdkPixbuf
from uberwriter import main_window
from uberwriter.settings import Settings
from uberwriter.helpers import set_up_logging
from uberwriter.preferences_dialog import PreferencesDialog
from uberwriter.helpers import get_media_path
from apostrophe import main_window
from apostrophe.settings import Settings
from apostrophe.helpers import set_up_logging
from apostrophe.preferences_dialog import PreferencesDialog
from apostrophe.helpers import get_media_path
class Application(Gtk.Application):
@ -161,7 +161,7 @@ class Application(Gtk.Application): @@ -161,7 +161,7 @@ class Application(Gtk.Application):
if not self.window:
# Windows are associated with the application
# when the last one is closed the application shuts down
# self.window = Window(application=self, title="UberWriter")
# self.window = Window(application=self, title="Apostrophe")
self.window = MainWindow(self)
if self.args:
self.window.load_file(self.args[0])
@ -173,7 +173,7 @@ class Application(Gtk.Application): @@ -173,7 +173,7 @@ class Application(Gtk.Application):
parser = argparse.ArgumentParser()
parser.add_argument(
"-v", "--verbose", action="count", dest="verbose",
help=_("Show debug messages (-vv debugs uberwriter also)"))
help=_("Show debug messages (-vv debugs apostrophe also)"))
parser.add_argument(
"-e", "--experimental-features", help=_("Use experimental features"),
action='store_true')
@ -263,7 +263,7 @@ class Application(Gtk.Application): @@ -263,7 +263,7 @@ class Application(Gtk.Application):
builder.get_object("shortcuts").show()
def on_open_tutorial(self, _action, _value):
self.window.open_uberwriter_markdown()
self.window.open_apostrophe_markdown()
def on_about(self, _action, _param):
builder = Gtk.Builder()

18
uberwriter/auto_correct.py → apostrophe/auto_correct.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
# UberwriterAutoCorrect
# The Uberwriter Auto Correct is a auto correction
# ApostropheAutoCorrect
# The Apostrophe Auto Correct is a auto correction
# mechanism to prevent stupid typos
# CURRENTLY DISABLED
@ -13,16 +13,16 @@ from gi.repository import Gtk, Gdk @@ -13,16 +13,16 @@ from gi.repository import Gtk, Gdk
import enchant
from uberwriter import pressagio
# import uberwriter.pressagio.predictor
# import uberwriter.pressagio.tokenizer
# import uberwriter.pressagio.dbconnector
# import uberwriter.pressagio.context_tracker
# import uberwriter.pressagio.callback
from apostrophe import pressagio
# import apostrophe.pressagio.predictor
# import apostrophe.pressagio.tokenizer
# import apostrophe.pressagio.dbconnector
# import apostrophe.pressagio.context_tracker
# import apostrophe.pressagio.callback
# from Levenshtein import distance
from uberwriter.helpers import get_media_path
from apostrophe.helpers import get_media_path
# Define and create PresageCallback object
class PressagioCallback(pressagio.callback.Callback):

2
uberwriter/builder.py → apostrophe/builder.py

@ -28,7 +28,7 @@ import gi @@ -28,7 +28,7 @@ import gi
gi.require_version('Gtk', '3.0') # pylint: disable=wrong-import-position
from gi.repository import GObject, Gtk # pylint: disable=E0611
LOGGER = logging.getLogger('uberwriter')
LOGGER = logging.getLogger('apostrophe')
# this module is big so uses some conventional prefixes and postfixes
# *s list, except self.widgets is a dictionary

14
uberwriter/config.py → apostrophe/config.py

@ -24,7 +24,7 @@ __all__ = [ @@ -24,7 +24,7 @@ __all__ = [
# Where your project will look for your data (for instance, images and ui
# files). By default, this is ../data, relative your trunk layout
__uberwriter_data_directory__ = '../data/'
__apostrophe_data_directory__ = '../data/'
__license__ = 'GPL-3'
__version__ = 'VERSION'
@ -45,25 +45,25 @@ def get_data_file(*path_segments): @@ -45,25 +45,25 @@ def get_data_file(*path_segments):
def get_data_path():
"""Retrieve uberwriter data path
"""Retrieve apostrophe data path
This path is by default <uberwriter_path>/../data/ in trunk
and /opt/uberwriter/data in an installed version but this path
This path is by default <apostrophe_path>/../data/ in trunk
and /opt/apostrophe/data in an installed version but this path
is specified at installation time.
"""
# Get pathname absolute or relative.
if os.path.isfile("/.flatpak-info"):
return '/app/share/uberwriter/'
return '/app/share/apostrophe/'
path = os.path.join(
os.path.dirname(__file__), __uberwriter_data_directory__)
os.path.dirname(__file__), __apostrophe_data_directory__)
# We try first if the data exists in the local folder and then
# in the system installation path
abs_data_path = os.path.abspath(path)
if not os.path.exists(abs_data_path):
abs_data_path = '/usr/share/uberwriter/'
abs_data_path = '/usr/share/apostrophe/'
elif not os.path.exists(abs_data_path):
raise ProjectPathNotFound

6
uberwriter/export_dialog.py → apostrophe/export_dialog.py

@ -26,10 +26,10 @@ import gi @@ -26,10 +26,10 @@ import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib
from uberwriter import helpers
from uberwriter.theme import Theme
from apostrophe import helpers
from apostrophe.theme import Theme
LOGGER = logging.getLogger('uberwriter')
LOGGER = logging.getLogger('apostrophe')
class Export:

2
uberwriter/fix_table.py → apostrophe/fix_table.py

@ -4,7 +4,7 @@ gi.require_version('Gtk', '3.0') @@ -4,7 +4,7 @@ gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
import logging
logger = logging.getLogger('uberwriter')
logger = logging.getLogger('apostrophe')
class FixTable():

4
uberwriter/headerbars.py → apostrophe/headerbars.py

@ -22,8 +22,8 @@ from gettext import gettext as _ @@ -22,8 +22,8 @@ from gettext import gettext as _
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib
from uberwriter.helpers import get_descendant
from uberwriter.settings import Settings
from apostrophe.helpers import get_descendant
from apostrophe.settings import Settings
class BaseHeaderbar:

12
uberwriter/helpers.py → apostrophe/helpers.py

@ -26,13 +26,13 @@ import gi @@ -26,13 +26,13 @@ import gi
import pypandoc
from gi.overrides.Pango import Pango
from uberwriter.settings import Settings
from apostrophe.settings import Settings
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk # pylint: disable=E0611
from uberwriter.config import get_data_file
from uberwriter.builder import Builder
from apostrophe.config import get_data_file
from apostrophe.builder import Builder
@ -108,12 +108,12 @@ def set_up_logging(opts): @@ -108,12 +108,12 @@ def set_up_logging(opts):
formatter = logging.Formatter(
"%(levelname)s:%(name)s: %(funcName)s() '%(message)s'")
logger = logging.getLogger('uberwriter')
logger = logging.getLogger('apostrophe')
logger_sh = logging.StreamHandler()
logger_sh.setFormatter(formatter)
logger.addHandler(logger_sh)
lib_logger = logging.getLogger('uberwriter')
lib_logger = logging.getLogger('apostrophe')
lib_logger_sh = logging.StreamHandler()
lib_logger_sh.setFormatter(formatter)
lib_logger.addHandler(lib_logger_sh)
@ -133,7 +133,7 @@ def get_help_uri(page=None): @@ -133,7 +133,7 @@ def get_help_uri(page=None):
if not os.path.exists(help_uri):
# installed so use gnome help tree - user's language
help_uri = 'uberwriter'
help_uri = 'apostrophe'
# unspecified page is the index.page
if page is not None:

4
uberwriter/inline_preview.py → apostrophe/inline_preview.py

@ -26,8 +26,8 @@ gi.require_version("Gtk", "3.0") @@ -26,8 +26,8 @@ gi.require_version("Gtk", "3.0")
gi.require_version("WebKit2", "4.0")
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib
from gi.repository import WebKit2
from uberwriter import latex_to_PNG, markup_regex
from uberwriter.settings import Settings
from apostrophe import latex_to_PNG, markup_regex
from apostrophe.settings import Settings
class DictAccessor:

0
uberwriter/latex_to_PNG.py → apostrophe/latex_to_PNG.py

32
uberwriter/main_window.py → apostrophe/main_window.py

@ -23,22 +23,22 @@ from gettext import gettext as _ @@ -23,22 +23,22 @@ from gettext import gettext as _
import gi
from uberwriter.export_dialog import Export
from uberwriter.preview_handler import PreviewHandler
from uberwriter.stats_handler import StatsHandler
from uberwriter.styled_window import StyledWindow
from uberwriter.text_view import TextView
from apostrophe.export_dialog import Export
from apostrophe.preview_handler import PreviewHandler
from apostrophe.stats_handler import StatsHandler
from apostrophe.styled_window import StyledWindow
from apostrophe.text_view import TextView
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk, GObject, GLib, Gio
import cairo
from uberwriter import helpers
from apostrophe import helpers
from uberwriter.sidebar import Sidebar
from uberwriter.search_and_replace import SearchAndReplace
from uberwriter.settings import Settings
from apostrophe.sidebar import Sidebar
from apostrophe.search_and_replace import SearchAndReplace
from apostrophe.settings import Settings
from . import headerbars
@ -46,9 +46,9 @@ from . import headerbars @@ -46,9 +46,9 @@ from . import headerbars
# TODO move them somewhere for better
# accesibility from other files
LOGGER = logging.getLogger('uberwriter')
LOGGER = logging.getLogger('apostrophe')
CONFIG_PATH = os.path.expanduser("~/.config/uberwriter/")
CONFIG_PATH = os.path.expanduser("~/.config/apostrophe/")
class MainWindow(StyledWindow):
@ -65,9 +65,9 @@ class MainWindow(StyledWindow): @@ -65,9 +65,9 @@ class MainWindow(StyledWindow):
def __init__(self, app):
"""Set up the main window"""
super().__init__(application=Gio.Application.get_default(), title="Uberwriter")
super().__init__(application=Gio.Application.get_default(), title="Apostrophe")
self.get_style_context().add_class('uberwriter-window')
self.get_style_context().add_class('apostrophe-window')
# Set UI
builder = Gtk.Builder()
@ -109,7 +109,7 @@ class MainWindow(StyledWindow): @@ -109,7 +109,7 @@ class MainWindow(StyledWindow):
root.reorder_overlay(self.dm_headerbar.hb_revealer, 0)
root.set_overlay_pass_through(self.dm_headerbar.hb_revealer, True)
self.title_end = "UberWriter"
self.title_end = "Apostrophe"
self.set_headerbar_title("New File" + self.title_end)
self.accel_group = Gtk.AccelGroup()
@ -531,13 +531,13 @@ class MainWindow(StyledWindow): @@ -531,13 +531,13 @@ class MainWindow(StyledWindow):
else:
LOGGER.warning("No File arg")
def open_uberwriter_markdown(self, _widget=None, _data=None):
def open_apostrophe_markdown(self, _widget=None, _data=None):
"""open a markdown mini tutorial
"""
if self.check_change() == Gtk.ResponseType.CANCEL:
return
self.load_file(helpers.get_media_file('uberwriter_markdown.md'))
self.load_file(helpers.get_media_file('apostrophe_markdown.md'))
def open_search(self, replace=False):
"""toggle the search box

0
uberwriter/markup_regex.py → apostrophe/markup_regex.py

0
uberwriter/plugins/__init__.py → apostrophe/plugins/__init__.py

0
uberwriter/plugins/bibtex/LICENSE.md → apostrophe/plugins/bibtex/LICENSE.md

0
uberwriter/plugins/bibtex/__init__.py → apostrophe/plugins/bibtex/__init__.py

0
uberwriter/plugins/bibtex/bibtex.glade → apostrophe/plugins/bibtex/bibtex.glade

4
uberwriter/plugins/bibtex/bibtex.py → apostrophe/plugins/bibtex/bibtex.py

@ -6,7 +6,7 @@ from . import fuzzywuzzy @@ -6,7 +6,7 @@ from . import fuzzywuzzy
from .gi_composites import GtkTemplate
@GtkTemplate(ui='/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex_item.glade')
@GtkTemplate(ui='/home/wolfv/Programs/apostrophe/apostrophe/plugins/bibtex/bibtex_item.glade')
class BibTexItem(Gtk.Box):
__gtype_name__ = 'BibTexItem'
@ -68,7 +68,7 @@ class BibTex(object): @@ -68,7 +68,7 @@ class BibTex(object):
self.bib_db = bibtexparser.load(f)
builder = Gtk.Builder()
builder.add_from_file('/home/wolfv/Programs/uberwriter/uberwriter/plugins/bibtex/bibtex.glade')
builder.add_from_file('/home/wolfv/Programs/apostrophe/apostrophe/plugins/bibtex/bibtex.glade')
self.window = builder.get_object('bibtex_window')
self.window.set_transient_for(self.app)
self.window.set_modal(True)

0
uberwriter/plugins/bibtex/bibtex_item.glade → apostrophe/plugins/bibtex/bibtex_item.glade

0
uberwriter/plugins/bibtex/bibtexparser/__init__.py → apostrophe/plugins/bibtex/bibtexparser/__init__.py

0
uberwriter/plugins/bibtex/bibtexparser/bibdatabase.py → apostrophe/plugins/bibtex/bibtexparser/bibdatabase.py

0
uberwriter/plugins/bibtex/bibtexparser/bparser.py → apostrophe/plugins/bibtex/bibtexparser/bparser.py

0
uberwriter/plugins/bibtex/bibtexparser/bwriter.py → apostrophe/plugins/bibtex/bibtexparser/bwriter.py

0
uberwriter/plugins/bibtex/bibtexparser/customization.py → apostrophe/plugins/bibtex/bibtexparser/customization.py

0
uberwriter/plugins/bibtex/bibtexparser/latexenc.py → apostrophe/plugins/bibtex/bibtexparser/latexenc.py

0
uberwriter/plugins/bibtex/fuzzywuzzy/StringMatcher.py → apostrophe/plugins/bibtex/fuzzywuzzy/StringMatcher.py

0
uberwriter/plugins/bibtex/fuzzywuzzy/__init__.py → apostrophe/plugins/bibtex/fuzzywuzzy/__init__.py

0
uberwriter/plugins/bibtex/fuzzywuzzy/fuzz.py → apostrophe/plugins/bibtex/fuzzywuzzy/fuzz.py

0
uberwriter/plugins/bibtex/fuzzywuzzy/process.py → apostrophe/plugins/bibtex/fuzzywuzzy/process.py

0
uberwriter/plugins/bibtex/fuzzywuzzy/string_processing.py → apostrophe/plugins/bibtex/fuzzywuzzy/string_processing.py

0
uberwriter/plugins/bibtex/fuzzywuzzy/utils.py → apostrophe/plugins/bibtex/fuzzywuzzy/utils.py

0
uberwriter/plugins/bibtex/gi_composites.py → apostrophe/plugins/bibtex/gi_composites.py

0
uberwriter/plugins/uberquation/equation_widget.glade → apostrophe/plugins/uberquation/equation_widget.glade

0
uberwriter/plugins/uberquation/icons/Rightarrow → apostrophe/plugins/uberquation/icons/Rightarrow

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
uberwriter/plugins/uberquation/icons/^{0} → apostrophe/plugins/uberquation/icons/^{0}

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

0
uberwriter/plugins/uberquation/icons/_{0} → apostrophe/plugins/uberquation/icons/_{0}

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

0
uberwriter/plugins/uberquation/icons/alpha → apostrophe/plugins/uberquation/icons/alpha

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
uberwriter/plugins/uberquation/icons/beta → apostrophe/plugins/uberquation/icons/beta

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
uberwriter/plugins/uberquation/icons/int_{0}^{1}{2} → apostrophe/plugins/uberquation/icons/int_{0}^{1}{2}

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

0
uberwriter/plugins/uberquation/icons/rarrow → apostrophe/plugins/uberquation/icons/rarrow

Before

Width:  |  Height:  |  Size: 223 B

After

Width:  |  Height:  |  Size: 223 B

0
uberwriter/plugins/uberquation/uberquation.py → apostrophe/plugins/uberquation/uberquation.py

2
uberwriter/preferences_dialog.py → apostrophe/preferences_dialog.py

@ -25,7 +25,7 @@ import gi @@ -25,7 +25,7 @@ import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Pango, GLib # pylint: disable=E0611
import logging
logger = logging.getLogger('uberwriter')
logger = logging.getLogger('apostrophe')

4
uberwriter/preview_converter.py → apostrophe/preview_converter.py

@ -4,8 +4,8 @@ import os @@ -4,8 +4,8 @@ import os
from gi.repository import GLib
from uberwriter import helpers
from uberwriter.theme import Theme
from apostrophe import helpers
from apostrophe.theme import Theme
class PreviewConverter:

8
uberwriter/preview_handler.py → apostrophe/preview_handler.py

@ -4,14 +4,14 @@ from enum import auto, IntEnum @@ -4,14 +4,14 @@ from enum import auto, IntEnum
import gi
from uberwriter.preview_renderer import PreviewRenderer
from uberwriter.settings import Settings
from apostrophe.preview_renderer import PreviewRenderer
from apostrophe.settings import Settings
gi.require_version('WebKit2', '4.0')
from gi.repository import WebKit2, GLib, Gtk
from uberwriter.preview_converter import PreviewConverter
from uberwriter.preview_web_view import PreviewWebView
from apostrophe.preview_converter import PreviewConverter
from apostrophe.preview_web_view import PreviewWebView
class Step(IntEnum):

6
uberwriter/preview_renderer.py → apostrophe/preview_renderer.py

@ -2,9 +2,9 @@ from gettext import gettext as _ @@ -2,9 +2,9 @@ from gettext import gettext as _
from gi.repository import Gtk, Gio, GLib
from uberwriter import headerbars
from uberwriter.settings import Settings
from uberwriter.styled_window import StyledWindow
from apostrophe import headerbars
from apostrophe.settings import Settings
from apostrophe.styled_window import StyledWindow
class PreviewRenderer:

0
uberwriter/preview_web_view.py → apostrophe/preview_web_view.py

0
uberwriter/pylocales/__init__.py → apostrophe/pylocales/__init__.py

0
uberwriter/pylocales/locales.db → apostrophe/pylocales/locales.db

0
uberwriter/pylocales/locales.py → apostrophe/pylocales/locales.py

6
uberwriter/search_and_replace.py → apostrophe/search_and_replace.py

@ -19,20 +19,20 @@ import re @@ -19,20 +19,20 @@ import re
import gi
from uberwriter.helpers import user_action
from apostrophe.helpers import user_action
gi.require_version('Gtk', '3.0')
from gi.repository import Gdk
# from plugins import plugins
LOGGER = logging.getLogger('uberwriter')
LOGGER = logging.getLogger('apostrophe')
class SearchAndReplace:
"""
Adds (regex) search and replace functionality to
uberwriter
apostrophe
"""
def __init__(self, parentwindow, textview, builder):

2
uberwriter/settings.py → apostrophe/settings.py

@ -18,7 +18,7 @@ from gi.repository import Gio @@ -18,7 +18,7 @@ from gi.repository import Gio
class Settings(Gio.Settings):
"""
UberWriter Settings
Apostrophe Settings
"""
def __init__(self):

2
uberwriter/sidebar.py → apostrophe/sidebar.py

@ -23,7 +23,7 @@ from gi.repository import Gtk, Gdk @@ -23,7 +23,7 @@ from gi.repository import Gtk, Gdk
# from plugins import plugins
import logging
logger = logging.getLogger('uberwriter')
logger = logging.getLogger('apostrophe')
class Shelve():
"""

2
uberwriter/stats_counter.py → apostrophe/stats_counter.py

@ -3,7 +3,7 @@ from multiprocessing import Process, Pipe @@ -3,7 +3,7 @@ from multiprocessing import Process, Pipe
from gi.repository import GLib
from uberwriter.markup_regex import ITALIC_ASTERISK, ITALIC_UNDERSCORE, BOLD_ITALIC, BOLD, STRIKETHROUGH, IMAGE, LINK, LINK_ALT,\
from apostrophe.markup_regex import ITALIC_ASTERISK, ITALIC_UNDERSCORE, BOLD_ITALIC, BOLD, STRIKETHROUGH, IMAGE, LINK, LINK_ALT,\
HORIZONTAL_RULE, LIST, MATH, TABLE, CODE_BLOCK, HEADER_UNDER, HEADER, BLOCK_QUOTE, ORDERED_LIST, \
FOOTNOTE_ID, FOOTNOTE

4
uberwriter/stats_handler.py → apostrophe/stats_handler.py

@ -2,8 +2,8 @@ from gettext import gettext as _ @@ -2,8 +2,8 @@ from gettext import gettext as _
from gi.repository import GLib, Gio, Gtk
from uberwriter.settings import Settings
from uberwriter.stats_counter import StatsCounter
from apostrophe.settings import Settings
from apostrophe.stats_counter import StatsCounter
class StatsHandler:

2
uberwriter/styled_window.py → apostrophe/styled_window.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
import gi
from uberwriter import helpers
from apostrophe import helpers
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, GLib, Gio

0
uberwriter/tables.py → apostrophe/tables.py

22
uberwriter/text_view.py → apostrophe/text_view.py

@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
import gi
from uberwriter.helpers import user_action
from uberwriter.inline_preview import InlinePreview
from uberwriter.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT
from uberwriter.text_view_format_inserter import FormatInserter
from uberwriter.text_view_markup_handler import MarkupHandler
from uberwriter.text_view_scroller import TextViewScroller
from uberwriter.text_view_undo_redo_handler import UndoRedoHandler
from apostrophe.helpers import user_action
from apostrophe.inline_preview import InlinePreview
from apostrophe.text_view_drag_drop_handler import DragDropHandler, TARGET_URI, TARGET_TEXT
from apostrophe.text_view_format_inserter import FormatInserter
from apostrophe.text_view_markup_handler import MarkupHandler
from apostrophe.text_view_scroller import TextViewScroller
from apostrophe.text_view_undo_redo_handler import UndoRedoHandler
gi.require_version('Gtk', '3.0')
gi.require_version('Gspell', '1')
@ -14,11 +14,11 @@ from gi.repository import Gtk, Gdk, GObject, GLib, Gspell @@ -14,11 +14,11 @@ from gi.repository import Gtk, Gdk, GObject, GLib, Gspell
import logging
LOGGER = logging.getLogger('uberwriter')
LOGGER = logging.getLogger('apostrophe')
class TextView(Gtk.TextView):
"""UberwriterTextView encapsulates all the features around the editor.
"""ApostropheTextView encapsulates all the features around the editor.
It combines the following:
- Undo / redo (via TextBufferUndoRedoHandler)
@ -27,7 +27,7 @@ class TextView(Gtk.TextView): @@ -27,7 +27,7 @@ class TextView(Gtk.TextView):
- Preview popover (via TextBufferMarkupHandler)
- Drag and drop (via TextViewDragDropHandler)
- Scrolling (via TextViewScroller)
- The various modes supported by UberWriter (eg. Focus Mode, Hemingway Mode)
- The various modes supported by Apostrophe (eg. Focus Mode, Hemingway Mode)
"""
__gsignals__ = {
@ -52,7 +52,7 @@ class TextView(Gtk.TextView): @@ -52,7 +52,7 @@ class TextView(Gtk.TextView):
self.set_pixels_above_lines(4)
self.set_pixels_below_lines(4)
self.set_pixels_inside_wrap(8)
self.get_style_context().add_class('uberwriter-editor')
self.get_style_context().add_class('apostrophe-editor')
self.set_margin_left(8)
self.set_margin_right(8)

2
uberwriter/text_view_drag_drop_handler.py → apostrophe/text_view_drag_drop_handler.py

@ -2,7 +2,7 @@ import mimetypes @@ -2,7 +2,7 @@ import mimetypes
import urllib
from gettext import gettext as _
from os.path import basename
from uberwriter.settings import Settings
from apostrophe.settings import Settings
from gi.repository import Gtk

2
uberwriter/text_view_format_inserter.py → apostrophe/text_view_format_inserter.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
from gettext import gettext as _
from uberwriter.helpers import user_action
from apostrophe.helpers import user_action
class FormatInserter:

4
uberwriter/text_view_markup_handler.py → apostrophe/text_view_markup_handler.py

@ -19,8 +19,8 @@ from multiprocessing import Pipe, Process @@ -19,8 +19,8 @@ from multiprocessing import Pipe, Process
import gi
from uberwriter import helpers, markup_regex
from uberwriter.markup_regex import STRIKETHROUGH, BOLD_ITALIC, BOLD, ITALIC_ASTERISK, ITALIC_UNDERSCORE, IMAGE, LINK,\
from apostrophe import helpers, markup_regex
from apostrophe.markup_regex import STRIKETHROUGH, BOLD_ITALIC, BOLD, ITALIC_ASTERISK, ITALIC_UNDERSCORE, IMAGE, LINK,\
LINK_ALT, HORIZONTAL_RULE, LIST, ORDERED_LIST, BLOCK_QUOTE, HEADER, HEADER_UNDER, TABLE, MATH, \
CODE

0
uberwriter/text_view_scroller.py → apostrophe/text_view_scroller.py

2
uberwriter/text_view_undo_redo_handler.py → apostrophe/text_view_undo_redo_handler.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
import logging
LOGGER = logging.getLogger('uberwriter')
LOGGER = logging.getLogger('apostrophe')
class UndoableInsert:

4
uberwriter/theme.py → apostrophe/theme.py

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
from gi.repository import Gtk
from uberwriter.settings import Settings
from uberwriter.helpers import get_css_path
from apostrophe.settings import Settings
from apostrophe.helpers import get_css_path
class Theme:

35
build-aux/flatpak/de.wolfvollprecht.UberWriter.pipdeps.json

@ -0,0 +1,35 @@ @@ -0,0 +1,35 @@
{
"name": "pipdeps",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyenchant regex pypandoc"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/5d/c1/45947333669b31bc6b4933308dd07c2aa2fedcec0a95b14eedae993bd449/wheel-0.31.0.tar.gz",
"sha256": "1ae8153bed701cb062913b72429bcf854ba824f973735427681882a688cb55ce"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz",
"sha256": "f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/71/81/00184643e5a10a456b4118fc12c96780823adb8ed974eb2289f29703b29b/pypandoc-1.4.tar.gz",
"sha256": "e914e6d5f84a76764887e4d909b09d63308725f0cbb5293872c2c92f07c11a5b"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/a2/51/c39562cfed3272592c60cfd229e5464d715b78537e332eac2b695422dc49/regex-2018.02.21.tar.gz",
"sha256": "b44624a38d07d3c954c84ad302c29f7930f4bf01443beef5589e9157b14e2a29"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz",
"sha256": "fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0"
}
]
}

0
data/uberwriter.gresource.xml → data/apostrophe.gresource.xml

26
data/de.wolfvollprecht.UberWriter.appdata.xml.in.in

@ -2,29 +2,29 @@ @@ -2,29 +2,29 @@
<component type="desktop-application">
<id>@app-id@</id>
<launchable type="desktop-id">@app-id@.desktop</launchable>
<name>UberWriter</name>
<name>Apostrophe</name>
<summary>An elegant, distraction-free GTK+ markdown editor</summary>
<description>
<p>Uberwriter is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.</p>
<p>Apostrophe is a GTK+ based distraction free Markdown editor, mainly developed by Wolf Vollprecht and Manuel Genovés. It uses pandoc as backend for markdown parsing and offers a very clean and sleek user interface.</p>
<p>You can install the recommended TexLive extension with the command:</p>
<p>flatpak install flathub de.wolfvollprecht.UberWriter.Plugin.TexLive</p>
<p>or from Gnome-Software</p>
</description>
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main.png</image>
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/main.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/main-dark.png</image>
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/main-dark.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/formula.png</image>
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/formula.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/preview.png</image>
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/preview.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/UberWriter/uberwriter/master/screenshots/focus.png</image>
<image type="source">https://raw.githubusercontent.com/Apostrophe/apostrophe/master/screenshots/focus.png</image>
</screenshot>
</screenshots>
<releases>
@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
<description>
<ul>
<li>Added italian language</li>
<li>Initial themes support: now uberwriter adapts his colors to the current GTK theme</li>
<li>Initial themes support: now apostrophe adapts his colors to the current GTK theme</li>
<li>Disabled scroll gradient, can be enabled in the preferences dialog</li>
<li>Allow to disable headerbar autohidding in Dconf</li>
<li>Now a single click is enough to open files in the recent files popover</li>
@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
</release>
<release date="2018-07-27" version="2.1.2">
<description>
<p>This release provides a fix to a bug that caused Uberwriter to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
<p>This release provides a fix to a bug that caused Apostrophe to not mark properly **bold**, *cursive*, and ***bold and cursive*** words.</p>
</description>
</release>
<release date="2018-07-26" version="2.1.1">
@ -115,12 +115,12 @@ @@ -115,12 +115,12 @@
</releases>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<url type="homepage">http://uberwriter.github.io/uberwriter</url>
<url type="homepage">http://apostrophe.github.io/apostrophe</url>
<content_rating type="oars-1.1"/>
<developer_name>Wolf V., Manuel G.</developer_name>
<url type="bugtracker">https://github.com/UberWriter/uberwriter/issues</url>
<url type="donation">https://liberapay.com/UberWriter/donate</url>
<url type="help">http://uberwriter.github.io/uberwriter</url>
<url type="bugtracker">https://github.com/Apostrophe/apostrophe/issues</url>
<url type="donation">https://liberapay.com/Apostrophe/donate</url>
<url type="help">http://apostrophe.github.io/apostrophe</url>
<url type="translate">https://poeditor.com/join/project/gxVzFyXb2x</url>
<update_contact>manuel.genoves_at_gmail.com</update_contact>
<translation type="gettext">@gettext-package@</translation>

6
data/de.wolfvollprecht.UberWriter.desktop.in.in

@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
[Desktop Entry]
Name=UberWriter
Comment=UberWriter, a simple and distraction free Markdown Editor
Name=Apostrophe
Comment=Apostrophe, a simple and distraction free Markdown Editor
Categories=GNOME;GTK;Office;
Exec=uberwriter %U
Exec=apostrophe %U
Icon=@icon@
Terminal=false
Type=Application

0
data/icons/de.wolfvollprecht.uberwriter.Source → data/icons/de.wolfvollprecht.apostrophe.Source

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 137 KiB

2
data/media/uberwriter_markdown.md → data/media/apostrophe_markdown.md

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
Markdown Tutorial for UberWriter
Markdown Tutorial for Apostrophe
================================
I will try to give a short impressions on how I use markdown/pandocs capabilities to greatly reduce the time spent on formatting anything -- from websites to PDF Documents.

30
data/media/css/gtk/base.css

@ -21,22 +21,22 @@ @@ -21,22 +21,22 @@
/* Main window and text colors */
.uberwriter-window {
.apostrophe-window {
background: @theme_base_color;
color: @theme_fg_color;
caret-color: @theme_fg_color;
}
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen) {
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen) {
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(ltr) scrollbar {
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(ltr) scrollbar {
border-top-right-radius: 8px;
}
.uberwriter-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(rtl) scrollbar {
.apostrophe-window.focus:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized):not(.fullscreen):dir(rtl) scrollbar {
border-top-left-radius: 8px;
}
@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
background: @theme_base_color;
}
.uberwriter-editor {
.apostrophe-editor {
-gtk-key-bindings: editor-bindings;
border: none;
background-color: transparent;
@ -62,44 +62,44 @@ @@ -62,44 +62,44 @@
font-size: 16px;
}
.uberwriter-editor.size14 {
.apostrophe-editor.size14 {
font-size: 14px;
}
.uberwriter-editor.size15 {
.apostrophe-editor.size15 {
font-size: 15px;
}
.uberwriter-editor.size16 {
.apostrophe-editor.size16 {
font-size: 16px;
}
.uberwriter-editor.size17 {
.apostrophe-editor.size17 {
font-size: 17px;
}
.uberwriter-editor.size18 {
.apostrophe-editor.size18 {
font-size: 18px;
}
.uberwriter-editor text {
.apostrophe-editor text {
background-color: @theme_base_color;
color: @theme_fg_color;
caret-color: @theme_fg_color;
}
.uberwriter-editor text selection {
.apostrophe-editor text selection {
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
.uberwriter-editor button {
.apostrophe-editor button {
margin: 0;
padding: 0;
/*background: #CCC;*/
}
.uberwriter-editor toolbar {
.apostrophe-editor toolbar {
/*background: transparent;*/
border: none;
padding: 0;
@ -131,7 +131,7 @@ @@ -131,7 +131,7 @@
background-color: mix(@theme_base_color, @theme_bg_color, 0.5);
}
.uberwriter-window treeview {
.apostrophe-window treeview {
padding: 4px 4px 4px 4px;
}

32
data/media/raw/raw_icons.svg

@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
sodipodi:ry="42.445595"
d="m 209.95411,89.756706 a 42.445595,42.445595 0 1 1 -84.89119,0 42.445595,42.445595 0 1 1 84.89119,0 z"
transform="matrix(0.1557609,0,0,0.15394422,115.30017,191.85093)"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
inkscape:export-xdpi="82.699997"
inkscape:export-ydpi="82.699997" />
<path
@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
d="m 141.39145,199.33354 0,12.97357"
id="path3755"
inkscape:connector-curvature="0"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
inkscape:export-xdpi="82.699997"
inkscape:export-ydpi="82.699997" />
<path
@ -77,7 +77,7 @@ @@ -77,7 +77,7 @@
d="m 135.02567,205.66846 12.95106,0"
id="path3757"
inkscape:connector-curvature="0"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
inkscape:export-xdpi="82.699997"
inkscape:export-ydpi="82.699997" />
<rect
@ -89,7 +89,7 @@ @@ -89,7 +89,7 @@
y="202.56609"
rx="0.26064596"
ry="0.2316401"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/crh.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/crh.png"
inkscape:export-xdpi="82.699997"
inkscape:export-ydpi="82.699997" />
<path
@ -102,7 +102,7 @@ @@ -102,7 +102,7 @@
sodipodi:ry="42.445595"
d="m 209.95411,89.756706 a 42.445595,42.445595 0 1 1 -84.89119,0 42.445595,42.445595 0 1 1 84.89119,0 z"
transform="matrix(0.15576089,0,0,0.15394424,208.14569,194.21576)"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
inkscape:export-xdpi="83.678238"
inkscape:export-ydpi="83.678238" />
<path
@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
d="m 234.23697,201.69837 0,12.97357"
id="path3755-9"
inkscape:connector-curvature="0"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
inkscape:export-xdpi="83.678238"
inkscape:export-ydpi="83.678238" />
<path
@ -118,7 +118,7 @@ @@ -118,7 +118,7 @@
d="m 227.87119,208.03329 12.95106,0"
id="path3757-2"
inkscape:connector-curvature="0"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/chr_a.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/chr_a.png"
inkscape:export-xdpi="83.678238"
inkscape:export-ydpi="83.678238" />
<rect
@ -130,7 +130,7 @@ @@ -130,7 +130,7 @@
y="234.54805"
rx="0.17244641"
ry="0"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
inkscape:export-xdpi="85.970146"
inkscape:export-ydpi="85.970146" />
<path
@ -139,7 +139,7 @@ @@ -139,7 +139,7 @@
id="path3810"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
inkscape:export-xdpi="85.970146"
inkscape:export-ydpi="85.970146" />
<rect
@ -172,7 +172,7 @@ @@ -172,7 +172,7 @@
id="path5190"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
inkscape:export-xdpi="85.970146"
inkscape:export-ydpi="85.970146" />
<path
@ -181,7 +181,7 @@ @@ -181,7 +181,7 @@
id="path5190-2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs.png"
inkscape:export-xdpi="85.970146"
inkscape:export-ydpi="85.970146" />
<rect
@ -193,7 +193,7 @@ @@ -193,7 +193,7 @@
y="237.6228"
rx="0.097152509"
ry="0"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
inkscape:export-xdpi="90.311836"
inkscape:export-ydpi="90.311836" />
<path
@ -207,7 +207,7 @@ @@ -207,7 +207,7 @@
id="path5190-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
inkscape:export-xdpi="90.311836"
inkscape:export-ydpi="90.311836" />
<path
@ -216,7 +216,7 @@ @@ -216,7 +216,7 @@
id="path5190-2-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/apostrophe/data/media/fs_a.png"
inkscape:export-xdpi="90.311836"
inkscape:export-ydpi="90.311836" />
<path
@ -225,7 +225,7 @@ @@ -225,7 +225,7 @@
id="path5190-5-7"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc"
inkscape:export-filename="/home/wolf/Programme/uberwriter/data/media/fs_a.png"
inkscape:export-filename="/home/wolf/Programme/apos