631 Commits

Author SHA1 Message Date
batwings
564010974b Merge branch 'feature-rocketconfig' into integration
Conflicts:
	core/src/net/sf/openrocket/file/openrocket/importt/OpenRocketLoader.java
2012-10-24 16:48:19 -05:00
batwings
b32be42092 Added full support for per flight-config stage separation: simulation,
ork file, and gui configuration.
2012-10-24 16:32:38 -05:00
batwings
fc2fd2a011 Merge branch 'feature-stagerecovery' into integration
Conflicts:
	core/src/net/sf/openrocket/simulation/BasicEventSimulationEngine.java
2012-10-24 10:22:48 -05:00
batwings
5d65b591e1 Merge branch 'feature-rocketconfig' into integration
Conflicts:
	core/src/net/sf/openrocket/file/openrocket/importt/OpenRocketLoader.java
	core/src/net/sf/openrocket/file/openrocket/savers/RocketComponentSaver.java
2012-10-24 09:26:29 -05:00
kruland2607
5deae1d3db Found the missing pieces to make decals work. 2012-10-23 22:13:22 -05:00
kruland2607
04ee758e6a Fix up failures from the previous merges. 2012-10-23 21:56:35 -05:00
Kevin Ruland
fddf6cc0c7 Modified the AppearancePanel decal selector to have a combo box which follows the ComponentPreset pattern. The first entry in the combo box contains "none" entry which clears the decal associated with the component. The last entry in the combo box is "choose from file" which opens a file picker to select an image from the file system. The entries in between contain all the decals currently used by components in the document which facilitates reusing decals on the model. 2012-10-23 16:24:58 -05:00
Kevin Ruland
e78f5b27f1 Added example file with decals. 2012-10-23 16:23:09 -05:00
Kevin Ruland
d0569e5759 Fixed loading decals from example file. Added FileInfo class which is used to describe data about the file - what the URL is to it and it's parent directory (if appropriate). The FileInfo class is pushed into the DecalRegistry to facilitate loading decals from the correct location. Added the Apocalypse with decals as an example file. 2012-10-23 16:13:35 -05:00
Kevin Ruland
05d1b91d90 Sizable commit with lots of changes to support decals in openrocket files. Added support for zip container support. Changed Decal to hold a String instead of URL. Refactored GeneralRocketLoader out of the RocketLoader hierarchy so the GeneralRocketLoader knows about files and RocketLoader only knows about streams. Changed the OpenRocket file format to 1.6 and added <appearance> and it's children for ambient light and decals. Implemented a DecalRegistry which is a member of the OpenRocketDocument. This class is used to get InputStreams for decals by their names. 2012-10-23 15:54:45 -05:00
Bill Kuker
4ab28bbf54 Make the default checkbox text work the right way: check box's text, not a separate label 2012-10-23 15:12:35 -05:00
Bill Kuker
6a2ebb6851 Add translatable text names to the texture wrap mode enum 2012-10-23 15:12:28 -05:00
Bill Kuker
dc66d2a93e English l10n on appearance config 2012-10-23 14:53:38 -05:00
kruland2607
a5d87244a4 Implemented flight data branches for stage recovery. Updated jfreechart
to 1.0.14 and jcommon to 1.0.17.  Added primitive support for plotting
all databranches.
2012-10-23 10:57:00 -05:00
kruland2607
8588918452 Updated HPR Airstart example. 2012-10-19 16:01:11 -05:00
kruland2607
6d190095a7 Example HPR with airstarted cluster. 2012-10-19 14:44:51 -05:00
kruland2607
25f619aa19 Added button and dialog to select the ignition for a given motor. 2012-10-19 14:34:44 -05:00
kruland2607
3a8d2d5560 Implemented a DeploymentConfiguration object which includes the values
used to determine the deployment of a recovery device.  The DeployEvent
enum was moved into this class.  Added a map of configuration id strings
to DeploymentConfiguration objects in the RecoveryDevice.  Modified
various setter/getters in RecoveryDevice to support a "default"
configuration defined in the device's configuration dialog.  Modified
BasicSimulationEngine to use the DeploymentConfiguration based on the
selected configuration.

Added to the FlightConfiguration dialogs to support editing these
configuration.

Missing are serialization of the map in ork files.
2012-10-16 22:13:37 -05:00
kruland2607
e18b081273 Added some l10n strings to the motor table. Tightened up access to
package scope member variables.
2012-10-16 12:53:37 -05:00
kruland2607
d00dc2ff34 Added more buttons to configuration including broken copy button. Added
tab layout to pane.  Added ignition spec to motor config table but
haven't hooked it up.
2012-10-16 11:04:01 -05:00
kruland2607
7f6c542e5d Try to use Java Serializable to improve loading of included
ComponentPresets.
2012-10-09 09:07:18 -05:00
kruland
a9a1860f96 Committing Russian l10n changes provided by Ruslan Uss. 2012-09-30 20:12:37 -05:00
Sampo Niskanen
e7ba712bea Version to 12.09.1dev 2012-09-28 21:51:44 +00:00
Sampo Niskanen
8fbbb00387 Release 12.09.1 2012-09-28 21:42:20 +00:00
Bill Kuker
3b368ac270 Reverting efforts to detect & reduce 3d crashes.
Reverting:
1073
1074
1075
1076

