1822 Commits

Author SHA1 Message Date
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
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
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
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
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
Sibo Van Gool
23af62d8d0 [fixes #825] Change update URLs 2022-01-20 23:08:48 +01:00
Joe Pfeiffer
affcc8b51f
Merge pull request #869 from teyrana/fix/868/fin-tab-offset
[fixes #868] Fin tabs correctly adjust their location when the fin tab _length_ is changed.
2022-01-11 11:24:15 -07:00
JoePfeiffer
2e01115932 Create unit test for ellipsoidal nose cone pressure drag interpolation 2022-01-10 08:43:15 -07:00
JoePfeiffer
a2341f4c18 Add logging for easier debugging later
Dump interpolation parameters so I can create a good unittest
2022-01-09 14:02:03 -07:00
JoePfeiffer
5412f89419 Typo in for-loop had interpolation only through very botton of subsonic range 2022-01-09 13:57:07 -07:00
JoePfeiffer
8f58da4516 correct calculation of subsonic interpolation for nose cone pressure drag 2021-12-27 12:44:16 -07:00
Billy Olsen
f78b6326ee
Merge pull request #1049 from SiboVG/fix-typos
Fix typos in OR codebase
2021-12-27 11:54:55 -07:00
JoePfeiffer
6c3bf5ef06 There were several extra copies of the rocket made in the course of undo() -- they looked like debug code that had been left in. Removed now. 2021-12-09 09:32:53 -07:00
JoePfeiffer
ae5ecb5f1d Copy stageMap when loading from a rocket 2021-12-09 09:31:21 -07:00
Joe Pfeiffer
459d4ab4ae
Merge pull request #1059 from SiboVG/issue-1058
[fixes #1058] Launch info dialog for no simulations GeneralOptimizer
2021-11-21 15:07:00 -07:00
Sibo Van Gool
103283c898 [fixes #1058] Launch info dialog for no simulations GeneralOptimizer
When the OR document does not have simulations present, it is unable to run the optimizer. This commit shows an info dialog for that and stops the creation of the GeneralOptimizationDialog
2021-11-11 01:08:30 +01:00
Joe Pfeiffer
e2035bc918
Merge pull request #1016 from SiboVG/issue-1003
[fixes #1003] Fix FinSet point clipping when further than parent body
2021-11-08 12:02:50 -07:00
Joe Pfeiffer
b4916bc274
Merge pull request #1057 from SiboVG/issue-1044
[fixes #1044] Correct cdMach1 for ogive nose interpolator
2021-11-04 13:59:12 -06:00
Neil Weinstock
83908a9f20
Merge pull request #1035 from rsammelson/fix-cg-positioning
Use correct zero point for center of gravity calculation
2021-11-04 15:57:30 -04:00
Sibo Van Gool
6fb2881889 [fixes #1044] Correct cdMach1 for ogive nose interpolator
The previous cdMach1-value was actually the cd at Mach = 1.3.
2021-11-04 20:24:16 +01:00
Robert Sammelson
3a28f3b585
Adjust unit tests
Fixes unit test errors by changing hardcoded values to the values the
new code outputs. The new code is believed to be correct so this should
be alright.
2021-11-04 14:13:25 -04:00
Joe Pfeiffer
be257ecd99
Merge pull request #1043 from SiboVG/issue-1026
[fixes #1026] Add number of motors indication in motor selection panel
2021-11-04 12:02:28 -06:00
Robert Sammelson
e914b78052
Use correct zero point for CoG calculation
When center of gravity position is overrided, the zero point is the
front of component, not the old center of gravity or the front of the
parent.
2021-11-03 19:52:17 -04:00
Neil Weinstock
17ba70987a
Merge pull request #1047 from JoePfeiffer/fix-1004
Keep correct motor mass when switching to tumble stepper, landing stepper, and ground stepper
2021-10-29 08:01:38 -04:00
Neil Weinstock
7555c18603
Merge pull request #1040 from SiboVG/issue-1038
[fixes #1038] Change title plot/export simulation window
2021-10-28 21:46:26 -04:00
Joe Pfeiffer
f67ea41c32
Merge pull request #1052 from JoePfeiffer/fix-1051
rebuild thrustcurves.ser to get rid of null pointer exception (issue 1051)
2021-10-27 10:45:32 -06:00
JoePfeiffer
daf96d9a04 rebuild thrustcurves.ser to get rid of null pointer exception (issue 1051) 2021-10-27 10:00:54 -06:00
Joe Pfeiffer
a194fa033f
Merge pull request #1013 from SiboVG/issue-899
[fixes #899] Use only filename in save/export filename input
2021-10-26 16:18:36 -06:00
JoePfeiffer
734a0ffc1f Merge branch 'issue-887' into unstable
Select thrustcurves from issue-887 branch
2021-10-26 16:05:02 -06:00
Joe Pfeiffer
ff523003c0
Merge pull request #1017 from SiboVG/issue-987
[fixes #987] Use warning dialog for thrust curve import issues
2021-10-21 15:33:55 -06:00
Sibo Van Gool
e3af87eee5 Fix typos in OR codebase 2021-10-17 18:03:18 +02:00
Joe Pfeiffer
185ce54ed0
Merge pull request #1015 from SiboVG/code_cleanup-1
[code_cleanup-1] Clean up using IntelliJ's 'Silent Code Cleanup'
2021-10-16 15:30:07 -06:00
Joe Pfeiffer
8a305b4778
Merge pull request #1011 from SiboVG/issue-877
[fixes #877] Fix deprecated 'position upwind' FlightDataEvent
2021-10-15 11:16:06 -06:00