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

32 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
e00fc2b6f0 Update top-level README to mention submodule and testing libraries 2024-07-23 14:46:43 -07:00
Jordan Rose
36c6eebc0e node: Remove "install" script that invokes node-gyp-build
- For local development, this built the Rust library automatically
  when you invoked `yarn install`, whether you wanted it to or not.

- For the published package, this either did nothing (if the correct
  prebuilds were present) or produced a weird error (if they weren't).
  You can't use the published package without prebuilds, so maybe this
  was useful, but you'd find that out pretty quickly when loading the
  module failed.

- If you used the "link" feature to build Signal Desktop with a local
  checkout of libsignal, this would build the Rust library
  automatically when you `install`ed in the *Desktop* directory,
  whether you wanted it to or not.

- If you pointed Signal Desktop at a local checkout by copy instead of
  link, this would just fail, because the Rust parts wouldn't be
  copied with it.

Overall, it's simpler to just have this step be explicit.
2024-07-09 18:04:14 -07:00
Jordan Rose
4791773954 java: Add -P debugLevelLogs as a Gradle build option
Similar to the previous commits, but for Java/Android. If invoking
build_jni.sh directly, use `--debug-level-logs` like build_ffi.sh.

As a consequence, LOGGING IS NO LONGER AUTOMATICALLY ENABLED FOR
JAVA/ANDROID. Clients must call SignalProtocolLoggerProvider.
initializeLogging() in addition to setting a provider.
2024-06-13 12:08:31 -07:00
Jordan Rose
1364e4812c node: Add yarn build-with-debug-level-logs
Similar to the previous commit, but for Node.
2024-06-13 12:08:31 -07:00
Jordan Rose
69ed266c0d java: Remove superfluous java_test Makefile target
Gradle's "build" action includes running tests; it's "assemble" that
doesn't. So we've been redundantly asking to run tests for a while,
and that currently does extra work due to the testing-fns variant
builds of the Android libraries. Just remove it.
2024-05-31 12:42:06 -07:00
Ehren Kret
daddc0fb5c use consistent copyright notice as other repos 2024-02-28 18:13:11 -06:00
Jordan Rose
3e8acec1a6 README: Note that tools updates count as breaking changes
(but they can still happen at any time)
2024-01-05 10:46:48 -08:00
Jordan Rose
0735be163c README: Update requirements and mention Signal's published packages 2024-01-03 13:37:29 -08:00
moiseev-signal
840a1906c7
Update prost to version 0.12 2023-09-20 14:00:54 -07:00
Jessa
9eb3483938 Add MP4 format sanitizer
This MP4 format "sanitizer" currently only transforms (when necessary) outgoing media on iOS, Android, or Desktop to
make it suitable for streaming playback by the recepient. In the future, it will validate and be able to either repair
or reject outbound AND inbound media, to prevent malformed media from being fed to third party or OS media players.

An generic io module was added to the libsignal rust bridge containing the InputStream trait, modeled loosely after
Java's InputStream, which calls back into the client language to perform reads or skips. This infrastructure could
potentially also be for any other future large data inputs to libsignal functions.
2023-05-01 12:01:08 -07:00
Jordan Rose
b7f11ac0f1
Introduce zkcredential crate
zkcredential provides APIs for a generic form of the sort of credentials zkgroup supports
2023-04-17 11:10:02 -07:00
Max Moiseev
731964f468 Implement username generation, hashing, and proofs 2023-02-01 10:52:12 -08:00
Jordan Rose
f456227f17 Java: drop cargo-ndk for building for Android
We can provide the necessary information in environment variables and
save a host dependency.
2022-07-25 17:11:36 -07:00
Jordan Rose
3c03e909b7 Update build dependencies in the top-level README 2022-07-25 15:01:09 -07:00
Chris Eager
7e734dd5b4
CDS2: add initial, not-for-production, client bindings 2022-05-13 13:39:26 -07:00
Jordan Rose
cbc2103f24 Update README 2022-03-23 10:49:09 -07:00
Jordan Rose
3fd42d7a60 Move package.json inside the node/ directory
Previously all APIs were available through the top-level index.ts, but
now the zkgroup APIs are in their own module. To access that in the
old packaging required writing

    import * from '@signalapp/signal-client/node/dist/zkgroup'

This commit moves the package root into the node/ directory to
eliminate the 'node/' component, then adds a top-level, precompiled
zkgroup.js/.d.ts so that clients can use

    import * from '@signalapp/signal-client/zkgroup'
2021-11-08 16:40:50 -08:00
Jordan Rose
9a569f2ffe Standardize license headers
...to have a period after "Signal Messenger, LLC."

...except for the Java sources, which still need a cleanup pass.
2021-10-28 17:27:30 -07:00
Jordan Rose
0f5f7648f9 Update README for recent changes (hsm-enclave and zkgroup) 2021-10-26 14:37:25 -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
Jordan Rose
b829be8669 Fill out README.md a little further 2021-03-25 18:03:03 -07:00
Jack Lloyd
9abad9b144 Mention having to install the cargo ndk tool 2021-02-08 14:52:01 -05:00
Flip Sasser
7665959460
Link to Swift in the README
Otherwise you just have to scroll back up, but this is Markdown and we're all pro users here
2020-12-04 09:31:29 -08:00
Jack Lloyd
9ce337aec9 Add links 2020-11-30 15:56:24 -05:00
Jack Lloyd
3deb23ff60 Some README updates 2020-11-30 13:40:46 -05:00
Jack Lloyd
ebb92a7a5a Updates, and refer Swift to the swift subdir README 2020-11-12 17:32:02 -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
Jack Lloyd
946e0670f6 Switch to AGPL 3.0 2020-11-02 17:53:10 -05:00
Jack Lloyd
a0a4ffb40f Move libsignal-protocol-rust to rust/protocol 2020-10-15 15:41:20 -04:00
Jack Lloyd
146ff74995 Add warning to README 2020-09-18 16:06:50 -04:00
Jack Lloyd
175689382e Add LICENSE and README files 2020-07-30 13:49:20 -04:00