Larry Li
7cb0d427d4
dart test performance with aot compilation
2020-01-19 21:20:44 +11:00
Larry Li
46bd9e5569
add dart target
2020-01-19 18:22:06 +11: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
f9cb658daa
Update PHP Runtime to latest version
2020-01-18 10:20:39 -08:00
parrt
6c4b491d1b
set version to 4.8-1 to fix release
2020-01-18 09:39:46 -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
441fea52b1
update to 4.3 version
2020-01-16 12:05:03 -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
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
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
Felix N
5be29fd61d
Merge branch 'master' into master
2019-12-09 10:53:50 +01: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
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
Felix Nieuwenhuizen
9029af3ef4
Fix for CMake 3.14
2019-11-17 14:09:35 +01:00
Gerasimos Dimitriadis
437c5a7b9a
Merge branch 'master' into master
2019-11-14 23:52:19 +02:00
jerry_liu
fa4b498fc2
Add pretty print AST
2019-11-11 21:33:04 +08:00
Alexei Averchenko
4f86ad5c17
Merge branch 'master' into master
2019-10-31 18:15:30 +03: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
zqlu
c37ef7e0ea
Fix main entry point for JavaScript runtime npm package
2019-10-22 20:31:36 +08: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
15e6619ddc
Merge branch 'master' into patch-1
2019-10-10 10:43:40 -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
033bb7f8c5
fix toString()
2019-09-29 13:57:20 -07:00
Terence Parr
818c6be691
Merge branch 'master' into fix-javascript-hashing-bug
2019-09-22 08:46:37 -07:00
Marcos Passos
789d746636
PHP Target
2019-09-14 09:39:58 -03:00
neko1235
f88f763983
Remove the match_calls counter
...
This fixes the potential data race caused by unsynchronized concurrent access.
2019-09-10 22:44:42 -07:00
neko1235
db0a57c6ee
Increment match_calls atomically
...
This ensures the correctness of the counter value, i.e. the value is the number of calls to the match() method.
2019-09-10 21:16:49 -07:00
neko1235
e2b1ae7c79
Fix data race in LexerATNSimulator
...
There is a potential memory consistency problem.
2019-09-10 16:01:16 -07:00
João Henrique
ae28213343
Python3 XPath: Use Token.INVALID_TYPE instead of -1 on getXPathElement
2019-09-05 14:29:25 -03:00
João Henrique
b0eb1825fb
Spaces/Tabs mishap
2019-09-04 16:43:12 -03:00
João Henrique
8da2ce3044
Added XPath test on Python3 target
2019-09-04 16:02:39 -03:00
João Henrique
f15a9f7628
Prevent XPath from returning the same node multiple times in Python3
2019-09-04 15:53:02 -03:00
João Henrique
ae2a689a68
Fixed missing XPathLexer.STRING case
2019-09-04 15:33:24 -03:00
João Henrique
4c2f091e8c
Style touch-ups on Python3 XPath implementation
2019-09-04 14:34:19 -03:00
João Henrique
ff1283affb
General XPath fixes for the Python3 runtime
2019-09-03 19:21:42 -03:00
Eric Vergnaud
56eb0a3fab
fix 2 erroneous calls, thanks @akaJes
2019-08-24 01:47:12 +08:00
Eric Vergnaud
3e258c5d9d
avoid hashCode == 0
2019-08-24 01:46:11 +08:00
Eric Vergnaud
165dfa2b70
use same hash code whether readOnly or not
2019-08-24 01:45:31 +08:00