]>
git.gag.com Git - debian/openrocket/log
kruland2607 [Wed, 9 May 2012 02:37:05 +0000 (02:37 +0000)]
froyo has problems parsing real urls. We trick it by using the three argument URL constructor.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@658
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 24 Mar 2012 01:57:38 +0000 (01:57 +0000)]
Change from java.util.ArrayDeque to net.sf.openrocket.util.SimpleStack since the ArrayDeque is not available on Froyo.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@485
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 24 Mar 2012 01:56:16 +0000 (01:56 +0000)]
Added a simple stack implementation based on ArrayList since java.util.ArrayDeque is not available on Froyo.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@484
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 24 Mar 2012 01:39:35 +0000 (01:39 +0000)]
Use implementation of copyOfRange from ArrayUtils.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@483
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 24 Mar 2012 01:38:54 +0000 (01:38 +0000)]
Change test to use assertArrayEquals
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@482
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 24 Mar 2012 01:37:42 +0000 (01:37 +0000)]
Implementation of java.util.Arrays.copyOfRange required for Froyo.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@481
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 22 Mar 2012 23:15:18 +0000 (23:15 +0000)]
Since Froyo doesn't support String.getBytes(Charset), implement a helper function to extract bytes from strings.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@480
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 22 Mar 2012 23:13:03 +0000 (23:13 +0000)]
Set minSdkVersion to 8 to try to support Froyo.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@479
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Thu, 22 Mar 2012 21:57:46 +0000 (21:57 +0000)]
Create branch from tags/Release_12.03. The purpose of this branch is to
make 12.03 release compatible with the Android Froyo OS.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/branches/froyo_12.03@478
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 21:20:55 +0000 (21:20 +0000)]
Tagging release 12.03
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/tags/Release_12.03@472
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 21:15:42 +0000 (21:15 +0000)]
Release 12.03
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@470
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 21:13:09 +0000 (21:13 +0000)]
Release 12.03
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@469
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 20:35:21 +0000 (20:35 +0000)]
Remove test dependency on Swing
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@468
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 20:34:44 +0000 (20:34 +0000)]
Fix build script
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@467
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 20:19:52 +0000 (20:19 +0000)]
Guided tour updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@466
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 20:18:49 +0000 (20:18 +0000)]
Guided tour updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@465
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 19:54:46 +0000 (19:54 +0000)]
Switch places of CD and material
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@464
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 16:05:58 +0000 (16:05 +0000)]
Move resource sources
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@463
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 16:01:13 +0000 (16:01 +0000)]
Add resources-src directory
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@462
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 17 Mar 2012 15:58:41 +0000 (15:58 +0000)]
Fin import updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@461
180e2498 -e6e9-4542-8430-
84ac67f01cd8
bdureau [Thu, 15 Mar 2012 22:28:30 +0000 (22:28 +0000)]
French and Spanish translations updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@460
180e2498 -e6e9-4542-8430-
84ac67f01cd8
bdureau [Wed, 14 Mar 2012 23:23:28 +0000 (23:23 +0000)]
Translations updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@459
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Wed, 14 Mar 2012 07:03:32 +0000 (07:03 +0000)]
Importing of image to freeform fin set
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@458
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 14 Mar 2012 01:31:56 +0000 (01:31 +0000)]
Turn off debugging and logging in preparation for a release.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@457
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 14 Mar 2012 01:29:43 +0000 (01:29 +0000)]
Have the star field visible under the actionbar in ICS and Honeycomb devices.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@456
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Tue, 13 Mar 2012 06:01:43 +0000 (06:01 +0000)]
Fixed leaking threads in simulations
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@455
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 10 Mar 2012 21:12:33 +0000 (21:12 +0000)]
Fix tests
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@454
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 10 Mar 2012 15:03:02 +0000 (15:03 +0000)]
Guided tour updates
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@453
180e2498 -e6e9-4542-8430-
84ac67f01cd8
plaa [Sat, 10 Mar 2012 14:29:32 +0000 (14:29 +0000)]
Copyright + web page update
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@452
180e2498 -e6e9-4542-8430-
84ac67f01cd8
bdureau [Fri, 9 Mar 2012 23:03:02 +0000 (23:03 +0000)]
Updated Russian translations
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@451
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 29 Feb 2012 18:13:20 +0000 (18:13 +0000)]
Added a version string to the main layout.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@450
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 29 Feb 2012 18:11:41 +0000 (18:11 +0000)]
Trimmed off some of the additional margin on the bottom and right side.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@449
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Wed, 29 Feb 2012 17:55:35 +0000 (17:55 +0000)]
Update the text and make clickable hypertext.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@448
180e2498 -e6e9-4542-8430-
84ac67f01cd8
rodinia814 [Sun, 26 Feb 2012 17:21:55 +0000 (17:21 +0000)]
DGP - fix misspelling
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@447
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 26 Feb 2012 14:59:59 +0000 (14:59 +0000)]
Only keep the motor if it was parsed correctly.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@446
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 26 Feb 2012 00:31:19 +0000 (00:31 +0000)]
Added mm to browser group labels when set to diameter.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@445
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sun, 26 Feb 2012 00:27:14 +0000 (00:27 +0000)]
Failed to commit the AndroidManifest.xml when I changed the main and openrocketloader classes to use ActionBarFragmentActivity.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@444
180e2498 -e6e9-4542-8430-
84ac67f01cd8
kruland2607 [Sat, 25 Feb 2012 03:49:56 +0000 (03:49 +0000)]
Added primitive about dialog to all main windows. Added 'donate' button to main.
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@443
180e2498 -e6e9-4542-8430-
84ac67f01cd8
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