Manuel Genovés
adcb73b129
fix small regex errors in header queries
2019-07-25 00:18:07 +01:00
Manuel Genovés
0bdb9e54ec
initial collection of tests for markup_regex
...
(bold and headers)
2019-07-25 00:18:07 +01:00
Manuel Genovés
c8ea808623
fix math REGEX expression
2019-07-25 00:18:07 +01:00
Gonçalo Silva
cb3da0331e
Remove uberwriter.in given bin/uberwriter
2019-07-25 00:18:07 +01:00
Gonçalo Silva
ab383db98a
Update shebangs to use env
2019-07-25 00:16:26 +01:00
Gonçalo Silva
55e5cd3856
Use `selection_bound` instead of `insert` to markup/scroll
2019-07-25 00:16:26 +01:00
Gonçalo Silva
3fa56afaef
Reduce sync scrolling precision
...
High precision leads to micro-scrolling, and 1e-4 is more than enough.
2019-07-25 00:16:26 +01:00
Gonçalo Silva
55d82856c2
Fix list markup parsing
...
Subsequent list items were being erroneously discarded.
2019-07-25 00:16:26 +01:00
Gonçalo Silva
931d92bdfd
Move markup to a worker process
...
A worker thread works in practice, but the GIL takes a significant toll
as the code is computationally heavy. The result is a hogged UI,
specially when other threads are involved (eg. stats counter).
A worker process is faster, hogs the UI significantly less, at the cost
of slightly higher memory usage.
As side-effects:
- UberWriter can now comfortably handle much larger documents
- Text selection is much more responsive
2019-07-25 00:16:26 +01:00
Gonçalo Silva
bb279d0379
Move stats counting to a worker process
...
A worker thread works in practice, but the GIL takes a significant toll
as the code is computationally heavy. The result is a hogged UI,
specially when other threads are involved (eg. markup handler).
A worker process is faster, hogs the UI significantly less, at the cost
of slightly higher memory usage.
2019-07-25 00:16:26 +01:00
Gonçalo Silva
0d87299040
Fix paragraph counting
...
Markdown requires at least 2 newlines to form a paragraph.
2019-07-25 00:16:26 +01:00
Gonçalo Silva
3f4f8292ca
Use markup regexp for character count
...
Deferring to Pandoc is not without its faults. It still requires
processing (eg. horizontal rules turning into 72 dashes). It is
significantly slower and resource hungry.
On the reverse, the markup regexps have improved over time and are able
to handle the task.
2019-07-25 00:16:26 +01:00
Gonçalo Silva
aae38ddb5f
Prevent scroll when only one of the text view or preview are scrollable
2019-07-25 00:16:26 +01:00
Gonçalo Silva
d78602c4db
Fix synchronized scrolling without MathJax
2019-07-25 00:16:26 +01:00
Gonçalo Silva
df79f9329e
Rename WebView to PreviewWebView
2019-07-25 00:16:26 +01:00
Gonçalo Silva
0b13fdddc5
Remove unused offset in markup handler
2019-07-25 00:16:26 +01:00
Gonçalo Silva
eec633437b
Improve inline preview
...
- Uses commonly defined regexp
- Removed dependency on gnome-web-photo, use WebView instead
- Improved lexicon rendering
2019-07-25 00:16:26 +01:00
Gonçalo Silva
8e97b7ae2c
Quality of life improvements for regexp
...
Includes:
* Moving them into an independent file
* Using named groups for clarity
* Support for multi-line list items
* Better handling of block markup at start / end of document (eg. hr)
* Better handling of the separation around block items (eg. space around a list)
2019-07-25 00:16:26 +01:00
somas95
ada47cc89a
Merge pull request #172 from UberWriter/add-code-of-conduct-1
...
Create CODE_OF_CONDUCT.md
2019-07-18 21:22:50 +02:00
somas95
edc4cad961
Create CODE_OF_CONDUCT.md
2019-07-18 20:57:45 +02:00
somas95
6340c15c85
Delete ISSUE_TEMPLATE.md
2019-07-12 09:29:07 +02:00
somas95
47116eaf8c
Update issue templates
2019-07-12 09:28:47 +02:00
Manuel Genovés
213ff104e5
Update license
2019-07-05 20:47:49 +02:00
Bilal Elmoussaoui
5f0d9570cf
Build system: init porting to meson
2019-07-01 12:49:15 +02:00
Bilal Elmoussaoui
16b5e8821f
Build system: init porting to meson
2019-07-01 12:43:26 +02:00
somas95
68af5b3161
Merge pull request #165 from goncalossilva/patch-2
...
Remove unused NUMERICLIST
2019-05-25 12:45:42 +02:00
somas95
09e4b91b42
Update README.md
2019-05-24 08:30:50 +02:00
Gonçalo Silva
828f4b0bf1
Remove unused NUMERICLIST
2019-05-22 19:30:36 +01:00
Manuel Genovés
e63f9b4b72
localization
2019-05-18 20:14:38 +02:00
Manuel Genovés
335cdf8e09
Merge branch 'master' of https://github.com/wolfv/uberwriter
2019-05-18 19:48:35 +02:00
Manuel Genovés
c4b00f1014
add script to update po files
2019-05-18 19:48:31 +02:00
Manuel Genovés
7e0de3d4d1
update pot file
2019-05-18 19:47:00 +02:00
somas95
82a95492ee
Update uberwriter-vi.po (POEditor.com)
2019-05-18 19:33:19 +02:00
somas95
76aef04369
Update uberwriter-tr.po (POEditor.com)
2019-05-18 19:33:17 +02:00
somas95
748f473ac0
Update uberwriter-sv.po (POEditor.com)
2019-05-18 19:33:14 +02:00
somas95
dd23cbb426
Update uberwriter-es.po (POEditor.com)
2019-05-18 19:33:12 +02:00
somas95
266279e883
Update uberwriter-si.po (POEditor.com)
2019-05-18 19:33:10 +02:00
somas95
9075fad5e4
Update uberwriter-ru.po (POEditor.com)
2019-05-18 19:33:07 +02:00
somas95
abe3813d34
Update uberwriter-pt_BR.po (POEditor.com)
2019-05-18 19:33:05 +02:00
somas95
6c41f8a5fd
Update uberwriter-pl.po (POEditor.com)
2019-05-18 19:33:02 +02:00
somas95
661e311059
Update uberwriter-it.po (POEditor.com)
2019-05-18 19:32:59 +02:00
somas95
41ed2c5319
Update uberwriter-hu.po (POEditor.com)
2019-05-18 19:32:57 +02:00
somas95
7c3f92b82b
Update uberwriter-de.po (POEditor.com)
2019-05-18 19:32:55 +02:00
somas95
ff8bebcd8b
Update uberwriter-fr.po (POEditor.com)
2019-05-18 19:32:53 +02:00
somas95
e2544ceebf
Update uberwriter-en_GB.po (POEditor.com)
2019-05-18 19:32:50 +02:00
somas95
bced0277e0
Update uberwriter-cs.po (POEditor.com)
2019-05-18 19:32:48 +02:00
somas95
de6d25cbe8
Update uberwriter-zh_TW.po (POEditor.com)
2019-05-18 19:32:46 +02:00
somas95
53a5593f72
Update uberwriter-zh_CN.po (POEditor.com)
2019-05-18 19:32:43 +02:00
somas95
da6550cbee
Update uberwriter-ca_ES.po (POEditor.com)
2019-05-18 19:32:41 +02:00
somas95
26ad6c087f
Update uberwriter-eu.po (POEditor.com)
2019-05-18 19:32:39 +02:00