Skip to content

Commit c41afad

Browse files
authored
Merge pull request #877 from wordpress-mobile/release/1.3.35
Merge Release/1.3.35 into master
2 parents 701ac41 + 4d0a77d commit c41afad

File tree

92 files changed

+716
-370
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+716
-370
lines changed
2.34 KB
Binary file not shown.

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
version: 2.1
22

33
orbs:
4-
android: wordpress-mobile/[email protected].21
4+
android: wordpress-mobile/[email protected].27
55

66
jobs:
77
Lint:
88
executor:
99
name: android/default
10-
api-version: "27"
10+
api-version: "28"
1111
steps:
1212
- checkout
1313
- android/restore-gradle-cache:
@@ -26,7 +26,7 @@ jobs:
2626
Unit Tests:
2727
executor:
2828
name: android/default
29-
api-version: "27"
29+
api-version: "28"
3030
steps:
3131
- checkout
3232
- android/restore-gradle-cache:
@@ -40,7 +40,7 @@ jobs:
4040
Connected Tests:
4141
executor:
4242
name: android/default
43-
api-version: "27"
43+
api-version: "28"
4444
steps:
4545
- checkout
4646
- android/restore-gradle-cache:
@@ -50,15 +50,15 @@ jobs:
5050
command: ./gradlew --stacktrace app:assembleDebug app:assembleDebugAndroidTest
5151
- run:
5252
name: Decrypt credentials
53-
command: openssl aes-256-cbc -md sha256 -d -in .firebase.secrets.json.enc -out .firebase.secrets.json -k "${FIREBASE_SECRETS_ENCRYPTION_KEY}"
53+
command: openssl aes-256-cbc -md sha256 -d -in .circleci/.firebase.secrets.json.enc -out .circleci/.firebase.secrets.json -k "${FIREBASE_SECRETS_ENCRYPTION_KEY}"
5454
- android/firebase-test:
55-
key-file: .firebase.secrets.json
55+
key-file: .circleci/.firebase.secrets.json
5656
type: instrumentation
5757
apk-path: app/build/outputs/apk/debug/app-debug.apk
5858
test-apk-path: app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
5959
device: model=Nexus5X,version=26,locale=en,orientation=portrait
6060
project: api-project-108380595987
61-
timeout: 10m
61+
timeout: 18m
6262
- android/save-gradle-cache:
6363
cache-prefix: connected-tests
6464

.firebase.secrets.json.enc

-2.34 KB
Binary file not shown.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
3. [STEP_3]
88

