react-native/Libraries/Image
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
..
RCTImage.xcodeproj Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
__tests__ [ReactNative] Copy assets to corresponding folders on Android 2015-06-01 12:21:53 -08:00
AssetRegistry.js [ReactNative] Register assets with AssetRegistry 2015-05-07 17:27:42 -08:00
Image.ios.js Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
ImagePickerIOS.js Add support for selecting media from library 2015-06-22 03:09:16 -08:00
ImageResizeMode.js [react_native] JS files from D2009265: Fix resizeMode for images 2015-04-21 12:04:32 -08:00
ImageSource.js [ReactNative][MAdMan] Add type for image source, flowify AdsManagerObjectiveTypes 2015-04-06 10:32:42 -08:00
ImageStylePropTypes.js [ReactNative] Pull transform properties out into TransformPropTypes 2015-05-06 14:24:10 -08:00
RCTCameraRollManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTCameraRollManager.m [React Native] Update native error callback handling 2015-07-07 08:54:05 -08:00
RCTDownloadTaskWrapper.h [React Native] Update image downloader 2015-07-10 06:34:22 -08:00
RCTDownloadTaskWrapper.m [Image] Add examples to UIExplorer, fix some bugs 2015-07-14 14:33:02 -08:00
RCTGIFImage.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTGIFImage.m [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
RCTImageDownloader.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageDownloader.m Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageLoader.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageLoader.m Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImagePickerManager.h Add support for selecting media from library 2015-06-22 03:09:16 -08:00
RCTImagePickerManager.m Add support for selecting media from library 2015-06-22 03:09:16 -08:00
RCTImageRequestHandler.h [ReactNative] Refactor RCTDataManager to support pluggable data source modules (RCTURLRequestHandlers) 2015-06-09 12:27:06 -08:00
RCTImageRequestHandler.m [ReactNative] Refactor RCTDataManager to support pluggable data source modules (RCTURLRequestHandlers) 2015-06-09 12:27:06 -08:00
RCTImageUtils.h Merged RCTStaticImage with FB internal version 2015-07-14 04:06:18 -08:00
RCTImageUtils.m Merged RCTStaticImage with FB internal version 2015-07-14 04:06:18 -08:00
RCTImageView.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageView.m Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageViewManager.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageViewManager.m Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
resolveAssetSource.js [ReactNative] Copy assets to corresponding folders on Android 2015-06-01 12:21:53 -08:00