debian/openrocket
11 years agoJOGL Based support for a 3D view of the rocket.
bkuker [Mon, 11 Jun 2012 20:25:41 +0000 (20:25 +0000)]
JOGL Based support for a 3D view of the rocket.
Change to RocketPanel to add 3D option.
Change to build process to use a Jar-in-Jar technique, not Fat Jar, using the Eclipse projects jar-in-jar loader. (Does not require eclipse!)

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

11 years ago- Implemented copying of custom expressions to other simulations in expression builde...
richardgraham [Mon, 11 Jun 2012 04:47:49 +0000 (04:47 +0000)]
- 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.

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

11 years agoBump version number in prep for a round of testing.
kruland2607 [Sun, 10 Jun 2012 01:39:13 +0000 (01:39 +0000)]
Bump version number in prep for a round of testing.

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

11 years agoAdded fliskits component catalog. Collected by hand entry from web and submitted...
kruland2607 [Wed, 6 Jun 2012 20:19:20 +0000 (20:19 +0000)]
Added fliskits component catalog.  Collected by hand entry from web and submitted by bill carpenter.

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

11 years agoChange OpenRocketComponentSaver unmarshal function to return the whole OpenRocketComp...
kruland2607 [Wed, 6 Jun 2012 18:03:43 +0000 (18:03 +0000)]
Change OpenRocketComponentSaver unmarshal function to return the whole OpenRocketComponentDTO instead of just the contained components.  This gives the ComponentPresetEditor a change to grab the Materials in the file for use in the ui.

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

11 years agoChange MaterialDTO.asMaterial() to convert the current object into a Material object...
kruland2607 [Wed, 6 Jun 2012 18:02:01 +0000 (18:02 +0000)]
Change MaterialDTO.asMaterial() to convert the current object into a Material object.  It no longer attempts to look it up in the database.

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

11 years agoWhen validating the xml we don't need the returned value so don't bother assigning...
kruland2607 [Wed, 6 Jun 2012 18:00:57 +0000 (18:00 +0000)]
When validating the xml we don't need the returned value so don't bother assigning it to anything.

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

11 years agoAdd method to extract the List<Materials> from the parsed file.
kruland2607 [Wed, 6 Jun 2012 17:58:49 +0000 (17:58 +0000)]
Add method to extract the List<Materials> from the parsed file.

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

11 years agoAdded conversion constructor from List<Material>.
kruland2607 [Wed, 6 Jun 2012 17:56:32 +0000 (17:56 +0000)]
Added conversion constructor from List<Material>.

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

11 years agoPopulate the Materials section of the output file with those materials referenced...
kruland2607 [Wed, 6 Jun 2012 12:10:38 +0000 (12:10 +0000)]
Populate the Materials section of the output file with those materials referenced from the presets being saved.

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

11 years agoChange the semantics of MaterialHolder.getXXXMaterial( Material ), instead of returni...
kruland2607 [Wed, 6 Jun 2012 12:09:39 +0000 (12:09 +0000)]
Change the semantics of MaterialHolder.getXXXMaterial( Material ), instead of returning the material used as the argument if the material is not in the map, it returns null.  This make the methods more similar to standard hash collections.

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

11 years agoExplicitly create the writerThread to be an executor with an unbounded linked blockin...
kruland2607 [Wed, 6 Jun 2012 12:07:18 +0000 (12:07 +0000)]
Explicitly create the writerThread to be an executor with an unbounded linked blocking queue.  I have sometimes seen rejected exceptions (which should never happen) using the Executors.newSingleThreadExecutor which makes me doubt the documentation.

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

11 years agoAdded most recently used design file list to File menu.
rodinia814 [Wed, 6 Jun 2012 02:22:19 +0000 (02:22 +0000)]
Added most recently used design file list to File menu.

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

