This is an automated email from the ASF dual-hosted git repository.

cxfeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new 654b398  Merge Beta 0.20.1 (#1892)
654b398 is described below

commit 654b398c943a9c0004b3644e7db2a02ebe36ee03
Author: wqyfavor <[email protected]>
AuthorDate: Tue Dec 11 22:39:57 2018 +0800

    Merge Beta 0.20.1 (#1892)
    
    * [iOS] Fix header misuse.
    
    * [iOS] Use static module-map.
    
    * [iOS] Fix podspec.
    
    * [iOS] Fix header misuse.
---
 WeexSDK.modulemap                                  |   6 ++
 WeexSDK.podspec                                    | 112 ++++++++++++++++-----
 ios/playground/WeexDemo/AppDelegate.m              |   2 -
 weex_core/Source/base/ViewUtils.h                  |   2 +-
 weex_core/Source/core/config/core_environment.cpp  |   2 +-
 weex_core/Source/core/data_render/class_array.cc   |   2 +-
 weex_core/Source/core/data_render/class_console.cc |   2 +-
 .../Source/core/data_render/class_function.cc      |   2 +-
 weex_core/Source/core/data_render/class_json.cc    |   3 +-
 weex_core/Source/core/data_render/class_object.cc  |   2 +-
 weex_core/Source/core/data_render/class_regex.cc   |   2 +-
 weex_core/Source/core/data_render/class_string.cc  |   2 +-
 .../Source/core/data_render/js_common_function.cc  |   2 +-
 .../Source/core/data_render/monitor/vm_monitor.h   |   2 +-
 weex_core/Source/core/data_render/rax_parser.cc    |   2 +-
 .../Source/core/data_render/vnode/vcomponent.h     |   2 +-
 .../core/data_render/vnode/vnode_exec_env.cc       |   2 +-
 weex_core/Source/core/parser/dom_wson.cpp          |   6 +-
 .../Source/core/render/manager/render_manager.cpp  |   6 +-
 weex_core/Source/core/render/node/render_list.cpp  |   2 +-
 20 files changed, 113 insertions(+), 50 deletions(-)

diff --git a/WeexSDK.modulemap b/WeexSDK.modulemap
new file mode 100644
index 0000000..865ca7b
--- /dev/null
+++ b/WeexSDK.modulemap
@@ -0,0 +1,6 @@
+framework module WeexSDK {
+  umbrella header "WeexSDK.h"
+
+  export *
+  module * { export * }
+}
diff --git a/WeexSDK.podspec b/WeexSDK.podspec
index d456a1b..bcb2743 100644
--- a/WeexSDK.podspec
+++ b/WeexSDK.podspec
@@ -1,11 +1,12 @@
 # coding: utf-8
+
 Pod::Spec.new do |s|
 
   s.name         = "WeexSDK"
 
-  s.version      = "0.19.0"
+  s.version      = "0.20.0"
 
-  s.summary      = "WeexSDK Source ."
+  s.summary      = "WeexSDK Source."
 
   s.description  = <<-DESC
                    A framework for building Mobile cross-platform UI
@@ -18,42 +19,99 @@ Pod::Spec.new do |s|
            Alibaba-INC copyright
     LICENSE
   }
-  s.authors      = { "cxfeng1"      => "[email protected]",
-                     "yangshengtao" => "[email protected]",
-                     "kfeagle"      => "[email protected]"
+  s.authors      = { 
+                    "cxfeng1"      => "[email protected]",
+                    "boboning"     => "[email protected]",
+                    "yangshengtao" => "[email protected]",
+                    "kfeagle"      => "[email protected]",
+                    "acton393"     => "[email protected]",
+                    "wqyfavor"     => "[email protected]",
+                    "doumafang "   => "[email protected]"
                    }
   s.platform     = :ios
   s.ios.deployment_target = '8.0'
+
+  # use for public
+  # s.source =  { 
+  #  :git => 'https://github.com/apache/incubator-weex.git',
+  #  :tag => #{s.version}
+  # }
+
+  # use for playground
   s.source =  { :path => '.' }
-  s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c,cpp,cc}'
+
+  s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c,cpp,cc}',
+                    'weex_core/Source/base/**/*.{h,hpp,m,mm,c,cpp,cc}',
+                    'weex_core/Source/core/**/*.{h,hpp,m,mm,c,cpp,cc}',
+                    'weex_core/Source/wson/**/*.{h,hpp,m,mm,c,cpp,cc}',
+                    'weex_core/Source/third_party/**/*.{h,hpp,m,mm,c,cpp,cc}',
+                    'weex_core/Source/include/**/*.{h,hpp,m,mm,c,cpp,cc}'
+  s.exclude_files = 'weex_core/Source/**/*android.{h,hpp,m,mm,c,cpp,cc}'
+
+  s.private_header_files = 
'ios/sdk/WeexSDK/Sources/Component/RecycleList/WXJSASTParser.h'
+  s.public_header_files = 'ios/sdk/WeexSDK/Sources/WeexSDK.h',
+                          
'ios/sdk/WeexSDK/Sources/Layout/WXComponent+Layout.h',
+                          'ios/sdk/WeexSDK/Sources/Debug/WXDebugTool.h',
+                          'ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.h',
+                          
'ios/sdk/WeexSDK/Sources/WebSocket/WXWebSocketHandler.h',
+                          'ios/sdk/WeexSDK/Sources/Module/WXVoiceOverModule.h',
+                          
'ios/sdk/WeexSDK/Sources/Module/WXPrerenderManager.h',
+                          'ios/sdk/WeexSDK/Sources/Module/WXModalUIModule.h',
+                          
'ios/sdk/WeexSDK/Sources/Component/WXListComponent.h',
+                          
'ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.h',
+                          'ios/sdk/WeexSDK/Sources/Component/WXRichText.h',
+                          
'ios/sdk/WeexSDK/Sources/Component/WXIndicatorComponent.h',
+                          'ios/sdk/WeexSDK/Sources/Component/WXAComponent.h',
+                          
'ios/sdk/WeexSDK/Sources/Component/Recycler/WXRecyclerComponent.h',
+                          
'ios/sdk/WeexSDK/Sources/Controller/WXBaseViewController.h',
+                          
'ios/sdk/WeexSDK/Sources/Controller/WXRootViewController.h',
+                          'ios/sdk/WeexSDK/Sources/View/WXView.h',
+                          'ios/sdk/WeexSDK/Sources/View/WXErrorView.h',
+                          'ios/sdk/WeexSDK/Sources/Protocol/*.h',
+                          
'ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h',
+                          
'ios/sdk/WeexSDK/Sources/Network/WXResourceRequest.h',
+                          
'ios/sdk/WeexSDK/Sources/Network/WXResourceResponse.h',
+                          'ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.h',
+                          'ios/sdk/WeexSDK/Sources/Model/WXJSExceptionInfo.h',
+                          'ios/sdk/WeexSDK/Sources/Model/WXComponent.h',
+                          'ios/sdk/WeexSDK/Sources/Monitor/WXMonitor.h',
+                          'ios/sdk/WeexSDK/Sources/Monitor/WXExceptionUtils.h',
+                          'ios/sdk/WeexSDK/Sources/Monitor/WXAnalyzerCenter.h',
+                          'ios/sdk/WeexSDK/Sources/Manager/WXTracingManager.h',
+                          'ios/sdk/WeexSDK/Sources/Manager/WXSDKManager.h',
+                          'ios/sdk/WeexSDK/Sources/Manager/WXBridgeManager.h',
+                          
'ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.h',
+                          
'ios/sdk/WeexSDK/Sources/Manager/WXDisplayLinkManager.h',
+                          'ios/sdk/WeexSDK/Sources/Engine/WXSDKEngine.h',
+                          'ios/sdk/WeexSDK/Sources/Engine/WXSDKError.h',
+                          'ios/sdk/WeexSDK/Sources/Utility/WXConvert.h',
+                          'ios/sdk/WeexSDK/Sources/Utility/WXUtility.h',
+                          'ios/sdk/WeexSDK/Sources/Utility/WXLog.h',
+                          'ios/sdk/WeexSDK/Sources/Utility/WXDefine.h',
+                          'ios/sdk/WeexSDK/Sources/Utility/WXType.h',
+                          
'ios/sdk/WeexSDK/Sources/Utility/NSObject+WXSwizzle.h',
+                          
'ios/sdk/WeexSDK/Sources/Utility/WXAppConfiguration.h',
+                          
'ios/sdk/WeexSDK/Sources/Performance/WXApmForInstance.h',
+                          'ios/sdk/WeexSDK/Sources/Bridge/JSContext+Weex.h',
+                          'weex_core/Source/core/layout/flex_enum.h',
+                          'weex_core/Source/core/layout/layout.h',
+                          'weex_core/Source/core/layout/style.h'
+
+  s.module_map = 'WeexSDK.modulemap'
+
+  # 0.21.0 版本开始不再需要 native-bundle-main.js
   s.resources = 
