Commit Graph

2070 Commits

Author SHA1 Message Date
Sam Harwell 507f331bd0 Update CHANGES.txt 2013-03-26 18:14:04 -05:00
Sam Harwell 7d52fb7ecd Add a PNG Files filter and select it by default 2013-03-07 15:21:49 -06:00
Sam Harwell 5fdb01499d Handle the overwrite confirmation by overriding JFileChooser.approveSelection 2013-03-07 15:21:18 -06:00
Sam Harwell df2dcb6631 Merge remote-tracking branch 'bkiers/png-export-tweaks' 2013-03-07 14:54:05 -06:00
Bart Kiers c62dfdaa69 Expanded PNG export functionality. 2013-03-07 21:09:51 +01:00
Terence Parr 347375ec04 Move "png" button to the right of "OK", refactor export action to its own method 2013-03-06 15:20:30 -06:00
Sam Harwell 82a00104f6 Fix formatting problems in pull request 2013-03-06 15:15:32 -06:00
Sam Harwell d4c8db4940 Merge remote-tracking branch 'bkiers/png-export-tree' 2013-03-06 14:57:01 -06:00
Bart Kiers 39f58b95ae Added a export-to-PNG button in the dialog that is launched after invoking org.antlr.v4.runtime.misc.TestRig with the "-gui" parameter. When pressed, a PNG file of the parse tree is created in the present working directory. 2013-03-06 21:05:19 +01:00
Sam Harwell c35f5ec40c Do not require escape for $ in action when not followed by an ID start char (fixes #176) 2013-03-06 13:13:33 -06:00
Sam Harwell 56c053a5be Remove unreferenced fragment rules 2013-03-06 13:00:29 -06:00
Sam Harwell e54aa851cd Fix generation of invalid Unicode escape sequences in Java code (fixes #164) 2013-03-06 12:16:44 -06:00
Sam Harwell e0e6e0a94c Specify locale for all format operations (fixes #158) 2013-03-06 11:26:38 -06:00
Sam Harwell 2ffb12028a Directly reference ErrorType members from tests for easier cross-referencing 2013-03-06 11:09:33 -06:00
Sam Harwell a9e1b8b2b6 Change error type 146 (EPSILON_TOKEN) to a warning (fixes #180) 2013-03-06 10:55:25 -06:00
Sam Harwell fef6dd2885 Allow direct calls to left-recursive rules (fixes #161) 2013-03-06 10:48:42 -06:00
Sam Harwell 8744e65690 build.xml: Expand the *.g arg to a list of grammars before calling the ANTLR 3 tool 2013-03-02 13:18:39 -06:00
Terence Parr 21b255df54 Merge branch 'master' of github.com:antlr/antlr4 2013-03-02 10:19:37 -08:00
Terence Parr d97e88db66 antlr.org -> antlr3.org for loading jar 2013-03-02 10:19:24 -08:00
Sam Harwell 03f8d3772f Fix comparison with IntStream.EOF 2013-02-26 11:09:24 -06:00
Sam Harwell 645f80971f Merge remote-tracking branch 'sharwell/lexer-commands' 2013-02-23 17:59:15 -06:00
Sam Harwell 7018297130 Merge branch 'javatarget' 2013-02-23 17:58:50 -06:00
Sam Harwell 68050dd126 Move Java-specific character escaping code to JavaTarget, make methods in Target abstract 2013-02-23 17:56:54 -06:00
Sam Harwell b4e66f18cd Move Java "bad word" analysis to JavaTarget 2013-02-23 17:55:25 -06:00
Sam Harwell 9e1eed7614 Make Target an abstract base class, with default derived implementation JavaTarget 2013-02-23 17:55:23 -06:00
Sam Harwell b642c72845 Avoid loading the target in the CodeGenerator constructor 2013-02-23 17:55:21 -06:00
Sam Harwell d48ffa1459 Use accessors for fields in Target 2013-02-23 17:55:19 -06:00
Sam Harwell 4d854a521e Move template loading to Target 2013-02-23 17:55:17 -06:00
Sam Harwell 920d5dec8b Separate visibility and "bad word" analysis in Target 2013-02-23 17:55:15 -06:00
Sam Harwell cb298530ba Remove unused Target methods 2013-02-23 17:55:13 -06:00
Sam Harwell 371bcc83b2 Use accessor methods for CodeGenerator.templates and CodeGenerator.target 2013-02-23 17:55:11 -06:00
Sam Harwell 758c5cd37f Use lexer commands instead of actions where available 2013-02-23 16:45:16 -06:00
Terence Parr b372d4d88d add TODOs and fix a -1 to be a constant. 2013-02-23 14:03:20 -08:00
Sam Harwell 18508e2209 Do not allow raw newline characters in lexer string literals 2013-02-22 14:12:04 -06:00
Sam Harwell 1bc4c5e6a4 Do not allow raw newline characters in a lexer char set 2013-02-22 14:12:00 -06:00
Sam Harwell 08386ba2dc Simplify LEXER_CHAR_SET rule 2013-02-22 14:11:58 -06:00
Sam Harwell 53f147bb18 Clarify type widening casts 2013-02-22 14:10:17 -06:00
Sam Harwell bb36baeb21 Add a non-null default source Pair for CommonToken 2013-02-22 14:10:15 -06:00
Sam Harwell 1789e1685b Pair and Triple are immutable, and Triple is not a Pair 2013-02-22 14:09:29 -06:00
Sam Harwell 3d59e47fb4 Remove unnecessary method Utils.replace (already exists as String.replace) 2013-02-22 14:08:51 -06:00
Terence Parr c46bce3251 rm bad comment. 2013-02-18 10:27:58 -08:00
Sam Harwell adf80e166a Fix IntervalSet.add when multiple merges are required 2013-02-05 13:11:49 -06:00
Sam Harwell aae042c6db Additional IntervalSet unit test (catches underlying cause of #153) 2013-02-05 13:09:14 -06:00
Terence Parr 59f7467d68 Merge pull request #151 from metadave/dip_check_args
don't call process() if args aren't specified
2013-01-29 11:18:13 -08:00
Dave Parfitt b2d2ee348a added Dave Parfitt to contributors.txt 2013-01-29 14:14:40 -05:00
Dave Parfitt ee0dc0542a don't call process() if args aren't specified 2013-01-29 11:34:29 -05:00
Terence Parr 2bde37a8f6 Merge pull request #149 from abrown28/master
Removed extraneous spaces from the alias grun command
2013-01-28 12:49:39 -08:00
abrown28 027ebed0af Update README.txt
Removed spaces from the grun alias so copy and paste people will not get an error.
2013-01-25 13:20:29 -06:00
Sam Harwell e1cce61400 Development line is now 4.0.1 2013-01-21 19:20:01 -06:00
Sam Harwell ad9bac9519 Fix diagrams for ATNState documentation 2013-01-21 13:39:53 -06:00