1. 10 12月, 2019 2 次提交
    • J
      Prepare version 2.6.3 · 4401b6d5
      Jake Wharton 提交于
      4401b6d5
    • J
      Migrate forced suspension mechanism from yield to Dispatcher.Default · 70e245e7
      Jake Wharton 提交于
      Since it's possible for certain dispatchers to completely avoid yielding, and currently the immediate dispatchers exhibit this behavior, we need an alternate mechanism of forcing suspension or UndeclaredThrowableExceptions will still be seen.
      
      Retrofit does not have its own thread pool onto which we can defer resuming. Instead we rely to Dispatchers.Default and forcibly suspend the caller using low-level coroutine intrinsics.
      
      (cherry picked from commit 9d683b75)
      70e245e7
  2. 24 9月, 2019 3 次提交
  3. 31 7月, 2019 5 次提交
  4. 12 6月, 2019 1 次提交
  5. 06 6月, 2019 3 次提交
  6. 05 6月, 2019 2 次提交
  7. 31 5月, 2019 1 次提交
    • S
      `URL` overload for `Retrofit.Builder#baseUrl` · ce6e0d17
      Syed Seth 提交于
      Functionally does nothing, just somewhat cleaner to be able to do `baseUrl(URL)` than `baseUrl(URL#toString());` if handling a `URL` rather than `String`.
      Used `HttpUrl.get(String)` as `HttpUrl.get(URL)` returns null instead of throwing an exception.
      ce6e0d17
  8. 16 4月, 2019 1 次提交
  9. 11 4月, 2019 1 次提交
  10. 04 4月, 2019 2 次提交
  11. 02 4月, 2019 2 次提交
  12. 19 3月, 2019 4 次提交
  13. 08 3月, 2019 5 次提交
  14. 07 3月, 2019 1 次提交
  15. 01 3月, 2019 3 次提交
  16. 21 2月, 2019 1 次提交
  17. 20 2月, 2019 1 次提交
    • J
      Do not leak body in intermediate buffers to converters · 0e57bbf9
      Jake Wharton 提交于
      Multiple calls to source() would create a new BufferedSource which, when a single byte was read, would cache data in its buffer which would be lost on a subsequent call to source(). Calls to source() will now always return the same BufferedSource ensuring data cannot be lost.
      0e57bbf9
  18. 16 2月, 2019 2 次提交