1078
1079
2012-09-28 20:25:31 +00:00
Sampo Niskanen
bfe48265e6 Add usage instructions to preset dialog 2012-09-27 16:36:45 +00:00
Bill Kuker
4073246388 Add a 3D enabled user preference
Add 3d Crash detection that disables 3d if the application crashes during one of several touchy phases of JOGL / Native / display driver initialization.
Always make the 3D view button clickable, but there is an explanation and a button to turn 3d on if it has been disabled
2012-09-27 14:44:04 +00:00
Kevin Ruland
a28c99fc54 Wired in the ComponentPresetEditor into the Edit menu. It is currently disabled because of some bugs in the ComponentPresetEditor. 2012-09-26 14:45:55 +00:00
Doug Pedrick
5b6e1ecf39 Added preference to auto-open last design file on startup. 2012-09-23 22:28:39 +00:00
Sampo Niskanen
ba8621a792 Build version to 12.09dev 2012-09-16 18:16:03 +00:00
Sampo Niskanen
cf68f13590 Release 12.09 2012-09-16 14:29:59 +00:00
Kevin Ruland
1542b2ee08 More localization updates by Ruslan Uss. 2012-09-15 22:54:27 +00:00
Boris du Reau
0a2ddd9d6e updated french translations 2012-09-12 20:47:56 +00:00
Kevin Ruland
f5241b85cd Updated motor files from thrustcurve download. Added correction files for Quest D5 and Micro_Maxx_II. 2012-09-12 02:33:21 +00:00
Kevin Ruland
3e92068515 Updated motor files from thrustcurve download. Added correction files for Quest D5 and Micro_Maxx_II. 2012-09-12 02:30:46 +00:00
Kevin Ruland
89a83d54fc Updated motor files from thrustcurve download. Added correction files for Quest D5 and Micro_Maxx_II. 2012-09-12 01:53:50 +00:00
Kevin Ruland
b0d03cc473 More updates to localization provided by Ruslan Uss. 2012-09-11 16:10:51 +00:00
Richard Graham
1828f9d2fb Added gravitational acceleration and propellant mass datatypes. 2012-09-05 05:14:10 +00:00
Kevin Ruland
265b588035 Updated 3FNC Using Presets example so it uses the presets currently deployed and does not issue a warning message. 2012-08-29 13:45:56 +00:00
Kevin Ruland
d70cc32dd6 Updates to the russian translations provided by Ruslan Uss. 2012-08-28 13:38:53 +00:00
Sampo Niskanen
db2e1e9617 Document rename.sh 2012-08-27 19:48:43 +00:00
Sampo Niskanen
31ace7b312 Material localization support 2012-08-25 20:10:58 +00:00
Kevin Ruland
6aac556a53 Added localization changes supplied by Russian USS. 2012-08-23 02:24:39 +00:00
Boris du Reau
65168a345f updated french translation 2012-08-22 05:42:44 +00:00
Kevin Ruland
da430d3611 Applied patch for l10n supplied by Russian Uss. 2012-08-20 02:02:38 +00:00
Kevin Ruland
18fa60f844 Rolled back previous attempt at un-localizing sample files. New approach will not use this file format. 2012-08-06 13:32:52 +00:00
Richard Graham
3d5ae6752a Big update to custom expression feature.
- supports range and index subexpressions and many new operators
 - switched to my patched version of exp4j to support all this.
 - expressions belong to rocket document. Accessed from analysis menu.
 - expression importing from file
 - datatypes section defined in file for storing datatypes other than internal ones
 - flightdatatype fix to forget outdated types
 - many GUI fixes to custom expressions
 - new unitgroups supported. Auto unit detection for SI units in custom expressions.

Had to carefully merge loading/saving code with Kevins recent de-localization update. Hopefully changes to materials saving kept but switched datatype access to just using symbol as the key.

Hopefully can get the changes to exp4j upstream so we don't need to keep using this patched version.
2012-08-05 23:59:54 +00:00
Kevin Ruland
77e3652249 De-localize Material and FlightDataType objects when persisting in ork files. Added a String key to each of these objects which holds on to a unique identifier which is stored in the ork file. User defined Materials are given a key which is defined as "UserDefined." + name.
The construction pattern for Material has changed so explicitly passing in the userDefined boolean is no longer required.  Instead there are two different factory methods to be used.  Direct construction of Material derived classes is no longer allowed.

The persistence mechanism for Materials in perferences has changed.  It will now persist the key and name but still supports reading old format.

The example files have been regenerated, but will need to be regenerated again prior to an official build in order to get the version string correct.
2012-07-31 21:20:55 +00:00
Boris du Reau
3a53e160e9 updated German translations 2012-07-29 17:58:59 +00:00
Kevin Ruland
5f02647c6f Correct spelling in description. 2012-07-20 03:34:18 +00:00