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

18 Commits

Author SHA1 Message Date
Jordan Rose
a966d8bb58 README tweaks
- Mention cbindgen
- Mention acknowledgments' README
- Un-mention submodules (the one we had was removed)
2024-09-12 09:29:59 -07:00
Jordan Rose
af4821846e Add a --debug-level-logs option to build_ffi.sh
This allows enabling debug- and trace-level logs even in a release
build. (This also means the job of filtering *out* those logs has been
moved up to build_ffi.sh, where previously it was specified in the
leaf crate's Cargo.toml.)
2024-06-13 12:08:31 -07:00
Jordan Rose
e1aa542bd5 ffi: Expose LibsignalLogger protocol rather than depending on DDLog
This drops the SignalCoreKit dependency for the CocoaPod, but does
mean clients will have to register their own logger explicitly.
2024-05-20 13:43:39 -07:00
Jordan Rose
f1fb1302b7 swift: Add a Benchmarks package for local profiling 2024-03-12 17:03:45 -07:00
Jordan Rose
4331c12ce6 iOS: Stop building for Catalyst
This commit retains minimal *support* to build for Catalyst, but since
we won't be testing it anymore it could break at any time.
2023-08-25 12:22:13 -07:00
Jordan Rose
61d6c8b3f0 CI: Put the libsignal_ffi prebuild checksum in the GitHub Release 2023-02-09 11:18:24 -08:00
Jordan Rose
9c02d7a8cd Pods: Change the podspec to download prebuilds
Rather than building the Rust parts of libsignal as part of `pod
install`, fetch them from build-artifacts.signal.org. This requires
adding

    ENV['LIBSIGNAL_FFI_PREBUILD_CHECKSUM'] = '...'

to the consuming Podfile. The referenced archives are downloaded to
~/Library/Caches/org.signal.libsignal, and are unarchived as part of
the build. (The archives are outside the build directory so that a
clean build does not require a new download.)

Building with LibSignalClient as a local pod is still supported; in
that case everything will refer to the local target/ directory
instead. Use swift/build_ffi.sh to build as usual.
2023-01-12 16:47:28 -08:00
Jordan Rose
9d774c4d59 CocoaPods-related infrastucture improvements
- Skip building for Catalyst in pull request testing, but make up for
  it in the "Slow Tests".

- Update the README now that the Arm Mac simulator is a Tier 2 Rust
  target.

- Remove workaround for one-time incompatibility with the Arm Mac
  simulator.
2022-07-29 10:47:45 -07: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
Jordan Rose
f441c6c559 Update build instructions for Java and for Swift
Adjusts for recent changes and to clarify issues raised by the
community.
2021-09-24 16:31:08 -07:00
Nora Trapp
720d796f76 Add support for M1 and Catalyst architectures via cocoapods 2021-06-10 11:34:10 -07:00
Jordan Rose
b829be8669 Fill out README.md a little further 2021-03-25 18:03:03 -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
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
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
8fcc89125d Update Swift-specific README with CocoaPod and SwiftPM instructions 2020-11-02 15:06:19 -08:00
Jack Lloyd
946e0670f6 Switch to AGPL 3.0 2020-11-02 17:53:10 -05:00
Jordan Rose
8d8504669c Move libsignal-protocol-swift to swift/ 2020-10-16 11:23:50 -07:00