link2xt
3400f5641e
Build zig-rpc-server for i686
...
cargo-zigbuild is replaced with a simple zig-cc wrapper.
cargo-zigbuild still tries to use i386-linux-musl triple,
while in zig 0.11 x86-linux-musl should be used [1].
This also gives us more control over compilation flags used
and prevents changes due to cargo-zigbuild upgrades,
as its version was not pinned.
[1] Merged PR "all: rename i386 to x86 "
<https://github.com/ziglang/zig/pull/13101 >
2023-03-29 10:56:22 +00:00
link2xt
5068648960
Update yanked spin 0.9.6
...
Otherwise cargo-deny complains.
2023-03-29 10:56:02 +00:00
link2xt
1bf5064039
Add unreleased section to changelog
2023-03-27 16:13:11 +00:00
link2xt
edf0c02bc8
Release 1.112.1
v1.112.1
2023-03-27 15:22:31 +00:00
link2xt
1d42907114
deltachat-ffi: document thread safety guarantees
2023-03-27 14:47:40 +00:00
bjoern
070d832580
check against null in dc_backup_provider_unref() ( #4232 )
...
this is what we're doing in most comparable unref() functions.
2023-03-26 19:25:23 +02:00
link2xt
0dfec83b0f
deltachat-rpc-client: configure setuptools_scm
...
This makes `python -m build` produce wheels with a version
other than 0.0.0.
2023-03-26 10:00:01 +00:00
link2xt
c84155cbd4
Add scripts/deny.sh
...
This can be used to manually run `cargo deny`
without specifying all the parameters manually.
Similar to existing scripts/clippy.sh
2023-03-25 19:54:24 +00:00
iequidoo
eb5ddf270f
receive_imf: Mark special messages as seen ( #3054 )
...
Exactly: delivery reports, webxdc status updates.
2023-03-25 15:47:38 -03:00
link2xt
fb093253c6
Update generated nodejs constants files
2023-03-25 10:20:17 +00:00
dependabot[bot]
1864be5c55
Merge pull request #4229 from deltachat/dependabot/cargo/fuzz/openssl-0.10.48
2023-03-25 01:06:43 +00:00
dependabot[bot]
7138d44083
build(deps): bump openssl from 0.10.45 to 0.10.48 in /fuzz
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-25 00:31:14 +00:00
Floris Bruynooghe
04daff0608
Add comment
2023-03-24 23:20:14 +00:00
Floris Bruynooghe
801250a9e0
feat(imex): Sort IP addresses for getting from ticket
...
When trying IP addresses from the ticket, have a very rough sort order
in which to try them. Basically assume most local wifi's are
somewhere on 192.168.0.0/16 so prefer those first.
2023-03-24 23:20:14 +00:00
link2xt
20319b5426
Add --version option to deltachat-rpc-server
2023-03-24 23:11:11 +00:00
link2xt
9cca34bba5
Remove .wait_for_seen() calls in flaky tests
...
This is a merge commit for <https://github.com/deltachat/deltachat-core-rust/pull/4226 >
2023-03-24 23:09:44 +00:00
link2xt
530981119e
Update Cargo.lock
2023-03-24 23:08:46 +00:00
adbenitez
6d0327d057
deltachat-rpc-client: fix bug in Chat.send_message()
2023-03-24 18:56:08 -04:00
adbenitez
580ce5a9e9
deltachat-rpc-client: fix bug in Chat.send_message()
2023-03-24 17:34:41 -04:00
link2xt
6f327c950d
Cargo.toml: replace branch with rev in default-net patch entry
...
This makes `cargo install --path deltachat-rpc-server` work again.
2023-03-24 21:16:04 +00:00
link2xt
92ad843ff2
Reduce test code duplication
2023-03-24 20:59:31 +00:00
link2xt
a8059c6bff
python: remove flaky .wait_for_seen() from test_fetch_existing()
2023-03-24 18:09:40 +00:00
link2xt
4b468a25fe
Remove pytest-rerunfailures
...
It is not compatible with pytest-timeout anyway:
<https://github.com/pytest-dev/pytest-rerunfailures/issues/99 >
2023-03-24 16:13:33 +00:00
link2xt
1e135b649c
Do not use IDLE in test_send_and_receive_message_markseen
...
Fix flakyness in case Dovecot sends only EXISTS
but not FETCH unsolicited response.
2023-03-24 16:09:40 +00:00
link2xt
40d32f2d0c
Do not use IDLE in test_fetch_existing_msgs_group_and_single
...
Makes the test less flaky,
as Dovecot sometimes sends only the EXISTS response,
but not the FETCH response for flags.
2023-03-24 16:09:28 +00:00
link2xt
c9ec087cd8
python: do not use IDLE in test_markseen_message_and_mdn test
...
Make the test less flaky in case Dovecot notifies only about EXISTS
but not flag updates.
2023-03-24 16:09:15 +00:00
link2xt
84d79e1479
Do not use IDLE in test_mdn_asymmetric
...
Fixes test flakyness.
2023-03-24 16:08:58 +00:00
link2xt
83af248068
Turn more log messages into proper sentences.
2023-03-24 12:15:42 +00:00
link2xt
4f25edb1a1
Update OpenSSL to fix RUSTSEC-2023-0022
...
<https://rustsec.org/advisories/RUSTSEC-2023-0022 >
2023-03-24 09:56:00 +00:00
link2xt
ded1634b7d
python: look for "Marked messages ... as seen." by regexp
...
Tests reuse accounts, so UIDs may start from the number other than 1.
2023-03-24 09:43:59 +00:00
link2xt
635c73ffc6
python: use locally installed auditwheel
...
`auditwheel` is a part of manylinux images,
there is no need to create a virtual environment
and install it again.
2023-03-23 23:00:46 +00:00
link2xt
fcc1fe73be
Do not use .wait_for_seen() in test_one_account_send_bcc_setting
...
.wait_for_seen() is unreliable, because sometimes Dovecot
sends only EXISTS to the IDLE connection, but not the FETCH.
Dovecot sends updates like FETCH only if some
connection has already observed the message in previous state
without the \Seen flag.
To avoid this race condition, wait until the core sets the flag,
then FETCH the message manually and check that the flag is set.
2023-03-23 22:57:35 +00:00
link2xt
fa278d50f7
Simplify layout of the deltachat-rpc-server crate
2023-03-23 22:10:28 +00:00
link2xt
2f02be4c64
ci: test the core on macOS
2023-03-23 20:46:58 +00:00
link2xt
7add1c116c
Attempt to fix deltachat-rpc-server binary release uploads
2023-03-23 17:19:28 +00:00
link2xt
124a0e90e1
Release 1.112.0
v1.112.0
2023-03-23 13:34:24 +00:00
Floris Bruynooghe
1716cdf51c
ref(ffi): dc_receive_backup should block ( #4211 )
...
The documentation says this blocks. This should block because it also
means the error reporting is more accurate by calling set_last_error
just before returning.
2023-03-23 14:15:34 +01:00
link2xt
3fdcffb314
Increase reference count before spawning background tasks in dc_receive_backup()
...
Merged PR <https://github.com/deltachat/deltachat-core-rust/pull/4206 >
2023-03-23 08:54:33 +00:00
link2xt
f033aae25c
Move most of the dc_receive_backup() into a safe function
2023-03-23 08:47:58 +00:00
Floris Bruynooghe
c42d942460
explicitly move for good measure
2023-03-23 08:47:58 +00:00
Floris Bruynooghe
0ba8201797
fix(dc_receive_backup): Increase refcount before spawn
...
Otherwise it is possible for the context that is used in the spawn to
be unreferenced. Really this should be caught by the borrow checker
that ensures we only spawn things with a 'static lifetime, but we're
handling raw pointers so it doesn't.
2023-03-23 08:47:49 +00:00
iequidoo
87252ab053
cargo: bump async_zip from 0.0.9 to 0.0.11
...
Bumps [async_zip](https://github.com/Majored/rs-async-zip) from 0.0.9 to 0.0.11.
- [Release notes](https://github.com/Majored/rs-async-zip/releases)
- [Commits](https://github.com/Majored/rs-async-zip/compare/v0.0.9...v0.0.11)
---
updated-dependencies:
- dependency-name: async_zip
dependency-type: direct:production
update-type: version-update:semver-patch
...
2023-03-23 00:33:25 +00:00
link2xt
53eec521dc
Make get_all_addresses_from_header non-generic
...
This saves 1287 lines according to `cargo llvm-lines --release`.
2023-03-22 23:51:41 +00:00
link2xt
238570a7b9
deltachat-ffi: update rand to 0.8.5
2023-03-22 23:37:01 +00:00
link2xt
043ae48806
Set pytest-timeout on async python tests
2023-03-22 20:41:17 +00:00
link2xt
fb88f2e6ab
Reintroduce pytest-rerunfailures
...
Tests on GitHub Actions are very flaky recently.
2023-03-22 20:39:35 +00:00
link2xt
5db867cd1b
Add IMAP_INBOX_IDLE event
2023-03-22 20:20:37 +00:00
B. Petersen
ec00c160c6
add missing define
2023-03-22 20:54:52 +01:00
Floris Bruynooghe
616eabc613
feat: Make the IoPausedGuard a simple sender ( #4184 )
...
This replaces the mechanism by which the IoPauseGuard makes sure the
IO scheduler is resumed: it really is a drop guard now by sending a
single message on drop.
This makes it not have to hold on to anything like the context so
makes it a lot easier to use.
The trade-off is that a long-running task is spawned when the guard is
created, this task needs to receive the message from the drop guard in
order for the scheduler to resume.
2023-03-22 17:42:21 +01:00
Floris Bruynooghe
89b32e02c5
deps(iroh): switch back to iroh main branch ( #4202 )
2023-03-22 16:05:55 +01:00