Commit Graph

1442 Commits

Author SHA1 Message Date
Anton Keks
9bc8052bee update mac vendors 2020-06-03 00:18:34 +03:00
Anton Keks
4cca8d06f3 use sourceforge.net official command-line download url for nsis 2020-06-03 00:10:48 +03:00
Anton Keks
cdaf5f5069 specify nsis version separately 2020-06-02 23:46:29 +03:00
Anton Keks
f0439ebe71 add release notes for 3.7.2 2020-06-02 23:42:50 +03:00
Anton Keks
273e6e1e28 #245 if detectjvm.cmd fails, then show a more descriptive error message and install 64-bit binary 2020-06-02 23:35:47 +03:00
Anton Keks
bff6834d88 #243 add subclass for OpenersMenu to create a separate instance of it for main menu and context menu 2020-06-02 22:32:17 +03:00
Anton Keks
a9cac867ae ignore src zips 2020-05-18 00:16:58 +03:00
Anton Keks
0d62520637 add note about plugins 2020-05-18 00:03:36 +03:00
Anton Keks
e861214152 mention getting rid of dagger in release notes 2020-05-18 00:02:40 +03:00
Anton Keks
7f5ff224ca update release notes 2020-05-17 23:35:04 +03:00
Anton Keks
1300d0d49e #231 do not change to dark mode programmatically, which may result in distorted colors due to SWT not being able to update the colors correctly. Tell macOS to start the app in dark more automatically using Info.plist - this now works with updated SWT 2020-05-17 13:31:26 -07:00
Anton Keks
0f04db0658 #231 try resetting back to light appearance if switching cannot be confirmed 2020-05-17 22:57:48 +03:00
Anton Keks
5b47e7a42d update mac vendors and release notes 2020-05-17 22:52:15 +03:00
Anton Keks
52219eddae Merge branch 'custom-di' 2020-05-17 22:46:46 +03:00
Anton Keks
3f623d900e drop @Named support from Injector itself for simplicity 2020-05-17 22:32:04 +03:00
Anton Keks
e46df6e1e1 get rid of @Named annotation - use a couple of subclasses for more concrete injection 2020-05-17 22:20:20 +03:00
Anton Keks
1665513511 drop @Inject annotation for simplicity - just choose the constructor with max parameters 2020-05-17 22:03:00 +03:00
Anton Keks
4ef46ca398 remove property so we don't interfere with other tests 2020-05-17 20:42:43 +03:00
Anton Keks
5d8db9c687 support creating of types with default constructors (for plugins) 2020-05-17 20:40:33 +03:00
Anton Keks
e3db855b50 no need for wildcard generics injection 2020-05-17 20:17:34 +03:00
Anton Keks
8051c76540 show more info on failing tests 2020-05-17 20:13:39 +03:00
Anton Keks
ae52d74dc7 remove need/support for wilcard type injection 2020-05-17 20:08:23 +03:00
Anton Keks
153f392bcc shorten require() a bit - actually in Java 11, computeIfAbsent() would throw ConcurrentModificationException instead of failing silently 2020-05-17 19:28:34 +03:00
Anton Keks
11a54065de show error even if mainWindow is not created yet 2020-05-17 19:22:29 +03:00
Anton Keks
ad71723902 unfortunately, HashMap.computeIfAbsent() doesn't store values properly in a recursive scenario 2020-05-17 16:52:21 +03:00
Anton Keks
211803739e create combo before the button, because this is how they are in the GUI 2020-05-17 16:37:23 +03:00
Anton Keks
30274c05b6 extract DI inner classes to upper level 2020-05-17 15:11:26 +03:00
Anton Keks
42537739bf add test that the main entry points can be created using ComponentRegistry 2020-05-17 15:02:01 +03:00
Anton Keks
10f509644f get rid of dagger; use custom @Inject annotation that can only be applied to constructors 2020-05-17 14:57:55 +03:00
Anton Keks
fce08dd006 rename method 2020-05-16 13:37:00 +03:00
Anton Keks
44eab3d1ab move Injector to it's own package 2020-05-16 13:35:35 +03:00
Anton Keks
a8d45d1647 use custom Injector instead of Dagger that generates a bunch of code 2020-05-16 13:33:26 +03:00
Anton Keks
f4ed27b71c use constructor injection 2020-05-16 13:30:04 +03:00
Anton Keks
35d3710d2c MainWindow can now be created by Injector 2020-05-16 13:19:28 +03:00
Anton Keks
c591c61891 use constructor injection 2020-05-16 13:17:59 +03:00
Anton Keks
44e683ae61 #231 call init colors only if setTheme() call was successful - this will change app to dark on machines where setTheme() works, but hopefully will not mess up colors on machines where setTheme() has no effect for some reason 2020-05-16 01:26:32 -07:00
Anton Keks
92106b1051 another test build: do not call setTheme() 2020-05-16 11:12:37 +03:00
Anton Keks
ec822147cd test build: do not call initColors() 2020-05-16 11:09:34 +03:00
Anton Keks
12efb95432 trying to aut-create all required classes 2020-05-16 11:06:59 +03:00
Anton Keks
19acce525b add support for WildcardType 2020-05-14 00:37:50 +03:00
Anton Keks
1f549e772b support for subclasses 2020-05-14 00:04:19 +03:00
Anton Keks
055135407f add support for List<?> deps 2020-05-13 23:35:34 +03:00
Anton Keks
37518ec370 add requireAll() 2020-05-13 23:20:12 +03:00
Anton Keks
40a807e476 add support for @Named dependencies 2020-05-13 22:45:44 +03:00
Anton Keks
8c3760065f introducing a very simple DI framework 2020-05-13 21:51:47 +03:00
Anton Keks
28658e845d simplify regexp 2020-05-13 00:16:52 +03:00
Anton Keks
e6fa4dabbf change println() to LOG calls 2020-05-13 00:12:28 +03:00
Anton Keks
5b009b2a60 on Mac, JavaPinger produces many ConnectionExceptions, let's ignore them 2020-05-12 13:57:12 -07:00
Anton Keks
cbcaaa1d10 #231 update SWT to the latest version (4.16M1), hoping that it may have fixed some Mac dark mode issues. Will not update Linux, as this version has issues with button sizes not matching other controls 2020-05-12 23:47:40 +03:00
Anton Keks
3fd4e2a8b6 #231 call setTheme() and initColors() only if system has dark mode, but APP doesn't 2020-05-12 23:42:37 +03:00