2852 Commits

Author SHA1 Message Date
Sampo Niskanen
03c2fb45df Fix NPE 2012-09-19 04:16:27 +00:00
Sampo Niskanen
3ff98a01d2 Fix NPE 2012-09-19 04:13:57 +00:00
Kevin Ruland
e68fbafde9 Oops, commited syntax errors. 2012-09-19 02:49:02 +00:00
Kevin Ruland
12b3211def added StringUtil class contain isEmpyt( String ) implementation. This method is not available on Froyo and having a convenience function is useful. Modified all places in the code currently using "".equals(). 2012-09-18 01:41:51 +00:00
Kevin Ruland
d59648316c Protect against null values in Prefix Key generation. 2012-09-18 01:39:24 +00:00
Kevin Ruland
fc8c771548 Fix bug - manufacturers cannot be ordered with AlphanumComparator because they are not Strings. Instead just use the default sorting provided. 2012-09-18 01:35:28 +00:00
Sampo Niskanen
ba8621a792 Build version to 12.09dev 2012-09-16 18:16:03 +00:00
Sampo Niskanen
cf68f13590 Release 12.09 2012-09-16 14:29:59 +00:00
Sampo Niskanen
9ed7836999 Remove invalid unit test 2012-09-16 12:39:45 +00:00
Kevin Ruland
1542b2ee08 More localization updates by Ruslan Uss. 2012-09-15 22:54:27 +00:00
Richard Graham
4172bb3bf6 - Workaround for bug with plotting when given INF value.
- Fixed bug with hashing which was not dependent on symbol and would thus give same hash for the range expressions applied to a different variable
- Fixed bug with hashing in which a < could weirdly show up due to unhandled - sign in original string hash
2012-09-14 05:34:21 +00:00
Boris du Reau
0a2ddd9d6e updated french translations 2012-09-12 20:47:56 +00:00
Richard Graham
c9d04f5e0a - Implemented a DampingMoment simulation listener example
- Added ability for simulation listeners to reserve their own data types. To support this:
  -- All data types can now be found from just the OpenRocketDocument (reduces some code duplication also).
  -- Custom expressions rebuilt after loading from file in case they use a listeners reserved type
