Commit Graph

201 Commits

Author SHA1 Message Date
nathan
dc41acbbed Added Headless Exception if we are running in headless mode 2016-02-21 00:58:03 +01:00
nathan
f23c8b1554 Added extra properties 2016-02-21 00:56:56 +01:00
nathan
a2a1c092cb Fixed issue with icon scaling in popup menu 2016-02-21 00:56:30 +01:00
nathan
3d22f97026 Added movement delta for hiding popup 2016-02-21 00:56:14 +01:00
nathan
5c2dc1fdc6 code polish 2016-02-21 00:55:54 +01:00
nathan
3916f2cd1d Moved getExtension back to FileUtil 2016-02-21 00:54:51 +01:00
nathan
a68c79182d Cleaned up memory leaks. Added SystemTray.getStatus(). Cleaned up support for SWT. 2016-02-15 13:27:33 +01:00
nathan
e129fd4e75 Updated documentation 2016-02-15 01:04:52 +01:00
nathan
85ba4c9380 Added support (and configuration info) for using the SystemTray with SWT 2016-02-15 00:55:03 +01:00
nathan
6fac9be88e Copied over SWT accessor bytecode for adding a shutdown hook 2016-02-15 00:17:38 +01:00
nathan
05b9a6a715 Removed SWT based system tray (SWT doesn't support appindicators, so it DOES NOT work on systems that only accept appindicators) 2016-02-15 00:13:21 +01:00
nathan
444562f3c6 Added SWT compatible tray type (it is just a wrapper for SWT SystemTray) 2016-02-14 21:54:21 +01:00
nathan
bb0eb87e90 Added objdump info 2016-02-14 20:41:39 +01:00
nathan
eb8092677d Moved JNA libraries into SystemTray project (it made no sense to have them inside the utils project) 2016-02-14 20:22:55 +01:00
nathan
db19374bfc Fixed initialization order 2016-02-14 18:42:42 +01:00
nathan
c992049280 updated released version 2016-02-14 18:02:22 +01:00
nathan
3507869c35 Removed checked expections (now they are unchecked). Added better detection of JavaFX. 2016-02-14 17:51:35 +01:00
nathan
5db79ed563 updated build 2016-02-14 14:53:44 +01:00
nathan
010a91ca68 Added support for detecting if javaFX already started the GTK event loop (and hooking into the right places for shutdown if it does). 2016-02-14 12:58:45 +01:00
nathan
2aaf41204e Updated test app. No longer have System.exit(0), with coments 2016-02-13 19:11:58 +01:00
nathan
42f2c8ea71 test application now calls shutdown() 2016-02-13 19:01:31 +01:00
nathan
923da17502 Updated builds + build system 2016-02-13 18:51:13 +01:00
nathan
8c3a2a2c0c Updated documentation 2016-02-13 17:47:18 +01:00
nathan
dea2536b05 Added GtkSupport.FORCE_GTK2, in case the developer needs to force it to use GTK2 (in which case, appindicator1 is tried first). Removed optional dispatch event loop. 2016-02-13 17:39:10 +01:00
nathan
c1b6c1a723 Added GTK3 support (now libappindicator3 works correctly with regards to showing menu icons). Added support for setting icons via URL and InputStream. Moved all GTK operations to a single thread. Moved error logs from System.err -> logger. Made SystemTray a singleton (it will no longer have the java-side get accidentally garbage collected). Update documentation 2016-02-13 15:06:19 +01:00
nathan
8b109f6d1c Converted SystemTray to use a singleton pattern for ease of use. Icon *must* be set to see it (obviously). Updated Readme.md example. 2016-02-12 02:30:33 +01:00
nathan
801baad635 Added SystemTray.getVersion(), added URL and InputStream (to all methods that previous accepted String) for setting images in the menu/tray. Moved package out of util. 2016-02-12 01:51:15 +01:00
nathan
dfeb377ab1 updated comments 2016-02-11 15:32:00 +01:00
nathan
5ebaaa05b8 Updated readme 2016-02-10 00:40:38 +01:00
nathan
f51e8fbfea Updated build version 2016-02-09 23:35:49 +01:00
nathan
30d4c57aed Fixed spacing in readme file 2015-12-22 10:17:05 +01:00
nathan
a9c54e9fb9 Updated readmes 2015-12-15 01:31:30 +01:00
nathan
5d2336ca3e removed lib/dist 2015-12-15 01:22:40 +01:00
nathan
be1358a53d Added slf4j and JNA to the readme downloads 2015-12-15 01:22:30 +01:00
nathan
97ece8af31 Cleaned up readmes
Updated readme

Changed DelayTimer to use Runnable
2015-12-15 01:13:02 +01:00
nathan
6844fd0a44 Updated properties (added annotation), updated readme 2015-11-20 12:25:30 +01:00
nathan
1a28dcb406 Fixed issue #5, fix involves issues surrounding Arch distro's using an old version of libappindicator (which is buggy), and various workarounds necessary to show/edit the system tray 2015-11-15 17:43:55 +01:00
nathan
3092e6ad11 Added C based example, for quickly testing various ideas natively 2015-11-15 14:55:30 +01:00
nathan
3c82945771 updated example 2015-11-15 14:53:54 +01:00
nathan
c1933e6763 Fixed issues with menu's not showing up with certain versions of libappindicator. (Any time the menu is edited, it is recreated). 2015-11-15 14:51:47 +01:00
nathan
60fbd6306d Update dist + libs 2015-11-09 22:22:21 +01:00
nathan
6ae7061f2f Changed unref -> ref_sink for GTK menus 2015-11-09 22:17:18 +01:00
nathan
4417b2e536 Updated readme 2015-11-09 20:06:06 +01:00
nathan
2b6421a45b Updated documentation, uncommented code form debugging 2015-11-09 19:55:46 +01:00
nathan
8713f77c46 Added comments 2015-11-09 19:45:11 +01:00
nathan
73de2c1775 Updated readme 2015-11-09 18:30:44 +01:00
nathan
f2678826f6 Updated dist + libs 2015-11-09 16:22:19 +01:00
nathan
a2e1549ed6 Added test source 2015-11-09 16:21:15 +01:00
nathan
3ccad25dfe Updated readme 2015-11-09 16:20:59 +01:00
nathan
e6066371d7 Restructured gtk/swing tray icons. Now support the lowest common denominator. Error output with old/bad versions of appIndicator. Better checking for appindicator libraries. Menus now support icons. Streamlined callbacks 2015-11-09 16:13:57 +01:00