diff --git a/CHANGELOG.md b/CHANGELOG.md index e8cee10a4..32fa0ab3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -287,7 +287,7 @@ * fix: send locations in the background regardless of other sending activity * fix rare crashes when stopping IMAP and SMTP * fix correct message escaping consisting of a dot in SMTP protocol -* fix: don't jump to parent message if parent messagse is not a webxdc +* fix: don't jump to parent message if parent message is not a webxdc * fix webxdc background mode so that music stops playing * webxdc: improve display of webxdc items in the gallery's "docs" tab * webxdc: show icon in quotes @@ -439,7 +439,7 @@ * contact requests are notified as usual now * force strict certificate checks when a strict certificate was seen on first login * do not forward group names on forwarding messages -* "Broadcast Lists", as kown from other messengers, added as an experimental feature +* "Broadcast Lists", as known from other messengers, added as an experimental feature (you can enable it at "Settings / Advanced") * improve accessibility: add some button descriptions * remove "view profile" from the chat menu; just tap the chat name to open the profile @@ -667,7 +667,7 @@ * fix maybe stuck notifications * fix: close keyboard when a quotes is opened in another chat * fix: do not cut the document icon in quotes -* fix: make the the quote dissmiss button better clickable again +* fix: make the the quote dismiss button better clickable again * update translations @@ -688,7 +688,7 @@ * disappearing messages: select for any chat the lifetime of the messages * chat opens at the position of the first unseen message * add known contacts from the IMAP-server to the local addressbook on configure -* direct forwarding to "saved messags" - save one tap and stay in context :) +* direct forwarding to "saved messages" - save one tap and stay in context :) * long tap in contact-list allows opening "profile" directly * allow forwarding to multiple archived chats * enable encryption in groups if preferred by the majority of recipients @@ -768,7 +768,7 @@ * show a device message when the password was changed on the server * videochats introduced as experimental feature -* show experimental disappearing-messags state in chat's title bar +* show experimental disappearing-messages state in chat's title bar * improve sending large messages * improve receiving messages * improve error handling when there is no network @@ -837,9 +837,9 @@ ## v1.8.0 2020-05-11 -* by default, the permantent notification is no longer shown; +* by default, the permanent notification is no longer shown; the background fetch realibility depends on the system and the - permantent notification can be enabled at "Settings / Notifications" as needed + permanent notification can be enabled at "Settings / Notifications" as needed * fix a bug that stops receiving messages under some circumstances * more bug fixes * update translations @@ -864,8 +864,8 @@ * new experimental feature that allows switching the account in use * improve interaction with traditional mail clients * improved onboarding when the provider returns a link -* to improve background fetch, show a permantent notification by default -* the permantent notification can be disabled at "Settins / Notifications" +* to improve background fetch, show a permanent notification by default +* the permanent notification can be disabled at "Settings / Notifications" * bug fixes * add Indonesian and Persian translations, update other translations @@ -1088,7 +1088,7 @@ Racer1, Simon Laux, solokot, Waldemar Stoczkowski, Xosé M. Lamas, Zkdc * use the rust-language for the mail-parsing and -generating part, introducing a vastly improved reliability * fix moving messages -* fix flakyness when receiving messages +* fix flakiness when receiving messages and in the secure-join process * more bug fixes @@ -1182,7 +1182,7 @@ Heimen Stoffels, Lin Miaoski, Ozancan Karataş, Zkdc * Optional plipp-plop sounds in chats * Better document- and music-files view * Add new-messages marker -* Keep chat-scroll-postion on incoming messages +* Keep chat-scroll-position on incoming messages * Clean up settings dialog * More general "outgoing media quality" option (replaces image-quality option) * Improve quality of voice messages @@ -1190,12 +1190,12 @@ Heimen Stoffels, Lin Miaoski, Ozancan Karataş, Zkdc * Add an experimental option to delete e-mails from server * Improve compatibility with older phones * Show a warning if the app is too old and won't be updated automatically - (done just by date comparision, no data is sent anywhere) + (done just by date comparison, no data is sent anywhere) * New option to save the log to a file * Make input text field a bit larger * Add Traditional Chinese and Simplified Chinese translations * Update Albanian, Azerbaijani, Basque, Brazilian Portuguese, Catalan, Danish, - Dutch, French, German, Italien, Japanese, Lithuanian, Polish, Portuguese, + Dutch, French, German, Italian, Japanese, Lithuanian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish and Ukrainian translations * Bugfixes @@ -1324,11 +1324,11 @@ Iskatel Istiny, Lech Rowerski, violoncelloCH and others. * Options for watching several IMAP-folders * Option to move messages to the DeltaChat-folder * Improved multi-device behavior -* Improved Accessiblity eg. for screen readers +* Improved Accessibility eg. for screen readers * Dark theme * Support right-to-left languages * Relative time display -* Chatlist and contat list support a long click for several operations +* Chatlist and contact list support a long click for several operations * Archive chats by swiping a chat right out of the chatlist * Show date always atop of the chat * Fix redraw problems with hidden system status or navigation bar @@ -1372,7 +1372,7 @@ Karissa McKelvey, Lars-Magnus Skog, Ole Carlsen 2018-07-10 * Give advices for Google users -* Speed up by making database-locks unneccessary +* Speed up by making database-locks unnecessary * Fix drafts appearing twice * Update Albanian, Basque, Catalan, Danish, Dutch, English, Italian, Polish, Russian, and Turkish translations diff --git a/README.md b/README.md index 764c5aae5..32c01158b 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Then, configure `ANDROID_NDK_ROOT` environment variable to point to the Android installation directory e.g. by adding this to your `.bashrc`: ```bash -export ANDROID_NDK_ROOT=${HOME}/Android/Sdk/ndk/[version] # (or whereever your NDK is) Note that there is no `/` at the end! +export ANDROID_NDK_ROOT=${HOME}/Android/Sdk/ndk/[version] # (or wherever your NDK is) Note that there is no `/` at the end! export PATH=${PATH}:${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin/:${ANDROID_NDK_ROOT} ``` @@ -196,7 +196,7 @@ environment. - Disable animations on your device, otherwise the test may fail: at "Developer options" - set all of "Window animation scale", "Transition animation scale" and "Animatior duration scale" to 0x + set all of "Window animation scale", "Transition animation scale" and "Animator duration scale" to 0x - In Android Studio: "File" / "Sync project with gradle files" diff --git a/build.gradle b/build.gradle index ee3b834b2..9c4e11227 100644 --- a/build.gradle +++ b/build.gradle @@ -54,7 +54,7 @@ dependencies { annotationProcessor 'androidx.annotation:annotation:1.5.0' implementation 'com.makeramen:roundedimageview:2.1.0' // crops the avatars to circles implementation 'com.pnikosis:materialish-progress:1.5' // used only in the "Progress Wheel" in Share Activity. - implementation 'com.soundcloud.android:android-crop:0.9.10@aar' // used in Group Select Avatar, should be unified with profie + implementation 'com.soundcloud.android:android-crop:0.9.10@aar' // used in Group Select Avatar, should be unified with profile implementation 'com.nineoldandroids:library:2.4.0' // DEPRECATED! Used to slide in the half-camera. implementation 'mobi.upod:time-duration-picker:1.1.3' // Used to pick the time for inactivity. implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' // number of unread messages, diff --git a/docs/f-droid.md b/docs/f-droid.md index 3d0c06f7f..8aea4fb07 100644 --- a/docs/f-droid.md +++ b/docs/f-droid.md @@ -50,7 +50,7 @@ $ cp ../fdroidserver/examples/config.py . # adapt file as needed checkout repo as f-droid would do: $ ../fdroidserver/fdroid checkupdates -v com.b44t.messenger -(for testing with uncommited changes, add --allow-dirty) +(for testing with uncommitted changes, add --allow-dirty) build repo as f-droid would do: $ ../froidserver/fdroid build -v com.b44t.messenger: diff --git a/scripts/codespell.sh b/scripts/codespell.sh new file mode 100755 index 000000000..306cd311e --- /dev/null +++ b/scripts/codespell.sh @@ -0,0 +1,4 @@ +#!/bin/sh +codespell \ + --skip './.git,./build,./res/values-*/strings.xml,,./assets/help,./jni/deltachat-core-rust' \ + --ignore-words-list formattings diff --git a/src/org/thoughtcrime/securesms/ConversationActivity.java b/src/org/thoughtcrime/securesms/ConversationActivity.java index eb4d0828a..73a4a6340 100644 --- a/src/org/thoughtcrime/securesms/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationActivity.java @@ -612,7 +612,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity if (isSharing(this)) { // we're allowing only 1 try to share, going back to the conversation list will // close the conversation list in activtyForResult() as well, so that the user - // comes back to the extenal app's share menu + // comes back to the external app's share menu setResult(RESULT_OK); } finish(); diff --git a/src/org/thoughtcrime/securesms/connect/KeepAliveService.java b/src/org/thoughtcrime/securesms/connect/KeepAliveService.java index 9d2bda74a..ba816bf82 100644 --- a/src/org/thoughtcrime/securesms/connect/KeepAliveService.java +++ b/src/org/thoughtcrime/securesms/connect/KeepAliveService.java @@ -54,7 +54,7 @@ public class KeepAliveService extends Service { // set self as foreground try { stopForeground(true); - startForeground(NotificationCenter.ID_PERMANTENT, createNotification()); + startForeground(NotificationCenter.ID_PERMANENT, createNotification()); } catch (Exception e) { e.printStackTrace(); diff --git a/src/org/thoughtcrime/securesms/geolocation/LocationBackgroundService.java b/src/org/thoughtcrime/securesms/geolocation/LocationBackgroundService.java index 56345bbfc..09446dec9 100644 --- a/src/org/thoughtcrime/securesms/geolocation/LocationBackgroundService.java +++ b/src/org/thoughtcrime/securesms/geolocation/LocationBackgroundService.java @@ -69,7 +69,7 @@ public class LocationBackgroundService extends Service { try { locationManager.removeUpdates(locationListener); } catch (Exception ex) { - Log.i(TAG, "fail to remove location listners, ignore", ex); + Log.i(TAG, "fail to remove location listeners, ignore", ex); } } diff --git a/src/org/thoughtcrime/securesms/imageeditor/renderers/MultiLineTextRenderer.java b/src/org/thoughtcrime/securesms/imageeditor/renderers/MultiLineTextRenderer.java index 91d878bfd..3f9e56f9d 100644 --- a/src/org/thoughtcrime/securesms/imageeditor/renderers/MultiLineTextRenderer.java +++ b/src/org/thoughtcrime/securesms/imageeditor/renderers/MultiLineTextRenderer.java @@ -23,7 +23,7 @@ import java.util.List; import static java.util.Collections.emptyList; /** - * Renders multiple lines of {@link #text} in ths specified {@link #color}. + * Renders multiple lines of {@link #text} in the specified {@link #color}. *

* Scales down the text size of long lines to fit inside the {@link Bounds} width. */ diff --git a/src/org/thoughtcrime/securesms/map/DCMapFragment.java b/src/org/thoughtcrime/securesms/map/DCMapFragment.java index d08a1cd0e..92f864e0e 100644 --- a/src/org/thoughtcrime/securesms/map/DCMapFragment.java +++ b/src/org/thoughtcrime/securesms/map/DCMapFragment.java @@ -192,7 +192,7 @@ public class DCMapFragment extends Fragment implements OnMapReadyCallback { } /** - * Called when the fragment is view hiearchy is being destroyed. + * Called when the fragment is view hierarchy is being destroyed. */ @Override public void onDestroyView() { diff --git a/src/org/thoughtcrime/securesms/mms/AttachmentManager.java b/src/org/thoughtcrime/securesms/mms/AttachmentManager.java index 5b66e9f01..9f35ef2cd 100644 --- a/src/org/thoughtcrime/securesms/mms/AttachmentManager.java +++ b/src/org/thoughtcrime/securesms/mms/AttachmentManager.java @@ -399,7 +399,7 @@ public class AttachmentManager { return result; } - // should be called when the attachement manager comes into view again. + // should be called when the attachment manager comes into view again. // if the attachment manager contains a webxdc, its summary is updated. public void onResume() { if (slide.isPresent()) { diff --git a/src/org/thoughtcrime/securesms/notifications/NotificationCenter.java b/src/org/thoughtcrime/securesms/notifications/NotificationCenter.java index 50663f591..198b7799d 100644 --- a/src/org/thoughtcrime/securesms/notifications/NotificationCenter.java +++ b/src/org/thoughtcrime/securesms/notifications/NotificationCenter.java @@ -149,7 +149,7 @@ public class NotificationCenter { // Notification IDs // -------------------------------------------------------------------------------------------- - public static final int ID_PERMANTENT = 1; + public static final int ID_PERMANENT = 1; public static final int ID_MSG_SUMMARY = 2; public static final int ID_GENERIC = 3; public static final int ID_MSG_OFFSET = 0; // msgId is added - as msgId start at 10, there are no conflicts with lower numbers diff --git a/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java b/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java index d7035a33f..37bbdf630 100644 --- a/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java +++ b/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java @@ -112,7 +112,7 @@ public class NotificationsPreferenceFragment extends ListSummaryPreferenceFragme super.onResume(); ((ApplicationPreferencesActivity) getActivity()).getSupportActionBar().setTitle(R.string.pref_notifications); - // upate ignoreBattery in onResume() to reflects changes done in the system settings + // update ignoreBattery in onResume() to reflects changes done in the system settings ignoreBattery.setChecked(isIgnoringBatteryOptimizations()); } diff --git a/src/org/thoughtcrime/securesms/video/recode/VideoRecoder.java b/src/org/thoughtcrime/securesms/video/recode/VideoRecoder.java index 57dd30c48..7dbc7b452 100644 --- a/src/org/thoughtcrime/securesms/video/recode/VideoRecoder.java +++ b/src/org/thoughtcrime/securesms/video/recode/VideoRecoder.java @@ -837,7 +837,7 @@ public class VideoRecoder { vei.resultHeight *= scale; } - // we know the most important things now, prepare the message to get a resposive ui + // we know the most important things now, prepare the message to get a responsive ui if (vei.originalRotationValue == 90 || vei.originalRotationValue == 270) { msg.setDimension(vei.resultHeight, vei.resultWidth); } else { @@ -846,7 +846,7 @@ public class VideoRecoder { msg.setDuration((int) resultDurationMs); DcHelper.getContext(context).prepareMsg(chatId, msg); - // calulate bytes + // calculate bytes vei.estimatedBytes = VideoRecoder.calculateEstimatedSize((float) resultDurationMs / vei.originalDurationMs, vei.resultVideoBitrate, vei.originalDurationMs, vei.originalAudioBytes);