- Fixed (possibly unrelated) issue where datatypes would be deleted and re-made each step if a customexpression used a range or index subexpression
2012-09-12 07:44:13 +00:00
Richard Graham
3fea838fab Fixed broken scrolling panel in custom expressions list. 2012-09-12 07:32:58 +00:00
Richard Graham
efe18d33ea Fixed problem when integrating & averaging arrays containing NaN's 2012-09-12 07:28:57 +00:00
Kevin Ruland
f5241b85cd Updated motor files from thrustcurve download. Added correction files for Quest D5 and Micro_Maxx_II. 2012-09-12 02:33:21 +00:00
Kevin Ruland
3e92068515 Updated motor files from thrustcurve download. Added correction files for Quest D5 and Micro_Maxx_II. 2012-09-12 02:30:46 +00:00
Kevin Ruland
89a83d54fc Updated motor files from thrustcurve download. Added correction files for Quest D5 and Micro_Maxx_II. 2012-09-12 01:53:50 +00:00
Kevin Ruland
b0d03cc473 More updates to localization provided by Ruslan Uss. 2012-09-11 16:10:51 +00:00
Kevin Ruland
02550a8258 Back out change log message for de-localization since that change was backed out. 2012-09-10 20:37:15 +00:00
Richard Graham
1828f9d2fb Added gravitational acceleration and propellant mass datatypes. 2012-09-05 05:14:10 +00:00
Richard Graham
4e272adb23 Changed symbol for pressure from p to P. 2012-09-03 03:57:00 +00:00
Richard Graham
daba694267 Fixed indexerror bug which happened when mouse pointer was over a blank region of the operator selector dialog. 2012-09-02 06:25:14 +00:00
Richard Graham
52685901bf Changed error on JRE bug workaround (border font null) to a warning. 2012-08-31 05:30:21 +00:00
Kevin Ruland
47a55063e5 When the OK button in the component preset dialog is pressed without selecting an item, don't change the current preset for the component. This was reported as an IndexOutOfBounds exception. 2012-08-29 13:48:32 +00:00
Kevin Ruland
265b588035 Updated 3FNC Using Presets example so it uses the presets currently deployed and does not issue a warning message. 2012-08-29 13:45:56 +00:00
Bill Kuker
0fd4ada18d - Remove GL Late-initialization. GL is now set up when RocketFigure3d is constructed. This fixes a crash / hang on Java 7.
- Splash Screen must now be closed sooner. RocketFigure3d performs this task. This fixes a crash on Linux / X11.
- Check for "-Dopenrocket.3d.disable" and do no GL setup at all if this is defined. If users find GL cause OpenRocket to crash they may specify this option and use OR (Without 3d!)
2012-08-28 22:16:17 +00:00
Kevin Ruland
d70cc32dd6 Updates to the russian translations provided by Ruslan Uss. 2012-08-28 13:38:53 +00:00
Sampo Niskanen
db2e1e9617 Document rename.sh 2012-08-27 19:48:43 +00:00
Sampo Niskanen
308203c9c9 Remove dependency on java.text.Normalize 2012-08-27 19:46:44 +00:00
Sampo Niskanen
31ace7b312 Material localization support 2012-08-25 20:10:58 +00:00
Kevin Ruland
ab4c14d3a0 Fix correctness and threading issue in new Manufacturer lookup mechanism. It was incorrect because the Manufacturer objects should be registered under the searchNames. The threading correctness is only an issue in the Manufacturer.get(String) method when the name does not exist. This is handled by using external locking mechanism. Added a unit test which exposed the problem looking for the manufacturer "Contrail_Rockets". 2012-08-24 20:31:13 +00:00
Kevin Ruland
f1e528d11f Name the UpdateInfoFetcher thread. 2012-08-24 20:19:01 +00:00
Kevin Ruland
6b364710dd Implement a primitive cache for XMLReaders. Construction of them is pretty expensive so we cache at most 10 of them an reuse them. If more than 10 are needed at any given time, they will be created though not cached. 2012-08-24 02:49:43 +00:00
Kevin Ruland
c5804a0be7 Name the loader thread and ask java to use min priority. 2012-08-24 00:26:15 +00:00
Kevin Ruland
e24b1dda9b Ask java to use min priority on the loader threads. 2012-08-24 00:22:04 +00:00
Kevin Ruland
597dabc47e Name the loading thread and ask java to push its priority down. 2012-08-24 00:21:33 +00:00
Kevin Ruland
bf14638e07 Turns out I was wrong. We should use a single JAXBContext for all threads since it's pretty expensive to create. 2012-08-24 00:20:47 +00:00
Kevin Ruland
d56298d296 Instead of using Set<Manufacturer> for the backing store use ConcurrentHashMap<String,Manufacturer>. The greately reduces contention during startup with the multiple parallel calls to Manufacturer.get(String). 2012-08-23 19:55:20 +00:00
Kevin Ruland
54ea94f76b Don't use a static JAXBContext because it has some serious thread contention when creating new unmarshallers. 2012-08-23 19:53:37 +00:00
Kevin Ruland
c34d934a55 Allow the preset loading system to function if there are no orc files. 2012-08-23 19:52:39 +00:00
Kevin Ruland
de27df7c09 Remove the exp4j-rdg.jar file since we are including the source code in the project. 2012-08-23 02:42:30 +00:00
Kevin Ruland
ba1c0fd2fa Removed FIXME comment since I'm convinced the test case is correct. Recall these tests were originally in a main loop. 2012-08-23 02:37:51 +00:00
Kevin Ruland
413225b474 Tweak the pool sizes and allow for longer time to load things. This improves reliability on slower platforms. 2012-08-23 02:30:11 +00:00
Kevin Ruland
9c6191529c Replace non ascii character with UTF-8 encoded string. The build checks for non-ascii characters. 2012-08-23 02:29:26 +00:00
Kevin Ruland
8969a73600 Change FIXMEs to TODOs. Actually they might not be an issue at all. 2012-08-23 02:28:19 +00:00
Kevin Ruland
0c9db36841 Ensure we have a BufferedInputStream when loading presets. 2012-08-23 02:27:29 +00:00
Kevin Ruland
8219e5cd31 Removed fixme by logging problem. 2012-08-23 02:26:55 +00:00
Kevin Ruland
086d9b37dc Removed FIXME comment. 2012-08-23 02:26:13 +00:00
Kevin Ruland
d79793b643 Removed FIXME comment. 2012-08-23 02:25:45 +00:00