Ivan Enderlin
576fac99db
feat(sdk): Update the FFI layer to latest commits.
2023-04-26 16:08:06 +02:00
Ivan Enderlin
f26b9fb66c
Merge branch 'main' into feat-sdk-sliding-sync-cancellation-token
2023-04-26 12:19:02 +02:00
Ivan Enderlin
770d50e2ce
Merge pull request #1822 from AndrewFerr/af/update-nodejs-version
...
Update supported Node.js versions
2023-04-26 08:37:20 +02:00
Kévin Commaille
e98fbfce9a
sdk: Allow to filter Common::members(_no_sync) by membership state
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-04-25 18:03:53 +02:00
Andrew Ferrazzutti
564549e8af
Update Node bindings' "engines"
...
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io >
2023-04-25 23:59:22 +09:00
Andrew Ferrazzutti
46f69f7efd
Update supported Node.js versions
...
Signed-off-by: Andrew Ferrazzutti <andrewf@element.io >
2023-04-25 23:51:53 +09:00
Jonas Platte
c897f0ccaf
ffi: Print location for tracing events
2023-04-25 12:19:55 +02:00
Simon Farre
b105359b27
Expose fetch_event_details to FFI
...
Signed-off-by: Simon Farre <simon.farre.cx@gmail.com >
2023-04-24 20:50:06 +00:00
Ivan Enderlin
7e243c5a5b
Merge branch 'main' into fix-issue-1728
2023-04-24 19:46:56 +02:00
Ivan Enderlin
f4e577bbe0
feat(sdk): Remove SlidingSync::pop_list.
...
This method is used by nobody. It's safe to remove it.
2023-04-24 14:07:27 +02:00
Jonas Platte
e5f4bbdc47
Upgrade dependencies
2023-04-24 13:59:01 +02:00
Jonas Platte
e15e21a3d7
ffi: Use UniFFI proc-macros for SessionVerificationController type
2023-04-24 12:42:27 +02:00
Jonas Platte
3954cab2ab
ffi: Use UniFFI proc-macros for Room type
2023-04-24 12:42:27 +02:00
Jonas Platte
e1a727a27f
ffi: Use UniFFI proc-macros for some misellaneousc symbols
2023-04-24 12:42:27 +02:00
Jonas Platte
75e7289ede
ffi: Use UniFFI proc-macros for last parts of the Client type
2023-04-24 12:42:27 +02:00
Jonas Platte
00b3057e06
ffi: Use UniFFI proc-macros for ClientBuilder::build
2023-04-24 12:42:27 +02:00
Jonas Platte
5f802c1348
ffi: Use UniFFI proc-macros as much as possible for sliding sync
2023-04-24 12:42:27 +02:00
Jonas Platte
c6f491861e
crypto-ffi: Use proc-macros for types no longer referenced in UDL
2023-04-24 10:31:12 +02:00
Jonas Platte
055f0ff988
crypto-ffi: Use proc-macros for Verification type and methods
2023-04-24 10:31:12 +02:00
Jonas Platte
058d27e0a3
crypto-ffi: Use proc-macros for Sas methods
2023-04-24 10:31:12 +02:00
Jonas Platte
cb216044e1
crypto-ffi: Use proc-macros for OlmMachine methods
2023-04-24 10:31:12 +02:00
Jonas Platte
693ced4f4d
crypto-ffi: Remove unused function
2023-04-24 10:31:12 +02:00
Jonas Platte
27cf710009
crypto-ffi: Use proc-macros for VerificationRequest methods
2023-04-24 10:31:12 +02:00
Jonas Platte
5202e3e1b9
crypto-ffi: Use proc-macros for QrCode methods
2023-04-24 10:31:12 +02:00
Jonas Platte
d90d7b519b
crypto-ffi: Use proc-macros for types not referenced in UDL
2023-04-24 10:31:12 +02:00
Jonas Platte
d15447a2c1
crypto-ffi: Use proc-macro for exporting free functions
2023-04-24 10:31:12 +02:00
Ivan Enderlin
be7b79b4e5
feat(ffi): Add binding for SlidingSyncBuilder::bump_event_types.
...
This patch adds a new binding on `SlidingSyncBuilder` to
`matrix_sdk::SlidingSyncBuilder::bump_event_types`.
2023-04-24 10:05:00 +02:00
Valere
f8e4e3d7d5
fix(bindings): Withheld code mapping
2023-04-22 21:10:56 +02:00
Jonas Platte
9ffcb8bc8a
ffi: Move error type into its own module
2023-04-20 18:24:47 +02:00
Jonas Platte
4f316a130f
Remove uniffi_types modules
2023-04-20 18:24:47 +02:00
Jonas Platte
7e58e72671
Upgrade UniFFI
2023-04-20 18:24:47 +02:00
Florian Duros
fd739a3676
matrix-sdk-crypto-js v0.1.0-alpha.7
2023-04-20 18:24:36 +02:00
Jonas Platte
f2d2a20987
ffi: Change make_span to be a constructor, write docs
2023-04-20 11:43:45 +02:00
Jonas Platte
29068265db
ffi: Add filtering of tracing events and spans
2023-04-20 11:43:45 +02:00
Jonas Platte
50f29e5a11
ffi: Add Span::is_none
2023-04-20 11:43:45 +02:00
Jonas Platte
54bd26d683
ffi: Add Span::current
2023-04-20 11:43:45 +02:00
Jonas Platte
bb05ac7dac
ffi: Add basic tracing bindings
2023-04-20 11:43:45 +02:00
Richard van der Hoff
0da8e56a68
crypto-js: wait for device updates in getUserDevices ( #1790 )
...
Wait for up to a second for any in-flight device list updates to complete.
2023-04-20 08:58:26 +01:00
Richard van der Hoff
a88f53ee85
crypto-js: Expose more data on Device ( #1786 )
...
Implement Device.algorithms and Device.isSignedByOwner for the js bindings.
2023-04-20 08:57:54 +01:00
Anderas
5d94a5d2f4
Update iOS Crypto SDK docs
...
… and add local podspec.
2023-04-19 18:09:21 +02:00
Jonas Platte
abd508676e
sdk: Remove {Local,Remote}EventTimelineItem from public API
2023-04-19 14:17:16 +02:00
Jonas Platte
2960aafe3d
sdk: Make EventTimelineItem an opaque struct instead of an enum
2023-04-19 14:17:16 +02:00
Alfonso Grillo
fe10bcc814
base: Use member event is_direct field for is_direct() on invited rooms
2023-04-18 18:05:48 +02:00
Jonas Platte
be67c91a6b
Use regular backticks in matrix-sdk-ffi/README.md
2023-04-18 15:20:51 +02:00
Alfonso Grillo
cfdc9b2a82
Expose accept_invitation to UniFFI
2023-04-18 12:45:30 +02:00
Jorge Martin Espinosa
c5919e3e63
Add workaround for building Android bindings with supported NDK versions (r23+)
2023-04-17 16:06:46 +00:00
Damir Jelić
316b29c95f
Merge branch 'main' into valere/msc_2399
2023-04-13 10:59:05 +02:00
Simon Farre
b9fba69dc7
ffi: Fix kotlin build failure
...
Workaround for https://github.com/mozilla/uniffi-rs/issues/1434
2023-04-12 10:11:07 +00:00
Simon Farre
8bad59bbe1
ffi: Add avatar_url getter for SlidingSyncRoom
...
Signed-off-by: Simon Farre <simon.farre.cx@gmail.com >
2023-04-11 15:47:40 +00:00
Ivan Enderlin
41d44f0d49
chore(sdk): Remove unused methods.
...
Those methods are public, but never used by our current users.
Moreover, there is some big overlaps. For example, `storage_key`,
`cold_cache` and `no_cache` do the same thing: They update the
`storage_key` field. Or `add_fullsync_list` is just a helper that is
never used except in the tests etc.
2023-04-06 16:29:38 +02:00