react-native/Libraries
Alexsander Akers 02db374e50 [React Native] Remove layout-only nodes (Take 2!)
Summary:
Remove layout-only views. Works by checking properties against a list of known properties that only affect layout. The `RCTShadowView` hierarchy still has a 1:1 correlation with the JS nodes.

This works by adjusting the tags and indices in `manageChildren`. For example, if JS told us to insert tag 1 at index 0 and tag 1 is layout-only with children whose tags are 2 and 3, we adjust it so we insert tags 2 and 3 at indices 0 and 1. This keeps changes out of `RCTView` and `RCTScrollView`. In order to simplify this logic, view moves are now processed as view removals followed by additions. A move from index 0 to 1 is recorded as a removal of view at indices 0 and 1 and an insertion of tags 1 and 2 at indices 0 and 1. Of course, the remaining indices have to be offset to take account for this.

The `collapsible` attribute is a bit of a hack to force `RCTScrollView` to always have one child. This was easier than rethinking out the logic there, but we could change this later.
2015-07-07 05:06:50 -08:00
..
ART [React Native] Re-alphabetize file names in Xcode projects 2015-07-06 01:57:06 -08:00
ActionSheetIOS Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
AdSupport [React Native] Update RCTAdSupport 2015-07-06 09:44:51 -08:00
Animation [ReactNative] Fix timeout edge-case in POPAnimation hack 2015-07-06 15:15:56 -08:00
AppRegistry [Flow] Fix or suppress errors in react-native for Flow v0.13.0 2015-06-22 09:48:15 -08:00
AppStateIOS [RN|madman] init AppStateIOS.currentState with 'active' 2015-06-11 13:22:16 -08:00
BatchedBridge [ReactNative] Refactor BatchedBridge and MessageQueue 2015-06-17 07:49:33 -08:00
CameraRoll [react_native] JS files from D2164068: support filtering by mimeType in CameraRollManager#getPhotos 2015-06-17 12:20:27 -08:00
Components [React Native] Remove layout-only nodes (Take 2!) 2015-07-07 05:06:50 -08:00
CustomComponents [ListView] Defer measurement one frame after componentDidMount to fix error 2015-06-26 10:26:07 -08:00
DebugComponentHierarchy [ReactNative] Send debug component ownership info in createView 2015-06-25 05:47:24 -08:00
Device flowify some Libraries 2015-03-25 11:09:54 -08:00
Fetch [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Geolocation Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
Image [React Native] Re-alphabetize file names in Xcode projects 2015-07-06 01:57:06 -08:00
Inspector [rn] Add PerformanceOverlay to the inspector 2015-06-23 15:41:41 -08:00
Interaction InteractionManager: remove dev timeout warnings 2015-07-01 04:51:28 -08:00
JavaScriptAppEngine [ReactNative] Send debug component ownership info in createView 2015-06-25 05:47:24 -08:00
LinkingIOS Changed methodQueue to a property 2015-06-19 04:20:39 -08:00
NativeApp [ReactNative] Add "RCTNativeAppEventEmitter" 2015-05-15 16:57:18 -08:00
Network Remove unnecessary imports for RCTHTTPRequestHandler to fix Cocoapods build 2015-07-06 10:12:43 -08:00
Picker Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
PushNotificationIOS [PushNotification] Unregister for remote notifications support. 2015-06-15 12:13:46 -08:00
RCTTest [React Native] Re-alphabetize file names in Xcode projects 2015-07-06 01:57:06 -08:00
RKBackendNode [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
ReactIOS Provide root reactTag to RootComponent and use it to resolve view controllers 2015-06-24 10:20:55 -08:00
ReactNative [React Native] Remove layout-only nodes (Take 2!) 2015-07-07 05:06:50 -08:00
Settings Check for RCTSettingsManager in Settings.ios 2015-07-06 04:47:04 -08:00
Storage [Docs] Clarify in the AsyncStorage docs that it is global to the app, not OS 2015-06-15 14:18:09 -08:00
StyleSheet Sort StyleProps alphabetically 2015-06-15 13:29:46 -08:00
Text [React Native] Remove layout-only nodes (Take 2!) 2015-07-07 05:06:50 -08:00
Utilities [ReactNative] Guard agains errors during reconciliation 2015-06-25 09:40:48 -08:00
Vibration Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
WebSocket [React Native] Re-alphabetize file names in Xcode projects 2015-07-06 01:57:06 -08:00
react-native [ReactNative] expose missing haste modules through 'react-native' node module 2015-06-30 18:57:26 -08:00
vendor Update StaticContainer from static_upstream 2015-07-06 15:06:59 -08:00
Promise.js Replace ES6Promise with Promise 2015-04-15 06:06:29 -08:00