Commit Graph

136 Commits

Author SHA1 Message Date
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