Commit Graph

951 Commits

Author SHA1 Message Date
Jordan Rose
845c4e3fc2 Reset for version v0.87.1 2026-02-02 16:39:30 -08:00
marc-signal
6dd67d52e8 Remove ordered public key comparison 2026-02-02 13:37:11 -05:00
Jordan Rose
e419b9cf01 Update Gradle, AGP, Kotlin versions 2026-01-30 17:14:36 -08:00
Jordan Rose
d7f99838a6 java: Manually install protoc 3.29 in Docker, like Desktop's Docker
Previously we'd had jammy's 3.12, but that's missing some things we
use. Newer releases exist, but this is the one we've been using in
node/Dockerfile for a while, so if there's a problem we should update
both.
2026-01-30 15:22:53 -08:00
Jordan Rose
6a9f73b998 bridge: Use bridge_callbacks for PreKeyStore (Java bridge)
Adds support for callbacks with results to the JNI bridge, similar to
what f2eafbe6f8 did for the C bridge.

This does require introducing an "internal" version of PreKeyStore
that has simpler signatures for its callbacks; previously, the Java
objects for bridge_handle types were constructed on the Rust side of
the bridge, but that's not how bridge_fn works, and so it's not how
bridge_callbacks works. The additional overhead should not be
prohibitive.
2026-01-29 15:50:16 -08:00
marc-signal
a6edef3ad0 Add higher-level bridge code for account_exists() 2026-01-29 14:22:56 -05:00
Andrew
70c00c8dc5 Reset for version v0.86.17 2026-01-29 12:26:29 -05:00
Max Moiseev
0c874690a0 Reset for version v0.86.16 2026-01-28 15:55:03 -08:00
marc-signal
53380fca8e Add accountExists typed API 2026-01-26 15:56:52 -05:00
Marc
9d9122c154 Reset for version v0.86.15 2026-01-22 16:18:51 -05:00
Max Moiseev
a95feb9c5d Reset for version v0.86.14 2026-01-16 10:32:47 -08:00
gram-signal
bc7f5719d4 Updates for SVR enclave release 2026Q1. 2026-01-15 16:33:00 -08:00
Jordan Rose
a7e0cd9be0 Reset for version v0.86.13 2026-01-14 16:52:24 -08:00
Jordan Rose
d6b61b46d2 Add "useH2ForUnauthChat" remote config
When set, and when not using a transparent proxy, unauth chat
connections will be made over H2 instead of HTTP/1.1. Auth connections
will not be affected.
2026-01-14 13:50:53 -08:00
Andrew
504af9001c Reset for version v0.86.12 2026-01-12 16:41:23 -05:00
Jordan Rose
37dda46866 bridge_callbacks: Add JNI support
This required some changes to jni::ResultTypeInfo, because we no
longer have tokens available for the JNI types of a bridged function
to use with the jni_args! macro. Instead, we record signatures for
each type that might appear as a callback argument and use
const_str::concat to put them together.