'pre-build/*.js','ios/sdk/WeexSDK/Resources/[email protected]'
 
   s.user_target_xcconfig  = { 'FRAMEWORK_SEARCH_PATHS' => 
"'$(PODS_ROOT)/WeexSDK'" }
   s.requires_arc = true
   s.prefix_header_file = 'ios/sdk/WeexSDK/Sources/Supporting 
Files/WeexSDK-Prefix.pch'
 
-  s.private_header_files = 
'ios/sdk/WeexSDK/Sources/Component/RecycleList/WXJSASTParser.h',
-                           
'ios/sdk/WeexSDK/Sources/Layout/WXScrollerComponent+Layout.h',
-                           'weex_core/Source/**/*.{h,hpp}'
-
-  s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC', 
'GCC_PREPROCESSOR_DEFINITIONS' => 'OS_IOS=1' }
+  s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC' }
+  s.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => 
'${PODS_ROOT}/WeexSDK/weex_core/Source/ 
${PROJECT_DIR}/../../../weex_core/Source',
+    'GCC_PREPROCESSOR_DEFINITIONS' => 'OS_IOS=1' }
 
   s.frameworks = 
'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore','GLKit','OpenGLES','CoreText','QuartzCore','CoreGraphics'
   
-  s.default_subspec='WeexCore'
-
-  s.subspec 'WeexCore' do |w|
-    w.source_files = 'weex_core/Source/base/**/*.{h,hpp,m,mm,c,cpp,cc}',
-                    'weex_core/Source/core/**/*.{h,hpp,m,mm,c,cpp,cc}',
-                    'weex_core/Source/wson/**/*.{h,hpp,m,mm,c,cpp,cc}',
-                    'weex_core/Source/third_party/**/*.{h,hpp,m,mm,c,cpp,cc}',
-                    'weex_core/Source/include/**/*.{h,hpp,m,mm,c,cpp,cc}'
-    w.exclude_files = 'weex_core/Source/**/*android.{h,hpp,m,mm,c,cpp,cc}'
-
-    w.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => 
['${PODS_ROOT}/Headers/Public/WeexSDK/core/**'] }
-    w.header_mappings_dir = 'weex_core/Source'
-
-    w.libraries = "c++"
-  end
+  s.libraries = 'c++'
 
