Commit Graph

  • b1b1b91c89 Removed unused key. Kevin Ruland 2012-04-02 01:35:44 +00:00
  • 51e6bf9d44 Fix the header and type name to match new parsing. Kevin Ruland 2012-04-02 01:32:09 +00:00
  • ec4a782779 Fix dimentions in sample preset file. Kevin Ruland 2012-04-02 01:17:01 +00:00
  • 70e7936454 Updates and fixed to preset handling Sampo Niskanen 2012-04-01 19:16:25 +00:00
  • 6f465cd0a2 Reimplement ComponentPreset to be a bag of typed parameters. This provides greater flexibility. Added PresetCSVReader which reads Components from CSV files based on the headers defined in the file. Added placeholder for a Table dialog containing the ComponentPresets. Kevin Ruland 2012-04-01 03:27:45 +00:00
  • 35d96f3d53 Make the preset combo box display empty when the preset is lost due to changes in parameters. Kevin Ruland 2012-03-30 21:09:52 +00:00
  • 03209f5e75 Change the component change event to BOTH_CHANGE when the preset is modified. Kevin Ruland 2012-03-30 18:17:14 +00:00
  • 0e493ed5bc Correct startup order. Since parsing the body tube preset library uses BodyTube and therefore Material and ExternalComponent which holds on to static copies of the translator, it must be done after localization is initialized. Kevin Ruland 2012-03-29 02:53:37 +00:00
  • 6de0ea7083 Initial work on BodyTube ComponentPresets. Kevin Ruland 2012-03-29 02:47:49 +00:00
  • 6d86baa926 Spanish translations update Boris du Reau 2012-03-27 19:43:28 +00:00
  • ddc8f2e57c Fix inputting negative rotation angle values of various components Sampo Niskanen 2012-03-27 19:28:18 +00:00
  • 9c6b275e84 Change toLowerCase() to toLowerCase(Locale.ENGLISH) Sampo Niskanen 2012-03-27 11:42:31 +00:00
  • 3fa0f9ce67 DGP - design report figure honors rotation angle of main figure; added rocksim constants for future use Doug Pedrick 2012-03-25 15:56:12 +00:00
  • 09067de7cf Updated French and Spanish translation Boris du Reau 2012-03-24 17:54:22 +00:00
  • 2492a85e88 Initial plugin framework Sampo Niskanen 2012-03-20 20:19:38 +00:00
  • c5d04e3741 Remove debugging main method Sampo Niskanen 2012-03-20 19:38:53 +00:00
  • 212442d9f0 DGP - change to design figure offset to prevent the image from creeping off the top of the page Doug Pedrick 2012-03-19 05:23:54 +00:00
  • 9cfea90a52 Fin import now works with any color image Jason Blood 2012-03-18 18:28:11 +00:00
  • ec7368cbbf 12.03dev version Sampo Niskanen 2012-03-17 21:32:40 +00:00
  • d1f83aba39 Release 12.03 release-12.03 Sampo Niskanen 2012-03-17 21:15:42 +00:00
  • 5fb724ff35 Release 12.03 Sampo Niskanen 2012-03-17 21:13:09 +00:00
  • 8f6fa2121c Remove test dependency on Swing Sampo Niskanen 2012-03-17 20:35:21 +00:00
  • db47952192 Fix build script Sampo Niskanen 2012-03-17 20:34:44 +00:00
  • 453d977faf Guided tour updates Sampo Niskanen 2012-03-17 20:19:52 +00:00
  • e3b27743b6 Guided tour updates Sampo Niskanen 2012-03-17 20:18:49 +00:00
  • 7de583e459 Switch places of CD and material Sampo Niskanen 2012-03-17 19:54:46 +00:00
  • 47b5d86268 Move resource sources Sampo Niskanen 2012-03-17 16:05:58 +00:00
  • c35025c18a Add resources-src directory Sampo Niskanen 2012-03-17 16:01:13 +00:00
  • 4b6b244772 Fin import updates Sampo Niskanen 2012-03-17 15:58:41 +00:00
  • 61539df82d French and Spanish translations updates Boris du Reau 2012-03-15 22:28:30 +00:00
  • faae38ec05 Translations updates Boris du Reau 2012-03-14 23:23:28 +00:00
  • d320dc7086 Importing of image to freeform fin set Sampo Niskanen 2012-03-14 07:03:32 +00:00
  • 34b6151596 Turn off debugging and logging in preparation for a release. Kevin Ruland 2012-03-14 01:31:56 +00:00
  • a5d982aa4e Have the star field visible under the actionbar in ICS and Honeycomb devices. Kevin Ruland 2012-03-14 01:29:43 +00:00
  • ac51ec6b5a Fixed leaking threads in simulations Sampo Niskanen 2012-03-13 06:01:43 +00:00
  • dabfa28b9d Fix tests Sampo Niskanen 2012-03-10 21:12:33 +00:00
  • a406956b06 Guided tour updates Sampo Niskanen 2012-03-10 15:03:02 +00:00
  • 11339d16fb Copyright + web page update Sampo Niskanen 2012-03-10 14:29:32 +00:00
  • 63d926ae56 Updated Russian translations Boris du Reau 2012-03-09 23:03:02 +00:00
  • 1784665ffd Added a version string to the main layout. Kevin Ruland 2012-02-29 18:13:20 +00:00
  • 5198c9e53c Trimmed off some of the additional margin on the bottom and right side. Kevin Ruland 2012-02-29 18:11:41 +00:00
  • 84e3156cb9 Update the text and make clickable hypertext. Kevin Ruland 2012-02-29 17:55:35 +00:00
  • 82b28e7a75 DGP - fix misspelling Doug Pedrick 2012-02-26 17:21:55 +00:00
  • e094a43c45 Only keep the motor if it was parsed correctly. Kevin Ruland 2012-02-26 14:59:59 +00:00
  • ab74e44013 Added mm to browser group labels when set to diameter. Kevin Ruland 2012-02-26 00:31:19 +00:00
  • 0165840233 Failed to commit the AndroidManifest.xml when I changed the main and openrocketloader classes to use ActionBarFragmentActivity. Kevin Ruland 2012-02-26 00:27:14 +00:00
  • c514314ed3 Added primitive about dialog to all main windows. Added 'donate' button to main. Kevin Ruland 2012-02-25 03:49:56 +00:00
  • 1c5da14cd2 Attempt to clean up the cursor closed problems by managing the cursor in onResume instead of onAttach. Kevin Ruland 2012-02-23 17:42:08 +00:00
  • e73527b733 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. Kevin Ruland 2012-02-23 17:41:23 +00:00
  • 4958f252ef Use ActivityHelpers.goHome instead of finish() when the home button is pressed. Kevin Ruland 2012-02-23 17:38:46 +00:00
  • 466cd66461 Added helper function to correctly implement goHome action. Uses FLAG_ACTIVITY_CLEAR_TOP to remove all activities in between. Kevin Ruland 2012-02-23 17:38:17 +00:00
  • 6c4e3c6bcd Rewrite BurnPlotFragment to use AChartEngine for plotting instead of Androidplot. Kevin Ruland 2012-02-23 17:36:15 +00:00
  • 31c69313fb Remove unused import. Kevin Ruland 2012-02-23 17:34:43 +00:00
  • 204b29bfb5 Extract strings from layout files to prepare better for l10n. Kevin Ruland 2012-02-23 17:33:15 +00:00
  • 60b1477c26 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. Kevin Ruland 2012-02-21 02:55:33 +00:00
  • f72a2fe02e if there are no motors in the db, display a dialog. Kevin Ruland 2012-02-21 02:44:27 +00:00
  • 6a5dee579f 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. Kevin Ruland 2012-02-21 02:43:04 +00:00
  • 00e1f817e3 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. Kevin Ruland 2012-02-21 02:42:08 +00:00
  • 58d89c7c27 If there is no branch data in a simulation, display a dialog and don't try to show anything. Kevin Ruland 2012-02-21 02:41:02 +00:00
  • 216ba1dd00 Display computer motor class in motor selection dialog Sampo Niskanen 2012-02-19 18:41:04 +00:00
  • 02fbe90a32 Refactored simple SAX ElementHandler to be an interface. Sampo Niskanen 2012-02-19 08:42:53 +00:00
  • b211266f45 Refactored simple SAX ElementHandler to be an interface. Sampo Niskanen 2012-02-19 08:40:34 +00:00
  • 88f359c25f Fixing various issues Sampo Niskanen 2012-02-19 08:23:22 +00:00
  • b1891e1dc1 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. Kevin Ruland 2012-02-17 22:10:28 +00:00
  • 8e845590a8 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. Kevin Ruland 2012-02-16 19:25:28 +00:00
  • 178755ca90 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. Kevin Ruland 2012-02-16 19:24:12 +00:00
  • 597d4bec6a Roll back previous change. It was not correct. The underlying problem was the dialog was being dismissed twice when using the TCMissingMotorDownloadAction. Kevin Ruland 2012-02-16 19:23:03 +00:00
  • 621938dc56 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. Kevin Ruland 2012-02-16 19:22:19 +00:00
  • f5d3884ce9 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. Kevin Ruland 2012-02-16 19:21:55 +00:00
  • f3602b1484 Warning.MissingMotor needs to have a custom equals and hashCode based on members. Kevin Ruland 2012-02-16 19:20:39 +00:00
  • 4add9a88f4 Can't dismiss a nonvisible dialog. Kevin Ruland 2012-02-16 14:52:15 +00:00
  • 1cde36a461 Fix NPE in logging message. Kevin Ruland 2012-02-15 03:31:08 +00:00
  • b91bad8836 Added icon for motor browser menu options. Kevin Ruland 2012-02-15 03:26:12 +00:00
  • b8899899f8 Switch to GeneralRocketLoader so the app can load compressed ork files. Added dialog containing exception message when loading fails. Kevin Ruland 2012-02-15 03:25:29 +00:00
  • ff05c2b499 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. Kevin Ruland 2012-02-14 18:33:31 +00:00
  • 4f090843b1 Added initial Russian Translations Boris du Reau 2012-02-13 22:31:57 +00:00
  • 198a3c89fc Added Russian locale Boris du Reau 2012-02-13 22:26:45 +00:00
  • f9d621d90a DGP - added component serial numbers to allow Rocksim simulations to work correctly Doug Pedrick 2012-02-13 02:31:24 +00:00
  • 844f2de727 Use our own simple_spinner_item layout so we can style it more easily. Kevin Ruland 2012-02-12 16:29:48 +00:00
  • 3861f21d6d Remove the white textColor style from the default theme - it was just causing trouble. Kevin Ruland 2012-02-12 16:28:50 +00:00
  • 0f7a05b95b 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. Kevin Ruland 2012-02-11 20:17:39 +00:00
  • e56dabfd78 Support for configurable stage separation Sampo Niskanen 2012-02-10 18:00:43 +00:00
  • 737ede90a7 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. Kevin Ruland 2012-02-10 02:46:11 +00:00
  • 40c6999bb0 Remove an unneeded FrameLayout in the ExpandableListFragment layout. Kevin Ruland 2012-02-10 02:28:54 +00:00
  • 62d58398ce Tweak the landscape layout moving the buttons up a little. Kevin Ruland 2012-02-10 02:27:44 +00:00
  • 05996f35db 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. Kevin Ruland 2012-02-10 02:26:09 +00:00
  • e3924d39ac Added new images to home screen. Very nice! Kevin Ruland 2012-02-09 21:25:29 +00:00
  • e7d180f120 Change placeholder views in the motorbrowser from LinearLayout to FrameLayout since they are lighter. Kevin Ruland 2012-02-09 20:59:22 +00:00
  • 81cb5abcb1 Rewrite the ThrustCurve search and download process to be orientation friendly. Kevin Ruland 2012-02-09 04:04:29 +00:00
  • 21fb67f8d2 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. Kevin Ruland 2012-02-08 02:32:27 +00:00
  • 4780fb36b0 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. Kevin Ruland 2012-02-08 02:22:45 +00:00
  • 3f37586278 Rework the motor browser functionality to make it more tablet friendly. Kevin Ruland 2012-02-06 01:31:51 +00:00
  • ad86008f28 Removed a bunch of old commented out code. Kevin Ruland 2012-02-06 01:26:43 +00:00
  • 9b56d151d2 Changed cursor management after seeing problems in Honeycomb. Stop using managed cursors and use changeCursor. Kevin Ruland 2012-02-05 02:47:25 +00:00
  • 125162bcbe Checkpoint commit adding missing motor download workflow. Kevin Ruland 2012-02-05 02:01:12 +00:00
  • ae34a951a6 Refactor TCQueryAction so it can be used from the motor browser or when resolving missing motors. Kevin Ruland 2012-02-05 02:00:00 +00:00
  • 9def115330 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. Kevin Ruland 2012-02-05 01:53:43 +00:00
  • ac1b718138 Added openrocketviewer layout for xlarge portrait mode. Kevin Ruland 2012-02-05 01:49:29 +00:00
  • d3b59e68cc Clean up imports. Kevin Ruland 2012-02-05 01:41:23 +00:00
  • e2e76e823f Changed DatabaseMotorFinder to have a little template pattern in it to make implementing DatabaseMotorFinderWithMissingMotors much easier. Kevin Ruland 2012-02-05 01:40:57 +00:00