Commit graph

1267 commits

Author SHA1 Message Date
Curtis Gedak
4b50024a32 Enhance Travis CI build on OSX to remove sudo ownership warning
The Travis CI build reports the following in the messages from
executing package/prepare_osx.sh:

    sudo pip3 install --upgrade pip setuptools wheel
    The directory '/Users/travis/Library/Caches/pip/http' or its       \
     parent directory is not owned by the current user and the cache   \
     has been disabled. Please check the permissions and owner of that \
     directory. If executing pip with sudo, you may want sudo's -H     \
     flag.
    The directory '/Users/travis/Library/Caches/pip' or its parent     \
     directory is not owned by the current user and caching wheels has \
     been disabled. check the permissions and owner of that            \
     directory. If executing pip with sudo, you may want sudo's -H     \
     flag.

In an effort to address this issue, add "-H" flag to sudo.
2018-04-07 10:24:16 -06:00
Curtis Gedak
8d16bb78d1 Fix Travix CI build error on OSX installing python3
The Travis CI builds have been failing with the following message:

    The command "if [ "$TRAVIS_OS_NAME" = "osx" ]; then \
                 bash package/prepare_osx.sh; fi"       \
     failed and exited with 1 during .

This above line of code is from .travis.yml.  Further examination of
the log from executing package/prepare_osx.sh shows the following
message:

    <snip>
    brew install python3 enchant
    Error: python 2.7.12_1 is already installed
    To upgrade to 3.6.5, run `brew upgrade python`
    <snip>

Based on this message it appears that the method to install python3
has changed.  Hence change command to upgrade python 2.x to 3.x.
2018-04-07 10:24:16 -06:00
Norbert Kowalczyk
96dba7729c Translated using Weblate (Polish)
Currently translated at 83.5% (702 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-03-22 19:38:19 +01:00
Windspar
67db180c25 Fixes #217 - segfault when pasting text with focus mode enabled 2018-03-08 11:19:25 -07:00
Curtis Gedak
82b80ae019 Update CHANGELOG.md for 0.6.0 release
Also fix milestone labels and regenerate to update 0.5.0 release.

This update was created with the following command:

$ github_changelog_generator -u olivierkes -p manuskript \
    --no-unreleased \
    --token {MyChangelogGithubToken}
2018-03-03 13:44:36 -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
Allan Nordhøy
27f1446849 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.4% (794 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nb_NO/
2018-02-27 15:39:37 +01:00
Andreas Kleinert
204364b3a3 Translated using Weblate (German)
Currently translated at 98.9% (790 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/de/
2018-02-22 22:36:56 +01:00
Curtis Gedak
63b471e10d Make word match for spell check exclude underscore from words
See issue #283.

Adds (?!_) to perform negative lookahead to exclude "_" from pattern match.

https://stackoverflow.com/questions/14858346/regular-expressions-how-to-express-w-without-underscore
2018-02-20 10:51:57 -07:00
Windspar
4638ba878f stop crash when click btnGoUp and current editor is None 2018-02-18 14:06:33 -05:00
Norbert Kowalczyk
fc0b14c7af Translated using Weblate (Polish)
Currently translated at 82.1% (690 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-02-18 19:38:02 +01:00
Allan Nordhøy
8d08557ca9 Translated using Weblate (German)
Currently translated at 87.0% (695 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/de/
2018-02-16 06:36:45 +01:00
Curtis Gedak
43c077552a Avoid crash on spellcheck by ensuring enchant dictionary exists
See issue #273.
2018-02-12 10:59:14 -07:00
Allan Nordhøy
62a8a136c0 Spelling: LaTeX, Pandoc, XeLaTeX, Unicode, HTML. https link
See pull request #310.
2018-02-12 10:52:35 -07:00
Pedro Albuquerque
3d8b46f467 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (798 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_PT/
2018-02-08 05:39:33 +01:00
Pedro Albuquerque
f884b458e4 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (798 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_PT/
2018-02-07 05:20:00 +01:00
Pedro Albuquerque
c8c1468bba Added translation using Weblate (Portuguese (Portugal)) 2018-02-05 10:36:02 +01:00
Allan Nordhøy
b14eee1ad9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (797 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nb_NO/
2018-02-01 02:38:35 +01:00
Allan Nordhøy
1f7c028a50 Translated using Weblate (German)
Currently translated at 87.0% (695 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/de/
2018-01-31 18:36:47 +01:00
bart deruyter
c551b21a03 Translated using Weblate (Dutch)
Currently translated at 99.7% (796 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nl/
2018-01-31 16:36:19 +01:00
bart deruyter
ce317064e9 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.7% (796 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nb_NO/
2018-01-30 18:22:47 +01: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
bart deruyter
a19156884f Translated using Weblate (Dutch)
Currently translated at 99.7% (796 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nl/
2018-01-29 08:36:09 +01:00
bart deruyter
ad209a90d2 Translated using Weblate (Dutch)
Currently translated at 99.8% (797 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nl/
2018-01-24 17:45:49 +01:00
Norbert Kowalczyk
2240362219 Translated using Weblate (Polish)
Currently translated at 57.2% (481 of 840 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2018-01-24 13:25:32 +01:00
Allan Nordhøy
adf5ec2fb8 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.7% (796 of 798 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nb_NO/
2018-01-24 13:24:02 +01:00
bart deruyter
aff50ec366 Added translation using Weblate (Dutch) 2018-01-23 16:36:57 +01:00
Olivier Keshavjee
4a9dc00381 Fixes #307: Overlay status bar prevents access to add/delete world item icons when displaying a message 2018-01-22 18:19:22 +01:00
Olivier
30a49a44d4
Merge pull request #302 from gedakc/issue-281-hidden-file-crash-open-project
Skip loading directory and file names that begin with a period
2018-01-18 10:18:58 +01:00
Curtis Gedak
62e9a3bfda Remove doubled-up word from README.md 2018-01-16 14:12:42 -07:00
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