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
jdf
cb6e282312
Dead, dead, dead code.
2010-03-15 16:13:10 +00:00
jdf
300d2c866e
Fix http://dev.processing.org/bugs/show_bug.cgi?id=631 : labels
2010-03-15 16:12:42 +00:00
jdf
d54caddd93
Fix #1442 (parser only recognized void functions as indicating active mode)
2010-03-13 08:16:26 +00:00
jdf
28529ea0bd
Can't reproduce bug that necessitated this hack, so took the hack out. Confirm?
2010-03-12 21:12:45 +00:00
jdf
f9597836f1
Support static import.
2010-03-12 20:52:15 +00:00
jdf
b4664086e5
Move AST debug code, and factor out util that knows about the names of tokens.
2010-03-12 19:47:01 +00:00
jdf
07c684574c
enhanced for loop, and varargs
2010-03-12 16:42:30 +00:00
jdf
4f2795157b
Use Java5 grammar. PDE now supports type arguments and type parameters. Move grammars away from derived resources for easier and safer cleaning and maintenance.
2010-03-12 16:00:50 +00:00
benfry
da3dd8d75a
starting revision 0180
2010-03-12 01:26:41 +00:00
benfry
40d53e01a9
do revision check and set RELEASE variable based on the result
2010-03-11 17:56:39 +00:00