Commit Graph

419 Commits

Author SHA1 Message Date
Sam Harwell 9918154f34 Fix the case of two files' names 2013-08-28 19:10:11 -05:00
Sam Harwell ac626b02a1 Merge pull request #22 from rharrisxtheta/antlr-patchset-1
Small patches for minor compile issues in CSharp.stg
2013-08-28 17:06:23 -07:00
Ryan Harris d1b1bb0c02 Disable compiler warnings that are irrelevant for generated code.
These warnings are turned off:
CS0162:  Unreachable code detected
CS0219:  The variable '...' is assigned but its value is never used
CS1591:  Missing XML comment for publicly visible type or member '...'
2013-08-27 10:24:58 -04:00
Ryan Harris 8897097b95 Tag generated classes as non CLS compliant. 2013-08-26 16:45:05 -04:00
Sam Harwell d27cd5f634 Build separate NuGet packages for the tool and the runtime (allows separation of VS2008 and VS2010+ features) 2013-08-05 22:41:32 -05:00
Sam Harwell 4de1e1b82b Fix code generation for additional elements that match C# keywords 2013-08-05 21:46:14 -05:00
Sam Harwell 27c3e35cfd Forgot to escape bracket in subtemplate 2013-08-05 21:10:56 -05:00
Sam Harwell f4f905ea0e Fix code generation when a rule or grammar name matches a C# keyword (fixes #4) 2013-08-05 21:10:39 -05:00
Sam Harwell 1e4a53919f Add generated code file headers and [GeneratedCode] attributes (fixes #11) 2013-08-05 20:39:47 -05:00
Sam Harwell b9d3a129ad Fix build error in referenced project 2013-08-05 20:38:52 -05:00
Sam Harwell 4f043c87c7 Updated CSharp.stg to match changes in Java.stg 2013-08-05 20:38:04 -05:00
Sam Harwell 66c64be11b Add additional logging for exceptional situations 2013-08-05 19:38:21 -05:00
Sam Harwell 1fc1f5dda7 Fix Guid deserialization 2013-08-05 19:37:53 -05:00
Sam Harwell c9a02cd707 Fix behavior when spaces are in the path (fixes #6) 2013-08-05 19:37:39 -05:00
Sam Harwell a2a1eef6c3 Updated several documentation comments 2013-08-04 22:36:11 -05:00
Sam Harwell 9c20726f0a Allow spaces in the project path (fixes #6) 2013-08-04 22:23:15 -05:00
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 880bc161a2 Updated Maven references in pom.xml 2013-08-04 16:24:23 -05:00
Sam Harwell 5070954050 Updated pom.xml - now working on the 4.1 release 2013-08-04 16:24:05 -05:00
Sam Harwell e48e2d7436 Add LICENSE.txt to repository 2013-08-04 16:23:06 -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 9babc9527a Merge branch 'compact-framework-3.5' 2013-04-17 20:53:25 -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 f9718aa62f Merge branch 'codeanalysis' 2013-03-25 10:24:35 -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