react-native/React/Base
Ted Suzman 2b3a4bd27d [ReactNative] Maintain order of bridge calls
Summary:
When bridge calls are made, they should be dispatched to their
destination GCD queue in the same order they were made. (It
looks like this invariant broke in 336e18d, which caused call
order to depend on the iteration of `NSMapTable` keys
whenever there are calls to multiple modules that share a queue)

Fixes #1941 (in which RCTUIManager createView addUIBlock
blocks were sometimes running after other blocks that depended
on them)

I'm a react-native/iOS/objc newbie, so please excuse any
ignorance this commit may well contain :)
Closes https://github.com/facebook/react-native/pull/2488
Github Author: Ted Suzman <ted@suzman.net>
2015-09-01 02:19:42 -08:00
..
RCTAssert.h Fix RCTAssert logic 2015-08-07 06:11:49 -08:00
RCTAssert.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTBatchedBridge.m [ReactNative] Maintain order of bridge calls 2015-09-01 02:19:42 -08:00
RCTBridge.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTBridge.m Small perf improvement to RCTPerfStats and RCTBridgeModuleNameForClass 2015-08-25 04:48:39 -08:00
RCTBridgeDelegate.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTBridgeModule.h Small perf improvement to RCTPerfStats and RCTBridgeModuleNameForClass 2015-08-25 04:48:39 -08:00
RCTCache.h Improved RCTCache performance + fixed border color crash 2015-07-14 04:56:25 -08:00
RCTCache.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTConvert.h Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTConvert.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTDefines.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTEventDispatcher.h Small perf improvement to RCTPerfStats and RCTBridgeModuleNameForClass 2015-08-25 04:48:39 -08:00
RCTEventDispatcher.m Small perf improvement to RCTPerfStats and RCTBridgeModuleNameForClass 2015-08-25 04:48:39 -08:00
RCTFPSGraph.h #1562 Rename 'tick' to 'onTick' to pass iTunes Connect validation. 2015-06-29 06:51:44 -08:00
RCTFPSGraph.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTFrameUpdate.h [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTFrameUpdate.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTInvalidating.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTJSMethodRegistrar.h Added non-class-scanning-based approach fror registering js methods 2015-04-08 05:45:20 -08:00
RCTJavaScriptExecutor.h Remove isValid from RCTInvalidating 2015-08-14 01:57:18 -08:00
RCTJavaScriptLoader.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTJavaScriptLoader.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTKeyCommands.h Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTKeyCommands.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTKeyboardObserver.h Add keyboard-observing notifications 2015-08-25 03:49:13 -08:00
RCTKeyboardObserver.m Add keyboard-observing notifications 2015-08-25 03:49:13 -08:00
RCTLog.h Added support for method argument nullability 2015-07-29 05:50:27 -08:00
RCTLog.m Fix assertion when modules are accessed early on in bridge startup 2015-08-26 10:01:29 -08:00
RCTModuleData.h Reverted to pre-init of queues to fix UIExplorer tests. 2015-08-08 01:47:43 -08:00
RCTModuleData.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTModuleMap.h Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -08:00
RCTModuleMap.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTModuleMethod.h Implemented lazy parsing of method signatures to improve TTI 2015-08-11 08:49:13 -08:00
RCTModuleMethod.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTPerfStats.h [ReactNative] Add fps monitor 2015-05-20 18:26:36 -08:00
RCTPerfStats.m Small perf improvement to RCTPerfStats and RCTBridgeModuleNameForClass 2015-08-25 04:48:39 -08:00
RCTPerformanceLogger.h Cleanup bridge init, measure native module init time 2015-08-21 12:32:25 -07:00
RCTPerformanceLogger.m Cleanup bridge init, measure native module init time 2015-08-21 12:32:25 -07:00
RCTProfile.h [ReactNative] Unbreak debugger 2015-08-21 11:20:17 -07:00
RCTProfile.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTRootView.h Avoid dispatch_async in RCTRootView when bridge has already started 2015-08-17 05:34:25 -07:00
RCTRootView.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTSparseArray.h Updates from Thu 26 Mar 2015-03-26 06:32:01 -07:00
RCTSparseArray.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08: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 Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTURLRequestDelegate.h Refactored networking logic out into RCTDownloadTask 2015-07-23 04:00:31 -08:00
RCTURLRequestHandler.h [ReactNative] Refactor RCTDataManager to support pluggable data source modules (RCTURLRequestHandlers) 2015-06-09 12:27:06 -08:00
RCTUtils.h Added JSONKit support 2015-07-20 09:52:31 -08:00
RCTUtils.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00