11 years agoFixed two bugs. When the data in the table was sorted, the incorrect row in the...
kruland2607 [Tue, 5 Jun 2012 18:13:20 +0000 (18:13 +0000)]
Fixed two bugs.  When the data in the table was sorted, the incorrect row in the model was being manipulated.  Fixed the problem where the derived materials (based on component's mass value) were being placed in the materials list.

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

11 years agoDiscovered a couple more shape parameter values used in RockSim csv files.
kruland2607 [Tue, 5 Jun 2012 18:10:04 +0000 (18:10 +0000)]
Discovered a couple more shape parameter values used in RockSim csv files.

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

11 years agoTweak the style for the main and loader activities so the action bar is transparent...
kruland2607 [Tue, 5 Jun 2012 13:57:37 +0000 (13:57 +0000)]
Tweak the style for the main and loader activities so the action bar is transparent expect for the overflow button.  This looks much nicer on ICS.

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

11 years agoChange to inherit from Sherlock classes.
kruland2607 [Tue, 5 Jun 2012 13:47:15 +0000 (13:47 +0000)]
Change to inherit from Sherlock classes.

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

11 years agoDelete file with problematic name, "staged."
bkuker [Mon, 4 Jun 2012 22:50:16 +0000 (22:50 +0000)]
Delete file with problematic name, "staged."
It can not exist on windows while the identical file "staged" also exists.
This file is unreferenced.
It must be here by mistake.

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

11 years agoAdded UnitGroup.fromUnit which delegates to UnitGroup.getDefaultUnit().fromUnit.
kruland2607 [Mon, 4 Jun 2012 19:17:05 +0000 (19:17 +0000)]
Added UnitGroup.fromUnit which delegates to UnitGroup.getDefaultUnit().fromUnit.

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

11 years agoAdded local foreground service which runs simulations. Wired into the SimulationEdit...
kruland2607 [Mon, 4 Jun 2012 19:16:27 +0000 (19:16 +0000)]
Added local foreground service which runs simulations.  Wired into the SimulationEditFragment.

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

11 years agoUse sendMessage instead of dispatchMessage so the message can be sent from a differen...
kruland2607 [Mon, 4 Jun 2012 19:12:57 +0000 (19:12 +0000)]
Use sendMessage instead of dispatchMessage so the message can be sent from a different thread.

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

11 years agoMake separate method for notifySimsChanged since this is useful without creating...
kruland2607 [Mon, 4 Jun 2012 19:02:56 +0000 (19:02 +0000)]
Make separate method for notifySimsChanged since this is useful without creating or deleting a simulation (for example when a simulation is done executing).

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

11 years agoFix a bug where the motor configuration was not being pulled correctly. It is stored...
kruland2607 [Mon, 4 Jun 2012 18:59:45 +0000 (18:59 +0000)]
Fix a bug where the motor configuration was not being pulled correctly.  It is stored in the options.

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

11 years agoAdded exp4j and ExpressionParser to the android build. These are now required becaus...
kruland2607 [Mon, 4 Jun 2012 15:57:58 +0000 (15:57 +0000)]
Added exp4j and ExpressionParser to the android build.  These are now required because of the changes in core for expressions in simulations.

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

11 years agoRemoved some debugging junk and fixed a null pointer exception.
richardgraham [Mon, 4 Jun 2012 05:56:24 +0000 (05:56 +0000)]
Removed some debugging junk and fixed a null pointer exception.

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

11 years agoFixed issue where symbols / units for FlightDataTypes would not be defined after...
richardgraham [Mon, 4 Jun 2012 03:08:29 +0000 (03:08 +0000)]
Fixed issue where symbols / units for FlightDataTypes would not be defined after loading a .ork file with data defined. Data types now figured out from the name when loading .ork file.

Also changed the priority of the data types so that custom expressions show up first.

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

11 years agoRemove dependency on awt.Window from CustomExpression since this makes the android...
kruland2607 [Sat, 2 Jun 2012 23:43:36 +0000 (23:43 +0000)]
Remove dependency on awt.Window from CustomExpression since this makes the android app very upset.

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

11 years agoAdded new feature : user configurable custom expression evaluation for the simulation...
richardgraham [Sat, 2 Jun 2012 17:58:47 +0000 (17:58 +0000)]
Added new feature : user configurable custom expression evaluation for the simulation, driven by exp4j.

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

11 years agoRefactor the RocketDocument and corresponding data and methods out of Application...
kruland2607 [Sat, 2 Jun 2012 04:47:18 +0000 (04:47 +0000)]
Refactor the RocketDocument and corresponding data and methods out of Application and into CurrentRocketHolder and CurrentRocket.

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

11 years agoDelete empty directories after making TreeViewList a library.
kruland2607 [Sat, 2 Jun 2012 04:18:33 +0000 (04:18 +0000)]
Delete empty directories after making TreeViewList a library.

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

11 years agoCheckpoint commit with many different changes. Made the Configuration and Simulation...
kruland2607 [Sat, 2 Jun 2012 04:06:02 +0000 (04:06 +0000)]
Checkpoint commit with many different changes.  Made the Configuration and Simulation "add" buttons to be action bar items.  Added Handler to act as a listener mechansims so the OpenRocketViewer can update fragments when the rocket is modified.  Added MotorConfigSpinner as custom View which is more usable than MotorConfigSpinnerAdapter.

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

11 years agoMore accurate fin marking guide circumference computation - taking into account paper...
rodinia814 [Thu, 31 May 2012 20:10:46 +0000 (20:10 +0000)]
More accurate fin marking guide circumference computation - taking into account paper thickness and rounding up on
fractional print points.

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

11 years agoSupport for different size clusters in centering ring template.
rodinia814 [Thu, 31 May 2012 03:06:22 +0000 (03:06 +0000)]
Support for different size clusters in centering ring template.

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

11 years agoPrint support for clustered centering rings.
rodinia814 [Wed, 30 May 2012 22:41:01 +0000 (22:41 +0000)]
Print support for clustered centering rings.

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

11 years agoAdded ruler graphic to printed output; improvements to layout and margins in printing...
rodinia814 [Mon, 28 May 2012 04:28:26 +0000 (04:28 +0000)]
Added ruler graphic to printed output; improvements to layout and margins in printing; bug fix in PrintUnit; other
minor printing related cleanup.

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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