Commit Graph

71 Commits

Author SHA1 Message Date
adbenitez 9465776715 add mapping.txt to symbols zip 2026-04-28 16:04:07 +02:00
biörn ade21a2cb8 hide relays from contacts (unpublish relays) (#4289)
* show 'remove relay' items in red

* show concrete meaning of 'default' or 'main'

* prepare for showing 'unpublished' state

* rework 'remove relay' dialog

* fix RPC building doc and remove temp. file

* add hint to be shown below relay list

* adapt to new core api

* use listTransportsEx()

* use rpc.setTransportUnpublished()

* keep hidden

* tweak remove dialog in case the relay is already hidden

* adapt to chat.delta.rpc.types.TransportListEntry classname

* remove outdated autogenerated file

* update CHANGELOG

* simplify deletion

* make spotless happy

* change button order so hide/delete are not together usually; this matches also more the gist of positive/negative/neutral

* Update src/main/res/values/strings.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* the dialog wording fits better when already hidden now

* move similar strings together, make translation easier

* actions are 'Title Case', however, this usually applies to nouns, verbs, adjectives, first and last word only, not to prepositions as 'from'

---------

Co-authored-by: Hocuri <hocuri@gmx.de>
2026-03-19 08:40:22 +01:00
B. Petersen b4d8f1e04f remove all png files before help creation 2025-11-28 14:25:03 +01:00
adbenitez 153fe5f1e7 add trailing new line 2025-11-23 16:13:04 +01:00
adbenitez ec49ac8eb6 improve building and releasing docs 2025-11-22 22:43:21 +01:00
link2xt 0ee54460ba Update Rust from 1.86.0 to 1.91.1
Next core will require Rust 1.88.0
2025-11-17 16:54:57 +00:00
adbenitez 0d8962f76c make apk builds more reproducible 2025-08-06 14:45:25 +02:00
l 20819912ee Update Rust to 1.86.0 (#3763) 2025-05-13 15:59:01 +00:00
B. Petersen be48179a25 update script to grep for strings to chatmail dirs 2025-04-16 21:06:44 +02:00
Hocuri be159407ff feat: In ndk-make.sh, support custom CARGO_TARGET_DIR (#3716)
Running ndk-make.sh triggers a complete rust rebuild, because some compiler flags are changed. Then when you run a normal cargo command again (cargo check etc.), there is another rebuild. My solution is to locally change the target directory. This PR makes ndk-make.sh support such custom target directories.
2025-04-03 12:35:00 +00:00
Hocuri f136fa3e3a Update the core submodule so that we can have nightlies again (#3539)
* Remove jsonrpc feature

* Update submodule to latest main
2025-01-15 16:18:43 +00:00
B. Petersen 489bb55788 detach Android and iOS releases 2025-01-10 17:26:16 +01:00
adbenitez e6f735b8bc update scripts/update-core.sh 2024-12-13 12:50:24 +01:00
link2xt 9d77920adf build: update Rust to 1.83.0 2024-12-12 13:28:33 +00:00
adbenitez 1d5ab98892 fix scripts/upload-release.sh 2024-12-06 07:59:49 +01:00
B. Petersen 7131f5774e adapt to changed deltachat-pages output folder 2024-11-27 20:36:46 +01:00
adb aa572508dc prepare 1.49.0 (#3453)
* update changelog

* update build.gradle

* update changelog

* update scripts/upload-beta.sh
2024-11-27 20:36:30 +01:00
link2xt 350cd0539c build: update NDK to r27
If we are dropping Android 4 support anyway,
can as well upgrade to the current LTS NDK
which requires API level 21 (Android 5.0).
2024-11-11 16:22:55 +00:00
Asiel Díaz Benítez c4698fcf60 Merge pull request #3241 from deltachat/r10s/use-system-language
use system language, support per-app-language-selection
2024-08-25 15:26:51 +02:00
B. Petersen 126552b419 clean content of obj and build folders
explicitly list the content to be deleted,
to have some more general protection in case sth. goes wrong accidentally ...
2024-08-23 10:43:13 +02:00
B. Petersen 49b48ef8bd remove language-option from appearance options 2024-08-16 23:11:50 +02:00
bjoern 0733ffabb2 tweak release script notes (#3203) 2024-08-03 00:47:32 +02:00
adbenitez d4048efb52 rename fat flavor to foss 2024-06-14 17:58:53 +02:00
adbenitez bd669edf4e update scripts to new res and assets folder location 2024-06-12 22:17:54 +02:00
link2xt 122bb0dbff build: update from Rust 1.72.0 to Rust 1.77.0 2024-04-05 13:35:23 +00:00
B. Petersen c996c766b2 tweak scripts/clean-core.sh
the idea of the script
is to prune all possible caches
that may cause problems when updating core.

it is run usually before a release
and to make sure a core is rebuild from scratch.
2024-03-06 22:17:31 +01:00
B. Petersen 24b7a4fed8 adapt ./scripts/grep-strings.sh to updated repos 2023-12-06 14:07:34 +01:00
link2xt 35a542b574 build: update to Rust 1.72.0 2023-08-26 00:48:35 +00:00
Paul van Leeuwen e7aaebf9ff Update ndk-make.sh initial comment to suggest an app for determining CPU architecture 2023-07-13 10:43:06 +02:00
link2xt 2849555088 Compile native library with -fvisibility=hidden
This avoids exposing the symbols of the used libraries like SQLite3
and reduces the library size.
2023-06-27 22:36:07 +00:00
link2xt e43aeb0d5b chore: update rust-toolchain to 1.70.0 2023-06-27 16:29:54 +00:00
link2xt 38a716a63b Reduce libnative-utils.so size 2023-06-27 13:55:15 +00:00
bjoern 5df31105ce ./update-core.sh accepts tags as well as branches (#2583)
* ./update-core.sh accepts tags as well as branches

* stop update.core.sh on all errors
2023-06-07 11:50:59 +02:00
link2xt 4f468a4b8f Add DcJsonrpcInstance class 2023-04-22 17:58:03 +00:00
B. Petersen d2901e0a47 search for translation errors in ./res/, not in intermediate files 2023-04-06 21:35:50 +02:00
link2xt fa7812ab0d Remove workaround for Rust built against r22b NDK
Rust 1.68.0 targets NDK r25, so the workaround is no longer needed.
2023-04-06 12:49:00 +00:00
link2xt f6562c412f Update to Rust 1.68.2 2023-04-06 12:49:00 +00:00
bjoern da517bdc9b prepare 1.36.2 (#2535)
* update deltachat-core-rust to 'ref: More logging for ongoing and get_backup (#4289)' of branch 'stable-1.112'

* update changelog for 1.36.2

* bump version to 1.36.2

* add some feedback at end of upload-release script, similar to upload-beta
2023-04-05 15:41:15 +02:00
link2xt 03a98f5e78 scripts/ndk-make.sh: enable debug builds explicitly with --debug
Currently F-Droid builds split architecture .apks
by invoking ndk-make.sh with architecture argument.
This results in debug builds of the core.

This change makes debug builds explicit.
2023-03-07 10:46:58 +00:00
bjoern 08bb30eb3a add codespell, fix typos (#2490)
* add script to call codespell utility

* fix typos found by scripts/codespell.sh
2023-03-06 13:44:46 +01:00
link2xt 1eb04a8bcb scripts/ndk-make.sh: set ranlib path 2023-03-04 01:12:06 +00:00
link2xt 86af180095 scripts/ndk-make.sh: remove CFLAGS setting
Setting __ANDROID_API__ manually causes
  '__ANDROID_API__' macro redefined [-Werror,-Wmacro-redefined]
when compiling the `ring` crate dependency.

TARGET_CC wrapper should set necessary variables itself.

See similar issue in the `ring` bugtracker for explanation:
https://github.com/briansmith/ring/issues/1519
2023-03-04 00:13:17 +00:00
link2xt 84a767dc17 scripts/ndk-make.sh: use absolute paths for TARGET_{CC,AR}
Do not assume that $PATH contains toolchain bin/
2023-03-01 00:27:25 +00:00
link2xt be8f9f1468 scripts/ndk-make.sh: export RUSTUP_TOOLCHAIN
This allows to build the core on systems without rustup.
In this case system rust is used,
but there is no error due to `+1.64.0`
being unknown argument to non-rustup cargo.
2023-03-01 00:27:25 +00:00
link2xt 8ed79c5b27 scripts/ndk-make.sh: unset RUSTFLAGS
Common way to configure `mold` is to set

    RUSTFLAGS="-C linker=clang -C link-arg=-fuse-ld=/usr/bin/mold"

This breaks cross-compilation, as wrong linker is used.
2023-03-01 00:27:25 +00:00
link2xt 63fc13179b scripts/ndk-make.sh: escape grep argument
This makes `scripts/ndk-make.sh` print meaningful error.
2023-03-01 00:26:43 +00:00
bjoern 8620b85416 prepare 1.34.13 (#2472)
* update CHANGELOG for 1.34.13

* nudge outselves to drop a line about what to test

the changelog is not always sufficient for that.

* bump version to 1.34.13
2023-02-09 23:21:00 +01:00
B. Petersen ae4a725764 clarify branch name in update script 2023-02-02 14:54:00 +01:00
bjoern c4651acceb adapt ./scripts/update-core.sh to work with different branches (#2460) 2023-01-31 14:51:45 +01:00
link2xt 543a7965c2 Remove ndk-make.sh symlink to scripts/ndk-make.sh
If scripts are always called directly without symlink,
there is no need to use `realpath` which is not available
on some systems.

F-Droid builds already use scripts/ndk-make.sh:
<https://gitlab.com/fdroid/fdroiddata/blob/master/metadata/com.b44t.messenger.yml>

Same for nightly builds running on Concourse CI.
2023-01-05 18:38:20 +00:00