Sam Harwell
|
81459fb10c
|
Simplify and fix bugs in ANTLRInputStream
|
2013-08-04 22:16:06 -05:00 |
Sam Harwell
|
a4e5bfbae9
|
Fix build errors
|
2013-08-04 22:01:15 -05:00 |
Sam Harwell
|
8111fa5872
|
Merge branch 'sharpen'
|
2013-08-04 21:37:35 -05:00 |
Sam Harwell
|
fcf2482ab3
|
Sharpen can ignore JFileChooserConfirmOverwrite
|
2013-08-04 21:13:35 -05:00 |
Sam Harwell
|
f74aabfac8
|
Updated to match ANTLR 4.1 release
|
2013-08-04 21:12:02 -05:00 |
Sam Harwell
|
6736b3f900
|
Added NuGet support
|
2013-08-04 16:36:34 -05:00 |
Sam Harwell
|
6e198f8e0e
|
Fix XML documentation warnings
|
2013-04-17 21:42:17 -05:00 |
Sam Harwell
|
d01a221a6f
|
Generate XML documentation for the runtime library during the build
|
2013-04-17 21:41:58 -05:00 |
Sam Harwell
|
290c5d5e82
|
Fix output path for release build of Antlr4.Runtime.CF3.5.dll
|
2013-04-17 21:41:29 -05:00 |
Sam Harwell
|
e0300618c7
|
Fix grammar IntelliSense in Visual Studio 2008 / MSBuild 3.5
|
2013-04-17 20:51:44 -05:00 |
Sam Harwell
|
75ae586e50
|
The Target element in MSBuild 3.5 doesn't support the AfterTargets attribute
|
2013-04-17 20:51:11 -05:00 |
Sam Harwell
|
78e9b97437
|
Update assembly names in UsingTask definitions
|
2013-04-17 20:50:38 -05:00 |
Sam Harwell
|
44f943486b
|
Remove incorrect assembly reference
|
2013-04-17 20:49:28 -05:00 |
Sam Harwell
|
6b0890a510
|
Added Antlr4.Runtime.CF3.5 assembly for .NET Compact Framework 3.5 (requires Visual Studio 2008 to build)
|
2013-04-17 20:15:57 -05:00 |
Sam Harwell
|
785585199c
|
Separate MSBuild integration for .NET 3.5 and .NET 4.0 toolchains
|
2013-04-17 19:02:01 -05:00 |
Sam Harwell
|
e987cebef3
|
Abstract class should use protected constructor
|
2013-03-25 10:23:39 -05:00 |
Sam Harwell
|
4a9fe95354
|
Use inline initializer instead of static constructor
|
2013-03-25 10:23:17 -05:00 |
Sam Harwell
|
621281fa67
|
Implement ContainsAll with IEnumerable<ATNConfig> instead of ICollection<_T0>
|
2013-03-25 10:22:50 -05:00 |
Sam Harwell
|
b0050b6bdc
|
Address code analysis messages
|
2013-03-14 07:02:57 -05:00 |
Sam Harwell
|
dd5fd62818
|
Mark the assemblies not CLS compliant
|
2013-03-14 05:43:34 -05:00 |
Sam Harwell
|
3c0b96c413
|
Allow specifying the JVM vendor (default JavaSoft) and installation (default Java Runtime Environment) in the project file
|
2013-03-14 05:41:48 -05:00 |
Sam Harwell
|
092078e5bf
|
The JavaHome property and TryGetJavaHome methods are now static
|
2013-03-14 05:32:34 -05:00 |
Sam Harwell
|
c6bb5be737
|
Actually use the registryView parameter
|
2013-03-14 05:31:47 -05:00 |
Sam Harwell
|
fe57b88b4b
|
Include the name of the attributed element for failed rule dependencies
|
2013-03-11 22:39:51 -05:00 |
Sam Harwell
|
451e562a34
|
Check all dependencies for an assembly before throwing an exception (if any is required)
|
2013-03-11 22:39:22 -05:00 |
Sam Harwell
|
8048f58b57
|
Fix format strings
|
2013-03-11 22:18:46 -05:00 |
Sam Harwell
|
f494410681
|
Check for both the 32- and 64-bit versions of Java (fixes #2)
|
2013-03-11 21:46:45 -05:00 |
Sam Harwell
|
c9d8fceeb7
|
RuleDependencyChecker should examine non-public types and members as well
|
2013-03-11 21:46:09 -05:00 |
Sam Harwell
|
d41f4ba906
|
Need to use the full path for source files or relative output directories will be used and tokens files won't be found
|
2013-03-05 17:39:08 -06:00 |
Sam Harwell
|
1b605a5e71
|
Add ICustomAttributeProvider wrappers to the portable library variant
|
2013-03-05 15:34:25 -06:00 |
Sam Harwell
|
0ea64b9bb1
|
SerializableAttribute is not available in the portable class library
|
2013-03-05 15:34:24 -06:00 |
Sam Harwell
|
5bd661e115
|
Portable class library does not support direct file IO
|
2013-03-05 15:34:23 -06:00 |
Sam Harwell
|
307464f818
|
Portable class library does not support console IO
|
2013-03-05 15:34:22 -06:00 |
Sam Harwell
|
00689a40bc
|
Remove debug, dfa_debug, and retry_debug from portable library
|
2013-03-05 15:34:21 -06:00 |
Sam Harwell
|
7049163595
|
Add Portable Class Library C# target variant
|
2013-03-05 15:34:15 -06:00 |
Sam Harwell
|
f67c42d5fb
|
Use Dispose instead of Close for portability
|
2013-03-05 15:34:13 -06:00 |
Sam Harwell
|
1f76add8cb
|
Fix incorrect type checks in TrimToSizeListener
|
2013-03-05 15:34:12 -06:00 |
Sam Harwell
|
a47c2933e9
|
Fix IntelliSense issues in projects that reference both Antlr3.targets and Antlr4.targets
|
2013-02-28 20:15:15 -06:00 |
Sam Harwell
|
ce6296416e
|
Updated runtime assembly info in preparation for release
|
2013-02-27 21:10:39 -06:00 |
Sam Harwell
|
8dc10d4733
|
Updated preprocessor definitions for NET_2_0 and NET_3_0
|
2013-02-27 21:10:11 -06:00 |
Sam Harwell
|
30b69549fc
|
Updated build binaries
|
2013-02-27 21:04:58 -06:00 |
Sam Harwell
|
743315b08f
|
Updated preprocessor definitions for test project
|
2013-02-27 19:20:48 -06:00 |
Sam Harwell
|
048b354391
|
Updated support for the v2.0 runtime
|
2013-02-27 19:00:14 -06:00 |
Sam Harwell
|
09b0e046be
|
Add compatibility layer for the v3.0 runtime
|
2013-02-27 18:58:05 -06:00 |
Sam Harwell
|
ec36fa790f
|
Updated support for the v2.0 runtime
|
2013-02-27 18:53:17 -06:00 |
Sam Harwell
|
3d5f7664c6
|
Use Dictionary constructor where allowed
|
2013-02-27 18:53:16 -06:00 |
Sam Harwell
|
59583da8b0
|
Explicit usings
|
2013-02-27 18:52:16 -06:00 |
Sam Harwell
|
efc964bdc6
|
Use TryGetValue and ContainsKey instead of Get extension method
|
2013-02-27 18:52:07 -06:00 |
Sam Harwell
|
25551e6985
|
Update TestPerformance to run single-threaded prior to .NET 4 (TaskScheduler is not available before that)
|
2013-02-27 13:48:10 -06:00 |
Sam Harwell
|
1fe11155d6
|
IEqualityComparer<T> is not covariant before .NET 4
|
2013-02-27 13:47:05 -06:00 |
Sam Harwell
|
104de1a1c5
|
Update BaseTest to be compatible with .NET 3.5
|
2013-02-27 13:34:19 -06:00 |
Sam Harwell
|
f063557b7b
|
IEnumerable<T> in .NET 3.5 is not covariant
|
2013-02-27 13:24:19 -06:00 |
Sam Harwell
|
1020033096
|
Updated v3.5+ projects with a NET_3_5 preprocessor definition
|
2013-02-27 13:23:38 -06:00 |
Sam Harwell
|
4231313eb1
|
Add compatibility types to the v3.5 runtime (types introduced in .NET 4.0)
|
2013-02-27 13:23:09 -06:00 |
Sam Harwell
|
5d167ce21b
|
Update the TargetFrameworkVersion for all remaining projects
|
2013-02-27 13:13:32 -06:00 |
Sam Harwell
|
ca4823e67c
|
Update assembly names to match the target framework versions
|
2013-02-27 13:12:38 -06:00 |
Sam Harwell
|
ca133e541d
|
Fix Collections.SingletonMap for .NET 4.5
|
2013-02-27 13:08:31 -06:00 |
Sam Harwell
|
dbc1bc5a51
|
Use HashSet instead of ISet for improved compatibility with earlier frameworks
|
2013-02-27 12:59:44 -06:00 |
Sam Harwell
|
7e55c0a4e8
|
Merge branch 'sharpen'
|
2013-02-27 12:58:36 -06:00 |
Sam Harwell
|
191c24f89b
|
Translate Set interface to HashSet instead of ISet for improved compatibility with earlier frameworks
|
2013-02-27 12:56:24 -06:00 |
Sam Harwell
|
02d608a21c
|
Ignore Transition.serializationTypes
|
2013-02-27 12:54:25 -06:00 |
Sam Harwell
|
fc7587d754
|
Remove dependency on CustomAttributeExtensions (available in .NET 4.5 only)
|
2013-02-27 12:48:10 -06:00 |
Sam Harwell
|
ec45a07c03
|
Updated preprocessor definitions for v4.0 and v4.5 runtimes
|
2013-02-27 12:43:57 -06:00 |
Sam Harwell
|
47efe0bad5
|
Updated TargetFrameworkVersion for v4.0 runtime
|
2013-02-27 12:43:33 -06:00 |
Sam Harwell
|
61c141e994
|
Use IDictionary instead of IReadOnlyDictionary before .NET 4.5
|
2013-02-27 12:40:45 -06:00 |
Sam Harwell
|
d898160d63
|
Use Utils.Join for improved compatibility with earlier frameworks
|
2013-02-27 12:21:38 -06:00 |
Sam Harwell
|
77d346406c
|
Use bit operations instead of Enum.HasFlag
|
2013-02-27 12:19:52 -06:00 |
Sam Harwell
|
acc785069e
|
Use ReadOnlyCollection or array instead of IReadOnlyList to address compatibility problems prior to .NET 4.5
|
2013-02-27 12:19:15 -06:00 |
Sam Harwell
|
5d44535b50
|
Avoid using the Volatile.Read/Write since it's only supported in .NET 4.5
|
2013-02-27 12:08:12 -06:00 |
Sam Harwell
|
89dc5952df
|
Update project references
|
2013-02-27 10:18:33 -06:00 |
Sam Harwell
|
5ee0cb10df
|
Add projects to solution
|
2013-02-27 10:15:20 -06:00 |
Sam Harwell
|
a990f72ba1
|
Assign unique project guids and update output folder paths
|
2013-02-27 10:15:10 -06:00 |
Sam Harwell
|
fa4489e6bb
|
Create framework-specific projects
|
2013-02-27 10:10:24 -06:00 |
Sam Harwell
|
2c36418999
|
Set framework-specific bin and obj output directories
|
2013-02-27 10:07:02 -06:00 |
Sam Harwell
|
12c8937492
|
Rename projects to indicate they target .NET 4.5
|
2013-02-27 10:02:09 -06:00 |
Sam Harwell
|
37d3e78d7b
|
Set file SubType
|
2013-02-27 10:00:44 -06:00 |
Sam Harwell
|
54aea04255
|
Use the CustomToolNamespace property to place generated code in particular namespaces (defaults to the root namespace of the project)
|
2013-02-27 09:40:15 -06:00 |
Sam Harwell
|
8ee3a2204f
|
Automatically select the C# target variant for the current framework
|
2013-02-27 09:37:09 -06:00 |
Sam Harwell
|
6463fff0e8
|
Add initial readme
|
2013-02-26 15:19:38 -06:00 |
Sam Harwell
|
0bb4046f8b
|
Add code generation binaries and generate code for Java.g4 during the build
|
2013-02-26 14:53:06 -06:00 |
Sam Harwell
|
659c941f18
|
Copy Antlr4.targets to the output directory
|
2013-02-26 14:40:07 -06:00 |
Sam Harwell
|
ebf8cd5abc
|
Remove automatic left factoring declaration from Java.g4 since the processing is currently very slow
|
2013-02-26 14:39:19 -06:00 |
Sam Harwell
|
4862f07a86
|
Fix build warnings
|
2013-02-26 14:37:20 -06:00 |
Sam Harwell
|
11ba8324be
|
Sign the Antlr4BuildTasks assembly
|
2013-02-26 14:36:11 -06:00 |
Sam Harwell
|
6abb26c29d
|
Fix working directory
|
2013-02-26 14:36:11 -06:00 |
Sam Harwell
|
8bd2dec569
|
Parse generated files messages
|
2013-02-26 14:36:10 -06:00 |
Sam Harwell
|
8a1452961a
|
Handle exceptions in message processing
|
2013-02-26 14:36:09 -06:00 |
Sam Harwell
|
b36728df10
|
Update build message processing for the ANTLR 4 message formatting
|
2013-02-26 14:36:08 -06:00 |
Sam Harwell
|
4a3b2cdffc
|
Generate shaded jar for the C# target
|
2013-02-26 14:36:07 -06:00 |
Sam Harwell
|
05da986f8f
|
Add the CSharpTool extension of Tool to get access to generated file names during the code generation process
|
2013-02-26 14:36:06 -06:00 |
Sam Harwell
|
ce8170bbab
|
Updated code generator to use Java tool and support ANTLR 4 options
|
2013-02-26 14:36:05 -06:00 |
Sam Harwell
|
ba1f0ccb74
|
Add the initial build task code
|
2013-02-26 14:35:51 -06:00 |
Sam Harwell
|
2775c17ffe
|
Conversion needs to be wrapped in unchecked()
|
2013-02-26 11:16:24 -06:00 |
Sam Harwell
|
f80c3d1578
|
Merge branch 'sharpen'
|
2013-02-26 11:15:01 -06:00 |
Sam Harwell
|
e0b1d7dd26
|
Updated to latest reference build of ANTLR 4
|
2013-02-26 11:14:46 -06:00 |
Sam Harwell
|
72c0535d3e
|
Return Interval? instead of Interval
|
2013-02-26 10:55:51 -06:00 |
Sam Harwell
|
2e57495fe4
|
Update Interval.Equals now that it's a struct
|
2013-02-26 10:55:33 -06:00 |
Sam Harwell
|
843fc1c2d3
|
No need to cache Interval instances now that it's a struct
|
2013-02-26 10:55:06 -06:00 |
Sam Harwell
|
6708ae6db3
|
Merge branch 'sharpen'
|
2013-02-26 10:52:02 -06:00 |
Sam Harwell
|
54c4bc826f
|
Strings can be constant in C#
|
2013-02-26 10:51:42 -06:00 |
Sam Harwell
|
e5a1ed6996
|
Translate Interval as a struct, and make Length a property
|
2013-02-26 10:39:46 -06:00 |
Sam Harwell
|
9582a1e610
|
Use indexers instead of the Set and Put extensions where the return value is not used
|
2013-02-26 10:31:04 -06:00 |
Sam Harwell
|
843d01dcac
|
Implement CRC32 using zlib code
|
2013-02-26 10:28:04 -06:00 |
Sam Harwell
|
1c8e6dfe25
|
Remove unreachable code
|
2013-02-25 16:13:35 -06:00 |
Sam Harwell
|
54ebfa8625
|
Update RuleDependencyChecker to check assemblies instead of individual types
|
2013-02-25 15:15:47 -06:00 |
Sam Harwell
|
590ae4fe66
|
Implement runtime rule dependency checking
|
2013-02-25 15:09:31 -06:00 |
Sam Harwell
|
1bb1f23579
|
The Dependents enumeration is flags
|
2013-02-25 15:09:04 -06:00 |
Sam Harwell
|
cc00681bf8
|
Add RuleDependencyAttribute
|
2013-02-25 15:08:24 -06:00 |
Sam Harwell
|
42d3ff06d3
|
Merge branch 'sharpen'
|
2013-02-25 14:38:47 -06:00 |
Sam Harwell
|
cf73d49f6e
|
checked and unchecked are keywords in C#
|
2013-02-25 14:38:30 -06:00 |
Sam Harwell
|
6b7eb5dad4
|
Updated RuleDependencyChecker to match the new behavior of RuleDependencyProcessor
|
2013-02-25 14:37:45 -06:00 |
Sam Harwell
|
6079069f99
|
Merge branch 'sharpen'
|
2013-02-25 13:24:05 -06:00 |
Sam Harwell
|
5e49211455
|
Constructors don't inherit visibility
|
2013-02-25 13:23:46 -06:00 |
Sam Harwell
|
21dcd8f5a3
|
Merge branch 'sharpen'
|
2013-02-25 13:04:05 -06:00 |
Sam Harwell
|
587b95db74
|
Fix switch case open/closed analysis
|
2013-02-25 13:03:34 -06:00 |
Sam Harwell
|
789b9578a6
|
Updated sharpen property annotations in Lexer
|
2013-02-25 12:54:42 -06:00 |
Sam Harwell
|
92fc3ac1a1
|
Remove unreferenced locals
|
2013-02-25 12:48:33 -06:00 |
Sam Harwell
|
d5addbd287
|
Remove unreferenced branch targets
|
2013-02-25 12:48:03 -06:00 |
Sam Harwell
|
d9a8735361
|
static readonly instead of const in TestPerformance
|
2013-02-25 12:47:20 -06:00 |
Sam Harwell
|
515af0e65a
|
Fix warning about bit operation on sign-extended operand
|
2013-02-25 12:43:43 -06:00 |
Sam Harwell
|
eb675668f4
|
Fix attribute target
|
2013-02-25 12:42:52 -06:00 |
Sam Harwell
|
f0cb48b650
|
Include "new" modifier on interface methods
|
2013-02-25 12:42:36 -06:00 |
Sam Harwell
|
2e1d284a12
|
Suppress unreachable code warnings
|
2013-02-25 12:42:04 -06:00 |
Sam Harwell
|
81b256d1f3
|
Suppress warning about overriding Equals but not GetHashCode
|
2013-02-25 12:41:21 -06:00 |
Sam Harwell
|
eaa92eb826
|
Sign the Antlr4.Runtime assembly
|
2013-02-25 12:13:35 -06:00 |
Sam Harwell
|
8cf6be9d89
|
Add initial Antlr4BuildTasks project, copied Antlr4.targets from Antlr3.targets
|
2013-02-25 12:12:09 -06:00 |
Sam Harwell
|
672f40c8b8
|
Fix link to CSharpTarget.java
|
2013-02-25 11:47:38 -06:00 |
Sam Harwell
|
c444758cb4
|
Update Java grammars to work with the C# target
|
2013-02-25 11:34:19 -06:00 |
Sam Harwell
|
a344c4e794
|
Add Java grammars
|
2013-02-25 11:31:25 -06:00 |
Sam Harwell
|
8424dc15e0
|
Organize usings
|
2013-02-25 11:28:30 -06:00 |
Sam Harwell
|
49e43cdccf
|
Use BlockingCollection instead of ConcurrentBag
|
2013-02-25 11:26:30 -06:00 |
Sam Harwell
|
d8f599da44
|
Add missing ctor
|
2013-02-25 11:25:55 -06:00 |
Sam Harwell
|
1a0534ae3f
|
Fix format specifier
|
2013-02-25 11:25:29 -06:00 |
Sam Harwell
|
1430873fdf
|
TestPerformance extends BaseTest
|
2013-02-25 11:25:07 -06:00 |
Sam Harwell
|
95b6cb3fa7
|
Mark methods virtual
|
2013-02-25 11:21:29 -06:00 |
Sam Harwell
|
f91b1880f7
|
Exclude code that isn't translated but isn't needed yet
|
2013-02-25 11:20:50 -06:00 |
Sam Harwell
|
ab0b02bae0
|
Support compiling and executing grammars for the C# target
|
2013-02-25 11:20:00 -06:00 |
Sam Harwell
|
b24fa5a99a
|
Make sure tmpdir always points to a new directory for each test
|
2013-02-25 11:14:03 -06:00 |
Sam Harwell
|
2047f5298e
|
Implement writeFile and eraseTempDir
|
2013-02-25 11:13:27 -06:00 |
Sam Harwell
|
783ee4d46d
|
Implement StreamVacuum
|
2013-02-25 11:12:09 -06:00 |
Sam Harwell
|
0fa9e30dfe
|
Implement mkdir
|
2013-02-25 10:47:07 -06:00 |
Sam Harwell
|
e68e053043
|
Handle setup/cleanup
|
2013-02-25 10:46:05 -06:00 |
Sam Harwell
|
d4b173c664
|
Add BaseTest
|
2013-02-24 18:31:40 -06:00 |
Sam Harwell
|
6150ea082b
|
Use built-in types
|
2013-02-24 16:55:25 -06:00 |
Sam Harwell
|
40298160ec
|
Fix interface names
|
2013-02-24 16:53:36 -06:00 |
Sam Harwell
|
e05beca7c6
|
Updated TestPerformance, now just waiting for BaseTest
|
2013-02-24 16:48:02 -06:00 |
Sam Harwell
|
b77220ee7f
|
Updated Arrays and added Checksum interface with stub CRC32 implementation
|
2013-02-24 16:47:35 -06:00 |
Sam Harwell
|
1c92b79dab
|
Add QueuedTaskScheduler
|
2013-02-24 16:44:22 -06:00 |
Sam Harwell
|
dd3633d95d
|
Format code
|
2013-02-24 15:25:36 -06:00 |
Sam Harwell
|
ddefabb8ae
|
Translate unparsable generic constructs
|
2013-02-24 15:24:07 -06:00 |