kruland2607 [Thu, 23 Feb 2012 17:42:08 +0000 (17:42 +0000)]
Attempt to clean up the cursor closed problems by managing the cursor in onResume instead of onAttach.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@442
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 23 Feb 2012 17:41:23 +0000 (17:41 +0000)]
Use ActivityHelpers.goHome instead of finish() when the home button is pressed. Don't add the burnplot to the back stack so the back arrow just exits the browser activity.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@441
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 23 Feb 2012 17:38:46 +0000 (17:38 +0000)]
Use ActivityHelpers.goHome instead of finish() when the home button is pressed.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@440
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 23 Feb 2012 17:38:17 +0000 (17:38 +0000)]
Added helper function to correctly implement goHome action. Uses FLAG_ACTIVITY_CLEAR_TOP to remove all activities in between.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@439
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 23 Feb 2012 17:36:15 +0000 (17:36 +0000)]
Rewrite BurnPlotFragment to use AChartEngine for plotting instead of Androidplot.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@438
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 23 Feb 2012 17:34:43 +0000 (17:34 +0000)]
Remove unused import.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@437
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 23 Feb 2012 17:33:15 +0000 (17:33 +0000)]
Extract strings from layout files to prepare better for l10n.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@436
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 21 Feb 2012 02:55:33 +0000 (02:55 +0000)]
Revise the download and match logic so more motors are downloaded correctly. The DownloadResponse now holds on to all the results supplied from Thrustcurve so we can process them a little better. The TCMissingMotorDownloadAction chooses the motor which has the best match (giving preference to matching digest, desgination and finally RockSim files). The TCSearchAction records into the database all the motors which have a unique designation.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@435
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 21 Feb 2012 02:44:27 +0000 (02:44 +0000)]
if there are no motors in the db, display a dialog.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@434
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 21 Feb 2012 02:43:04 +0000 (02:43 +0000)]
Remove all the zoom & pan stuff because it didn't work well. Change the line color to GREEN so it just blends into the fill.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@433
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 21 Feb 2012 02:42:08 +0000 (02:42 +0000)]
Check if the directory is readable. If it is not, then display a dialog. Try to show the previous directory selected, but if that cannot be, just exit.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@432
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 21 Feb 2012 02:41:02 +0000 (02:41 +0000)]
If there is no branch data in a simulation, display a dialog and don't try to show anything.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@431
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Sun, 19 Feb 2012 18:41:04 +0000 (18:41 +0000)]
Display computer motor class in motor selection dialog
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@430
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Sun, 19 Feb 2012 08:42:53 +0000 (08:42 +0000)]
Refactored simple SAX ElementHandler to be an interface.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@429
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Sun, 19 Feb 2012 08:40:34 +0000 (08:40 +0000)]
Refactored simple SAX ElementHandler to be an interface.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@428
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Sun, 19 Feb 2012 08:23:22 +0000 (08:23 +0000)]
Fixing various issues
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@427
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 17 Feb 2012 22:10:28 +0000 (22:10 +0000)]
Only create the motor list fragment once. If it already exists, don't create it again. This was causing problems during orientation change by creating multiple overlapping lists.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@426
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 16 Feb 2012 19:25:28 +0000 (19:25 +0000)]
We cannot use the designation directly in the search. For some manufacturers (CTI), the designation provided in the burn file is not at all consistent with the designation stored in the thrustcurve.org main database. Instead we pull out what looks like the common name using a regular expression and use that.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@425
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 16 Feb 2012 19:24:12 +0000 (19:24 +0000)]
When downloading burn files, prefer RockSim formatted files of RASP since they appear to be better. In particular there is a RASP file for the AeroTech G76 which contains the incorrect motor designation of G72.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@424
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 16 Feb 2012 19:23:03 +0000 (19:23 +0000)]
Roll back previous change. It was not correct. The underlying problem was the dialog was being dismissed twice when using the TCMissingMotorDownloadAction.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@423
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 16 Feb 2012 19:22:19 +0000 (19:22 +0000)]
Populate the warning dialog with the messages. Fix the onCLick and onCancel to not finish the activity but instead make the workflow move on to the viewer.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@422
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 16 Feb 2012 19:21:55 +0000 (19:21 +0000)]
Populate the warning dialog with the messages. Fix the onCLick and onCancel to not finish the activity but instead make the workflow move on to the viewer.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@421
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 16 Feb 2012 19:20:39 +0000 (19:20 +0000)]
Warning.MissingMotor needs to have a custom equals and hashCode based on members.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@420
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 16 Feb 2012 14:52:15 +0000 (14:52 +0000)]
Can't dismiss a nonvisible dialog.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@419
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 15 Feb 2012 03:31:08 +0000 (03:31 +0000)]
Fix NPE in logging message.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@418
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 15 Feb 2012 03:26:12 +0000 (03:26 +0000)]
Added icon for motor browser menu options.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@417
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 15 Feb 2012 03:25:29 +0000 (03:25 +0000)]
Switch to GeneralRocketLoader so the app can load compressed ork files. Added dialog containing exception message when loading fails.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@416
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 14 Feb 2012 18:33:31 +0000 (18:33 +0000)]
Rework the filebrowser some to add some functionality. A "hidden" preference now stores the default directory to open. This directory is marked with a gold star. To change the default directory, you touch on a star. Added icon for directories. Added preference to control if only ork files are shown in the file browser. Changed the sort order to do the fancy "logical" sort to compare number components numerically.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@415
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Mon, 13 Feb 2012 22:31:57 +0000 (22:31 +0000)]
Added initial Russian Translations
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@414
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Mon, 13 Feb 2012 22:26:45 +0000 (22:26 +0000)]
Added Russian locale
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@413
180e2498-e6e9-4542-8430-
84ac67f01cd8
rodinia814 [Mon, 13 Feb 2012 02:31:24 +0000 (02:31 +0000)]
DGP - added component serial numbers to allow Rocksim simulations to work correctly
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@412
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 12 Feb 2012 16:29:48 +0000 (16:29 +0000)]
Use our own simple_spinner_item layout so we can style it more easily.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@411
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 12 Feb 2012 16:28:50 +0000 (16:28 +0000)]
Remove the white textColor style from the default theme - it was just causing trouble.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@410
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 11 Feb 2012 20:17:39 +0000 (20:17 +0000)]
Many style and navigation changes. Pulled in ActionBarCompat from Android sample sources to provide an action bar paradigm on pre-gingerbread devices. Changed the OpenRocket Viewer activity to use a viewpager with sliding tabs since it looks much nicer. Updated to the newest android-support-v4 jar.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@409
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Fri, 10 Feb 2012 18:00:43 +0000 (18:00 +0000)]
Support for configurable stage separation
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@408
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 10 Feb 2012 02:46:11 +0000 (02:46 +0000)]
Removed some unneeded code in MotorListFragment. Use startActivityForResult when starting the TCQueryAction so the MotorBrowserActivity knows when it is finished. The MotorBrowserActivity uses the onActivityResult to refresh the data in the fragment.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@407
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 10 Feb 2012 02:28:54 +0000 (02:28 +0000)]
Remove an unneeded FrameLayout in the ExpandableListFragment layout.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@406
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 10 Feb 2012 02:27:44 +0000 (02:27 +0000)]
Tweak the landscape layout moving the buttons up a little.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@405
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 10 Feb 2012 02:26:09 +0000 (02:26 +0000)]
Fix two layout issues with the ThrustCurve query form layout. 1) use a trick to prevent the keyboard from appearing automatically on ICS (and perhaps other) tables. 2) move the submit button to be tight to the bottom of the form since then even if the keyboard is up, you can still press it.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@404
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 9 Feb 2012 21:25:29 +0000 (21:25 +0000)]
Added new images to home screen. Very nice!
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@403
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 9 Feb 2012 20:59:22 +0000 (20:59 +0000)]
Change placeholder views in the motorbrowser from LinearLayout to FrameLayout since they are lighter.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@402
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 9 Feb 2012 04:04:29 +0000 (04:04 +0000)]
Rewrite the ThrustCurve search and download process to be orientation friendly.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@401
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 8 Feb 2012 02:32:27 +0000 (02:32 +0000)]
Second checkpoint commit of OpenRocketLoader to make it orientation change safe. Changed Main.java to register onclick listeners in java instead of the layout. Store the WarningSet in Application so it doesn't need to be serialized if the OpenRocketLoaderActivity is recreated during an orientation change. Fix the MissingMotorDialogFragment to only have the string and not the whole WarningSet. Finally completely rewrote the OpenRocketLoaderTask into a Fragment managing its own dialog.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@400
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 8 Feb 2012 02:22:45 +0000 (02:22 +0000)]
Second checkpoint commit of OpenRocketLoader to make it orientation change safe. Changed Main.java to register onclick listeners in java instead of the layout. Store the WarningSet in Application so it doesn't need to be serialized if the OpenRocketLoaderActivity is recreated during an orientation change. Fix the MissingMotorDialogFragment to only have the string and not the whole WarningSet. Finally completely rewrote the OpenRocketLoaderTask into a Fragment managing its own dialog.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@399
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 6 Feb 2012 01:31:51 +0000 (01:31 +0000)]
Rework the motor browser functionality to make it more tablet friendly.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@398
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 6 Feb 2012 01:26:43 +0000 (01:26 +0000)]
Removed a bunch of old commented out code.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@397
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 5 Feb 2012 02:47:25 +0000 (02:47 +0000)]
Changed cursor management after seeing problems in Honeycomb. Stop using managed cursors and use changeCursor.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@396
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 5 Feb 2012 02:01:12 +0000 (02:01 +0000)]
Checkpoint commit adding missing motor download workflow.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@395
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 5 Feb 2012 02:00:00 +0000 (02:00 +0000)]
Refactor TCQueryAction so it can be used from the motor browser or when resolving missing motors.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@394
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 5 Feb 2012 01:53:43 +0000 (01:53 +0000)]
Fix menus when simulations are displayed and the device is rotated. The preference menu is controlled in the SimulationViewActivity instead of the Fragment. The activity now replaces the fragment instead of adding it.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@393
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 5 Feb 2012 01:49:29 +0000 (01:49 +0000)]
Added openrocketviewer layout for xlarge portrait mode.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@392
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 5 Feb 2012 01:41:23 +0000 (01:41 +0000)]
Clean up imports.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@391
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 5 Feb 2012 01:40:57 +0000 (01:40 +0000)]
Changed DatabaseMotorFinder to have a little template pattern in it to make implementing DatabaseMotorFinderWithMissingMotors much easier.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@390
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 3 Feb 2012 15:02:04 +0000 (15:02 +0000)]
Change database name.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@389
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 3 Feb 2012 14:49:20 +0000 (14:49 +0000)]
Change hashCode and equals to use all fields. Older format of ork files did not include digest so that is not enough to compare placeholders.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@388
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 3 Feb 2012 01:38:50 +0000 (01:38 +0000)]
Improved message provided during progress.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@387
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 3 Feb 2012 01:38:09 +0000 (01:38 +0000)]
Fixed problem with logging when a single String is used for a literal not a MessageFormat template string.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@386
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 3 Feb 2012 01:37:25 +0000 (01:37 +0000)]
Added hashcode & equals based on digest. Added simple toString.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@385
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 2 Feb 2012 17:37:39 +0000 (17:37 +0000)]
Reformat.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@384
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 2 Feb 2012 02:49:44 +0000 (02:49 +0000)]
Fix up the unit preferences correctly. The preferences now show the current setting and when they are changed, the overview and simulations lists are updated.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@383
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 1 Feb 2012 02:44:37 +0000 (02:44 +0000)]
Change all calls to android.util.Log to use the AndroidLogWrapper class since it provides the ability to turn off all logging - which is desirable when making a apk for distribution.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@382
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 30 Jan 2012 03:48:42 +0000 (03:48 +0000)]
Rewrite MotorBrowser to use a fragment for the list. This is the first step in making this portion of the application look and operate better on tables.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@381
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Sun, 29 Jan 2012 18:16:39 +0000 (18:16 +0000)]
removing bin/ directory
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@380
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Sun, 29 Jan 2012 18:15:33 +0000 (18:15 +0000)]
motor loading refactoring
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@379
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Sun, 29 Jan 2012 18:13:23 +0000 (18:13 +0000)]
motor loading refactoring
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@378
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 29 Jan 2012 02:46:43 +0000 (02:46 +0000)]
Fix npe when one uses the back button to get rid of the query instead of executing a query.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@377
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 26 Jan 2012 15:36:15 +0000 (15:36 +0000)]
Rewrite the simulation graph component. It is now implemented as a fragment with a menu to configure the serieses and display a list of the flight events.
SimulationChart now implements a flyweight pattern containing the simulationId so it can be serialized allows the os to pause the application and restore most of the state of the graph. Currently the selected serieses are not persisted so the graph gets reset to the default.
The simulation view is operated in two different modes. On tablets in landscape the graph appears in the right sidepane and the list on the left. When a new simulation is selected, the old graph is pushed to the back stack. When in portrait mode or on smaller sceens, the simluation graph is in a separate activity.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@376
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 26 Jan 2012 01:02:58 +0000 (01:02 +0000)]
Removed the title bar from the OpenRocketLoaderActivity so it looks just like the main screen.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@375
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 26 Jan 2012 00:56:18 +0000 (00:56 +0000)]
Rename the class OpenRocketLoader to OpenRocketLoaderActivity to prevent confusion with the core's OpenRocketLoader.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@374
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 26 Jan 2012 00:55:08 +0000 (00:55 +0000)]
Fix import after OpenRocketLoader was repackaged.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@373
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Wed, 25 Jan 2012 21:42:20 +0000 (21:42 +0000)]
document loading refactoring
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@372
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 25 Jan 2012 17:58:52 +0000 (17:58 +0000)]
Refactor the Query & Download thread and progress management out of TCQueryActivity to allow for more reuse.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@371
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 25 Jan 2012 17:35:46 +0000 (17:35 +0000)]
Define a callback interface in the Simulation list fragment which is called with the simulation id that is selected. Implement this interface in the OpenRocketViewer which then invokes the Intent for the SimulationViewer.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@370
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 25 Jan 2012 17:33:22 +0000 (17:33 +0000)]
Modify the OpenRocketTask to send both the WarningSet and OpenRocketDocument back and display a dialog when there are warnings. The dialog is only partially implemented.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@369
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Mon, 23 Jan 2012 19:07:36 +0000 (19:07 +0000)]
motor updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@368
180e2498-e6e9-4542-8430-
84ac67f01cd8
plaa [Mon, 23 Jan 2012 19:03:24 +0000 (19:03 +0000)]
motor updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@367
180e2498-e6e9-4542-8430-
84ac67f01cd8
rodinia814 [Mon, 23 Jan 2012 03:39:47 +0000 (03:39 +0000)]
DGP - bug fix for MassObject/Shock Cord
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@366
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Mon, 23 Jan 2012 01:01:38 +0000 (01:01 +0000)]
Added special Warning object for when the system does not have motors for the ork file.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@365
180e2498-e6e9-4542-8430-
84ac67f01cd8
rodinia814 [Sun, 22 Jan 2012 22:58:08 +0000 (22:58 +0000)]
DGP - minor refactorings and added JavaDoc
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@364
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 22 Jan 2012 02:44:17 +0000 (02:44 +0000)]
Various changes to android application. Separate the loading of an ork file into the OpenRocketLoader activity. Changed OpenRocketViewer to use Fragments for each of the tab contents. Added Component, Overview and Simulations fragments for the tabs in OpenRocketViewer. Modified the graphics on the UI. Have the PreferencesActivity pack the changed preferences into the application onStop().
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@363
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Thu, 19 Jan 2012 22:12:36 +0000 (22:12 +0000)]
Italian Translation of the Tour
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@362
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Tue, 17 Jan 2012 22:16:58 +0000 (22:16 +0000)]
Added Italian locale
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@361
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Tue, 17 Jan 2012 22:02:18 +0000 (22:02 +0000)]
Initial version of the Italian translations
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@360
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 17 Jan 2012 02:58:42 +0000 (02:58 +0000)]
Removed TODO comment for launchRodVelocity.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@359
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Tue, 17 Jan 2012 02:46:49 +0000 (02:46 +0000)]
Persist the Velocity at launch rod clearance in ork file. Added to column in SimulationPanel. Added computation of Velocity at deployment in FlightData. Persist Velocity at deployment in ork file and added to SimulationPanel and DesignReport.
Added l10n message keys for new column in SimulationPanel.
Added function MathUtil.interpolate which does linear interpolation of intermediate values. This is used in FlightData for computing Velocity at deployment and Velocity at launch rod clearance.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@358
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 15 Jan 2012 03:33:15 +0000 (03:33 +0000)]
Added exclusions of the .svn directories in the linked source from OpenRocket core.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@357
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 15 Jan 2012 02:46:13 +0000 (02:46 +0000)]
Change handling of Motor Digests. The computed digest value is now stored as a member variable in the ThrustCurveMotor and avaliable through the getDigest() method. getDigest() was added to the Motor interface. All references to MotorDigest.digestMotor() were removed from the application.
The android db now stores the digest. Also changed persistance mechanism for delays to store as comma delimited string.
The TestMotorLoader is now failing because the digests have changed.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@356
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 15 Jan 2012 02:29:34 +0000 (02:29 +0000)]
Fix unit test setup which has probably been broken since the ExceptionHandler was refactored to a static object stored in the Applicaiton.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@355
180e2498-e6e9-4542-8430-
84ac67f01cd8
rodinia814 [Sat, 14 Jan 2012 05:33:15 +0000 (05:33 +0000)]
DGP - updated Rocksim export to support clusters
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@354
180e2498-e6e9-4542-8430-
84ac67f01cd8
rodinia814 [Sat, 14 Jan 2012 04:29:24 +0000 (04:29 +0000)]
DGP - updated Rocksim export to support clusters
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@353
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 14 Jan 2012 02:44:13 +0000 (02:44 +0000)]
Fix NPE caused when the FlightEvent List was made non-selectable.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@352
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 14 Jan 2012 02:43:21 +0000 (02:43 +0000)]
Convert apogee and simulation plot values to configured units.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@351
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 14 Jan 2012 02:42:21 +0000 (02:42 +0000)]
Add preference selection for Distance and Velocity.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@350
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 13 Jan 2012 21:02:12 +0000 (21:02 +0000)]
Added simple file browser functionality used when there are no applications installed to handle this task.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@349
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Fri, 13 Jan 2012 18:37:30 +0000 (18:37 +0000)]
Updated Spanish translations
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@348
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 13 Jan 2012 18:30:46 +0000 (18:30 +0000)]
Wired up computation of CP, CG, liftoff weight and stability to the configuration spinner.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@347
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Fri, 13 Jan 2012 18:29:16 +0000 (18:29 +0000)]
Show the simulation name as the chart title. Made some UI concessions because drawing the events in the graph is not currently available: Moved "draw" button to series tab, changed the list entry for the events to non-selectable simple text items.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@346
180e2498-e6e9-4542-8430-
84ac67f01cd8
bdureau [Thu, 12 Jan 2012 22:35:58 +0000 (22:35 +0000)]
Updated French translations
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@345
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 12 Jan 2012 19:51:28 +0000 (19:51 +0000)]
Reimplement motor handling so the android application relies more heavily on the OR core ThrustCurveMotor class. This involved changing the database schema and querying mechanisms. Rewriting the thrust curve download logic in net.sf.openrocket.android.thrustcurve. Fixing the motor browser, motor details, and burn plot activities. The file parsing now uses the RSE and RSP parsers from OR core.
ExtendedThrustCurveMotor class was created to hold the additional data required by the db ( the id in particular) along with the data which is useful to the browser (case info and impulse class).
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@344
180e2498-e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 12 Jan 2012 19:41:16 +0000 (19:41 +0000)]
Switch minimum sdk to 9 since OR core uses ArrayDeque which is only available in Android API 9. Note API 9 is Android 2.3 / Gingerbread, but there are no emulators available for this api version.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@343
180e2498-e6e9-4542-8430-
84ac67f01cd8