Commit Graph

7365 Commits

Author SHA1 Message Date
Camilo Roca af45a02d1e refactored comments to be jsdoc compatible 2020-02-23 13:08:39 +01:00
Camilo Roca edf24eab3f fix: incorrect import of invalid_alt_number
removed unused RuleNode import
2020-02-23 13:08:39 +01:00
Camilo Roca 79d2c1c163 use const/let for better scoping
use object destructuring on import
2020-02-23 13:08:39 +01:00
Camilo Roca 4a7820aa4b refactored comments to be jsdoc compatible 2020-02-23 13:08:39 +01:00
Camilo Roca 6cc2f082fb use destructuring for imports
use module.exports with object literal for exports
2020-02-23 13:08:39 +01:00
Camilo Roca e790ddb4ba use const/let for better scoping
removed unused Utils import
2020-02-23 13:08:39 +01:00
Camilo Roca 32baf10944 refactored Tree implementations to be es6 classes 2020-02-23 13:08:39 +01:00
Camilo Roca 9d997438f9 refactored interfaces to be es6 classes 2020-02-23 13:08:39 +01:00
Terence Parr 2d9f45d9bf
Merge pull request #2755 from ericvergnaud/drop-browser-tests
Drop browser tests
2020-02-22 10:06:17 -08:00
Eric Vergnaud bff9629414 add missing tests 2020-02-22 12:00:11 +08:00
Eric Vergnaud 2eb728eafb drop selenium and jetty dependencies 2020-02-22 11:39:17 +08:00
Eric Vergnaud ddf38ec88f fix failing tests 2020-02-22 10:35:42 +08:00
Eric Vergnaud 95521b7553 Move node tests up to simplify 2020-02-22 10:09:44 +08:00
Eric Vergnaud 653cb54bb9 drop obsolete browser tests, selenium is flaky, these tests cannot run in our CI, everybody uses some packaging, next official js runtime will be pre-packaged
overall not worth the maintenance effort anymore
2020-02-22 10:05:34 +08:00
Terence Parr db1c09c6d2
Merge pull request #2744 from julibert/master
Fix CMake packaging
2020-02-14 08:25:51 -08:00
Terence Parr 530c5facc7
Merge pull request #2746 from carocad/dfa-classes
Javascript: migrate prototypical DFA objects to es6 classes
2020-02-12 08:53:22 -08:00
Camilo Roca 6dd86eb960 fix: cannot reasign a const var 2020-02-10 22:23:54 +01:00
Camilo Roca d6975d60b1 fix: second export was overwriting the first one 2020-02-10 22:22:12 +01:00
Camilo Roca 2d8e1b60d1 refactored PredPrediction and DFAState to JsDoc 2020-02-10 22:13:19 +01:00
Camilo Roca 2a294b8a60 fix DFA serializer doc position 2020-02-10 22:07:58 +01:00
Camilo Roca 68730a8288 refactored DFA docs to JsDoc compatible 2020-02-10 22:07:21 +01:00
Camilo Roca 8c1730f687 use const/let and module.exports 2020-02-10 22:01:04 +01:00
Camilo Roca 116dbca78a refactor PredPrediction and DFAState to es6 classes 2020-02-10 21:58:44 +01:00
Camilo Roca 82d51aee99 use const/let
use module exports instead of exports
2020-02-10 21:56:40 +01:00
Camilo Roca 772286cf00 refactor DFASerializer and LexerDFASerializer to ES6 classes 2020-02-10 21:54:23 +01:00
Camilo Roca e5910c3019 use object destructuring 2020-02-10 21:52:26 +01:00
Camilo Roca a8e8402b77 refactor DFA function prototype into es6 classes 2020-02-10 21:51:11 +01:00
julibert 4a4fc30153
Update contributor.txt 2020-02-10 13:53:56 +01:00
julibert b37d2e3815
Fix CMake packaging. 2020-02-09 20:01:24 +01:00
Terence Parr 1177c0b58d Merge pull request #2742 from carocad/error-classes
Javascript: migrate prototypical error object to es6 classes
2020-02-09 10:07:23 -08:00
Camilo Roca 4b4aa68be3 fix: npm build is not a valid command 2020-02-08 15:14:10 +01:00
Camilo Roca 07aaf5fc63 more documentation updated [skip ci] 2020-02-07 14:13:52 +01:00
Camilo Roca d8435e13c3 removed conditional nodejs import in favour of webpack bundle
use const/let instead of var
use object destructuring
fix: missing new statement for DOM file reader
2020-02-07 14:08:19 +01:00
Camilo Roca c2180d2d5c adapted antlr4 js to use webpack for browser publishing
lib/require.js custom require removed in favour of webpack bundle
documentation updated
package-lock.json added
2020-02-07 13:57:20 +01:00
Camilo Roca 7fc2180166 contributors.txt signed [skip ci] 2020-02-03 22:52:28 +01:00
Camilo Roca 18f5f3cd27 fix: bump nodejs test version to support classes 2020-02-03 20:31:57 +01:00
Camilo Roca aeebc0bb0b fix: use module.exports instead of exports to follow node best practices
cosmetic changes
2020-02-02 23:52:47 +01:00
Camilo Roca a7017d1a49 missing const 2020-02-02 23:43:12 +01:00
Camilo Roca 19458051c0 refactored error directoryto use classes, const and let 2020-02-02 23:37:21 +01:00
Terence Parr 2d7f727a00
Merge pull request #2733 from vinoski/cpp-set-token-factory
Fix #2727: improve setTokenFactory in Cpp target
2020-01-24 08:20:19 -08:00
Steve Vinoski 38200b6e31 Fix #2727: improve setTokenFactory in Cpp target
Change the setTokenFactory template functions and the getTokenFactory
functions to use a plain pointer rather than a Ref. This makes the
caller of setTokenFactory responsible for managing the lifetime and
memory of the token factory instance they pass in. Change
CommonTokenFactory::DEFAULT to be a unique_ptr, and correct all places
using it as a Ref.
2020-01-24 08:11:41 -05:00
parrt 7a3f40bc34 update doc for releasing 2020-01-19 08:18:55 -08: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