Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gutenberg] After 1.21.0 back to develop #11174

Merged
merged 23 commits into from
Jan 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,4 @@ DEPENDENCIES
rmagick (~> 3.2.0)

BUNDLED WITH
2.0.2
2.1.1
2 changes: 2 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Fixes an issue where searching for posts sometimes doesn't show some results.

* Disable the option to remove a Jetpack site from site picker
* Block editor: small performance improvements

* Block Editor: Reduced padding around text on Rich Text based blocks.
* Block Editor: Improved stability on very long posts.
* Block Editor: New block "Shortcode". You can now create and edit Shortcode blocks in the editor.
Expand Down
5 changes: 5 additions & 0 deletions WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ android {
packagingOptions {
// MPAndroidChart uses androidX - remove this line when we migrate everything to androidX
exclude 'META-INF/proguard/androidx-annotations.pro'

// Exclude React Native's JSC and Hermes debug binaries
exclude '**/libjscexecutor.so'
exclude '**/libhermes-inspector.so'
exclude '**/libhermes-executor-debug.so'
}

bundle {
Expand Down
2 changes: 2 additions & 0 deletions WordPress/proguard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
-dontwarn org.wordpress.aztec.glideloader.**

-dontwarn com.github.godness84.RNRecyclerViewList.**

-keep class com.facebook.hermes.unicode.** { *; }
###### React Native - end

###### Main resource class - begin
Expand Down
10 changes: 0 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,11 @@ allprojects {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/libs/gutenberg-mobile/node_modules/react-native/android"
}
maven {
// Local Maven repo containing AARs with JSC library built for Android
url "$rootDir/libs/gutenberg-mobile/node_modules/jsc-android/dist"
}
} else {
maven { url "https://dl.bintray.com/wordpress-mobile/react-native-mirror/" }
}
}

configurations.all {
resolutionStrategy {
force 'org.webkit:android-jsc:r241213'
}
}

