91cd2eae0c1fd2e04d46876856b33b8324aa8b5f |
13-Jul-2012 |
Elliott Hughes <enh@google.com> |
Fix Matcher.find(int) to ignore the region. Also fix the tests, which were wrong. Bug: 6404568 Change-Id: I8718aab754bdbc87c37d573d19c4999cc3c447ac
atcher.java
|
953dfe37db00b2610807c3f895c72183c7ce5b14 |
30-Jun-2012 |
Elliott Hughes <enh@google.com> |
Clarify the documentation of the Pattern character classes. Android (via icu4c) supports the full Unicode TR-18 definitions rather than the traditional ASCII-only ones. Document this fact. Bug: http://code.google.com/p/android/issues/detail?id=21176 Change-Id: If9b94d4e7769ec1ef7c443a7db47bc7586f49b44
attern.java
|
92e33d7e684469ef294d5517e65a631b369c8e28 |
29-Apr-2011 |
Elliott Hughes <enh@google.com> |
Better regular expression exception detail messages. Before: Caused by: java.util.regex.PatternSyntaxException: Syntax error U_REGEX_MISSING_CLOSE_BRACKET near index 6: hello[ ^ at java.util.regex.Pattern.compileImpl(Native Method) at java.util.regex.Pattern.compile(Pattern.java:400) at java.util.regex.Pattern.<init>(Pattern.java:383) at java.util.regex.Pattern.compile(Pattern.java:374) After: Caused by: java.util.regex.PatternSyntaxException: Missing closing bracket in character class near index 6: hello[ ^ at java.util.regex.Pattern.compileImpl(Native Method) at java.util.regex.Pattern.compile(Pattern.java:400) at java.util.regex.Pattern.<init>(Pattern.java:383) at java.util.regex.Pattern.compile(Pattern.java:374) Some of the messages might still want some tuning, but we can improve them over time. Bug: 2974820 Change-Id: I4f41582030168847d22c5323125fde6928d0fc40
atternSyntaxException.java
|
fb0ec0e650bf8be35acb0d47da0311a7c446aa33 |
14-Jan-2011 |
Elliott Hughes <enh@google.com> |
Remove useless android-changed comments. I've changed useful ones to regular comments or TODOs, as appropriate. I've left ones in code like java.util.concurrent where we really are tracking an upstream source, making the change markers useful. I've left a handful of others where I intend to actually investigate the implied TODOs before deciding how to resolve them. Change-Id: Iaf71059b818596351cf8ee5a3cf3c85586051fa6
atternSyntaxException.java
|
1c76910f0a0fb0cb761a4505f3be1204d6be012b |
06-Jan-2011 |
Elliott Hughes <enh@google.com> |
Fix libcore javadoc errors. Random's javadoc was pretty random, and Pattern was missing some escaping in code samples. Also work round droiddoc bugs that were messing up Formatter and classes that inherited documentation from Object. Bug: http://code.google.com/p/android/issues/detail?id=13264 Bug: 3318601 Change-Id: Iddb0c807398840191ee003bc1644d611aef4d61d
attern.java
|
5850271b4ab93ebc27c1d49169a348c6be3c7f04 |
06-Oct-2010 |
Elliott Hughes <enh@google.com> |
Fix and improve Matcher.group(int) documentation. Bug: http://code.google.com/p/android/issues/detail?id=11723 Change-Id: Idd1c9009f1267ca7624ba8492a162bd72232f2cc
atcher.java
attern.java
|
e2f58c9501eac730d048199906dc41fe8e4cd6e9 |
29-Sep-2010 |
Brian Carlstrom <bdc@google.com> |
Scrub missing calls to super.finalize() Bug: 3024226 Change-Id: I6642cb9d4929ba72244529efe4ebdfa595ae4fa7
atcher.java
attern.java
|
7f0c06f737b6f1f6b3a5bb30111f95dd0ca586a2 |
02-Sep-2010 |
Brian Carlstrom <bdc@google.com> |
Don't use StringBuffer where we don't need to. I've left xalan alone, because that's just one big steaming heap. Change-Id: Ibf7b2b5e347196d4de857217b022003ccc409ac5
atcher.java
|
7365de1056414750d0a7d1fdd26025fd247f0d04 |
12-Aug-2010 |
Jesse Wilson <jessewilson@google.com> |
Sorting imports. Change-Id: I8347bc625480a1c37a1ed9976193ddfedeb00bbc
attern.java
|
aecd669ba84f758222c374027df1cc6849d37eed |
02-Jul-2010 |
Elliott Hughes <enh@google.com> |
Stop Matcher from copying its input onto the native heap. This uses ICU 4.6 API that we've manually backported to Android's ICU 4.4. Bug: 2777924 Change-Id: I799b3e621a8c87d560495bc3d7b48f2e11de9c60
atcher.java
|
e377c5a424823bacf28e8ffb2a2f02bfe46d4a2b |
26-Jun-2010 |
Elliott Hughes <enh@google.com> |
Rewrite java.util.regex to use ICU's C++ API. I've also removed a bunch of dead code and changed the interface to reduce the number of JNI transitions. Error checking is more uniform, various special cases have been removed, and we pass all the tests referenced by libcore/luni/src/test/java/tests/regex/AllTests.java for the first time. This should also be a stepping-stone to fixing http://b/2777924, removing the need to copy the input string to the native heap. Bug: 2587040 Change-Id: I62685a2384db441cd02df159e117187f3175e10d
atcher.java
attern.java
|
069774ea75c32440ad39f54c9a77d0eda6b20b53 |
23-Jun-2010 |
Elliott Hughes <enh@google.com> |
Minor java.util.regex.Pattern documentation fixes. Change-Id: If6a4afc8c9365cfce42fcaef00f19b0597a068bf
attern.java
|
1d4cff0114344c22b43007ecdd12903474f25e74 |
18-May-2010 |
Elliott Hughes <enh@google.com> |
Fix the exception thrown by Matcher.region. Caught by a harmony test; the RI documentation agrees. Change-Id: Ia7239033a35f6b952163d753ed36c5c8122dc171
atcher.java
|
f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 |
13-May-2010 |
Elliott Hughes <enh@google.com> |
Remove all trailing whitespace from the dalvik team-maintained parts of libcore. Gentlemen, you may now set your editors to "strip trailing whitespace"... Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
atchResultImpl.java
atcher.java
attern.java
atternSyntaxException.java
|
5f37da05bb48298568f8abd7c97c3d11552e1867 |
11-May-2010 |
Elliott Hughes <enh@google.com> |
Documentation improvements. Remove a bunch of content-free "package.html" files, and rewrite the Pattern documentation. Change-Id: Ieb4eee940dbbeab21828b8d7b2f172732f9dd6de
attern.java
ackage.html
|
cec4dd4b1d33f78997603d0f89c0d0e56e64dbcd |
26-Apr-2010 |
Peter Hallam <peterhal@google.com> |
merge more modules into luni
atchResult.java
atchResultImpl.java
atcher.java
attern.java
atternSyntaxException.java
plitter.java
ackage.html
|