react-native/ReactCommon/cxxreact
David Aurelio 4d931d529e Add native delta client for Metro
Summary:
Adds C++ delta client that keeps modules in memory, and can be used as a RAM bundle.

For now, this client expects a `folly::dynamic` object as payload for patches, i.e. the JSON response retrieved from Metro needs to be parsed with `folly::parseJson` by the caller.

In the future, we will replace JSON with a streaming friendly binary format.

Reviewed By: fromcelticpark

Differential Revision: D7845136

fbshipit-source-id: f003f98a2607c8354c427a7e60e01e19e20295b1
2018-05-03 08:47:47 -07:00
..
tests Delete fb_xplat_cxx.bzl 2018-04-14 19:17:47 -07:00
Android.mk Add native delta client for Metro 2018-05-03 08:47:47 -07:00
BUCK Add native delta client for Metro 2018-05-03 08:47:47 -07:00
CxxModule.h Provide default implementation of getConstants 2017-08-01 03:33:41 -07:00
CxxNativeModule.cpp Typos in comments and log messages 2018-01-12 22:18:45 -08:00
CxxNativeModule.h Export some more symbols 2017-06-27 11:16:13 -07:00
Instance.cpp add isInspectable property 2017-12-18 13:32:36 -08:00
Instance.h Remove callFunctionSync experimental APIs 2018-03-05 14:32:00 -08:00
JSBigString.cpp remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
JSBigString.h JSBigString to MAP_PRIVATE not MAP_SHARED 2017-12-20 14:01:33 -08:00
JSBundleType.cpp Delete RCTBatchedBridge 2018-02-05 12:02:35 -08:00
JSBundleType.h Export stringForScriptTag symbol 2017-07-21 14:05:34 -07:00
JSCExecutor.cpp cxxreact: executors: insert ID of segment reliably into the bundle path 2018-04-20 07:03:23 -07:00
JSCExecutor.h Extract NativeExtensionsProvider definition 2018-03-15 09:27:40 -07:00
JSCLegacyTracing.cpp Cleanup ifdef's in JSCExecutor 2017-07-25 05:02:03 -07:00
JSCLegacyTracing.h Cleanup ifdef's in JSCExecutor 2017-07-25 05:02:03 -07:00
JSCMemory.cpp Cleanup ifdef's in JSCExecutor 2017-07-25 05:02:03 -07:00
JSCMemory.h Cleanup ifdef's in JSCExecutor 2017-07-25 05:02:03 -07:00
JSCNativeModules.cpp add marker surrounding entire native module creation 2017-06-09 06:22:39 -07:00
JSCNativeModules.h Expose the bridge instance to CxxModule via a weak_ptr 2017-02-15 10:04:17 -08:00
JSCPerfStats.cpp add way for JS to query process-wide perf stats 2017-08-03 13:13:25 -07:00
JSCPerfStats.h Define wrapper versions of all JSC methods 2016-11-22 06:13:33 -08:00
JSCSamplingProfiler.cpp Cleanup ifdef's in JSCExecutor 2017-07-25 05:02:03 -07:00
JSCSamplingProfiler.h Cleanup ifdef's in JSCExecutor 2017-07-25 05:02:03 -07:00
JSCTracing.cpp Remove unused nativeTrace*stage methods 2017-07-26 07:08:51 -07:00
JSCTracing.h Cleanup ifdef's in JSCExecutor 2017-07-25 05:02:03 -07:00
JSCUtils.cpp cxxreact: executors: insert ID of segment reliably into the bundle path 2018-04-20 07:03:23 -07:00
JSCUtils.h JSIExecutor Bundle Splitting Support 2018-02-09 03:45:37 -08:00
JSDeltaBundleClient.cpp Add native delta client for Metro 2018-05-03 08:47:47 -07:00
JSDeltaBundleClient.h Add native delta client for Metro 2018-05-03 08:47:47 -07:00
JSExecutor.cpp cxxreact: executors: insert ID of segment reliably into the bundle path 2018-04-20 07:03:23 -07:00
JSExecutor.h cxxreact: executors: insert ID of segment reliably into the bundle path 2018-04-20 07:03:23 -07:00
JSIndexedRAMBundle.cpp Delete RCTBatchedBridge 2018-02-05 12:02:35 -08:00
JSIndexedRAMBundle.h Register split segment paths with RAMBundleRegistry 2017-11-09 12:23:46 -08:00
JSModulesUnbundle.h Add native delta client for Metro 2018-05-03 08:47:47 -07:00
JsArgumentHelpers-inl.h Build new bridge with gradle 2016-05-27 16:13:37 -07:00
JsArgumentHelpers.h Expose the bridge instance to CxxModule via a weak_ptr 2017-02-15 10:04:17 -08:00
MessageQueueThread.h Build new bridge with gradle 2016-05-27 16:13:37 -07:00
MethodCall.cpp Disambiguate error messages in MethodCall 2017-08-29 03:15:04 -07:00
MethodCall.h Rename Executor to JSExecutor 2017-06-23 17:01:25 -07:00
ModuleRegistry.cpp Update systrace markers 2017-08-30 03:45:02 -07:00
ModuleRegistry.h Typos in comments and log messages 2018-01-12 22:18:45 -08:00
NativeModule.h Rename Executor to JSExecutor 2017-06-23 17:01:25 -07:00
NativeToJsBridge.cpp add isInspectable property 2017-12-18 13:32:36 -08:00
NativeToJsBridge.h Remove callFunctionSync experimental APIs 2018-03-05 14:32:00 -08:00
Platform.cpp Cleanup Platform 2017-06-07 10:19:01 -07:00
Platform.h Type global hooks as function pointers 2017-12-14 14:47:10 -08:00
RAMBundleRegistry.cpp cxxreact/RAMBundleRegistry: nit fixes 2018-04-17 12:02:35 -07:00
RAMBundleRegistry.h cxxreact/RAMBundleRegistry: nit fixes 2018-04-17 12:02:35 -07:00
RecoverableError.h Provide sync vs async interface for bundle loading via parameter 2017-05-24 07:31:36 -07:00
SampleCxxModule.cpp Cleanup cxxreact BUCK file 2017-05-11 05:04:02 -07:00
SampleCxxModule.h Cleanup cxxreact BUCK file 2017-05-11 05:04:02 -07:00
SharedProxyCxxModule.h A proxy so a singleton CxxModule can be shared by multiple ModuleRegistry instances. 2017-04-04 10:36:19 -07:00
SystraceSection.h Use different symbols for SystraceSection depending on WITH_FBYSTRACE 2017-11-27 14:45:57 -08:00