react-native/Libraries/Image
Shir Levkowitz ced1513b62 Pass actual loaded image size to load (iOS).
Summary:
Motivation: The JavaScript image component's onLoad callback optionally
accepts dimensions width and height, allowing the parent of the image to
obtain the native size (without an extra bridge call). It was found that
the dimensions passed into this callback on iOS are frequently (0,0),
not the true native dimensions. This change ensures that the image's
dimensions are passed to the callback. (Examination of the initializer
for RCTImageSource, + (RCTImageSource *)RCTImageSource:(id)json,
indicates that not all code paths produce a size other than CGSizeZero.)
Closes https://github.com/facebook/react-native/pull/15116

Differential Revision: D5460979

Pulled By: javache

fbshipit-source-id: 2dca03c3aae974ef70e981039aa6a804b8e128c8
2017-07-20 03:05:11 -07:00
..
RCTImage.xcodeproj Fix Travis CI runs 2017-06-02 09:03:18 -07:00
__tests__ remove disableAutomock from jest tests (new default) @bypass-lint 2017-06-13 15:04:09 -07:00
AssetRegistry.js packager: buck library: expose asset content 2017-04-25 12:04:01 -07:00
AssetSourceResolver.js packager: buck library: expose asset content 2017-04-25 12:04:01 -07:00
Image.android.js Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Image.ios.js Update OSS Fresco dependency 2017-07-12 07:54:09 -07:00
ImageBackground.js Fixed ImageBackground could't be wrapped by Touchable* component 2017-07-10 05:03:25 -07:00
ImageEditor.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
ImageResizeMode.js Add Image resizeMode repeat on iOS 2016-06-22 04:28:44 -07:00
ImageSource.js Make flow types update to date with proptypes with ImageSource 2017-02-16 15:18:43 -08:00
ImageSourcePropType.js Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
ImageStore.js Open sourced <ImageEditor>, <ImageStore> for Android 2016-01-27 10:50:54 -08:00
ImageStylePropTypes.js Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
RCTGIFImageDecoder.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTGIFImageDecoder.m remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
RCTImageBlurUtils.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageBlurUtils.m Add blur effect to RCTImageView 2016-03-17 12:25:40 -07:00
RCTImageCache.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageCache.m remove unused includes in fbobjc/Libraries 2017-02-19 18:33:49 -08:00
RCTImageEditingManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageEditingManager.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageLoader.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageLoader.m Allow video uploads 2017-06-13 08:16:43 -07:00
RCTImageShadowView.h Using <Image> with nested content now causes warning (yellowbox) 2017-05-30 20:04:55 -07:00
RCTImageShadowView.m Using <Image> with nested content now causes warning (yellowbox) 2017-05-30 20:04:55 -07:00
RCTImageStoreManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageStoreManager.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageUtils.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageUtils.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageView.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageView.m Pass actual loaded image size to load (iOS). 2017-07-20 03:05:11 -07:00
RCTImageViewManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageViewManager.m Using <Image> with nested content now causes warning (yellowbox) 2017-05-30 20:04:55 -07:00
RCTLocalAssetImageLoader.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTLocalAssetImageLoader.m Expose RCTImageLocalAssetURL as a utility 2017-03-17 17:02:06 -07:00
RCTResizeMode.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTResizeMode.m Add Image resizeMode center to iOS 2016-07-19 03:43:26 -07:00
RelativeImageStub.js Remove remnants of the packager 2017-07-07 03:06:21 -07:00
nativeImageSource.js Add `deprecated` flag for nativeImageSource 2016-11-28 15:58:36 -08:00
resolveAssetSource.js inline a bunch of NativeModule requires 2017-02-17 16:49:38 -08:00