Commit graph

190 commits

Author SHA1 Message Date
Curtis Gedak
7f592bae41 Fix Python 3.6 DeprecationWarning invalid escape sequence messages
Fix by ensuring that regular expressions are constructed using either
raw string literals [1] or double backslashes [2].

[1] https://stackoverflow.com/questions/44325948/pandas-invalid-escape-sequence-after-update
[2] https://github.com/joblib/joblib/pull/526

Note that python only shows the deprecation warnings on initial run [3].

[3] https://bugs.python.org/issue30091

To work around this issue, remove the cached bytecode with:

    find . -name "__pycache__" -exec rm -rf {} \;

Then to prevent compiling to bytecode add the "-B" option to python:

    python3 -B -m pytest -vs
2018-11-16 12:52:56 -07:00
RiderExMachina
41e9467267 Fix crash in Outline mode with multi-item select #355
Closes issue #355 and pull request #385
2018-10-14 11:10:46 -06:00
Windspar
67db180c25 Fixes #217 - segfault when pasting text with focus mode enabled 2018-03-08 11:19:25 -07:00
JackXVII
d3afa11ceb Remove _updateIndexFromID from textEditView
It is not used anymore.
2018-03-03 12:53:52 -07:00
JackXVII
3a21ddd137 Use QPersistentModelIndex in textEditView
It is much simpler than catching rowsAboutToBeDeleted signal from model. Also
it fixes #306.
2018-03-03 12:53:52 -07:00
Curtis Gedak
43c077552a Avoid crash on spellcheck by ensuring enchant dictionary exists
See issue #273.
2018-02-12 10:59:14 -07:00
Sebastian Rasmussen
dde836e0f4 Fix typos that are visible to end-users. 2018-01-29 10:30:41 -07:00
Sebastian Rasmussen
dfe88a9681 Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
Olivier Keshavjee
19f8938852 Corrects bug in links tooltips 2017-12-15 20:12:51 +01:00
Olivier Keshavjee
a6a82d1bba Clickable links: adds tip to tooltip 2017-12-14 15:06:51 +01:00
Olivier Keshavjee
cd8ad6cc3a Adds: clickable links, and display images as tooltips (#22, #215) 2017-12-14 14:55:14 +01:00
Olivier Keshavjee
e76b9b4a1c Another take on status bar (#262) 2017-12-08 10:20:33 +01:00
Olivier Keshavjee
1764baf292 Fixes a bug introduced when fixing #261 2017-12-06 18:53:42 +01:00
Olivier Keshavjee
d521fc0771 Fixes #261: Manuskript response slow with recent addition of focus mode 2017-12-06 18:41:26 +01:00
Olivier Keshavjee
46384b68eb Fixes bugs in focus mode (#259) 2017-12-05 23:45:16 +01:00
Olivier Keshavjee
826d53933f Adds #259: Focus Mode (poke #234) 2017-12-05 23:18:32 +01:00
Olivier Keshavjee
25911876eb Fixes #246: Index card status can spillover 2017-12-04 13:52:58 +01:00
Olivier Keshavjee
9cbd8887c7 Fixes #240: Cannot write a summary on a plot resolution step 2017-12-04 13:27:57 +01:00
Olivier Keshavjee
92e5c351b7 Adds: smart formatting on keypress 2017-11-30 13:21:40 +01:00
Olivier Keshavjee
f3156f5bbd Adds formatting support to MDEditView 2017-11-30 13:12:55 +01:00
Olivier Keshavjee
3527f4ad8a Merge branch 'master' into develop 2017-11-30 10:13:25 +01:00
Olivier Keshavjee
d32ee37e84 Hopefully last tweaks in context menu (#229) and optimization 2017-11-29 23:16:01 +01:00
Olivier Keshavjee
82c24498bb Tweaks Context menu to mirror Edit menu #229 2017-11-29 10:24:07 +01:00
Olivier Keshavjee
c504cb510e Fixes fullScreen scrollbar range 2017-11-28 19:58:23 +01:00
Olivier Keshavjee
2b1465a1f3 Adds #175: Typewriter scrolling 2017-11-28 10:26:43 +01:00
Olivier Keshavjee
b97cbdc1c3 Fixes a bug: click in treeview background does not deselect any more 2017-11-27 22:41:44 +01:00
Olivier Keshavjee
cb79e504e7 Merge branch 'master' into develop 2017-11-27 21:53:37 +01:00
Olivier Keshavjee
c2dcbf56a0 Adds new markdown highlighter and many little tweaks 2017-11-27 21:35:32 +01:00
Olivier Keshavjee
9baea11791 Fixes FullScreenEditor with MDEditView 2017-11-27 21:13:44 +01:00
Olivier Keshavjee
7b29d332c5 Removes textFormat panel (bold, italic, etc. buttons) 2017-11-27 20:58:02 +01:00
Olivier Keshavjee
c1ad771642 Subclass textEditView 2017-11-27 15:00:07 +01:00
Olivier Keshavjee
d27ce4dec6 Fixes #232: Add markdown support of other tabs 2017-11-25 14:58:15 +01:00
Olivier Keshavjee
7940cdb336 Adds better fullscreen theme color integration 2017-11-25 14:17:49 +01:00
Olivier Keshavjee
59742accfa Moves textedit scrollbar outside the margins 2017-11-24 22:33:12 +01:00
Olivier Keshavjee
52af71757e Adds: better harmonization between Documents menu and context menu #229 2017-11-24 20:50:18 +01:00
Olivier Keshavjee
66f09729b5 Adds duplicate in contexte menu, and fixes a bug in it #229 2017-11-24 18:44:31 +01:00
Olivier Keshavjee
0f49bc7517 Adds #206: Adjusting font size (CTRL+MouseWheelUp/Down) 2017-11-23 18:53:40 +01:00
Olivier Keshavjee
c4d4f61702 Fixes highlighter colors, should work in most themes 2017-11-23 18:14:04 +01:00
Olivier Keshavjee
64994cde3a Adds: unit tests and starts refactoring models 2017-11-23 11:03:14 +01:00
Olivier Keshavjee
da62b823c7 Checkpoint: working highlighter. Optimization welcome. 2017-11-22 21:03:47 +01:00
Olivier Keshavjee
9be2edeee7 Checkpoint: adding new markdown highlighter 2017-11-22 13:43:40 +01:00
Olivier Keshavjee
550f889251 Fixes: some Documents menu calls would crash manuskript if in textEdit 2017-11-22 09:37:02 +01:00
Olivier Keshavjee
04fc6a5ae4 Checkpoint: refactoring 2017-11-18 20:53:10 +01:00
Olivier Keshavjee
ad01de4cd4 Checkpoint in refactoring outlineItem 2017-11-17 12:16:39 +01:00
Olivier Keshavjee
cf4c1c83bf Changes every Enum to IntEnum 2017-11-15 21:05:48 +01:00
Olivier Keshavjee
9e95196cc5 Changes Outline enums to IntEnum 2017-11-15 20:58:12 +01:00
Olivier Keshavjee
bc0d6f5760 Creates base classes 2017-11-15 20:34:05 +01:00
Olivier Keshavjee
ee212db39c Removes most of hard-coded colors 2017-11-14 14:56:11 +01:00
Olivier Keshavjee
58bdf35953 Adds: transparent text editor 2017-11-14 11:23:18 +01:00
Olivier Keshavjee
845aa8b205 Improves colors of index card delegate editor 2017-11-14 10:12:07 +01:00
Olivier Keshavjee
0c3f96014a Improves readabily of outline delegate 2017-11-14 10:00:35 +01:00
Olivier Keshavjee
cc84f53f04 Improves readabily of tree and card delegate 2017-11-14 09:42:49 +01:00
Olivier Keshavjee
bb57d3d057 Adds: merge 2017-11-10 17:21:02 +01:00
Olivier Keshavjee
a153606811 Adds: split dialog, split at cursor 2017-11-10 16:31:40 +01:00
Olivier Keshavjee
3b17c4e2b4 Adds: Menu Documents. Edit operations (copy, cut, paste, duplicate, remove), and Move up and down. 2017-11-10 11:35:53 +01:00
Olivier Keshavjee
bc70501373 Fixes a bug when entering non-digit values for item's goal in metadata 2017-11-09 20:30:54 +01:00
Olivier Keshavjee
15ccaa513b Adds: import documents from several sources (txt, md, html, epub, docx, OPML, odt, etc.) #200 2017-11-09 15:21:25 +01:00
Paweł Świątkowski
0807b14e5c Don't pass none to enchant.dict_exists 2017-11-09 10:45:05 +01:00
Paweł Świątkowski
b3ba8e813d Get default locale in more reliable way 2017-11-09 01:44:01 +01:00
Olivier Keshavjee
d51233ebba Cleans treeView of some call to mainWindow that should be here 2017-11-07 12:02:02 +01:00
Olivier Keshavjee
81de19165b Adds a 'Rename Item' option to context menu in the Tree view #189 2017-11-05 13:49:31 +01:00
Olivier Keshavjee
2cc721674a Fixes: Index card text almost invisible in dark themes. #183 2017-11-02 12:14:45 +01:00
Olivier Keshavjee
687286f9ab Merge branch 'feature/future' into develop
Conflicts:
	manuskript/settingsWindow.py
2017-10-31 21:02:09 +01:00
Olivier Keshavjee
59df6ea98c Fixes: Untranslatable strings. #178 2017-10-30 09:26:46 +01:00
Olivier Keshavjee
e393848bc0 App crash when moving a step in Plots section #134 2017-10-29 10:21:28 +01:00
Olivier Keshavjee
761286c497 Merges feature/CustomIcons 2017-10-23 15:10:30 +02:00
Olivier Keshavjee
40cc136836 Adds: custom icons 2017-10-23 13:45:08 +02:00
Olivier Keshavjee
497d1e83a1 Corrects a stylesheet mistake that could make context menu in textEditView hard to read 2017-10-21 00:01:43 +02:00
Olivier Keshavjee
648b4b67eb Fixes more bugs in drag n drop: seg fault when creating an item after deleting an item that was open for editing, and other small stuff 2017-10-20 23:39:57 +02:00
Olivier Keshavjee
eb89d2f309 Adds optimization of fullscreen's theme thumbnail generation in settings, and corrects a small stylesheet bug 2017-10-19 12:27:11 +02:00
Olivier Keshavjee
b81a571b2e Adds: Disable cursor blinking (#165), Configurable editor margins (#168) 2017-10-19 12:13:20 +02:00
Olivier Keshavjee
f36abfd2e4 Adds: Block insertion cursor. (#163) 2017-10-18 10:44:05 +02:00
Olivier Keshavjee
dc0cc57ffa Merge branch 'feature/justify' into develop to add: Justified formatting of text #148 2017-10-17 18:29:42 +02:00
Olivier Keshavjee
cbc02b15d9 Improves on: Use on smaller resolution screens #108 2017-10-17 18:04:30 +02:00
Olivier Keshavjee
4e74da41d1 Working on: Request: Justified formatting of text #148 2017-10-17 13:05:46 +02:00
Olivier Keshavjee
b37dc9715c Adds a few more icons 2017-10-16 10:48:04 +02:00
Olivier Keshavjee
6e895af789 Fixes: Multiple selections of items sometimes gets Notes/references field to be ereased #10 2017-10-16 09:43:09 +02:00
Olivier Keshavjee
f160d7d1c2 Small display bug corrected 2017-10-15 14:58:51 +02:00
Olivier Keshavjee
a6123292ae Adds: go-up button. See #157 2017-10-14 21:39:16 +02:00
Olivier Keshavjee
dba1874b6b Adds: double click in index cards view background goes to the parent folder (#157) 2017-10-14 17:39:46 +02:00
Olivier Keshavjee
e11e9f81b5 Adds: new flash card style 2017-10-14 17:11:17 +02:00
Olivier Keshavjee
2beb3a939b Conditional import of QtWebEngine or QtWebKit 2017-06-20 15:24:15 +02:00
Olivier Keshavjee
28e28e71e5 Adds webFiew file, forgotten in last commit 2017-06-15 15:40:22 +02:00
Olivier Keshavjee
2ff7cf80c6 Adds QtWebEngine support, while keeping QtWebKit support. 2017-06-15 15:24:06 +02:00
Curtis Gedak
8d356c52ce Fixes: Unable to change index cards background from image to a color
See issue #52.

Enable selection of background color in addition to background image
for index cards.  This setting is accessed from the manuskript menu
**Edit -> Settings -> Views -> Index cards**.

Keep initial default of "writingdesk" background image for Index cards.

Also update comments for functions to better describe how these work.
2017-06-10 12:53:55 -06:00
Olivier Keshavjee
c14f2493fb Merge branch 'feature/Exporter' into develop 2016-04-15 14:27:44 +02:00
Olivier Keshavjee
93c0e34779 Adds: PDF Viewer using pdf.js 2016-04-15 13:01:35 +02:00
Olivier Keshavjee
7f9ea9e513 Some more UI tweaks 2016-04-12 00:01:51 +02:00
Olivier Keshavjee
282e976aa1 Minor tweaks 2016-04-11 15:41:43 +02:00
Olivier Keshavjee
5e8b2ed5a6 Updates display in CorkView 2016-04-11 15:21:49 +02:00
Olivier Keshavjee
e90e9f9cc4 tabSplitter allows target. 2016-04-11 15:14:24 +02:00
Olivier Keshavjee
373b36406a Can split views 2016-04-10 19:58:49 +02:00
Olivier Keshavjee
f1d2b05a2e Flatified a lot of buttons, and added some stylesheets 2016-04-08 14:49:15 +02:00
Olivier Keshavjee
2cf7d99217 Optimization in storyline view (wip) 2016-03-31 15:58:13 +02:00
Olivier Keshavjee
574660dc19 Corrects stylesheet bug in textEditView 2016-03-31 10:19:18 +02:00
Olivier Keshavjee
3e698c8eea New spellcheck feature: add word to dict 2016-03-30 22:36:02 +02:00
Olivier Keshavjee
1cda95f43c Bug correction... 2016-03-30 15:47:52 +02:00
Olivier Keshavjee
47d87115e6 Purging some remaining t2tfiles 2016-03-30 11:36:25 +02:00
Olivier Keshavjee
a5b0b6cd95 Purging types from textEditView 2016-03-30 10:43:44 +02:00
Olivier Keshavjee
8a90f3213f Purging cmbOutlineTypeChoser 2016-03-30 10:19:44 +02:00