-end
+end
\ No newline at end of file
diff --git a/ios/playground/WeexDemo/AppDelegate.m 
b/ios/playground/WeexDemo/AppDelegate.m
index 683d3b3..4725fbe 100644
--- a/ios/playground/WeexDemo/AppDelegate.m
+++ b/ios/playground/WeexDemo/AppDelegate.m
@@ -20,9 +20,7 @@
 #import "AppDelegate.h"
 #import "WXDemoViewController.h"
 #import "UIViewController+WXDemoNaviBar.h"
-#import "WXStreamModule.h"
 #import "WXEventModule.h"
-#import "WXNavigationDefaultImpl.h"
 #import "WXImgLoaderDefaultImpl.h"
 #import "DemoDefine.h"
 #import "WXScannerVC.h"
diff --git a/weex_core/Source/base/ViewUtils.h 
b/weex_core/Source/base/ViewUtils.h
index 890e032..7db3110 100644
--- a/weex_core/Source/base/ViewUtils.h
+++ b/weex_core/Source/base/ViewUtils.h
@@ -21,7 +21,7 @@
 
 #include <string.h>
 #include <math.h>
-#include <core/config/core_environment.h>
+#include "core/config/core_environment.h"
 #include <cmath>
 #include <cstdlib>
 #include <sstream>