99
### Review
10-
@[USER_NAME]
10+
@[USER_NAME]
11+
12+
Make sure strings will be translated:
13+
14+
- [ ] If there are new strings that have to be translated, I have added them to the client's `strings.xml` as a part of the integration PR.

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,47 @@
11
# Changelog
2+
3+
## [1.3.35](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.35)
4+
### Changed
5+
- Update Glide version to 4.10.0
6+
7+
## [1.3.34](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.34)
8+
### Added
9+
- Added the ability to report to the host app the IndexOutOfBounds exception
10+
in android.text.DynamicLayout.getBlockIndex(DynamicLayout.java:646) under Android 8.XX (#861)
11+
12+
## [1.3.33](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.33)
13+
### Fixed
14+
- IndexOutOfBounds case in DynamicLayout.reflow() under Android 8.0.0 (#834)
15+
16+
## [1.3.32](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.32)
17+
### Fixed
18+
- Allow paragraph spans that do not extend AlignmentSpan (#851)
19+
20+
## [1.3.31](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.31)
21+
### Fixed
22+
- Fix lag deleting and inserting text #853 and #854
23+
24+
## [1.3.30](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.30)
25+
### Added
26+
- Added the ability to signal undo/redo events to host app
27+
28+
## [1.3.29](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.29)
29+
### Fixed
30+
- Fix span overlapping on window resizing (Chromebooks)
31+
- Fix cursor size on new paragraph line (Chromebooks)
32+
- Fix breaking layout on slow window resizing (Chromebooks)
33+
34+
## [1.3.28](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.28)
35+
### Added
36+
- Added support for AndroidX
37+
38+
## [v1.3.27](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.27)
39+
### Fixed
40+
- Gutenberg fixes:
41+
* Suppress multiple onSelectionChanged events when listener is disabled #817
42+
* Avoid trimming spaces around html block elemts
43+
44+
245
## [v1.3.26](https://github.com/wordpress-mobile/AztecEditor-Android/releases/tag/v1.3.26)
346
### Fixed
447
- DynamicLayout Crash #813

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ repositories {
105105
```
106106
```gradle
107107
dependencies {
108-
api ('com.github.wordpress-mobile.WordPress-Aztec-Android:aztec:v1.3.26')
108+
api ('com.github.wordpress-mobile.WordPress-Aztec-Android:aztec:v1.3.35')
109109
}
110110
```
111111

app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33

44
android {
5-
compileSdkVersion 27
5+
compileSdkVersion 28
66
buildToolsVersion '28.0.3'
77

88
defaultConfig {
99
applicationId "org.wordpress.aztec"
1010
minSdkVersion 16
11-
targetSdkVersion 27
11+
targetSdkVersion 28
1212
versionCode 1
1313
versionName "1.0"
14-
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
14+
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
1515
}
1616

1717
buildTypes {
@@ -40,13 +40,13 @@ dependencies {
4040

4141
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
4242

43-
implementation "com.android.support:appcompat-v7:$supportLibVersion"
43+
implementation 'androidx.appcompat:appcompat:1.0.0'
4444
implementation "org.wordpress:utils:$wordpressUtilsVersion"
4545

46-
androidTestImplementation "com.android.support.test.espresso:espresso-core:$espressoVersion", {
46+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0', {
4747
exclude group: 'com.android.support', module: 'support-annotations'
4848
}
49-
androidTestImplementation "com.android.support.test.espresso:espresso-intents:$espressoVersion", {
49+
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0', {
5050
exclude group: 'com.android.support', module: 'support-annotations'
5151
}
5252
androidTestImplementation('com.xamarin.testcloud:espresso-support:1.3')

app/src/androidTest/java/org/wordpress/aztec/demo/BetterClickAction.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
package org.wordpress.aztec.demo;
22

3-
import android.support.test.espresso.PerformException;
4-
import android.support.test.espresso.UiController;
5-
import android.support.test.espresso.ViewAction;
6-
import android.support.test.espresso.action.CoordinatesProvider;
7-
import android.support.test.espresso.action.PrecisionDescriber;
8-
import android.support.test.espresso.action.Tap;
9-
import android.support.test.espresso.action.Tapper;
10-
import android.support.test.espresso.util.HumanReadables;
3+
import androidx.test.espresso.PerformException;
4+
import androidx.test.espresso.UiController;
5+
import androidx.test.espresso.ViewAction;
6+
import androidx.test.espresso.action.CoordinatesProvider;
7+
import androidx.test.espresso.action.PrecisionDescriber;
8+
import androidx.test.espresso.action.Tap;
9+
import androidx.test.espresso.action.Tapper;
10+
import androidx.test.espresso.util.HumanReadables;
1111
import android.view.View;
1212
import android.view.ViewConfiguration;
1313
import android.webkit.WebView;
1414

1515
import org.hamcrest.Matcher;
1616

17-
import static android.support.test.espresso.matcher.ViewMatchers.isDisplayingAtLeast;
17+
import static androidx.test.espresso.matcher.ViewMatchers.isDisplayingAtLeast;
1818
import static org.hamcrest.Matchers.allOf;
1919

2020
/**

app/src/androidTest/java/org/wordpress/aztec/demo/BetterScrollToAction.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
package org.wordpress.aztec.demo;
22

3-
import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
4-
import static android.support.test.espresso.matcher.ViewMatchers.isDescendantOfA;
5-
import static android.support.test.espresso.matcher.ViewMatchers.isDisplayingAtLeast;
6-
import static android.support.test.espresso.matcher.ViewMatchers.withEffectiveVisibility;
3+
import static androidx.test.espresso.matcher.ViewMatchers.isAssignableFrom;
4+
import static androidx.test.espresso.matcher.ViewMatchers.isDescendantOfA;
5+
import static androidx.test.espresso.matcher.ViewMatchers.isDisplayingAtLeast;
6+
import static androidx.test.espresso.matcher.ViewMatchers.withEffectiveVisibility;
77
import static org.hamcrest.Matchers.allOf;
88
import static org.hamcrest.Matchers.anyOf;
99

10-
import android.support.test.espresso.PerformException;
11-
import android.support.test.espresso.UiController;
12-
import android.support.test.espresso.ViewAction;
13-
import android.support.test.espresso.matcher.ViewMatchers.Visibility;
14-
import android.support.test.espresso.util.HumanReadables;
10+
import androidx.test.espresso.PerformException;
11+
import androidx.test.espresso.UiController;
12+
import androidx.test.espresso.ViewAction;
13+
import androidx.test.espresso.matcher.ViewMatchers.Visibility;
14+
import androidx.test.espresso.util.HumanReadables;
1515

1616
import android.graphics.Rect;
1717
import android.util.Log;

app/src/androidTest/kotlin/org/wordpress/aztec/demo/Actions.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package org.wordpress.aztec.demo
22

33
import android.graphics.Rect
4-
import android.support.test.espresso.UiController
5-
import android.support.test.espresso.ViewAction
6-
import android.support.test.espresso.action.CoordinatesProvider
7-
import android.support.test.espresso.action.GeneralClickAction
8-
import android.support.test.espresso.action.Press
9-
import android.support.test.espresso.action.Tap
10-
import android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom
11-
import android.support.test.espresso.matcher.ViewMatchers.isClickable
12-
import android.support.test.espresso.matcher.ViewMatchers.isDisplayed
4+
import androidx.test.espresso.UiController
5+
import androidx.test.espresso.ViewAction
6+
import androidx.test.espresso.action.CoordinatesProvider
7+
import androidx.test.espresso.action.GeneralClickAction
8+
import androidx.test.espresso.action.Press
9+
import androidx.test.espresso.action.Tap
10+
import androidx.test.espresso.matcher.ViewMatchers.isAssignableFrom
11+
import androidx.test.espresso.matcher.ViewMatchers.isClickable
12+
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
1313
import android.view.View
1414
import android.widget.EditText
1515
import org.hamcrest.Matcher

0 commit comments

Comments
 (0)