react-native/Libraries/Utilities
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
..
__mocks__ [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
__tests__ [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
differ [ReactNative] Fix warnings w/h => width/height 2015-05-02 10:22:59 -08:00
AlertIOS.js [ReactNative] Add prompt to AlertIOS 2015-05-13 13:24:36 -07:00
BackAndroid.ios.js [ReactNative] Replace Backstack with BackAndroid 2015-04-07 16:07:42 -08:00
BridgeProfiling.js [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
CSSVarConfig.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
Dimensions.js Expose fontScale to JS 2015-06-01 10:25:38 -08:00
ErrorUtils.js [Cosmetic] Fixing comment typo 2015-06-02 20:23:34 -08:00
MatrixMath.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
MessageQueue.js [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
PixelRatio.js Expose fontScale to JS 2015-06-01 10:25:38 -08:00
Platform.ios.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
RCTLog.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
RCTRenderingPerf.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
buildStyleInterpolator.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
createStrictShapeTypeChecker.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
cssVar.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
deepFreezeAndThrowOnMutationInDev.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
groupByEveryN.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
logError.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mapWithSeparator.js select up and down the inspector hierarchy 2015-06-04 10:18:56 -08:00
mergeFast.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mergeIntoFast.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
nativeModulePrefixNormalizer.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
stringifySafe.js [ReactNative] improve console logging a little bit 2015-05-04 18:57:03 -08:00
truncate.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00