Commit Graph

7630 Commits

Author SHA1 Message Date
Larry Li c43965ff03 fix travis.yml format 2020-01-19 18:30:39 +11:00
Larry Li 29961e2bff fix travis.yml format 2020-01-19 18:29:23 +11:00
Larry Li 46bd9e5569 add dart target 2020-01-19 18:22:06 +11:00
parrt fc2e6636d6 tweak doc 2020-01-18 14:00:52 -08:00
parrt 26ab547f1c bump dev version 2020-01-18 13:58:23 -08:00
parrt f1ffc01723 [maven-release-plugin] prepare for next development iteration 2020-01-18 13:37:08 -08:00
parrt 3f41f283d1 [maven-release-plugin] prepare release antlr4-master-4.8-1 2020-01-18 13:37:01 -08:00
parrt fa499e4215 update travis to python 3.7 2020-01-18 11:09:23 -08:00
parrt 54cb3f2018 trying to get 4.8-1 to fix release (all say 4.8-1-SNAPSHOT now) 2020-01-18 10:34:27 -08:00
parrt f9cb658daa Update PHP Runtime to latest version 2020-01-18 10:20:39 -08:00
parrt a872114f61 trying to get 4.8-1 to fix release 2020-01-18 10:07:26 -08:00
parrt 6c4b491d1b set version to 4.8-1 to fix release 2020-01-18 09:39:46 -08:00
parrt 68fd66dd49 add doc for releasing 2020-01-16 15:46:58 -08:00
parrt 42512526f9 update javascript target to 4.3 2020-01-16 12:39:52 -08:00
parrt 666131841c [maven-release-plugin] prepare for next development iteration 2020-01-16 12:24:30 -08:00
parrt d569f91795 [maven-release-plugin] prepare release 4.8 2020-01-16 12:24:22 -08:00
parrt 6ad9646382 update version in code to 4.8 2020-01-16 12:18:17 -08:00
parrt 74c92f2e64 update doc to 4.3 2020-01-16 12:07:07 -08:00
parrt 441fea52b1 update to 4.3 version 2020-01-16 12:05:03 -08:00
Terence Parr 691acdc23f
Merge pull request #2711 from mike-lischke/master
C++ VS project updates for next ANTLR4 release
2020-01-03 08:32:32 -08:00
Mike Lischke e47fd9d918 Brought back a lost comment and fixed a description. 2020-01-03 14:57:04 +01:00
Mike Lischke d295462e2e Doc update for C++ target and fixes for VS 2019 builds 2020-01-03 11:54:30 +01:00
Mike Lischke c487b1a580 Create pre-built binaries for VS 2017/19 instead of older VS versions 2020-01-03 09:01:13 +01:00
Mike Lischke 8c9803481d Merge branch 'master-upstream' 2020-01-03 08:56:34 +01:00
Terence Parr ff67971f85
Merge pull request #2704 from ewanmellor/appveyor-php-74
[PHP] Fix AppVeyor tests
2019-12-17 11:17:49 -08:00
Terence Parr 1c7ccb933c
Merge pull request #2705 from marcospassos/patch-1
Add the submodule update step to the release docs
2019-12-17 11:15:27 -08:00
Marcos Passos cc0882c8cb
Add the submodule update step to the release docs 2019-12-17 16:12:16 -03:00
Ewan Mellor ce59e171cb
[PHP] Fix AppVeyor tests
Install PHP to C:\tools\php.  This fixes the AppVeyor tests, because
they were looking in C:\tools\php73, but the Chocolatey package has
recently moved to 7.4.
2019-12-17 09:53:59 -08:00
Terence Parr 4da24a261f
Merge pull request #2673 from zqlu/fix-javascript-pkg-main
Fix main entry point for JavaScript runtime npm package
2019-12-15 09:03:10 -08:00
Terence Parr b8e65bfca9
Merge pull request #2679 from tehbone/master
Fix placement of @members in Javascript target lexers
2019-12-15 09:02:08 -08:00
Terence Parr 340b95bded
Merge branch 'master' into master 2019-12-15 09:01:48 -08:00
Terence Parr 8ae756a025
Merge pull request #2472 from Roomle/fix/CppEmscripten
fix cpp cmake for emscripten
2019-12-12 09:18:30 -08:00
Markus Zancolo 1565143529
Merge branch 'master' into fix/CppEmscripten 2019-12-12 10:56:42 +01:00
Terence Parr 8be60804ab
Merge pull request #2532 from WalterCouto/test2
don't unnecessary fetch all tokens when grabbing an interval of text …
2019-12-11 08:48:54 -08:00
WalterCouto f650a0be67 Separate bug fix to Java runtimes 2019-12-11 00:40:20 -05:00
Terence Parr 242d900ba6
Merge pull request #2685 from felixn/master
Fix ExternalAntlr4Cpp.cmake to work with CMake 3.14
2019-12-09 09:13:55 -08:00
Felix N 5be29fd61d
Merge branch 'master' into master 2019-12-09 10:53:50 +01:00
Terence Parr a75c3e9318
Merge pull request #2686 from ewanmellor/swift-5
[Swift] Migrate Swift runtime to Swift 5.
2019-12-08 16:13:51 -08:00
Terence Parr 4bf2733ad6
Merge pull request #2637 from ewanmellor/tidy-test-templates
Remove unused macros from test templates.
2019-12-08 16:13:28 -08:00
Terence Parr b248d486f7
Merge pull request #2604 from ewanmellor/swift-test-robustness
[Swift] Check process exit status during tests.
2019-12-08 16:11:53 -08:00
Terence Parr 1ae00bed84
Merge pull request #2599 from ewanmellor/remove-unnecessary-travis-files
Remove unnecessary Travis files.
2019-12-08 16:11:08 -08:00
Mark Lilback 3bd5465881
[Swift] fixed compiler warnings about using var instead of let 2019-11-18 13:42:07 -08:00
Ewan Mellor a701f2b099
[Swift] Replace all uses of NSStringFromClass.
Bridging from NSString to String in Swift 5 is a transcoding operation, so
it is expensive.  Use String(describing:) instead of NSStringFromClass
to avoid this cost.
2019-11-18 13:24:28 -08:00
Ewan Mellor 10d182cf66
[Swift] Change the generation of the copyFrom method to work around SR-10260.
This bug in Swift 5's compiler causes a SIL verification error when calling
super.foo without overriding foo in the subclass.  In our case, we are
generating a copyFrom implementation in the subclass, and calling
super.copyFrom.  Crucially, the subclass implementation uses the context
subtype for the argument, which means that it doesn't actually override the
superclass's implementation.  This then tickles the SIL verification bug.

