Commit Graph

634 Commits

Author SHA1 Message Date
nathan
7818077686 SerializationManager register() methods now support chaining methods 2017-09-24 16:47:55 +02:00
nathan
8ca60fce73 Fix issue with isChromeOS initialization. 2017-09-22 09:02:55 +02:00
nathan
f303b6cca2 Fixed issue with "out of order" event dispatch execution for GTK.
Runnables are now added to a FIFO queue when executed during GTK
execution.
2017-09-17 21:05:14 +02:00
nathan
0d73eb6b1e Fixed image resizing with un-specified dimension 2017-09-17 17:41:15 +02:00
nathan
ebf5a7981f Added clampMaxImageSize so an image will be a max of that size, but
still maintain it's aspect ratio.
2017-09-17 16:28:38 +02:00
nathan
eec96cd5b4 cleanup whitespace 2017-09-17 14:55:10 +02:00
nathan
d6f5ef4e46 Added extra buffer==null checks to active render loop 2017-09-17 14:33:45 +02:00
nathan
9bf78f0f70 doc polish 2017-09-15 14:21:58 +02:00
nathan
514db82c46 Reverted change to use Version (now uses string again). 2017-09-15 00:44:24 +02:00
nathan
3bf8f7cd18 Fix issue where classloader is incorrectly determined in some
configurations.
2017-09-14 22:32:41 +02:00
nathan
475db5d902 Cleaned up image resizing. Added a "proper" image resize method 2017-09-03 15:15:49 +02:00
nathan
9c50514cc1 Added major,minor,micro version info to GtkCheck. Added extra methods.
Moved GTK3 version specific methods to method loader, so GTK will always
 load the gtk3 library, even if the version is not high enough
2017-09-03 14:49:28 +02:00
nathan
0abe6af966 added extra comments for gtk event dispatch 2017-09-03 14:48:07 +02:00
nathan
cdb248adbe Added simplified isUnity() check 2017-09-03 14:47:21 +02:00
nathan
bef027f9bf Added extra checks if running ubuntu + unity. there are problems when
launching nautilus/firefox/etc via GTK, so fallback to xdg-open
2017-09-03 14:47:02 +02:00
nathan
4b0b62dc6b Added simplified checks for ubuntu - isUnity(), checks for Unity and
Unity7. Added check to see if nautilus file manager is installed
2017-09-03 14:45:51 +02:00
nathan
b2e29e38cd Changed ActiveRenderer to only permit Canvas now (instead of JFrame) 2017-08-24 22:00:32 +02:00
nathan
a6300d8ba5 Changed method order to make logical sense 2017-08-20 22:54:47 +02:00
nathan
513169b872 Parallel processor will output a stack trace if there are errors processing (and not just the message) 2017-08-18 12:14:02 +02:00
nathan
c6ada706d6 Check for null message when getting the exception message 2017-08-17 15:25:21 +02:00
nathan
545fef3a7e Added KEY_TEXT_ANTIALIASING for rendering text 2017-08-17 11:17:54 +02:00
nathan
15cdc022b7 Refactored getExceptionMessage 2017-08-14 14:28:16 +02:00
nathan
36c53f2bc9 Added getExceptionMessage() utility method. 2017-08-14 14:27:34 +02:00
nathan
2f9a0da32f Added ability to set the total workload, then get the current progress -- without blocking 2017-08-14 12:19:25 +02:00
nathan
c927093388 Added back the ParallelProcessor, cleaned and simplified, and without any dependencies. 2017-08-13 23:30:05 +02:00
nathan
f0331e8cc8 Fix potential issues with reporting expections 2017-08-05 00:48:35 +02:00
nathan
305b76447c Moved TeeOutputStream from internal utils to public utils. 2017-08-04 23:32:08 +02:00
nathan
fe788c82c1 DiskStorage save delay is now part of the builder. 2017-08-04 17:45:17 +02:00
nathan
9d177a779b Renamed getMonitor methods (so the name makes more sense). Added
wrappers for getting monitor at mouse location.
2017-08-04 17:38:47 +02:00
nathan
99bd330730 Added File.touch 2017-08-04 17:38:07 +02:00
nathan
99b95074ab Converted storage to use the 'single writer principle' for read speed 2017-08-04 17:33:54 +02:00
nathan
85a745dc3a Simplified storage API. Throws RuntimeException if trying to write to a
read-only storage.
2017-08-04 16:26:32 +02:00
nathan
ec84231b1b Removed default storageKey get() methods (they were confusing) 2017-08-04 16:04:30 +02:00
nathan
973d6d99c2 Refactored Storage.make() -> Storage.build(). Removed IOExceptions when
data cannot be read (an error will be emitted via logger or StdErr, and
will return null). Storage now has a default (kryo based) serialization
manager if none is specified.
2017-08-02 21:55:32 +02:00
nathan
13697c3d61 Updated unit test to delete the DB before testing creating it. 2017-08-01 10:23:32 +02:00
nathan
a61f3522b0 Updated storage comments and methods. Added storage.close() as a convenience method. 2017-08-01 10:22:50 +02:00
nathan
7c2fc36d57 Added copyright 2017-08-01 00:55:13 +02:00
nathan
d3169e95bc Moved classes that should not have been in the Utilities project. 2017-08-01 00:54:57 +02:00
nathan
efe31d4818 added getSha256WithSalt(byte[], byte[]) 2017-08-01 00:54:17 +02:00
nathan
a615545adc Made it clear that charToBytes returns UTF16. 2017-08-01 00:53:36 +02:00
nathan
6decb2b234 Storage now depends on StorageKey (instead of ByteArrayWrapper), in order
to make it clear that it must be a SHA256 hash, and not just bytes of arbitrary length.
2017-08-01 00:52:53 +02:00
nathan
2a7d8397e7 Removed ability to wrap a String 2017-08-01 00:51:17 +02:00
nathan
5f6ab6ae88 Comment polish 2017-08-01 00:15:41 +02:00
nathan
e7a8fefd60 Reverted change 2017-08-01 00:15:31 +02:00
nathan
0c5d5e2ef8 Fixed storage initialization record count offset 2017-07-31 23:51:10 +02:00
nathan
c3f8ad3a6e Fixed comment typos 2017-07-31 21:58:17 +02:00
nathan
94eadc2add Added showMessageDialog, which will show in the center of the screen where the mouse currently is. 2017-07-31 17:51:46 +02:00
nathan
147c82fc93 java6 language level 2017-07-31 17:51:12 +02:00
nathan
271ea9eefa Added clamp. 2017-07-30 22:21:11 +02:00
nathan
87b747e0fa set utilities src level to java6 2017-07-30 20:18:01 +02:00