react-native/Libraries/Image
Nick Lockwood a92f107712 Added RCTFileRequestHandler
Summary: @​public

We previously discovered that using an NSURLSessionDataTask to load local files is noticably less efficient than using regular filesystem methods.

This diff adds RCTFileRequestHandler as a replacement for RCTHTTPRequestHandler when loading local files. This reduces loading time when loading local files via XMLHttpRequest, as well as improving the performance for some image load requests.

Reviewed By: @javache

Differential Revision: D2531710

fb-gh-sync-id: 259714baac131784de494d24939f42ad52bff41a
2015-10-13 08:14:28 -07:00
..
RCTImage.xcodeproj Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00
__tests__ Removed references to isStatic from the codebase 2015-10-13 06:44:30 -07:00
AssetRegistry.js [ReactNative] Teach flow how to deal with images 2015-08-26 18:26:09 -08:00
GlobalImageStub.js Removed references to isStatic from the codebase 2015-10-13 06:44:30 -07:00
Image.android.js Removed references to isStatic from the codebase 2015-10-13 06:44:30 -07:00
Image.ios.js Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
ImageResizeMode.js [react_native] JS files from D2009265: Fix resizeMode for images 2015-04-21 12:04:32 -08:00
ImageSource.js Removed references to isStatic from the codebase 2015-10-13 06:44:30 -07:00
ImageStylePropTypes.js [ReactNative] Add overflow to the whitelisted Image props 2015-07-27 11:06:27 -08:00
RCTGIFImageDecoder.h Add pluggable image processing system 2015-09-02 08:31:34 -08:00
RCTGIFImageDecoder.m Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTImageDownloader.h Add pluggable image processing system 2015-09-02 08:31:34 -08:00
RCTImageDownloader.m Added RCTFileRequestHandler 2015-10-13 08:14:28 -07:00
RCTImageEditingManager.h [React Native] open source ImageEditingManager native module 2015-07-29 15:57:48 -08:00
RCTImageEditingManager.m [React Native] open source ImageEditingManager native module 2015-07-29 15:57:48 -08:00
RCTImageLoader.h Changed RCTImageLoader to always return a UIImage 2015-09-04 05:10:34 -08:00
RCTImageLoader.m Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00
RCTImageStoreManager.h Update image loader plugins 2015-09-03 06:06:19 -08:00
RCTImageStoreManager.m Update image loader plugins 2015-09-03 06:06:19 -08:00
RCTImageUtils.h Fixed image clipping / resizing logic 2015-08-13 08:13:55 -08:00
RCTImageUtils.m Fixed image clipping / resizing logic 2015-08-13 08:13:55 -08:00
RCTImageView.h Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTImageView.m Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTImageViewManager.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageViewManager.m Added mechanism for directly mapping JS event handlers to blocks 2015-09-02 06:11:24 -08:00
RCTShadowVirtualImage.h Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTShadowVirtualImage.m Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTVirtualImageManager.h Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTVirtualImageManager.m Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTXCAssetImageLoader.h Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00
RCTXCAssetImageLoader.m Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00
RelativeImageStub.js [ReactNative] Teach flow how to deal with images 2015-08-26 18:26:09 -08:00
resolveAssetSource.js Removed references to isStatic from the codebase 2015-10-13 06:44:30 -07:00