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

39 Commits

Author SHA1 Message Date
Jordan Rose
d6fc73b27a Update dependencies
- cargo update
- But stay on our fork of curve25519-dalek (pinned at 3.0.0)
- Update x25519-dalek from 1.0 to 1.1 (instead of 1.2) to stay
  compatible with curve25519-dalek
- Update cpufeatures to 2.1 to match our dependencies
- Note that updating picky* resulted in more duplicate crates (rand*)
- Pin num-bigint-dig to a build that supports Cargo's -Zbuild-std,
  because xargo + autocfg has stopped working with the new toolchain
- Remove xargo in favor of -Zbuild-std
2021-10-06 10:58:44 -07:00
Jordan Rose
78bfc21a32 Bump rust-toolchain to nightly-2021-09-19 (same as zkgroup)
This provides newer armv8 intrinsics, as well as support for the
aarch64-apple-ios-sim target.
2021-10-05 18:01:50 -07:00
Jordan Rose
5896c80aaf Bump version to v0.9.6 2021-10-01 16:46:56 -07:00
Jordan Rose
f3a1dff371 Bump version to v0.9.5 2021-09-23 13:44:30 -07:00
Ehren Kret
5b1d4fb0a3 Bump version to 0.9.4 2021-09-13 16:52:24 -05:00
Ehren Kret
53ecd6e589 Bump version to 0.9.3 2021-09-13 15:21:13 -05:00
Ehren Kret
a3578fa6d4 Bump version to 0.9.2 2021-09-10 10:24:54 -05:00
Ehren Kret
35eccb94d1 Bump version to 0.9.1 2021-09-09 13:07:09 -05:00
Jordan Rose
6026b8474e Bump version to 0.9.0 2021-08-31 14:50:01 -07:00
Jordan Rose
72ba4e6959 Bump version to 0.8.4 2021-08-18 12:13:11 -07:00
Jordan Rose
6021535fb5 Bump version to 0.8.3 2021-07-06 12:57:12 -07:00
Jordan Rose
348df2a268 Bump version to v0.8.2 2021-06-28 12:52:57 -07:00
Nora Trapp
720d796f76 Add support for M1 and Catalyst architectures via cocoapods 2021-06-10 11:34:10 -07:00
Jordan Rose
b715e02aa9 Bump to version 0.8.1 2021-06-02 11:14:12 -07:00
Jordan Rose
a095f6a1fc Bump version to 0.8.0 2021-05-27 14:32:06 -07:00
Jordan Rose
0f2ae6ee53 Bump version to 0.7.0 2021-05-26 16:32:06 -07:00
Jordan Rose
a41233936f Bump version to 0.6.0 2021-05-21 15:04:27 -07:00
Jordan Rose
b5f6d50b53 Bump version to 0.5.1 2021-04-28 17:05:25 -07:00
Jordan Rose
113e849d76 Bump version to 0.5.0 2021-04-21 19:07:56 -07:00
Jordan Rose
48f3fcce1e [CocoaPod] Properly quote path to libsignal_ffi.a in build script
Also, if the library somehow isn't built when used as a non-local
CocoaPods dependency, don't suggest running swift/build_ffi.sh;
CocoaPods will have removed it already. Re-running `pod install` is
more likely to help, though in practice something's probably gone
wrong in the configuration.
2021-04-13 10:53:41 -07:00
Jordan Rose
7d62e674b5 Bump version to v0.4.0 across all languages 2021-04-05 13:13:09 -07:00
Jordan Rose
e8ae94d1e7 swift/build_ffi.sh: default to a debug build
The most common manual invocation of this script is when developing
using the local Swift package, not building a library to publish as an
CocoaPods artifact. The most common command should be easiest.

Also, update the Swift README to match the CocoaPods build process
added in b061e84189.
2021-03-25 18:01:22 -07:00
Jordan Rose
a983a564ac CocoaPods: Tag 0.3.1 after curve25519-dalek branch update
The mistakes with the curve25519-dalek update means that 0.3.0 no
longer builds correctly. Use 0.3.1 instead.

