0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-20 03:52:17 +02:00
Commit Graph

370 Commits

Author SHA1 Message Date
Jordan Rose
011bae46d5 Mark the package as private so it doesn't get published to NPM 2020-11-11 11:06:05 -08:00
Jordan Rose
7bfee717bf Switch ESLint configuration to more closely match Signal-Desktop 2020-11-11 11:06:05 -08:00
Jordan Rose
23bbf7ab11 Node: Enforce license header in ESLint 2020-11-11 11:06:05 -08:00
Jordan Rose
9a8265bfc7 Switch from TSLint to ESLint, which now supports TypeScript
TSLint was deprecated in 2019, and this gives us more of a clean slate
for linting options.
2020-11-11 11:06:05 -08:00
Jordan Rose
b4a34f48ad node: Support for electron-rebuild
This allows the Desktop client to add this module as a dependency and
have its existing build process take care of building it against the
correct version of Electron. (Within the repo, `yarn build` calling
`electron-build-env` is still necessary; a plain `electron-rebuild`
seems to get confused.)
2020-11-11 11:06:05 -08:00
Jordan Rose
f493188942 GitHub: PR testing for Node 2020-11-11 11:06:05 -08:00
Jordan Rose
be56945a70 Add a Yarn-based Node package for signal-client
There's very little here yet, just enough to test something.
2020-11-10 11:00:54 -08:00
Jordan Rose
0f8dc2c0bd rust: Add Neon-based Node bridge 2020-11-10 11:00:54 -08:00
Jordan Rose
45fba051d7 Pull some helpers out of bin/build-ffi 2020-11-10 11:00:54 -08:00
Jordan Rose
5ca4693fa7
Merge pull request #44 from signalapp/jrose/strict-pod-lint
Tighten up CocoaPod PR testing now that libsignal-client is public
2020-11-10 09:55:28 -08:00
Jordan Rose
d712408527 Tighten up CocoaPod PR testing now that libsignal-client is public 2020-11-09 13:55:38 -08:00
Jack Lloyd
82dbf03905
Merge pull request #42 from signalapp/jack/pin-the-nightly
Pin nightly to a specific date
2020-11-09 15:55:00 -05:00
Jack Lloyd
8076087e89 Remove override 2020-11-09 15:41:38 -05:00
Jack Lloyd
d9e33d0251 Pin nightly to a specific date 2020-11-09 15:39:29 -05:00
Jack Lloyd
5d15f117a1
Merge pull request #41 from signalapp/jack/fix-a-clippy
Fix a new clippy warning from nightly
2020-11-09 13:07:40 -05:00
Jack Lloyd
fff2efeca4 Fix some new clippy warnings from nightly 2020-11-09 12:46:57 -05:00
Jack Lloyd
2ece8fc4c2
Merge pull request #39 from signalapp/jack/gh-action-ignores
Update workflow ignores
2020-11-09 08:45:20 -05:00
Jordan Rose
753eeb4606
Merge pull request #40 from signalapp/jrose/test-CocoaPod-for-iOS-only
GitHub: Only test CocoaPod for iOS Sim, not macOS
2020-11-06 15:20:56 -08:00
Jack Lloyd
9cdb17f822
Merge pull request #38 from signalapp/jack/remove-java-protobuf
Remove the SenderKey protobufs from Java wrapper (#36)
2020-11-06 18:06:08 -05:00
Jordan Rose
58d6de1a5a GitHub: Only test CocoaPod for iOS Sim, not macOS 2020-11-06 15:05:16 -08:00
Jack Lloyd
57e150948c Update workflow ignores
Rust should ignore Java/Swift only changes

Java should ignore Swift

Swift should ignore Java

Paper beats rock
2020-11-06 17:53:42 -05:00
Jack Lloyd
9ca168a567 Remove the SenderKey protobufs from Java wrapper 2020-11-06 17:47:56 -05:00
Jack Lloyd
cff700585e
Merge pull request #21 from signalapp/jack/new-java-wrapper
New Java/JNI bridge
2020-11-06 17:25:42 -05:00
Jack Lloyd
dd57254f8f Move makefile and docker file into java subdir 2020-11-06 16:40:54 -05:00
Jack Lloyd
3c8d85211b Bump version number 2020-11-06 16:40:54 -05:00
Jack Lloyd
2a2a8a70a8 Fix method signature 2020-11-06 16:40:54 -05:00
Jack Lloyd
a3f5b64257 Add ECPublicKey.generate 2020-11-05 17:59:09 -05:00
Jack Lloyd
4db424c3b2 Don't ignore invalid preKeyIds just because preKey is null 2020-11-05 17:59:09 -05:00
Jack Lloyd
c5a8010bff Update license header 2020-11-05 17:59:09 -05:00
Jack Lloyd
383304573c Remove Curve.isNative 2020-11-05 17:59:09 -05:00
Jack Lloyd
5416ef2c5b Remove debug code 2020-11-05 17:59:09 -05:00
Jack Lloyd
59850b32b2 Add rule dependency 2020-11-05 17:59:09 -05:00
Jack Lloyd
b5e410b0f2 Avoid UTF-8 in java test files
If LANG is not set to a UTF-8 encoding the build will fail.
2020-11-05 17:59:09 -05:00
Jack Lloyd
cc201de173 Add Docker based build for Java .jars 2020-11-05 17:59:09 -05:00
Jack Lloyd
26429e15d1 Remove use of IdentityKeyPair protobuf 2020-11-05 17:59:09 -05:00
Jack Lloyd
5b1bf8b96e Remove some unneeded protobufs from the Java lib 2020-11-05 17:59:09 -05:00
Jack Lloyd
58e023f148 Remove many unused functions from ByteUtil
Not used either in this jar nor in Signal-Android, so no need to keep them.
2020-11-05 17:59:09 -05:00
Jack Lloyd
8624331e77 Clean up some imports, remove empty static blocks, other review comments 2020-11-05 17:59:09 -05:00
Jack Lloyd
d5fd5ddf76 Use a script instead of make for building the JNI native libraries 2020-11-05 17:59:09 -05:00
Jack Lloyd
304171fdf3 Import libsignal-metadata-java v0.1.2 2020-11-05 17:59:09 -05:00
Jack Lloyd
560204eab9 Add Github actions 2020-11-05 17:59:09 -05:00
Jack Lloyd
1037e6735a Rename jars, reset version, switch license 2020-11-05 17:59:09 -05:00
Jack Lloyd
0fbd07ca81 Modify libsignal-protocol-java to use Rust via JNI
Removes device consistency code (unused)
Removes decryption callbacks (unused)
2020-11-05 17:59:09 -05:00
Jack Lloyd
885756637b Remove README and LICENSE from java subdir 2020-11-05 17:59:09 -05:00
Jack Lloyd
69a4b40423 Import v2.8.1 of libsignal-protocol-java
No changes vs that version in this commit
2020-11-05 17:59:09 -05:00
Jack Lloyd
723468b8a1
Merge pull request #35 from signalapp/jack/update-cargo-lock
Update Cargo.lock
2020-11-05 17:57:55 -05:00
Jack Lloyd
b9053c4889 Update Cargo.lock
PRs #34 and #27 happened concurrently so async crates are not listed
2020-11-05 17:36:50 -05:00
Jack Lloyd
aaf9b93429
Merge pull request #26 from signalapp/jack/add-public-key-bytes
Add PublicKey::public_key_bytes
2020-11-05 14:54:03 -05:00
Jordan Rose
2e072b0f8d
Merge pull request #34 from signalapp/jrose/check-for-dups
Track Cargo.lock for more consistent builds
2020-11-05 11:17:28 -08:00
Jack Lloyd
7380514025 In Swift use keyBytes instead of publicKeyBytes 2020-11-05 14:03:32 -05:00