115 Commits

Author SHA1 Message Date
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
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
Kevin Ruland
92f40fec79 Added Estes and Quest components from Bill Carpenter's rocksim csv files. 2012-07-13 03:26:35 +00:00
Kevin Ruland
487a9238de Added Estes E12 data file found on The Rocketry Forum. 2012-07-12 02:50:54 +00:00
Boris du Reau
f3152ec411 updated French translations 2012-07-10 21:28:51 +00:00
Boris du Reau
0ecd6110bf updated Spanish translation 2012-07-08 21:39:16 +00:00
Boris du Reau
16d4378f94 Updated translations 2012-07-03 21:21:46 +00:00
Boris du Reau
bc0897e30b updated polish translations 2012-06-27 20:16:14 +00:00
Boris du Reau
f765d28804 add Polish translation file 2012-06-27 05:06:47 +00:00
Sampo Niskanen
723539619c Component preset updates 2012-06-18 19:48:57 +00:00
Richard Graham
71b36bc481 - Implemented copying of custom expressions to other simulations in expression builder dialog. Note the small changes to various files are to allow simulations access to parent document.
- Switched to unicode char escapes
- Removed dynamic setting of flightdatatype priority
- Now hiding up down arrows in custom expression pane when unusable
- Localized custom expression operator discriptions.
2012-06-11 04:47:49 +00:00
Kevin Ruland
1fcf661ff3 Added fliskits component catalog. Collected by hand entry from web and submitted by bill carpenter. 2012-06-06 20:19:20 +00:00
Doug Pedrick
17fa9ae55d Added most recently used design file list to File menu. 2012-06-06 02:22:19 +00:00
Richard Graham
16eed9a30b Added new feature : user configurable custom expression evaluation for the simulation, driven by exp4j. 2012-06-02 17:58:47 +00:00
Doug Pedrick
c89c927e0c Printable Centering Ring templates. 2012-05-24 23:28:58 +00:00
Kevin Ruland
32ad0c1df6 Change the textual representation of fractional units to use Unicode superscripts and subscripts. Unfortunately, the default fonts included with iText do not have these characters mapped so we needed to switch to a new true type font DejaVu. Added the DejaVuSerif font definition to the resources and modified the pdf writing process to use this font. Because this font is slightly wider, the column headings in the DesignReport had to be made smaller. Finally, had to modify the ExpressionParser to convert the unicode chars to real digits in order to have the expression parser be able to work with this representation. 2012-05-22 18:36:04 +00:00
Kevin Ruland
a41e6ef5a3 Change label for UNIT_WINDSPEED in pref dialog to "Wind speed". 2012-05-17 14:24:22 +00:00
Kevin Ruland
7420f5c18b Added UNITS_WINDSPEED so the preferred units for entering wind speed can be configured separately from rocket velocities. 2012-05-16 06:36:58 +00:00