795 Commits

Author SHA1 Message Date
JoePfeiffer
78a66c24e8 Revised license text in accordance with more licenses found by H. Craig Miller 2022-02-07 19:14:19 -07:00
JoePfeiffer
e442d4605e Update license dialog
Quit quoting entire GPL in dialog; insert hrefs pointing to it.
Add other licenses:

Apache license, for Dave's components library

DejaVu font license.  I wasn't able to find an "authoritative" source
for this license to point people at.

BSD 2-Clause license for commonmark-java library.  This license is so short I
left it in the dialog.  To my surprise, I also didn't find an "authoritative"
source for this license to point people at
2022-02-07 15:25:49 -07:00
JoePfeiffer
326399fe85 Copy LICENSE from new database into presets directory when building 2022-02-07 15:25:49 -07:00
JoePfeiffer
1ae6a845d5 Add CommonMark library, and components and thrustcurve databases, to About dialog
Convert all URLs in About dialog to hyperlinks
2022-02-07 15:25:49 -07:00
JoePfeiffer
4734ea5e85 Modify DescriptionArea to make hyperlinks live. Hyperlinks other than jar
resources just get sent off to the browser; jar resources get extracted into
temporary files, and those files' URLs get sent off to the browser.

I don't really like the handling of exceptions here, but I don't see a better
way around it. Trying to just declare hyperlinkUpdate() as throwing exceptions
fails because I'm overriding an abstract method that doesn't throw exceptions.
So, I need to throw a runtime exception when an exception happens; the stack
trace in the bug report shows that as the location of the exception so I
didn't want to just wrap all the code in the method in one big try/catch as
that reduces the information about where things broke.  So, bunch of try/catch
blocks around related operations.
2022-02-07 15:25:49 -07:00
JoePfeiffer
7c8e8699ef intermediate commit so I can catch up to unstable 2022-02-07 15:25:49 -07:00
SiboVG
1876fb88df
Merge pull request #1085 from SiboVG/issue-1084
[fixes #1084] Fix layout PhotoStudio Settings
2022-02-05 01:01:27 +01:00
JoePfeiffer
497f185790 Check for database submodule and give instructions for including it
if not found
2022-02-01 09:21:06 -07:00
Sibo Van Gool
1e5adf36eb [fixes #1084] Remove left gap of image credit 2022-02-01 15:24:12 +01:00
Sibo Van Gool
71f01ab66d [fixes #1084] Move credit content to second column 2022-02-01 07:35:32 +01:00
Sibo Van Gool
f81f5a4c45 [fixes #1084] Extend separator to title label 2022-02-01 07:33:26 +01:00
Joe Pfeiffer
8e50f5202e
Merge pull request #1103 from SiboVG/issue-1076
[fixes #1076] Fix preset combobox not updating
2022-01-31 18:09:01 -07:00
Sibo Van Gool
620b450e2d [fixes #1076] Fix layout issues ComponentPresetChooserDialog 2022-02-01 00:50:29 +01:00
Sibo Van Gool
3541899b0f [fixes #1076] Move PresetModel database listener internally
setComponent() of ComponentConfigDialog called pack(), which triggered invalidate() in RocketComponentConfig, thus removing presetModel from the database listeners before the Component Preset window could even be called
2022-02-01 00:39:22 +01:00
Sibo Van Gool
1ae589d864 [fixes #1076] Use Close button instead of Ok/Cancel 2022-01-31 23:41:43 +01:00
SiboVG
385587da2e
Merge branch 'unstable' into issue-motors-layout 2022-01-31 19:33:42 +01:00
Joe Pfeiffer
86260cc7c8
Merge pull request #1097 from SiboVG/issue-1088
[fixes #1088] Select new motor config + others
2022-01-31 10:56:17 -07:00
Joe Pfeiffer
6b24e0f58d
Merge pull request #1096 from SiboVG/issue-transition-clipped
Fix transition 'Clipped' checkbox overlapping with comment
2022-01-31 10:52:20 -07:00
SiboVG
6e4faa8b6a
Merge pull request #1077 from JoePfeiffer/fix-713
Fix 713: Include legacy and new databases
2022-01-31 18:40:33 +01:00
Joe Pfeiffer
1def2b6c6d
Merge pull request #1087 from SiboVG/bug-report-bold
Improve Bug Report formatting
2022-01-31 10:32:29 -07:00
Sibo Van Gool
b3399f2d35 [fixes #1088] Select booster motor first 2022-01-30 20:06:13 +01:00
Sibo Van Gool
ba973961cd Better code format 2022-01-30 20:05:16 +01:00
Sibo Van Gool
ee9d52c432 [fixes #1088] Fix recovery and separation not selected upon tab change 2022-01-30 14:18:36 +01:00
Sibo Van Gool
65927d485b [fixes #1088] Set 'Enter' hotkey for recovery and separation tables 2022-01-30 14:05:53 +01:00
Sibo Van Gool
b26ae9e541 Adapt new/copy config windows popup based on current tab
This will make sure that e.g. when you are in the recovery tab and add a new configuration, that the deployment window opens instead of the motor selection window
2022-01-30 14:03:29 +01:00
Sibo Van Gool
d0a1025f6d Remove redundant imports 2022-01-30 13:57:59 +01:00
Sibo Van Gool
884c811343 Clean up motor configuration layout 2022-01-30 12:19:24 +01:00
Sibo Van Gool
d916fdc64a [fixes #1088] Set 'Enter' as hotkey for select motor 2022-01-30 01:32:57 +01:00
Sibo Van Gool
ce8be05865 [fixes #1088] Open motor selection upon new/copy config 2022-01-30 01:27:06 +01:00
Sibo Van Gool
42a0e4b389 [fixes #1088] Trigger select after new/copy motor config 2022-01-30 01:19:09 +01:00
Sibo Van Gool
eb643e967e Fix transition 'Clipped' checkbox overlapping with comment 2022-01-29 22:52:10 +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
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