921 Commits

Author SHA1 Message Date
kruland2607
0f5e784e64 Catch UnsupportedOperationExceptions from getDesktop. 2013-09-03 16:13:04 -05:00
kruland2607
54871ec674 Updated thrustcurves. 2013-09-03 14:41:34 -05:00
bkuker
11c5e072f0 Fix for Issue #122, NPE in RocketFigure3d.setType()
This problem will only happen when the RocketFigure3d is unable to
create a GL canvas. It sets the canvas to null, but not all code that
uses canvas checks for null. This class probably should handle this
state better than it does, but this is the safe change now.
2013-09-02 18:46:58 -04:00
bkuker
0bc139fd05 Fix issue #112, NPE in RocketFigure3d mouseDragged()
The component can pick up a mouse drag event without a mouse press event
if the mous is clicked and dragged while a modal dialog is open. The
running simulations progress bar dialog is an example. To fix, do not
process a mouse drag if a mouse press has not been recorded.
2013-09-02 18:29:30 -04:00
kruland2607
265fdfe05e Merge pull request #111 from bkuker/jogl-v2.0.2-RELEASE
Upgraded JOGL to version 2.0.2
2013-08-21 22:00:46 -07:00
bkuker
0d88fbef99 Upgraded JOGL to version 2.0.2 2013-08-18 14:27:16 -04:00
kruland2607
9e16bc8530 Added some logging to help diagnose NPE bug reports from
ExampleDesignFileAction.
2013-08-17 19:32:47 -05:00
kruland2607
24706294ec Remove the mysterious first element of the EdgeMode drop down. 2013-08-17 19:16:10 -05:00
kruland2607
1398fe0794 Fix issue where edited decal was lost when the appearance was modified
again.
2013-08-17 19:12:28 -05:00
kruland2607
79ee38f518 Fix logic used to open Plot vs Run dialog. Only plot when there is data
which is up to date or external.
2013-07-05 23:37:35 -05:00
Sampo Niskanen
dbcd6b5c6a Rename button to "Plot" in plot dialog 2013-06-13 22:42:15 +03:00
Sampo Niskanen
0114448ea8 Fine-tune SimulationEditDialog 2013-06-13 16:54:01 +03:00
kruland2607
a67bd1add6 If the simulation runs correctly, then switch to plot view. 2013-06-11 21:28:59 -05:00
kruland2607
58e5874832 Merge remote-tracking branch 'upstream/master' into sims
Conflicts:
	core/src/net/sf/openrocket/gui/main/SimulationPanel.java
