Commit graph

4241 commits

Author SHA1 Message Date
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
link2xt
9b3d5df1fd
Add fallback implementations for sendmmsg, recvmmsg and getauxval (#2491)
These functions are not available in related NDK,
so we provide a fallback implementation for them.
2023-03-06 23:04:39 +01: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
fd421a126d nix: add SDK command line tools to PATH 2023-03-04 00:45:25 +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
e56f24b014 nix: add NDK toolchain binaries to PATH
Otherwise gradle is unable to strip native binary
and the resulting .apk is 85M instead of 59M.
2023-03-03 13:25:34 +00:00
link2xt
dc94b8614d Add Nix development environment 2023-03-01 14:54:40 +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
link2xt
df58225192 Revert "add epoll_create fallback which is missing in API<21"
This reverts commit e29b6f9974.

Since update to `mio` 0.8.5, it does not require `epoll_create1()`
function to be present on Android anymore.
2023-02-24 12:55:45 +00:00
B. Petersen
9d9932775a update translations 2023-02-23 20:22:44 +01:00
bjoern
2b75ec5515
remove unused lines; the iframe should include webxdc.js as needed (#2474) 2023-02-23 13:10:51 +01:00
B. Petersen
95d58765e2 update translations 2023-02-23 12:52:25 +01:00
B. Petersen
7ece7b1ca9 amend f-droid changelog from CHANGELOG 2023-02-20 21:05:57 +01:00
B. Petersen
e129602996 update f-droid changelog from CHANGELOG 2023-02-20 21:04:18 +01:00
B. Petersen
6a677517fc update translations 2023-02-13 11:24:16 +01:00
B. Petersen
0d52b49727 update translations 2023-02-12 12:48:12 +01:00
bjoern
d523d67415
Update release-checklist.md 2023-02-11 00:37:23 +01:00
bjoern
9748952129
refine and update release checklist, add things that were done more implicitly before (#2473) 2023-02-10 20:08:26 +01: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
bjoern
aae4e337cd
fix receiving updates during runtime (#2471) 2023-02-09 22:38:18 +01:00
bjoern
4f8d6aad05
no automatic remote content loading for contact requests (#2469)
* factor out checkmark strings

* no automatic remote content for contact requests

loading remote content in contact requests
now always require explicit consent of the user.
moreover, contact request do not alter
the otherwise used never/once/always settings.
2023-02-08 11:03:07 +01:00
bjoern
904efe872b
prepare 1.34.12 (#2467)
* update CHANGELOG for 1.34.12

* bump version to 1.34.12
2023-02-06 00:12:19 +01:00
bjoern
01ebb166d7
add CSP to webxdc (#2466) 2023-02-05 15:23:24 +01:00
B. Petersen
81cd2aa729 update translations 2023-02-05 14:53:01 +01:00
B. Petersen
a1e3bde747 update deltachat-core-rust to 'Release 1.107.1' of branch 'stable-1.107' 2023-02-05 14:51:01 +01:00
bjoern
563c0296fa
Combined webxdc patches (#2465)
* re-applying patch from @Hocuri from #2458

* apply sandbox isolation patch from @WofWca

* wait for gc as suggested by @WofWca, @Simon-Laux and others

* Update res/raw/sandboxed_iframe_rtcpeerconnection_check.html

Co-authored-by: WofWca <wofwca@protonmail.com>

* Update res/raw/sandboxed_iframe_rtcpeerconnection_check.html

Co-authored-by: WofWca <wofwca@protonmail.com>

* improve progress bar, inspired by @Simon-Laux and @WofWca

* comment about the gist of setNetworkAvailable()

* unify url-loading; this cleans up things and makes adding CSP more straight-forward

---------

Co-authored-by: WofWca <wofwca@protonmail.com>
2023-02-05 14:45:45 +01:00
B. Petersen
4ba6daae21 Revert "Webxdc fixes"
This reverts commit 6afddd84ff.
2023-02-03 13:18:05 +01:00
B. Petersen
ae4a725764 clarify branch name in update script 2023-02-02 14:54:00 +01:00
bjoern
699d97cccc
prepare 1.34.11 (#2459)
* update changelog for 1.34.11

* bump version to 1.34.11
2023-01-31 21:36:27 +01:00
Hocuri
8281bf9489
Webxdc fixes (#2458)
This now fixes all the checks in the `test webxdc`, see the
Delta Chat group
2023-01-31 18:30:53 +01:00
bjoern
38be87ee8e
refine new f-droid documentation (#2461)
successor of #2444:

- there seems to be a maximal lenght of 500 characters for the changelog
  (the 500 chars come from the changlog in #2444
  that was truncated after 500 characters)

- the changelog is only needed if there is really a f-droid release scheduled;
  move the instructions down
2023-01-31 16:32:26 +01:00
B. Petersen
f088fbd0bc update deltachat-core-rust to 'Prepare 1.107.0' of branch 'stable-1.107' 2023-01-31 14:52:31 +01:00
bjoern
c4651acceb
adapt ./scripts/update-core.sh to work with different branches (#2460) 2023-01-31 14:51:45 +01:00
B. Petersen
354ddb5e0a update translations 2023-01-31 14:19:33 +01:00
B. Petersen
7f874fe1f4 update translations, clarify hint for string 'N Selected' 2023-01-31 11:58:16 +01:00
Asiel Díaz Benítez
0db90343da
Merge pull request #2455 from deltachat/adb/fix-socks5-switch-style
fix "use SOCKS5" switch style
2023-01-19 04:32:53 -05:00
adbenitez
6993317be3 fix "use SOCKS5" switch style (not visible in dark mode due to forced Light theme) 2023-01-19 00:15:03 -05:00
Asiel Díaz Benítez
f19e29bb22
Merge pull request #2454 from deltachat/adb/disable-socks5-password-toogle-after-config
don't allow to reveal proxy password
2023-01-18 23:01:26 -05:00
adbenitez
cc97b61299 don't allow to reveal proxy password when editing the settings after account was successfully configured 2023-01-18 17:10:07 -05:00
Asiel Díaz Benítez
bde84845d8
Merge pull request #2452 from deltachat/adb/add-socks5
add socks5 settings to registration activity
2023-01-18 16:15:46 -05:00
adbenitez
4aaa656938 make SOCKS5 section more similar to Delta Chat Desktop 2023-01-18 15:11:48 -05:00
B. Petersen
85918cf33f update translations 2023-01-18 14:34:02 +01:00
adbenitez
3dfc587183 add socks5 settings to registration activity 2023-01-18 01:06:48 -05:00
bjoern
90c4399d2a
prepare 1.34.10 (#2447)
* update CHANGELOG for 1.34.9

* bump version to 1.34.9

* add a little device message for the 1.34.9 update

* add f-droid changelog

* make device message more clear and add it only for existing installations

* bump to 1.34.10
2023-01-11 10:54:02 +01:00
B. Petersen
fffff6abe5 update deltachat-core-rust submodule to 'Clippy fix' 2023-01-10 23:32:26 +01:00
B. Petersen
826cea5d82 update translations 2023-01-09 18:17:31 +01:00