Jordan Rose
87a75ee5dd
Merge pull request #75 from signalapp/jrose/simplify-cargo-path-check
...
Change rustup fallback search to just look in ~/.cargo
2020-11-19 14:12:20 -08:00
Jack Lloyd
12ef8119e6
Remove unused jni util
2020-11-19 16:07:05 -05:00
Jack Lloyd
786b9b5792
SealedSessionCipher decrypt
2020-11-19 16:06:04 -05:00
Jordan Rose
5379f9b0a8
Change rustup fallback search to just look in ~/.cargo
...
This is the default per-user install location. Trying using the user's
default shell isn't good enough without it being a login shell.
2020-11-19 10:26:15 -08:00
Jack Lloyd
405d071ead
SealedSessionCipher encrypt
2020-11-19 13:24:29 -05:00
Jack Lloyd
ddda1a3635
UnidentifiedSenderMessage
2020-11-19 13:24:29 -05:00
Jack Lloyd
4a8705dce1
UnidentifiedSenderMessageContent
2020-11-19 13:24:29 -05:00
Jack Lloyd
507629ff0d
Add SenderCertificate and ServerCertificate
2020-11-19 13:24:29 -05:00
Jordan Rose
57db5dcb5e
Merge pull request #74 from signalapp/jrose/archive-current-session
...
Swift: expose SessionRecord.archiveCurrentState()
2020-11-19 10:10:30 -08:00
Jordan Rose
9022669f98
Merge pull request #73 from signalapp/jrose/checkout-for-paths-filter
...
GitHub: fix automated testing /outside/ of PRs
2020-11-19 10:10:01 -08:00
Jordan Rose
0c9c98a71e
Swift: expose SessionRecord.archiveCurrentState()
2020-11-18 15:47:52 -08:00
Jordan Rose
f52bf8af40
GitHub: fix automated testing /outside/ of PRs
2020-11-18 15:02:48 -08:00
Jack Lloyd
387031ef68
Remove support for PendingKeyExchange
...
This is something from the TextSecure days and is no longer used.
2020-11-18 16:57:17 -05:00
Jack Lloyd
5ecf259089
Merge pull request #71 from signalapp/jack/remove-unused-java
...
Remove some unused util functions from Java library
2020-11-18 16:12:02 -05:00
Jack Lloyd
7434023567
Remove some unused protobufs
2020-11-18 16:10:30 -05:00
Jack Lloyd
3cb8e46ba1
Remove some unused util functions from Java library
...
The only function Android imports from KeyHelper is generateRegistrationId
2020-11-18 15:42:29 -05:00
Jordan Rose
2ca7a01d0e
Merge pull request #70 from signalapp/jrose/error-message-for-missing-rust
...
build_helpers.sh: fix error message if Rust isn't installed
2020-11-18 12:31:06 -08:00
Jordan Rose
2e42d72ef8
build_helpers.sh: fix error message if Rust isn't installed
2020-11-18 11:48:50 -08:00
Jordan Rose
44b0f96c1c
Merge pull request #69 from signalapp/jrose/expect_ready
...
Use a helper to expect our "async" calls to complete synchronously
2020-11-18 11:30:40 -08:00
Jordan Rose
93458fc688
Merge pull request #68 from signalapp/jrose/shellcheck-redux
...
Fix build script for macOS's old version of bash
2020-11-18 11:08:58 -08:00
Jordan Rose
68cc021907
Use a helper to expect our "async" calls to complete synchronously
...
The underlying APIs are async only because it supports async
callbacks; if all the callbacks complete synchronously, the top-level
API will too. We can avoid any sort of thread-local overhead by just
expecting that (i.e. panicking if it's not true).
The duplication here is unfortunate but we're still hoping to merge
these libraries.
2020-11-18 11:08:25 -08:00
Jordan Rose
2e3b9f6ff5
Fix build script for macOS's old version of bash
2020-11-18 10:48:41 -08:00
Jordan Rose
22d88047b9
Merge pull request #67 from signalapp/jrose/shellcheck
...
Enforce that our scripts are Shellcheck-clean
2020-11-17 12:08:34 -08:00
Jordan Rose
e0508409d8
Merge pull request #66 from signalapp/jrose/paths-filter
...
GitHub: simplify path filtering using dorny/paths-filter@v2
2020-11-17 12:08:05 -08:00
Jordan Rose
84bb14072f
Enforce that our scripts are Shellcheck-clean
2020-11-16 18:24:02 -08:00
Jordan Rose
9173ec7bae
GitHub: simplify path filtering using dorny/paths-filter@v2
2020-11-16 15:20:32 -08:00
Jordan Rose
0620ea412d
Merge pull request #64 from signalapp/jrose/build-script-quotes
...
Fix quoting in Swift and Node build scripts
2020-11-16 11:19:11 -08:00
Jordan Rose
6bc0541c4d
Fix quoting in Swift and Node build scripts
2020-11-16 11:02:39 -08:00
Jack Lloyd
6e350a70a0
Merge pull request #62 from signalapp/jack/add-libsignal-metadata-tests
...
Import the libsignal-metadata-java tests
2020-11-13 13:59:48 -05:00
Jack Lloyd
cc4e5dcfad
Merge pull request #61 from signalapp/jack/jni-simplifications
...
Avoid pointless lambas in the JNI bridge
2020-11-13 13:47:29 -05:00
Jack Lloyd
61057fe71b
Import the libsignal-metadata-java tests
...
Accidentally omitted from import in #21
2020-11-13 13:45:24 -05:00
Jordan Rose
3e719112ae
Merge pull request #59 from signalapp/jrose/cocoapod-build_ffi.sh
...
Swift: preserve files needed for the Rust build in podspec
2020-11-13 10:38:16 -08:00
Jack Lloyd
79ef608935
Avoid pointless lambas in the JNI bridge
2020-11-13 13:05:14 -05:00
Jack Lloyd
4a5675ac37
Merge pull request #54 from signalapp/jack/build-instructions
...
Add some basic build instructions to the readme
2020-11-13 10:12:48 -05:00
Jack Lloyd
2f47d125d1
Merge pull request #57 from signalapp/jack/ignore-other-workflows
...
Have each language ignore changes to other workflow scripts
2020-11-12 18:17:11 -05:00
Jack Lloyd
d06380f271
Merge pull request #55 from signalapp/jack/fix-swift-lints
...
Fix some Swift lint warnings
2020-11-12 18:05:51 -05:00
Jack Lloyd
eef320043c
Merge pull request #49 from signalapp/jack/autogen-java-native-class
...
Automatically generate Native.java from the exported symbols of the Rust bridge
2020-11-12 18:05:07 -05:00
Jack Lloyd
cb3be1ec55
Have each language ignore changes to other workflow scripts
2020-11-12 17:53:48 -05:00
Jack Lloyd
44e794a7ba
Add --strict to the invocation of swiftlint in CI
2020-11-12 17:51:47 -05:00
Jack Lloyd
b92b5937ca
Automatically generate Native.java from the exported symbols of the Rust bridge
2020-11-12 17:47:00 -05:00
Jack Lloyd
0e409c5cf6
Fix some lint warnings
2020-11-12 17:41:03 -05:00
Jack Lloyd
3718aeb566
Merge pull request #51 from signalapp/jack/workflow-ignores
...
Update GH actions to ignore changes to bridges
2020-11-12 17:33:38 -05:00
Jack Lloyd
ebb92a7a5a
Updates, and refer Swift to the swift subdir README
2020-11-12 17:32:02 -05:00
Jack Lloyd
05085b627f
Account for rust/bridge/node existing
2020-11-12 16:16:21 -05:00
Jack Lloyd
5c12396a45
Add some basic build instructions to the readme
...
For those playing along at home
2020-11-12 16:12:19 -05:00
Jordan Rose
0908fa5939
Swift: preserve files needed for the Rust build in podspec
2020-11-12 11:15:26 -08:00
Jordan Rose
9dc5f615ec
Merge pull request #53 from signalapp/jrose/workspace-default-members
...
Rust: don't build any bridge/* crates by default
2020-11-12 10:42:18 -08:00
Jack Lloyd
46aa52f8a3
Merge pull request #52 from signalapp/jack/remove-nightly
...
Use our pinned nightly for Node builds
2020-11-12 13:33:11 -05:00
Jack Lloyd
18cf8557b6
Merge pull request #50 from signalapp/jack/update-cargo-lock
...
Update Cargo.lock
2020-11-12 13:32:54 -05:00
Jordan Rose
1d00de7cdc
Rust: don't build any bridge/* crates by default
...
Some of them have external requirements that may not be installed.
2020-11-12 10:30:07 -08:00