Commit Graph

1200 Commits

Author SHA1 Message Date
Philipp von Weitershausen fd8bc3b5f6 [ReactNative] Get rid of another pair of unnecessary Dimensions.get('window') 2015-04-16 12:10:55 -08:00
Eric Vicenti e382894ef3 [ReactNative] Navigator fix BackAndroid warning on iOS 2015-04-16 10:28:19 -08:00
Eric Vicenti b3a2d6c574 [ReactNative] Navigator initially render all scenes 2015-04-16 10:19:52 -08:00
Tadeu Zagallo 50c9c616fb [ReactNative] Call invalidate when executor is deallocated 2015-04-16 08:45:42 -08:00
Krzysztof Magiera 679399289d [react_native] Fix loadSourceMap problem with annotation section that prevents it from being loaded by packager. 2015-04-16 07:28:55 -08:00
Andrei Coman 486d871a7b [react_native] JS files from D1997727: [react_native] TextInput rename value to text 2015-04-16 07:04:02 -08:00
Nick Lockwood 0b505901ba Fixed map annotation crash 2015-04-16 04:29:35 -08:00
Herman Schaaf 49c928b76b [docs] change 'whenever' to 'whether' 2015-04-16 17:38:28 +09:00
Brent Vatne 2cc3c50235 Merge pull request #865 from ide/remap-docs
[Docs] Fix formatting for "JavaScript method names" section in docs
2015-04-15 14:53:53 -07:00
James Ide d2b06138e7 [Docs] Fix formatting for "JavaScript method names" section in docs
Simple fix - GitHub's markdown is processed differently than Jekyll's, so just fixing things up to look better.
2015-04-15 14:07:00 -07:00
Alex Kotliarskyi df77c5ef1c Add test target to SampleApp 2015-04-15 09:26:57 -08:00
Christopher Chedeau 862d9fba09 Merge pull request #852 from vjeux/import_everycommit
Import everycommit
2015-04-15 09:16:29 -07:00
Christopher Chedeau 970dd8acca Merge branch 'oss-sync/master' into import_everycommit 2015-04-15 08:50:27 -07:00
Tadeu Zagallo 75e4e124fa [ReactNative] Use a single DisplayLink held by the bridge 2015-04-15 07:07:48 -08:00
Forbes Lindesay 4f8b2825a0 Replace ES6Promise with Promise 2015-04-15 06:06:29 -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>
![mapview-pinannotation](https://cloud.githubusercontent.com/assets/845379/7100280/6c1ffc08-dfe5-11e4-9d1b-8da6a65da1bc.png)

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
Kevin Gozali e362fb2095 [ReactNative] Move image asset loading to a queue 2015-04-14 18:03:11 -08:00
Christopher Chedeau 99bbd4a38c Merge branch 'oss-sync/master' into HEAD 2015-04-14 18:16:23 -07:00
Ben Alpert bac60f5f0d Merge pull request #850 from jinghao/patch-2
Fix typo in NativeModulesIOS.md
2015-04-14 17:17:17 -07:00
Jinghao Yan d1f42a82d2 Fix typo in NativeModulesIOS.md 2015-04-14 17:08:45 -07:00
Amjad Masad 758dd0d376 [react-packager] Add Array.prototype.es6 polyfill 2015-04-14 15:15:53 -08:00
Blixt f7aeefa521 Fix typo in PanResponder documentation
Summary:
The documentation said the config object expected `onResponderTerminationRequest` but it expects `onPanResponderTerminationRequest`.
Closes https://github.com/facebook/react-native/pull/834
Github Author: Blixt <me@blixt.nyc>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-14 15:03:30 -08:00
James Ide e193a13ef7 [Bridge] `RCT_REMAP_METHOD(js_name, selector)`
Summary:
cc @a2 @nicklockwood

This diff introduces a new macro called `RCT_EXPORT_NAMED_METHOD`, which is like `RCT_EXPORT_METHOD` but lets you choose the name of the method in JS. This diff is backwards compatible with the `RCT_EXPORT_METHOD` and legacy `RCT_EXPORT` macros.

The entries in the data segment now contain `__func__`, the Obj-C selector signature, and the JS name. If the JS name is `NULL`, we take the legacy `RCT_EXPORT` code path. If the JS name is an empty string, we use the Obj-C selector's name up to the first colon (that is, the behavior of `RCT_EXPORT_METHOD`).

Since there are three values in each data segment entry, the macros now specify 1-byte alignment. Without the byte alignment, the compiler defaults to 2-byte alignment meaning that each entry takes up 4 bytes instead of 3. The extra byte isn't a concern but being explicit about the alignment should reduce compiler surprises.
Closes https://github.com/facebook/react-native/pull/802
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-14 12:55:19 -08:00
Alexander Kotliarskyi 323336b44d Merge pull request #842 from alanchenup/master
change to git clone https://github.com/facebook/react-native.git
2015-04-14 13:46:19 -07:00
Alexander Kotliarskyi 91db62b686 Merge pull request #815 from frantic/sample-app-test
Add flowconfig to SampleApp
2015-04-14 13:21:31 -07:00
Amjad Masad 5bbb351816 [react-packager] Support @nx resolution postfix for assets 2015-04-14 10:43:39 -08:00
Alex Kotliarskyi 9b513ede77 Add flowconfig to SampleApp 2015-04-14 11:36:13 -07:00
Philipp von Weitershausen 62d7cd643d [ReactNative] allow running JS app server for Android from fbobjc 2015-04-14 10:28:07 -08:00
Amjad Masad 320605e5af [react-packager] Update sane to get windows fixes (and others) 2015-04-14 09:56:32 -08:00
alanchen b03cb256e6 change to git clone https://github.com/facebook/react-native.git 2015-04-14 15:46:06 +08:00
Tim Yung 569bbaaa81 React Native: Sync Transforms and Enable Trailing Commas 2015-04-13 16:11:22 -08:00
Tim Yung d135da9193 React Native: Add String.prototyp.es6 Polyfill 2015-04-13 13:25:35 -08:00
Alex Kotliarskyi b8d44d3f36 [ReactNative] Fix logging 2015-04-13 12:51:20 -08:00
Tim Yung 29696a26eb React Native: Fix InteractionManager Race Condition 2015-04-13 11:14:11 -08:00
Scott Wolchok db45ed4a53 [ipasize][ReactKit] Begin to ensmallen RCTConvert 2015-04-13 10:25:13 -08:00
Kevin Gozali 03a54c56f9 [ReactNative] Reverted D1986572 2015-04-13 09:43:26 -08:00
Tadeu Zagallo f8beaa5dde [ReactNative] Make RCTRootView propage motions 2015-04-13 08:14:39 -08:00
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