Yuri Schimke
|
24c7d54ecb
|
Handle localhost as ipv6 without bracket quoting (#5297)
* Handle ipv6 hostnames without bracket quoting
* simplify
* Add ipv4 localhost test
* Update RecordedRequest.kt
|
2019-07-23 23:15:53 -04:00 |
|
Yuri Schimke
|
6903b89e0b
|
Cleanup of error prone and warnings (#5268)
* Comment some warnings
* Wrap
* Disable warnings
|
2019-07-15 21:11:35 -04:00 |
|
Jesse Wilson
|
7292e54a63
|
Update the changelog for OkHttp 4.0.1
|
2019-07-10 11:40:44 -04:00 |
|
Jesse Wilson
|
911c5bf5b2
|
Prepare for release 4.0.0.
|
2019-06-26 19:30:33 -07:00 |
|
Yuri Schimke
|
321791908a
|
Allow nullable on Util.close (#5224)
Enforce null check in java with any mutable nullable closable
|
2019-06-25 07:24:40 +01:00 |
|
Jesse Wilson
|
50e4c422d2
|
Move the API docs from /okhttp/api to /okhttp/4.x
|
2019-06-21 23:23:46 -04:00 |
|
Masaru Nomura
|
966dd3e3bb
|
Change return type of MockWebServer#takeRequest(...) to nullable to maintain backward compatibility in OkHttp4.0
Previously in OkHttp3, takeRequest(...) returns RecordedRequest?.
ref. [takeRequest(timeout: Long, unit: TimeUnit) in 3.14.2](https://github.com/square/okhttp/blob/parent-3.14.2/mockwebserver/src/main/java/okhttp3/mockwebserver/MockWebServer.java#L308)
|
2019-06-21 01:16:02 -04:00 |
|
Jesse Wilson
|
70cd67c75d
|
Tweak the MkDocs build
Retain the 3.x docs by doing a dirty MkDocs build
Build more Dokka projects
|
2019-06-20 00:01:47 -04:00 |
|
Jesse Wilson
|
20cd3a0893
|
Increase severity of bridge methods to ERROR. (#5160)
Delete the KotlinSourceCompatibilityTest. It has served its purpose.
|
2019-06-03 06:38:19 +01:00 |
|
Jesse Wilson
|
e382731975
|
Fix Kotlin idioms in MockResponse. Headers and Trailers should be vals.
Also track OkHttp 3.14.x in KotlinSourceCompatibilityTest. This shouldn't
have been updated to use new APIs.
|
2019-06-01 22:47:12 -04:00 |
|
Masaru Nomura
|
8369f65063
|
Use apply {} to adopt idiomatic Kotlin in Dispatcher and QueueDispatcher
Follow up of https://github.com/square/okhttp/pull/5144#issuecomment-497954889
|
2019-06-01 18:06:40 -04:00 |
|
Jesse Wilson
|
f050a7c7e9
|
Merge pull request #5152 from square/jwilson.0601.reqbo
Adopt idiomatic Kotlin in RecordedRequest
|
2019-06-01 16:27:27 -04:00 |
|
Jesse Wilson
|
1a1d0b7df0
|
Adopt idiomatic Kotlin in RecordedRequest
Not much to change.
|
2019-06-01 14:50:32 -04:00 |
|
Jesse Wilson
|
080a0a38ea
|
Adopt idiomatic Kotlin in MockWebServer
|
2019-06-01 14:48:07 -04:00 |
|
Masaru Nomura
|
1294e11fc5
|
Idiomatic Kotlin in MockResponse.kt
|
2019-05-30 02:11:30 -04:00 |
|
Jake Wharton
|
0827fc62da
|
Update Headers factories to be idiomatic Kotlin
|
2019-05-28 09:27:51 -04:00 |
|
Amir Jalal
|
c9109a6f8e
|
Update README.md (#5072)
* Update README.md
Similar if-else but in Switch-case
* Update README.md
Indent levels fixed
|
2019-05-27 20:36:55 -04:00 |
|
Jesse Wilson
|
0bca781fc3
|
New releasing guide.
Also make readmes offer artifacts with Gradle syntax
|
2019-05-25 21:26:22 -04:00 |
|
Jesse Wilson
|
f87bb6d817
|
Reorder the members of OkHttpClient (#5114)
This isn't perfect but I think it's a bit more logical.
|
2019-05-25 06:50:37 +01:00 |
|
TangHuaiZhe
|
103e95d416
|
Use apply to simplify MockResponse (#5112)
* Use apply to simplify MockResponse
* Revert modify in Address
|
2019-05-24 15:52:36 -04:00 |
|
Jake Wharton
|
f7b11cacba
|
Merge UtilKt and part of InternalKt into Util
|
2019-05-23 11:14:31 -04:00 |
|
Jesse Wilson
|
030dbeae26
|
Delete unwanted whitespace.
I think the convert-to-Kotlin feature adds these
|
2019-05-22 21:12:55 -04:00 |
|
Jesse Wilson
|
ec0fd9f4a8
|
Replace statics with extension functions to create HttpUrls
|
2019-05-21 22:47:37 -04:00 |
|
Jesse Wilson
|
2afc236bf9
|
Merge pull request #5086 from square/jakew/remove-nullable-receiver/2019-05-20
Remove nullability of receiver for closeQuietly extensions
|
2019-05-20 23:14:42 -04:00 |
|
Jake Wharton
|
28d517a934
|
Remove nullability of receiver for closeQuietly extensions
|
2019-05-20 22:02:21 -04:00 |
|
Jesse Wilson
|
e67ec3c51e
|
Adopt HttpUrl's new Kotlin API
|
2019-05-20 21:01:04 -04:00 |
|
Jesse Wilson
|
2c59337e31
|
Use check/require instead of if/throw
|
2019-05-20 19:02:41 -04:00 |
|
Jake Wharton
|
450750c031
|
Eliminate Util object in favor of top-level functions
|
2019-05-20 18:13:30 -04:00 |
|
Jake Wharton
|
8d9b408b57
|
Kotlin improvements
Around string index/substring/contains and collection contains mostly.
|
2019-05-20 17:13:24 -04:00 |
|
TangHuaiZhe
|
b3027a52ed
|
Replace Math.min() with minOf (#5071)
* Replace Math.min() with minOf
* Fix
|
2019-05-20 11:47:10 -04:00 |
|
Yuri Schimke
|
dcf5c8ceb6
|
Fix/Simplify regex usage (#5059)
* Fix/Simplify regex usage
* Cleanup
|
2019-05-18 06:33:34 -04:00 |
|
Jesse Wilson
|
fbfb5f8461
|
Merge pull request #5051 from square/jwilson.0315.extensionfuns
Promote some Util functions to be extensions
|
2019-05-16 23:04:54 -04:00 |
|
Jesse Wilson
|
53e0f9e7fb
|
Adopt idiomatic Kotlin in Headers
|
2019-05-16 08:32:31 -04:00 |
|
Jesse Wilson
|
6d872df83b
|
Promote some Util functions to be extensions
|
2019-05-15 20:35:07 -04:00 |
|
TangHuaizhe
|
32c2c318a3
|
Adopt idiomatic Kotlin in PushPromise
|
2019-05-14 15:49:52 +08:00 |
|
Jesse Wilson
|
73d2eacbbd
|
Merge pull request #5044 from square/jwilson.0512.kotlinlize_handshake
Adopt idiomatic Kotlin in Handshake
|
2019-05-13 09:17:56 -04:00 |
|
Jesse Wilson
|
c934863611
|
Merge pull request #5038 from square/jwilson.0511.namedrunnable
Replace NamedRunnable.java with a threadName function
|
2019-05-12 14:21:35 -04:00 |
|
Jesse Wilson
|
c6a3741e8e
|
Adopt idiomatic Kotlin in Handshake
I'm using DeprecationLevel.WARNING because I can't make the test
work otherwise:
https://stackoverflow.com/questions/56102107/suppress-deprecationlevel-error-in-kotlin
|
2019-05-12 14:16:08 -04:00 |
|
Yuri Schimke
|
aa4000f515
|
Convert Util to Kotlin (#5039)
|
2019-05-12 15:41:59 +01:00 |
|
Jesse Wilson
|
fd4c5a6632
|
Replace NamedRunnable.java with a threadName function
|
2019-05-12 10:41:54 -04:00 |
|
Yuri Schimke
|
6a4d933847
|
Convert Internal to Kotlin (#5041)
* Convert Internal to Kotlin
* Fix
* Update Internal.kt
* Update Internal.kt
|
2019-05-12 09:07:20 -04:00 |
|
Tang HuaiZhe
|
58a0a363d0
|
Convert MockWebServer to Kotlin
|
2019-05-11 21:26:16 -04:00 |
|
TangHuaiZhe
|
9f9cbdecea
|
Convert MockResponse to Kotlin (#5018)
* Rename MockResponse to Kotlin
* Convert MockResponse to Kotlin
* Fix DuplexTest failed
* Fix code
* Fix and use expression function
|
2019-05-08 20:28:32 -04:00 |
|
TangHuaiZhe
|
981639ac55
|
Convert mockweserver/PushPromise SocketPolicy RecordedRequest to Kotlin (#5003)
* Rename mockweserver/PushPromise SocketPolicy RecordedRequest to Kotlin
* Convert mockweserver/PushPromise SocketPolicy RecordedRequest to Kotlin
update
update
update
update
|
2019-05-05 15:31:51 -04:00 |
|
Egor Andreevich
|
3c0ed56d07
|
Convert MockDuplexResponseBody.java to Kotlin (#5008)
* Convert MockDuplexResponseBody.java to Kotlin
* Rename MockDuplexResponseBody.java to .kt
* Fix spotless
* Update Japicmp excludes
|
2019-05-04 17:04:34 -04:00 |
|
Egor Andreevich
|
6bb4669cc5
|
Convert DuplexResponseBody.java to Kotlin (#5006)
* Convert DuplexResponseBody.java to Kotlin
* Rename DuplexResponseBody.java to .kt
|
2019-05-03 21:50:44 -04:00 |
|
Egor Andreevich
|
c3c9e191cd
|
Convert MwsDuplexAccess.java to Kotlin (#5005)
* Convert MwsDuplexAccess.java to Kotlin
* Rename MwsDuplexAccess.java to .kt
* JvmStatic -> JvmField
|
2019-05-03 21:36:21 -04:00 |
|
Tang HuaiZhe
|
f950f1c69c
|
Fix Kotlin doc reference
update
|
2019-05-03 14:40:57 +08:00 |
|
TangHuaiZhe
|
905b53b6f3
|
Convert mockwebserver/QueueDispatcher and Dispatcher to Kotlin (#4998)
* Rename mockwebserver/Dispatcher to kt
* Convert mockwebserver/Dispatcher to Kotlin
* Rename mockwebserver/QueueDispatcher to kt
* Convert mockwebserver/QueueDispatcher to Kotlin
update
|
2019-05-02 20:28:31 -04:00 |
|
Jesse Wilson
|
23ca0ea3bb
|
Convert Http2Reader, Http2Writer to Kotlin (#4982)
* Rename Http2.java to .kt (and others)
* Convert Http2Reader, Http2Writer to Kotlin
|
2019-04-26 16:27:06 -05:00 |
|