diff --git a/weex_core/Source/core/config/core_environment.cpp 
b/weex_core/Source/core/config/core_environment.cpp
index 9c51c78..4a0fa5b 100644
--- a/weex_core/Source/core/config/core_environment.cpp
+++ b/weex_core/Source/core/config/core_environment.cpp
@@ -21,7 +21,7 @@
 #include <stdlib.h>
 #include "core_environment.h"
 #include "base/CoreConstants.h"
-#include <base/ViewUtils.h>
+#include "base/ViewUtils.h"
 #include "base/LogDefines.h"
 
 namespace WeexCore {
diff --git a/weex_core/Source/core/data_render/class_array.cc 
b/weex_core/Source/core/data_render/class_array.cc
index 0e765eb..6cbb5b6 100644
--- a/weex_core/Source/core/data_render/class_array.cc
+++ b/weex_core/Source/core/data_render/class_array.cc
@@ -23,7 +23,7 @@
 #include "core/data_render/exec_state.h"
 #include "core/data_render/common_error.h"
 #include "core/data_render/table.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/class_console.cc 
b/weex_core/Source/core/data_render/class_console.cc
index 1ca8977..17d5fc8 100644
--- a/weex_core/Source/core/data_render/class_console.cc
+++ b/weex_core/Source/core/data_render/class_console.cc
@@ -25,7 +25,7 @@
 #include "core/data_render/common_error.h"
 #include "core/data_render/vnode/vnode_render_manager.h"
 #include "third_party/json11/json11.hpp"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/class_function.cc 
b/weex_core/Source/core/data_render/class_function.cc
index 39340fa..b7ea411 100644
--- a/weex_core/Source/core/data_render/class_function.cc
+++ b/weex_core/Source/core/data_render/class_function.cc
@@ -22,7 +22,7 @@
 #include "core/data_render/class_function.h"
 #include "core/data_render/exec_state.h"
 #include "core/data_render/common_error.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/class_json.cc 
b/weex_core/Source/core/data_render/class_json.cc
index 848686e..ac1e143 100644
--- a/weex_core/Source/core/data_render/class_json.cc
+++ b/weex_core/Source/core/data_render/class_json.cc
@@ -22,8 +22,9 @@
 #include "core/data_render/exec_state.h"
 #include "core/data_render/common_error.h"
 #include "core/data_render/table.h"
+
 #include "core/data_render/vnode/vnode_exec_env.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/class_object.cc 
b/weex_core/Source/core/data_render/class_object.cc
index a77cc60..eb38ef5 100644
--- a/weex_core/Source/core/data_render/class_object.cc
+++ b/weex_core/Source/core/data_render/class_object.cc
@@ -23,7 +23,7 @@
 #include "core/data_render/common_error.h"
 #include "core/data_render/table.h"
 #include "core/data_render/class_array.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/class_regex.cc 
b/weex_core/Source/core/data_render/class_regex.cc
index 43c033a..95204f0 100644
--- a/weex_core/Source/core/data_render/class_regex.cc
+++ b/weex_core/Source/core/data_render/class_regex.cc
@@ -24,7 +24,7 @@
 #include "core/data_render/exec_state.h"
 #include "core/data_render/common_error.h"
 #include "core/data_render/table.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/class_string.cc 
b/weex_core/Source/core/data_render/class_string.cc
index c98075e..fa8b89d 100644
--- a/weex_core/Source/core/data_render/class_string.cc
+++ b/weex_core/Source/core/data_render/class_string.cc
@@ -27,7 +27,7 @@
 #include "core/data_render/common_error.h"
 #include "core/data_render/table.h"
 #include "core/data_render/string_table.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/js_common_function.cc 
b/weex_core/Source/core/data_render/js_common_function.cc
index 5134d19..4121ddc 100644
--- a/weex_core/Source/core/data_render/js_common_function.cc
+++ b/weex_core/Source/core/data_render/js_common_function.cc
@@ -19,7 +19,7 @@
 
 #include "core/data_render/js_common_function.h"
 #include "core/data_render/common_error.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/monitor/vm_monitor.h 
b/weex_core/Source/core/data_render/monitor/vm_monitor.h
index d0b8863..a64ca34 100644
--- a/weex_core/Source/core/data_render/monitor/vm_monitor.h
+++ b/weex_core/Source/core/data_render/monitor/vm_monitor.h
@@ -27,7 +27,7 @@
 #include <chrono>
 #include <unordered_map>
 #include <vector>
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 using namespace std::chrono;
 
diff --git a/weex_core/Source/core/data_render/rax_parser.cc 
b/weex_core/Source/core/data_render/rax_parser.cc
index 914878a..5b5266e 100644
--- a/weex_core/Source/core/data_render/rax_parser.cc
+++ b/weex_core/Source/core/data_render/rax_parser.cc
@@ -28,7 +28,7 @@
 #include <sstream>
 #include <string>
 #include <cstdlib>
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/data_render/vnode/vcomponent.h 
b/weex_core/Source/core/data_render/vnode/vcomponent.h
index 6ba011d..884148c 100644
--- a/weex_core/Source/core/data_render/vnode/vcomponent.h
+++ b/weex_core/Source/core/data_render/vnode/vcomponent.h
@@ -19,7 +19,7 @@
 #ifndef CORE_DATA_RENDER_VNODE_VCOMPONENT_H_
 #define CORE_DATA_RENDER_VNODE_VCOMPONENT_H_
 
-#include <core/data_render/object.h>
+#include "core/data_render/object.h"
 #include <unordered_map>
 #include "core/data_render/vnode/vnode.h"
 
diff --git a/weex_core/Source/core/data_render/vnode/vnode_exec_env.cc 
b/weex_core/Source/core/data_render/vnode/vnode_exec_env.cc
index 8eb42f0..7fe2edc 100644
--- a/weex_core/Source/core/data_render/vnode/vnode_exec_env.cc
+++ b/weex_core/Source/core/data_render/vnode/vnode_exec_env.cc
@@ -29,7 +29,7 @@
 #include "core/data_render/js_common_function.h"
 #include "core/data_render/vnode/vcomponent.h"
 #include "core/data_render/vnode/vnode_render_manager.h"
-#include <base/LogDefines.h>
+#include "base/LogDefines.h"
 
 namespace weex {
 namespace core {
diff --git a/weex_core/Source/core/parser/dom_wson.cpp 
b/weex_core/Source/core/parser/dom_wson.cpp
index f2ecb9b..2763af9 100644
--- a/weex_core/Source/core/parser/dom_wson.cpp
+++ b/weex_core/Source/core/parser/dom_wson.cpp
@@ -20,9 +20,9 @@
 // Created by furture on 2018/5/15.
 //
 
-#include <core/render/node/render_object.h>
-#include <core/render/page/render_page.h>
-#include <core/render/node/factory/render_creator.h>
+#include "core/render/node/render_object.h"
+#include "core/render/page/render_page.h"
+#include "core/render/node/factory/render_creator.h"
 #include "dom_wson.h"
 #include "wson/wson.h"
 #include "wson/wson_parser.h"
diff --git a/weex_core/Source/core/render/manager/render_manager.cpp 
b/weex_core/Source/core/render/manager/render_manager.cpp
index 7f57f90..a696e54 100644
--- a/weex_core/Source/core/render/manager/render_manager.cpp
+++ b/weex_core/Source/core/render/manager/render_manager.cpp
@@ -19,13 +19,13 @@
 
 #include <utility>
 #include <vector>
-#include "wson/wson_parser.h"
-#include <base/LogDefines.h>
 #include <chrono>
 
+#include "wson/wson_parser.h"
+#include "base/LogDefines.h"
 #include "base/ViewUtils.h"
-#include "core/css/constants_name.h"
 #include "base/TimeUtils.h"
+#include "core/css/constants_name.h"
 #include "core/layout/measure_func_adapter.h"
 #include "core/parser/dom_wson.h"
 #include "core/render/manager/render_manager.h"
diff --git a/weex_core/Source/core/render/node/render_list.cpp 
b/weex_core/Source/core/render/node/render_list.cpp
index 84b3a14..e448173 100644
--- a/weex_core/Source/core/render/node/render_list.cpp
+++ b/weex_core/Source/core/render/node/render_list.cpp
@@ -20,7 +20,7 @@
 #include <math.h>
 #include <cmath>
 #include <utility>
-#include <core/render/manager/render_manager.h>
+#include "core/render/manager/render_manager.h"
 
 #include "base/ViewUtils.h"
 #include "core/css/constants_name.h"

Reply via email to