Commit Graph

709 Commits

Author SHA1 Message Date
nathan 365645ecd3 Updated POM information to include "dependencies", since it is easy to
incorrectly add it as a dependency to ones own project.
2017-07-23 18:02:50 +02:00
nathan eb09c39ec4 Code polish 2017-07-23 15:35:45 +02:00
nathan 210e423b5f Added ChromeOS to detection. It does not work as there are no libraries
supporting it, and Swing cannot create a native peer via X11.
2017-07-23 15:31:09 +02:00
nathan ec0f4c911c Refactored checking for which GTK version is loaded. The logic has been
simplified.
2017-07-23 11:24:09 +02:00
nathan 4ceef63fc8 Added jna_platform 2017-07-23 01:48:37 +02:00
nathan 73512abcef Updated license info from QZTray 2017-07-22 13:52:08 +02:00
nathan ac9b52caea Removed Windows Native implementation. It cannot be themed by
Windows, so it looks like AWT.
2017-07-22 13:51:32 +02:00
nathan e97e8922a1 Updated SystemTray description and license info for QZTray. 2017-07-20 23:59:15 +02:00
nathan 8c15c25176 Now using "Version" class, which permits version betas/builds and
comparisons.
2017-07-19 01:08:39 +02:00
nathan 8a96bfb7fd Updated Readme 2017-07-19 00:57:46 +02:00
nathan f996d9e1c1 Cleaned up how GNOME tray extension is installed. Added support for
PREFER_GTK3. Various OS fixes.
2017-07-19 00:52:07 +02:00
nathan d8e9c32e8b Compatibility matrix is now Linux/Mac/Win, and in alphabetical
order. Added Kali linux (also works as root).
2017-07-18 17:19:05 +02:00
nathan 1bfdca63be Removed debug code 2017-07-18 17:17:26 +02:00
nathan 1e21d305be Commented out test code from the examples 2017-07-18 16:43:13 +02:00
nathan 03b7cdbcb7 Moved swing GTK detection into SwingUtil. Kali linux now supported. 2017-07-18 16:38:12 +02:00
nathan 66324bbf1a Code polish. Moved shell start logic outside class 2017-07-18 02:26:39 +02:00
nathan 2eea54bea3 Fixed for WindowXP bug: "text/icon/checkmark alignment schemes severely
broken". http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4199382
2017-07-16 14:29:00 +02:00
nathan a034321080 (revert) UI components are now cached 2017-07-16 12:32:19 +02:00
nathan e1a191e155 UI components are now cached 2017-07-16 12:22:23 +02:00
nathan 08b86cf16f Removed test code 2017-07-16 02:19:37 +02:00
nathan 086085a5ce Updated license 2017-07-16 02:17:57 +02:00
nathan e9d10b0bf9 Added 'about' -> https://github.com/dorkbox/SystemTray to the test
examples.
2017-07-16 02:07:07 +02:00
nathan 1c08c270e2 Fixed readme typos. Updated compatibility matrix. Of important note,
swing on linux now renders a background to fake transparency. There is a
 short visual glitch while the background is fetched.
2017-07-16 00:52:17 +02:00
nathan 39a3bd5b62 ShellProcessBuilder -> ShellExecutor. Static method to simplify shell
execution added. Added ability to pass in environment variables to new
process. Added better detection for current shell in linux/unix (could
be improved...). Added flag for executing process as a shell command.
Output now defaults to en-US.UTF_8
2017-07-15 23:55:36 +02:00
nathan 68c9795674 (reverted) Changed Util class names 2017-07-15 18:26:17 +02:00
nathan fa3afc7c74 Moved Classloader utility methods into their own class. 2017-07-15 18:25:10 +02:00
nathan f584ca4549 Polished JavaFX and SWT dispatch access to remove hard dependency on
JavaFX and SWT. Now uses JNA to create the classes for SWT access + a
mix of reflection. JavaFX uses reflection.
2017-07-15 18:15:19 +02:00
nathan 7ac866fac3 Moved JNA to Utility module for use by other applications 2017-07-14 18:36:59 +02:00
nathan 839d264d31 Changed Util class names 2017-07-14 18:36:22 +02:00
nathan 3d652e2d14 Changed Util class names 2017-07-14 18:34:55 +02:00
nathan 72b3f20d30 Null pointer fix when executing the javaFX application handler
directly.
2017-07-14 18:34:09 +02:00
nathan b42da88633 Code polish for accessing GTK and it's different versions 2017-07-14 01:31:04 +02:00
nathan 7b172f8ed8 Code polish for accessing User32 2017-07-14 01:29:03 +02:00
nathan 9fcbfd0e3c Code polish for tests 2017-07-14 00:46:12 +02:00
nathan c9f6b3f044 Added detection for Ubuntu 17.04. Of note, MIR/Wayland is not supported
by java (Java uses the XServer).
2017-07-14 00:45:15 +02:00
nathan 14f5db0b57 Comment polish 2017-07-14 00:19:18 +02:00
nathan 99ec7e73a5 Code polish 2017-07-14 00:17:34 +02:00
nathan 1e0531e740 Turned off debug 2017-07-14 00:14:35 +02:00
nathan 30832aef9e Code polish, removed CSS parser which is no longer needed. 2017-07-14 00:09:16 +02:00
nathan baaaa72079 Fixed color struct, so now color queries match what C returned 2017-07-14 00:08:40 +02:00
nathan 2ca5cdf622 Windows logic now uses native methods to get the size of the tray
image or system menu image heights.
2017-07-12 02:29:02 +02:00
nathan b49688aac7 Example code cleanup 2017-07-12 02:28:02 +02:00
nathan 7a4601c8dd Refactored UI class packages, now that there are no "native" vs "swing"
UI implementations anymore.
2017-07-12 02:25:32 +02:00
nathan 80597bd0aa Refactored UI class packages, now that there are no "native" vs "swing"
UI implementations anymore.
2017-07-12 01:59:06 +02:00
nathan 62d0457183 Added windows implementation as WIP/example with notes. 2017-07-12 01:47:36 +02:00
nathan fd5b8229cb Code polish, fix potential crash 2017-07-12 01:29:32 +02:00
nathan 2eb8fe7574 Merge branch 'master' into windows_native 2017-07-12 00:43:52 +02:00
nathan 8caf6d08f9 Added JNA platform 2017-07-12 00:32:31 +02:00
nathan 31fdffd16f moved windows specific code inside windows block. Cleaned up Linux swing
menus.
2017-07-12 00:32:16 +02:00
nathan 41e8a9fed6 Custom Swing UI now returns just the defaults, it's meant to be used as
an example.
2017-07-11 14:27:02 +02:00