Sam Harwell
|
f3f8b425c3
|
Reference IntStream.EOF directly
|
2012-12-20 16:55:16 -06:00 |
Sam Harwell
|
6a5f609797
|
Add Utils.waitForClose
|
2012-12-18 18:15:21 -06:00 |
Sam Harwell
|
62531d2ea1
|
RuleContext.inspect returns Future<JDialog> to provide the created dialog
|
2012-12-18 18:15:06 -06:00 |
Sam Harwell
|
3b82dd9e24
|
inspect and save work with a list of rule names (no need to pass the Parser instance)
|
2012-12-18 18:13:32 -06:00 |
Sam Harwell
|
50822b6ca5
|
Updated NetBeans configuration
|
2012-12-18 17:59:01 -06:00 |
Sam Harwell
|
29be5523ff
|
Update documentation
|
2012-12-17 22:09:52 -06:00 |
Sam Harwell
|
068075f1c4
|
Fix usage of BufferedTokenStream: cannot consume EOF
|
2012-12-17 22:09:50 -06:00 |
Sam Harwell
|
4832425848
|
Update BufferedTokenStream implementation to match IntStream interface: consume throws IllegalStateException if LA(1)==EOF
|
2012-12-17 22:09:47 -06:00 |
Sam Harwell
|
a64cdc8e2d
|
Make sure reportAttemptingFullContext occurs with input index at the expected location
|
2012-12-17 13:57:17 -06:00 |
Sam Harwell
|
9ec75650e3
|
Optimize ATNState.getStateType
|
2012-12-17 13:20:47 -06:00 |
Sam Harwell
|
09d6ae5d8d
|
Update CHANGES.txt
|
2012-12-16 17:24:31 -06:00 |
Sam Harwell
|
116c58bec6
|
Show all warnings and errors for V3 compatibility issues so the user has a list of all the items to fix
|
2012-12-16 17:18:51 -06:00 |
Sam Harwell
|
9865d03347
|
Tweak comments and messages in ErrorType
|
2012-12-16 17:18:17 -06:00 |
Sam Harwell
|
d7bf34d4f4
|
Remove ErrorType.INVALID
|
2012-12-16 17:17:09 -06:00 |
Sam Harwell
|
95335a8799
|
Unit test tweaks
|
2012-12-16 17:16:31 -06:00 |
Sam Harwell
|
2405219668
|
Encapsulate several fields in ANTLRMessage
|
2012-12-16 16:56:37 -06:00 |
Sam Harwell
|
54c9382ce1
|
Reference the latest RC-2 releases of ANTLR 3 and ST 4
|
2012-12-16 16:52:44 -06:00 |
Sam Harwell
|
842d449be3
|
Updated .gitignore to better accomodate projects which may exist in other branches
|
2012-12-15 18:26:39 -06:00 |
Sam Harwell
|
99e4438256
|
Use a TestWatcher to properly clean up after successful tests
|
2012-12-15 18:19:40 -06:00 |
Sam Harwell
|
bca2589be1
|
Merge branch 'hashset-updates' into master
|
2012-12-15 13:34:39 -06:00 |
Sam Harwell
|
225cd78d50
|
Update code formatting for easier debugging
|
2012-12-15 12:09:03 -06:00 |
Sam Harwell
|
9a8d0f06f7
|
Implement Array2DHashSet.retainAll and Array2DHashSet.removeAll
|
2012-12-15 12:09:01 -06:00 |
Sam Harwell
|
aea4c89c04
|
Update documentation and comments
|
2012-12-15 12:09:00 -06:00 |
Sam Harwell
|
0b71671cda
|
Optimized Array2DHashSet.expand
|
2012-12-15 12:08:58 -06:00 |
Sam Harwell
|
e37f5d2c20
|
Need to resize array if the one provided doesn't have enough room
|
2012-12-15 12:08:57 -06:00 |
Sam Harwell
|
01893f9678
|
Make sure to set last bucket to null after remove or you could have a memory leak
|
2012-12-15 12:08:55 -06:00 |
Sam Harwell
|
4e1473a6f0
|
Mark some methods final, remove unnecessary check for null
|
2012-12-15 12:08:53 -06:00 |
Sam Harwell
|
431cdbeb45
|
Call containsFast directly to avoid an IDE warning about calling contains with an unexpected object type
|
2012-12-15 12:08:51 -06:00 |
Sam Harwell
|
83483a7a49
|
Add containsFast and removeFast to avoid a type check when you already have an instance of T
|
2012-12-15 12:08:49 -06:00 |
Sam Harwell
|
c157801296
|
Add Array2DHashSet.asElementType for casts from Object to T
|
2012-12-15 12:08:48 -06:00 |
Sam Harwell
|
c654c1b428
|
Improved generics usage in Array2DHashSet
|
2012-12-15 12:08:46 -06:00 |
Sam Harwell
|
fd62c583da
|
ATNConfigSet.toArray returns ATNConfig[]
|
2012-12-15 12:08:44 -06:00 |
Sam Harwell
|
b2c119002c
|
Extract anonymous class to SetIterator inner class
|
2012-12-15 12:08:42 -06:00 |
Sam Harwell
|
e259cea426
|
Array2DHashSet.toArray returns T[]
|
2012-12-15 12:08:41 -06:00 |
Sam Harwell
|
f77cf59dbf
|
Add Array2DHashSet.createBucket (returns T[]) and createBuckets (returns T[][])
|
2012-12-15 12:08:39 -06:00 |
Sam Harwell
|
36800289a2
|
Rename absorb to getOrAdd
|
2012-12-15 12:08:37 -06:00 |
Sam Harwell
|
5d238a22c7
|
equals should check the argument type before attempting a cast
|
2012-12-15 12:08:35 -06:00 |
Sam Harwell
|
076a2dcbb9
|
Remove expensive method that's no longer needed
|
2012-12-15 12:08:34 -06:00 |
Sam Harwell
|
c99703e150
|
Remove call to hashCode that was slowing down equals
|
2012-12-15 12:08:32 -06:00 |
Sam Harwell
|
c009c5081d
|
Add AbstractConfigHashSet to consolidate default constructor parameters
|
2012-12-15 12:08:30 -06:00 |
Sam Harwell
|
1274e819fe
|
Fix remaining minor issues with use of generics in Tool
|
2012-12-15 12:04:22 -06:00 |
Sam Harwell
|
2582d33085
|
Add @SuppressWarnings("fallthrough") to method with intentional fallthrough
|
2012-12-14 09:43:21 -06:00 |
Sam Harwell
|
0504334d08
|
Add missing @Override annotations
|
2012-12-14 09:42:02 -06:00 |
Sam Harwell
|
ed40c1aad1
|
Remove redundant casts
|
2012-12-14 09:41:11 -06:00 |
Sam Harwell
|
9d0ba56cbd
|
Build against the latest ANTLR 3.5-SNAPSHOT
|
2012-12-14 09:40:12 -06:00 |
Sam Harwell
|
227214765d
|
Cleaner initialization of predefined sets and maps
|
2012-12-14 09:38:40 -06:00 |
Sam Harwell
|
ac55cf3990
|
Add missing generic type arguments
|
2012-12-14 09:37:22 -06:00 |
Sam Harwell
|
51dadaf7e8
|
Updated TestPerformance output (platform-specific newlines, simplified source name formatting)
|
2012-12-13 08:51:36 -06:00 |
Sam Harwell
|
129e403f4a
|
Updated comments in TestPerformance
|
2012-12-13 08:45:14 -06:00 |
Sam Harwell
|
e48d87d6a8
|
In TestPerformance, REUSE_LEXER and REUSE_PARSER default to false since it's an easier case to work with and overhead is minimal now that the DFA is shared between instances
|
2012-12-13 08:27:55 -06:00 |