1
0
mirror of https://github.com/square/okhttp.git synced 2025-09-11 18:10:47 +03:00

7 Commits

Author SHA1 Message Date
renovate[bot]
a51cfbf841 Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7 (#8702)
* Update dependency com.diffplug.spotless:spotless-plugin-gradle to v7

* Reformat

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <jw@squareup.com>
2025-03-19 15:25:20 -04:00
Yuri Schimke
5b2a1e139e Split okhttp core into Android and JVM (#8600) 2024-12-27 13:39:56 +00:00
cketti
c65a67ac75 Update IdnaMappingTable.txt (#8247)
Source: https://unicode.org/Public/idna/15.1.0/IdnaMappingTable.txt
2024-02-10 11:25:47 +00:00
Jesse Wilson
a228fd64cc Reformat with Spotless (#8180)
* Enable spotless

* Run spotlessApply

* Fixup trimMargin

* Re-run spotlessApply
2024-01-07 20:13:22 -05:00
Jesse Wilson
0e312d7804 Prepare to enable Spotless (#8179)
* Prepare to enable Spotless

I'm not super keen on any of these changes, but I am very
keen on having automatic formatting.

* Don't actually enable Spotless yet
2024-01-07 11:05:34 -05:00
Adam Erb
8c8c3dbcfa Add new inline mapping strategy to IdnaMappingTable (#7882)
* Add new inline mapping strategy to IdnaMappingTable

---------

Co-authored-by: Adam Erb <adam.erb@verafin.com>
2023-06-09 08:41:21 +01:00
Jesse Wilson
b6eeec4575 Implement a compact IDNA mapping table (#7789)
* Implement a compact IDNA mapping table

This is optimized for fast lookups and small code size. It also
avoids using a resource file, as that's not an option on Kotlin/JS.

The data is encoded with 3 ASCII strings, as described in the new
IdnaMappingTable class docs. I've got tests that confirm the compact
data is consistent with the simple implementation for all code points.

* Enforce maximum length invariants

* Disable animal sniffer in the build-time-only IDNA mapping module
2023-05-02 07:21:58 -04:00