1365 Commits

Author SHA1 Message Date
Tadeu Zagallo
8d651a0353 [ReactNative] Sort UIExplorer examples 2015-04-13 04:34:23 -08:00
Alexander Kotliarskyi
c412585d74 Merge pull request #820 from ide/remap-docs
[Docs] Add note about JS names for exported methods and RCT_REMAP_METHOD
2015-04-12 11:32:33 -07:00
Blair Vanderhoof
ac94a7fe77 Escape URL string before creating an NSURL
Summary:
If we make a request that contains a pipe character, URLWithString will return null.  This fix escapes these and other characters before creating the NSURL.
Closes https://github.com/facebook/react-native/pull/786
Github Author: Blair Vanderhoof <blairv@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-12 10:17:16 -08:00
James Ide
54dd54c2b9 [Docs] Add note about JS names for exported methods and RCT_REMAP_METHOD
Described how JS method names are derived from Obj-C selectors and mention RCT_REMAP_METHOD.
2015-04-12 02:44:34 -07:00
Nick Lockwood
26fd24dc50 Cleanup 2015-04-11 14:19:49 -08:00
Alexander Kotliarskyi
8376e1924d Merge pull request #805 from frantic/e2e-test
Add end-to-end test
2015-04-11 11:52:37 -07:00
Alex Kotliarskyi
9024881f0e Store package cache in /tmp
This way it's possible to re-run e2e tests faster without re-downloading
all packages. `npm unpublish` is used to avoid getting warning about
publishing the same version of the package
2015-04-11 11:36:13 -07:00
Ben Alpert
6b91f7e1f1 Merge pull request #803 from abarth/link_to_community
Add a link to the Facebook community
2015-04-10 19:44:44 -07:00
Ben Alpert
b65d82d6e4 Merge pull request #806 from Rudimental/patch-4
Update JavaScriptEnvironment.md
2015-04-10 19:42:36 -07:00
Alex Kotliarskyi
52a268007b Use iPhone8.1 for e2e tests 2015-04-10 19:20:48 -07:00
David Rabkin
da3b982abe Update JavaScriptEnvironment.md
-fix grammar in a sentence
2015-04-10 19:18:04 -07:00
Alex Kotliarskyi
80102c56cf Add end-to-end test 2015-04-10 19:11:46 -07:00
Eric Vicenti
699a9c3e0c [ReactNative] Fix focusing of nested Navigators 2015-04-10 17:58:30 -08:00
Adam Barth
ff41559280 Add a link to the Facebook community
Someone on IRC mentioned the Facebook community for React Native, but I don't
see it mentioned in any of the docs.
2015-04-10 18:17:11 -07:00
Forbes Lindesay
96c47cd2e5 Add the promise library as a dependency 2015-04-10 16:25:10 -08:00
Eric Vicenti
75d52b0f33 [ReactNative] Avoid navigator scene renders during transition 2015-04-10 15:13:00 -08:00
Eric Vicenti
50959dd42c [AdsManager|ReactNative] Switch to contextual request pop instead of parentNavigator 2015-04-10 12:54:07 -08:00
Alexander Kotliarskyi
3d602de8c1 Merge pull request #801 from brentvatne/fix-bridge-docs
Fix bridge docs for `RCT_EXPORT`
2015-04-10 13:41:42 -07:00
Brent Vatne
b0d2c3bb26 Fix website docs as well 2015-04-10 13:33:58 -07:00
Brent Vatne
127649962d Replace RCT_EXPORT with RCT_EXPORT_METHOD 2015-04-10 13:23:59 -07:00
Alex Kotliarskyi
7cd732d0e7 [ReactNative] Pipe logs to server window 2015-04-10 12:09:10 -08:00
Amjad Masad
4d0e494e57 0.3.11 v0.3.11 2015-04-10 12:37:38 -07:00
Amjad Masad
0c7c923923 Update version to the actual version 2015-04-10 12:32:10 -07:00
Amjad Masad
d18a233fad Merge pull request #792 from facebook/10-apr
Updates from Fri 10 Apr
2015-04-10 12:27:10 -07:00
Christopher Chedeau
0dace35d89 Update Patent Grant
http://fb.me/patents2
2015-04-10 12:14:22 -07:00
Tadeu Zagallo
f5f80da80c [ReactNative] Remove bridge retaining cycles 2015-04-10 07:20:37 -08:00
Tadeu Zagallo
4616037428 [ReactNative] Fix push notifications on iOS7 2015-04-10 03:09:35 -08:00
Amjad Masad
096f1d9c4c Updates from Fri 10 Apr
- Implemented response headers when using `XMLHttpRequest` | Nick Lockwood
- [ReactNative] Don't redbox on flow config errors | Spencer Ahrens
- [ReactNative] Fix suggestions in TextInput when setting value prop | Spencer Ahrens
- Link LinkingIOS in SampleApp | Nick Lockwood
- unify use of password and secureTextEntry for TextInput | Nick Lockwood
- Added random js queue+execution time sampling in react native | Bryce Redd
- [react_native] JS files from D1980312:     [react_native] Fix webview | Andrei Coman
- [react-packager] Correct module extension regexp | Amjad Masad
- [react-packager] Implement the browser field package.json spec | Amjad Masad
- [ReactNative] Bring back crash reporting | Alex Kotliarskyi
- Remove duplicate word | Nick Lockwood
- NavigatorIOS navigationBarHidden property support | Nick Lockwood
- [Scroll] Include content insets in scroll events | Nick Lockwood
2015-04-10 01:33:10 -07:00
Mike Driver
b1850f8fca Implemented response headers when using XMLHttpRequest
Summary:
I think perhaps these were left out by mistake?
Closes https://github.com/facebook/react-native/pull/382
Github Author: Mike Driver <mikedriver@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-09 19:31:57 -08:00
Christopher Chedeau
7047d6e191 Remove xcode files 2015-04-09 20:24:05 -07:00
Spencer Ahrens
7f9ee949ee [ReactNative] Don't redbox on flow config errors 2015-04-09 17:37:13 -08:00
Spencer Ahrens
89f5ff4d04 [ReactNative] Fix suggestions in TextInput when setting value prop 2015-04-09 17:35:39 -08:00
jcgertig
8d643224ee Link LinkingIOS in SampleApp
Summary:
Closes https://github.com/facebook/react-native/pull/656
Github Author: jcgertig <jcgertig@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-09 17:33:45 -08:00
Will Piers
c831328dcf unify use of password and secureTextEntry for TextInput
Summary:
Currently, the documentation shows both `password` and `secureTextEntry` as props for TextInput. However, the `password` prop is only passed to the Android component, so it does not work as expected for iOS developers. This PR prefers `password` over `secureTextEntry` but won't break anybody's code.
Closes https://github.com/facebook/react-native/pull/622
Github Author: Will Piers <wpiers@rallydev.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-09 17:17:44 -08:00
Bryce Redd
c29c595126 Added random js queue+execution time sampling in react native 2015-04-09 17:04:26 -08:00
Andrei Coman
96e9ad9aec [react_native] JS files from D1980312: [react_native] Fix webview 2015-04-09 15:21:13 -08:00
Amjad Masad
21f45e8899 [react-packager] Correct module extension regexp 2015-04-09 12:07:23 -08:00
Amjad Masad
e3ce3d0d84 [react-packager] Implement the browser field package.json spec 2015-04-09 11:59:48 -08:00
Alex Kotliarskyi
bbddd0262d [ReactNative] Bring back crash reporting 2015-04-09 10:44:26 -08:00
Tyler McGinnis
e1fb8e64b5 Remove duplicate word
Summary:
Closes https://github.com/facebook/react-native/pull/768
Github Author: Tyler McGinnis <tylermcginnis33@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-09 08:48:22 -08:00
Kureev Alexey
50309c984d NavigatorIOS navigationBarHidden property support
Summary:
Usage example:
```javascript
var AwesomeProject = React.createClass({
  render: function() {
    return (
      <NavigatorIOS
        style={styles.navigator}
        navigationBarHidden={true}
        initialRoute={{
          component: Example,
          title: 'Test'
        }}
      />
    );
  }
});
```
Closes https://github.com/facebook/react-native/pull/374
Github Author: Kureev Alexey <kureev-mail@ya.ru>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-09 08:46:14 -08:00
James Ide
20d95ed129 [Scroll] Include content insets in scroll events
Summary:
When calculating how far the user has scrolled, it is necessary to know the content insets where:

    number of pixels scrolled = content offset + leading content inset for the scroll axis

