react-native/React/Base
James Ide f5ad9c2103 [Crashfix] Replace dispatch_get_current_queue with DISPATCH_CURRENT_QUEUE_LABEL
Summary:
I encountered a crash when `RCTCurrentThreadName` called `dispatch_get_current_queue`. There are reports of it crashing e.g. https://github.com/CocoaLumberjack/CocoaLumberjack/issues/108 so better not to call it at all, plus it is deprecated.

Since we still want helpful debugging information, use `DISPATCH_CURRENT_QUEUE_LABEL` instead. It's kind of strange that this constant is defined to be NULL and the docs for `dispatch_get_queue_label` say not to pass in NULL, but in practice `DISPATCH_CURRENT_QUEUE_LABEL` is provided by the iOS SDK and works correctly.

Closes https://github.com/facebook/react-native/pull/1868
Github Author: James Ide <ide@jameside.com>
2015-07-06 03:17:03 -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 [Crashfix] Replace dispatch_get_current_queue with DISPATCH_CURRENT_QUEUE_LABEL 2015-07-06 03:17:03 -08:00
RCTBatchedBridge.m [ReactNative] Fix dev menu customization when JS fails to load 2015-06-30 17:13:27 -08:00
RCTBridge.h [ReactNative] Fix dev menu customization when JS fails to load 2015-06-30 17:13:27 -08:00
RCTBridge.m [ReactNative] Fix dev menu customization when JS fails to load 2015-06-30 17:13:27 -08:00
RCTBridgeModule.h [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTConvert.h Fixed nil safety issue in RKSounds 2015-06-23 05:44:21 -08:00
RCTConvert.m [LayoutAnimation] RCTAnimationTypeKeyboard 2015-06-25 09:17:01 -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 Allow live reload even on errors. 2015-06-22 06:56:43 -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 #1562 Rename 'tick' to 'onTick' to pass iTunes Connect validation. 2015-06-29 06:51:44 -08:00
RCTFPSGraph.m #1562 Rename 'tick' to 'onTick' to pass iTunes Connect validation. 2015-06-29 06:51:44 -08:00
RCTFrameUpdate.h [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTFrameUpdate.m [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -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 [Executor] Make executor ID functions non-static to fix ASan 2015-06-29 04:30:29 -08:00
RCTJavaScriptExecutor.m [Executor] Make executor ID functions non-static to fix ASan 2015-06-29 04:30:29 -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 Fixed Cmd-R shortcut on iOS 9 2015-06-22 08:17:09 -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
RCTModuleData.h [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTModuleData.m [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTModuleMethod.h [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTModuleMethod.m [Bridge] Support nullability annotations in bridged methods 2015-06-30 04:17:20 -08:00
RCTPerfStats.h [ReactNative] Add fps monitor 2015-05-20 18:26:36 -08:00
RCTPerfStats.m [ReactNative] Add more markers and fix FPS graph 2015-06-17 14:10:52 -08:00
RCTPerformanceLogger.h [ReactNative] Add PerformanceLogger to measure TTI 2015-06-19 15:01:35 -08:00
RCTPerformanceLogger.m [ReactNative] Add PerformanceLogger to measure TTI 2015-06-19 15:01:35 -08:00
RCTProfile.h [ReactNative] Fix extern on RCTProfile.h 2015-06-17 05:57:10 -08:00
RCTProfile.m [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -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] Add PerformanceLogger to measure TTI 2015-06-19 15:01:35 -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 [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00
RCTUtils.m [ReactNative] Move module info from bridge to RCTModuleData 2015-06-24 17:42:12 -08:00