0aff1dd0b4be1b8d8cb45b59079ca883a1b3205a |
|
17-Jun-2014 |
Elliott Hughes <enh@google.com> |
Remove. (cherry-pick of 63744c884dd4b4f4307f2b021fb894af164972af.) Change-Id: Ibf79a402e1bad98a262e380fcee3d35c127ae6d5
|
63744c884dd4b4f4307f2b021fb894af164972af |
|
17-Jun-2014 |
Elliott Hughes <enh@google.com> |
Remove. Change-Id: Ibf79a402e1bad98a262e380fcee3d35c127ae6d5
|
e8a958066d95a4e15a9834e8b9067d106efd9b53 |
|
15-Jun-2014 |
Elliott Hughes <enh@google.com> |
@hide. Change-Id: Ieacf34a7b850910e70ae54f738608509e2c39e2e
|
e9ed1b1450852172a48f9811ebb09d25f2f7e140 |
|
08-May-2014 |
Neil Fuller <nfuller@google.com> |
Unhide further 1.7-era APIs Change-Id: I15ef2991b03a9503d6917a7f3351b32f42f662fb
|
ff4d3dc9ffc14e71bd5918f0492f6182a3752609 |
|
04-Apr-2014 |
Neil Fuller <nfuller@google.com> |
DO NOT MERGE Fix broken CTS HttpCookie test Added some test cases and corrected the test to conform to the RI behavior. (cherry picked from commit 154d3fb470158aa01cae000781d0d65cf4c186dd) Change-Id: Ib32baf2e923c50fca1a5a4cb7cbd7f55ed70e760 Bug: 13748507
|
154d3fb470158aa01cae000781d0d65cf4c186dd |
|
04-Apr-2014 |
Neil Fuller <nfuller@google.com> |
Fix broken CTS HttpCookie test Added some test cases and corrected the test to conform to the RI behavior. Change-Id: Ib32baf2e923c50fca1a5a4cb7cbd7f55ed70e760 Bug: 13748507
|
3bb69fa0b8fe5119c3f19cd7f5d725118aa506af |
|
07-Mar-2014 |
Neil Fuller <nfuller@google.com> |
Add 1.7 methods to HttpCookie. Adding isHttpOnly() and setHttpOnly(). Added more documentation around the specifications supported since the HttpOnly attribute was added by RFC 6265. Improved documentation around toString() because I found the method confusing, plus RFC 6265 goes back to a simpler format than the RFC it obsoletes meaning callers should use version 0 not version 1. Change-Id: Ie52ea80dc5bd7d1575fcaccde70976ed29729817
|
cff1616012dc0d56c2da9af2b9b1183e76c7e044 |
|
04-Dec-2012 |
Elliott Hughes <enh@google.com> |
Add detail messages to all the easy IllegalArgumentException cases. Noticed during my recent Matcher change. Change-Id: I415d911b26d0ee548ca04d56bba7fc3d4e6b3f88
|
0c59055dd24e1659f85d9ff7e2148883f663bd62 |
|
27-Apr-2011 |
Jesse Wilson <jessewilson@google.com> |
Support conditional gets in HttpURLConnection. This is the first step towards adding an HTTP response cache. There's still much to do; details are listed on the bug. Change-Id: Ie693fe424d1d90e90576fc959595e4d96a31f767 http://b/3180373
|
ae394a866dd86df8819b652dfe00b3d2c7ee204c |
|
20-Apr-2011 |
Elliott Hughes <enh@google.com> |
Remove "java.net.preferIPv6Addresses", which has been true since Eclair. Also ensure all javadoc references to RFCs are links. Change-Id: I58b08a8ead08d6eab018e19ec2cff7d60f2b06e6
|
6186821cb13f4ac7ff50950c813394367e021eae |
|
08-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Move libcore.base classes to libcore.util and libcore.io. Change-Id: I2340a9dbad3561fa681a8ab47d4f406e72c913e3
|
f162edaa335461474b020027bb2e85eb3be2c179 |
|
14-Jan-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix HTTP cookie to do case mapping with Locale.US. While I'm here fix a MockWebServer bug I recently introduced that broke cookie tests that needed to know port numbers before responses were enqueued. Change-Id: Idb2389ac5ed66656248c10aeb68209641acc0a68 http://b/3325637
|
0d93c38cc3c7a5001aece8a18cafc6d1fc7551f3 |
|
04-Nov-2010 |
Elliott Hughes <enh@google.com> |
Add a public @hide InetAddress.isNumeric. Some frameworks/base callers want to know whether they can call getAllByName/getByName without incurring a DNS lookup. Rather than have them write their own JNI to do the AI_NUMERICHOST getaddrinfo(3) call, let's just offer them ours. Why don't I fully expose getaddrinfo(3)? Because it doesn't map to Java API very well, and no-one needs that yet. So for now, let's take the easy way out. Also improve some misleading javadoc. Bug: 3073384 Change-Id: Ia1990313306254598a4e1480cae356f68ceaaf22
|
b0b73fa970581e7aa8735c0c388c4363cf8da07b |
|
29-Jul-2010 |
Ben Dodson <bjdodson@google.com> |
Fix for poorly compiling documentation Change-Id: I6077052df3cf6ba1f977aa312552ef8fe43bd56c
|
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
|
6e5d43fafa5d4fa75cefa8e552c6c1c60a5d3534 |
|
27-May-2010 |
Jesse Wilson <jessewilson@google.com> |
Fixing many test failures with the new cookie implementation. Highlights: - don't send cookies with nonmatching ports or secure attributes - default the port when "port" with no value is received - make CookieStore threadsafe - make CookieStore retain only host in URIs - fix concurrent mod bug when removing expired cookies - support null URIs in the CookieStore (unfortuantely) - parse more date formats; even ridiculous date formats - match ".google.com" to "google". - support single quotes in attribute values - exploit @hide to add a new API, URI.getEffectivePort() Alongside this change I've fixed several test problems in dalvik-prebuild's copy of both the Harmony tests and the jtreg tests. Most of the fixes involve commenting out bogus assertions. Change-Id: I71f09110b48d8ca4f3538fd21c8dde7ffdd35a6a
|
1ca3a957ea02c279214b668925e0b61e618da606 |
|
25-May-2010 |
Jesse Wilson <jessewilson@google.com> |
Reduce the visibility of HttpCookie.isFullyQualifiedDomainName(). This is a genuine bug caught by apicheck. Yay apicheck. Change-Id: I8f9cb60d42d7cba1b65b3173660ef51cd8427622
|
77160e9cd7841fcf49d20b97a75d60e827c351ee |
|
21-May-2010 |
Jesse Wilson <jessewilson@google.com> |
Redo HttpCookie.parse(). The previous code failed on quoted strings like ;Port="80,8080". It also had weird behavior, like not supporting Expires headers when the requesting locale wasn't English. Tested with Harmony's tests and our CookieTest. Change-Id: I271817b6febd30248f55f834cdcc2e3d5dfcd4c2
|
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
|
eeefcae2980c8db05ec08303b5b112afce232d26 |
|
06-May-2010 |
Elliott Hughes <enh@google.com> |
Remove the "Answers" javadoc barbarism. I didn't realize how little of it was left, or I'd have done this earlier. Change-Id: Ic4c23c3779bbee0ed4a8117584c5332e04536b5d
|
d138a32a96aef19d6ae3bd7ead3fbfef1a5f8217 |
|
29-Apr-2010 |
Jesse Wilson <jessewilson@google.com> |
Adding public API for cookies. We still need to wire this into the HTTP connection classes. http://b/issue?id=1608781
|