Commit Graph

280 Commits

Author SHA1 Message Date
nathan
60d6f6330f Changed fromStream method name to from to be consistent. Fixed falldown case error when converting from bytes longer than the expected length 2016-02-29 02:06:50 +01:00
nathan
55ee9d973f Updated DNS client for new version of netty 2016-02-28 22:24:53 +01:00
nathan
151ba701fc Cleancode polish + LOW/HIGH WATERMARK to client/server 2016-02-28 03:11:17 +01:00
nathan
f00a54f014 Added backpressure when writing to the channel, if it's not writable 2016-02-28 03:10:10 +01:00
nathan
5d71b51983 Added comments 2016-02-28 03:08:57 +01:00
nathan
a73861d8ff Converted ParallelProcessor to use ArrayBlockingQueue. It's not the fastest (doesn't need to be), but it get's the job done, and it's simple 2016-02-26 01:50:20 +01:00
nathan
b8a251d056 Cleaned up unnecessary NamedThreadFactory id's. Added @Property annotation 2016-02-26 01:46:09 +01:00
nathan
237cd1ae23 Code cleanup 2016-02-21 02:15:28 +01:00
nathan
0b104291cb Fixed issue for DelayTimer, when changing the timer during the callback 2016-02-21 00:49:40 +01:00
nathan
357895cc79 ShellProcessBuilder now returns exit value of process 2016-02-20 18:08:23 +01:00
nathan
60b12d4036 Moved JNA libraries into SystemTray project (it made no sense to have them inside the utils project) 2016-02-14 20:23:46 +01:00
nathan
e38071475a Removed checked expections (now they are unchecked). Added better detection of JavaFX. 2016-02-14 17:49:02 +01:00
nathan
c8517f65e7 Added HIGH and LOW watermark 2016-02-14 15:19:30 +01:00
nathan
4bf18941b5 Fixed checkAccess (did this change somehow? It used to work...) 2016-02-14 15:18:30 +01:00
nathan
8a743e8249 Added back messagebus 2016-02-14 14:52:55 +01:00
nathan
3370953b22 Removed g-thread, it's no longer necessary 2016-02-14 14:51:52 +01:00
nathan
6ee6a523b7 Added JAVAFX_COMPATIBILITY_MODE 2016-02-14 14:51:15 +01:00
nathan
c8e8a9d1f8 doc cleanup 2016-02-14 14:36:10 +01:00
nathan
75d596a390 Fixed DNS system to use latest netty 2016-02-14 14:35:34 +01:00
nathan
56f4bac16a 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
2e692733b3 Shutdown is delayed further now 2016-02-13 19:04:15 +01:00
nathan
639ae30f45 GTK dispatch thread interrupt now called in new thread 2016-02-13 19:01:56 +01:00
nathan
722db8d077 Updated documentation 2016-02-13 17:48:52 +01:00
nathan
f888de6482 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
176f64fd6e Added GTK3 support (now libappindicator3 works correctly with regards to showing menu icons).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). 2016-02-13 15:07:21 +01:00
nathan
9081643963 Added AppIndicator.IS_VERSION_3, so we can tell if version 3 is loaded or not (it's a piece of shit, so we want to show an warning about this to the user) 2016-02-12 14:25:06 +01:00
nathan
ebc849f9d0 Added back threads. They now happen ONLY in GtkSupport 2016-02-12 14:24:19 +01:00
nathan
b81995ab2b Changed support for SWT, added GtkSupport.DISABLE_EVENT_LOOP to disable the creation of the native event loop (ie: if using SWT, which already does this) 2016-02-12 11:55:07 +01:00
nathan
5b8cbadb84 code polish/cleanup 2016-02-11 03:03:36 +01:00
nathan
5aad770f0d code polish 2016-02-11 03:02:35 +01:00
nathan
7a451e944d added final modifiers to parameters, and added more 'from' conversion methods 2016-02-11 03:00:55 +01:00
nathan
7184b5d616 removed dependency on netty 2016-02-10 19:18:03 +01:00
nathan
b870caff81 Added fastMD5 and lz4 to util to project. Added logging to unit tests 2015-12-19 13:03:59 +01:00
nathan
c8da9ebf41 Fixed RMI bug with overriding methods w/ connection as first parameter 2015-12-18 03:38:12 +01:00
nathan
91f5816b99 Added another test for RMI overriding methods w/ connection as the first parameter 2015-12-18 03:37:39 +01:00
nathan
7b1e009a5d Added duplicates warning supression 2015-12-18 03:37:12 +01:00
nathan
d3759ef551 Added retry for reconnect test 2015-12-18 03:36:46 +01:00
nathan
660df53f23 Updated delete to correctly do name + full path matching, also to normalize the file names 2015-12-17 02:06:46 +01:00
nathan
bffa46cd27 Changed the DelayTimer to use Runnable instead of it's own 2015-12-17 02:05:23 +01:00
nathan
72a4380383 Updated storage to no longer try to compress the data, and to correctly use input/output streams from the RandomAccessFile. Also updated the tests for storage 2015-12-17 02:04:41 +01:00
nathan
545c975d61 Added utility methods for casting System.getProperty() environment variables to different types 2015-11-23 01:52:30 +01:00
nathan
6430266b5d Added copyFileToDir, added comments 2015-11-23 01:51:35 +01:00
nathan
88ccf24895 Extracted out crypto classes. Added PGP handling 2015-11-22 21:37:55 +01:00
nathan
7388a8efb7 Updated properties (added property annontation) 2015-11-20 12:25:58 +01:00
nathan
766134b209 Renamed active target FPS constant 2015-11-20 11:16:09 +01:00
nathan
1a9da06ba0 code polish 2015-11-20 02:19:51 +01:00
nathan
5bc9d2e17b Added Swing EDT replacement thread (via active rendering + some tricks) for smooth 30fps animations in swing 2015-11-20 02:19:07 +01:00
nathan
d860da2c91 Added long primitave, for action handler types 2015-11-20 02:18:24 +01:00
nathan
8eab3332c4 Cleaned up font loading. Added toolkit thread generation fix 2015-11-20 02:17:48 +01:00
nathan
f5a2bdc7d8 code cleanup 2015-11-16 22:27:25 +01:00