Commit graph

835 commits

Author SHA1 Message Date
JackXVII 8a9044b4ae Fix World items positional insertion 2018-01-15 22:02:43 +03:00
JackXVII 43df0b3d8a Fix World sub-items disappearing 2018-01-15 18:29:21 +03:00
Curtis Gedak 60cc6c59aa Skip loading directory and file names that begin with a period
See issue #281.

When loading a project that has the setting **Save to one single
file** disabled, Manuskript tries to read all directories and files
under the project directory.

Manuskript expects all files to contain valid unicode characters.

However if a file containing non-unicode characters is read then
Manuskript will crash.

The error message displayed on the console is similar to the
following:

----- begin snippet -----
Traceback (most recent call last):
  File "/home/gedakc/workspace/manuskript.olivierkes/bin/../manuskript/ui/welcome.py", line 134, in loadRecentFile
    self.mw.loadProject(act.data())
  File "/home/gedakc/workspace/manuskript.olivierkes/bin/../manuskript/mainWindow.py", line 566, in loadProject
    self.loadDatas(project)
  File "/home/gedakc/workspace/manuskript.olivierkes/bin/../manuskript/mainWindow.py", line 793, in loadDatas
    errors = loadSave.loadProject(project)
  File "/home/gedakc/workspace/manuskript.olivierkes/bin/../manuskript/loadSave.py", line 66, in loadProject
    v1.loadProject(project, zip=isZip)
  File "/home/gedakc/workspace/manuskript.olivierkes/bin/../manuskript/load_save/version_1.py", line 657, in loadProject
    files[os.path.join(p, f)] = fo.read()
  File "/usr/lib/python3.5/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 3131: invalid start byte
----- end snippet -----

There are at least two known situations in which files with
non-unicode characters can arise:

A. The project is on Mac OS X and the operating system automatically
   creates a .DS_Store file.

B. The project is under git version control and contains a .git
   subdirectory.

This enhancement prevents the Manuskript crash on project load by
ignoring all directory and file names that start with a period.
2018-01-14 11:51:50 -07:00
JackXVII fe617f871f Adds moving World items. #219 2018-01-11 23:44:50 +03:00
JackXVII 42bda30331 Fix bug in worldModel
Because of this bug treeView could not properly hide the columns
2018-01-11 22:36:42 +03:00
Sebastian Rasmussen 0dd40a2712 Translated using Weblate (Swedish)
Currently translated at 100.0% (798 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/sv/
2018-01-11 15:17:17 +01:00
Norbert Kowalczyk 5936df91ba Translated using Weblate (Polish)
Currently translated at 34.7% (292 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-01-03 20:12:42 +01:00
anonymous b8d9d5c664 Translated using Weblate (Polish)
Currently translated at 5.1% (43 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-01-03 17:23:28 +01:00
Norbert Kowalczyk 15042eeca0 Translated using Weblate (Polish)
Currently translated at 4.7% (40 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-01-03 17:21:44 +01:00
anonymous 98a874604c Translated using Weblate (Polish)
Currently translated at 1.7% (15 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-01-03 17:18:30 +01:00
Norbert Kowalczyk 1d49b54ba3 Translated using Weblate (Polish)
Currently translated at 1.0% (9 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-01-03 17:17:41 +01:00
anonymous 8edcea5ad9 Translated using Weblate (Polish)
Currently translated at 0.1% (1 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-01-03 17:14:27 +01:00
Weblate 8c1361ad98 Merge remote-tracking branch 'origin/develop' into develop 2018-01-03 15:45:18 +01:00
Carlos 788f891140 Translated using Weblate (Spanish)
Currently translated at 96.7% (772 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2018-01-03 15:45:17 +01:00
Olivier Keshavjee dc9d67e889 Adds Polish empty translation 2018-01-03 15:44:40 +01:00
Olivier fecfc17b05
Merge pull request #287 from katafrakt/build-with-xcode7.3
Build MacOS release with XCode 7.3 image
2018-01-03 15:37:38 +01:00
Olivier f34d14fe32 Deleted translation using Weblate (Polish) 2018-01-03 15:26:01 +01:00
Olivier 3192cf0301 Added translation using Weblate (Polish) 2018-01-03 15:07:05 +01:00
Paweł Świątkowski 14a8e72c7b Build MacOS release with XCode 7.3 image
7.3 is the oldest image available on TravisCI that works. Older 6.4
version does not play well with Enchant, resulting in a build error.
This could probably be averted by trying to build with 6.4 and without
Enchant support, but I'm not sure if it's worth it.
2018-01-02 12:39:38 +01:00
anonymous 4e539850fb Translated using Weblate (Spanish)
Currently translated at 95.9% (766 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2017-12-24 17:03:12 +01:00
Carlos 9bcfc20d37 Translated using Weblate (Spanish)
Currently translated at 95.8% (765 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2017-12-24 17:01:29 +01:00
anonymous 20e83e0d2d Translated using Weblate (Spanish)
Currently translated at 85.5% (683 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2017-12-23 01:29:57 +01:00
Carlos Bidea 685c17c56a Translated using Weblate (Spanish)
Currently translated at 85.5% (683 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2017-12-23 01:27:14 +01:00
anonymous b9a72d784a Translated using Weblate (Spanish)
Currently translated at 85.4% (682 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2017-12-23 01:24:50 +01:00
Carlos Bidea 21e0843628 Translated using Weblate (Spanish)
Currently translated at 85.3% (681 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2017-12-23 01:24:25 +01:00
Allan Nordhøy f98d57485e Added translation using Weblate (Norwegian Bokmål) 2017-12-21 10:58:36 +01:00
Olivier 675bf3bb59 Translated using Weblate (French)
Currently translated at 100.0% (798 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/fr/
2017-12-20 16:45:19 +01:00
Olivier Keshavjee 3c140d755f Adds "Sentence mode" to Focus mode. #259 2017-12-15 20:56:40 +01: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 5e2ac47dcc Fixes #260: Organize Menu is not disabled on startup 2017-12-06 08:55:52 +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 3998ed68d3 Fixes #249: Ctrl+tab gets trapped in Debug tab 2017-12-04 14:50:09 +01:00
Olivier Keshavjee 3cdb2f8f25 Hides Navigation Dock's title bar 2017-12-04 14:18:58 +01:00
Olivier Keshavjee 17f341fe85 Hides debug tab, and fixes #253: French Tab in English Mode 2017-12-04 14:12:00 +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 9c635301b5 Adds #223: command line parameter to open project 2017-11-30 17:47:23 +01:00
Olivier Keshavjee ca39121826 UI tweaks 2017-11-30 17:18:53 +01:00
Olivier Keshavjee f90a71a76f Fixes #59: support for markdown formatting 2017-11-30 13:36:11 +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 b1192101ce Adds Format menu to mainWindow ui 2017-11-30 11:11:01 +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