Commit Graph

4811 Commits

Author SHA1 Message Date
adbenitez 19a2180b2b Merge remote-tracking branch 'upstream/master' 2023-01-04 13:36:03 -05:00
B. Petersen 7cff5c7311 update deltachat-core-rust submodule to 'ci: update rust toolchain for repl.exe builds' 2023-01-04 13:57:03 +01:00
link2xt 2f8992a77c Use realpath for the case of running the script via symlink 2023-01-02 14:47:04 +00:00
link2xt 78aada7027 Explicitly set RUSTUP_TOOLCHAIN to 1.64.0
Core is supposed to support all Rust versions above
MSRV, there is no need to use the same toolchain for
the core across all platforms.
2022-12-30 16:32:52 +00:00
adbenitez 43bd273784 Merge remote-tracking branch 'upstream/master' 2022-12-26 14:06:21 -05:00
B. Petersen d72c0eebb7 use new node directory for grep-string.sh 2022-12-22 14:24:43 +01:00
adbenitez 0af77c7e9c Merge remote-tracking branch 'upstream/master' 2022-12-21 15:01:29 -05:00
bjoern 949cb3fafb prepare 1.34.8 (#2438)
* update changelog

* bump version to 1.34.8

* mark recent testrun vesions as such
2022-12-21 20:18:27 +01:00
adbenitez 5959e6947d Merge remote-tracking branch 'upstream/master' 2022-12-21 13:34:13 -05:00
B. Petersen df2abd5fcb update local help 2022-12-21 10:41:04 +01:00
B. Petersen 192ee87760 update deltachat-core-rust submodule to 'release 1.104.0 (#3857)' 2022-12-20 18:02:19 +01:00
bjoern a0e874cf9e add greek (#2437)
* add greek to language menu

* add greek strings.xml
2022-12-20 18:01:40 +01:00
adbenitez a162b75794 Merge remote-tracking branch 'upstream/master' 2022-12-17 21:08:46 -05:00
B. Petersen 2efe9eb704 update translations: korean, polish 2022-12-17 23:25:23 +01:00
bjoern b016ccc6dd prepare 1.34.7 (#2436)
* update CHANGELOG for 1.34.7

* bump version to 1.34.7
2022-12-16 16:11:28 +01:00
B. Petersen 8f7d0ce0f6 update translations 2022-12-12 20:02:03 +01:00
B. Petersen 5353f89144 update deltachat-core-rust submodule to 'Release 1.103.0' 2022-12-12 17:44:33 +01:00
adbenitez b9df85d856 Merge remote-tracking branch 'upstream/master' 2022-12-10 14:40:38 -05:00
link2xt 0c87742577 Make ndk-make.sh work with the standard shell 2022-12-09 17:41:26 +00:00
B. Petersen d196e08788 update translations 2022-12-05 21:45:17 +01:00
bjoern b07f23674e update transifex tool (#2434)
the old `tx` (written in Python) tool is sunset end nov22 [^1].

- installed the new `tx` tool (written in Go) according to
  https://developers.transifex.com/docs/cli

- ran `tx migrate` to update tx config files

`/scripts/tx-pull-translations.sh` etc. continue working as expected.

[^1]: https://github.com/transifex/transifex-client
2022-12-05 21:43:31 +01:00
bjoern f2e1503b52 adapt build script for M1/M2 hosts (#2433)
* adapt build script for M1/M2 hosts

* GUI way to set up build environment, update NDK information

* more precice warning message
2022-12-04 02:01:04 +01:00
adbenitez 38d59b655a Merge remote-tracking branch 'upstream/master' 2022-11-30 16:06:11 -05:00
Hocuri d1b3124ab0 Don't animate the spinning circle if animations are disabled (#2338) 2022-11-24 12:34:57 +01:00
adbenitez 5cafb63592 update submodule 2022-11-15 16:02:08 -05:00
adbenitez a877ae8fa4 update submodule 2022-11-15 15:37:37 -05:00
adbenitez f5831d3f3f Merge remote-tracking branch 'upstream/master' 2022-11-15 14:59:25 -05:00
adbenitez 0edc1cb0e0 update description 2022-11-15 14:56:49 -05:00
bjoern 4d22d91e98 prepare 1.34.5 (#2428)
* update changelog for 1.34.5

* bump version to 1.34.5
2022-11-15 20:01:10 +01:00
adbenitez a3bd2157f9 Merge remote-tracking branch 'upstream/master' 2022-11-15 12:26:34 -05:00
bjoern 0169db7146 add versionCode to debug info (#2427) 2022-11-15 17:30:18 +01:00
B. Petersen 97868bcdbc update deltachat-core-rust submodule to 'prepare 1.101.0 (#3757)' 2022-11-15 16:12:39 +01:00
B. Petersen 2a9223a706 update translations 2022-11-15 16:12:17 +01:00
bjoern ae0be1302c prepare 1.34.4 (#2424)
* update changelog for 1.34.4

* bump version to 1.34.4
2022-11-12 23:15:34 +01:00
bjoern 81c2812390 let DynamicLanguage.getLayoutDirection() work on sdk16/android4.1 (#2423)
sdk16/android4.1 does not support RTL fully,
therefore just return LTR in this case
(this is also what `ViewCompat.getLayoutDirection()`
and `View.getLayoutDirection()` are doing).

always using `ViewCompat.getLayoutDirection()`, however,
causes problems as the layout is based on the content then
(see #2422)

closes #2420
2022-11-12 22:33:48 +01:00
B. Petersen 521f55fe04 update translations 2022-11-10 12:26:21 +01:00
bjoern 2450bfc4bf remove meanwhile superfluous data2IsString() (#2418) 2022-11-10 10:39:33 +01:00
bjoern d6f9b5e283 avoid crashes when adding notifications (#2419)
notificationManager.notify() sometime crashes,
it seems to be on some OS versions
in combination with missing sounds (maybe deleted system sounds, idk).

i could not reproduce the issue,
however, by the stack traces reported in the gplay backend,
adding a try/catch block should help.

there is also a similar issue reported on stackoverflow ,
https://stackoverflow.com/questions/72491592/notificationmanager-notify-throwing-securityexception-only-on-android-11-and-1

in the issue, ppl try to fall back to some default parameters in the exception block,
however, as it is a bit unclear what really the issue is,
one only risks further crashes; also, the crashes are still quite rare,
sth. seems to be wrong in the OS here,
so we should not try to be too smart here.
2022-11-10 10:39:19 +01:00
bjoern d764ed7b91 clarify meaning of 'left'; this came out of transifex discussions (#2416) 2022-11-08 09:59:24 +01:00
B. Petersen 966589edfe update translations 2022-11-07 23:16:56 +01:00
bjoern f9ce0baea1 prepare 1.34.3 (#2412)
* update changelog for 1.34.3

* bump version to 1.34.3
2022-11-02 10:49:26 +01:00
adbenitez 860f1b5b02 Merge remote-tracking branch 'upstream/master' 2022-11-01 01:43:50 -04:00
bjoern c28c72511e fix crash in share-to-delta and similar issues (#2411)
* fix crash in share-to-delta

the crash was introduced by 1.34.2 that was released for testing only.

reason is a wrong `exported` flag - it makes sense to have `exported="true"` here.

the flag was added in https://github.com/deltachat/deltachat-android/pull/2407
as needed for android12 - and i was assuming that the old default was `false`
and set that value to all missing ones.

that assumption seems to be wrong, so we should double-check all flags
changed by https://github.com/deltachat/deltachat-android/pull/2407

* set exported=true; this is the pre-android12 default in case there intent-filters
2022-10-31 21:47:47 +01:00
adbenitez 90366eeb46 fix AndroidManifest.xml 2022-10-31 03:29:18 -04:00
adbenitez fa99151c05 Merge remote-tracking branch 'upstream/master' 2022-10-31 02:13:17 -04:00
bjoern 33bbfaf951 prepare 1.34.2 (#2406)
* update changelog for 1.34.2

* bump version to 1.34.2
2022-10-30 17:36:30 +01:00
adbenitez 48dec04e83 Merge remote-tracking branch 'upstream/master' 2022-10-30 11:58:21 -04:00
Asiel Díaz Benítez 856b2d3cdf fix message bubble corner for RTL languages (#2410) 2022-10-30 16:18:19 +01:00
bjoern 443ea0cd36 bump targetSdkVersion to 32 (#2407)
* bump targetSdkVersion to 32

* explicitly set `android:exported` for `indent-filter`

this is required since targetSdkVersion 31,
https://developer.android.com/guide/components/intents-filters#Receiving

as the default was `false` before,
i just explicitly set `android:exported="false"` without looking in the details
of each filter.

* update to gradle 7.2.2; this might be needed to get warnings etc.

* update androidx dependencies

at least the update of androidx.sharetarget is required because of the missing
`android:exported`; i took the chance to update all androidx depenencies.

see https://developer.android.com/jetpack/androidx/releases/appcompat
for a CHANGELOG of each dependency.

* use explicit dependency instead of transitive ones; this fixes a weird duplicate error, see https://stackoverflow.com/questions/69817925/problem-duplicate-class-androidx-lifecycle-viewmodel-found-in-modules

* work around google's poor design decision wrt FLAG_MUTABLE

instead of setting a default behavior and logging a warning,
google crashes the application when the flag is missing on newer androids.

and setting the flag for older API seems to be undefined and therefore a lot of
Build.VERSION.SDK_INT >= Build.VERSION_CODES.M would be required each time
a PendingIntent object is constructed ...

our Util returns either the new flag or zero,
so that can just be used unconditionally on construction.

* update dependencies but exoplayer to mitigate issues with FLAG_MUTABLE

exoplayer needs more love and updating opens a can of worms;
i tested, at least in the emulator, video and voice message playback
works as usual, so let's update exoplayer if needed.
2022-10-30 16:06:24 +01:00
adbenitez 0fbd65c237 Merge remote-tracking branch 'upstream/master' 2022-10-30 05:32:46 -04:00