2031 Commits

Author SHA1 Message Date
thzero
78df43569a refactor to remove deprecation warning for newInstance 2022-07-04 17:23:03 -05:00
thzero
08b76e0b7e
XMLReaderFactory.createXMLReader Deprecation (#1493)
* remove the resources\datafiles\presets folder as its is being built by the copy-orc-files build script

* Refactored from new Boolean and new Integer to Boolean.valueOf and Integer.valueOf due to deprecation warnings.   Value of is supported in Java 8 (https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)

* Removed non-atomic updates around deprecation

* updates

* sync

* resolved deprecated xmlreader
2022-07-04 23:36:57 +02:00
SiboVG
2814827bcc [#1509] Make InnerTube InsideColorComponent 2022-07-04 12:10:29 +02:00
thzero
26019d48d3 refactor to use non-deprecated component iterator 2022-07-03 08:30:51 -05:00
thzero
a49117f909 added links to documentation 2022-07-02 14:18:26 -05:00
thzero
1b1eecaa4b refactor the graaljs integration to allow Java code to be called; updated the simulation extension and scripting to due to a change in the FlightConfiguration 2022-07-02 13:55:09 -05:00
thzero
aceaa328fc Resolving issue #1270, unexpected exception with simulation scripting 2022-07-01 15:36:52 -05:00
SiboVG
5dee382961 [#1440] Add all context drags to component drag 2022-06-30 14:45:53 +02:00
SiboVG
00e77dd37b Update selectedConfiguration of Rocket after loadFromRocket 2022-06-28 00:46:43 +02:00
SiboVG
33b0f77c80 Fix minor issue 2022-06-26 01:13:51 +02:00
SiboVG
6b23576c34 Fix unit tests
Because of the new behavior 'disable sub-stages when parent stage is disabled', some unit tests needed to be rewritten
2022-06-26 00:00:44 +02:00
SiboVG
9191d9df51 Remove sub-stage from removed component
Fixes a bug where if you delete the parent component of a booster set, it would throw a NullPointerException in BarrowmanCalculator.java:861
2022-06-25 16:36:29 +02:00
SiboVG
4d1e6165a8 Disable stage when parent stage is inactive 2022-06-25 15:58:41 +02:00
SiboVG
d8a1de2652 Include non-active booster condition 2022-06-25 01:03:09 +02:00
SiboVG
027ed2eaa6 [#1460] Exclude inactive stages in tbe simulation calculations 2022-06-25 00:55:31 +02:00
SiboVG
77bad60155 Don't include inactive stages in Cp calculations 2022-06-24 05:37:30 +02:00
SiboVG
4a79581244 [#1477] Don't include inactive stages in calculateForceAnalysis 2022-06-24 02:13:01 +02:00
SiboVG
00fcc34509 [#1454] Fix stackoverflow error
Make sure the InsideColorComponentHandler is cloned when a RocketComponent is cloned + don't clone the configListeners
2022-06-17 10:52:23 +02:00
SiboVG
6590a76ff4 Fix opacity change not undo-ing properly 2022-06-16 00:25:48 +02:00
SiboVG
4b614ff11a Fix appearance multi-comp select 2022-06-15 17:50:46 +02:00
SiboVG
595143f980 Fix merge conflict 2022-06-15 14:30:38 +02:00
SiboVG
ddbcf597c2 Extend multi-select components to different-typed components 2022-06-15 12:48:23 +02:00
SiboVG
248495bc87
Merge pull request #1438 from SiboVG/rewrite-doubleToString
Improve double to string rounding code
2022-06-14 21:08:49 +02:00
SiboVG
3730f78a7a
Merge pull request #1444 from SiboVG/issue-974
[#974] Add component edit window tab remembrance
2022-06-14 21:08:36 +02:00
SiboVG
eeb9773e59 Add always open leftmost tab in preferences 2022-06-14 02:31:49 +02:00
SiboVG
dd128c0ff0 Improve double to string rounding
The previous code was just a bit odd and non-standard + variable (and probably unefficient). Decided to replace it with standard Java functions instead.
2022-06-13 04:25:23 +02:00
Peter Tsongalis
6c475645d4 [1373] PR review fixes
Move hasRecoveryDevice to RocketComponent and reimplement
FlightConfiguration version to check for FlightConfiguration errors.
2022-06-12 16:06:58 -07:00
Peter Tsongalis
f5cc1f61bf [1373] Display warning when no recovery device configured 2022-06-12 12:32:33 -07:00
Peter Tsongalis
87b225b38b [1373] Add hasRecoveryDevice to FlighConfiguration 2022-06-12 12:31:44 -07:00
Joe Pfeiffer
c3a3df9db2
Merge pull request #1427 from SiboVG/issue-1354
[fixes #1354 & #1037] Add support for custom decimal places and exponential notation in simulation exports
2022-06-11 09:22:15 -06:00
SiboVG
e6622c7326 Add preference saving for decimal places & exponential notation 2022-06-11 03:49:52 +02:00
SiboVG
34279641c9 Add decimal places and exponential notation option in sim export 2022-06-11 03:40:10 +02:00
SiboVG
7fada6f88c [#1354] Export Lat & Long with 5 decimals
Idk, this is not per se a very dynamic solution (as in 'you only specify these 2 exceptions somewhere hidden deep inside a method'...) Ah well, it works for now.
2022-06-11 02:38:45 +02:00
SiboVG
7ec703964c Fix bug radius offset not updating with radius method 2022-06-11 01:19:04 +02:00
SiboVG
910fd7c7cd
Merge pull request #1417 from SiboVG/issue-1231
[#1231] Include non-aerodynamic components in bounding box calculations
2022-06-09 18:58:07 +02:00
SiboVG
1b9751562a [#1231] Split bounding box and length in aerodynamic and all
Some parts of the program need only the bounding box of aerodynamic parts (most parts of the program), but a couple others need the bounding box and length of all components
2022-06-08 22:14:19 +02:00
SiboVG
34b5729693 [#1231] Include non-aerodynamic components in bounding box calculations 2022-06-08 21:17:48 +02:00
JoePfeiffer
72ebd97eef Found another couple of instances of fins being multiplied by fincount 2022-06-07 16:37:02 -06:00
Joe Pfeiffer
ca9241f562
Merge pull request #1413 from JoePfeiffer/fix-1258
Update tube fin stabililty calculations
2022-06-07 15:28:54 -06:00
SiboVG
0ae7a00e3c [#1411] Show combined mass of multi-selection hover in component 2022-06-07 19:04:31 +02:00
JoePfeiffer
157fd1a5bc Merge remote-tracking branch 'origin' into fix-1258 2022-06-07 10:54:54 -06:00
JoePfeiffer
910ef69b79 Remove tube fin stability warning 2022-06-07 10:52:34 -06:00
SiboVG
6478046bcb [#1409] Remove instancecount multiplication in getSectionMass 2022-06-07 02:04:32 +02:00
JoePfeiffer
fe587d5bfc calculate tube fin Cna 2022-06-05 10:31:47 -06:00
Joe Pfeiffer
f184940715
Merge pull request #1403 from SiboVG/softwareUpdaterBeta
Add checkbox in preferences for checking for beta updates + fixes
2022-06-03 10:22:22 -06:00
Joe Pfeiffer
aef0b9ef7c
Merge pull request #1402 from JoePfeiffer/fix-1356
update iteration through rocket components to account for inactive components and instances
2022-06-03 10:21:56 -06:00
Sibo Van Gool
53026d0838 Add check beta updates checkbox in preferences 2022-06-03 00:58:20 +02:00
JoePfeiffer
98b60d1f7a update iteration through rocket components to account for inactive components and instances 2022-06-02 15:05:17 -06:00
SiboVG
8ecf888a13 [#1397] Fix streamer packed length updating strip width 2022-06-02 01:48:07 +02:00
SiboVG
35f3044aa1
Merge pull request #1385 from SiboVG/issue-1344
[#1344] Clear preset when centering ring/bulkhead length is changed
2022-05-29 11:07:13 +02:00