Commit Graph

1050 Commits

Author SHA1 Message Date
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
Spencer Ahrens 9086365faf [ReactNative] Strip prefixes from NativeModules keys 2015-03-17 21:54:27 -08:00
Christopher Chedeau 2991f583e0 [ReactNative] Small docs cleanup in ActivityIndicatorIOS and DatePickerIOS
Summary:
Summary:
Makes sure that it looks good in the website

Closes https://github.com/facebook/react-native/pull/160
Github Author: Christopher Chedeau <vjeux@fb.com>

Test Plan:
Run the website

CC:

Task ID: #
2015-03-17 21:13:07 -08:00
Jing Chen 278932e61e [ReactNative] Improvements on perf measurement output 2015-03-17 20:24:28 -08:00
Christopher Chedeau f377849c73 [ReactNative] Clean up Touchable PropTypes
Summary:
Summary:
Instead of having a separate TouchablePropTypes, put those in TouchableWithoutFeedback and have the other ones use ...TouchableWithoutFeedback.propTypes. This makes it work with the docs parsing.

Closes https://github.com/facebook/react-native/pull/159
Github Author: Christopher Chedeau <vjeux@fb.com>

Test Plan:
Run the website, make sure all the touchable components have the right prop types

CC:

Task ID: #
2015-03-17 16:46:14 -08:00
Eric Vicenti 2aafcd0e58 [ReactNative] Remove pushNotification prop from renderApplication 2015-03-17 11:48:06 -08:00
Andy Street d5d9d9b9c1 [react_native] Stub VibrationIOS on Android 2015-03-17 11:30:30 -08:00
Christopher Chedeau 345f161399 [ReactNative] Simplify and test interpolators 2015-03-17 11:06:03 -08:00
Christopher Chedeau f8f3f67bed [ReactNative] Increase timeout for obj-c tests 2015-03-17 08:33:42 -08:00
Nick Lockwood 18d1805695 [ReactNative] Updated RKText to new UIManager system 2015-03-17 06:37:24 -08:00
Spencer Ahrens d8ee4e87a1 [ReactKit] Remove NativeModulesDeprecated 2015-03-17 02:48:58 -08:00
Spencer Ahrens 54c6a7ddff [ReactNative] Allow single callbacks in NativeModules 2015-03-17 02:48:57 -08:00
Spencer Ahrens b396de3cc8 [ReactNative] s/RK/RCT in OSS 2015-03-17 02:48:57 -08:00
Christopher Chedeau 733596b67a [ReactNative] Cleanup StyleSheet API 2015-03-16 20:46:04 -08:00
Joe Stanton f8ab8415d5 [RCTVibration] Basic Vibration API
Summary:
* Exposed as `VibrationIOS.vibrate();`
* Included a UI Explorer example.
* Vibration patterns are currently unsupported as there is no API to produce a vibration of less than 1 second on iOS.
Closes https://github.com/facebook/react-native/pull/154
Github Author: Joe Stanton <joe.stanton@red-badger.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-16 20:41:33 -08:00
Andrew Rasmussen 6fc5a78956 [ReactNative] unbreak Android 2015-03-16 17:51:09 -08:00
Eric Vicenti 310aef9dcc [ReactNative] NetworkInformation.reachability API w/ example 2015-03-16 13:44:40 -08:00
Andrew Rasmussen 5f538b2284 [ReactNative] Put launchOptions in RCTPushNotificationManager 2015-03-16 12:11:50 -08:00
Christopher Chedeau 06125009dd [ReactNative] Improve PixelRatio documentation 2015-03-16 09:08:57 -08:00
Nick Lockwood 8799f0c487 Ported ART to new UIManager 2015-03-15 16:01:58 -08:00
Christopher Chedeau 2ad43094ea [ReactNative] OSS Interaction Manager 2015-03-14 11:17:15 -08:00
Nick Lockwood 66bb821a31 Unforked RKWebView 2015-03-14 00:22:43 -08:00
Spencer Ahrens 3cc81c6561 [ReactNative] Add integration test stuff 2015-03-13 18:03:34 -08:00
Eric Vicenti 85bcbd4bf3 [ReactNative] AlertIOS.alert and examples 2015-03-13 17:34:13 -08:00
Alex Akers cc74944bef [React Native] Update 2048 2015-03-13 15:19:05 -08:00
Thomas Aylott b51f51e47d deepDiffer should support explicitly undefined values 2015-03-13 15:17:07 -08:00
Tadeu Zagallo 28e38afb68 [ReactNative] Oss ActionSheet 2015-03-13 10:51:06 -08:00
Christopher Chedeau 2b38a70e9c [ReactNative] Fix ScrollView.scrollTo() 2015-03-13 10:28:59 -08:00
Jiajie Zhu b2bf4b88bf [catalyst|madman] fix location observer 2015-03-13 10:02:34 -08:00
Christopher Chedeau 7577f0e0b3 [ReactNative] Remove keyboardDismissMode from static 2015-03-13 10:00:18 -08:00
Alex Kotliarskyi 6299803081 [ReactNative] Support loading sourcemaps from sourceMappingURL 2015-03-12 17:21:43 -08:00
Owen Coutts 582d8f062a [React Native] add support for reading tracking bit 2015-03-12 15:25:44 -08:00
Nick Lockwood 24da269404 Fixed sticky section headers in ListView 2015-03-12 02:41:48 -08:00
Eric Vicenti 5c853c4433 [ReactNative] AppState cleanup, remove Subscribable, add in OSS examples 2015-03-11 20:35:57 -08:00
Tadeu Zagallo df9874de6f [ReactNative] Move PushNotificationIOS to oss 2015-03-11 16:58:14 -08:00
Jiajie Zhu 50f77016bb [catlyst|madman] fix prop type warning 2015-03-11 14:45:41 -08:00
Eric Vicenti 65ba4c68c0 [ReactNative] Remove Subscribable from TextInput 2015-03-11 14:42:47 -08:00
Nick Lockwood 2424711a03 Unforked ExceptionsManager, AlertManager and AppState 2015-03-11 13:46:35 -08:00
Eric Vicenti 30d3117f96 [ReactNative|MAdMan] Notification Subscribable 2015-03-11 13:44:30 -08:00
Spencer Ahrens 221ddd3cfe [ReactNative] OSS AsyncStorage with example 2015-03-11 11:54:09 -08:00
Nick Lockwood 74e84ba494 Unforked RKNavigator, RKScrollView and RKView 2015-03-10 19:25:46 -08:00
Christoph Pojer 0c4b338bca [Relay] Update Relay + ES6 class containers 2015-03-10 17:39:47 -08:00
Alexsander Akers 62eff7197b [React Native] Add RCTAdSupport.xcodeproj 2015-03-10 15:16:09 -08:00
Philipp von Weitershausen 1793712c77 [ReactNative][Android] Fix after a new React version was downstreamed 2015-03-10 14:44:05 -08:00
Alex Akers fb475dd0c4 [React Native] Add preliminary animation API 2015-03-10 14:19:38 -08:00
Alex Akers a8aedb3e78 [React Native][Device ID][wip] implement most basic js access 2015-03-10 11:56:47 -08:00
Spencer Ahrens 184ae2314d [ReactNative] OSS Picker 2015-03-10 09:29:53 -08:00
Tadeu Zagallo 403fbd66c3 [ReactNative][tmp] Rename GeoLocation2 files back to Geolocation 2015-03-10 09:01:11 -08:00
Tadeu Zagallo 7462caa304 [ReactNative][tmp] Rename GeoLocation files to fix letter case 2015-03-10 09:01:10 -08:00
Tadeu Zagallo fa87d83af5 [ReactNative] Oss GeoMap 2015-03-09 17:55:40 -08:00
Tadeu Zagallo 78ec0df464 [ReactNative] OSS CameraRoll 2015-03-09 16:48:02 -08:00
Alex Kotliarskyi b31fd38bb6 [React Native][RFC] Print __DEV__ value on app start 2015-03-09 15:54:12 -08:00
Tadeu Zagallo 2640002d0e [ReactNative] Oss RCTSlider 2015-03-09 14:43:53 -08:00
Tadeu Zagallo c79cb09c14 [ReactNative] Oss RCTSwitch 2015-03-09 13:22:11 -08:00
Christopher Chedeau e4093a6abb [ReactNative] Remove ImageSourcePropType 2015-03-09 09:49:30 -08:00
Christopher Chedeau 45da1f03cb [ReactNative] s/Image.sourcePropType/Image.propTypes.source/ 2015-03-09 09:49:29 -08:00
Christopher Chedeau 1e01c26457 [ReactNative] s/Text.stylePropType/Text.propTypes.style/ 2015-03-09 09:49:28 -08:00
Christopher Chedeau f61e4184a8 [ReactNative] s/View.stylePropType/View.propTypes.style/ 2015-03-09 09:49:27 -08:00
Christopher Chedeau 0f2a2e73f0 [ReactNative] Remove nativePropTypes 2015-03-09 09:49:27 -08:00
Christopher Chedeau dc309b9dd4 [ReactNative] Inline ScrollViewPropTypes 2015-03-09 09:49:26 -08:00
Christopher Chedeau 7466846c7e [ReactNative] Unify ScrollView.android and ScrollView.ios 2015-03-09 09:49:25 -08:00
Christopher Chedeau d8e83c882e [ReactNative] Move around and reformat comments for the documentation 2015-03-09 09:49:24 -08:00
Nick Lockwood 705a8e0144 Improved Geolocation API 2015-03-09 02:50:16 -08:00
Ben Alpert c5e6f550ad [React Native] Move copyProperties and mergeHelpers to github dir 2015-03-08 23:47:06 -08:00
Spencer Ahrens 444e3e703f [ReactNative] OSS DatePicker 2015-03-06 18:28:45 -08:00
Ben Alpert b335f88efd [React Native] Update core modules for React 0.13 2015-03-06 17:12:53 -08:00
Martin Konicek 9e2bdede15 [react_native] JS files for D1885531 2015-03-06 07:32:17 -08:00
Nick Lockwood fb2f063ef5 Ported TabBarIOS to OSS and unified implementation 2015-03-05 17:16:19 -08:00
Christopher Chedeau e979f2324a [ReactNative] Fix ExpandingText prop types 2015-03-05 10:49:16 -08:00
Tadeu Zagallo 6072521a52 [ReactNative] Replace js long constants with strings 2015-03-04 14:32:54 -08:00
Tim Yung 45deae03af React Native: Remove Unnecessary `document.body` Shim 2015-03-04 13:31:04 -08:00
Christopher Chedeau fd198b71dc [ReactNative] Use spread operator and .propTypes for ScrollView/ListView 2015-03-04 08:29:57 -08:00
Tim Yung eb3c3a27b1 React Native: Force !ExecutionEnvironment.canUseDOM 2015-03-03 18:27:31 -08:00
Christopher Chedeau 46f41c3d4b [ReactNative] Use strings instead of constants for keyboardDismissMode 2015-03-03 11:26:22 -08:00
Spencer Ahrens 3daaf1741c [ReactNative] Clean up libraries and include paths 2015-03-03 10:46:34 -08:00
Alex Kotliarskyi 1aeeac1314 [f8] Make map zoomable on double-tap 2015-03-02 19:48:46 -08:00
Christopher Chedeau 902af4c729 [ReactNative] Move merge & mergeInto from downstream to vendor 2015-03-02 18:10:43 -08:00
Christopher Chedeau a39024928e [ReactNative] Expose ListView.DataSource instead of a top domain ListViewDataSource 2015-03-02 16:27:12 -08:00
Christopher Chedeau ea6bfbb7d6 [ReactNative] Replace all the call sites of mergeInto by Object.assign 2015-03-01 17:16:18 -08:00
Nick Lockwood 3b11b9d6c3 [WIP] Migrated View Managers over to new architecture 2015-03-01 16:34:14 -08:00
Christopher Chedeau 33290fb1e2 [ReactNative] Replace all the call sites of copyProperties by Object.assign 2015-03-01 16:09:11 -08:00
Christopher Chedeau 878bc9d491 [ReactNative] Migrate navigator.geolocation to open source 2015-02-28 21:25:27 -08:00
Spencer Ahrens c7b5a1ddfa [ReactNative] Use local CocoaPod config for ReactNative modules 2015-02-27 08:36:53 -08:00
Spencer Ahrens 99f7a0ab9d [ReactNative] Pull out some OSS modules into separate libs 2015-02-27 08:36:52 -08:00
James Ide ddf8933904 [Children] Expose React.Children like web React
Summary:
Simply exposes this public API from ReactIOS in the same manner as web React.
Closes https://github.com/facebook/react-native/pull/104
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-26 20:24:46 -08:00
Sumeet Vaidya ee8d0d7204 [treehouse] Add support for clear button on UITextFields 2015-02-26 16:14:14 -08:00
James Ide 337329451d [Touch] Suite of touchable events on TouchableHighlight/Opacity
Summary:
The following props are now supported on TouchableHighlight/Opacity components:

 - onPress (was there before)
 - onPressIn
 - onPressOut
 - onLongPress

There is a `TouchableFeedbackPropType` that is shared amongst the Touchable family for consistency.

Added UIExplorer example to demonstrate and test.

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

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-26 10:30:31 -08:00
Spencer Ahrens efae175a8e [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00