Граф коммитов

72 Коммитов

Автор SHA1 Сообщение Дата
Ben Bader 188faba9e2
Add iOS SocketTransport implementation (#542)
This is rather crude, but it seems to work. Protocol and Transport are blocking APIs; in Android (and Java generally) that's okay, but Apple strongly pushes you towards async networking in iOS. So strongly in fact that all high-level APIs that are not yet deprecated are async-only, including Network.framework. This framework is also the only non-deprecated game in town when it comes to TLS.

In order to bridge the gap between Network.framework and our blocking APIs, this PR makes extensive use of dispatch semaphores - essentially, we block the calling thread until a completion handler signals the semaphore.

In the next major version of Thrifty, we should see about making the core APIs suspend, with blocking shims for migration. In that version, we can drop this charade and just use ktor or something. Until that glorious day, we get NwSocket.
2023-10-17 13:57:51 -06:00
Ben Bader 4d20ba2ef2
Prepare next development version 2022-12-13 11:32:29 -07:00
Ben Bader 4cc61561df
Release version 3.1.0 2022-12-13 11:24:24 -07:00
Ben Bader b54e8ce369
Bump Gradle to 7.6, enable build caching (#508)
* Bump Gradle to 7.6

* Enable build caching by default, use it in CI but not integration tests
2022-12-08 14:10:42 -07:00
Ben Bader 68ada3e14a
Prepare next development version 2022-06-07 16:03:38 -06:00
Ben Bader 86e81cc217
Release version 3.1.0-RC02 2022-06-07 15:56:10 -06:00
Ben Bader 6d405e13cb
Prepare next development version 2022-04-13 14:18:17 -07:00
Ben Bader 505bfa19e8
Release version 3.1.0-RC01 2022-04-13 13:50:54 -07:00
Ben Bader 86e89af427
Move version catalog into TOML file, put plugins there (#472) 2022-04-11 23:29:58 -06:00
Ben Bader 4b730c198f
Bump Kotlin to 1.6.20 (#469) 2022-04-11 16:53:55 -06:00
Ben Bader d940d78efb
Upgrade to kotlin 1.6.10 (#463) 2022-01-20 16:52:41 -07:00
Ben Bader 84e37870cb
Bump to Kotlin 1.5.32 (#462) 2022-01-18 12:00:33 -07:00
Ben Bader e9ec1fb2ce Prepare next development version 2021-08-07 23:27:36 -06:00
Ben Bader de139b4e72 Prepare release 3.0.0 2021-08-07 22:47:22 -06:00
Ben Bader 9480996855 Prepare next development version 2021-08-02 17:41:21 -06:00
Ben Bader b95a10a11e Prepare release 3.0.0-RC02 2021-08-02 17:32:48 -06:00
Ben Bader 7bdb221058
Replace subprojects/allprojects with buildSrc and version catalogs (#456) 2021-08-01 21:22:45 -06:00
Ben Bader 68d59c6887
Prepare next development version 2021-06-21 13:55:55 -06:00
Ben Bader 4b8312033b
Prepare release 3.0.0-RC01 2021-06-21 13:31:29 -06:00
Ben Bader 55f8b766f4
gradle-maven-publish-plugin 0.11.1 -> 0.13.0, dokka 0.10.1 -> 1.4.20 (#438)
* gradle-maven-publish-plugin 0.11.1 -> 0.13.0, dokka 0.10.1 -> 1.4.20

* Bump max metaspace for Dokka
2021-02-11 22:08:59 -07:00
Ben Bader 5a7f320171
Convert thrifty-runtime to kotlin, require Java 8 (#391)
* Convert thrifty-runtime to kotlin, require Java 8

* Remove erroneous nits in KotlinCodeGenerator

* New kt files should end with a newline

* Fix artifacts from Java->Kotlin conversion, use better idioms
2020-08-23 18:43:51 -07:00
Ben Bader 9447887e29
Prepare next development version 2020-07-13 14:39:29 -07:00
Ben Bader ff3a44023c
Release version 2.1.1 2020-07-13 14:29:43 -07:00
Ben Bader d1ca5cc2d6
Prepare next development version 2020-06-09 11:16:29 -07:00
Ben Bader f88b7bfdd7
Release version 2.1.0 2020-06-09 10:47:31 -07:00
Ben Bader e1a390e2bf
Move to gradle-maven-publish-plugin (#343) 2020-05-15 00:41:11 -07:00
Ben Bader 0483dbac8a
Prepare next development version 2020-05-08 11:04:31 -07:00
Ben Bader baa42e5c17
Release version 2.0.1 2020-05-04 14:02:47 -07:00
Ben Bader 751b8c6698
Prepare next development version 2020-04-29 00:13:11 -07:00
Ben Bader a5f920e85c
Release version 2.0.0 2020-04-28 23:45:28 -07:00
Ben Bader 1b2492446d
Prepare next development version 2019-05-13 10:58:23 -07:00
Ben Bader 5b0f2cd4b2 Release version 2.0.0-RC1 2019-05-13 10:57:39 -07:00
Ben Bader c224e45bda
Prepare next development version 2018-11-02 15:22:40 -07:00
Ben Bader e419a32233
Release Thrifty 1.0.0 2018-11-02 15:22:09 -07:00
Ben Bader 4516d18c16
Prepare next development version 2018-09-10 15:54:47 -07:00
Ben Bader d9aae45f10
Release version 1.0.0-RC2 2018-09-10 15:41:11 -07:00
Ben Bader 1783767690
Prepare next development version 2018-08-15 17:47:38 -07:00
Ben Bader 3b9a0c5a35
Release version 1.0.0-RC1 2018-08-15 17:05:53 -07:00
Ben Bader 6d8187bd36
Convert thrifty-java-codegen to Kotlin (#173)
As part of the prep work for implementing Kotlin codegen, we're converting the compiler to Kotlin. This is the first portion to be converted; thrifty-schema is next, in stages.
2018-06-03 22:38:48 -07:00
Ben Bader ee09759a9b
Prepare next development version 2018-01-08 11:13:23 -08:00
Ben Bader 6f05dc4253
Release version 0.4.3 2018-01-08 11:02:57 -08:00
Ben Bader 553882c16b
Prepare next development version 2017-05-02 11:52:51 -07:00
Ben Bader 2a67612ffa
Release version 0.4.2 2017-05-02 11:39:48 -07:00
Ben Bader 22abda9a97
Prepare next development version 2017-03-16 14:56:16 -07:00
Ben Bader 10c4e91186
Release version 0.4.1 2017-03-14 15:22:31 -07:00
Ben Bader e8b10d9ba2
Prepare next development version 2017-03-08 16:38:14 -08:00
Ben Bader 97bee084f8
Prepare release 0.4.0 2017-03-08 16:36:20 -08:00
Ben Bader 95cc1a19d3
Prepare next development version 2017-02-10 23:33:45 -08:00
Ben Bader 5f75345fab
Release version 0.3.2 2017-02-10 23:29:15 -08:00
Ben Bader c4d0efa85a
Prepare next development version 2016-11-13 18:45:17 -08:00