kruland2607 [Fri, 22 Jun 2012 02:14:20 +0000 (02:14 +0000)]
Bump version number.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@801
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 22 Jun 2012 02:12:48 +0000 (02:12 +0000)]
Use the new conversion utilities for delays. This fixes the problems with Plugged delays showing up as large numbers.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@800
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 22 Jun 2012 02:11:37 +0000 (02:11 +0000)]
Add some additional utilities for working with delays.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@799
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 22 Jun 2012 02:09:38 +0000 (02:09 +0000)]
Don't allow editing the "no motor" configuration since it cannot be editied.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@798
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 21 Jun 2012 19:10:06 +0000 (19:10 +0000)]
Use a different approach to prevent ForceClose after the application has been put to sleep for a long period of time. Each of the fragments in the Viewer will do their setup in onResume instead of in onCreateView. Further, the ProgressDialogFragment used in the OpenRocketLoaderFragment now exposes a dismissAllowStateLoss method so the dialog can be dismissed if the application is put in the background while loading.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@797
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 21 Jun 2012 13:22:54 +0000 (13:22 +0000)]
Update achartengine to 1.0.0 from 0.7.0.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@796
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 20 Jun 2012 18:09:45 +0000 (18:09 +0000)]
Print the manufacturer and part number of the preset component in the bill of materials.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@795
180e2498-e6e9-4542-8430-
84ac67f01cd8
bkuker [Wed, 20 Jun 2012 00:34:02 +0000 (00:34 +0000)]
Update to the latest 2.0 release candidate of JOGL (Build 57).
Move JOGL Libraries from lib/native to lib/jogl, which is less misleading.
Update .classpath and build.xml with new directory name.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@794
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 21:11:09 +0000 (21:11 +0000)]
Bump beta version to b4.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@793
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 21:04:35 +0000 (21:04 +0000)]
Added new icons from android-15 sdk. Made load and save action bar items show up if there is room for them.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@792
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 21:02:31 +0000 (21:02 +0000)]
Mark the OpenRocketViewer activity as finishOnTaskLaunch so when the application is restarted from the launcher, it goes to the Main activity which can test if the application has been unloaded from memory.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@791
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 20:59:34 +0000 (20:59 +0000)]
When saving the ork file, save all the simulation data.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@790
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Mon, 18 Jun 2012 19:58:58 +0000 (19:58 +0000)]
Potential plugin structure
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@789
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Mon, 18 Jun 2012 19:48:57 +0000 (19:48 +0000)]
Component preset updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@788
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 02:51:04 +0000 (02:51 +0000)]
Fire the simulation changed message when resumed so any background simulation execution results are displayed.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@787
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 02:50:19 +0000 (02:50 +0000)]
Don't show the ime until one of the text fields are selected.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@786
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 01:48:17 +0000 (01:48 +0000)]
Change around the handling for navigation from the action bar.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@785
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 18 Jun 2012 01:47:21 +0000 (01:47 +0000)]
Fix the delay entry handling.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@784
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 15 Jun 2012 14:13:04 +0000 (14:13 +0000)]
Tweak the main layout for Honeycomb and ICS devices. Added custom layout for these devices running on non-xlarge screens which pushes the title text down below the action bar. Fixed the style for ICS and Honeycomb to properly hide the actionbar but leave the overflow menu button.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@783
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 15 Jun 2012 14:10:39 +0000 (14:10 +0000)]
moveOnToViewer() actually calls finish(). So just return here.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@782
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 15 Jun 2012 14:09:55 +0000 (14:09 +0000)]
Register the handler object in onResume so the application can restart correctly.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@781
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 14 Jun 2012 13:28:30 +0000 (13:28 +0000)]
Bumped beta version.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@780
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 14 Jun 2012 13:17:55 +0000 (13:17 +0000)]
Rework the loader activity base class so it is compatible with ICS.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@779
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 14 Jun 2012 13:12:33 +0000 (13:12 +0000)]
Generate new launcher icons which have a bigger globe. This makes the icon more prominent on the destktop.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@778
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 14 Jun 2012 13:03:36 +0000 (13:03 +0000)]
Update to ActionBarSherlock 4.1.0.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@777
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 13 Jun 2012 16:41:02 +0000 (16:41 +0000)]
Changed due to Simulation api change.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@776
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 13 Jun 2012 16:37:18 +0000 (16:37 +0000)]
Change the initial screen handling and add file load to OpenRocketViewer activity. The OpenRocketLoaderActivity is now used as a base class for the OpenRocketViewer and Main activities. These activities now share the code used for loading ork files. The OpenRocketLoaderActivity no longer is registered in the manifest because it is not a real activity any more. The OpenRocketViewer activity now has a menu item for "load" to load a new model. The Main activity uses finish() when it transfers control to the OpenRocketViewer thus removing it from the back stack. Further, if the Main activity detects that the Application contains a rocket, it will automatically forward to the OpenRocketViewer.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@775
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 13 Jun 2012 16:28:03 +0000 (16:28 +0000)]
Make some usability improvements to the internal file browser. Don't cd when changing the preferred base directory (touching star). Don't put star on root & .. directories.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@774
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Tue, 12 Jun 2012 18:14:25 +0000 (18:14 +0000)]
Added credit for Czech translations
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@773
180e2498-e6e9-4542-8430-
84ac67f01cd8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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