bb3195ff5c5fa60456fe86927bee3aebcbe867aa |
|
10-Apr-2014 |
Calin Juravle <calin@google.com> |
Don't allow explicit signs in URL port numbers. Bug: 5239391 Change-Id: Iea158e19de2ace224f29c07c56811b7eab9c0eb9
|
99b4489d0555c6e0e5df941cbfad4cf250c8f0b8 |
|
07-Jun-2013 |
Elliott Hughes <enh@google.com> |
Fix @deprecated javadoc orthography. Change-Id: I6db6d91e21b8e1aca5b5338534196fd5bdef8a06
|
98c564c72480313ae2954a7f0b666ff94345a2f1 |
|
25-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Only permit square brackets on IPv6 addresses. We were failing two tests in URLTest because we were accepting IPv4 addresses and host names. Note that in the RI, URL is extremely lenient on validating the characters in the parts of a URL. It permits any character in any part except for the delimiter characters like '/' or ':'. The lax IPv6 check 'does it contain a colon?' is consistent with the RI. Change-Id: I957f2ee610b72cf68a7773b4c02a4b6d5fcbb9de
|
ce257b03a1e5ff6075967e6a84cdb439cb2b01c8 |
|
27-May-2011 |
Jesse Wilson <jessewilson@google.com> |
Clean Up URI's parsing code. http://b/2753295 Change-Id: I190ee12c14d1b3b17e2c8cb5ef3868618f1ee124
|
2d99ef561304174b8ae01a0a68d5b96d5edb9f10 |
|
26-May-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix URI to behave more like the spec and browsers and less like the RI. When computing relative paths from URLs like foo.com/a to foo.com/a/b, this now uses "a/b" as the relative path and not just "b". That was an RI bug that we were foolishly compatible with. Change-Id: I6e3f10d84602c08bbf6bd7c7e43c2ba3387e4c3b http://b/2753295
|
c5727263001f1eae068f7821063d7bfb2da8e24c |
|
26-May-2011 |
Jesse Wilson <jessewilson@google.com> |
Use canonicalizePath in URI. This needs to add another mode to canonicalizePath to not discard ".." prefixes from relative paths. Change-Id: I9e0b86bd1e7ab8e5e71c46f1efcf4aeb218e66b2 http://b/2753295
|
5292410e4ebf7fb5149eefd2f52fcb94c46690a6 |
|
24-May-2011 |
Jesse Wilson <jessewilson@google.com> |
Rewrite parsing for java.net.URL. This fixes many broken cases on handling relative URLs. We normalize all URLs by default. This will result in more URL equality than before. Previously the URLs http://android.com/a/../ and http://android.com/ were not equal; now they are equal. Change-Id: I8cf7be2e42eeb1386520be2698d8f14e0a55decb http://b/4361656
|
8f99aa098c6a06b8be788abbca1c1d1060342709 |
|
21-May-2011 |
Jesse Wilson <jessewilson@google.com> |
Cosmetic cleanup of java.net.URL. Update the documentation to be closer to reality. Change-Id: Ic187efde5d83c6bfcdc80428429a2d0f186d9d0a http://b/2753295
|
6c434a1215049a76ba82fea69e8c5aa76cad955b |
|
21-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix URL.equals() to not throw on null hosts. Change-Id: Ib89c902a10b28dc7e78600b44a3f1ff230f9b553 http://b/3474668
|
32559028b14b9b321b10eede050afd554a376569 |
|
09-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Use the same code to encode and fix poorly encoded URLs. Don't permit digits outside of ASCII. Change-Id: I47b756c32e67b7415e35ae9eb55b735d1c22a36d http://b/3436051
|
56099d23fcb002b164bff8fb7f14d6ec0453509e |
|
09-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove redundant URL encoders and decoders. http://b/3436051 http://b/2753295 Change-Id: I5836eab395214767efa4a3d8e8002cff72738854
|
6186821cb13f4ac7ff50950c813394367e021eae |
|
08-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Move libcore.base classes to libcore.util and libcore.io. Change-Id: I2340a9dbad3561fa681a8ab47d4f406e72c913e3
|
7e00db4156e50ce5f20fefb820dca339299134d3 |
|
30-Jan-2011 |
Jesse Wilson <jessewilson@google.com> |
Don't do DNS lookups in URL.equals() Change-Id: Iea9becdb3a16eab054f9073719c77c2215ce0208 http://b/3045867
|
4b25199bc0b7a64a6feaa60e7d5d6b0474341234 |
|
21-Jan-2011 |
Elliott Hughes <enh@google.com> |
Add an @hidden Byte.toHexString that does the right thing, and use it. Turns out most callers don't actually give a toss about case anyway, since they're just for debugging output. Bug: 3371169 Change-Id: Ib8dc079be2dcbf6f2415ecb9b71d034ee71f68eb
|
d1b5e5da828434388e486a388710d21e4306dae0 |
|
20-Jan-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix URL character bugs by adding yet another encoder. We don't have an encoder that ignores already escaped characters. Change-Id: I9ff080ad1745136b7d7313d78af2b0ca1785b200 http://b/3360947
|
8fd0225a5c3918fe0cd4680258388985c25533e5 |
|
06-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Fix some of the most obvious bugs in URLStreamHandler's URL parsing. Change-Id: I73ce6ccc169405e993d572ac3bf3af9ba39699c9 http://b/2753295 http://code.google.com/p/android/issues/detail?id=12724
|
67db542e53c47a28e3f96beb7c9e46330483dc40 |
|
29-Sep-2010 |
Jesse Wilson <jessewilson@google.com> |
Fix a problem where URL.equals() was returning true when both hosts couldn't resolve. See http://b/3045007 Change-Id: I83f2a0d8888dd30aaf6099049ce8008487d4337d
|
e32b21f14d52bac429a9c54fe031f9e92c911d64 |
|
18-Jun-2010 |
Jesse Wilson <jessewilson@google.com> |
Implementing ZoneInfo.hasSameRules(). Moving TimeZoneTest to OldTimeZoneTest and removing test methods that are duplicated between libcore and Harmony. Also adding Objects.equals() to make implementing this easy, and removing redundant time zone tests. I did a few searches to find candidate code that could take advantage of this new utility method and adopted it there. Change-Id: I133298f1b36d755bd35c1ad0dc0ab366fd164270
|
b1396870f92135aa140bd2b86221768dea5bc11d |
|
25-May-2010 |
Elliott Hughes <enh@google.com> |
Remove the luni localized exception messages. Also fix a bug I introduced in KXmlSerializer: s.isEmpty() is not equivalent to "".equals(s) if s is allowed to be null. Bug: 1251121 Change-Id: I41a0a98ffb49f214041c9110f824d327af5c34e8
|
80a7fbab52b96c9fd47c72f8987d1babe2cd001d |
|
22-May-2010 |
Elliott Hughes <enh@google.com> |
Remove more localized exception messages. I also accidentally mixed two unrelated changes in here: replacing "".equals and equals("") with String.isEmpty, and removing some dead code in org.apache.harmony.luni.util.Util. Change-Id: I0aaad43290b083085b3095b624caf096de487223
|
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
|
fd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726 |
|
13-May-2010 |
Elliott Hughes <enh@google.com> |
Remove //$NON-NLS-\d$ cruft. Mostly done by perl(1), with manual cleanup of the few misspelled instances. This makes our trailing whitespace slightly worse, but I'll fix all that with a follow-on change. Change-Id: I0b4ca98819be6f9519c4ba980d759bd1ee1a0303
|
55392539fea537abfb6581b474918f9d611fba27 |
|
16-Dec-2009 |
Jesse Wilson <jessewilson@google.com> |
Update luni package to Harmony r888752. Conflicts: libcore/luni/META-INF/MANIFEST.MF libcore/luni/make/findbugs-exclude-filter.xml libcore/luni/src/main/java/java/io/BufferedOutputStream.java libcore/luni/src/main/java/java/io/BufferedReader.java libcore/luni/src/main/java/java/io/CharArrayReader.java libcore/luni/src/main/java/java/io/StringReader.java libcore/luni/src/main/java/java/lang/StrictMath.java libcore/luni/src/main/java/java/lang/ref/ReferenceQueue.java libcore/luni/src/main/java/java/net/Inet4Address.java libcore/luni/src/main/java/java/net/InetAddress.java libcore/luni/src/main/java/java/util/ArrayList.java libcore/luni/src/main/java/java/util/EnumSet.java libcore/luni/src/main/java/java/util/HugeEnumSet.java libcore/luni/src/main/java/org/apache/harmony/luni/internal/reflect/ProxyConstantPool.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/AbstractMemorySpy.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/DebugMemorySpy.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/Endianness.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/IFileSystem.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/IMemorySystem.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/INetworkSystem.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/IPlatformConstants.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/OSFileSystem.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/OSMemory.java libcore/luni/src/main/java/org/apache/harmony/luni/platform/OSNetworkSystem.java libcore/luni/src/main/java/org/apache/harmony/luni/util/InputStreamExposer.java libcore/luni/src/main/native/hyzip/shared/zipcache.c libcore/luni/src/main/native/hyzip/shared/zipsup.c libcore/luni/src/main/native/include/jni.h libcore/luni/src/main/native/include/jni_types.h libcore/luni/src/main/native/include/jvmti.h libcore/luni/src/main/native/include/jvmti_types.h libcore/luni/src/main/native/launcher/unix/main_hlp.c libcore/luni/src/main/native/luni/shared/OSNetworkSystem.c libcore/luni/src/main/native/luni/shared/file.c libcore/luni/src/main/native/luni/windows/makefile libcore/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/UnixFileTest.java libcore/luni/src/test/java/tests/api/java/io/BufferedOutputStreamTest.java libcore/luni/src/test/java/tests/api/java/io/BufferedReaderTest.java libcore/luni/src/test/java/tests/api/java/io/SerializationStressTest.java libcore/luni/src/test/java/tests/api/java/net/SocketTest.java libcore/luni/src/test/java/tests/api/java/util/ArrayListTest.java libcore/luni/src/test/java/tests/api/java/util/EnumSetTest.java libcore/luni/src/test/java/tests/api/java/util/TimerTest.java
|
4fefecee9d4a5d2a4510f516b4015607b19e8d09 |
|
13-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
eclair snapshot
|
a389b4a499f40379b0b204d7ba1c2057663d95c0 |
|
11-Aug-2009 |
Jesse Wilson <jessewilson@google.com> |
Update Luni to Harmony r802921. Notable changes: - replaced StringBuffer with StringBuilder in several places - fixed a problem with BufferedInputStream's newline characters (EBCDIC) - cleanup Timer's finalizer helper object - new cache for the canonical path of a file - fixed concurrency issue with ArrayList - floating point parsing now trims length for very small numbers - encoding specified "UTF-8" when converting some byte[]s to strings (JarURLConnection, Util, OSFileSystem) - Harmony now implements floor and ceil in Java. We continue to use native code.
|
f5597e626ecf7949d249dea08c1a2964d890ec11 |
|
25-Jul-2009 |
Jesse Wilson <jessewilson@google.com> |
Integrate luni module (but not tests) to Harmony r772995. Notable changes - Stripped "@since Android 1.0" from many files. Most files are now 100% the same in Dalvik and Harmony. - AbstractStringBuilder.reverse() supports surrogates - AbstractStringBuilder shares less to waste less memory - Bitset optimized - BufferedInputStream changed to support unsynchronized close() - BufferedOutputStream does flushInternal - BufferedReader supports EBCDIC NEL - Collections.synchronizedList().indexOf() does a copy for more concurrency - Classes in nio module changed: DatagramChannelImpl, SocketChannelImpl and ServerSocketChannelImpl (these depend on internal APIs changed in this update) - DataInputStream/DataOutputStream now use a small buffer to limit the number of times the underlying stream is accessed - Date now has a minutes offset, more efficient toString() - ExposedByteArrayInputStream: new internal class - DeleteOnExit moved to top-level class - FileDescriptor.isValid() now non-native - Float, Double lessThan optimized (fix for compare(-0.0F, 0.0F) still pending) - FileURLConnection now guesses content types from streams - HashMap iterator changes - Hashtable iterator changes - INetworkSystem - removes bind2(), createMulticastSocket, sendStream(), - renames createSocket to createStreamSocket - JarURLConnection rewritten - LinkedHashMap: new iterator - Locale, Currency, TimeZone: now use ICU in Harmony, plain Java in Dalvik - ObjectInputStream: Accessor objects in Harmony, direct native in Dalvik - ProxyClassFile - many changes - String - optimized ascii for toLowerCase, toUpperCase, compare - Timer - rewritten - TreeMap - rewritten - URLClassLoader - new - URLConnection - new guessContentTypeFromStream(), uses org.apache.harmony.awt.www.content to lookup content type handlers
|
adc854b798c1cfe3bfd4c27d68d5cee38ca617da |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1c0fed63c71ddb230f3b304aac12caffbedf2f21 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
dd828f42a5c83b4270d4fbf6fce2da1878f1e84a |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
|
fdb2704414a9ed92394ada0d1395e4db86889465 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|