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
Terence Parr
f7ffbdeea9
Merge pull request #2505 from foxever/ast-pretty-print
...
Feature: Add pretty print AST to CPP runtime
2019-11-11 08:28:22 -08:00
liuxinfeng
cf0658a6ab
update date
2019-11-11 21:39:04 +08:00
jerry_liu
fa4b498fc2
Add pretty print AST
2019-11-11 21:33:04 +08:00
Terence Parr
3fcb6da1f6
Merge pull request #2529 from a-square/master
...
Fixed -Wreorder warning
2019-10-31 12:42:50 -07:00
Alexei Averchenko
4f86ad5c17
Merge branch 'master' into master
2019-10-31 18:15:30 +03:00
Terence Parr
0424981f4e
Merge pull request #2667 from mike-lischke/issue-2037
...
Another attempt at solving this issue
2019-10-30 08:33:39 -07:00
Mike Lischke
3ae5d90296
Fixed an error regarding wrong unique_ptr usage
...
Also added VS 2019 project files.
2019-10-30 13:35:22 +01:00
Tabari Alexander
87a99e558a
Signed contributers.txt
2019-10-29 12:11:49 -04:00
Tabari Alexander
1304e1b8d4
Fix placement of members in JS target.
...
The location of <namedActions.members> was moved be in the lexer
constructor, like it is for the parser constructor.
2019-10-29 11:36:47 -04:00
zqlu
c37ef7e0ea
Fix main entry point for JavaScript runtime npm package
2019-10-22 20:31:36 +08:00
Mike Lischke
64cd1c15f1
Merge branch 'master' into issue-2037
2019-10-14 10:52:15 +02:00
Mike Lischke
3b7872e810
Merge branch 'master-upstream'
2019-10-14 10:52:00 +02:00
Terence Parr
ad2bd05285
Merge pull request #2631 from mike-lischke/master
...
C++ code cleanup
2019-10-11 13:26:12 -07:00
Mike Lischke
4d649fbf71
Another attempt at solving this issue
...
There was already a patch to fix this issue, but it had some problems and was closed by the author after a while.
2019-10-11 14:47:39 +02:00
Mike Lischke
9723e4b9c9
C++ code cleanup
...
Converted back all TO_DO items to TODO (they were renamed ANTLR4 TODO items, but I had some for C++ which I all wanted to fix).
Also removed some default copy assignment operators which clang warned about.
2019-10-11 14:44:53 +02:00
Mike Lischke
e208be701d
Merge branch 'master-upstream'
2019-10-11 09:58:31 +02:00
Terence Parr
dda171b118
Merge pull request #2644 from neko1235/patch-1
...
Fix data race in LexerATNSimulator
2019-10-10 10:44:30 -07:00
Terence Parr
15e6619ddc
Merge branch 'master' into patch-1
2019-10-10 10:43:40 -07:00
Terence Parr
c81b4e69b6
Merge pull request #2665 from amorimjuliana/master
...
Fix codestyle and bugs in PHP.stg
2019-10-05 16:53:24 -07:00
Juliana Amorim
25fa9b0de8
Fix codestyle and bugs in PHP.stg
2019-10-05 17:03:26 -03:00
Terence Parr
ae06984751
Merge pull request #2652 from marcospassos/master
...
Remove redundant assignment, optimize autoloading and tweak code style
2019-10-04 10:54:40 -07:00
Terence Parr
d82697db1e
Merge pull request #2657 from lmy269/miliu/fixjscache
...
Fix javascript parser cache performance issue
2019-10-01 08:15:51 -07:00
miliu
35fcde7d69
add missed change
2019-09-29 20:51:31 -07:00
miliu
4a8eca579e
resolve comments
2019-09-29 20:46:30 -07:00
miliu
1736cdd3a1
Merge branch 'miliu/fixbyhashcode' into miliu/fixjscache
2019-09-29 13:59:18 -07:00
miliu
16ce0848fe
Revert "fix cache issue"
...
This reverts commit 5d4c1e2b3b
.
2019-09-29 13:58:30 -07:00