Commit Graph

7393 Commits

Author SHA1 Message Date
Kazuki Sawada b8ca3d0b14
Update contributors.txt 2019-09-17 23:34:35 +09:00
Kazuki Sawada c097636a9b
case-insensitive-lexing: add implementation for Python2/Python3 2019-09-17 23:33:11 +09:00
Kazuki Sawada 013dca5d7d
case-insensitive-lexing: Golang: make direct-importing possible 2019-09-17 23:33:11 +09:00
Kazuki Sawada 91f4b89ee6
case-insensitive-lexing: FIX javascript implementation does not work 2019-09-17 23:33:11 +09:00
Kazuki Sawada bc5586d708
case-insensitive-lexing: update doc: fix link to implementations 2019-09-17 23:33:11 +09:00
Terence Parr 06705edafd
Merge pull request #2645 from marcospassos/php-target
PHP Target
2019-09-14 08:34:29 -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 f11ce46ddf
Update contributors.txt 2019-09-10 16:08: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
Terence Parr cd81586d3d
Merge pull request #2613 from ImanHosseini/patch-1
Fixed TextIO compatibility with 3.6+
2019-09-10 08:19:33 -07:00
Terence Parr e38762e892
Merge branch 'master' into patch-1 2019-09-10 08:19:21 -07:00
Iman Hosseini 3c1231738e
Update contributors.txt 2019-09-10 02:29:13 -04:00
Terence Parr 05f8aaca98
Merge pull request #2638 from JohnnyonFlame/master
General XPath fixes for the Python3 runtime
2019-09-06 10:32:29 -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
Ewan Mellor f0ef1f4433
Remove unused macros from test templates.
Remove unused DeclareLocal and PlusMember macros from *.test.stg.
DeclareLocal was last used in 5c5228 (June 2015) and PlusMember was
last used in 7f16fe6 (Nov 2016).
2019-09-01 17:18:53 -07:00
Eric Vergnaud 0de9612e5d adding original contributor 2019-08-24 02:10:12 +08: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
Eric Vergnaud badee1ffe1 fix minor issue in deserializer 2019-08-24 01:44:53 +08:00
Eric Vergnaud 32470dbab4 align on other runtimes 2019-08-24 01:44:36 +08:00
Mike Lischke 6b170d647e Merge branch 'master-upstream' 2019-08-21 10:35:20 +02:00
Mike Lischke 91a50749f9 Added cmake build informations as reported in antlr4/#2606 2019-08-21 10:34:21 +02:00
Terence Parr b43a4c3a80
Merge pull request #2627 from ericvergnaud/fix-#2625
Fix #2625
2019-08-19 07:58:18 -07:00
Eric Vergnaud 7fa06602b9 @parrt fixed 2019-08-19 22:37:23 +08:00
Eric Vergnaud c4d319d11a temporarily disable other builds 2019-08-19 22:07:14 +08:00
Eric Vergnaud b50635625e add cmd line option 2019-08-19 22:06:58 +08:00
Terence Parr 2ce2ef89d3
Merge pull request #2460 from mike-lischke/master
Some non-code changes in C++ runtime
2019-08-18 07:58:10 -07:00
Mike Lischke d93857c8fe Applied recommended settings after XCode upgrade. 2019-08-18 12:27:50 +02:00
Mike Lischke 8651498f41 Merge branch 'master-upstream' 2019-08-18 11:18:41 +02:00
Iman Hosseini d667b90bc9
Fixed TextIO compatibility with 3.6+
Fixing this issue: https://github.com/antlr/antlr4/issues/2611 (and probably https://github.com/antlr/antlr4/issues/2193)
TextIO has moved since Python 3.6 so it should be imported considering the change for new versions.
2019-07-28 02:25:42 +04:30
Terence Parr e4737db19f
Merge pull request #2582 from Diffblue-benchmarks/add-diffblue-tests2
Add unit tests for org.antlr.v4.misc.Utils
2019-07-26 10:19:24 -07:00
Terence Parr 07ab6bcba9
Merge pull request #2571 from Diffblue-benchmarks/add-diffblue-tests
Add unit tests for org.antlr.v4.misc.CharSupport
2019-07-26 10:18:59 -07:00
Terence Parr c7ec183453
Merge pull request #2608 from Braavos96/patch-1
Test cases
2019-07-26 10:18:38 -07:00
Braavos c3c52bb2b5
Test cases
https://github.com/antlr/antlr4/pull/2571
2019-07-26 08:50:14 +01:00
Eric Hettiaratchi 66d8bed980 Add unit tests for org.antlr.v4.misc.CharSupport
These tests were written using Diffblue Cover.
2019-07-25 13:42:41 +01:00
Terence Parr 128983ff90
Merge pull request #2593 from abhijithneilabraham/patch-2
Update getting-started.md
2019-07-23 08:40:43 -07:00
Terence Parr 4e2afda740
Merge pull request #2601 from abhijithneilabraham/patch-3
Update contributors.txt
2019-07-23 08:40:18 -07:00
Abhijith Neil Abraham 851f02b5da
Update contributors.txt 2019-07-16 11:23:46 +05:30
Eric Hettiaratchi d2b087f90a Add unit tests for org.antlr.v4.misc.Utils
These tests were written using Diffblue Cover.
2019-07-15 09:45:16 +01:00
Ewan Mellor 115274e771
Remove unnecessary Travis files.
Remove .travis/before-install-linux-{cpp,java,python2,python3}.sh, and
remove some lines from before-install-linux-{javascript,go}.sh.

These contained apt commands for configuring the Mono project's GPG key,
which is not used in any of these builds, and pointless apt-get update
calls.
2019-07-14 16:03:13 -07:00
Terence Parr b627fffdd1
Merge pull request #2598 from ericvergnaud/use-openjdk
Use openjdk instead of oraclejdk
2019-07-14 10:25:56 -07:00