72 Commits

Author SHA1 Message Date
Kevin Ruland
568b7aeb5d Fix behavior when cancelling a failure to open an Ork file. This had finished the activity when it was its own activity. Now it just cancels the dialog. 2012-07-10 03:08:03 +00:00
Kevin Ruland
fed956e2b0 Implement autosave rockets. Controlled by preference. When preference is set, the rocket is automatically saved when simulation changed events are fired. This is really too often since addSimulation should not cause rocket to be saved. 2012-07-02 21:40:14 +00:00
Kevin Ruland
b835dd08b4 Added dialog to load new file when the current file is modified. 2012-07-02 02:15:34 +00:00
Kevin Ruland
cb601364d0 Some more renaming of menu options and strings so they are more consistent. 2012-07-01 02:06:32 +00:00
Kevin Ruland
c1d8598536 Bump to b6. 2012-06-30 19:28:20 +00:00
Kevin Ruland
75d6440892 Localize some strings. 2012-06-30 19:24:48 +00:00
Kevin Ruland
bb64a32d34 Refactor. Rename SimulationSeriesDialog to SimulationPlotConfigDialog. Change names of layouts accordingly. 2012-06-30 19:16:34 +00:00
Kevin Ruland
c5122ebef5 Show events and times on the chart. The achartengine needs some work to get the labels in a better place. Enhance the SimulationSeriesDialog to allow selection of events. 2012-06-30 19:08:13 +00:00
Kevin Ruland
5ae62a2db2 Implement color indicators (green, yellow, red) for the Simulation Status in the Simulations list. This makes the list more like that on OR desktop. 2012-06-26 18:26:06 +00:00
Kevin Ruland
294aa177c4 Various fixes which should probably be broken into multiple commits:)
- Changed the way the ProgressDialog is dismissed from using some non-functional reflection code, to using a FragmentTransaction (which works)
- Added code which shows the save button only when the CurrentRocket is modified.
- Broke the save functionality into a Fragment with background Task so it is more reliable.
2012-06-25 18:30:41 +00:00
Kevin Ruland
3f47bda9e4 Bump version number. 2012-06-22 02:14:20 +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
d9b637f02a Don't show the ime until one of the text fields are selected. 2012-06-18 02:50:19 +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
61a78f49a7 Bumped beta version. 2012-06-14 13:28:30 +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
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
225d502896 Bump version number in prep for a round of testing. 2012-06-10 01:39:13 +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
0250f29f26 Added local foreground service which runs simulations. Wired into the SimulationEditFragment. 2012-06-04 19:16:27 +00:00
Kevin Ruland
cb8faf376e 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. 2012-06-02 04:06:02 +00:00
Kevin Ruland
905c7f740a Pull TreeListView from main source and include from library instead. 2012-05-27 12:57:57 +00:00
Kevin Ruland
a6a5eff5b6 Simplify the spinner styling. 2012-05-25 20:45:13 +00:00
Kevin Ruland
f7b883a4ce Removed another file not needed after moving to ActionBarSherlock. 2012-05-25 20:44:22 +00:00
Kevin Ruland
e754dab0ca 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. 2012-05-23 21:20:46 +00:00
Kevin Ruland
743ba0f57d Change to using ActionBarSherlock for the action bar compatibility. 2012-05-23 19:45:27 +00:00
Kevin Ruland
02d9954ff1 Added Configuration tab to the rocket viewer which displays all the motor configurations and allows one to create a new motor configuration. 2012-05-22 19:34:11 +00:00
Kevin Ruland
00696ce7a3 Wire in save for OpenRocketDocument. 2012-05-15 23:01:39 +00:00
Kevin Ruland
33bbc9d65b Add a little padding to make table easier to read. 2012-05-15 21:11:16 +00:00
Kevin Ruland
99d215fdd3 Enhance the Simulation Events Dialog so it shows more like a table with altitude and velocity values as well as time. 2012-05-15 20:58:48 +00:00
Kevin Ruland
a5d982aa4e Have the star field visible under the actionbar in ICS and Honeycomb devices. 2012-03-14 01:29:43 +00:00
Kevin Ruland
1784665ffd Added a version string to the main layout. 2012-02-29 18:13:20 +00:00
Kevin Ruland
5198c9e53c Trimmed off some of the additional margin on the bottom and right side. 2012-02-29 18:11:41 +00:00
Kevin Ruland
c514314ed3 Added primitive about dialog to all main windows. Added 'donate' button to main. 2012-02-25 03:49:56 +00:00
Kevin Ruland
6c4e3c6bcd Rewrite BurnPlotFragment to use AChartEngine for plotting instead of Androidplot. 2012-02-23 17:36:15 +00:00
Kevin Ruland
204b29bfb5 Extract strings from layout files to prepare better for l10n. 2012-02-23 17:33:15 +00:00
Kevin Ruland
b91bad8836 Added icon for motor browser menu options. 2012-02-15 03:26:12 +00:00
Kevin Ruland
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. 2012-02-14 18:33:31 +00:00
Kevin Ruland
844f2de727 Use our own simple_spinner_item layout so we can style it more easily. 2012-02-12 16:29:48 +00:00
Kevin Ruland
3861f21d6d Remove the white textColor style from the default theme - it was just causing trouble. 2012-02-12 16:28:50 +00:00
Kevin Ruland
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. 2012-02-11 20:17:39 +00:00
Kevin Ruland
62d58398ce Tweak the landscape layout moving the buttons up a little. 2012-02-10 02:27:44 +00:00
Kevin Ruland
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. 2012-02-10 02:26:09 +00:00
Kevin Ruland
e3924d39ac Added new images to home screen. Very nice! 2012-02-09 21:25:29 +00:00
Kevin Ruland
e7d180f120 Change placeholder views in the motorbrowser from LinearLayout to FrameLayout since they are lighter. 2012-02-09 20:59:22 +00:00
Kevin Ruland
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. 2012-02-08 02:22:45 +00:00
Kevin Ruland
3f37586278 Rework the motor browser functionality to make it more tablet friendly. 2012-02-06 01:31:51 +00:00
Kevin Ruland
ac1b718138 Added openrocketviewer layout for xlarge portrait mode. 2012-02-05 01:49:29 +00:00