864 Commits

Author SHA1 Message Date
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
Sibo Van Gool
0773cfbdf5 Use special HTML newline
With the <br> HTML newline, when a user would want to copy-paste the bug report, it would just be one long string of text, because the <br> tag would just be replaced by a space instead of a newline.
2022-01-28 22:52:35 +01:00
Sibo Van Gool
ec8d88fa01 Use fixed Locale for LogLine number formatting
Keep consistency over bug reports (e.g. on my machine, the time stamp was with commas as decimal separators, but I've seen people with dots)
2022-01-28 22:35:13 +01:00
Sibo Van Gool
e48804feab Improve bug report formatting 2022-01-28 22:34:03 +01: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
Sibo Van Gool
78c72a251b [fixes #1084] Fix wrong push layout
Should've restricted to pushx, otherwise, the sky-widgets got pushed to the bottom
2022-01-28 12:54:29 +01:00
Sibo Van Gool
6cb1fb7945 Add comments in PhotoSettingsConfig 2022-01-28 12:50:07 +01:00
Sibo Van Gool
4338eda38a [fixes #1084] Fix PhotoStudio settings layout issue 2022-01-28 12:43:46 +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
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
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
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
JoePfeiffer
b68c1cd85e when updating database filters, check for existence of checkboxes that may not exist depending on type of component before checking their state 2022-01-26 14:21:56 -07:00
JoePfeiffer
0cd5dcbe09 Eliminate serialization of component preset files
Relabel "Legacy Component Checkbox" to "Legacy Database Checkbox" to make clearer
2022-01-26 09:54:28 -07:00
Sibo Van Gool
581f0c4e2c [fixes #825] Add translation keys for update checking 2022-01-26 03:04:37 +01:00
Sibo Van Gool
12aa1a447c [fixes #825] Improve translation keys update error 2022-01-26 02:23:02 +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
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
JoePfeiffer
4fa38e45fc Add submodule for Dave Cook's database 2022-01-24 18:22:55 -07: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
JoePfeiffer
f34686ea4e Add checkbox to show/hide legacy components
Initially, checkbox is not set, legacy components are not shown, and
"Legacy" column in chooser dialog table is not visible.

Toggling checkbox shows/hides legacy components and column in table
2022-01-23 19:07:50 -07: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
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
JoePfeiffer
5aa16cb556 Added an optional <Legacy /> element to the .orc files to mark all
the components in the file as legacy; used this to mark the files from our old
database.
2022-01-20 14:41:50 -07:00
JoePfeiffer
71202abfdc Add Dave Cook's parts database as a git submodule, in a directory called swing/swing/resources-src/datafiles/components/
Move old rocksim-based database from .../presets to .../legacy_components
Move rocksim .csv files from .../rocksim_components to .../rocksim_src
Modify BaseComponentDTO to process units
Modify SerializePresets to take a set of directories containing .orc files
as command-line arguments, and process all of them.
Modify swing/build.xml to specify both legacy and new databases for import
2022-01-18 14:50:30 -07:00
Sibo Van Gool
2184cc80e0 [fixes #997] Update bottomStageNumber
The bottomStage.getStageNumber() was called, but never assigned to bottomStageNumber. Now it is. This has the effect that the exhaust effects will start at the bottom stage instead of on the top stage, which was previously the case.
2022-01-11 23:55:44 +01: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
SiboVG
f5b8a64b88
Merge branch 'unstable' into issue-136 2021-11-22 02:25:34 +01: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
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
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
Neil Weinstock
ed7ba48429
Merge pull request #1041 from SiboVG/credit-dutch-trans
Include contribution for Dutch translation
2021-10-28 21:45:29 -04: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
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
JoePfeiffer
19b07f6c73 Set rocket file loading dialog modality to DOCUMENT_MODAL so it won't interfere with closing the bad thrustcurve message. 2021-10-21 14:44:58 -06:00
Sibo Van Gool
e3af87eee5 Fix typos in OR codebase 2021-10-17 18:03:18 +02: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
Joe Pfeiffer
f750a8c1cb
Merge pull request #1010 from SiboVG/issue-1009
[fixes #1009] Added more advanced DecimalFormat for plot hover
2021-10-15 11:06:40 -06:00
Joe Pfeiffer
2c9877b68b
Merge branch 'unstable' into issue-1001 2021-10-15 08:50:36 -06:00
Neil Weinstock
ff53498cb5
Merge pull request #1032 from JoePfeiffer/full-motor-designations
Full motor designations
2021-10-15 08:14:42 -04:00
Joe Pfeiffer
b94abc81e1
Merge pull request #1006 from SiboVG/issue-1002
[fixes #1002] Fix offset distances scaling on single component scaling
2021-10-13 08:45:34 -06:00