Commit Graph

6864 Commits

Author SHA1 Message Date
Ewan Mellor 8ba2c0ba4f
Add entries to .gitignore for the files that are generated by
Swift Package Manager.
2017-10-20 10:12:46 -07:00
Ewan Mellor 4d628174df
Update Swift runtime documentation.
We now use boot.py and Swift Package Manager to generate the .xcodeproj
rather than having those committed in the source repo.
2017-10-20 10:12:44 -07:00
Ewan Mellor 7df0c2f478
Split the C++ tests into three groups.
Running these as a single test still intermittently times out after 40
minutes, even with the other recent csets.
2017-10-20 00:30:53 -07:00
simkimsia 3def33fdd5 Update contributors.txt 2017-10-15 16:17:23 +08:00
simkimsia 51fc50dbcb Update getting-started.md
change all mentions of 4.5.3 to 4.7 since that's what the quickstart on http://www.antlr.org/ homepage is already showing
2017-10-15 16:14:50 +08:00
Arshinskiy Mike 5297bf2697 Modified open interval logic
Added tests
2017-10-14 20:31:38 +02:00
Arshinskiy Mike d297c9ddda added initial tests for interval set 2017-10-14 15:15:41 +02:00
Ewan Mellor 5f28a5b313
Split Travis tests into three phases.
This gives a "smoke-test" phase which just runs the Java tests, to get a
quick check that compilation is working.  It is followed by the
"main-test" phase that tests each target on their preferred platform
(e.g. Swift on macOS, Python on Linux) followed by "test-extended"
which runs all the remaining tests (all the other Java variants, and
any other platforms supported by each target).

This means that those tests in the later phases won't run unless the
earlier phases have passed.  This should vastly improve our Travis
turnaround.

This changeset also changes the matrix so that we get some coverage across
all of openjdk7,8 and oraclejdk7,8 and moves the Go and Javascript tests
to Trusty just so that they are more up-to-date.  This adds one additional
Java test run, so now we compare oraclejdk8 and openjdk8 in case of
problems in that regard.

Note that the test matrix has not been extended to cover oraclejdk9.  This
currently fails for us with a build issue, so it is not included in this
changeset.

This changeset also removes the meaningless custom apt configuration in the
section for macOS .NET tests.
2017-10-13 20:14:10 -07:00
Ewan Mellor 7bd52e5518
Wrap the run-tests-$TARGET.sh with a travis_wait call.
This means that it will write a line to the log each minute while the
tests are running, up to the specified timeout.  This works around the
fact that one of Maven / Surefire / JUnit are buffering our test output
until a whole test class has run.

This is a problem in particular with the TestLeftRecursion tests because
they are taking over 9 minutes on their own.  After 10 minutes of silence
Travis assumes that a job is broken and kills it.  We've been hitting
that timeout regularly.
2017-10-13 20:14:08 -07:00
Ewan Mellor 242dbe095d
Add cache entries to .travis.yml.
This is recommended by the Travis docs to speed up the parts of the
tests where unpack / install has a significant cost, as opposed to the
download.

