Commit graph

30 commits

Author SHA1 Message Date
Curtis Gedak 0943d81317 Move Qt 5.11 / 5.12 version warning to Import invocation
See issue #611 and pull request #642.

The warning previously added in PR #612 for Manuskript users with Qt
5.11 / 5.12 has shown itself, in my opinion, to be overly annoying.
This is because the warning *always* displays on systems with the
affected Qt versions even though the crash is verified to happen with
the import feature only.

Additionally the process to upgrade to a newer version of PyQt / Qt is
not trivial for users who rely on pre-built packages and do not run
from source code.

Because the crash has been verified with the Import feature only, limit
the scope of the warning to the Import feature.
2019-09-17 10:41:33 -06:00
Jan Wester 5dcd93ced3 Improved detection of UI language
The user can configure a language for Manuskript in the dialog, but
before that setting is ever written to disk, there is the default
behaviour that tries to auto-detect the best language to show based on
the configuration of the device it is running on.

While doing my due diligence on issue #619, I realized we were relying
on the system locale, which is not necessarily equivalent to the
language the user is working with. Worse still: a user can have multiple
preferred languages for their user interface, and our old approach might
actually offer them the 'wrong' language. This patch fixes this.

It also refactors and comments things a little bit where necessary.
2019-09-15 09:21:31 -06:00
Jan Wester 0aa83180de Reworked translation loading to avoid ambiguity
Issue #619 revealed an unintentional overlap between the auto-detection
of the locale and the implicit builtin English language, which resulted
in users being unable to select the builtin English language when their
device was configured with a locale that we happen to have a translation
for. The code has been rewritten to more clearly separate auto-detection
and the final fallback that is the builtin English translations.
2019-09-15 09:21:31 -06:00
Jan Wester 860ada2c1b Basic dark theme support (Windows 10)
Windows 10 has supported a 'dark theme' option for a while, and the fact
Manuskript is like looking into a bastion of bright white while using it
is bothersome to say the least.

Since this is a setting defined as the OS level, I believe this should
be something Manuskript automatically adjusts itself to match, thus the
lack of a configurable setting on the Manuskript end.
2019-09-10 10:15:54 -06:00
Jan Wester c2dce6e0c6 Warn user about buggy libraries
Some bugs are out of our reach to fix, but can still impact the user
considerably. Because losing progress always hurts, we want to make
the user aware of the risks before any tears are shed. (PR #612)
2019-09-04 14:18:02 -06:00
Youness Alaoui 4a947a95ac Add support for IPython Jupyter QT Console as a debugging aid
If manuskript is launched with its last argument set to "--console" an
interactive console opens up to help debug the application.
The IPython, qtconsole and matplotlib libraries must be installed for it
to work and they won't get imported unless the argument is passed to the app.
2019-03-29 10:37:53 -06:00
LingSamuel 4ded8d29e0 fix #411: translator won't work in some window, such as settings 2018-12-09 11:35:34 -07:00
LingSamuel 3d6080f3c0 fix #428: zh translation suffix doesn't match system locale; new behavior: load translation from settings first 2018-12-09 11:19:26 -07:00
Sebastian Rasmussen dfe88a9681 Fix typos in code comments, invisible to end-users. 2018-01-29 10:30:41 -07:00
Olivier Keshavjee 9c635301b5 Adds #223: command line parameter to open project 2017-11-30 17:47:23 +01:00
Olivier Keshavjee e62b473c47 Adds: settings for applicatoin font size 2017-11-29 14:34:25 +01:00
Olivier Keshavjee ba4fe6b57a Fixes the organizationName issue in #225. 2017-11-21 23:11:08 +01:00
Olivier Keshavjee 9d3b64de8f Adds: references tests, corrects bugs 2017-11-20 15:42:30 +01:00
Olivier Keshavjee 584b0b04a6 Checkpoint: revisions 2017-11-19 15:29:38 +01:00
Olivier Keshavjee 1a5fdc7b1f Adds unit tests for functions 2017-11-19 00:20:49 +01:00
Olivier Keshavjee b81a571b2e Adds: Disable cursor blinking (#165), Configurable editor margins (#168) 2017-10-19 12:13:20 +02:00
Olivier Keshavjee d2762f2819 Merge branch 'feature/QtWebEngine' into develop 2017-10-12 08:47:57 +02:00
Curtis Gedak 5d462d6a47 Single source the package version
Define one place to store the Manuskript version so that it can be
used in multiple locations.

Reference:

Single-sourcing the package version
https://packaging.python.org/guides/single-sourcing-package-version/
2017-09-28 13:54:53 -06:00
Olivier Keshavjee 2beb3a939b Conditional import of QtWebEngine or QtWebKit 2017-06-20 15:24:15 +02:00
Curtis Gedak 828fc3375e Change message from warning to note for failed to load translator
The message for failing to find and load a language translator was
misleading.

There is no problem running Manuskript with the default English
language (no translation loaded).  The word **Warning** implied that
something was wrong with manuskript and could be confusing to users.
2017-06-06 10:10:23 -06:00
Olivier Keshavjee 79962f1e0d Bumped version number 2017-05-25 18:15:43 +02:00
Curtis Gedak 7ba028ecc8 Fixes: incorrect reference to 32px icon 2017-05-09 14:55:27 -06:00
Olivier Keshavjee 85cb90d592 Bumping version number 2016-03-31 16:12:54 +02:00
Olivier Keshavjee 824f15e54c Adds: GUI settings to change translation 2016-03-29 18:39:33 +02:00
Olivier Keshavjee dc79ba1396 Bumping version number 2016-02-29 00:04:26 +01:00
Olivier Keshavjee f536764904 Few modifs 2016-02-28 23:48:53 +01:00
Olivier Keshavjee 0714d36dcd Version change 2016-02-08 22:10:16 +01:00
Olivier Keshavjee c4e3fc7d04 Adds application icon 2016-02-06 16:42:22 +01:00
Olivier Keshavjee 69e0ca93be Cleaning up imports, at last 2016-02-06 12:34:22 +01:00
Olivier Keshavjee c469f262f3 Renaming source folder 2016-02-06 08:38:33 +01:00
Renamed from src/main.py (Browse further)