react-native-macos/React/Base
Tadeu Zagallo 92d98533f1 [ReactNative] Refactor BatchedBridge and MessageQueue
Summary:
@public

The current implementation of `MessageQueue` is huge, over-complicated and spread
across `MethodQueue`, `MethodQueueMixin`, `BatchedBridge` and `BatchedBridgeFactory`

Refactored in a simpler way, were it's just a `MessageQueue` class and `BatchedBridge`
is only an instance of it.

Test Plan:
I had to make some updates to the tests, but no real update to the native side.
There's also tests covering the `remoteAsync` methods, and more integration tests for UIExplorer.
Verified whats being used by Android, and it should be safe, also tests Android tests have been pretty reliable.

Manually testing: Create a big hierarchy, like `<ListView>` example. Use the `TimerMixin` example to generate multiple calls.
Test the failure callback on the `Geolocation` example.

All the calls go through this entry point, so it's hard to miss if it's broken.
2015-06-17 07:49:33 -08:00
..
RCTAssert.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTAssert.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTBridge.h [ReactNative] Remove RCT_IMPORT_METHOD macro and generate lookup table dynamically 2015-06-15 13:05:52 -08:00
RCTBridge.m [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
RCTBridgeModule.h [ReactNative] Avoid method clashing on categories 2015-06-15 06:13:45 -08:00
RCTCache.h Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTCache.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTConvert.h Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
RCTConvert.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTDefines.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTDevMenu.h [ReactNative] Refactor DevMenu items construction 2015-06-03 16:42:23 -08:00
RCTDevMenu.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTEventDispatcher.h [ReactNative] Implement proper event coalescing 2015-05-27 20:41:20 -08:00
RCTEventDispatcher.m [ReactNative] Remove RCT_IMPORT_METHOD macro and generate lookup table dynamically 2015-06-15 13:05:52 -08:00
RCTFPSGraph.h [ReactNative] Add fps monitor 2015-05-20 18:26:36 -08:00
RCTFPSGraph.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTFrameUpdate.h [ReactNative] Use a single DisplayLink held by the bridge 2015-04-15 07:07:48 -08:00
RCTInvalidating.h [React Kit] Remove embarrassing TODOs 2015-03-26 10:33:05 -08:00
RCTJSMethodRegistrar.h Added non-class-scanning-based approach fror registering js methods 2015-04-08 05:45:20 -08:00
RCTJavaScriptExecutor.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTJavaScriptLoader.h [ReactNative] Create private underlying bridge to prevent retain cycles 2015-05-04 10:36:20 -08:00
RCTJavaScriptLoader.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTKeyCommands.h Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTKeyCommands.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTLog.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTLog.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTPerfStats.h [ReactNative] Add fps monitor 2015-05-20 18:26:36 -08:00
RCTPerfStats.m [ReactNative] Add fps monitor 2015-05-20 18:26:36 -08:00
RCTProfile.h [ReactNative] Fix extern on RCTProfile.h 2015-06-17 05:57:10 -08:00
RCTProfile.m [ReactNative] Add ReactPerf info to profiler timeline 2015-06-15 13:04:25 -08:00
RCTRedBox.h [ReactNative] orange box 2015-06-09 14:53:29 -08:00
RCTRedBox.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTRootView.h [WIP] Added loadingView property to RCTRootView 2015-05-28 13:20:46 -08:00
RCTRootView.m [ReactNative] Remove RCT_IMPORT_METHOD macro and generate lookup table dynamically 2015-06-15 13:05:52 -08:00
RCTSparseArray.h Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTSparseArray.m Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTTouchHandler.h [ReactNative] Send batched calls from objc to js every frame + add bridge profiling 2015-04-17 04:01:02 -08:00
RCTTouchHandler.m [ReactNative] Remove RCT_IMPORT_METHOD macro and generate lookup table dynamically 2015-06-15 13:05:52 -08:00
RCTURLRequestDelegate.h [ReactNative] Refactor RCTDataManager to support pluggable data source modules (RCTURLRequestHandlers) 2015-06-09 12:27:06 -08:00
RCTURLRequestHandler.h [ReactNative] Refactor RCTDataManager to support pluggable data source modules (RCTURLRequestHandlers) 2015-06-09 12:27:06 -08:00
RCTUtils.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTUtils.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00