Commit Graph

232 Commits

Author SHA1 Message Date
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
Sam Harwell 0d43ca3e1c Translate annotations to attributes 2013-02-24 15:23:30 -06:00
Sam Harwell 99cc1695b3 Translate class declaration syntax 2013-02-24 15:21:34 -06:00
Sam Harwell 94b1e3c84b Translate console output 2013-02-24 15:20:08 -06:00
Sam Harwell 9dde20de76 Translate "instanceof" to "is" 2013-02-24 15:19:22 -06:00
Sam Harwell 0cc941d45d Translate assert statements 2013-02-24 15:18:52 -06:00
Sam Harwell 4e2961eb93 Translate unsigned right shift 2013-02-24 15:17:43 -06:00
Sam Harwell 2bf39bcdac Extract anonymous classes 2013-02-24 15:16:50 -06:00
Sam Harwell 23c8f4ea2d Fix uses of "boolean" and "final" 2013-02-24 15:11:56 -06:00
Sam Harwell 007a224076 Translate foreach syntax 2013-02-24 15:07:19 -06:00
Sam Harwell 0bf7f2666c Translate X.class to typeof(X) 2013-02-24 15:03:59 -06:00
Sam Harwell b29ad52685 Translate console output 2013-02-24 15:02:28 -06:00
Sam Harwell cc73453ff1 Fix uses of "boolean" and "final" 2013-02-24 14:55:59 -06:00
Sam Harwell 6f60cfbeb7 Remove throws clauses from methods 2013-02-24 14:54:26 -06:00
Sam Harwell 7bbe3001de Translate annotations to attributes 2013-02-24 14:54:11 -06:00
Sam Harwell 7c02865ccb Add using statements 2013-02-24 14:49:17 -06:00
Sam Harwell 05b451bfeb Fix uses of "boolean" and "final" 2013-02-24 14:47:33 -06:00
Sam Harwell 2d68418dbc Added TestPerformance (body is unaltered Java code) 2013-02-24 14:44:40 -06:00
Sam Harwell fa66235f85 Add extra files to Solution Items folder 2013-02-24 12:58:12 -06:00
Sam Harwell bc2b1cf44e Merge branch 'sharpen' 2013-02-24 12:55:48 -06:00
Sam Harwell 24e8a73afc Return IReadOnlyList instead of IList 2013-02-24 12:45:09 -06:00
Sam Harwell 68732032e0 Interlocked.Increment returns the incremented value, not the original value 2013-02-24 12:45:08 -06:00
Sam Harwell db1ee841c6 Fix generic type usage 2013-02-24 12:45:07 -06:00
Sam Harwell baa2a95ad1 Fix format strings 2013-02-24 12:45:05 -06:00
Sam Harwell 55331e4a0f Fix Equals and GetHashCode for ATNConfigSet 2013-02-24 12:45:04 -06:00
Sam Harwell f8cce16966 Add SequenceEqualityComparer which implements Equals and GetHashCode in a manner compatible with Java's List interface 2013-02-24 12:45:03 -06:00
Sam Harwell a988b668d3 Add RuleVersionAttribute 2013-02-24 12:45:01 -06:00
Sam Harwell 2ea504a493 Fix use of encoding argument in AntlrFileStream 2013-02-24 12:45:00 -06:00
Sam Harwell 7d7f5a1afc Add override BitSet.ToString 2013-02-24 12:44:59 -06:00
Sam Harwell fdb73a92b8 Add TestBitSet and fix bugs 2013-02-24 12:44:57 -06:00
Sam Harwell 17374ffc49 Updated reference build of ANTLR 4 2013-02-24 12:42:19 -06:00
Sam Harwell 459baaf4ca Default visibility for enum constants in enum classes is public 2013-02-24 12:38:42 -06:00
Sam Harwell 861c951d56 Add missing license headers 2013-02-20 09:30:04 -06:00
Sam Harwell 148fc0f827 Merge branch 'sharpen' 2013-02-20 09:21:32 -06:00
Sam Harwell 39f51a4781 Move projects into runtime/CSharp 2013-02-20 09:19:59 -06:00