Kevin Ruland
da430d3611
Applied patch for l10n supplied by Russian Uss.
2012-08-20 02:02:38 +00:00
Richard Graham
3aedbaa19f
Fixed table sorting bug in custom expression variable and operator selector windows.
...
Previously, correct item was not inserted if the table had been sorted by clicking on the column headers.
2012-08-18 07:18:13 +00:00
Richard Graham
23825ec9a1
Fixed of-by-one bug in trapz integrator
2012-08-17 07:09:51 +00:00
Richard Graham
22a81bc9be
Fixed negative number bug in exp4j and custom expressions.
2012-08-17 06:21:37 +00:00
Sampo Niskanen
ceeade06b4
Negative number test
2012-08-13 20:47:29 +00:00
Kevin Ruland
ebf2bdd5bd
Only show a few important events by default.
2012-08-10 21:13:41 +00:00
Kevin Ruland
2ad8310a3c
Have the SimulationPlotConfigDialog be populated with the currently selected items.
2012-08-10 20:56:38 +00:00
Kevin Ruland
43b269c0f4
Change the implementation of ArrayUtils.range to include the stop value if it is a multiple of step.
2012-08-10 20:03:21 +00:00
Kevin Ruland
ead406e852
Exploded the exp4j source into our src/ directory. This allows us to more easily modify changes we make to the source. I inlined one call to Arrays.copyOf.
2012-08-10 19:13:50 +00:00
Kevin Ruland
3c4e33e355
Removed calls to String.isEmpty which is not available on Froyo.
2012-08-10 19:11:02 +00:00
Kevin Ruland
301067e301
Added unit tests and fixed rounding problem in ArrayUtils.range().
2012-08-10 19:09:27 +00:00
Bill Kuker
7c5524f1fc
Add a great amount of verbose debugging
2012-08-09 18:02:25 +00:00
Kevin Ruland
65074713cc
The only way I found to get the exp4j classes to be built and included in the apk was to have it reside in the libs directory. Unfortunately this means it is committed twice in the repository now.
...
Added the CustomExpressionSimulationListener to the simulation in SimulationService.
Excluded OSXStartup from the build.
2012-08-09 15:55:13 +00:00
Kevin Ruland
cb2a3d0e90
Fix commit from revision 953 which reverted a bunch of changes related to Froyo compatibility.
2012-08-09 15:04:36 +00:00
Kevin Ruland
91ac8deb7d
Minor changes for Froyo compatibility.
2012-08-09 13:02:53 +00:00
Kevin Ruland
3cc439e490
Removed the old exp4j-0.2.9.jar and corrected the build.xml to use the new exp4j-rdg.jar.
2012-08-08 02:38:18 +00:00
Kevin Ruland
a5c3c1ac76
Rework the CustomExpression evaluation to use SimulationListeners. Removed the OpenRocketDocument member variable from the Simulation object.
2012-08-08 02:24:40 +00:00
Kevin Ruland
2b802c2f7d
Make preset favorites per component type. That is, a single preset can be a favorite for Tube Couplers, but not be a favorite for Body Tubes.
2012-08-07 16:31:00 +00:00
Richard Graham
a66876049c
Updated custom exp4j to a java 1.5 version
2012-08-06 18:10:24 +00:00
Kevin Ruland
18fa60f844
Rolled back previous attempt at un-localizing sample files. New approach will not use this file format.
2012-08-06 13:32:52 +00:00
Richard Graham
837d13adc0
Again fixing classpath and custom exp4j
2012-08-06 00:38:25 +00:00
Richard Graham
bf668d4604
Fixed classpath for patched exp4j in repo (hopefully)
2012-08-06 00:30:03 +00:00
Richard Graham
3d5ae6752a
Big update to custom expression feature.
...
- supports range and index subexpressions and many new operators
- switched to my patched version of exp4j to support all this.
- expressions belong to rocket document. Accessed from analysis menu.
- expression importing from file
- datatypes section defined in file for storing datatypes other than internal ones
- flightdatatype fix to forget outdated types
- many GUI fixes to custom expressions
- new unitgroups supported. Auto unit detection for SI units in custom expressions.
Had to carefully merge loading/saving code with Kevins recent de-localization update. Hopefully changes to materials saving kept but switched datatype access to just using symbol as the key.
Hopefully can get the changes to exp4j upstream so we don't need to keep using this patched version.
2012-08-05 23:59:54 +00:00
Sampo Niskanen
48d094a1a9
Fix run.sh
2012-08-04 08:46:33 +00:00
Kevin Ruland
a373126c41
When creating a new user material from an existing material (ie, key), make certain to use the name associated with the material because the key might not be localizable.
2012-08-04 08:37:39 +00:00
Kevin Ruland
f9c450c79c
Add factory method which constructs a user material which uses a localizable key.
2012-08-04 03:09:36 +00:00
Kevin Ruland
59ef1b0888
escape for xml the material type key and flight data type keys.
2012-08-04 03:07:44 +00:00
Kevin Ruland
b9944d1803
Changed the loader to pull *.rkt files from zip containers.
...
Modified the BasicFrame so it doesn't automatically open the Rocket configuration dialog when opening a new rocket.
Unified the behavior for replacing (automatically closing) the base frame when opening a file, loading an example, or picking from the Most-recently-used list.
2012-08-01 19:25:50 +00:00
Kevin Ruland
8b9d866f90
Make changelog entry for material and flight data keys in ork files.
2012-08-01 19:06:22 +00:00
Kevin Ruland
77e3652249
De-localize Material and FlightDataType objects when persisting in ork files. Added a String key to each of these objects which holds on to a unique identifier which is stored in the ork file. User defined Materials are given a key which is defined as "UserDefined." + name.
...
The construction pattern for Material has changed so explicitly passing in the userDefined boolean is no longer required. Instead there are two different factory methods to be used. Direct construction of Material derived classes is no longer allowed.
The persistence mechanism for Materials in perferences has changed. It will now persist the key and name but still supports reading old format.
The example files have been regenerated, but will need to be regenerated again prior to an official build in order to get the version string correct.
2012-07-31 21:20:55 +00:00
Kevin Ruland
be8827c226
Fix refresh bug which sometimes happens when the plot configuration is changed. Sometimes after changing the configuration drop down (at the top), the y series combo boxes disappeared.
2012-07-31 18:03:52 +00:00
Boris du Reau
3a53e160e9
updated German translations
2012-07-29 17:58:59 +00:00
Kevin Ruland
064dd7f4fa
More changes to make Froyo compatible.
2012-07-26 14:19:48 +00:00
Kevin Ruland
1eb8f3203f
Added way to delete motor configurations through long click in the configurations tab.
2012-07-25 21:26:40 +00:00
Kevin Ruland
e73c5500a5
Changed order of motors to be by total impulse. This seems like a more natural and understandable ordering given that designation may have leading numbers (CTI).
2012-07-25 21:25:44 +00:00
Kevin Ruland
009569cf74
Fix fence post bug which happens when a motor config is removed from the rocket while still used by a simulation.
2012-07-25 21:24:19 +00:00
Kevin Ruland
bf692096fd
Removed dead class.
2012-07-25 21:23:10 +00:00
Kevin Ruland
5f02647c6f
Correct spelling in description.
2012-07-20 03:34:18 +00:00
Kevin Ruland
671f980f51
Testing with the Nexux 7 7" tablet, the landscape xlarge views are tolerable, but the portrait xlarge views are not. So we move the layout-xlarge-land layouts to layout-large-land.
2012-07-19 15:34:51 +00:00
Kevin Ruland
963a80768a
Tweak the thrustcurve search dialog title so it isn't too long.
2012-07-19 15:18:19 +00:00
Kevin Ruland
52f0e0cf90
Had to reimplement getValue to not use TreeMap/SortedMap apis unavailable in Froyo. Added some comments so it should be easier to read. Test cases continue to pass.
2012-07-19 14:45:48 +00:00
Kevin Ruland
51f98b71aa
Froyo had troubles with the old table layout. Changed instead to the same layout style as used in the simulation edit/run dialog. Added a localizable title string.
2012-07-19 14:44:39 +00:00
Kevin Ruland
4b9cc99710
Set the width on the parent element instead of forcing the job on the buttons.
2012-07-19 14:42:55 +00:00
Kevin Ruland
5603cda3ce
Explicitly allow the dialog to be dismissed with touching outside.
2012-07-19 14:40:57 +00:00
Kevin Ruland
4d7a585ca7
Froyo doesn't support SharedPreferences.Editor.apply(). Need to use commit() instead.
2012-07-19 14:38:53 +00:00
Kevin Ruland
425612afd4
Tweak the button layouts on the initial screen.
2012-07-18 21:20:23 +00:00
Kevin Ruland
492f5bdeb2
Had to implement Arrays.copyOf for doubles because froyo doesn't have that either.
2012-07-18 20:29:05 +00:00
Kevin Ruland
a44e1c3df8
Use dialog style for the download form.
2012-07-18 17:58:19 +00:00
Kevin Ruland
2410496ad3
Added an icon for motor download. It's using the search icon which isn't perfect but I can't do better.
2012-07-18 17:57:40 +00:00
Kevin Ruland
056f28e21f
Sort on the group query.
2012-07-18 17:56:48 +00:00