This diff adds the contentInset field to native scroll events.
Closes https://github.com/facebook/react-native/pull/737
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-09 08:45:58 -08:00
Christopher Chedeau
a79154daee Unbreak fatal 2015-04-09 09:32:07 -07:00
Christopher Chedeau
2c6abbd638 Merge pull request #776 from vjeux/up223
[ReactNative] Fix push notifications on iOS7 | Tadeu Zagallo
2015-04-09 09:21:53 -07:00
Christopher Chedeau
d16e0a2579 [ReactNative] Fix push notifications on iOS7 | Tadeu Zagallo 2015-04-09 09:08:34 -07:00
Christopher Chedeau
2c803b04e9 Merge pull request #775 from vjeux/up22
Updates from Thu 9 Apr
2015-04-09 08:57:12 -07:00
Christopher Chedeau
0686b0147c Updates from Thu 9 Apr
- [React Native] Fix RCTText crashes | Alex Akers
- Ensure that NSLocationWhenInUseUsageDescription is set, throw error if not | Alex Kotliarskyi
- [ReactNative] fix exception handler method name | Spencer Ahrens
- [ReactNative] Re-configure horizontal swipe animations | Eric Vicenti
- [ReactNative] <Text>: apply the fontWeight correctly if fontFamily style is also present | Kevin Gozali
- [MAdMan] Dimensions.get('window') considered harmful | Philipp von Weitershausen
- Navigator: Changed transitioner background color to 'transparent' | Eric Vicenti
- [react-native] Listen on all IPv6 interfaces | Ben Alpert
- [react-packager] Don't depend on error.stack being available | Amjad Masad
- [ReactNative] fixup AnimationExperimental a bit | Spencer Ahrens
- [react-packager] Implement new style asset packaging (with dimensions) | Amjad Masad
- [React Native] RCT_EXPORT lvl.2 | Alex Akers
- [react_native] Implement TextInput end editing | Andrei Coman
- [react_native] Make TextInput focus, blur, dismiss and show keyboard work | Andrei Coman
- Added non-class-scanning-based approach fror registering js methods | Nick Lockwood
- [ReactNative] Update package.json | Christopher Chedeau
- [ReactNative] Do flow check when running packager | Spencer Ahrens
- [ReactNative] Fix typo/bug in Navigator._completeTransition | Eric Vicenti
- [ReactNative] Fix Navigator exception when touching during transition | Eric Vicenti
- [ReactNative] Remove bridge retaining cycles | Tadeu Zagallo
- [ReactNative] Fix and re-add WebView executor | Tadeu Zagallo
2015-04-09 08:46:53 -07:00
Alex Akers
fcc87916d2 [React Native] Fix RCTText crashes 2015-04-09 07:34:12 -08:00
Brent Vatne
17ab4f2fb3 Ensure that NSLocationWhenInUseUsageDescription is set, throw error if not
Summary:
As per #750, throw error when trying to use the geolocation module and this key is not set. cc @frantic
Closes https://github.com/facebook/react-native/pull/762
Github Author: Brent Vatne <brent.vatne@madriska.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-08 21:28:16 -08:00
Spencer Ahrens
4a781dd8f2 [ReactNative] fix exception handler method name 2015-04-08 21:13:50 -08:00