Christopher Chedeau
800c62bb8b
Updates from Fri 22 May
2015-05-22 09:59:17 -07:00
Nick Lockwood
fe4b4c2d83
Optimised blending for translucent images with opaque background color + fixed cropping for images in cover/contain mode.
...
Summary:
@public
Our background color propagation mechanism is designed to make rendering of translucent content more efficient by pre-blending against an opaque background. Currently this only works for text however, because images are not composited into their background even if the background color is opaque.
This diff precomposites network images with their background color when the background is opaque, allowing them to take advantage of this performance optimization.
I've also added some logic to correctly crop the downloaded image when the resizeMode is "cover" or "contain" - previously it was only correct for "stretch".
Before:{F22437859}
After:{F22437862}
Test Plan: Run the UIExplorer "<ListView> - Paging" example with "color blended layers" enabled and observe that the images appear in green now, instead of red as they did before.
2015-05-22 07:19:06 -08:00
Christopher Chedeau
71ce49b7a5
Fix failing snapshot test
2015-05-13 19:04:50 -07:00
Christopher Chedeau
50a58e108a
Turns out, travis doesn't support 8.3, reverting to 8.1 :(
2015-05-13 16:50:13 -07:00
Christopher Chedeau
1b99c9976a
Update UIExplorerTests to iOS Simulator 8.3 and re-record failing tests
2015-05-13 16:32:31 -07:00
Vladimir Kurchatkin
a142ed50ff
Add letterSpacing style property for Text
...
Summary:
Fixes #457
Closes https://github.com/facebook/react-native/pull/482
Github Author: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-05-13 13:24:36 -07:00
Alex Kotliarskyi
735f67337a
[ReactNative] Fail faster in OSS tests
2015-05-06 09:33:20 -07:00
Alex Kotliarskyi
286e1b0ae9
[ReactNative] Re-record OSS snapshot tests
2015-05-06 09:31:39 -07:00
Ben Alpert
eff7c8018c
[react-native] Update UIExplorer snapshot tests
2015-04-29 17:53:52 -08:00
Nick Lockwood
ead0f2e020
Implemented thread control for exported methods
2015-04-18 11:13:39 -08:00
guru inamdar
7a68691686
MapView to support MKPointAnnotation using new attribute annotate in Map...
...
Summary:
### MapView to support Pin annotation
var pinLocation = {
latitude: property.latitude,
longitude: property.longitude,
title: property.title
};
this.state = {propertyPoint: pinLocation};
<MapView style={styles.map} region={this.state.region} annotate={this.state.propertyPoint}>
</MapView>

Closes https://github.com/facebook/react-native/pull/810
Github Author: guru inamdar <guru.inamdar@gmail.com >
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-14 18:03:37 -08:00
Amjad Masad
c94f7c3656
[React Native] Sync from github
2015-03-27 22:09:11 -08:00
Nick Lockwood
698988017c
Added support for text padding
2015-03-27 09:21:27 -08:00
Spencer Ahrens
15f6783f34
[ReactNative] Add snapshot tests for examples
2015-03-24 21:48:49 -08:00
Christopher Chedeau
1aeb02ada3
[ReactNative] Expanded license on obj-c files
2015-03-23 13:18:29 -08:00
Alex Kotliarskyi
e07c8db607
[ReactKit] Fail tests when redbox shows up
2015-03-17 13:23:46 -08:00
Christopher Chedeau
f8f3f67bed
[ReactNative] Increase timeout for obj-c tests
2015-03-17 08:33:42 -08:00
Alex Kotliarskyi
378e59b90a
[ReactNative] Make tests run on TravisCI
2015-03-10 18:33:20 -08:00
Alex Kotliarskyi
b185cbd6e6
[ReactKit] Create test for OSS ReactKit
2015-03-10 13:55:34 -08:00