Jordan Rose
9e13263581
Switch to swift-format for formatting instead of swiftformat
...
swift-format is owned by the Swift project and is generally less
opinionated than swiftformat (but better at formatting to a limited
line length).
2025-06-25 11:24:57 -07:00
Alex Bakon
8e950c4691
Port Swift args, return types from [UInt8] to Data
2025-06-13 15:15:04 -04:00
moiseev-signal
58f43107ab
Enforce Swift code formatting
2024-02-23 09:56:38 -08:00
Jordan Rose
6a547bf3f2
zkgroup: Use ServiceId and Aci in public APIs instead of UidBytes
...
Some of these APIs have to match up with UuidCiphertexts, and so we
convert them all for consistency.
2023-07-20 12:26:46 -07:00
Jordan Rose
af34c38c03
zkgroup: Convert UuidCiphertext operations to use ServiceId
...
Eventually all of zkgroup will use ServiceId, but this part will
actually behave differently.
2023-07-20 12:23:10 -07:00
Jordan Rose
f3e0f61667
bridge: Remove bridge_fn_buffer
...
At this point, the only special behavior of bridge_fn_buffer is to
support multiple return values for the C bridge (a pointer/length
pair), and that doesn't pull its weight. Remove it in favor of a plain
bridge_fn.
This did reveal that Username_Hash was using bridge_fn_buffer and now
produces a fixed-size array, imported into Swift as a tuple, so this
commit also factors out a new helper invokeFnReturningFixedLengthArray.
2023-02-21 16:41:03 -08:00
Jordan Rose
0542686e70
Update artifact/package/module names across all three app languages
...
- Java: org.whispersystems:signal-client-java ->
org.signal:libsignal-client
- Java: org.whispersystems:signal-client-android ->
org.signal:libsignal-android
- Java: org.whispersystems:libsignal-server ->
org.signal:libsignal-server
- Swift: SignalClient -> LibSignalClient
- NPM: @signalapp/signal-client -> @signalapp/libsignal-client
- Repository: github.com/signalapp/libsignal-client ->
github.com/signalapp/libsignal
2022-03-23 10:49:09 -07:00