The freedesktop project requires that the AppStream metadata are
released under a subset of licenses that does not include Apache 2.0.
For this reason, we decided to change the license of the README file
and release it under the MIT license (after obtaining explicit
permission from all the contributors to that file). With the same
goal, the script that generates the AppImage and the AppStreams
metadata is also released under the MIT license. The README file now
clearly states the project license and that some files are released
under a different license, as declared in their header or in our
third-party notices file.
This commit adds to our UI the support for macOS 10.14+ Dark Mode.
Qt already adapts a large fraction of the color scheme, but some
label colors had to be adjusted and were put in separate STYLE_DARK
constants. To determine if the OS is set in Dark or Light Mode, we
use a new dependency, included in the vendor folder:
Darkdetect - license: BSD-3-Clause
To allow the app bundle to use the Dark Mode APIs, a constant is
added in the info.plist ('NSRequiresAquaSystemAppearance': False)
Qt on macOS automatically adds these entries to the menubar of GUI apps,
providing that such apps have an Edit menu at their startup.
Hence, this commit contains the following changes (macOS only):
- create the menubar in the first dialog shown by the app (GuiConfiguration)
- create an Edit menu, populate it with Cut/Copy/Paste/Select all actions
- connect system-wide shortcuts to these new actions
- pass the menubar and the Edit menu to the MainWindow through config and
through an added optional argument in getUI and GraphicalUI
- populate the menubar created before and not a new menubar in MainWindow
- provide localized strings for the entries in the Edit menu
- add xx.lproj folders in Syncplay.app/Contents/Resources/ to allow
automatic localization of the entries added by the OS
Known issues:
- automatically added entries will always be in the OS language
- the Edit menu might retain the previous language after a language
change in the app settings. Reboot the app solves the issue.
- the automatically added entries might disappear if the app language
does not match the OS language
* setuptools: Initial commit
* setuptools: remove the .py extension from installed commands
* setuptools: restructure scripts to use entry_points in setup.py
* setuptools: include TLS dependencies and remove unneeded code
* setuptools: change resources path
* AppVeyor: upgrade Python and py2exe, embed TLS dependencies
* buildpy2exe: fix path for resources
* AppVeyor: upgrade py2exe and PySide2
* Amend setup.py according to the suggestions from PR #230
* Insert TLS dependencies in requirements
* AppVeyor: fix build for master
* AppVeyor: revert to PySide2 5.12.0
youtube-dl relies on system python to run on macOS, but system
python cannot be executed in a subprocess created from the frozen
python3 executable. This makes youtube-dl unusable from frozen
versions of Syncplay on macOS. So, the environment of the mpv
subprocess is modified with system PYTHONPATH, allowing the
execution of /usr/bin/python (and hence, of youtube-dl)
from within the subprocess in frozen executables.
Fixes: #228
Add Spanish translation and small fix on others.
* Added missing languages in 'language-argument' and new 'es' language
* Small fix on 'unpause-ifothersready-tooltip'
* Adds Spanish translation to Syncplay and its installer