Work around this by changing our autogenerated copyFrom definition to use
ParserRuleContext as the argument type.  This means that it actually
overrides the implementation in ParserRuleContext, and so the super.copyFrom
call is generated correctly.
2019-11-18 13:24:28 -08:00
Ewan Mellor 509eeefa4a
[Swift] Migrate Swift runtime to Swift 5.
This switches from using the deprecated hashValue to hash(into:).
It also switches from using index to firstIndex (matching the change in
the standard library).

In the test template, we switch to using String directly instead of
String.characters.

This also switches all the Travis macOS tests to use the Xcode 10.2 / Mojave
image and changes the Linux Swift tests to download Swift 5.0.1.
2019-11-18 13:24:28 -08:00
Ewan Mellor 97c5057f61
[Swift] Check process exit status during tests.
Check the exit status of the processes run during the runtime-testsuite
for Swift.  This means that we'll catch low-level issues earlier.

This changeset also changes the exception handling so that exceptions
throw as far up as possible so that we don't proceed with a test when
something has already broken.
2019-11-18 13:21:06 -08:00
Felix Nieuwenhuizen 2751841753 Sign contributors.txty
Signed-off-by: Felix Nieuwenhuizen <felix@tdlrali.com>
2019-11-17 14:12:12 +01:00
Felix Nieuwenhuizen 9029af3ef4 Fix for CMake 3.14 2019-11-17 14:09:35 +01:00
Terence Parr 54daca92f7
Merge pull request #2501 from gedimitr/master
Avoid double deletion when NoViableAltException is thrown
2019-11-15 09:08:59 -08:00
Gerasimos Dimitriadis 437c5a7b9a
Merge branch 'master' into master 2019-11-14 23:52:19 +02:00