react-native/React/Modules
Nick Lockwood 61c648d564 Merged RCTNetworkImageView functionality into RCTStaticImage
Summary:
RCTNetworkImageView and RCTStaticImage had significant overlap in functionality, but each had a different subset of features and bugs.

This diff merges most of the functionality of RCTNetworkImageView into RCTStaticImage, eliminating some bugs in the former, such as constant redrawing when properties were changed.

I've also removed the onLoadAbort event for now (as it wasn't implemented), and renamed the other events to match the web specs for `<img>` and XHMLHttpRequest. The API is essentially what Adobe proposed here: http://blogs.adobe.com/webplatform/2012/01/13/html5-image-progress-events/

The following features have not yet been ported from RCTNetworkImageView:

- Background color compositing. It's not clear that this adds much value and it increases memory consumption, etc.
- Image request cancelling when images are removed from view. Again, it's not clear if this is a huge benefit, but if it is it should be combined with other optimisations, such as unloading offscreen images.

(Note that this only affects the open source fork. For now, internal apps will still use FBNetworkImageView for remote images.)
2015-07-17 07:43:16 -08:00
..
RCTAlertManager.h [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
RCTAlertManager.m Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTAppState.h [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
RCTAppState.m [RN] fix duplicate observe 2015-05-31 14:46:38 -08:00
RCTAsyncLocalStorage.h Fixed AsyncLocalStorage bug 2015-06-22 14:40:33 -08:00
RCTAsyncLocalStorage.m Fixed async local storage 2015-06-23 14:24:42 -08:00
RCTExceptionsManager.h [ReactNative] differentiate fatal and soft exceptions 2015-05-13 13:24:37 -07:00
RCTExceptionsManager.m [ReactNative] Make ErrorCookie work. 2015-07-15 04:04:09 -08:00
RCTPointAnnotation.h [MapView] Support for annotation callouts, annotation press, callout presses and pin animation 2015-06-25 09:15:21 -08:00
RCTPointAnnotation.m [MapView] Support for annotation callouts, annotation press, callout presses and pin animation 2015-06-25 09:15:21 -08:00
RCTSourceCode.h [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
RCTSourceCode.m [React Native] Update additional callsites with RCTResponseErrorBlock 2015-07-14 03:59:18 -08:00
RCTStatusBarManager.h Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
RCTStatusBarManager.m Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
RCTTiming.h [ReactNative] Use a single DisplayLink held by the bridge 2015-04-15 07:07:48 -08:00
RCTTiming.m [ReactNative] Remove RCT_IMPORT_METHOD macro and generate lookup table dynamically 2015-06-15 13:05:52 -08:00
RCTUIManager.h [ReactNative] revert D2233419: 'Dynamic Text Sizes for Text component' 2015-07-14 15:55:06 -08:00
RCTUIManager.m Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00