Eric Vergnaud
329f1301ea
fix #3042 in JavaScript runtime
2021-01-23 17:32:06 +08:00
Eric Vergnaud
a9f11612dd
fix #3042 in Python 2 runtime
2021-01-23 17:23:45 +08:00
Eric Vergnaud
7a9a26c7ec
fix #3042 in Python 3 runtime
2021-01-23 17:22:17 +08:00
Eric Vergnaud
53b65c015c
fix #3042 in C# runtime
2021-01-23 17:04:01 +08:00
ericvergnaud
1095804388
Fix swift warnings ( #3043 )
...
* fix warnings when compiling swift runtime
* more warnings gone
* more warnings gone
* Revert "more warnings gone"
This reverts commit a09e221c41
.
2021-01-22 11:33:29 +08:00
Eric Vergnaud
5dce78c87a
Fix typo
2021-01-21 17:23:44 +08:00
Alexander Bigerl
680a42e023
No building tests/samples for external utfcpp
2021-01-19 09:06:21 +01:00
parrt
464bcbc32d
tweak doc
2021-01-05 13:20:45 -08:00
parrt
19ec50f38a
[maven-release-plugin] prepare for next development iteration
2021-01-05 11:22:10 -08:00
parrt
5c2b686f95
[maven-release-plugin] prepare release 4.9.1
2021-01-05 11:22:02 -08:00
parrt
16b6e49c94
set compat in swift
2021-01-03 12:38:26 -08:00
parrt
897fe1f3e6
rm git submodule for PHP
2021-01-03 11:21:04 -08:00
parrt
dab70eae4d
add to ignore
2021-01-03 10:26:35 -08:00
parrt
eaa976e425
Bump version to 4.9.1
2021-01-03 10:13:19 -08:00
ericvergnaud
d050e38635
Merge branch 'master' into py3runtime_test_dist
2021-01-01 09:50:01 +08:00
ericvergnaud
e613eaee36
Merge pull request #2987 from KvanTTT/CSharpRuntimeUpgrade
...
C# runtime upgrade
2020-12-31 09:05:08 +08:00
Alex Mykyta
6990edd4d4
Improve python3 performance via addition of __slots__
2020-12-29 18:37:25 -08:00
Ivan Kochurkin
a001c2f67b
Replace PackageIcon with PackageIconUrl because it does not work fine, remove Antlr.png
2020-12-28 16:36:27 +03:00
Ivan Kochurkin
e4b3ae9be2
Remove not used AssebmblyInfo.cs
2020-12-28 16:17:00 +03:00
Ivan Kochurkin
b4ceb2022a
Simplify structure of csharp runtime files, remove not used .sln file, use PackageIcon property instead of outdated PackageIcon in Antlr4.csproj
2020-12-28 16:17:00 +03:00
Ivan Kochurkin
dc8fc4f94f
Fix dotnet build, remove not used code
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
b09a185890
Update README.md
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
ab7265958b
Rename Antlr4.dotnet.sln ->Antlr4.sln, Antlr4.Runtime.dotnet.csproj -> Antlr4.Runtime.csproj
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
30d2b87f63
Move SerializableAttribute from Compact to Sharpen folder
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
047005044d
Remove Compact folder because it's not actual
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
573f71bf7d
Remove preprocessor directives that check COMPACT, PORTABLE, NET40PLUS, NET45PLUS from code
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
11077ac15c
Replace netstandard1.3 target with netstandard2.0;netstandard2.1; remove DOTNETCORE;NET40PLUS;NET45PLUS defined constants, add NETSTANDARD20
2020-12-28 16:16:59 +03:00
Ivan Kochurkin
4884a0fecb
Drop support of outdated net35, remove mono and vs2013 .csproj and .sln files
2020-12-28 16:16:58 +03:00
ericvergnaud
c79b0fd80c
Merge pull request #3004 from antlr/fix-dependabot-issue
...
upgrade ini
2020-12-14 09:13:20 +08:00
Eric Vergnaud
441b0d60e7
Fix typo
2020-12-13 10:13:34 +08:00
Eric Vergnaud
c4d0ace5f3
upgrade ini
2020-12-13 09:56:29 +08:00
ericvergnaud
4ce826a67e
Merge branch 'master' into master
2020-12-06 22:57:15 +08:00
ericvergnaud
0833b2e46e
Merge branch 'master' into version
2020-12-06 22:41:30 +08:00
ericvergnaud
0ad70569b2
Merge pull request #2996 from ericvergnaud/fix-js-perf-issue-cause-by-incorrect-fix
...
rollback partially incorrect fix for #2902
2020-12-06 22:25:15 +08:00
ericvergnaud
1b947ee74a
Merge pull request #2985 from maxence-lefebvre/patch-1
...
🚑 fix bad import
2020-12-06 17:01:25 +08:00
Eric Vergnaud
74b8bb780d
rollback partially incorrect fix for #2902
2020-12-06 15:49:29 +08:00
David Phillips
5eedc1e65a
Java: add newline to version mismatch messages
2020-12-03 15:04:51 -08:00
maxence-lefebvre
4fcec7348d
🚑 fix bad import
2020-12-01 17:56:44 +01:00
Felix Nieuwenhuizen
8f7faab0ee
revert change of Vocabulary constructor from PR #2839 to fix build error in Cpp runtime test
2020-12-01 17:52:46 +01:00
Michael R. Crusoe
d7742bf13b
Py3 Runtime: distribute the tests in the sdist
2020-11-27 10:00:51 +01:00
Eric Vergnaud
87515f2864
update npm readme
2020-11-27 08:01:52 +08:00
parrt
74aad515dc
Merge branch 'master' of github.com:antlr/antlr4 into master
2020-11-26 10:54:35 -08:00
parrt
91b00d2695
Update PHP Runtime to latest version
2020-11-26 10:51:30 -08:00
ericvergnaud
c23cafd126
Merge pull request #2747 from ericvergnaud/support-string-encoding
...
add optional encoding for string input in python 2
2020-11-26 23:32:38 +08:00
parrt
74d0d79918
Update PHP Runtime to latest version
2020-11-24 14:23:54 -08:00
parrt
954c5fab1c
update release doc
2020-11-24 13:47:49 -08:00
parrt
69318d35fc
[maven-release-plugin] prepare for next development iteration
2020-11-24 12:45:28 -08:00
parrt
1364da5ed3
[maven-release-plugin] prepare release 4.9
2020-11-24 12:45:20 -08:00
parrt
59c24696ae
tweak doc
2020-11-24 12:04:45 -08:00
parrt
d27e6cad09
Update to version num 4.9 in code / projects
2020-11-24 11:42:42 -08:00
parrt
e07a6fa778
Update PHP Runtime to latest version
2020-11-24 11:34:57 -08:00
Terence Parr
7f5848305c
Merge branch 'master' into master
2020-11-24 10:36:57 -08:00
cliid
08a4b345b6
Merge branch 'master' into master
2020-10-24 19:38:14 +09:00
parrt
eba9308974
resolve
2020-10-20 12:40:38 -07:00
Eric Vergnaud
9a288bcb25
fix failing Python2 tests with utf-8 encoding
2020-10-11 15:48:11 +08:00
HackerJang
5ec39c2a65
Changed Python runtime Lexer.py, Parser.py to support version > 5
2020-10-11 10:59:35 +09:00
Eric Vergnaud
fa0c0b665e
fix failing Python2 tests with utf-8 encoding
2020-10-11 09:52:40 +08:00
Eric Vergnaud
07ddf8de45
fix failing Python2 tests with utf-8 encoding
2020-10-11 09:24:37 +08:00
Terence Parr
9e64dfc6e9
Merge pull request #2931 from ericvergnaud/javascript-es6-migration
...
Javascript es6 migration
2020-10-10 16:25:22 -07:00
Terence Parr
7b9dc37114
Merge pull request #2891 from eric-buaa-cn/patch-1
...
fix a typo
2020-10-10 16:17:36 -07:00
Terence Parr
69687b96bb
Merge pull request #2927 from ericvergnaud/fix-python3-typo
...
Fix undefined value
2020-10-10 16:11:22 -07:00
Terence Parr
e3243f74b2
Merge branch 'master' into master
2020-10-09 18:22:27 -07:00
Terence Parr
527118197f
Merge branch 'master' into master
2020-10-08 09:54:57 -07:00
Martin Mirchev
0ead01fb97
Made C# Trace Listener usable
2020-10-08 14:40:03 +02:00
Eric Vergnaud
215d57abff
try fix travis
2020-10-03 19:57:57 +08:00
Eric Vergnaud
eafb3d8ea6
fix circular dependency
2020-10-03 17:18:25 +08:00
Eric Vergnaud
0bd0a05f24
remove unnecessary test template
2020-10-03 17:17:56 +08:00
Eric Vergnaud
bec37fc0e5
updated by webpack
2020-10-03 14:06:27 +08:00
Eric Vergnaud
48f22a9a1e
fix import issue leading to invalid algo
2020-10-03 14:05:05 +08:00
Eric Vergnaud
3451dccd6c
formatting
2020-10-03 14:04:11 +08:00
Eric Vergnaud
d3cc9ecc73
Fix undefined value
2020-10-02 17:31:00 +08:00
Markus Trenkwalder
d735386bf2
Fix linker issue when compiling with CMake and MSVC on Windows by setting gtest_force_shared_crt=ON
2020-09-16 08:37:14 +02:00
Terence Parr
e73f72be73
Merge pull request #2911 from rmcgregor1990/separate-py3-tests
...
separate py3 runtime tests from src tree + actually run said tests in CI
2020-09-15 13:13:12 -07:00
Terence Parr
2e4bf8196a
Merge pull request #2905 from antlr/fix-javascript-perf-issue
...
Fix #2902
2020-09-15 09:36:22 -07:00
Robert McGregor
6f0657e5c9
separate py3 runtime tests from src tree + actually run said tests in CI
2020-09-14 20:38:22 +01:00
Eric Vergnaud
ef029cef40
Fix #2902
2020-09-13 20:53:49 +08:00
Charles Ruan
734d18cb35
Add missing const in StringUtils.h
2020-09-12 23:13:52 +08:00
Charles Ruan
ae0c7a31f8
Implement USE_UTF8_INSTEAD_OF_CODECVT macro in CMakeLists.txt in another way.
2020-09-12 21:32:06 +08:00
Charles Ruan
73f157fb91
Add utfcpp include paths in project.pbxproj for macOS compilation.
2020-09-12 20:51:09 +08:00
Charles Ruan
4bacd99255
add prompt for USE_UTF8_INSTEAD_OF_CODECVT macro in CMakeLists.txt.
2020-09-12 20:41:02 +08:00
Charles Ruan
2d86b34c40
Compile with utf8 on macOS.
2020-09-12 20:35:08 +08:00
Charles Ruan
72d86f91ed
1. Revert change: downgrade gcc version from 5 to 4.9.
...
2. Add macro USE_UTF8_INSTEAD_OF_CODECVT to judge use codecvt or utf8.
2020-09-12 01:30:14 +08:00
Charles Ruan
2dc9fb50be
1. remove wstring_convert and codecvt
...
2. let clang::fallthrough and throw_with_nested be compatible to gcc 4.9
3. downgrade gcc version from 5 to 4.9
2020-09-12 01:30:14 +08:00
Terence Parr
1ac3593fc4
Merge pull request #2848 from nburles/fix_static_const_odr_violations
...
[C++ runtime] Fix static const ODR violations
2020-09-11 08:58:45 -07:00
Terence Parr
168882d942
Merge branch 'master' into master
2020-09-10 12:56:08 -07:00
Terence Parr
fb2a34d5be
Merge branch 'master' into cpp_vocabulary_cleanup
2020-09-10 10:54:44 -07:00
Terence Parr
9a646e0367
Merge pull request #2847 from nburles/antlrinputstream_from_stringview
...
[C++ runtime] Add AntlrInputStream(std::string_view) constructor
2020-09-10 10:53:55 -07:00
Kilian Kilger
cdf67a5ed2
Merge branch 'master' into master
2020-09-10 18:36:54 +02:00
Kilian Kilger
19adda3a58
Add thread_local again in StringUtils.h due to better performance
2020-09-10 18:33:08 +02:00
irabeson
af53acd2a2
Merge branch 'master' into cpp_vocabulary_cleanup
2020-09-10 10:42:36 -04:00
ArthurSonzogni
f68c47a988
Fix clang compile error with --stdlib=libc++
...
On linux. Most users haven't installed libc++-dev, but ANTLR is passing
the "--stdlib=libc++" argument. As a result, this won't compile. Users
will see:
```
/tmp/antlr4/runtime/Cpp/runtime/src/antlr4-common.h:8:10: fatal error:
'algorithm' file not found
```
This is caused by the "WITH_LIBCXX" option.
It was introduced by:
d46ef90aa0
It causes the option "--stdlib=libc++" to be appended by default.
I believe its default value should have been left as "Off".
With "off" by default, clang will use its default C++ library, which is
always available.
The WITH_LIBCXX option is kept, being able to change the C++ library
might be useful?
BUG=https://github.com/antlr/antlr4/issues/2898
2020-09-06 15:30:54 +02:00
ericliu
f2007278bb
fix a typo
2020-08-27 14:14:47 +08:00
Matthew Paletta
3b3da29d45
Merge branch 'master' into master
2020-08-26 13:30:32 -07:00
Terence Parr
dfc7ffc39c
Merge branch 'master' into dart-clean
2020-07-27 11:33:40 -07:00
Eric Vergnaud
2bfce77e91
Fix a NPE
2020-07-12 22:12:02 +08:00
Matthew Paletta
6e3d900c96
Resynced to master
2020-07-04 21:34:28 -07:00
Shan M
e744435463
Adds LL1Analyzer to exports list
2020-07-01 12:10:47 +03:00
Shan M
795cd3b682
adds IntervalSet to the export list
2020-07-01 12:01:44 +03:00
Shan M
f780421da7
Adds DefaultErrorStrategy to export list
2020-07-01 12:00:41 +03:00
Matthew Paletta
0daa97a5f0
Added templated move support for antlrcpp::Any
2020-06-15 16:52:47 -07:00