156 Commits

Author SHA1 Message Date
Sampo Niskanen
a2c0af3b7f Initial implementation of scripting extension 2014-12-27 19:18:53 +02:00
Sampo Niskanen
7aca75f053 Implement launch velocity into AirStart extension 2014-12-23 23:49:37 +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
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
kruland2607
eaa6c32918 Merge pull request #216 from enderw88/Configure-design-window-font-size
RocketInfo font size now configurable in options.
2014-12-21 15:39:32 -06:00
Craig Earls
4ed373b07a Changed startup class to OpenRocket 2014-12-21 11:51:18 -07:00
Craig Earls
cf7daba134 This is a simple change to help out the Mac Crowd. It just changes the name of Startup to OpenRocket so the the menu bar says OpenRocket instead of Startup.
This gets around the very fragile OS X setup thing we have trying and failing at with the mac java client
2014-12-21 10:55:10 -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
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
8d74ea9e6f Merge branch 'mass-object-categories' 2014-12-14 12:04:10 -07:00
Craig Earls
8a8bb51f48 Added Stream and Shock cord symbology. 2014-12-14 12:03:25 -07:00
Craig Earls
c741079fd6 Restructuring and adding symbols to all MassObjects. 2014-12-14 10:27:24 -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
f0609029e8 Clean up how symbol is added to themes component shape. Ready for release. 2014-12-13 15:41:36 -07:00
Craig Earls
66eb5753e5 All mass types being drawn. 2014-12-13 13:49:48 -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
a9ba6172a9 Update documentation for 14.11 release. 2014-11-02 12:11:49 -06:00
kruland2607
c9f6305154 Fix reported bug. The mass & cg override icons wouldn't appear
immediate when a components mass was overridden.  The ComponentTreeModel
needs to update the tree on mass changes too.
2014-10-28 20:47:48 -05:00
kruland2607
c639bd453f Fix persistant bug report which is reproduced by undoing the addition of
a flight configuration.  Need to test if the current selection in the
flight configuration table is off the table's current size.
2014-10-28 20:28:20 -05:00
kruland2607
73fabd01dd Added ukranian translations. 2014-10-02 20:23:51 -05:00
kruland2607
0042fb352b Protect the table header when the pointer is outside. 2014-05-22 13:44:44 -05:00
kruland2607
35f9ae384e Added motor texture for Klima motors. 2014-05-21 15:11:31 -05:00
kruland2607
967b6b3eeb Preparing for release 14.05. 2014-05-20 13:04:30 -05:00
kruland2607
12c47442f3 Renamed the cg-marker.png to cg-override.png. 2014-05-08 09:08:27 -05:00
kruland2607
bef5ff4f4a Merge remote-tracking branch 'upstream/master' into override-indicators 2014-04-24 09:46:10 -05:00
kruland2607
ae64f7a7f9 CG & Mass override indicators in component tree. 2014-04-23 21:22:43 -05:00
kruland2607
cc5340ca46 Upon further research the estes nc data contained incorrect PNC-80FB
part which does not exist.
2014-04-23 15:15:38 -05:00
Sampo Niskanen
b6e3a57b47 Implement simulation extensions
Squashed commit of the following:

commit 058f603c23accbcdbe9110645f19164da7d57c85
Author: Sampo Niskanen <sampo.niskanen@iki.fi>
Date:   Sat Apr 12 10:52:21 2014 +0300

    Implmenent simulation extensions

commit a1ca913c7d7793a9209a5f98235336270db6ce10
Author: Sampo Niskanen <sampo.niskanen@iki.fi>
Date:   Fri Apr 11 19:45:12 2014 +0300

    WIP

commit 916f0bc8961360c0906b413485ca4e3700033740
Author: Sampo Niskanen <sampo.niskanen@iki.fi>
Date:   Tue Apr 1 20:23:25 2014 +0300

    WIP
2014-04-12 10:54:17 +03:00
kruland2607
a34d41d6af Implement feature to compute the optimum delay for a simulation. 2014-04-08 13:09:38 -05:00
kruland2607
9a85ba0099 Added simple mass indicator. 2014-04-08 08:31:21 -05:00
kruland2607
6e2708b6ac Updated jogl libraries to 2.1.5. 2014-03-25 12:13:47 -05:00
kruland2607
581ec324d9 Fix selection bug in motor selection panel. The app threw NPE when
trying to reuse the dialog.
2014-03-25 12:12:30 -05:00
kruland2607
ae36404431 Changes for 14.03 Release. 2014-03-19 15:54:22 -05:00
CarVac
708323af73 Fixed an OpenGL error; just a stopgap it seems. 2014-03-18 19:17:03 -04:00
kruland2607
bd62a1ee24 Merge pull request #181 from bkuker/tumble
Changes to Tumble Transition & Tumble Bug Fix
2014-02-25 17:29:25 -06:00
Craig Earls
cc54a98226 Prevent NPE when an uninitialized table cell is rendered. 2014-02-25 14:58:24 -07:00
bkuker
8e063f0a64 The changes to the tumble transition discussed on or-dev 2014-02-25 15:39:12 -05:00
kruland2607
d1ea0e3e63 Fix some annoying selection issues by moving some code into the base
class.
2014-02-12 21:49:45 -06:00
kruland2607
b61ee0c5ab Use the selectMotor method to update the whole ui and ensure that one
can add a new motor.
2014-02-12 21:48:10 -06:00
kruland2607
730abea70b Fix problematic bug in motor selection which manifested as:
java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds
	at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
	at
net.sf.openrocket.gui.dialogs.motor.thrustcurve.ThrustCurveMotorSelectionPanel.updateData(ThrustCurveMotorSelectionPanel.java:437)

The underlying problem was the MotorChooserDialog had been using the
GUIUtil.setDisposableDialogOptions call which caused all the underlying
models to be cleared when the dialog was closed with the "x" button.
This caused the reference to the models in the panel to be disassociated
with those in the swing widgets.

Since the dialog is reused, this behavior was bad.  Changed the dialog
so the 'x' button simply hides the dialog and use the
GUIUtil.installEscapeCloseOperation to wire in the ESC key.
2014-02-12 10:31:46 -06:00
kruland2607
062dbb7a4c Merge pull request #179 from plaa/master
Replace lake.png with lake.jpg
2014-02-04 05:51:50 -08:00
Sampo Niskanen
d4ba3eba01 Replace lake.png with lake.jpg 2014-02-02 13:28:52 +02:00
bkuker
81f5cfee4a Store the formatted log message, with "{}"s substituted. 2014-02-01 17:15:50 -05:00
Sampo Niskanen
e2699a16ea Remove non-ascii chars from java files 2014-02-01 10:59:34 +02:00
bkuker
b7b0ca002f Turn smoke off by default.
If shader is screwed up on someone's system they won't get the error
until they turn it on, rather than the photo just failing right away.
2014-01-31 17:43:36 -05:00
bkuker
9f13119317 Draw flames only for bottom most stage. 2014-01-31 09:25:22 -05:00