Commit Graph

770 Commits (490601728b30796bfbb35e16e3e41b5c781abd68)
 

Author SHA1 Message Date
Manuel Genovés 9ece36b5ac use local paths when possible on DnD 2020-01-25 20:34:30 +01:00
Manuel Genovés a00298e0db Handle relative paths for Images in inline preview
Based on #192 by @lavendthomas
2020-01-25 19:49:38 +01:00
somas95 b9f86d5c44
Merge pull request #198 from UberWriter/ft.fix_rules
Fix regex for horizontal rules
2020-01-25 17:19:02 +01:00
Manuel Genovés 68bcc1206b fix top/bottom rules 2020-01-25 01:41:36 +01:00
Manuel Genovés d7df0c68f7 Set PWD to the open document path
Convert local paths to absolute on exporting preview and html
2020-01-25 01:19:25 +01:00
Manuel Genovés 0647b41340 Use io instead of codec
Drop the deprecated codec module for parsing files.
Better handling of file URIs
2020-01-24 21:24:44 +01:00
Manuel Genovés 41378d55e1 Fixes #154
Fix regex for horizontal rules
(yaml metadata delimiters should not be counted as rules)
2020-01-24 19:12:20 +01:00
somas95 66af5f8217
Merge pull request #195 from lavendthomas/bf.webviewlinks
Do not follow links in the preview
2020-01-23 17:36:12 +01:00
Thomas Lavend'Homme 01d124aea5
Do not follow links in the preview 2020-01-21 12:02:02 +01:00
Wolf Vollprecht 0d1da19ce8
Merge pull request #191 from gsbhasin123/patch-1
Fix a typo in the compilation instructions
2020-01-02 08:57:20 +01:00
Gurjus Bhasin 33b2d70dfd
Fix a typo in the compilation instructions 2020-01-01 20:12:38 -08:00
Manuel Genovés 9d59118afd Merge branch 'ui' of https://github.com/wolfv/uberwriter into ui 2019-12-25 21:34:56 +01:00
Manuel Genovés d59994f3c9 add nightly icon 2019-12-25 21:34:00 +01:00
somas95 d246877a17
Merge pull request #187 from lavendthomas/bf.shifttab
Fix Shift-Tab Behaviour
2019-12-25 17:29:44 +01:00
Manuel Genovés bde7c0ecb8 Linting
fix some variable names/whitespace/private methods
2019-12-25 03:02:29 +01:00
somas95 daa72b4779
Merge pull request #186 from lavendthomas/ft.regex
Improve emphasis behaviour
2019-12-25 02:00:23 +01:00
somas95 0af10a1b0f
Merge pull request #188 from UberWriter/ft.DnD-improvements
Fixes drag and drop:
- for images now we remove file:// from the path so we don't break the output when exporting
- for text now we prevent pasting the text two times
- now we do some autoformatting for links
- and now we correctly leave selected text between brackets
2019-12-25 01:54:19 +01:00
Thomas Lavend'Homme 5cae9eb68c
Fix WARNING: __record_undoable() 'Recording a change without a user action.' 2019-12-23 19:34:26 -05:00
Thomas Lavend'Homme e4b5952ec2
Use TextIter to remove last \t 2019-12-23 12:43:05 -05:00
Thomas Lavend'Homme 7734e9410e Make Shift-Tab remove the last tab instead of adding one
Signed-off-by: Thomas Lavend'Homme <lavendthomas@outlook.be>
2019-12-23 12:15:45 -05:00
Thomas Lavend'Homme 2abb2af472
Impove regex for emphasis 2019-12-22 10:06:35 -05:00
Manuel Genovés 234eca06a7 Fix DnD for images, text and links 2019-12-22 15:08:03 +01:00
somas95 cabbd8f7a3
Merge pull request #181 from lavendthomas/master
Add UI for paper size option
2019-12-22 14:11:46 +01:00
Manuel Genovés 5615a4c3d7 Fix error when trying to export some formats
If we return "None" , we can't concatenate it to a str in a3a948e434/uberwriter/export_dialog.py (L277)
2019-12-22 02:51:40 +01:00
Manuel Genovés a3a948e434 Change export paper size label
This option applies to odt and doc formats too
2019-12-22 02:46:54 +01:00
Manuel Genovés 2fec09999b Fix paper size condition
Because the way popen works we need to use a "=" on the argument (otherwise the space splits the argument in two elements)
2019-12-22 02:45:53 +01:00
Manuel Genovés 109e9efbcc install reference files 2019-12-22 02:35:38 +01:00
Manuel Genovés d05d0c3bdc Merge branch 'master' of git://github.com/lavendthomas/uberwriter into lavendthomas-master 2019-12-20 18:24:37 +01:00
Wolf Vollprecht 0bcb2f3984
Merge pull request #185 from lavendthomas/regexp-fix
Impove text rendering in bullets
2019-12-16 11:22:24 +01:00
Thomas Lavend'Homme 6edf041169
Impove text rendering in bullets 2019-12-15 12:14:08 -05:00
Thomas Lavend'Homme 5f75998973
Add reference files for A4 odt and docx 2019-12-15 11:54:59 -05:00
Thomas Lavend'Homme 0fce1bae77
Change paper size for odt and docx files 2019-12-14 21:26:50 -05:00
Manuel Genoves 9216db1b80 prevent headerbar to hide on open recents menu 2019-12-11 00:57:21 +01:00
Manuel Genoves d56623bfbd tweak headerbar reveal settings 2019-12-10 18:00:37 +01:00
Manuel Genoves 5a78d75668 fix fullscreen issues 2019-12-10 17:43:02 +01:00
somas95 2912baaa41
Merge pull request #183 from UberWriter/ft.autohiding_headerbar
Rework of the headerbar and bottombar

