2090 Commits

Author SHA1 Message Date
Doug Pedrick
661b16bbda Support for different size clusters in centering ring template. 2012-05-31 03:06:22 +00:00
Doug Pedrick
dbd72738c5 Print support for clustered centering rings. 2012-05-30 22:41:01 +00:00
Doug Pedrick
eb0cfe141e Added ruler graphic to printed output; improvements to layout and margins in printing; bug fix in PrintUnit; other
minor printing related cleanup.
2012-05-28 04:28:26 +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
100b54ae8f Added support library for TreeViewList. Previously this code was subsumed in the android app. 2012-05-27 12:48:32 +00:00
Kevin Ruland
af01c8482b Share project "TreeViewList" into "https://openrocket.svn.sourceforge.net/svnroot/openrocket" 2012-05-27 12:46:31 +00:00
Kevin Ruland
8d8ef35835 Remove unused imports. 2012-05-26 01:50:14 +00:00
Kevin Ruland
62fe67faa0 Use the dialog theme for the file browser because it looks better on tablets. 2012-05-25 20:46:00 +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
9a54fbdb88 Correctly change configurations without changing the default configuration id. Also, select in the spinner the default configuration when constructed. 2012-05-25 18:41:53 +00:00
Doug Pedrick
134031de24 Updated for centering rings. 2012-05-24 23:31:11 +00:00
Doug Pedrick
c89c927e0c Printable Centering Ring templates. 2012-05-24 23:28:58 +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
0874a2dc13 Added ActionBarSherlock v4.0.3 library for use in the android application. ActionBarSherlock is significantly more flexible than the crummy hack of the sample ActionBarCompat which was being used. 2012-05-23 18:19:56 +00:00
Kevin Ruland
cebfdbf192 Share project "ActionBarSherlock" into "https://openrocket.svn.sourceforge.net/svnroot/openrocket" 2012-05-23 18:06:07 +00:00
Kevin Ruland
9bf29c9e83 Create a directory in which to put android library projects which are needed by the android application. 2012-05-23 18:04:11 +00:00
Kevin Ruland
85f5194c6d Correct the computation of shape mass in integrate() by computing the mass based on the integrated volume * density instead of using the super.getComponentMass(). super.getComponentMass() includes the mass of the shape as well as the shoulders. 2012-05-23 14:47:46 +00:00
Kevin Ruland
4abceb9185 Minor modification to test case which makes setting breakpoints easier. No functional or assert changes. 2012-05-23 14:38:36 +00:00
Kevin Ruland
0302130c11 My assessment of why IntegrationTest was failing was incorrect. After perusing the history I found that in repository revision 599, I introduced changes to the computation of Transition volume which accounted for the volume of the shoulders as well as the body of the transition. This change broke the computation of CG. This commit reverts IntegrationTest and adds some cg tests to SymmetricComponentVolumeTest which contains the values produced by the old code. A future commit will correct SymmetricComponent.getCG and all these tests will work again. 2012-05-23 14:23:01 +00:00
Kevin Ruland
e10ff31830 Fix IntegrationTest which was broken when the nose cone / transition volume and area computations were corrected. 2012-05-22 20:50:45 +00:00
Kevin Ruland
953082ea05 Fix BaseComponentDTOTest to point to an image file which actually exists. 2012-05-22 20:40:18 +00:00
Kevin Ruland
254e5670da Fix ComponentCompare and ComponentCompareTest. ComponentCompare needed to not verify the getMotorMounts method which was recently added. ComponentCompareTest needed to extend BaseTestCase so the materials db was initialized. 2012-05-22 20:39:29 +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
6185091ee1 Remove the android:debuggable attribute. This attribute will be automatically set correctly when one does a release build from eclipse. 2012-05-22 19:13:12 +00:00
Kevin Ruland
52dff3a511 Update the android-support-v4.jar to revision 8 April 2012. 2012-05-22 18:40:39 +00:00
Kevin Ruland
a6331b7bdd Exclude the exp4j wrapper class from this build. 2012-05-22 18:38:37 +00:00
Kevin Ruland
b9594c5ef8 Comment on the bug which clears the default configuration for a model. 2012-05-22 18:37:25 +00:00
Kevin Ruland
32ad0c1df6 Change the textual representation of fractional units to use Unicode superscripts and subscripts. Unfortunately, the default fonts included with iText do not have these characters mapped so we needed to switch to a new true type font DejaVu. Added the DejaVuSerif font definition to the resources and modified the pdf writing process to use this font. Because this font is slightly wider, the column headings in the DesignReport had to be made smaller. Finally, had to modify the ExpressionParser to convert the unicode chars to real digits in order to have the expression parser be able to work with this representation. 2012-05-22 18:36:04 +00:00
Kevin Ruland
f42e6fa85a Remove the old FractionUtil class containing the parser since we're using exp4j now. 2012-05-22 18:32:21 +00:00
Kevin Ruland
7cba979236 Change the in/64 length unit to not allow decimal representations by constructing it with an epsilon of 0.5/64. 2012-05-22 18:29:57 +00:00
Kevin Ruland
473300fa11 Use the fonts defined in PrintUtilities instead of constructing a new font every time. 2012-05-22 18:12:47 +00:00
Sampo Niskanen
9552b2de86 Expression parser updates 2012-05-22 04:11:25 +00:00
Doug Pedrick
e3f173d83e Fix to streamer loading of materials; missing material in Giant Leaps file. 2012-05-21 04:36:20 +00:00
Doug Pedrick
798f631259 Cleanup and tweaks to unit widths. 2012-05-18 04:10:26 +00:00
Kevin Ruland
a41e6ef5a3 Change label for UNIT_WINDSPEED in pref dialog to "Wind speed". 2012-05-17 14:24:22 +00:00
Kevin Ruland
c997b7bfd3 Added imperial and SI defaults for UNITS_WINDSPEED. 2012-05-17 14:23:10 +00:00
Richard Graham
5320377719 Added ability for doublemodel to evaluate math expressions using exp4j, fixed typeover issue and made the doublemodel more robust to incorrect input. 2012-05-17 06:08:05 +00:00
Kevin Ruland
ba4ceccf26 Added convenience function RocketComponent.getMotorMounts() returning List<MotorMount>. 2012-05-16 06:49:04 +00:00
Kevin Ruland
7420f5c18b Added UNITS_WINDSPEED so the preferred units for entering wind speed can be configured separately from rocket velocities. 2012-05-16 06:36:58 +00:00
Kevin Ruland
4fa4217665 Refactor ExtendedThrustCurveMotor so it extends ThrustCurveMotor instead of delegates to a member variable. This is so when rockets are deserialized from orc files, the ThrustCurveMotors in the Rocket are actually ExtendedThrustCurveMotors. We will use this in the motor configuration editor system. 2012-05-16 06:27:02 +00:00
Kevin Ruland
672239535a Added clone() implementation to support the ThrustCurveMotor copy constructor. Added serialVersionUID constant from the previous implementation to provide backwards compatibility with serialzied data in the android database. 2012-05-16 06:18:54 +00:00
Kevin Ruland
34a5c097b7 Added protected copy constructor which makes a deep copy. This is used in the android application so ExtendedThrustCurveMotor can extend ThrustCurveMotor instead of use delegation. 2012-05-16 06:17:22 +00:00
Doug Pedrick
ed629bd227 Constrain preset editor on existing files to only use populated Materials; minor other cleanup. 2012-05-16 02:13:18 +00:00
Kevin Ruland
00696ce7a3 Wire in save for OpenRocketDocument. 2012-05-15 23:01:39 +00:00
Kevin Ruland
00519d820a Remove done todo. This should have been removed long ago when the motor list actually worked with PersistentExpandableListFragment. 2012-05-15 22:59:31 +00:00
Kevin Ruland
bfbab58f51 Rename SimulationFragment to SimulationViewFragment. 2012-05-15 21:11:58 +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