react-native/Libraries/Text
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
..
RCTText.xcodeproj Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTRawTextManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTRawTextManager.m [ReactNative] Fix Text Updating Crash 2015-05-02 10:07:08 -08:00
RCTShadowRawText.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTShadowRawText.m [React Native] Remove layout-only nodes (Take 2!) 2015-07-07 05:06:50 -08:00
RCTShadowText.h Better text background behavior 2015-06-17 05:35:57 -08:00
RCTShadowText.m Better text background behavior 2015-06-17 05:35:57 -08:00
RCTText.h Fixed crash in RCTText due to NSTextContainer/NSLayoutManager being accessed concurrently from main and shadow queues 2015-05-26 18:52:46 -08:00
RCTText.m [React Native] Update description on RCTText 2015-06-19 07:59:41 -08:00
RCTTextManager.h Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextManager.m Better text background behavior 2015-06-17 05:35:57 -08:00
RCTTextView.h [TextView] Define missing properties and add getters 2015-05-14 09:45:12 -08:00
RCTTextView.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTTextViewManager.h Add support for multiline TextInput via UITextView 2015-04-29 01:33:58 -08:00
RCTTextViewManager.m Added missing features from Multiline Text commit 2015-04-29 15:27:15 -08:00
Text.js Better text background behavior 2015-06-17 05:35:57 -08:00
TextStylePropTypes.js Better text background behavior 2015-06-17 05:35:57 -08:00
TextUpdateTest.js [ReactNative] Fix Text Updating Crash 2015-05-02 10:07:08 -08:00