1086 Commits

Author SHA1 Message Date
Kevin Ruland
e1081d2df8 Change from ClassLoader.getSystemResourceAsStream to ClassLoader.getResourceAsStream since it is android safe. 2012-05-15 20:43:26 +00:00
Doug Pedrick
a6eda10fcc Rename to ComponentPresetEditor 2012-05-15 04:38:27 +00:00
Doug Pedrick
90ebc01268 Added ability to open *.csv files to menu. 2012-05-15 04:35:33 +00:00
Kevin Ruland
1ee93fdab0 Put the loadMotor() method back since it is useful to python bindings. 2012-05-15 04:28:14 +00:00
Doug Pedrick
538fa66415 Added menu bar and menu items. 2012-05-12 04:19:47 +00:00
Kevin Ruland
a9bbe0f642 Fix up the logic for showing and using the aft/fore match diameter switches. 2012-05-11 18:06:33 +00:00
Kevin Ruland
8b9ead892c Change epsilon in the row filter to be 5mm instead of 1mm. 2012-05-11 18:05:44 +00:00
Kevin Ruland
bd8db9cb10 Upon further investigation getMinimum and getMaximum in the SpinnerNumberModel is only used to determine the text box size. 2012-05-11 18:05:14 +00:00
Kevin Ruland
0cfdc91b2f Fix sorting on double columns. 2012-05-11 03:38:58 +00:00
Kevin Ruland
43dd248d8b Switch to a LinkedBlockingQueue in front of the loader thread pool because it eliminates RejectedExecutionExceptions. The down side is the generator will block when the queue is full. Oh well. 2012-05-11 03:21:27 +00:00
Kevin Ruland
97fea90360 Added example file using presets. 2012-05-11 03:19:55 +00:00
Doug Pedrick
7da68bcb1e Added delete button to preset row in table. 2012-05-11 03:02:35 +00:00
Doug Pedrick
8a5fd187b6 Refactored preset GUI for unit of measure spinners; added launch lug, parachute, and streamer editors. 2012-05-10 23:51:26 +00:00
Kevin Ruland
7681d40b76 A little refactoring of ComponentPreset xml file parsing since android does not support JAXB. 2012-05-10 14:38:36 +00:00
Kevin Ruland
0076b5ac3b updated change log. 2012-05-10 03:27:38 +00:00
Jason Blood
64c3b0c83a Added PageFitPrintStrategy and related files to print multiple fins, transitions, and nosecones onto the same page(s) 2012-05-10 02:48:13 +00:00
Kevin Ruland
bd680c7e14 Added support for Unit 'in/64' which is inches with fractional representation. DoubleModel has one FIXME indicating that we need to reenable min & max in the abstract spinner model. 2012-05-10 02:48:07 +00:00
Kevin Ruland
7b093f79f8 Implement a multithreaded pipeline to load the component preset files. This greatly reduces the time to load them. 2012-05-09 02:01:57 +00:00
Kevin Ruland
692fcebb11 Give the threads names to facilitate thread performance analysis. 2012-05-09 02:00:54 +00:00
Kevin Ruland
5cd524e675 Renamed the PresetTest helper class to PresetAssertHelper. This keeps ant unittest from carping about a *Test.java file which contains no tests. 2012-05-08 18:13:52 +00:00
Kevin Ruland
51e2dfe6c7 Rework the ThrustCurve motor loading process to be highly parallel. This significantly reduced loading times. In order to achive this, the implementation of ZipDirectoryIterator.getNext() had to change to not close the iterator when it runs out of things. 2012-05-08 17:57:46 +00:00
Kevin Ruland
8c34d8488a Multithread the orc loading process. 2012-05-07 14:43:50 +00:00
Kevin Ruland
0c9ac572d1 Regenerated preset files. 2012-05-07 01:35:18 +00:00
Kevin Ruland
0ff0fe1364 Add slightly better sorting to the manufacturer and partno columns. It attempts to sort numeric portions of the strings separate from the alpha parts. However, it isn't perfect because decimals (numbers containing '.') trips it up. 2012-05-07 01:34:23 +00:00
Boris du Reau
f76966d0ea updated French translation 2012-05-06 20:08:37 +00:00
Kevin Ruland
370dfd0e18 Change the InvalidComponentPresetException so it reports all errors found in a preset instead of just the first. Changed all the test cases to ensure the proper errors are reported. 2012-05-06 13:27:30 +00:00
Doug Pedrick
a32bfe7366 Fixes to number validation and component type combo box selectability. 2012-05-06 00:42:32 +00:00
Doug Pedrick
3d73e9d9eb Initial GUI for editing and saving component presets. See ComponentPresetPanel.main() for standalone execution. 2012-05-05 02:23:14 +00:00
Kevin Ruland
0a199d73c3 Implement MaterialHolder, a container for the Material objects loaded during processing of rocksim csv files. Added logic to streamer and parachutes so it can produce a SURFACE material if the csv file specified a BULK material and thickness. 2012-05-04 20:11:33 +00:00
Kevin Ruland
4eea3292b6 Sort the collections prior to serialization since that makes the output a little easier to search. 2012-05-04 20:08:47 +00:00
Kevin Ruland
9661b47562 Don't use the default material database when loading componentpreset files. 2012-05-04 20:07:20 +00:00
Kevin Ruland
3792528e01 Added LaunchLug, Streamer and Parachute ComponentPresets. 2012-05-01 17:40:55 +00:00
Kevin Ruland
6f653199f2 Make initializeLogging method public since it is a rather nice function to set up logging infrastructure. 2012-05-01 17:25:10 +00:00
Kevin Ruland
2de2fb8a65 Move the component preset selection box outside of the first tab and under the component name. Adjusted the MigLayout parameters to the labels align. 2012-05-01 17:18:41 +00:00
Kevin Ruland
fea3e6e61a Fix giantleaprocketry's TCData.csv, added it to the build.xml and committed the generated orc file. 2012-04-29 02:43:55 +00:00
Doug Pedrick
45dae98850 Support for base64 images in .orc; performance improvement to the JAXBContext 2012-04-28 03:16:42 +00:00
Doug Pedrick
df7ab36b5a Javadoc fix 2012-04-27 22:08:58 +00:00
Kevin Ruland
ca52cc6612 Rebuilt orc files with new parser and orc format. 2012-04-27 20:12:54 +00:00
Kevin Ruland
42c74f71a1 Variety of changes to the orc file processing. Added unit annotations to all lengths and masses so a vendor can hand craft a file in units other than MKS system. Fixed a bug in the nose cone where the outerdiameter and shoulder diameter were flipped. 2012-04-27 20:09:27 +00:00
Kevin Ruland
573706323f Added special processing for rocksim csv component files when the mass is specified as 0. In this case, we "reject" the mass and assume it is to be computed based on density. 2012-04-27 19:06:54 +00:00
Kevin Ruland
1acc99b163 Switch component preset loading from using the temporary csv format to orc formatted files. Added orc formatted files to the resources/datafiles/presets for all vendors which have approved inclusion of their files in OpenRocket. Removed the old csv parser and the hand crafted csv files for semroc presets. 2012-04-26 21:14:38 +00:00
Kevin Ruland
9ea9c4b53b Added build target which translates rocksim component directories in resources-src into ORC format in resources. 2012-04-26 21:12:35 +00:00
Kevin Ruland
2827046b15 Refactored the rocksim csv component parser system to allow for more flexible column definitions. Pulled each type of file parser into its own file. Use template pattern in the RocksimComponentFileLoader hierarchy. Change the OpenRocketComponentSaver (Jaxb driver code) to throw exceptions instead of trying to handle them on its own. 2012-04-26 21:10:34 +00:00
Boris du Reau
42df7deb5b Updated cz translations 2012-04-26 20:50:21 +00:00
Kevin Ruland
f2e7cb58ab Added convience method UnitGroup.getUnit( String ) which returns the Unit corresponding to the abbreviation. Throws IllegalArgumentException if the requested unit does not exist. 2012-04-26 18:20:10 +00:00
Kevin Ruland
b990a5acb2 Added optional Thickness element/property. 2012-04-26 18:18:55 +00:00
Kevin Ruland
c71049a88d Added optional Thickness element/property. 2012-04-26 18:18:35 +00:00
Kevin Ruland
85fe891980 Added filled property. Made Filled and Mass optional by using objects instead of primitives. Changed the serialization process so only properties set in the ComponentPreset are serialized. Change the deserialization process so if properties are not specified in the xml file, they are not assigned. 2012-04-26 18:18:00 +00:00
Kevin Ruland
727e388482 Removed performance rocketry rocksim component files since they no longer sell retail. 2012-04-26 01:57:04 +00:00
Doug Pedrick
517207857b Cleanup 2012-04-25 20:59:35 +00:00