Commit Graph

583 Commits

Author SHA1 Message Date
Adrian Lucrèce Céleste a82b845e07
Rename the "Apply" button to "Reload" (#292)
Rename the "Apply" button to "Reload"
2019-05-14 16:07:44 -04:00
Mike Salvatore c54424794f Rename the "Apply" button to "Reload"
The "Apply" button in the main window calls stopBarrier() immediately
followed by startBarrier(). The startBarrier() function reloads the
configuration. The fact that the "Apply" button applies configuration
changes is incidental; the "Start" button also applies new settings.

"Reload" more accurately describes the function that the button
performs.

Issue #284
2019-04-17 20:37:28 -04:00
Mike Salvatore 854a6b2a86 Fix #278 "Enable Clipboard Sharing" always reset after restart
Unlike other settings, the "Enable Clipboard Sharing" setting of the
ServerConfigDialog does not persist when the barrier application (GUI)
is stopped completely and restarted. Add the necessary code to the
saveSettings() and loadSettings() functions.
2019-04-13 06:40:45 -04:00
Thomas A. F. Thorne 79c08baf43
Do Not Warn About Missing System Tray
The system tray will be a nice to have.  Everything should continue to
operate in a satisfactory manner without it.  Log the warning but do
not interup the user with the message.
2019-01-22 15:52:44 +00:00
Thomas A. F. Thorne 0a56cdbca0
Reduce Sysmtem Tray Retry Attempts
It is not essential that the system tray exists in order that the
application contuinue to function.  Reduce the number of retry
attempts which will reduce the time the application appears stalled
at startup.

This is part of the work on making the app work without the need of
system tray support as described uner #155.
2019-01-22 10:48:22 +00:00
Chris Simons ea3e20ade1 Added preserveFocus fix (#178)
Adds the [preserveFocus configuration](https://github.com/symless/synergy-core/wiki/Text-Config#Focus_Preservation) item to the GUI configuration screen. 

This is useful if you want to control a system that you are not the only user of. For example, I use barrier to control my HTPC computer sometimes, but I don't want Kodi to lose focus when my cursor leaves the screen since it will cause other inputs (i.e. CEC Remote) to stop working.
2018-12-16 18:05:20 -05:00
Povilas Kanapickas 65172ebd60 OSX: Explain why the app needs to go into /Applications (#158) 2018-10-19 13:17:17 -04:00
Christopher N. Hesse ab887a4e90 gui: Fix auto hide behavior (#140)
* make waitForTray() report a proper status - the return value was not
   used until now anyway (it would always return true)
 * depend on the system tray availability for auto hide

On my system (Fedora 29 with Pantheon Desktop), on a clean install the GUI
would auto hide itself on startup, but due to no system tray being
available I could never make the GUI appear again.

This change disallows auto hide if the system tray is not available.
Users who don't want the GUI can just start barriers/barrierc instead of
the main barrier executable, so this should not break existing workflows.
2018-10-13 01:52:45 -04:00
walker0643 53ebc47ace
Merge pull request #106 from coypoop/master
Small patches for netbsd
2018-09-08 19:09:56 -04:00
walker0643 b2aac6719f rename field Interface to Address in GUI settings dialog 2018-09-08 15:20:02 -04:00
walker0643 9e2fbe269d bump ssl cert key size up to 2048 from 1024. fixes #126 2018-09-07 18:14:03 -04:00
coypu 87820d9387 have all other OSes handled in the else case.
No reason to limit to just freebsd and linux, we handle all existing
supported OSes in the previous cases.
Needed for NetBSD support.
2018-08-02 15:46:01 +03:00
walker0643 dc5dc25de7 screen settings dialog handles internationalized default name better
(ref #71)
2018-06-30 17:33:49 -04:00
walker0643 a956cad0da add patch from Gentoo packager to fix cmake issue (reported on Arch, too). ref #49 2018-06-30 13:44:34 -04:00
walker0643 9ab77545ee fix ipv6 handling between GUI and barriers/barrierc; zero-fill sockaddr_in(6) structs prior to initializing; update --help output 2018-05-12 17:42:55 -04:00
walker0643 f299558cdf remove stale definitions 2018-05-12 17:20:35 -04:00
walker0643 1734e6d7f6 Merge branch 'master' into nosyntool 2018-04-01 14:04:53 -04:00
walker0643 6c4199b11a fix mainwindow icon 2018-04-01 14:00:52 -04:00
walker0643 1be86a9248 remove syntool, CoreInterface, and WebClient 2018-03-29 17:14:57 -04:00
walker0643 ea025f5958 fix --profile-dir argument 2018-03-29 17:13:45 -04:00
walker0643 6e5b340bcc replace CoreInterface syntool calls with DataDirectory calls 2018-03-29 16:38:50 -04:00
walker0643 72cc7e3d89 link gui with common; reimplement finding personal and profile directories on windows (not yet used) 2018-03-29 14:01:07 -04:00
walker0643 921a40c684 silence avahi's bonjour warning 2018-03-13 13:03:19 -04:00
walker0643 ea1c563647 make LogWindow wider 2018-03-11 13:20:51 -04:00
walker0643 b9a59c014f don't build barrierd for non-windows platforms; removed some synergy-related legacy checks 2018-03-11 12:48:59 -04:00
walker0643 ed05dc2b2e set file extension in Save dialog for configuration files 2018-03-11 12:29:48 -04:00
walker0643 b4604b0921 fix QBarrier references 2018-03-04 16:58:17 -05:00
walker0643 3edbc00397 fix X11 crash if DISPLAY is not valid 2018-03-04 16:21:41 -05:00
walker0643 e396f8d55e sync mainwindow icon to current application status 2018-03-03 14:34:34 -05:00
walker0643 625253a7e8 fix FreeBSD build 2018-03-02 18:36:31 -05:00
walker0643 315f4c05ca re-add Hide to menu because not all WMs will add a minimize button to the title bar; add WM hint so that tiling WMs might float it instead 2018-02-25 21:19:04 -05:00
walker0643 c351d450ae move log output into its own window; add some keyboard shortcuts for menu items 2018-02-25 20:00:32 -05:00
walker0643 b55fe3237a clean up AppConfig; eliminate unnecessary UI changes to MainWindow; MainWindow starts at smaller size 2018-02-25 16:22:10 -05:00
walker0643 c1827bde51 redo GUI menu a bit; remove unused items 2018-02-25 13:37:29 -05:00
walker0643 6cf4f14dec fix some compiler warnings 2018-02-13 15:14:26 -05:00
walker0643 f07070f7f9 fix OSX build 2018-02-13 14:49:39 -05:00
walker0643 6cb65ebf05 fix PNG warning 2018-02-03 17:01:30 -05:00
walker0643 b64512d65f update artwork 2018-02-02 19:12:14 -05:00
walker0643 d9530bf7aa use a relatively small hack to keep barriers/barrierc from crashing on
unixes when they are killed from the GUI with QProcess's close(). the
stdin stream is going completely unused (though the stdout stream is
not) so use stdin to send a shutdown command. this solution avoids all
the nastiness and overhead of using shared memory, mutexes, condvars,
etc. just to communicate "stop" from one process to another
2018-01-31 20:20:06 -05:00
walker0643 d8237238b4 rearrange CMakeLists.txt in gui 2018-01-31 10:04:07 -05:00
walker0643 b77eec1f17 fix some compiler warnings 2018-01-31 10:03:34 -05:00
walker0643 9240cc12df implemented minize to tray 2018-01-30 17:32:00 -05:00
walker0643 ccb02372bf fix autohide on windows and correct a typo in settings ui 2018-01-30 16:55:34 -05:00
walker0643 cda6933f10 changed SettingsDialog layout to group options more reasonably
added checkbox for minimizing to tray
don't hide "hide on startup" on windows
2018-01-30 16:41:16 -05:00
walker0643 5af4b13611 double-clicking tray icon should work on windows as well. also labeled the tray icon with a tooltip. 2018-01-30 11:54:49 -05:00
walker0643 0f2063b67f fix organization fields in QCoreApplication 2018-01-29 22:52:15 -05:00
walker0643 ecf4ebf50e disable check for updated version since it was causing an access
violation on close and since there is nothing to check it against
anyway. will reimplement check for updated version in the future.
2018-01-29 22:49:50 -05:00
walker0643 31a64731c1 mute the IPC debug messages on stdout 2018-01-29 18:53:46 -05:00
walker0643 5a0465eb36 change openssl path relative to binary 2018-01-28 16:56:16 -05:00
walker0643 0929086428 fix SSL fingerprint text and about box copyright text 2018-01-27 20:50:30 -05:00