This changeset adds entries for ~/.m2 (for Maven) and
~/Library/Caches/Homebrew for (brew on macOS).
2017-10-13 20:13:24 -07:00
Ewan Mellor 0097838b8a
Update AppVeyor version number to 4.7.1-SNAPSHOT. 2017-10-12 16:49:03 -07:00
Terence Parr 8778ad65c4 Merge pull request #2047 from bramp/commonsetstuff
[Go] Placed the CommonSetStuff code inside a scope
2017-10-12 09:42:32 -07:00
Terence Parr 28a81b8568 Merge pull request #2038 from ericvergnaud/fix-unicode-2031
fix #2031
2017-10-12 09:40:34 -07:00
Terence Parr e35988ddc8 Merge branch 'master' into fix-unicode-2031 2017-10-12 09:39:56 -07:00
Terence Parr 7d2a0978b5 Merge branch 'master' into fix-unicode-2031 2017-10-12 09:38:16 -07:00
Ewan Mellor 5df3b2bbdf
Remove ANTLRError.nullPointer from the Swift runtime.
This was copied from the API of the equivalent code in Java when
the runtime was ported to Swift.  It is meaningless in Swift, and
was unused.
2017-10-12 00:52:44 -07:00
Terence Parr afeb2e9b88 Merge pull request #2034 from ewanmellor/jdk7
Replace oraclejdk7 with openjdk7 in .travis.yml.
2017-10-10 12:57:56 -07:00
Terence Parr c4cbcb5b58 Merge pull request #2007 from brauliobz/fragment_only_grammar
Fix codegen error (Java) when a lexer has only fragment tokens
2017-10-10 12:55:07 -07:00
Terence Parr 2b529d8529 Merge branch 'master' into fragment_only_grammar 2017-10-10 12:55:01 -07:00
Terence Parr c861e09d39 Merge pull request #1977 from nielsbasjes/EmptyGetText
Fixed empty CodePointCharStream throwing exception on getText.
2017-10-10 12:47:00 -07:00
Terence Parr 2905b8cdda Merge pull request #2045 from bramp/patch-1
bramp signed the contributors.txt
2017-10-10 12:43:49 -07:00
Terence Parr 6911cb45b5 Merge branch 'master' into patch-1 2017-10-10 12:43:40 -07:00
Terence Parr 2fabbdb589 Merge pull request #2010 from sachinjain024/patch-2
Adding mention to contributor.txt
2017-10-10 12:43:09 -07:00
Terence Parr ed5f07575d Merge branch 'master' into patch-2 2017-10-10 12:43:04 -07:00
Terence Parr 7688518116 Merge pull request #1989 from tiagomazzutti/patch-1
Update contributors.txt
2017-10-10 12:42:36 -07:00
Terence Parr 526b3f95d8 Merge branch 'master' into patch-1 2017-10-10 12:42:27 -07:00
Terence Parr 2938e7a3ab Merge pull request #1870 from KvanTTT/master
All error codes distinct
2017-10-10 12:41:50 -07:00
Terence Parr cb558ccb48 Merge pull request #1954 from kosak/no-attribute-on-enum-class
Remove the useless visibility attribute from this "enum class" declaration
2017-10-10 12:40:31 -07:00
Terence Parr c329e38775 Merge pull request #1932 from jBugman/master
Go file header complies with standardised Go 'generated code' header
2017-10-10 12:39:24 -07:00
Terence Parr f6b3571e97 Merge branch 'master' into master 2017-10-10 12:39:18 -07:00
Terence Parr 8b6f297578 Merge pull request #1973 from matthauck/ignore-cmake-policy-0054
Ignore cmake policy 0054
2017-10-10 12:36:10 -07:00
Terence Parr a308cd5d8d Merge branch 'master' into ignore-cmake-policy-0054 2017-10-10 12:36:01 -07:00
Terence Parr e78b0df51a Merge pull request #2035 from ewanmellor/fix-mvn-plugin-versions
Add some version numbers to pom.xml.
2017-10-10 12:34:46 -07:00
Terence Parr f1838a0553 Merge pull request #1984 from sharwell/set-tab-width
Set the tab width in .editorconfig so GitHub shows source properly
2017-10-10 12:34:10 -07:00
Terence Parr 51c743c80e Merge pull request #2017 from moon-fall/master
correct the version of the antlr jar package
2017-10-10 12:33:07 -07:00
Terence Parr 200b0fa806 Merge pull request #2009 from sachinjain024/patch-1
Minor formatting
2017-10-10 12:30:03 -07:00
Andrew Brampton 9f90d51442
Placed the CommonSetStuff code inside a scope, this is to avoid two _lt variables in the same scope. This happens with the mysql grammar: `build: previous declaration at mysql/mysql_parser.go:12215:6` 2017-10-06 08:06:56 -07:00
Andrew Brampton 7d6189beea bramp signed the contributors.txt 2017-10-06 07:40:35 -07:00
David Sisson cca57c9af2 Merge remote-tracking branch 'antlr/master' 2017-10-05 20:46:34 -07:00
Eric Vergnaud 6d337f9cce seems jdk7 is no longer supported 2017-09-30 17:20:35 +08:00
Eric Vergnaud 44031b544d fix #2031 2017-09-30 17:07:40 +08:00
Ewan Mellor 99d32dc861
Add some version numbers to pom.xml.
This silences warnings from Maven.
2017-09-28 16:10:26 -07:00
Ewan Mellor d95fb2ec46
Replace oraclejdk7 with openjdk7 in .travis.yml.
Oracle JDK 7 support has been withdrawn.

https://github.com/travis-ci/travis-ci/issues/7964
http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html
2017-09-28 15:48:25 -07:00
fallnirvana 41cd0309a7 correct the version of the antlr jar package
version of the antlr jar package is different from other place of this doc,and it make mistake.
2017-09-19 23:19:39 +08:00
Terence Parr e6d60007e7 Merge pull request #1956 from renatahodovan/syntax-errors
Python: add public getter to parsers to access syntax error count.
2017-09-17 11:20:56 -07:00
Terence Parr 106c413e96 Merge pull request #1958 from linux-on-ibm-z/master
fix to the ATN deserialiser issue on big endian architecture
2017-09-17 11:20:16 -07:00
Terence Parr f86835928f Merge branch 'master' into master 2017-09-17 11:20:10 -07:00
Terence Parr f8b272a721 Merge pull request #1950 from ericvergnaud/fix-naming-issue
fix inconsistent naming in target stg
2017-09-17 11:18:44 -07:00
Terence Parr a7b0afbd2f Merge pull request #1966 from venkatperi/master
Require superClass for Lexer in split mode for JavaScript target
2017-09-17 11:17:53 -07:00
Terence Parr 8f50bd0df6 Merge branch 'master' into master 2017-09-17 11:17:14 -07:00