1852 Commits

Author SHA1 Message Date
Sampo Niskanen
13b2a37785 Remove debugging code 2015-01-27 23:01:10 +02:00
Daniel_M_Williams
b75d7e38c6 when using 'File > Save As..' dialog, this patch will update the filename extension directly within the dialog box, upon chanig the FileFilter type, in addition to after the dialog is accepted. 2015-01-20 13:39:26 -05:00
Sampo Niskanen
487da3a3fc Merge remote-tracking branch 'upstream/master' into feature/scripting
Conflicts:
	swing/.settings/org.eclipse.jdt.core.prefs
2015-01-10 18:44:55 +02:00
Sampo Niskanen
45c41537ed Check that scripting engine supports Invocable before casting 2015-01-10 18:38:47 +02:00
Sampo Niskanen
8c00dbf159 Add unit tests for file version 1.7 (simulation extensions) 2015-01-10 18:36:24 +02:00
Sampo Niskanen
a6c2092379 Move TestScriptingUtil to test/ directory 2015-01-10 17:50:11 +02:00
Sampo Niskanen
bf71296794 Merge remote-tracking branch 'upstream/master' into feature/scripting
Conflicts:
	swing/src/net/sf/openrocket/gui/simulation/SimulationOptionsPanel.java
2015-01-07 18:03:57 +02:00
Sampo Niskanen
c2f44f97f6 Update example design of simulation extensions 2015-01-07 17:59:43 +02:00
Sampo Niskanen
129217cf2b Add degrees/sec as a roll unit 2015-01-07 17:37:40 +02:00
Sampo Niskanen
9c75e7ee75 Call simulation extensions when a ORK document is loaded 2015-01-07 17:36:57 +02:00
Sampo Niskanen
79fd36dc9f Fix document loading/saving 2015-01-06 20:45:10 +02:00
Sampo Niskanen
a1f6782195 Disable untrusted scripts on loading files 2015-01-06 19:25:13 +02:00
Craig Earls
b55eb11a6f Compute fillet cross section and mass. 2014-12-28 11:45:54 -08:00
Craig Earls
bc28fc58c5 Fin fillet UI complete, radius and material are saved to file and reloaded. 2014-12-27 20:11:09 -08:00
Sampo Niskanen
a39a3fce15 Add support for multiple scripting languages 2014-12-27 23:50:54 +02:00
Sampo Niskanen
a2c0af3b7f Initial implementation of scripting extension 2014-12-27 19:18:53 +02:00
Sampo Niskanen
78cdd77d78 Clean up and document the clone() method in SimulationListener 2014-12-27 10:51:13 +02:00
Sampo Niskanen
807450b407 Remove unused methods from SimulationListener 2014-12-27 10:41:09 +02:00
kruland2607
90480faa24 Merge pull request #219 from enderw88/set-color-defaults-in-options
Rearrange preferences and add simulation and launch condition preferences
2014-12-26 14:01:46 -06:00
kruland2607
46aeeb1396 Merge pull request #222 from enderw88/remove-deprecated-RocketComponent-functions
Removed unused and deprecated deepIterators
2014-12-26 09:20:06 -06:00
Craig Earls
eb3f77df39 Took care of a LOW TODO about custom recovery speed warning. 2014-12-25 22:41:10 -08:00
Craig Earls
dcfb952393 Removed unused and deprecated deepIterators 2014-12-25 18:23:13 -08:00
Craig Earls
ba2590ee04 Removed display tab for now. Preference reorganization complete. 2014-12-24 18:07:13 -08:00
Craig Earls
5cc403368e Split all panels, implement new launch preferences panel. 2014-12-24 15:43:12 -08:00
Craig Earls
f4fc41e506 Rearranged preferences tabs, added default custom Mach number, 2014-12-24 00:36:57 -08:00
Sampo Niskanen
e6b5248a0c Boost file format version to 1.7 when saving simulation extensions 2014-12-24 00:16:14 +02:00
Sampo Niskanen
7aca75f053 Implement launch velocity into AirStart extension 2014-12-23 23:49:37 +02:00
Sampo Niskanen
00a7b7edc7 Fix copy-paste bug 2014-12-23 23:48:51 +02:00
Sampo Niskanen
82af205e3e Merge remote-tracking branch 'upstream/master' into feature/simulationextensions
Conflicts:
	core/src/net/sf/openrocket/simulation/SimulationStatus.java
