Commit graph

1045 commits

Author SHA1 Message Date
Zeth Green 344c21be5f Add a test to prove a scene's content comes through. 2021-02-02 23:29:17 +00:00
Zeth Green 0bbf70b455 Make the naming match here too. 2021-02-02 21:59:02 +00:00
Zeth Green 2410598de0 More consistant naming. 2021-02-02 21:54:39 +00:00
Zeth Green 64c67eaf48 Write a test for ParseMMDFile function. 2021-02-02 21:47:36 +00:00
Curtis Gedak 917f1a2f73 Set minimum of xcode11 for macOS X in Travis CI build
The Travis CI builds for macOS X are failing for xcode values less
than 11.

Reference information for macOS X:

- Homebrew project bottles for qt
  https://formulae.brew.sh/formula/qt

- Travis CI build values for xcode
  https://docs.travis-ci.com/user/reference/osx#macos-version

See also related issue:

- Issue #696 - Install on Mac Catalina Requires Signed Installer
2020-04-30 13:16:22 -06:00
Tom Wardill a43a4ccb40 Add snap layout for pandoc templates directory 2020-02-17 10:03:48 -07:00
Curtis Gedak 12defa8fa4 ========== manuskript-0.11.0 ========== 2020-01-18 10:37:45 -07:00
Curtis Gedak 2411409260 Update copyright year 2020-01-18 10:26:14 -07:00
Curtis Gedak a3ee840846 Add new language translations to the Settings window 2020-01-18 10:23:53 -07:00
Curtis Gedak 8590fb040d Update all language translation source .ts files
Update the language translation source '.ts' files with the
translatable strings in the source code with the following command:

$ make translation

This effectively runs the following command:

$ pylupdate5 -noobsolete i18n/manuskript.pro
2020-01-18 10:20:53 -07:00
Curtis Gedak decf13913b Compile all language translation updates into respective .qm files
After updating the '.ts' translation source files from weblate,
compile all of the language translations into '.qm' files.

This was done with the following command:

$ make i18n

This effectively runs the 'lrelease' command on each '.ts' file.  For
example:

$ lrelease i18n/manuskript_es.ts
2020-01-18 10:19:11 -07:00
Curtis Gedak 39745098b6 Add all current weblate languages to i18n/manuskript.pro 2020-01-18 10:17:04 -07:00
Hosted Weblate cb202eb701 Merge branch 'origin/develop' into Weblate.
Merge the weblate language translations with the following commands:

    git remote update weblate
    git checkout develop
    git merge weblate/develop
2020-01-18 10:12:15 -07:00
Curtis Gedak 82169dbf4f Change wording of import warning for PyQt/Qt versions 5.11 and 5.12
Two separate pull requests indicate an issue translating the warning
for when an import is attempted with PyQt/Qt versions 5.11 and 5.12.
As such change the warning message.

