Commit Graph

25 Commits

Author SHA1 Message Date
Alberto Sottile bc242c2565 macOS: add support for Mojave Dark Mode
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)
2019-05-14 16:00:22 +02:00
Alberto Sottile 281d8023fd Edit folder structure and add setuptools support (#231)
* 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
2019-04-13 14:39:55 +01:00
Alberto Sottile 2ac6417c50 buildpy2app: include lua subfolder in the app bundle 2019-02-16 00:08:11 +01:00
Alberto Sottile 8d2472bc68 buildpy2app: include cffi in the app bundle 2019-02-16 00:08:03 +01:00
Alberto Sottile 1dd22bc06c Travis: bump minimum version to 10.12 2019-02-05 21:46:59 +01:00
Alberto Sottile 29bfcc8cef buildPy2app: update copyright year 2019-02-01 10:41:41 +01:00
Daniel Ahn ac4da59479 Revert "Revert "Code Syntax Refactoring""
This reverts commit 51fba3722f.
2018-07-23 14:12:09 -07:00
Alberto Sottile 51fba3722f
Revert "Code Syntax Refactoring" 2018-07-23 22:32:47 +02:00
Daniel Ahn f01de206d8 fix formattings 2018-07-20 12:12:55 -07:00
albertosottile 1d4f57866e Merge python 3.x branch 2018-07-17 09:54:55 +02:00
albertosottile 9745217937 Bundle syncplayServer in py2app 2018-06-20 23:49:29 +02:00
Alberto Sottile 0afac4ab39 Bundle syncplayServer in py2app 2018-06-20 00:08:40 +02:00
Alberto Sottile 6b515e671c Set 10.11.0 as minimum macOS version in the .app bundle 2018-06-17 15:56:29 +02:00
Alberto Sottile 4fae32a466 Set 10.11.0 as minimum macOS version in the .app bundle 2018-06-17 15:38:50 +02:00
albertosottile 9f6b664c4b Update py2app script for Qt 5.11 2018-06-14 11:38:50 +02:00
albertosottile 0e60863d43 Update py2app script for Qt 5.11 2018-06-13 19:45:20 +02:00
Alberto Sottile a58aa6de54 Fix issue #184 2018-05-30 23:03:02 +02:00
albertosottile 477dc37535 Use requests instead of urllib in getListOfPublicServers and checkForUpdate 2018-05-29 00:10:48 +02:00
Alberto Sottile b827a57cab 2to3 conversion and initial VLC support 2018-04-24 00:44:19 +02:00
Alberto Sottile 8ade9c0d8d Fixes issue #181 from upstream 2018-04-15 20:23:01 +02:00
alby128 bcc2983815 Ported GUI code to Qt.py 2017-10-04 15:19:49 +02:00
alby128 bc31d1d352 Enable about dialog on all OS 2017-10-02 23:57:54 +02:00
alby128 b27f353e71 Fixes py2app script for PySide2 2017-09-28 16:24:20 +02:00
Alberto Sottile 0b41edaef6 Added license text files in resources in .app package 2017-09-18 22:57:43 +02:00
alby128 89b4df7a4a Ported GUI to PySide 2 2017-09-07 19:37:03 +02:00