3046 Commits

Author SHA1 Message Date
SiboVG
1162aec1b0 Fix custom expressions layout 2022-02-11 15:32:16 +01:00
SiboVG
8c4437eca0 Small height improvement 2022-02-11 14:18:18 +01:00
Sibo Van Gool
364744dcf4 Set maximum height on Rocket Optimizer window 2022-01-31 12:55:25 +01:00
Sibo Van Gool
0ebaaabff4 Put Rocket Optimizer in scroll panel
Since it is a big window, and users may make it smaller, this is not unreasonable
2022-01-31 12:45:51 +01:00
Sibo Van Gool
143029f846 Set min height for description
This would otherwise become just a 2 pixel white bar...
2022-01-31 12:45:03 +01:00
Sibo Van Gool
2b936aa0ef Fix component analysis layout
Let the bottom window take up the rest of the vertical space, instead of growing gaps between that window and the bottom buttons
2022-01-31 01:03:22 +01:00
Sibo Van Gool
51a48931e1 Fix custom expression dialog layout
This makes the expression window take up all available space, and not have growing gaps between the buttons and expressions
2022-01-31 01:02:06 +01:00
Sibo Van Gool
528b93afff [fixes #1024] Fix bad height Rocket Optimizer 2022-01-30 22:58:39 +01:00
Joe Pfeiffer
4332732ade
Merge pull request #1019 from SiboVG/issue-136
[fixes #136] Use warning dialog upon decal source file error
2022-01-28 15:14:40 -07:00
Joe Pfeiffer
4c925a8ab1
Merge pull request #1082 from SiboVG/issue-825
[fixes #825] Rewrite Software Updater
2022-01-28 11:22:11 -07:00
Joe Pfeiffer
68032e88ff
Merge pull request #1083 from SiboVG/issue-926
[fixes #926] Fix motor selection window layout issues
2022-01-28 09:22:02 -07:00
Sibo Van Gool
ee78074f9e Add colon for compatible cases (motor selection) 2022-01-28 01:55:26 +01:00
Sibo Van Gool
6b6f0c8cb1 [fixes #926] Fix layout issues motor selection panel 2022-01-28 01:53:12 +01:00
Sibo Van Gool
ae1ccd8320 [fixes #825] Implement dummy unit test
Whoops, apparently you can't just comment out everything...
2022-01-28 01:22:16 +01:00
Sibo Van Gool
ca813caa45 [fixes #825] Comment out old update unit test
For now I'm just gonna comment this unit test out, I'm sorry. Implementing a unit test for the new system would cost me extra time and headaches...
2022-01-28 00:00:33 +01:00
Sibo Van Gool
daa309c27d [fixes #825] Add preference choice to UpdatePlatform
AssetHandler is also rewritten a bit to get this feature to work
2022-01-27 23:38:50 +01:00
Sibo Van Gool
5d5b0a13ce [fixes #825] Move AssetHandler to Swing module
This is needed because I need a Swing object later on to check a preference. Leaving it in the Core module would create a circular dependency...
2022-01-27 20:33:10 +01:00
Sibo Van Gool
59de3094b2 [fixes #825] Rename AssetHandler methods 2022-01-27 20:18:25 +01:00
Sibo Van Gool
a6285a64e2 [fixes #825] Enable default update checking
I feel like this is a better choice, because otherwise user's may never know about new updates
2022-01-27 18:00:36 +01:00
Sibo Van Gool
15664976dd [fixes #825] Add 'Install update' option to UpdateInfoDialog
This lets the user download an asset file, based on the option selected in the comboBox (e.g. 'Mac OS')
2022-01-27 16:38:41 +01:00
Sibo Van Gool
126a31c5b2 [fixes #825] Implement AssetHandler 2022-01-27 16:37:28 +01:00
Sibo Van Gool
2e665455ef [fixes #825] Change dependency ArrayList UpdateInfoRetriever
Dunno why it picked the OpenRocket ArrayList as a dependency, but we'll just use the default
2022-01-27 16:36:46 +01:00
Sibo Van Gool
88b14ff709 [fixes #825] Add commonmark to build file
Needed to fully include the library in OR (when you export it as a JAR file)
2022-01-27 15:26:30 +01:00
Sibo Van Gool
c594b777f7 [fixes #825] Change log type hyperlink exception 2022-01-26 22:46:48 +01:00
Sibo Van Gool
907a149266 [fixes #825] Refine UpdateInfoDialog MigLayout 2022-01-26 22:46:28 +01:00
Sibo Van Gool
ec3b253fb2 [fixes #825] Change UpdateInfo
Crap, forgot about this one, should've committed this earlier
2022-01-26 03:07:50 +01:00
Sibo Van Gool
ceb8f9482e [fixes #825] Remove unneeded vars in Communicator
These are remains from the previous update checker implementation
2022-01-26 03:05:08 +01:00
Sibo Van Gool
581f0c4e2c [fixes #825] Add translation keys for update checking 2022-01-26 03:04:37 +01:00
Sibo Van Gool
de646e80a9 [fixes #825] 100% useful commit
Yeah I know, totally unnecessary, this just changes the order of the two translation keys, but I won't sleep well tonight if I don't do it. Sue me.
2022-01-26 02:25:48 +01:00
Sibo Van Gool
12aa1a447c [fixes #825] Improve translation keys update error 2022-01-26 02:23:02 +01:00
Sibo Van Gool
3114a5027e [fixes #825] Remove unused 'LAST_UPDATE' tag
Don't really know the purpose of this, but wasn't matching with the new implementation, so I decided to remove it
2022-01-26 02:09:10 +01:00
Sibo Van Gool
f36ce5840b [fixes #825] Tie new update checker at startup
Check for updates at startup
2022-01-26 02:08:22 +01:00
Sibo Van Gool
448da9d0df [fixes #825] Tie new update checker in preferences
Ties the new update checker logic to the 'Check for updates' button in the preferences
2022-01-26 02:03:33 +01:00
Sibo Van Gool
6024f6e5f2 [fixes #825] Implement UpdateInfoDialog
This is the dialog that pops up when a new update is found
2022-01-26 01:58:41 +01:00
Sibo Van Gool
5bba74e560 [fixes #825] Implement UpdateInfoRetriever
This is basically all the code for actually fetching release info and comparing it to the current build
2022-01-26 01:53:41 +01:00
Sibo Van Gool
a76b7be93f [fixes #825] Rename ReleaseInfo method
This is to avoid ambiguity with other uses of the word 'tag' throughout the code
2022-01-26 01:52:24 +01:00
Sibo Van Gool
3285a3265b [fixes #825] Include commonmark library JAR-file
Sorry, forgot to do this 2 commits ago...
2022-01-25 15:26:38 +01:00
Sibo Van Gool
408c8847b3 [fixes #825] Add MarkdownUtil 2022-01-25 14:34:43 +01:00
Sibo Van Gool
b8a82f49bc [fixes #825] Include commonmark library
This is needed later to convert GitHub markdown (from extracted text from the GitHub API) to HTML
2022-01-25 14:32:36 +01:00
Sibo Van Gool
f13d0ddeb6 [fixes #825] Change variable name updateInfo to updateRetriever
As to avoid confusion with the UpdateInfo class
2022-01-24 12:24:13 +01:00
Sibo Van Gool
6ce418556d [fixes #825] Change update dialog checkbox action
This changes the action from 'remind me later' to 'don't update on startup'. Since the Cancel-button is already the same as 'remind me later' and it's handier/more logical to have the 'don't update on startup' checkbox in the update dialog
2022-01-24 00:28:58 +01:00
Sibo Van Gool
a1ba014f33 [fixes #825] Change update dialog checkbox text
This is in line with what is displayed in the preference window of OR
2022-01-24 00:16:58 +01:00
Sibo Van Gool
201ab91e47 [fixes #825] Clean up translations no updates available
Move them to a dedicated section for the software update checker + give them a logical name.
2022-01-23 00:24:52 +01:00
Sibo Van Gool
76407d0491 [fixes #825] Use Cancel button instead of Close button
Seems more appropriate for the function to me
2022-01-22 22:26:13 +01:00
Sibo Van Gool
3a706cfd49 [fixes #825] Add asset URL extraction for ReleaseInfo 2022-01-22 13:19:38 +01:00
Sibo Van Gool
fa5677727e [fixes #825] Change UpdateInfo with ReleaseInfo information 2022-01-21 23:26:28 +01:00
Sibo Van Gool
33e5e6ce61 [fixes #825] Make methods in ReleaseInfo public 2022-01-21 20:42:46 +01:00
Sibo Van Gool
ce9fbb914a [fixes #825] Add toString for ReleaseInfo 2022-01-21 20:10:22 +01:00
Sibo Van Gool
bc3ed5d80f [fixes #825] Change build version format
The release tags on GitHub are all in the format XX.YY..., so with '.' as delimiter. We should keep consistency with this.
2022-01-21 12:59:19 +01:00
Sibo Van Gool
6ad84e526a [fixes #825] Add ReleaseInfo model
This model contains all the information about a releases
2022-01-20 23:51:28 +01:00