debian/openrocket
12 years agoPull TreeListView from main source and include from library instead.
kruland2607 [Sun, 27 May 2012 12:57:57 +0000 (12:57 +0000)]
Pull TreeListView from main source and include from library instead.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@730 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded support library for TreeViewList. Previously this code was subsumed in the...
kruland2607 [Sun, 27 May 2012 12:48:32 +0000 (12:48 +0000)]
Added support library for TreeViewList.  Previously this code was subsumed in the android app.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@729 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoShare project "TreeViewList" into "https://openrocket.svn.sourceforge.net/svnroot...
kruland2607 [Sun, 27 May 2012 12:46:31 +0000 (12:46 +0000)]
Share project "TreeViewList" into "https://openrocket.svn.sourceforge.net/svnroot/openrocket"

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@728 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRemove unused imports.
kruland2607 [Sat, 26 May 2012 01:50:14 +0000 (01:50 +0000)]
Remove unused imports.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@727 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoUse the dialog theme for the file browser because it looks better on tablets.
kruland2607 [Fri, 25 May 2012 20:46:00 +0000 (20:46 +0000)]
Use the dialog theme for the file browser because it looks better on tablets.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@726 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoSimplify the spinner styling.
kruland2607 [Fri, 25 May 2012 20:45:13 +0000 (20:45 +0000)]
Simplify the spinner styling.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@725 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRemoved another file not needed after moving to ActionBarSherlock.
kruland2607 [Fri, 25 May 2012 20:44:22 +0000 (20:44 +0000)]
Removed another file not needed after moving to ActionBarSherlock.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@724 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoCorrectly change configurations without changing the default configuration id. Also...
kruland2607 [Fri, 25 May 2012 18:41:53 +0000 (18:41 +0000)]
Correctly change configurations without changing the default configuration id.  Also, select in the spinner the default configuration when constructed.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@723 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoUpdated for centering rings.
rodinia814 [Thu, 24 May 2012 23:31:11 +0000 (23:31 +0000)]
Updated for centering rings.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@722 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoPrintable Centering Ring templates.
rodinia814 [Thu, 24 May 2012 23:28:58 +0000 (23:28 +0000)]
Printable Centering Ring templates.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@721 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoVariety of changes based on suggestions from ADT Lint. Includes removing extra drawa...
kruland2607 [Wed, 23 May 2012 21:20:46 +0000 (21:20 +0000)]
Variety of changes based on suggestions from ADT Lint.  Includes removing extra drawables left about after switching to ActionBarSherlock.  Layout changes for speed improvements.  etc.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@720 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoChange to using ActionBarSherlock for the action bar compatibility.
kruland2607 [Wed, 23 May 2012 19:45:27 +0000 (19:45 +0000)]
Change to using ActionBarSherlock for the action bar compatibility.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@719 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded ActionBarSherlock v4.0.3 library for use in the android application. ActionBar...
kruland2607 [Wed, 23 May 2012 18:19:56 +0000 (18:19 +0000)]
Added ActionBarSherlock v4.0.3 library for use in the android application.  ActionBarSherlock is significantly more flexible than the crummy hack of the sample ActionBarCompat which was being used.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@718 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoShare project "ActionBarSherlock" into "https://openrocket.svn.sourceforge.net/svnroo...
kruland2607 [Wed, 23 May 2012 18:06:07 +0000 (18:06 +0000)]
Share project "ActionBarSherlock" into "https://openrocket.svn.sourceforge.net/svnroot/openrocket"

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@717 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoCreate a directory in which to put android library projects which are needed by the...
kruland2607 [Wed, 23 May 2012 18:04:11 +0000 (18:04 +0000)]
Create a directory in which to put android library projects which are needed by the android application.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@716 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoCorrect the computation of shape mass in integrate() by computing the mass based...
kruland2607 [Wed, 23 May 2012 14:47:46 +0000 (14:47 +0000)]
Correct the computation of shape mass in integrate() by computing the mass based on the integrated volume * density instead of using the super.getComponentMass().  super.getComponentMass() includes the mass of the shape as well as the shoulders.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@715 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoMinor modification to test case which makes setting breakpoints easier. No functiona...
kruland2607 [Wed, 23 May 2012 14:38:36 +0000 (14:38 +0000)]
Minor modification to test case which makes setting breakpoints easier.  No functional or assert changes.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@714 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoMy assessment of why IntegrationTest was failing was incorrect. After perusing the...
kruland2607 [Wed, 23 May 2012 14:23:01 +0000 (14:23 +0000)]
My assessment of why IntegrationTest was failing was incorrect.  After perusing the history I found that in repository revision 599, I introduced changes to the computation of Transition volume which accounted for the volume of the shoulders as well as the body of the transition.  This change broke the computation of CG.  This commit reverts IntegrationTest and adds some cg tests to SymmetricComponentVolumeTest which contains the values produced by the old code.  A future commit will correct SymmetricComponent.getCG and all these tests will work again.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@713 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFix IntegrationTest which was broken when the nose cone / transition volume and area...
kruland2607 [Tue, 22 May 2012 20:50:45 +0000 (20:50 +0000)]
Fix IntegrationTest which was broken when the nose cone / transition volume and area computations were corrected.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@712 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFix BaseComponentDTOTest to point to an image file which actually exists.
kruland2607 [Tue, 22 May 2012 20:40:18 +0000 (20:40 +0000)]
Fix BaseComponentDTOTest to point to an image file which actually exists.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@711 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFix ComponentCompare and ComponentCompareTest. ComponentCompare needed to not verify...
kruland2607 [Tue, 22 May 2012 20:39:29 +0000 (20:39 +0000)]
Fix ComponentCompare and ComponentCompareTest.  ComponentCompare needed to not verify the getMotorMounts method which was recently added.  ComponentCompareTest needed to extend BaseTestCase so the materials db was initialized.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@710 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded Configuration tab to the rocket viewer which displays all the motor configurati...
kruland2607 [Tue, 22 May 2012 19:34:11 +0000 (19:34 +0000)]
Added Configuration tab to the rocket viewer which displays all the motor configurations and allows one to create a new motor configuration.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@709 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRemove the android:debuggable attribute. This attribute will be automatically set...
kruland2607 [Tue, 22 May 2012 19:13:12 +0000 (19:13 +0000)]
Remove the android:debuggable attribute.  This attribute will be automatically set correctly when one does a release build from eclipse.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@708 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoUpdate the android-support-v4.jar to revision 8 April 2012.
kruland2607 [Tue, 22 May 2012 18:40:39 +0000 (18:40 +0000)]
Update the android-support-v4.jar to revision 8 April 2012.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@707 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoExclude the exp4j wrapper class from this build.
kruland2607 [Tue, 22 May 2012 18:38:37 +0000 (18:38 +0000)]
Exclude the exp4j wrapper class from this build.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@706 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoComment on the bug which clears the default configuration for a model.
kruland2607 [Tue, 22 May 2012 18:37:25 +0000 (18:37 +0000)]
Comment on the bug which clears the default configuration for a model.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@705 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoChange the textual representation of fractional units to use Unicode superscripts...
kruland2607 [Tue, 22 May 2012 18:36:04 +0000 (18:36 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@704 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRemove the old FractionUtil class containing the parser since we're using exp4j now.
kruland2607 [Tue, 22 May 2012 18:32:21 +0000 (18:32 +0000)]
Remove the old FractionUtil class containing the parser since we're using exp4j now.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@703 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoChange the in/64 length unit to not allow decimal representations by constructing...
kruland2607 [Tue, 22 May 2012 18:29:57 +0000 (18:29 +0000)]
Change the in/64 length unit to not allow decimal representations by constructing it with an epsilon of 0.5/64.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@702 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoUse the fonts defined in PrintUtilities instead of constructing a new font every...
kruland2607 [Tue, 22 May 2012 18:12:47 +0000 (18:12 +0000)]
Use the fonts defined in PrintUtilities instead of constructing a new font every time.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@701 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoExpression parser updates
plaa [Tue, 22 May 2012 04:11:25 +0000 (04:11 +0000)]
Expression parser updates

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@700 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFix to streamer loading of materials; missing material in Giant Leaps file.
rodinia814 [Mon, 21 May 2012 04:36:20 +0000 (04:36 +0000)]
Fix to streamer loading of materials; missing material in Giant Leaps file.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@695 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoCleanup and tweaks to unit widths.
rodinia814 [Fri, 18 May 2012 04:10:26 +0000 (04:10 +0000)]
Cleanup and tweaks to unit widths.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@694 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoChange label for UNIT_WINDSPEED in pref dialog to "Wind speed".
kruland2607 [Thu, 17 May 2012 14:24:22 +0000 (14:24 +0000)]
Change label for UNIT_WINDSPEED in pref dialog to "Wind speed".

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@693 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded imperial and SI defaults for UNITS_WINDSPEED.
kruland2607 [Thu, 17 May 2012 14:23:10 +0000 (14:23 +0000)]
Added imperial and SI defaults for UNITS_WINDSPEED.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@692 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded ability for doublemodel to evaluate math expressions using exp4j, fixed typeove...
richardgraham [Thu, 17 May 2012 06:08:05 +0000 (06:08 +0000)]
Added ability for doublemodel to evaluate math expressions using exp4j, fixed typeover issue and made the doublemodel more robust to incorrect input.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@691 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded convenience function RocketComponent.getMotorMounts() returning List<MotorMount>.
kruland2607 [Wed, 16 May 2012 06:49:04 +0000 (06:49 +0000)]
Added convenience function RocketComponent.getMotorMounts() returning List<MotorMount>.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@690 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded UNITS_WINDSPEED so the preferred units for entering wind speed can be configure...
kruland2607 [Wed, 16 May 2012 06:36:58 +0000 (06:36 +0000)]
Added UNITS_WINDSPEED so the preferred units for entering wind speed can be configured separately from rocket velocities.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@689 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRefactor ExtendedThrustCurveMotor so it extends ThrustCurveMotor instead of delegates...
kruland2607 [Wed, 16 May 2012 06:27:02 +0000 (06:27 +0000)]
Refactor ExtendedThrustCurveMotor so it extends ThrustCurveMotor instead of delegates to a member variable.  This is so when rockets are deserialized from orc files, the ThrustCurveMotors in the Rocket are actually ExtendedThrustCurveMotors.  We will use this in the motor configuration editor system.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@688 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded clone() implementation to support the ThrustCurveMotor copy constructor. Added...
kruland2607 [Wed, 16 May 2012 06:18:54 +0000 (06:18 +0000)]
Added clone() implementation to support the ThrustCurveMotor copy constructor.  Added serialVersionUID constant from the previous implementation to provide backwards compatibility with serialzied data in the android database.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@687 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded protected copy constructor which makes a deep copy. This is used in the androi...
kruland2607 [Wed, 16 May 2012 06:17:22 +0000 (06:17 +0000)]
Added protected copy constructor which makes a deep copy.  This is used in the android application so ExtendedThrustCurveMotor can extend ThrustCurveMotor instead of use delegation.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@686 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoConstrain preset editor on existing files to only use populated Materials; minor...
rodinia814 [Wed, 16 May 2012 02:13:18 +0000 (02:13 +0000)]
Constrain preset editor on existing files to only use populated Materials; minor other cleanup.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@685 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoWire in save for OpenRocketDocument.
kruland2607 [Tue, 15 May 2012 23:01:39 +0000 (23:01 +0000)]
Wire in save for OpenRocketDocument.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@684 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRemove done todo. This should have been removed long ago when the motor list actuall...
kruland2607 [Tue, 15 May 2012 22:59:31 +0000 (22:59 +0000)]
Remove done todo.  This should have been removed long ago when the motor list actually worked with PersistentExpandableListFragment.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@683 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRename SimulationFragment to SimulationViewFragment.
kruland2607 [Tue, 15 May 2012 21:11:58 +0000 (21:11 +0000)]
Rename SimulationFragment to SimulationViewFragment.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@682 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdd a little padding to make table easier to read.
kruland2607 [Tue, 15 May 2012 21:11:16 +0000 (21:11 +0000)]
Add a little padding to make table easier to read.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@681 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoEnhance the Simulation Events Dialog so it shows more like a table with altitude...
kruland2607 [Tue, 15 May 2012 20:58:48 +0000 (20:58 +0000)]
Enhance the Simulation Events Dialog so it shows more like a table with altitude and velocity values as well as time.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@680 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRefactor the Motor Configuration Spinner so it could be reused.
kruland2607 [Tue, 15 May 2012 20:57:01 +0000 (20:57 +0000)]
Refactor the Motor Configuration Spinner so it could be reused.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@679 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoChange from ClassLoader.getSystemResourceAsStream to ClassLoader.getResourceAsStream...
kruland2607 [Tue, 15 May 2012 20:43:26 +0000 (20:43 +0000)]
Change from ClassLoader.getSystemResourceAsStream to ClassLoader.getResourceAsStream since it is android safe.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@678 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRename to ComponentPresetEditor
rodinia814 [Tue, 15 May 2012 04:38:27 +0000 (04:38 +0000)]
Rename to ComponentPresetEditor

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@677 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded ability to open *.csv files to menu.
rodinia814 [Tue, 15 May 2012 04:35:33 +0000 (04:35 +0000)]
Added ability to open *.csv files to menu.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@676 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoPut the loadMotor() method back since it is useful to python bindings.
kruland2607 [Tue, 15 May 2012 04:28:14 +0000 (04:28 +0000)]
Put the loadMotor() method back since it is useful to python bindings.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@675 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded menu bar and menu items.
rodinia814 [Sat, 12 May 2012 04:19:47 +0000 (04:19 +0000)]
Added menu bar and menu items.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@674 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFix up the logic for showing and using the aft/fore match diameter switches.
kruland2607 [Fri, 11 May 2012 18:06:33 +0000 (18:06 +0000)]
Fix up the logic for showing and using the aft/fore match diameter switches.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@673 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoChange epsilon in the row filter to be 5mm instead of 1mm.
kruland2607 [Fri, 11 May 2012 18:05:44 +0000 (18:05 +0000)]
Change epsilon in the row filter to be 5mm instead of 1mm.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@672 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoUpon further investigation getMinimum and getMaximum in the SpinnerNumberModel is...
kruland2607 [Fri, 11 May 2012 18:05:14 +0000 (18:05 +0000)]
Upon further investigation getMinimum and getMaximum in the SpinnerNumberModel is only used to determine the text box size.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@671 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFix sorting on double columns.
kruland2607 [Fri, 11 May 2012 03:38:58 +0000 (03:38 +0000)]
Fix sorting on double columns.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@670 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded dummy ComponentPresetDatabase to Application.
kruland2607 [Fri, 11 May 2012 03:23:03 +0000 (03:23 +0000)]
Added dummy ComponentPresetDatabase to Application.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@669 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded new methods from the Preferences interface for the presets. Android will not...
kruland2607 [Fri, 11 May 2012 03:22:27 +0000 (03:22 +0000)]
Added new methods from the Preferences interface for the presets.  Android will not support presets so they return nothing.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@668 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoSwitch to a LinkedBlockingQueue in front of the loader thread pool because it elimina...
kruland2607 [Fri, 11 May 2012 03:21:27 +0000 (03:21 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@667 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded example file using presets.
kruland2607 [Fri, 11 May 2012 03:19:55 +0000 (03:19 +0000)]
Added example file using presets.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@666 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded delete button to preset row in table.
rodinia814 [Fri, 11 May 2012 03:02:35 +0000 (03:02 +0000)]
Added delete button to preset row in table.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@665 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRefactored preset GUI for unit of measure spinners; added launch lug, parachute,...
rodinia814 [Thu, 10 May 2012 23:51:26 +0000 (23:51 +0000)]
Refactored preset GUI for unit of measure spinners; added launch lug, parachute, and streamer editors.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@664 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoExclude the plugin and component preset parsers from android build.
kruland2607 [Thu, 10 May 2012 14:49:59 +0000 (14:49 +0000)]
Exclude the plugin and component preset parsers from android build.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@663 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoA little refactoring of ComponentPreset xml file parsing since android does not suppo...
kruland2607 [Thu, 10 May 2012 14:38:36 +0000 (14:38 +0000)]
A little refactoring of ComponentPreset xml file parsing since android does not support JAXB.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@662 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoupdated change log.
kruland2607 [Thu, 10 May 2012 03:27:38 +0000 (03:27 +0000)]
updated change log.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@661 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded PageFitPrintStrategy and related files to print multiple fins, transitions...
dyster2000 [Thu, 10 May 2012 02:48:13 +0000 (02:48 +0000)]
Added PageFitPrintStrategy and related files to print multiple fins, transitions, and nosecones onto the same page(s)

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@660 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded support for Unit 'in/64' which is inches with fractional representation. Doubl...
kruland2607 [Thu, 10 May 2012 02:48:07 +0000 (02:48 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@659 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoImplement a multithreaded pipeline to load the component preset files. This greatly...
kruland2607 [Wed, 9 May 2012 02:01:57 +0000 (02:01 +0000)]
Implement a multithreaded pipeline to load the component preset files.  This greatly reduces the time to load them.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@657 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoGive the threads names to facilitate thread performance analysis.
kruland2607 [Wed, 9 May 2012 02:00:54 +0000 (02:00 +0000)]
Give the threads names to facilitate thread performance analysis.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@656 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRenamed the PresetTest helper class to PresetAssertHelper. This keeps ant unittest...
kruland2607 [Tue, 8 May 2012 18:13:52 +0000 (18:13 +0000)]
Renamed the PresetTest helper class to PresetAssertHelper.  This keeps ant unittest from carping about a *Test.java file which contains no tests.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@655 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRework the ThrustCurve motor loading process to be highly parallel. This significant...
kruland2607 [Tue, 8 May 2012 17:57:46 +0000 (17:57 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@654 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoMultithread the orc loading process.
kruland2607 [Mon, 7 May 2012 14:43:50 +0000 (14:43 +0000)]
Multithread the orc loading process.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@653 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRegenerated preset files.
kruland2607 [Mon, 7 May 2012 01:35:18 +0000 (01:35 +0000)]
Regenerated preset files.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@652 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdd slightly better sorting to the manufacturer and partno columns. It attempts...
kruland2607 [Mon, 7 May 2012 01:34:23 +0000 (01:34 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@651 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoupdated French translation
bdureau [Sun, 6 May 2012 20:08:37 +0000 (20:08 +0000)]
updated French translation

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@650 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoChange the InvalidComponentPresetException so it reports all errors found in a preset...
kruland2607 [Sun, 6 May 2012 13:27:30 +0000 (13:27 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@649 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFixes to number validation and component type combo box selectability.
rodinia814 [Sun, 6 May 2012 00:42:32 +0000 (00:42 +0000)]
Fixes to number validation and component type combo box selectability.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@648 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoInitial GUI for editing and saving component presets. See ComponentPresetPanel.main...
rodinia814 [Sat, 5 May 2012 02:23:14 +0000 (02:23 +0000)]
Initial GUI for editing and saving component presets.  See ComponentPresetPanel.main() for standalone execution.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@647 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoImplement MaterialHolder, a container for the Material objects loaded during processi...
kruland2607 [Fri, 4 May 2012 20:11:33 +0000 (20:11 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@645 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoSort the collections prior to serialization since that makes the output a little...
kruland2607 [Fri, 4 May 2012 20:08:47 +0000 (20:08 +0000)]
Sort the collections prior to serialization since that makes the output a little easier to search.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@644 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoDon't use the default material database when loading componentpreset files.
kruland2607 [Fri, 4 May 2012 20:07:20 +0000 (20:07 +0000)]
Don't use the default material database when loading componentpreset files.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@643 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded LaunchLug, Streamer and Parachute ComponentPresets.
kruland2607 [Tue, 1 May 2012 17:40:55 +0000 (17:40 +0000)]
Added LaunchLug, Streamer and Parachute ComponentPresets.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@642 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoMake initializeLogging method public since it is a rather nice function to set up...
kruland2607 [Tue, 1 May 2012 17:25:10 +0000 (17:25 +0000)]
Make initializeLogging method public since it is a rather nice function to set up logging infrastructure.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@641 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoMove the component preset selection box outside of the first tab and under the compon...
kruland2607 [Tue, 1 May 2012 17:18:41 +0000 (17:18 +0000)]
Move the component preset selection box outside of the first tab and under the component name.  Adjusted the MigLayout parameters to the labels align.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@640 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoFix giantleaprocketry's TCData.csv, added it to the build.xml and committed the gener...
kruland2607 [Sun, 29 Apr 2012 02:43:55 +0000 (02:43 +0000)]
Fix giantleaprocketry's TCData.csv, added it to the build.xml and committed the generated orc file.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@635 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoSupport for base64 images in .orc; performance improvement to the JAXBContext
rodinia814 [Sat, 28 Apr 2012 03:16:42 +0000 (03:16 +0000)]
Support for base64 images in .orc; performance improvement to the JAXBContext

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@633 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoJavadoc fix
rodinia814 [Fri, 27 Apr 2012 22:08:58 +0000 (22:08 +0000)]
Javadoc fix

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@632 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRebuilt orc files with new parser and orc format.
kruland2607 [Fri, 27 Apr 2012 20:12:54 +0000 (20:12 +0000)]
Rebuilt orc files with new parser and orc format.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@629 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoVariety of changes to the orc file processing. Added unit annotations to all lengths...
kruland2607 [Fri, 27 Apr 2012 20:09:27 +0000 (20:09 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@628 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded special processing for rocksim csv component files when the mass is specified...
kruland2607 [Fri, 27 Apr 2012 19:06:54 +0000 (19:06 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@627 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoSwitch component preset loading from using the temporary csv format to orc formatted...
kruland2607 [Thu, 26 Apr 2012 21:14:38 +0000 (21:14 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@623 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded build target which translates rocksim component directories in resources-src...
kruland2607 [Thu, 26 Apr 2012 21:12:35 +0000 (21:12 +0000)]
Added build target which translates rocksim component directories in resources-src into ORC format in resources.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@622 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRefactored the rocksim csv component parser system to allow for more flexible column...
kruland2607 [Thu, 26 Apr 2012 21:10:34 +0000 (21:10 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@621 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoUpdated cz translations
bdureau [Thu, 26 Apr 2012 20:50:21 +0000 (20:50 +0000)]
Updated cz translations

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@620 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded convience method UnitGroup.getUnit( String ) which returns the Unit correspondi...
kruland2607 [Thu, 26 Apr 2012 18:20:10 +0000 (18:20 +0000)]
Added convience method UnitGroup.getUnit( String ) which returns the Unit corresponding to the abbreviation.  Throws IllegalArgumentException if the requested unit does not exist.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@619 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded optional Thickness element/property.
kruland2607 [Thu, 26 Apr 2012 18:18:55 +0000 (18:18 +0000)]
Added optional Thickness element/property.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@618 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded optional Thickness element/property.
kruland2607 [Thu, 26 Apr 2012 18:18:35 +0000 (18:18 +0000)]
Added optional Thickness element/property.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@617 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoAdded filled property. Made Filled and Mass optional by using objects instead of...
kruland2607 [Thu, 26 Apr 2012 18:18:00 +0000 (18:18 +0000)]
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.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@616 180e2498-e6e9-4542-8430-84ac67f01cd8

12 years agoRemoved performance rocketry rocksim component files since they no longer sell retail.
kruland2607 [Thu, 26 Apr 2012 01:57:04 +0000 (01:57 +0000)]
Removed performance rocketry rocksim component files since they no longer sell retail.

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@615 180e2498-e6e9-4542-8430-84ac67f01cd8