Commit Graph

10318 Commits

Author SHA1 Message Date
d2weber
a76868e7c4 more nodiscard 2026-06-18 18:38:29 +02:00
d2weber
cb590eb82f add nodiscard 2026-06-18 18:28:00 +02:00
d2weber
c5535f0dd6 cmake fixup 3 2026-06-18 18:14:30 +02:00
d2weber
051644034c cmake fixup 2 2026-06-18 18:09:17 +02:00
d2weber
da4de6ec6a cmake fixup 2026-06-18 18:04:04 +02:00
d2weber
97675a52db update yerpc commit 2026-06-18 17:58:02 +02:00
d2weber
be55c15f13 Add root namespace 2026-06-18 17:55:07 +02:00
d2weber
8f30506a0d Use std::mutex 2026-06-18 17:11:35 +02:00
d2weber
7c8c880a20 Add CffiDeltaChat wrapper 2026-06-18 17:08:04 +02:00
d2weber
5451b78e55 cmake: simplify 2026-06-18 12:12:55 +02:00
d2weber
ea866a12ee cmake fixup 2026-06-18 08:21:51 +02:00
d2weber
a5a58d0aed Update bindings Cargo.toml 2026-06-18 08:14:27 +02:00
d2weber
ff15e02bd5 cmake: make headers optional 2026-06-18 08:14:12 +02:00
d2weber
772b0a6a6a cmake: rework, remove commands 2026-06-18 07:11:53 +02:00
d2weber
fe349bb111 cmake: Fix env vars 2026-06-18 07:08:34 +02:00
d2weber
e7c4a9d590 Refactor CMakeLists.txt and rename target 2026-06-17 21:33:53 +02:00
d2weber
911cacb2c0 Revert "Add HOST_CC=gcc"
This reverts commit 479cf0755f.
2026-06-17 21:05:03 +02:00
d2weber
479cf0755f Add HOST_CC=gcc 2026-06-17 20:31:46 +02:00
d2weber
f1141b35bf Edition 2018 2026-06-17 20:04:06 +02:00
d2weber
d085ca32e7 update lockfile 2026-06-17 19:46:36 +02:00
d2weber
f7d6d488fe Revert "dbg env"
This reverts commit bfc4ed53ed.
2026-06-17 19:46:10 +02:00
d2weber
9faeb1e225 Revert "Debug env only"
This reverts commit bf11cc3e3b.
2026-06-17 19:44:11 +02:00
d2weber
1c1097cc7c fixup vendor 2026-06-17 19:43:40 +02:00
d2weber
bf11cc3e3b Debug env only 2026-06-17 19:41:17 +02:00
d2weber
54391c4058 vendor dc 2026-06-17 19:39:42 +02:00
d2weber
bfc4ed53ed dbg env 2026-06-17 19:17:16 +02:00
d2weber
c8fda2e595 fix paths in CMakeLists.txt 2026-06-16 20:58:41 +02:00
d2weber
d14782bb13 fixup: Add env variables 2026-06-16 20:22:49 +02:00
d2weber
bc8f2bf4ba Move transport to qt subdir 2026-06-16 20:05:20 +02:00
d2weber
bc1afdce31 fixup: update Cargo.lock 2026-06-16 19:41:32 +02:00
d2weber
ccaedca905 fixup: cmake: add missing COMMAND 2026-06-16 18:55:27 +02:00
d2weber
434995705d fixup: CMakeLists bindings with correct target dir 2026-06-16 18:27:04 +02:00
d2weber
4ae6c59d19 move bindings generation to build.rs 2026-06-15 20:21:57 +02:00
d2weber
ec1e1c1457 Use yerpc from my branch 2026-06-12 23:18:44 +02:00
link2xt
3a1b0d4679 chore(release): prepare for 2.51.0 v2.51.0 2026-05-29 18:05:43 +02:00
WofWca
7a60c79301 feat: message info: add database msg ID
We have recently removed it from the normal "message info" dialog
at least on Delta Chat Desktop, so without this one can't easily find
the ID of a particular message,
which is useful for debugging.
2026-05-29 15:33:14 +04:00
link2xt
0bc7849e8a build(nix): fix downloads from crates.io in nix builds
crates.io recently started rejecting requests to https://crates.io/api/v1/crates
made by Nix: https://github.com/rust-lang/crates.io/issues/13482
This resulted in failing to download any dependencies
from crates.io with 403 error during Rust package builds.
The problem was solved in nixpkgs by switching
to CDN URL https://static.crates.io/crates
in https://github.com/NixOS/nixpkgs/pull/524985