2014-12-23 21:01:48 +02:00
Craig Earls
0d829c1c6b Wind and Launch rod decoupled. Initial UI complete 2014-12-21 20:56:15 -07:00
Craig Earls
b96277afa0 Launch rod is now 0 North and decoupled from wind direction. 2014-12-21 20:05:57 -07:00
Craig Earls
5e9eca3715 Merge branch 'master' into Configure-wind-direction 2014-12-21 19:00:30 -07:00
kruland2607
ea07f91f5e Merge remote-tracking branch 'cearls/Auto-run-simulations'
Conflicts:
	swing/src/net/sf/openrocket/gui/dialogs/preferences/PreferencesDialog.java

Manually resolved.
2014-12-21 19:32:27 -06:00
Craig Earls
a6f00ccaba Merge branch 'master' into Configure-wind-direction 2014-12-21 15:34:39 -07:00
Craig Earls
4310cd4b51 RocketInfo font size now configurable in option. Small is 11, medium is 14, large is 17.
Corrected spelling on PrefChoiseSelector name, will get the translation keys some other time.
Added LineMetrics.descent to the line height for laying out the text in RocketInfo.
2014-12-21 10:11:06 -07:00
Craig Earls
6ce7f0c23a Added configurable wind direction in simulation options.
- added Ground Track plot type
- changed parameter names to East-West/North-South from parallel to wind and lateral
2014-12-20 20:55:15 -07:00
Craig Earls
6110e0f5cd Outdated simulations will now run when the simulations tab is selected. 2014-12-19 17:47:29 -07:00
Craig Earls
05242d4f81 Add option to disable flight parameter estimates in the design window.
The plumbing was all there, but no one ever exposed the functionality to the users.
2014-12-19 14:31:30 -07:00
Craig Earls
233117628d Added auto run simulations checkbox to preferences. 2014-12-19 06:54:43 -07:00
Craig Earls
ded4df8103 Fixed 3 issues kruland had with mass type.
1.  Mass tooltip only displays totals for components that have children.
2.  setMassComponentType now fires NON_FUNCTIONAL change event.
3.  Label now reads "Mass Type" and default is "Unspecified".
2014-12-15 20:34:14 -07:00
Craig Earls
77cfa2bdf2 Sum up mass of subcomponent and put in component tree tooltip. 2014-12-13 16:45:49 -07:00
Craig Earls
07b831c34f Mass types now save. 2014-12-13 15:21:09 -07:00
Craig Earls
27a372eca5 Now drawing most mass types. 2014-12-13 12:31:54 -07:00
Craig Earls
f7f3b737d4 Added MassComponentType enum to allow categorizing mass components
This is only the data model. MassComponentType added as an Enum.  MassComponentConfig dialog updated to combobox to select.
2014-12-12 23:32:22 -07:00
kruland2607
f5e0b36dee Added preliminary aerodynamics based on approximating each tube fin with
3 regular fins.  Added example Tube Fin rocket.
2014-11-18 14:29:20 -06:00
kruland2607
34a2ca8984 Implement inertia computations. 2014-11-17 12:02:26 -06:00
kruland2607
b93926ec4b Fixed computation of Logitudinal Unit Inertia for tube like things. 2014-11-12 09:12:56 -06:00
kruland2607
fcd3220633 Compute the radius of the tube fin based on number of tubes. 2014-11-10 12:35:51 -06:00
kruland2607
4e766c73d1 Tube fin component, configuration, viewing, file io. 2014-11-05 19:26:48 -06:00
kruland2607
09cb51d77a HTML escape the decal file name just in case it contains & or other
illegal characters.
2014-10-30 19:21:59 -05:00