Commit Graph

496 Commits

Author SHA1 Message Date
jdf efa30ef644 Simple attempt to fix #35 2010-04-11 20:11:37 +00:00
jdf 7ef19d8fa4 Fix spurious error message emitted by bracket code. 2010-04-10 16:14:37 +00:00
jdf 3b3b23d433 Fix #1450 2010-04-09 02:23:26 +00:00
jdf 87195a9a97 Fix bug1532, and in the process utterly destroy mode-detection problems by moving mode detection out of the parser, and into Java-land (in PdePreprocessor.java). 2010-04-08 02:31:34 +00:00
jdf dd3865cfbe Fix 1534 2010-04-07 00:49:22 +00:00
benfry c48813a07c glgraphics et al to use correct export template (bug #1530) 2010-04-03 16:26:44 +00:00
benfry a0a8c8ea97 starting revision 0184 2010-03-31 14:41:22 +00:00
benfry 8e2cb68a1b deal with android sdk version problems, also other minor tweaks, prep 0183 2010-03-31 13:39:58 +00:00
jdf ddcf68233b First ever unit test for AutoFormat! 2010-03-30 02:02:29 +00:00
benfry 141b4d98d4 starting revision 0183 2010-03-29 14:43:35 +00:00
jdf 7cba28863a Make autoformat code unit-testable 2010-03-29 01:44:53 +00:00
jdf 46c6adae54 Added access modifiers to make Editor easier to reason about. 2010-03-29 01:42:30 +00:00
jdf 7a34a25a27 Fix #1525.
Fix unit tests on non-windows systems.
2010-03-28 22:27:07 +00:00
jdf 35c31a6b4d Fix #760 2010-03-28 15:39:52 +00:00
jdf d3d5e75a39 Fix 259, and make a few aesthetic improvements to braces. Haven't fixed orphaned else yet. 2010-03-27 03:57:13 +00:00
jdf 09fed5faf9 Removing redundant variables; using the SDK; changing weird C intbooleans to booleans. 2010-03-27 02:06:42 +00:00
jdf 907ca8bcce Remove unnecessary multiple array initializations; remove unnecessary use of String constructor 2010-03-26 03:37:00 +00:00
jdf 37a43633ce Apply some code standards to make it easier to debug and fix. 2010-03-26 03:28:16 +00:00
jdf 52853d5d4e Fix many crashing and destructive formatter bugs 2010-03-26 03:26:06 +00:00
jdf 6d294f8146 Sample code for running an external beautifier 2010-03-26 03:25:33 +00:00
benfry 097f2de47a starting revision 0182 2010-03-19 21:33:48 +00:00
jdf 8b7cfbf889 Call a mode a mode, and not a programType.
Also, further dancing around with pde.g heuristics for detecting mode.
2010-03-18 15:26:55 +00:00
jdf c106742938 clean up unused source 2010-03-18 15:25:52 +00:00
jdf b126d64f81 Cleanup 2010-03-17 20:07:58 +00:00
jdf 809068ceeb Greatly improved syntax errors for poorly-closed generic type args and type params 2010-03-17 20:02:02 +00:00
jdf 7a9b5d856a Whitespace-only 2010-03-17 18:56:23 +00:00
jdf fb6aa9712c Move ProcessHelper and its friends to the processing-app, so they can be used by the unit tests 2010-03-17 18:55:58 +00:00
jdf a97a880114 Found a better way to load prefs in UTs 2010-03-17 17:29:24 +00:00
jdf 048e66b19e Several changes to make unit testing preprocessor easy.
First unit tests in... and they caught a regression!
2010-03-17 17:16:34 +00:00
jdf 6faae1dc7b My "helpful" message was worse than nothing. 2010-03-17 03:15:13 +00:00
jdf b34c76afb8 Fix http://dev.processing.org/bugs/show_bug.cgi?id=1516 2010-03-16 19:50:13 +00:00
jdf 59af901475 adding author tags so you can blame 2010-03-16 19:43:44 +00:00
jdf 8bb8c5fc47 adding author tags so you can blame 2010-03-16 19:43:06 +00:00
jdf 7fc6c3d70b Many changes to improve the decoupling and testability of the preprocessor. For example, you no longer have to set up anything on the filesystem in order to preprocess. 2010-03-16 19:40:09 +00:00
jdf e4d577e6c1 While changing PdePreprocessor to make it more amenable to unit tests, I discovered a bug in my last fix. This fixes the bug while changing the construction of PdePreprocessor. Now instead of emitting the literal text "public" while walking the tree, I modify the tree to contain the "public" modifier on methods that lack explicit access. 2010-03-16 17:55:26 +00:00
jdf 6df54d74dd Fix http://dev.processing.org/bugs/show_bug.cgi?id=1515 2010-03-16 15:36:00 +00:00
jdf dc7dc187ea Just whitespace. 2010-03-16 15:35:08 +00:00
benfry a6136c8dc6 starting revision 0181 2010-03-16 06:07:09 +00:00
jdf e4cbfa0d26 Fix http://dev.processing.org/bugs/show_bug.cgi?id=7 2010-03-16 03:11:28 +00:00
jdf 803171a867 Fix http://dev.processing.org/bugs/show_bug.cgi?id=609 2010-03-16 02:59:44 +00:00
jdf 69ec3063e2 enable assertions for http://dev.processing.org/bugs/show_bug.cgi?id=1188 2010-03-16 02:46:36 +00:00
jdf a4e21267b6 Fix http://dev.processing.org/bugs/show_bug.cgi?id=1188 .
Of course, in order to enable assertions, you have to run the JVM with the -ea switch. Should we detect the use of assertions (easily done) and set a flag (as we do with "hasMain", etc.)?
2010-03-16 02:43:13 +00:00
jdf fa71df338b cleanup 2010-03-15 21:20:46 +00:00
jdf dc851c1b77 Fix all of the bugs related to comment processing, I think 2010-03-15 20:57:48 +00:00
jdf 70e478f1d3 Give friendlier error message for syntax disasters 2010-03-15 20:12:13 +00:00
jdf 3a2185333e Cleanup a bit 2010-03-15 19:59:42 +00:00
jdf 3e3364f4f0 Fix http://dev.processing.org/bugs/show_bug.cgi?id=1511 2010-03-15 18:47:29 +00:00
jdf 0c185f5ba1 Finally! 2010-03-15 18:47:05 +00:00
jdf 73f62d469b Remove public static state from PdePreprocessor. 2010-03-15 17:42:32 +00:00
jdf 007950b99d Fix http://dev.processing.org/bugs/show_bug.cgi?id=1362 ("new" as first expr in else block) 2010-03-15 16:50:51 +00:00