As of writing this on 2026-05-29
the fix is on "master" branch of nixpkgs,
but not on "nixos-unstable" or "nixpkgs-unstable"
branches yet according to https://nixpk.gs/pr-tracker.html?pr=524985
so I have switched nixpkgs to "master" branch to get the problem fixed.

naersk needs a similar fix. I opened a PR for it
https://github.com/nix-community/naersk/pull/391
but because the fix is not merged yet,
switched to my PR branch in flake.nix.

Updating nixpkgs required some minor changes,
e.g. sphinx_rtd_theme has been renamed to sphinx-rtd-theme,
pthreads in Windows builds had to be moved to buildInputs to fix
"Refusing to evaluate package 'mingw_w64-pthreads-13.0.0'
in /nix/store/f78lkqnk63pd0kf52zf2wcx35p1nnalr-source/pkgs/os-specific/windows/mingw-w64/headers.nix:35
because it is not available on the requested hostPlatform"
2026-05-29 10:16:16 +00:00
link2xt
dfea8b0134 test: test encrypted messages in test_delete_expired_imap_messages 2026-05-29 08:37:21 +00:00
link2xt
376c819374 feat: immediately remove all encrypted messages from the server in single-device mode 2026-05-29 08:37:21 +00:00
link2xt
02827406f3 docs: fix reference in delete_expired_imap_messages comment
It should refer to delete_expired_messages,
not to itself.
2026-05-29 08:37:21 +00:00
link2xt
9d9f61d9eb refactor: make should_delete_all_downloaded_messages non-async
Pass bcc_self into it as a boolean.
2026-05-29 08:37:21 +00:00
link2xt
a2816d7bd3 test: test bcc_self in test_delete_expired_imap_messages 2026-05-29 08:37:21 +00:00
iequidoo
9719aa1415 fix: Don't make message OutDelivered after successful resending to new broadcast member
Follow-up to 970222f. We shouldn't update the message state to `OutDelivered` if message sending
failed before and the message was re-sent successfully only to a new broadcast member.
2026-05-29 00:35:46 -03:00
Tom Niget
5733a783fb feat: follow certificate check parameter in autoconfig 2026-05-28 20:18:40 +00:00
holger krekel
c26b6a017c fix: syntax error in older migration 2026-05-27 06:20:50 +00:00
dependabot[bot]
bb6a478430 chore(deps): bump taiki-e/install-action from 2.78.1 to 2.79.2
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.78.1 to 2.79.2.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](184183c240...213ccc1a07)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.79.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-27 05:27:42 +00:00
link2xt
480248a168 refactor: remove pre_encrypt_mime_hook
It is only used in a single test
and the test is more reliable by having a blob .eml
that will not be accidentally modified
by mimefactory changes.
2026-05-26 08:10:51 +00:00
dependabot[bot]
627f98915d chore(deps): bump zizmorcore/zizmor-action from 0.5.3 to 0.5.6
Bumps [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) from 0.5.3 to 0.5.6.
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](b1d7e1fb5d...5f14fd08f7)

---
updated-dependencies:
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.5.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 05:06:42 +00:00
link2xt
24848c0265 fix: do not fail to receive post-message with status updates for deleted webxdc
receive_imf should not fail in this case,
but trash the post-message and updates.

The problem with previously used message::rfc724_mid_exists check
was that rfc724_mid_exists may return a trashed message.
2026-05-23 21:57:58 +00:00
link2xt
98123afb62 test: test IPv6 addresses in HTTP(S) proxies 2026-05-23 21:49:37 +00:00