Commit Graph

2102 Commits

Author SHA1 Message Date
Alberto Sottile
c6f206f976 AppImage: add Appstream metadata file 2019-05-27 22:41:21 +02:00
Alberto Sottile
fd6a082a0b AppImage: add appimagelint test 2019-05-27 22:41:21 +02:00
Alberto Sottile
f90a674707 Add AppImage support 2019-05-27 22:41:21 +02:00
Alberto Sottile
7788e533eb vendor: upgrade Darkdetect to 0.1.1 2019-05-27 22:41:21 +02:00
Alberto Sottile
0279702f73 Do not throw a KeyError when GUI is not available 2019-05-24 17:20:02 +02:00
Alberto Sottile
a9172f9fa6 Support for Snap VLC on Linux
Add the snap VLC path to the discovery list and automatically copy
our lua script in the correct path for snap installations.

Fixes: #222
2019-05-20 11:26:35 +02:00
et0h
7862c27d54 Initial support for VLC Portable (#235) 2019-05-19 20:59:04 +01:00
et0h
f3b04ad39d Don't make space for icon within player path combobox 2019-05-19 18:58:24 +01:00
et0h
2ecd9e7877 Prevent long player paths from making GuiConfig window too wide 2019-05-19 18:29:00 +01:00
Alberto Sottile
f6414c39cc Linux: fix selection highlight in MainWindow userList
Apparently, this fix is required also on Linux. The same fix used
for macOS is used, with automatic detection of the background
color.
2019-05-14 16:45:49 +02:00
Alberto Sottile
8f5b77c0bf Certificate dialog: Hi-DPI scaling of the padlock 2019-05-14 16:00:22 +02:00
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
12fc04326a macOS: add localized Edit menu with dictation support and emoji picker
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
2019-05-14 16:00:22 +02:00
Alberto Sottile
b3545a35bb macOS: fix random password loaded in the GUI
macOS puts a -psn_0_xxxxxx argument when running an app via GUI.
This argument was interpreted as a password (-p) and overloaded the
value stored in the settings. Catching the -psn argument explicitely
should prevent this.

See https://stackoverflow.com/questions/10242115/os-x-strange-psn-command-line-parameter-when-launched-from-finder
for further information about this legacy argument.
2019-05-14 16:00:22 +02:00
Alberto Sottile
a2294d0916 Server EP: removed unnecessary 'import socket' 2019-05-14 16:00:22 +02:00
Alberto Sottile
ce8884f4c7 macOS: fix selection highlight in MainWindow userList 2019-05-14 16:00:22 +02:00
albertosottile
ff6bb74b49 Use dictionaries to get constant values for different OS 2019-05-14 16:00:22 +02:00
Alberto Sottile
4ff359a820 macOS: appearance fixes on the config dialog UI 2019-05-14 16:00:22 +02:00
Alberto Sottile
03263b3a4c macOS: appearance fixes on the main dialog UI 2019-05-14 16:00:22 +02:00
albertosottile
3a4cf41d6b py2exe: include resources/*.png in the app bundle 2019-05-06 23:45:15 +02:00
Alberto Sottile
819e6b6cae About dialog: attempt Hi-DPI scaling of the logo 2019-05-06 23:45:08 +02:00
Alberto Sottile
fbe9f3a9ac AppVeyor: upgrade PySide2 to 5.12.3 2019-05-06 23:45:01 +02:00
Alberto Sottile
cf35fd73fe Upgrade qt5reactor to version 0.5 2019-05-06 23:44:54 +02:00
Alberto Sottile
de194d92ca Travis: use pyside bottle from our tap 2019-05-05 23:59:42 +02:00
Alberto Sottile
bfc524fa2c Travis: build matrix MacOS + Snap 2019-05-01 23:09:16 +02:00
Alberto Sottile
d04f9ada7e Add snapcraft support 2019-05-01 23:08:57 +02:00
Etoh
ca9e1875e9
Config dialog: Remove 'update list' button and tweak sizes (#233)
Also aligns executable input with other inputs
2019-05-01 19:14:51 +01:00
Etoh
5a9e2cde23
Don't identify mpv SMPlayer as mplayer (#234) 2019-04-16 20:52:46 +01: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
Etoh
bcf8174b7d Mark as 1.6.3 release 2019-03-15 11:21:49 +00:00
Alberto Sottile
c07206c189 Run mpv subprocess with a system PYTHONPATH env on macOS.
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
2019-03-14 18:40:33 +01:00
Etoh
22eec119b1
Support high DPI in Windows installer (v2) 2019-03-10 23:09:06 +00:00
Etoh
3fd498ee6d
Support high DPI in Windows installer 2019-03-10 19:28:38 +00:00
Etoh
f39fe4c01b Update Twisted version advice to >= v16.4.0 2019-03-03 20:54:02 +00:00
Etoh
6ca64847eb
Upver to release 74 2019-02-27 23:11:19 +00:00
Alberto Sottile
b743ca1deb AppVeyor: limit build to master 2019-02-27 22:56:53 +01:00
Alberto Sottile
5d31aba2d6 Italian translation: resolve all the TODO messages 2019-02-27 11:17:11 +01:00
Bruno Cattáneo
276eed4b1d Add Spanish translation (#227)
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
2019-02-27 10:04:28 +00:00
Etoh
aaf332b74c Refactor: Avoid complicate your/their file/stream concatenation 2019-02-26 22:21:01 +00:00
Alberto Sottile
04f8bf8ed3 requirements: amend Twisted minimum version 2019-02-26 12:20:26 +01:00
Alberto Sottile
e52e9410e2 requirements: separate files for GUI and TLS support 2019-02-26 12:20:15 +01:00
Alberto Sottile
d18a56eb71 Add requirements.txt to install dependencies with pip 2019-02-26 12:20:06 +01:00
Alberto Sottile
2b7d36f45c
Merge pull request #226 from daniel-123/master
Workaround for older twisted versions which don't support raiseMinimumTo. Ensure server support for Twisted >=16.4.0
2019-02-26 08:45:13 +01:00
Alberto Sottile
d3a3635736 Ensure client support for Twisted >=16.4.0 2019-02-26 08:35:11 +01:00
Daniel Wróbel
ddca044641 Rearrange import order for OpenSSL 2019-02-24 17:51:21 +01:00
Daniel Wróbel
75416463a6 Make catching the SSL exception due to old Twisted version more specific. 2019-02-24 17:50:15 +01:00
Alberto Sottile
f8ea2381a6 sendHello only after a successful startTLS handshake, if one is attempted 2019-02-24 16:18:47 +01:00
Daniel Wróbel
30c8cbbc08 Workaround for older twisted versions which don't support raiseMinimumTo. 2019-02-23 20:54:35 +01:00
Etoh
7b82802f6f
Merge pull request #225 from bcattaneo/master
Remove NOTICE tag for clientversion messages
2019-02-22 00:21:32 +00:00
c@ttaneo.uy
d87b9d7b93 Remove NOTICE tag for clientversion messages 2019-02-21 20:15:31 -03:00