task checkstyle(type: Checkstyle) {
source 'src'

Expand Down
3 changes: 3 additions & 0 deletions libs/editor/WordPressEditor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ dependencies {
api ("com.github.wordpress-mobile.WordPress-Aztec-Android:wordpress-shortcodes:$aztecVersion")
api ("com.github.wordpress-mobile.WordPress-Aztec-Android:wordpress-comments:$aztecVersion")

debugImplementation files("./libs/hermes-debug.aar")
releaseImplementation files("./libs/hermes-release.aar")

if (rootProject.ext.has("buildGutenbergFromSource") && rootProject.ext.buildGutenbergFromSource) {
implementation (project(':react-native-gutenberg-bridge')) {
exclude group: 'com.squareup.okhttp3'
Expand Down
Binary file added libs/editor/WordPressEditor/libs/hermes-debug.aar
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion libs/gutenberg-mobile
Submodule gutenberg-mobile updated 94 files
+12 −9 .circleci/config.yml
+1 −1 .eslintrc.js
+0 −3 .flowconfig
+5 −0 .gitignore
+1 −1 Gutenberg.podspec
+1 −1 README.md
+1 −1 RNTAztecView.podspec
+2 −0 __device-tests__/gutenberg-editor-paragraph.test.js
+2 −21 __device-tests__/helpers/utils.js
+7 −17 __device-tests__/pages/editor-page.js
+16 −5 android/app/build.gradle
+0 −7 android/app/proguard-rules.pro
+0 −1 android/app/src/main/AndroidManifest.xml
+0 −2 android/app/src/main/java/com/gutenberg/MainApplication.java
+6 −8 android/build.gradle
+2 −1 android/gradle.properties
+1 −1 android/gradle/wrapper/gradle-wrapper.properties
+3 −2 android/settings.gradle
+0 −3 app.json
+2 −5 bin/generate-podspecs.sh
+1,995 −1,791 bundle/android/App.js
+1 −1 bundle/android/App.js.map
+2,001 −1,796 bundle/ios/App.js
+1 −1 bundle/ios/App.js.map
+1 −1 gutenberg
+2 −0 ios/.bundle/config
+3 −0 ios/Gemfile
+83 −0 ios/Gemfile.lock
+62 −0 ios/Podfile
+390 −0 ios/Podfile.lock
+219 −1,025 ios/gutenberg.xcodeproj/project.pbxproj
+10 −0 ios/gutenberg.xcworkspace/contents.xcworkspacedata
+8 −0 ios/gutenberg.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+1 −1 ios/gutenberg/GutenbergViewController.swift
+1 −1 ios/gutenberg/MediaPickCoordinator.swift
+1 −1 ios/gutenberg/MediaUploadCoordinator.swift
+0 −1 jest.config.js
+0 −3 jitpack.yml
+1 −1 libdefs.js
+23 −25 package.json
+32 −0 patches/react-native+0.61.5.patch
+2 −2 react-native-aztec/android/build.gradle
+1 −1 react-native-aztec/android/gradle/wrapper/gradle-wrapper.properties
+1 −1 react-native-aztec/example/android/app/build.gradle
+2 −2 react-native-aztec/example/android/build.gradle
+1 −1 react-native-aztec/example/android/gradle/wrapper/gradle-wrapper.properties
+0 −2 react-native-aztec/package.json
+1 −1 react-native-aztec/src/AztecView.js
+43 −12 react-native-gutenberg-bridge/android/build.gradle
+1 −1 react-native-gutenberg-bridge/android/gradle/wrapper/gradle-wrapper.properties
+2 −2 react-native-gutenberg-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java
+1 −1 react-native-gutenberg-bridge/package.json
+19 −0 react-native-gutenberg-bridge/third-party-podspecs/FBLazyVector.podspec.json
+45 −0 react-native-gutenberg-bridge/third-party-podspecs/FBReactNativeSpec.podspec.json
+19 −0 react-native-gutenberg-bridge/third-party-podspecs/RCTRequired.podspec.json
+39 −0 react-native-gutenberg-bridge/third-party-podspecs/RCTTypeSafety.podspec.json
+0 −25 react-native-gutenberg-bridge/third-party-podspecs/RNReactNativeRecyclerviewList.podspec.json
+8 −12 react-native-gutenberg-bridge/third-party-podspecs/RNSVG.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-ART.podspec.json
+143 −33 react-native-gutenberg-bridge/third-party-podspecs/React-Core.podspec.json
+45 −0 react-native-gutenberg-bridge/third-party-podspecs/React-CoreModules.podspec.json
+0 −33 react-native-gutenberg-bridge/third-party-podspecs/React-DevSupport.podspec.json
+0 −318 react-native-gutenberg-bridge/third-party-podspecs/React-Fabric.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-RCTActionSheet.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-RCTAnimation.podspec.json
+14 −11 react-native-gutenberg-bridge/third-party-podspecs/React-RCTBlob.podspec.json
+0 −33 react-native-gutenberg-bridge/third-party-podspecs/React-RCTCameraRoll.podspec.json
+0 −48 react-native-gutenberg-bridge/third-party-podspecs/React-RCTFabric.podspec.json
+7 −7 react-native-gutenberg-bridge/third-party-podspecs/React-RCTImage.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-RCTLinking.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-RCTNetwork.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-RCTPushNotification.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-RCTSettings.podspec.json
+0 −30 react-native-gutenberg-bridge/third-party-podspecs/React-RCTTest.podspec.json
+5 −5 react-native-gutenberg-bridge/third-party-podspecs/React-RCTText.podspec.json
+6 −6 react-native-gutenberg-bridge/third-party-podspecs/React-RCTVibration.podspec.json
+0 −30 react-native-gutenberg-bridge/third-party-podspecs/React-RCTWebSocket.podspec.json
+4 −4 react-native-gutenberg-bridge/third-party-podspecs/React-cxxreact.podspec.json
+3 −3 react-native-gutenberg-bridge/third-party-podspecs/React-graphics.podspec.json
+0 −31 react-native-gutenberg-bridge/third-party-podspecs/React-jscallinvoker.podspec.json
+4 −3 react-native-gutenberg-bridge/third-party-podspecs/React-jsi.podspec.json
+5 −5 react-native-gutenberg-bridge/third-party-podspecs/React-jsiexecutor.podspec.json
+3 −3 react-native-gutenberg-bridge/third-party-podspecs/React-jsinspector.podspec.json
+0 −49 react-native-gutenberg-bridge/third-party-podspecs/React-turbomodule-core.podspec.json
+0 −52 react-native-gutenberg-bridge/third-party-podspecs/React-turbomodule-samples.podspec.json
+18 −18 react-native-gutenberg-bridge/third-party-podspecs/React.podspec.json
+84 −0 react-native-gutenberg-bridge/third-party-podspecs/ReactCommon.podspec.json
+5 −4 react-native-gutenberg-bridge/third-party-podspecs/Yoga.podspec.json
+1 −1 rn-cli.config.js
+5 −0 src/_colors.scss
+4 −0 src/index.js
+1 −0 symlinked-packages/@wordpress/icons
+1 −0 symlinked-packages/@wordpress/primitives
+1,388 −782 yarn.lock