This does not currently attempt to autogenerate the Java interface on
the other side of the bridge; given the way gen_java_decl builds on
top of cbindgen, this is likely tricky but not impossible. Something
to possibly add later.
2026-01-07 13:02:45 -08:00
Jordan Rose
d3a4a47177 Reset for version v0.86.11 2026-01-06 13:38:48 -08:00
Jordan Rose
1c54596e66 Reset for version v0.86.10 2025-12-17 11:27:46 -08:00
Jordan Rose
fbdafc0222 ChatServiceTest.java: clean up a bit 2025-12-16 17:46:10 -08:00
Jordan Rose
40940e4c31 java: Expose Network.connectProvisioning and ProvisioningConnection 2025-12-15 16:17:43 -08:00
Jordan Rose
5d1433cedd bridge: Add dedicated PossibleCaptiveNetwork error
This only applies to chat connections (including registration), and
for the time being is specifically looking for self-signed
certificates. Even though self-signed certificates can occur on any
network access, there should always be a chat connection early enough
in the app lifetime to identify the problem. (Other connections will
still log the error appropriately.)
2025-12-12 17:26:00 -08:00
Jordan Rose
7e4c3a7e8f java: Fix a hypothetical leak of a ServerMessageAck
If an incoming message notification comes in after the Java connection
object or listener has been GC'd, the ack handle would be leaked; now
it's properly cleaned up even on early exit.
2025-12-10 16:53:36 -08:00
Max Moiseev
2d76abfc38 Reset for version v0.86.9 2025-12-10 15:27:13 -08:00
Max Moiseev
4c308862a4 Reset for version v0.86.8 2025-12-08 12:18:02 -08:00
Jordan Rose
f33376ac03 Reset for version v0.86.7 2025-12-01 12:05:35 -08:00
Jordan Rose
494495504f Publish Java libraries to GCS instead of Maven Central
Co-authored-by: Andrew <andrew@signal.org>
2025-12-01 11:22:44 -08:00
Jordan Rose
94f030cdb7 Doc comments for AES-CTR, AES-GCM, and AES-GCM-SIV APIs 2025-11-18 16:03:19 -08:00
Max Moiseev
de5bbb992b Reset for version v0.86.6 2025-11-17 13:02:03 -08:00
Jordan Rose
8894050176 chat: Fix parsing of 409/410 responses to sendMultiRecipientMessage 2025-11-14 17:04:03 -08:00
Max Moiseev
89e3d4df8f Reset for version v0.86.5 2025-11-14 16:57:39 -08:00
Andrew
42935e5c5a Reset for version v0.86.4 2025-11-11 19:14:30 -05:00
Max Moiseev
acbe6822c5 Reset for version v0.86.3 2025-11-10 12:37:04 -08:00
Jordan Rose
ef0001108a Reset for version v0.86.2 2025-11-07 11:55:30 -08:00
Jordan Rose
3f0d2b1384 Revert "java: Publish to GitHub Packages instead of Maven Central"
This reverts commit b2c5685080.
2025-11-07 11:37:25 -08:00
Jordan Rose
8af11e52ea Reset for version v0.86.1 2025-11-06 17:50:19 -08:00
Jordan Rose
7475974889 ProGuard: keep kotlin.Pair's constructor 2025-11-06 17:17:49 -08:00
Jordan Rose
b2c5685080 java: Publish to GitHub Packages instead of Maven Central 2025-11-06 16:36:17 -08:00
Jordan Rose
776cf0601e Remove deprecated overloads of KyberPreKeyStore.markKyberPreKeyUsed 2025-11-06 16:10:09 -08:00
Jordan Rose
26f46d3d68 android: Bump minSdkVersion to 23 2025-11-06 15:51:06 -08:00
moiseev-signal
177a495eba java: Use kotlin.Pair 2025-11-06 15:37:29 -08:00
Andrew
be62a177b1 Reset for version v0.85.7 2025-11-03 23:25:12 -05:00
Max Moiseev
663e406675 Reset for version v0.85.6 2025-11-03 16:24:39 -08:00
Andrew
55133b3d05 Reset for version v0.85.5 2025-11-03 15:29:19 -05:00
Max Moiseev
5e5ea1aad7 Reset for version v0.85.4 2025-10-31 16:40:01 -07:00
Max Moiseev
0e99a6eb2d Reset for version v0.85.3 2025-10-29 16:45:24 -07:00
Max Moiseev
c3ff263d47 Reset for version v0.85.2 2025-10-24 07:40:33 -07:00
Jordan Rose
82d72ab7a2 jni: Preserve Pair element types in Native.kt 2025-10-21 15:01:45 -07:00
Jordan Rose
b6a05a4a7e java: Expose UnauthUsernamesService.lookUpUsernameLink 2025-10-17 13:13:30 -07:00
Jordan Rose
baec47e62e bridge: Add UnauthenticatedChatConnection_look_up_username_link 2025-10-17 12:14:40 -07:00
Jordan Rose
be59696a1b Enforce additional Python style checks
- flake8-comprehensions
- flake8-deprecated
- flake8-import-order
- flake8-quotes

The quoting rules are, roughly:
- Prefer single-quoted strings
- Unless it's a multi-line string / docstring
- Or the string contains an apostrophe
2025-10-16 13:48:03 -07:00