See PRs #668 and #701.
2020-01-15 10:01:55 -07:00
Fabian Beil 062d28a1ee Found one more Typo 2020-01-15 09:43:47 -07:00
Fabian Beil b55eac0c03 Added some more translations into German 2020-01-15 09:43:47 -07:00
Fabian Beil 588c37800c Fixed translation mistake. Trilogy translates to Trilogie in German 2020-01-09 11:16:13 -07:00
차용택 a2cca113ac
Translated using Weblate (Korean)
Currently translated at 69.3% (597 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/ko/
2020-01-09 12:02:41 +01:00
pindarogb 5a62c1ec50
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (861 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_BR/
2020-01-07 02:42:53 +01:00
차용택 daad190721
Added translation using Weblate (Korean) 2020-01-06 21:31:34 +01:00
Nathan 29e2627a3a
Translated using Weblate (French)
Currently translated at 92.0% (792 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/fr/
2020-01-06 21:29:08 +01:00
pindarogb 42a269b49b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 94.3% (812 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_BR/
2020-01-06 21:29:08 +01:00
Mariana Badarnih dae56c3d54
Added translation using Weblate (Romanian) 2020-01-06 20:07:35 +01:00
TheJackiMonster 9f6b65aaca Fixed bugs caused by parallel access during multithreading 2020-01-06 11:16:02 -07:00
Curtis Gedak 4c28175c43 Remove support for macOS X Sierra (10.12) in Travis CI build
The Travis CI builds for macOS X are failing because there are no
Homebrew bottles (packages) for macOS X Sierra (10.12).

The error message in the Travis CI log is:

    ...
    # Upgrade to python 3.x
    brew upgrade python
    Warning: You are using macOS 10.12.
    We (and Apple) do not provide support for this old version.
    ...

Note that by default the Travis CI will terminate a build after 10
minutes if no output has been received.  Unfortunately building qt
from source code may take hours, so installation using a Homebrew
bottle is required.

To address this issue, choose a macOS X version that has a Homebrew
bottle for qt [1].

[1] https://formulae.brew.sh/formula/qt

The homebrew project currently lists having a qt bottle for:

  - Catalina (10.15)
  - Mojave (10.14)
  - High Sierra (10.13)

No bottle is listed for macOS Sierra (10.12)

In order to support as many versions of macOS X as possible, choose
the lowest osx_image value [2] that is currently supported with a
homebrew bottle.

[2] https://docs.travis-ci.com/user/reference/osx#os-x-version

At this time osx_image value xcode9.3 is listed as supporting OS X
10.13.

Unfortunately xcode9.3 did not work in the Travis CI build.

By following the suggestions for troubleshooting homebrew [3] a
discovery was made that a higher value of xcode10.1 was required.

[3] https://docs.brew.sh/Troubleshooting

Suggestion was to use "brew update" twice and "brew doctor" twice.

The messages in the log were as follows:

    ...
    Warning: Your Xcode (9.3) is outdated.
    Please update to Xcode 10.1 (or delete it).
    ...

Now try setting osx_image value to xcode10.1 which is listed as
supporting OS X 10.13.
2020-01-03 10:31:32 -07:00
bart deruyter d8f2b1a2ce
Translated using Weblate (Dutch)
Currently translated at 91.9% (791 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nl/
2019-11-30 10:05:08 +01:00
Allan Nordhøy 787e3f287e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.6% (832 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nb_NO/
2019-11-10 20:04:11 +01:00
Mateusz Mendel 21e86517ba
Translated using Weblate (Polish)
Currently translated at 97.9% (843 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pl/
2019-11-02 17:03:53 +01:00
Allan Nordhøy 95a121945b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.6% (832 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/nb_NO/
2019-10-21 02:53:02 +02:00
Nathan 91ace7c9aa
Translated using Weblate (French)
Currently translated at 91.3% (786 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/fr/
2019-10-13 17:52:50 +02:00
Riccardo Mangili 2bb9e1d066
Translated using Weblate (Italian)
Currently translated at 100.0% (861 of 861 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/it/
2019-10-13 17:52:49 +02:00
Jan Wester 67f987d44b Fix for Windows 10 Dark Theme on older Qt versions
QtCore.Qt.GlobalColor does not have any accessors for the predefined
colors on PyQt versions before 5.11 despite the object itself existing.

It would have been nice if the documentation* had mentioned that object
being broken on older versions, but I should have tested with even older
versions of PyQt before submitting the original patch.

Apparently the most supported way to access these colors is through the
Qt namespace itself, but those aren't documented in the slightest. Ugh.

My apologies to all those affected. Fixes issue #659.

*: https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html#GlobalColor
2019-10-02 09:49:52 -06:00
Pedro Albuquerque d54a999e51
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (862 of 862 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_PT/
2019-09-30 18:58:52 +02:00
Curtis Gedak f9970fc09a ========== manuskript-0.10.0 ========== 2019-09-30 09:49:14 -06:00
Curtis Gedak 4784d2b5aa Add new language translations to the Settings window 2019-09-30 09:31:49 -06:00
Curtis Gedak ccdf8b62bd Update all language translation source .ts files
Update the language translation source '.ts' files with the
translatable strings in the source code with the following command:

$ make translation

This effectively runs the following command:

$ pylupdate5 -noobsolete i18n/manuskript.pro
2019-09-30 09:28:57 -06:00
Curtis Gedak 33b35b6e38 Compile all language translation updates into respective .qm files
After updating the '.ts' translation source files from weblate,
compile all of the language translations into '.qm' files.

This was done with the following command:

$ make i18n

This effectively runs the 'lrelease' command on each '.ts' file.  For
example:

$ lrelease i18n/manuskript_es.ts
2019-09-30 09:26:51 -06:00
Curtis Gedak 81b232fc79 Add all current weblate languages to i18n/manuskript.pro 2019-09-30 09:25:35 -06:00
Curtis Gedak 3be69a7177 Rename Chinese (traditional) translation file identification to zh_HANT
Reference:

Language codes for simplified Chinese and traditional Chinese?
https://stackoverflow.com/questions/4892372/language-codes-for-simplified-chinese-and-traditional-chinese
2019-09-30 09:21:42 -06:00
Curtis Gedak 69423da710 Merge remote-tracking branch 'weblate/develop' into develop
Merge the weblate language translations with the following commands:

    git remote update weblate
    git checkout develop
    git merge weblate/develop
2019-09-30 09:16:43 -06:00
Riccardo Mangili 2af68208c3
Translated using Weblate (Italian)
Currently translated at 100.0% (856 of 856 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/it/
2019-09-30 11:56:02 +02:00
Jan Wester 7377a34714 Added warning to revision UI 2019-09-29 09:34:48 -06:00
Jan Wester 961bac7e16 UI enforces >=1 revision kept per timespan 2019-09-29 09:34:48 -06:00
leela decb60cbef change markdown to "Markdown" in....
...A universal document converter. Can be used to convert markdown to a wide range of other formats.
see https://en.wikipedia.org/wiki/Markdown
2019-09-29 09:09:31 -06:00
Alexander Klar 54ab01099d
Translated using Weblate (German)
Currently translated at 94.0% (805 of 856 strings)

Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/de/
2019-09-27 16:54:24 +02:00
Jan Wester 3aa9cadfd8 Restore progress bar functionality
A previous fix (5f9ea3) inadvertently broke the progress bar by
converting to the wrong data type. (See issue #561 / PR #609).

While checking the code I realized the problem occurred primarily
because we weren't checking the validity of the values closer to the
source. Doing so alleviates the need to check elsewhere.

In the hope of inspiring a more systematic approach, a new uiParse()
utility function has been added to curb the further growth of toXxx()
functions that exist solely to validate user input.

There is no doubt room for improvement, both on the end of the new
uiParse() function as well as the spot where it is used. Ideally, the
data that comes out of the model should already be 'safe', but since
this is a bugfix for a bugfix I want to keep waves to a minimum.

This commit fixes issue #652.
2019-09-23 14:13:38 -06:00
Curtis Gedak be35786b68 Default keep revisions to disabled, and remove tests for revisions
This commit sets the "keep revisions" setting to disabled by default
for new projects.  It also removes the test cases associated with
revisions.

The revisions feature as currently implemented is of questionable use.
It has been a source of performance issues for users, and has consumed
developer time in attempts to address its shortcomings.  This commit
is the first step to deprecate the current revisions feature.
2019-09-22 10:45:07 -06:00
Curtis Gedak b473ead98e Fix word recognition for spell checker, ignore active partial words
See PR #651

This commit restores the functionality that prevents spell checking a
word that is being actively typed at the end of a paragraph.

The goals for the spell check word match regexp are:

A. Words should include those with an apostrophe
   *E.g., can't*
B. Words should exclude underscore
   *E.g., hello_world is two words*
C. Words in other languages should be recognized
   *E.g., French word familiarisé*
D. Spell check should include word at absolute end of line with no
   trailing space or punctuation
   *E.g., tezt*
E. Spell check should ignore partial words in progress (user typing)
   *E.g., paragr while midway through typing paragraph*

This commit addresses all five of the above goals.

HISTORY:
- See issue #166 and commit 6ec0c19 in the 0.5.0 release.
- See issue #283 and commit 63b471e in the 0.7.0 release.

Also fix minor incorrect utf-8 encoding at top of source file.
2019-09-22 10:28:49 -06:00
Curtis Gedak 10df2baf8d Fix typo missed in two previous commits
See PR #645 and PR #648.

Change second instance in string of "save" to "saved".
2019-09-19 10:38:16 -06:00
luz.paz d20e7a8122 Fix typo missed in previous commit
https://github.com/olivierkes/manuskript/pull/489#issuecomment-533195819
2019-09-19 10:13:15 -06:00