2013-06-11 21:25:33 -05:00
Jeff Davis
5a9ead35cb Merge pull request #100 from kruland2607/locpresets
Added presets for LocPrecision contributed by Doug.
2013-06-08 19:58:52 -07:00
Jeff Davis
2adfcd27a0 Merge pull request #99 from kruland2607/motorselectorbug
The motors in the motor selector are not sorted by default.
2013-06-08 19:47:06 -07:00
soupwizard
df85d0ee53 Added unittests saving and loading rockets to/from tmp in various file versions.
Added @Ignore  and FIXME to failing LogLevelBufferLoggerTest
Fixed failing unitest IntegrationTest.java
Added test rockets for the various file versions of .ork
Changed TestMutex.java to write  messages to log saying that certain exceptions
that appear in log during unittests are ok because the test can't catch them.
2013-06-08 19:09:36 -07:00
soupwizard
98635d7c9b Merge remote-tracking branch 'upstream/master' 2013-06-08 18:15:16 -07:00
Jeff Davis
911ad653fa Merge pull request #101 from dneelyep/openrocket-dev
Added a dialog box warning when users try to run a simulation with no simulations selected.
2013-06-08 17:23:09 -07:00
Daniel
cd255e1828 Added a dialog box that displays when no simulations are selected. 2013-06-08 12:34:47 -04:00
kruland2607
b5a191eb8d Added presets for LocPrecision contributed by Doug. 2013-06-07 06:38:24 -05:00
soupwizard
d57b132b51 Added tests for OR file versions. Added test rockets for each version number that is implemented. 2013-06-05 20:10:25 -07:00
kruland2607
7d30bcb67b I like it better when the close button copies the SimulationOptions.
Only SimulationOptions needs to be a little bit smarter about when to
fire the change event.
2013-06-05 21:20:50 -05:00
kruland2607
4cfc65fbe2 Make the simulation edit dialog operate a little more friendly. When
the Run Simulation button is pressed, the simulations are executed and
the edit dialog changes to support plotting (when not in multi-edit
mode).  The edit dialog will not close in any case.  When the user
presses close, the dialog is closed.  The close button no longer copies
the changed simulation conditions to the other selected simulations.
2013-06-05 15:49:09 -05:00
kruland2607
4b9fb6b2fc Open the SimulationEditDialog in the correct mode based on button press
only try to infer it when double clicking.
2013-06-04 10:06:31 -05:00
kruland2607
be62cc243e When creating a simulation use the DefaultSimulationOptionFactory. 2013-06-04 10:05:18 -05:00
soupwizard
845780a2bc Fixed unittest failure in LogLevelTest. Added config dir with logback
config file that set logging to stdout and level to Error.  Modified
unittest target used by travis-ci to use new logback config file to
reduce clutter in unittest output.  Commented out superfluous
System.println's from various unit tests to also reduce clutter.
2013-06-03 17:55:32 -07:00
kruland2607
d9c5bf6b1b Added total impulse column to motor selector dialog. When the dialog is
first displayed, sort the data in a reasonable way.
2013-06-03 09:59:32 -05:00
kruland2607
f70454792d Create a simulation when a flight configuration is copied or created. 2013-05-31 06:35:07 -05:00
kruland2607
c53a7e4c05 Consolidated the SimulationEditDialog and SimulationPlotExportDialog
into a single dialog which uses CardLayout to switch between contents.
The new SimulationEditDialog is pretty smart about when it can support
the plot view and continues to support multi-edit.  Double-click in the
SimulationPanel is a little smarter - it opens either the dialog in plot
mode when appropriate.  Fixed but in SimulationPanel where the status
icon was not updated after running a simulation when plot button is
pressed.
2013-05-30 15:46:47 -05:00
kruland2607
02f3f48f3a Added buttons to the edit and plot dialogs to switch to the other one. 2013-05-27 16:54:09 -05:00
kruland2607
9a43a01663 Don't display warning dialog when simulation ends. 2013-05-24 14:57:32 -05:00
kruland2607
ff39e0ea63 Don't dismiss the plot/export dialog when the plot is displayed. 2013-05-24 14:38:56 -05:00
kruland2607
4716030d1b Explicitly create the plot with a parent window so the configuration
window can be dismissed automatically.
2013-05-23 16:19:56 -05:00
kruland2607
9107566b38 Fix bug where plotted series were not labelled correctly in the legend. 2013-05-23 16:18:38 -05:00
kruland2607
f19044f08d Make exceptions show up in plots. Use the exception text in the
warnings.
2013-05-23 12:08:03 -05:00
kruland2607
f0ae25615e Rework simulation ui. Added support for default flight conditions.
Editing of flight conditions on multiple simulations.  Changed
exceptions generated in simulation to still produce data.
2013-05-23 11:01:21 -05:00
kruland2607
0d3e779488 Update PT translations. 2013-05-19 15:13:29 -05:00
kruland2607
add194acf0 Merge pull request #94 from kruland2607/startup
slf4j and startup
2013-05-18 18:55:39 -07:00
kruland2607
f1aee31b5f Final refactoring. Changed names of a few startup classes. Move
ComponentPresetEditor and RocksimComponentFileTranslator to utils.  Made
all the injected classes in GuiModule Singleton scope.
2013-05-18 20:56:44 -05:00
plaa
f7f45fdeeb Merge pull request #95 from kruland2607/l10n-update
Updated Italian translations.
2013-05-18 01:00:25 -07:00
kruland2607
7e2f0966e5 Updated Italian translations. 2013-05-13 21:49:01 -05:00
kruland2607
15ecef0bd7 Repackage a bunch of stuff. Rework the GuiModule so it stands alone. 2013-05-13 09:46:56 -05:00
kruland2607
ae7b2b3af1 Startup cleanup. Moved the entire swing application startup into a
single class.  Created BasicApplication as a simple way to initialize
little applications.  Pulled the dependency on WatcherService out from
DecalImage.
2013-05-12 20:26:22 -05:00
kruland2607
d1ea73a455 Do all logback configuration in java so we can have stand alone
applications use a different configuration.  Removed unneeded methods.
2013-05-11 18:00:34 -05:00
kruland2607
65eeb0833b Button up some details. Only issue messages to console when
-Dopenrocket.debug is defined.  Fixed the jar to include the slf4j and
logback jars.  Fixed source attachement for logback-core jar.
2013-05-10 23:50:35 -05:00
kruland2607
9bb6a4933b Added STDERR log level and appropriate infrastructure to capture
System.err.println().  This is reported in the debug dialog and in bug
reports.
2013-05-10 12:56:42 -05:00
kruland2607
bd3c68131a Removed horrible static initialization of logging system and instead
rely on magic - the fact we are using logback classic and the logger is
named "buffer".
2013-05-10 10:39:35 -05:00
kruland2607
8c8b51fe24 Quiet JarInJarStarter unless openrocket.debug is set. 2013-05-10 10:33:17 -05:00
Sampo Niskanen
7fa1886837 Update technical documentation 2013-05-10 10:40:56 +03:00