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
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
03263b3a4c
macOS: appearance fixes on the main dialog UI
2019-05-14 16:00:22 +02:00
Alberto Sottile
819e6b6cae
About dialog: attempt Hi-DPI scaling of the logo
2019-05-06 23:45:08 +02:00
Etoh
aaf332b74c
Refactor: Avoid complicate your/their file/stream concatenation
2019-02-26 22:21:01 +00:00
Etoh
14af13c526
Merge pull request #223 from albertosottile/master
...
Opportunistic TLS support
2019-02-18 22:17:21 +00:00
Etoh
7f23ac44e0
Enable high-DPI scaling where available
2019-02-17 11:00:27 +00:00
Alberto Sottile
0add282db6
startTLS: set font size in dialog only on macOS
2019-02-16 00:07:11 +01:00
Alberto Sottile
b5f191bb68
startTLS: multilanguage strings in certificate dialog
2019-02-16 00:07:05 +01:00
Alberto Sottile
b35a4fec9d
startTLS: add custom certificate info dialog
2019-02-16 00:06:57 +01:00
Alberto Sottile
3695c31ec7
startTLS: set lock button appearance on macOS
2019-02-16 00:06:50 +01:00
Etoh
466e8533d6
Add secure connection icon to press for cert details
2019-02-16 00:06:43 +01:00
Alberto Sottile
24cb681acd
startTLS: add link to 'startTLS-server-certificate-invalid' error message
2019-02-16 00:05:04 +01:00
Alberto Sottile
6d91c17432
About dialog: update copyright year
2019-02-01 10:41:48 +01:00
Flisk
ee0bd52615
Remove obsolete encode/decode calls
2018-08-02 05:25:00 +02:00
xNinjaKittyx
a1a3598d82
Reverting more == True statements
2018-07-23 15:07:14 -07:00
xNinjaKittyx
d59afb8f2f
Revert any changes to tri logic
2018-07-23 14:41:10 -07:00
Daniel Ahn
ac4da59479
Revert "Revert "Code Syntax Refactoring""
...
This reverts commit 51fba3722f653156eca30d45cb07846fb725a777.
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
1aa50a8422
Address comments
2018-07-21 10:41:00 -07:00
Daniel Ahn
63c0573ab2
Reverted most code back to == False. Future code should consider using is False if possible.
2018-07-21 03:20:34 -07:00
Daniel Ahn
292215dd22
Fixed some typos
2018-07-20 14:04:01 -07:00
Daniel Ahn
4dea39a068
Add more pycodestyle fixes
2018-07-20 12:57:00 -07:00
albertosottile
74974438f0
Add revision identifier in __init__ and about dialog
2018-07-08 12:14:46 +02:00
Alberto Sottile
b4534266e3
Redesign About dialog to show environment info
2018-06-17 14:57:28 +02:00
albertosottile
b4292bf8cd
Manually check for updates if automaticUpdateCheck fails
2018-06-15 09:42:13 +02:00
albertosottile
e49ea0de12
Fix show URL in GUI when loaded from Syncplay
2018-05-29 14:28:47 +02:00
Alberto Sottile
b827a57cab
2to3 conversion and initial VLC support
2018-04-24 00:44:19 +02:00
albertosottile
6f172d9803
Merged upstream changes
2018-04-11 12:24:38 +02:00
albertosottile
ab481b6cd6
Italian translation reviewed and added syncplay-mediasearchdirectories-label
2018-02-20 10:04:31 +01:00
Etoh
f5c6b8fcf9
Make repl.lua copyright notice more prominent
2018-01-14 17:54:18 +00:00
Etoh
a97d1fe863
Fix dropfile on main GUI window
2017-12-25 13:26:26 +00:00
Etoh
ec3bb067f3
Remove dropFileAddsToPlaylist for now
2017-12-25 13:22:10 +00:00
Etoh
e6238a54ee
Dropping a file into the player or playlist adds it to playlist rather than just opening it
2017-12-14 17:14:40 +00:00
Etoh
bb53c2e77f
Rename OSX->MacOS
2017-12-10 15:19:23 +00:00
Etoh
2618a0f527
Refactor resourcespath/posixpath to utils
2017-12-10 14:58:39 +00:00
Etoh
8a082ed1cd
Refactor OS check to utils
2017-12-10 14:32:35 +00:00
alby128
f064c0dd68
Fixed defects found by Coverity
2017-11-12 22:44:47 +01:00
Etoh
2e1ad3021a
Split shuffle into 'entire' and 'remaining' to address #153 (suggested by xNinjaKittyx)
2017-11-12 22:44:39 +01:00
alby128
059ce0c87f
Corrected syntax bug in openAddMediaDirectoryDialog
2017-10-19 21:50:17 +02:00
Etoh
bddd9c215f
Fix UI glitches and make password disabled rather than hidden on public servers
2017-10-19 09:34:20 +02:00
alby128
d04ce6820d
Rewind video when manually changing playlist selection ( #138 )
2017-10-15 12:36:52 +02:00
alby128
264724614d
Added multilanguage support in the About dialog
2017-10-13 15:33:49 +02:00
alby128
cf1e739a48
Improved About menu appeareance on Windows
2017-10-08 19:28:08 +02:00
alby128
925ddb394c
Fixed listTreeView.header auto-resize on Qt.py
2017-10-08 16:06:55 +02:00
alby128
9b2191dde2
Changed name of lastChecked QDateTime setting
2017-10-08 00:16:18 +02:00