Changes from 0.1.2 (the version before 0.3.0):
- Reject SenderCertificates without UUIDs
- Fix IdentityKeyPair.init(bytes:)
- Add logging to match SignalProtocolKit
- Update Cargo dependencies to newer versions
2021-02-24 16:34:50 -08:00
Jordan Rose
67f01e851f CocoaPod: tag v0.3.0
This skips the v0.2 series to bring it in line with the Java bridge.
2021-02-23 12:16:15 -08:00
Jordan Rose
b061e84189 CocoaPods: Build the Rust library as part of installing the CocoaPod
This is an alternate approach to using cocoapods-binary that allows
the Swift code to be built on the app side, avoiding some LLDB/Swift
integration issues.
2021-02-18 16:23:27 -08:00
Jordan Rose
bfff69c962 Revert "Merge pull request #163 from signalapp/jrose/cocoapods-binary-compat"
This reverts commit 55a6ae7c83, reversing
changes made to 04202b28fd.
2021-02-18 15:56:07 -08:00
Jordan Rose
28618d37b6 CocoaPods: Bump version to 0.1.2
Notable changes:
- Compatibility with cocoapods-binary
- Add the logic for handling revoked server certificates
2021-02-03 15:25:03 -08:00
Jordan Rose
0a156c4a5a CocoaPods: Skip build_ffi.sh when the pod is prebuilt
The plugin we use for prebuilding CocoaPods, cocoapods-binary, still
allows Pods to add script phases to the final build...but we don't
actually *want* to run our build script when the pod is prebuilt.
2021-02-02 12:04:50 -08:00
Jordan Rose
5ad7301c86 Swift: Move signal_ffi.h into SignalClient.framework
This makes the CocoaPod self-contained at the cost of using a module
layout that SwiftPM cannot replicate. To keep local SwiftPM builds
working, an unstable Swift compiler flag is used to auto-import a
separate SignalFfi module (the way it used to work).
2021-02-02 12:04:50 -08:00
Jordan Rose
42a3c1e7e3 Swift: Use CocoaLumberjack directly instead of SignalCoreKit's OWSLog
This removes the dependency on a CocoaPod that's not in the main
registry.
2021-02-02 12:04:50 -08:00
Jordan Rose
32604e1d35 CocoaPods: Bump version to 0.1.1 2021-02-01 11:01:24 -08:00
Jordan Rose
baba4519de Swift: Generate signal_ffi.h offline, like Native.java
- Verify its correctness with build_ffi.sh --verify-ffi
- Regenerate with build_ffi.sh --generate-ffi

This simplifies the header search logic for both SwiftPM and
CocoaPods, as well as saving on build time by avoiding cbindgen.

The tweak to cbindgen.toml to prefer typedef-based structs and enums
is sidestepping an incompatibility between cbindgen 0.15.0 (which
GitHub has installed) and 0.16.0 (which allows reusing a release build
directory as well as a debug one).
2021-01-04 13:41:07 -08:00
Jordan Rose
1c85744376 Swift: connect Rust's 'log' to SignalCoreKit's OWSLogger
We're not actually logging anything yet, but this will let us do so.
The logging is initialized using a static constructor so that clients
of SignalCoreKit don't have to do any additional setup. This requires
an ObjC file instead of a Swift one. (When running as a Swift package,
logs will just go to stderr via NSLog.)
2020-12-08 09:46:16 -08:00
Jordan Rose
e046d8514b Swift: Enable line table debug info for the Rust libraries 2020-11-25 15:41:35 -08:00
Jordan Rose
6bc0541c4d Fix quoting in Swift and Node build scripts 2020-11-16 11:02:39 -08:00
Jordan Rose
0908fa5939 Swift: preserve files needed for the Rust build in podspec 2020-11-12 11:15:26 -08:00
Jordan Rose
7b37cf0547 Fix CocoaPod build to respect rust-toolchain
Also stop checking out libsignal-ffi.git for no reason during PR
testing.
2020-11-11 11:47:30 -08:00
Jordan Rose
932d4a3438 Move wrapper-specific shell scripts into subfolders
And use bash instead of plain sh for stricter checking.
2020-11-11 11:15:25 -08:00
Jordan Rose
7923b3ae29 Add a Podspec for use as a CocoaPod
And test that the CocoaPod works just like the package works.
2020-11-02 15:06:19 -08:00