Commit Graph

58 Commits

Author SHA1 Message Date
nathan
3919e1ce9e Fixed issues with isGnome() detection on Unix (FreeBSD) 2016-12-29 13:05:32 +01:00
nathan
e57724229e change package name to lowercase 2016-12-28 23:54:23 +01:00
nathan
88707b5786 Renamed OsUtil -> OSUtil 2016-12-28 21:43:36 +01:00
nathan
e3fbec2c55 Changed exception catching in ImageUtils to a larger scope
(IOException -> Exception). Fixed issue with converting a Image to
InputStream for size check operation.
2016-12-28 00:59:46 +01:00
nathan
e17ff9082e code polish 2016-12-26 23:32:11 +01:00
nathan
4e009340fa Refactored OS utils into their own class (b/c of dependency issues) 2016-12-26 23:18:39 +01:00
nathan
48cde07ff5 Code polish, added scaling factor for menus icons 2016-12-26 00:45:59 +01:00
nathan
fdabacdf4b Moved windows version info check to OS.java 2016-12-25 21:41:23 +01:00
nathan
ec124384e7 Move other OS info detection methods to OS.java. Fixed Fedora 25 KDE 2016-12-25 00:45:00 +01:00
nathan
c48759725e Fixed system tray for fedora 24 2016-12-24 01:03:06 +01:00
nathan
10ba55b9e7 Code cleanup 2016-12-23 22:32:31 +01:00
nathan
773b83eb8c Fixed issues on MacOSX for right-click tray icon event 2016-12-23 16:51:51 +01:00
nathan
623906b154 Adjusted to use the new utils ShellProcess (no longer ends with newline) 2016-12-12 01:09:12 +01:00
nathan
c57533dde8 Added extra checks in case XDG_CURRENT_DESKTOP is not available as a
system environment
2016-12-11 23:37:45 +01:00
nathan
80c451b807 Tweaked var name 2016-12-11 00:46:24 +01:00
nathan
9c2e9229ab Fixed issue with SWT onShutdown hook 2016-12-11 00:04:01 +01:00
nathan
9591362580 SWT behaves better on linux now. Added Swt.isEventThread method 2016-12-10 23:38:45 +01:00
nathan
39ddd235f6 Fixed logging if we cannot init javaFX 2016-12-10 23:38:08 +01:00
nathan
54fb3a0d1d Fixed issues around java7/8 with macOSX and JavaFX 2016-12-10 22:14:15 +01:00
nathan
760913491f Fixed issue with macOSX right click bug 2016-12-10 21:55:18 +01:00
nathan
d9c54ccd86 Removed extra ; 2016-12-10 19:56:59 +01:00
nathan
9c52309c06 Fixed typo in mac class 2016-12-10 01:33:16 +01:00
nathan
06b3da9831 Fixed issues with EDT & mac with image utils 2016-12-10 00:56:53 +01:00
nathan
fef02fba79 Code cleanup/polish. Can now add JMenu, JCheckboxMenuItem,
JSeparator, and JMenuItem as components that will get converted and
added to our menu.
2016-10-31 11:32:49 +01:00
nathan
568fb95ee6 Cleaned up caching - now is based on file hash, instead of cache
names, which could lead to heisenbugs. Everything always caches now
based on hash of input
2016-10-24 02:39:40 +02:00
nathan
599dabf4ef Code polish, documentation, cleanup for API changes 2016-10-24 01:43:32 +02:00
nathan
daff5a8e48 Fininshed round 2 of API changes (native/swing UI finished) 2016-10-23 23:27:13 +02:00
nathan
d665f29f28 new API front-end + bound backend for SwingUI 2016-10-21 12:36:55 +02:00
nathan
86d031ed7c Added better detection for click-jack detection on MacOS. 2016-10-17 12:07:56 +02:00
nathan
a07c5e8ab8 Changed action callback to ActionListener. Added checkbox. 2016-10-17 11:47:25 +02:00
nathan
4e47c5d263 Cleaned up comments 2016-10-16 21:26:39 +02:00
nathan
5bed7ea659 Cleaned up comments 2016-10-16 21:22:56 +02:00
nathan
6d256c8346 Mac SystemTray now correctly overwrites the button click when it was
a re-dispatched click (to support using both left+right mouse clicks)
2016-10-16 21:19:17 +02:00
nathan
c01b560c06 code cleanup, Fixed MacOS SystemTray popup trigger (it now will show
on left and right click, but THERE IS NO DISTINCTION between which
button caused it to show, it will always say it was left mouse)
2016-10-16 21:07:30 +02:00
nathan
0f7ffe1866 Removed no-longer needed debug 2016-10-15 14:13:21 +02:00
nathan
109def7db2 WIP: Getting windows DPI checks in order. 2016-10-12 19:14:44 +02:00
nathan
59669bc867 Fixed issues when running JavaFX or SWT on the swing EDT. 2016-10-12 18:09:17 +02:00
nathan
7a2909abca WIP: native + swing menus 2016-10-11 15:23:58 +02:00
nathan
7e3fba9157 Removed dead code 2016-10-10 23:48:13 +02:00
nathan
84a7fb77af Added more comments 2016-10-10 22:08:54 +02:00
nathan
68a9e4edd7 Comments 2016-10-09 23:11:55 +02:00
nathan
2e9201f692 Code polish/refactor. Removed GTK menu stuff 2016-10-09 22:42:44 +02:00
nathan
000d069bfc windows/mac swing menus working with keyboard navigation/mnemonics 2016-10-08 21:47:53 +02:00
nathan
53ece33ac5 Adjusted scaling factor for mac 2016-10-05 11:54:28 +02:00
nathan
42d053398f Fixed issues with windows/mac 2016-10-04 16:59:22 +02:00
nathan
049d5b2109 Fixed issue with new dispatch methods + SWT 2016-10-04 00:21:29 +02:00
nathan
6f11bb9e9a Fixed typo in instructions 2016-10-04 00:18:23 +02:00
nathan
bf3cb8de11 Refactored out Menu object (from the SystemTray object). Converted
SystemTray into a crossPlatform proxy. WIP submenus
2016-09-29 01:44:11 +02:00
nathan
83c865a51c Added setImage from a file 2016-09-28 17:01:11 +02:00
nathan
9fdee240f8 Code polish 2016-09-27 13:55:49 +02:00