5201 Commits

Author SHA1 Message Date
Kevin Ruland
3f47bda9e4 Bump version number. 2012-06-22 02:14:20 +00:00
Kevin Ruland
b72e425d6d Use the new conversion utilities for delays. This fixes the problems with Plugged delays showing up as large numbers. 2012-06-22 02:12:48 +00:00
Kevin Ruland
513e5ed9d1 Add some additional utilities for working with delays. 2012-06-22 02:11:37 +00:00
Kevin Ruland
1b9f514dc7 Don't allow editing the "no motor" configuration since it cannot be editied. 2012-06-22 02:09:38 +00:00
Kevin Ruland
077147d5d1 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. 2012-06-21 19:10:06 +00:00
Kevin Ruland
f6e841ef94 Update achartengine to 1.0.0 from 0.7.0. 2012-06-21 13:22:54 +00:00
Kevin Ruland
a2ad986a2f Print the manufacturer and part number of the preset component in the bill of materials. 2012-06-20 18:09:45 +00:00
Bill Kuker
8babd54f4f 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.
2012-06-20 00:34:02 +00:00
Kevin Ruland
79d1fe38e3 Bump beta version to b4. 2012-06-18 21:11:09 +00:00
Kevin Ruland
641e1c2791 Added new icons from android-15 sdk. Made load and save action bar items show up if there is room for them. 2012-06-18 21:04:35 +00:00
Kevin Ruland
4d7d6455c9 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. 2012-06-18 21:02:31 +00:00
Kevin Ruland
eb1c257ab5 When saving the ork file, save all the simulation data. 2012-06-18 20:59:34 +00:00
Sampo Niskanen
660a53ec28 Potential plugin structure 2012-06-18 19:58:58 +00:00
Sampo Niskanen
723539619c Component preset updates 2012-06-18 19:48:57 +00:00
Kevin Ruland
64cb6b3040 Fire the simulation changed message when resumed so any background simulation execution results are displayed. 2012-06-18 02:51:04 +00:00
Kevin Ruland
d9b637f02a Don't show the ime until one of the text fields are selected. 2012-06-18 02:50:19 +00:00
Kevin Ruland
bdb8298979 Change around the handling for navigation from the action bar. 2012-06-18 01:48:17 +00:00
Kevin Ruland
cfac7dcc81 Fix the delay entry handling. 2012-06-18 01:47:21 +00:00
Kevin Ruland
dc5c1c070c 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. 2012-06-15 14:13:04 +00:00
Kevin Ruland
0b6810946c moveOnToViewer() actually calls finish(). So just return here. 2012-06-15 14:10:39 +00:00
Kevin Ruland
a896c5a87c Register the handler object in onResume so the application can restart correctly. 2012-06-15 14:09:55 +00:00
Kevin Ruland
61a78f49a7 Bumped beta version. 2012-06-14 13:28:30 +00:00
Kevin Ruland
0461ea5ced Rework the loader activity base class so it is compatible with ICS. 2012-06-14 13:17:55 +00:00
Kevin Ruland
90c2bdb7d8 Generate new launcher icons which have a bigger globe. This makes the icon more prominent on the destktop. 2012-06-14 13:12:33 +00:00
Kevin Ruland
db55191f2d Update to ActionBarSherlock 4.1.0. 2012-06-14 13:03:36 +00:00
Kevin Ruland
8b66af7441 Changed due to Simulation api change. 2012-06-13 16:41:02 +00:00
Kevin Ruland
1f0bcf6730 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. 2012-06-13 16:37:18 +00:00
Kevin Ruland
72ce4f8468 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. 2012-06-13 16:28:03 +00:00
Boris du Reau
a21b3cedf5 Added credit for Czech translations 2012-06-12 18:14:25 +00:00
Bill Kuker
6695f92ab1 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!)
2012-06-11 20:25:41 +00:00
Richard Graham
71b36bc481 - Implemented copying of custom expressions to other simulations in expression builder dialog. Note the small changes to various files are to allow simulations access to parent document.
- Switched to unicode char escapes
- Removed dynamic setting of flightdatatype priority
- Now hiding up down arrows in custom expression pane when unusable
- Localized custom expression operator discriptions.
2012-06-11 04:47:49 +00:00
Kevin Ruland
225d502896 Bump version number in prep for a round of testing. 2012-06-10 01:39:13 +00:00
Kevin Ruland
1fcf661ff3 Added fliskits component catalog. Collected by hand entry from web and submitted by bill carpenter. 2012-06-06 20:19:20 +00:00
Kevin Ruland
909aa211d0 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. 2012-06-06 18:03:43 +00:00
Kevin Ruland
00dfe40706 Change MaterialDTO.asMaterial() to convert the current object into a Material object. It no longer attempts to look it up in the database. 2012-06-06 18:02:01 +00:00
Kevin Ruland
1c0f70806d When validating the xml we don't need the returned value so don't bother assigning it to anything. 2012-06-06 18:00:57 +00:00
Kevin Ruland
90afd989f3 Add method to extract the List<Materials> from the parsed file. 2012-06-06 17:58:49 +00:00
Kevin Ruland
e49c6a1481 Added conversion constructor from List<Material>. 2012-06-06 17:56:32 +00:00
Kevin Ruland
5667442265 Populate the Materials section of the output file with those materials referenced from the presets being saved. 2012-06-06 12:10:38 +00:00
Kevin Ruland
1a6b3e471b 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. 2012-06-06 12:09:39 +00:00
Kevin Ruland
89ff888c27 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. 2012-06-06 12:07:18 +00:00
Doug Pedrick
17fa9ae55d Added most recently used design file list to File menu. 2012-06-06 02:22:19 +00:00
Kevin Ruland
540097aed4 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. 2012-06-05 18:13:20 +00:00
Kevin Ruland
fb1262897d Discovered a couple more shape parameter values used in RockSim csv files. 2012-06-05 18:10:04 +00:00
Kevin Ruland
274f646124 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. 2012-06-05 13:57:37 +00:00
Kevin Ruland
ad265733bd Change to inherit from Sherlock classes. 2012-06-05 13:47:15 +00:00
Bill Kuker
4ca77ba513 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.
2012-06-04 22:50:16 +00:00
Kevin Ruland
56f157a7a5 Added UnitGroup.fromUnit which delegates to UnitGroup.getDefaultUnit().fromUnit. 2012-06-04 19:17:05 +00:00
Kevin Ruland
0250f29f26 Added local foreground service which runs simulations. Wired into the SimulationEditFragment. 2012-06-04 19:16:27 +00:00
Kevin Ruland
63290b98e4 Use sendMessage instead of dispatchMessage so the message can be sent from a different thread. 2012-06-04 19:12:57 +00:00