This PR:

- Makes the textview to go all the way to the top and the bottom of the window, even behind the headerbar, so when it disappears any visible gap is left

- Makes the headerbar and bottombar to disappear instantly when writing, and they reappear when moving the cursor to the top/bottom areas. If the cursor moves to the bottom area only the bottombar is shown, when moving the cursor to the top area both headerbar and bottombars are shown
2019-12-09 17:27:34 +01:00
Manuel Genovés 97e809a576 rework the autohiding mechanis for headerbars 2019-12-09 02:16:13 +01:00
Manuel Genovés 151809ae9b add background color to inline buttons 2019-12-09 02:15:09 +01:00
Manuel Genovés 48e48d95de add autohide-headerbar toggle on settings 2019-12-09 02:14:52 +01:00
Thomas Lavend'Homme bf73910483
Change paper size of exported PDF according to what's been chosen 2019-11-30 22:09:51 -05:00
Thomas Lavend'Homme 2caff3b389
Fix Cancel and Export buttons not working 2019-11-30 20:01:59 -05:00
Thomas Lavend'Homme 3062037eeb
Improve spacing in advanced export 2019-11-30 19:52:34 -05:00
Thomas Lavend'Homme 11616c1621
Add UI for paper size option 2019-11-30 12:50:14 -05:00
Manuel Genovés 7606a55389 update OpenOffice -> LibreOffice 2019-11-29 13:29:19 +01:00
Manuel Genovés 17c20199f5 use A4 papersize by default 2019-11-29 13:28:19 +01:00
Manuel Genovés ff579b956f update gitignore 2019-11-25 13:30:04 +01:00
Manuel Genovés 87e3cc127b add flatpak to gitignore 2019-11-23 02:13:10 +01:00
Manuel Genovés 567ae6bc42 Merge branch 'ft.autohiding_headerbar' of https://github.com/wolfv/uberwriter into ft.autohiding_headerbar 2019-11-23 02:12:08 +01:00
Manuel Genovés 8ac8728e3b implement hack to fade away the headerbar 2019-11-23 02:11:32 +01:00
Manuel Genovés f766c3703d add revealer to the headerbar default class 2019-11-23 02:09:22 +01:00