react-native/React/Base
Nick Lockwood 95b9dd3a88 Added support for method argument nullability
Summary:
This diff adds support for enforcing nullability in the arguments for exported methods.

We previously supported use of the nullable/nonnull attributes on method arguments, but didn't do anything to ensure that they were respected.

Now, if an argument is marked as nonnull, and a null value is sent for that argument, it will display a redbox.

In future, nonnull will be assumed by default, but for now we assume that un-annotated arguments can be null (to avoid breaking existing code).
2015-07-29 05:50:27 -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] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTBridge.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTBridge.m [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTBridgeDelegate.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTBridgeModule.h Fixed ART Text 2015-07-10 08:31:21 -08:00
RCTCache.h Improved RCTCache performance + fixed border color crash 2015-07-14 04:56:25 -08:00
RCTCache.m Improved RCTCache performance + fixed border color crash 2015-07-14 04:56:25 -08:00
RCTConvert.h [Style] added backface-visibility. fixes #1973 2015-07-14 17:38:05 -08:00
RCTConvert.m Optimized property setting and conversion 2015-07-24 09:37:28 -08:00
RCTDefines.h Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTDevLoadingView.h [RN] Add loading view for development mode 2015-07-28 11:17:06 -08:00
RCTDevLoadingView.m [RN] Add loading view for development mode 2015-07-28 11:17:06 -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] TextInput bug fixes and features 2015-07-21 12:45:07 -08:00
RCTEventDispatcher.m [ReactNative] TextInput bug fixes and features 2015-07-21 12:45:07 -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 [ReactNative] Remove unused executor context id 2015-07-14 16:40:21 -08:00
RCTJavaScriptLoader.h [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -08:00
RCTJavaScriptLoader.m [ReactNative] Add RCTBridgeDelegate 2015-07-28 15:57:02 -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 Added support for method argument nullability 2015-07-29 05:50:27 -08:00
RCTLog.m Added support for method argument nullability 2015-07-29 05:50:27 -08:00
RCTModuleData.h Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -08:00
RCTModuleData.m Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -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 Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -08:00
RCTModuleMethod.h Added support for method argument nullability 2015-07-29 05:50:27 -08:00
RCTModuleMethod.m Added support for method argument nullability 2015-07-29 05:50:27 -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] Log with `RCTPerformanceLogger` only once per bridge instance 2015-07-09 07:35:16 -08:00
RCTProfile.h [ReactNative] Fix crash when reload during profile (attempt #2) 2015-07-22 11:02:32 -08:00
RCTProfile.m Unregistered modules will now only error when called, not on bridge init 2015-07-27 08:58:47 -08:00
RCTRedBox.h [ReactNative] Add JS errors handling to iOS 2015-07-14 16:24:06 -08:00
RCTRedBox.m [ReactNative] Max RedBox windowLevel to always appear on top 2015-07-17 13:24:52 -08:00
RCTRootView.h [WIP] Added loadingView property to RCTRootView 2015-05-28 13:20:46 -08:00
RCTRootView.m Add <Modal /> component 2015-07-28 07:21:50 -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 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 Fix gzip on iOS 9 2015-07-27 01:18:40 -08:00