Terence Parr
2b7c32e8cf
expand path to jar.
2014-07-05 19:15:36 -07:00
Terence Parr
ad069c9e08
got unit tests working finally.
2014-07-05 19:13:05 -07:00
Terence Parr
9b76e6423c
refine error type
2014-07-05 19:08:31 -07:00
Terence Parr
1f8c124fa7
got junit tests in for Java target
2014-07-04 18:39:12 -07:00
Terence Parr
809e9ee145
make target javac simpler
2014-07-03 11:58:57 -07:00
Terence Parr
543936eefa
bring in Target.java and template files.
2014-07-03 11:46:28 -07:00
Terence Parr
2ea9d0789a
Merge pull request #657 from parrt/factor-target
...
Factor target
2014-07-03 10:55:40 -07:00
Terence Parr
e1ba264d93
move common char encoding up to Target; same works for Python.
2014-07-03 10:54:49 -07:00
Terence Parr
0b59fd5f33
zip javadoc
2014-07-03 10:27:28 -07:00
Terence Parr
5e5efc3f4f
Merge pull request #656 from jimidle/master
...
Add Sir Jim Idle to the contributors list
2014-07-02 20:50:09 -07:00
Jim Idle
914a61eae4
Correct the email address of Jim Idle
2014-07-03 11:35:11 +08:00
Jim Idle
5c43d2105d
Add Jim Idle to the list of contributors
2014-07-03 11:31:02 +08:00
Terence Parr
5b0120f6e5
Merge pull request #655 from parrt/add-bild
...
Add bild script, set version to 4.4
2014-07-02 19:11:49 -07:00
Terence Parr
775aaa6494
got javadoc DOT images in; updated font names to avoid warnings
2014-07-02 19:10:36 -07:00
Terence Parr
4bc3284412
add javadoc
2014-07-02 18:31:38 -07:00
Terence Parr
2bcf5c6b63
use 1.6 to compile
2014-07-02 12:19:21 -07:00
Terence Parr
9c7563646f
add jars to final jar
2014-07-02 10:01:15 -07:00
Terence Parr
c2154188b0
makes a jar now
2014-07-01 21:33:26 -07:00
Terence Parr
8c9d1c45ee
got an initial build script.
2014-07-01 18:18:17 -07:00
Terence Parr
07b7a4b334
I messed up the merge a bit in ErrorType. Made something into a grammar error not tool error. changed tool error back so it does not accept a token in the grammar.
2014-06-30 16:24:43 -07:00
Terence Parr
d85ea0649a
Merge branch 'err-msgs-upgrade'
...
Conflicts:
tool/src/org/antlr/v4/tool/ErrorType.java
2014-06-30 15:59:19 -07:00
Terence Parr
163ec98afc
Merge pull request #650 from parrt/null-ptr-unknown-target
...
add new panic() method, though not yet used. revert to java target if ca...
2014-06-30 15:40:37 -07:00
Terence Parr
1b7cdc4328
move templatesExist to Target
2014-06-30 15:38:15 -07:00
Terence Parr
e3fc04bda1
put good quotes back in. rm unneeded arg to left-recur msg.
2014-06-30 15:16:20 -07:00
Terence Parr
f1d782ffe1
Add convenience methods for detecting missing targets. At a few bail out points so that we don't try anything that will need code generator if we get an improper target.
2014-06-30 11:49:30 -07:00
Terence Parr
f0ab9b1415
use assoc value's token.
2014-06-30 09:26:02 -07:00
Terence Parr
36425dd59c
Big change to error messages themselves by removing single quotes for non input text stuff. Made cannot_find_tokens_file more specific (split it). Added offending token information to a lot of the messages. It now only prints the file name and not the full path to the file in error messages. Re-factored the ANTLRMessage hierarchy to share fields. Getting the offending token required number of methods to take different arguments. removed the default ST listener in the error manager as it is apparently unused. Cannot find imported grammar is now a grammar error not a tool error.
2014-06-29 21:39:15 -07:00
Terence Parr
4f7f8538ac
add new panic() method, though not yet used. revert to java target if cannot find specified target
2014-06-29 13:02:34 -07:00
Sam Harwell
5bd415b195
Merge pull request #645 from parrt/test-tokens-and-imports-dir
...
More tests of -o and -lib for .tokens files and imports, some useful refactoring.
2014-06-29 12:23:20 -05:00
Terence Parr
2e352e2697
add unit tests for -o and -lib; improve BaseTest: refactor writeFile to Utils. -o options and others not accepted by antlr().
2014-06-29 12:21:39 -05:00
Terence Parr
31aa7bf5c9
Re-factor loading profile in the streams so that I can reuse that load elsewhere. handy function.
2014-06-29 12:03:29 -05:00
Terence Parr
a07d523c81
add comment
2014-06-29 09:43:24 -07:00
Sam Harwell
fef1dd5d8d
Merge pull request #647 from sharwell/4.4-dev
...
Prepare for next development iteration
2014-06-28 22:38:21 -05:00
Sam Harwell
91206869c5
Prepare for next development iteration
2014-06-28 22:40:33 -05:00
Sam Harwell
fbd31f38fe
Merge pull request #646 from parrt/refactor-version
...
Refactor RuntimeMetaData for reuse of code. Make Target check only major/minor version.
2014-06-28 21:10:29 -05:00
Terence Parr
8937e0d16e
repl space with tabs.
2014-06-28 14:56:47 -07:00
Terence Parr
4acb1091de
refactor for reuse, make target check majorminor only.
2014-06-28 14:55:34 -07:00
Sam Harwell
b6311928c1
Merge pull request #637 from sharwell/release/4.3
...
Release/4.3
2014-06-18 21:28:24 -05:00
Sam Harwell
7d88b0106a
[maven-release-plugin] prepare for next development iteration
2014-06-18 21:25:44 -05:00
Sam Harwell
201eeb147d
[maven-release-plugin] prepare release 4.3
2014-06-18 21:24:24 -05:00
Terence Parr
3e6e218f46
Merge pull request #636 from sharwell/consistent-versions
...
Consistent versions
2014-06-18 17:56:31 -07:00
Sam Harwell
bbac283ba2
Add @since documentation to key new exposed API types/methods
2014-06-18 19:48:07 -05:00
Sam Harwell
a72058bc67
Update dependency versions
2014-06-18 19:37:30 -05:00
Sam Harwell
3378be9c79
Update all version numbers for consistency prior to the 4.3 release
2014-06-18 19:37:29 -05:00
Terence Parr
db1f8e6499
Merge pull request #635 from sharwell/relax-versioning
...
Relax versioning
2014-06-18 17:11:18 -07:00
Sam Harwell
6949e832d9
Updated comments to clarify recent changes in code
2014-06-18 19:12:26 -05:00
Sam Harwell
7b88a6dbeb
Update the assignment of Tool.VERSION ( fixes #634 )
...
* Reference RuntimeMetaData.VERSION so there are fewer version numbers to update during a release
* Assign the value in a static initializer so it's not a compile-time constant
2014-06-18 17:43:47 -05:00
Sam Harwell
2be522f009
Relax the default version mismatch listener to only throw an exception if the major or minor version components do not match
2014-06-18 17:41:28 -05:00
Sam Harwell
f7a840c764
Move RuntimeMetaData.VERSION field to the top of the source file
2014-06-18 17:07:43 -05:00
Sam Harwell
6701202f66
Merge pull request #631 from sharwell/javadoc-issues
...
Fix documentation errors reported during the build
2014-06-17 06:33:09 -05:00