3887 Commits

Author SHA1 Message Date
Spencer Ahrens
15f6783f34 [ReactNative] Add snapshot tests for examples 2015-03-24 21:48:49 -08:00
Eric Vicenti
7311260e58 [ReactNative] Rename JSNavigationStack to ReactNavigator, rename scene config 2015-03-24 19:27:59 -08:00
Marshall Roch
9eec8aa9d5 Flowify a bunch of Libraries 2015-03-24 18:22:05 -08:00
Eric Vicenti
d71bfa104d [ReactNative] JSNavigationStack - Use key to blow away old scenes 2015-03-24 17:58:43 -08:00
Nick Lockwood
94db4facf5 Unfork UIManager 2015-03-24 17:24:51 -08:00
Marshall Roch
a343c4345e Flowify Libraries/StyleSheet and Libraries/Text 2015-03-24 16:22:59 -08:00
Eric Vicenti
eb16bb4dfd [ReactNative] Fix OSS Dependency Issues 2015-03-24 16:15:23 -08:00
Eric Vicenti
9b03bec662 [ReactNative] rename navigationOperations to navigator 2015-03-24 15:28:36 -08:00
Olivia Bishop
40d71e6c5b JS files from D1936817: Add to XMLHttpRequest android and share code with ios 2015-03-24 14:25:20 -08:00
Basil Hosmer
e4bf45beee flowify some Libraries 2015-03-24 13:27:00 -08:00
Eric Vicenti
23094dbfc3 [ReactNative] JSNavigationStack rename routeMapper to renderSceneForRoute 2015-03-24 11:48:42 -08:00
Marshall Roch
9a12b9c728 Flowify renderApplication 2015-03-24 11:16:19 -08:00
Tadeu Zagallo
57ee9e7dc0 [ReactNative] Use oss TimerMixin 2015-03-24 10:46:05 -08:00
Tadeu Zagallo
fe0527a7c4 [ReactNative] Remove auto permission request from setAppIconBadgeNumber 2015-03-24 10:33:46 -08:00
Spencer Ahrens
3f137da232 [ReactNative] OSS snapshot tests 2015-03-24 10:16:15 -08:00
Eric Vicenti
c9a40a989b [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
Jakub Zika
20a0bea197 Fix build - remove relative import path 2015-03-24 06:07:47 -08:00
Tadeu Zagallo
8ae0eacf17 [ReactNative] Open Source PushNotifications and move Badge Number methods and permission into it 2015-03-24 04:31:34 -08:00
Marshall Roch
b4a39a2a9e Flowify TextStylePropTypes and fix a bug with unsupported props 2015-03-23 17:44:41 -08:00
Marshall Roch
cf126f1172 Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
Christopher Chedeau
1aeb02ada3 [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
Christopher Chedeau
e1ef0328d9 [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
Alex Kotliarskyi
0cdf56cc4f [ReactNative] Fix React Devtools integration 2015-03-23 12:58:55 -08:00
James Ide
62766e6077 [Text] Account for font leading so descenders are not clipped
Summary:
Prior to this diff, descenders (the hanging tail on letters like g and j) were clipped on the last line because the text measurer did not account for the font leading. With `NSStringDrawingUsesFontLeading` it honors the fonts line spacing.

To test: open the Text demo of the UIExplorer and see that the bottom of the letter g is no longer clipped off.

## Before

![Screenshot Before](https://cloud.githubusercontent.com/assets/379606/6364746/1c5527a0-bc60-11e4-8aeb-2147a6eb6596.png)

## After

![Screenshot After](https://cloud.githubusercontent.com/assets/379606/6364747/1e9abe58-bc60-11e4-8c34-9f20ad8572ff.png)
Closes https://github.com/facebook/react-native/pull/96
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-23 11:40:24 -08:00
Basil Hosmer
d6bb48d972 more UIExplorer flow 2015-03-23 11:21:08 -08:00
Alex Kotliarskyi
e4990939e4 [ReactNative] Add NativeModules and DeviceEventEmitter to react-native exports 2015-03-23 09:23:51 -08:00
Alex Akers
48cc440bd3 [React Native] Fix iOS 7 crashes b/c missing Photos.fmwk 2015-03-23 08:06:58 -08:00
Basil Hosmer
45a7b5cdcb UIExplorer flowification 2015-03-23 00:24:47 -08:00
Marshall Roch
05409868b6 Add clearImmediate module 2015-03-22 23:28:04 -08:00
Marshall Roch
0a88663b1e Work around flow bug with exports 2015-03-22 22:12:18 -08:00
Christopher Chedeau
87f42ab450 [ReactNative] Remove react-native/package.json 2015-03-22 20:17:01 -08:00
Felix Kling
81d024924c [react-native] Use SpreadProperty to make react-docgen happy 2015-03-20 17:04:12 -08:00
Amjad Masad
f1746ac83e [react-packager] change all but one ix to require 2015-03-20 15:26:58 -08:00
Eric Vicenti
c445cbdb1e [ReactNative] Touchable invoke press on longPress when longPress handler missing 2015-03-20 11:47:01 -08:00
Alex Kotliarskyi
21a1cd52b5 [ReactNative] Commit missing RCTWebSocketDebugger.xcodeproj 2015-03-20 11:16:41 -08:00
Christopher Chedeau
ac804244a6 [ReactNative] Add Custom Components folder 2015-03-20 09:19:28 -08:00
Alex Kotliarskyi
8dea55618d [ReactNative] Bring Chrome debugger to OSS. Part 2 2015-03-19 11:48:51 -08:00
Alex Kotliarskyi
0de49ab0d5 [ReactNative][RFC] Bring Chrome debugger to OSS. Part 1 2015-03-19 09:32:52 -08:00
Tadeu Zagallo
1289536fe1 [ReactNative] Return the appropriate status code from XHR 2015-03-19 09:27:06 -08:00
Alex Kotliarskyi
d6a031b431 [ReactNative] Make JS stack traces in Xcode prettier 2015-03-19 09:25:46 -08:00
Christopher Chedeau
2cace1a5b3 [ReactNative] Remove invariant from require('react-native') 2015-03-18 18:58:12 -08:00
Christopher Chedeau
48f7399cfc [ReactNative] Remove ListViewDataSource from require('react-native') 2015-03-18 18:53:16 -08:00
Basil Hosmer
f2d688debb purge rni 2015-03-18 17:17:08 -08:00
Christopher Chedeau
4b42f8c9e9 [ReactNative] s/render*View/render/ in <WebView> 2015-03-18 16:02:19 -08:00
Tadeu Zagallo
196bc85629 [ReactNative] Remove ExpandingText 2015-03-18 13:08:23 -08:00
James Ide
f002fda275 [TouchableHighlight] Preserve underlay style when restoring inactive props
Summary:
If you give a TouchableHighlight component some styling (e.g. a background color) with the `underlayStyle` prop, the style is wiped away after touching the component. This diff restores the `underlayStyle`.

Closes https://github.com/facebook/react-native/pull/129
Github Author: James Ide <ide@jameside.com>

Test Plan:
 Create a TouchableHighlight that receives `underlayStyle={{style:
'blue'}}`. It initially has a blue background. Touch it and let go. See the blue background now comes back as expected.
2015-03-18 11:56:24 -08:00
Basil Hosmer
c43d1458c7 clean flow errors in react-native-github 2015-03-18 11:44:13 -08:00
Christopher Chedeau
0f5a3c16e4 [ReactNative] Sort React Native exports into two groups, Components and ...
Summary:
...APIs

This maps the way the docs are structured, this is easier to figure out when the docs are stale
Closes https://github.com/facebook/react-native/pull/161
Github Author: Christopher Chedeau <vjeux@fb.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-18 09:49:58 -08:00
Tadeu Zagallo
8cb6dc2ff6 [ReactNative] Rename Slider to SliderIOS 2015-03-18 08:36:12 -08:00
Spencer Ahrens
efd56688ba [RFC][ReactNative] increase timer resolution 2015-03-17 22:09:03 -08:00