Travis Fischer
d31b47c018
Add Text Blast to Example App Showcase
...
Reviewed By: svcscm
Differential Revision: D2936849
fb-gh-sync-id: db5a64f460c682a6e9e6e2b71bebdafe587e4447
shipit-source-id: db5a64f460c682a6e9e6e2b71bebdafe587e4447
2016-02-16 02:00:49 -08:00
Konstantin Raev
fae0335594
trying to fix fbsource sync, reverting showcase.js to how it was on 2.12.2016 at fbsource
2016-02-16 09:57:25 +00:00
briancaw
5c18158aa9
Fixes NativeModules documentation typo
...
Reviewed By: svcscm
Differential Revision: D2938100
fb-gh-sync-id: f2a3a479fb504fdbbae3a864009e290ef9b5539d
shipit-source-id: f2a3a479fb504fdbbae3a864009e290ef9b5539d
2016-02-15 14:56:33 -08:00
sunnylqm
480f7cd348
fix es6 class method
...
Reviewed By: svcscm
Differential Revision: D2938099
fb-gh-sync-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6
shipit-source-id: 1148fdb96ec36a72db6ac4562b12b07ca2fc0af6
2016-02-15 14:55:36 -08:00
Satyajit Sahoo
14ec6f011e
Use promises in 'NetInfo'
...
Reviewed By: svcscm
Differential Revision: D2938010
fb-gh-sync-id: 4a24ce680b37e49759f3325987b4b440eb033b94
shipit-source-id: 4a24ce680b37e49759f3325987b4b440eb033b94
2016-02-15 13:34:33 -08:00
Konstantin Raev
ecb1643fee
Yet another fix for CI to find branch that contaisn tag latest
...
Reviewed By: svcscm
Differential Revision: D2937802
fb-gh-sync-id: 3bd617d5fc7fea42d264acfbd229fd15b335a95d
shipit-source-id: 3bd617d5fc7fea42d264acfbd229fd15b335a95d
2016-02-15 13:08:31 -08:00
Scott Kyle
e5ba46c30d
Expose way for native modules to modify JSC context
...
Reviewed By: svcscm
Differential Revision: D2933197
fb-gh-sync-id: 32eb943ab341804343bbcadd29f0377fccf75de6
shipit-source-id: 32eb943ab341804343bbcadd29f0377fccf75de6
2016-02-15 12:58:29 -08:00
Satyajit Sahoo
46a8f1d8e0
Annotate Clipboard module
...
Reviewed By: svcscm
Differential Revision: D2866837
fb-gh-sync-id: 0f7da139e1296aec6a518d52056a6d0a1b9c07ca
shipit-source-id: 0f7da139e1296aec6a518d52056a6d0a1b9c07ca
2016-02-15 10:05:34 -08:00
Konstantin Raev
51a8b54015
Cleaned up versions.html naming
...
Reviewed By: svcscm
Differential Revision: D2937512
fb-gh-sync-id: 172943b1df26591f6ba56e04a7ccad76ed5bf5e5
shipit-source-id: 172943b1df26591f6ba56e04a7ccad76ed5bf5e5
2016-02-15 08:38:35 -08:00
Konstantin Raev
9753bd9685
Merge pull request #5862 from facebook/ide-patch-1
...
This file is not in internal source code.
Merging directly.
2016-02-15 15:50:40 +00:00
David Aurelio
6c55d5b851
Replace custom rolled stable string hashing with library
...
Reviewed By: cpojer
Differential Revision: D2937202
fb-gh-sync-id: dc08547c71da2bc35cfad108e63fd5e87f0ba734
shipit-source-id: dc08547c71da2bc35cfad108e63fd5e87f0ba734
2016-02-15 06:59:01 -08:00
David Aurelio
d7e5392139
Remove test for missing feature
...
Reviewed By: cpojer
Differential Revision: D2937175
fb-gh-sync-id: 7c348018918a509e1cd681dfa8df9151b94ce765
shipit-source-id: 7c348018918a509e1cd681dfa8df9151b94ce765
2016-02-15 06:33:31 -08:00
Mateusz Zatorski
3ae99d0fea
replace require with es6 import in docs
...
Reviewed By: svcscm
Differential Revision: D2936839
fb-gh-sync-id: 7a921709a37de5e9aadf324d5438d51851326348
shipit-source-id: 7a921709a37de5e9aadf324d5438d51851326348
2016-02-14 15:03:34 -08:00
David Young-chan Kay
2260d900d4
Added guide for getting started on Linux.
...
Reviewed By: svcscm
Differential Revision: D2936728
fb-gh-sync-id: ead3daf31b624e096b12fa8db892724667e87f51
shipit-source-id: ead3daf31b624e096b12fa8db892724667e87f51
2016-02-14 10:36:32 -08:00
Konstantin Raev
1463970f43
fixed a link to android setup docs
...
Reviewed By: svcscm
Differential Revision: D2936714
fb-gh-sync-id: fe97ee55cb5bf5ba736e0e5aa64462e5893a77c8
shipit-source-id: fe97ee55cb5bf5ba736e0e5aa64462e5893a77c8
2016-02-14 09:40:34 -08:00
Adam Miskiewicz
75869519e6
Add npm-shrinkwrap.json to npm
...
Reviewed By: svcscm
Differential Revision: D2933826
fb-gh-sync-id: 48def92bfd9eb929cc092bea90bcbe1ed53f8675
shipit-source-id: 48def92bfd9eb929cc092bea90bcbe1ed53f8675
2016-02-13 15:28:32 -08:00
Ahmed El-Helw
dfacb6c8f2
Fix TextInput in React Nodes
...
Reviewed By: dkoroskin
Differential Revision: D2930800
fb-gh-sync-id: 072d573b29061fb61744a20a459292e271998e8d
shipit-source-id: 072d573b29061fb61744a20a459292e271998e8d
2016-02-12 20:17:30 -08:00
Spencer Ahrens
1c507e6291
return remover function when adding NetInfo listener
...
Reviewed By: dmmiller
Differential Revision: D2931623
fb-gh-sync-id: d67e986e2b4a503c0966a3f90788e207c452f216
shipit-source-id: d67e986e2b4a503c0966a3f90788e207c452f216
2016-02-12 18:09:29 -08:00
Eric Vicenti
1beced56c8
Navigation TicTacToe Example
...
Reviewed By: hedgerwang
Differential Revision: D2931575
fb-gh-sync-id: a60509315da4732d67b9b30bfc61f6d6a16be234
shipit-source-id: a60509315da4732d67b9b30bfc61f6d6a16be234
2016-02-12 15:38:57 -08:00
Brent Vatne
e9f2ff0ee1
Add NavigationExperimental to UIExplorer on Android too
...
Reviewed By: svcscm
Differential Revision: D2933949
fb-gh-sync-id: fab82a3f15813efb3dfdbce56c7e3e0473d8c899
shipit-source-id: fab82a3f15813efb3dfdbce56c7e3e0473d8c899
2016-02-12 15:07:36 -08:00
Konstantin Raev
dec5469853
fixes next version being added to versions.html when master branch is…
...
Reviewed By: svcscm
Differential Revision: D2933806
fb-gh-sync-id: 65faeff07de53539f4a68b1d8811969f9fa8b996
shipit-source-id: 65faeff07de53539f4a68b1d8811969f9fa8b996
2016-02-12 14:58:34 -08:00
Matthew Dapena-Tretter
bb3d8d5350
Ensure recursion is terminated on objects with cyclical references
...
Reviewed By: spicyj
Differential Revision: D2922542
fb-gh-sync-id: 3820569027a5906ff844f1cda5e2e65c2692e235
shipit-source-id: 3820569027a5906ff844f1cda5e2e65c2692e235
2016-02-12 14:56:00 -08:00
Alex Krolick
4b722d6d2a
Add context to async example function in Network docs
...
Reviewed By: svcscm
Differential Revision: D2933584
fb-gh-sync-id: 24436b185791e3fa8047be521894545c08a90ee0
shipit-source-id: 24436b185791e3fa8047be521894545c08a90ee0
2016-02-12 13:39:31 -08:00
Ali Najafizadeh
e6a39a1d18
Update Linking.js
...
Reviewed By: svcscm
Differential Revision: D2933128
fb-gh-sync-id: ef33f88db50d6ddb7dd208b7ba5dab41c1ee2f81
shipit-source-id: ef33f88db50d6ddb7dd208b7ba5dab41c1ee2f81
2016-02-12 12:58:31 -08:00
Konstantin Raev
6c7991c3f2
Added ability to switch version in documentation website
...
Reviewed By: svcscm
Differential Revision: D2932534
fb-gh-sync-id: e67f028c914b64424458dad8fe52e588f6d0cd1c
shipit-source-id: e67f028c914b64424458dad8fe52e588f6d0cd1c
2016-02-12 11:57:35 -08:00
Emily Janzer
e93afad284
Don't show underlay if no press handlers
...
Reviewed By: sahrens
Differential Revision: D2915003
fb-gh-sync-id: 56ba942ed464e393ea43229b1fa9ef6936a24ecc
shipit-source-id: 56ba942ed464e393ea43229b1fa9ef6936a24ecc
2016-02-12 11:32:30 -08:00
Nick Lockwood
194273f5f5
Fixed hitTest crash due to sticky header out-of-range
...
Reviewed By: javache
Differential Revision: D2932227
fb-gh-sync-id: 05d69ec391685dd7e72d3d5f7d56b189a6eab413
shipit-source-id: 05d69ec391685dd7e72d3d5f7d56b189a6eab413
2016-02-12 09:28:21 -08:00
Andy Street
9547264a96
WebWorkers: Rename Bridge.m_jsExecutor -> Bridge.m_mainExecutor
...
Reviewed By: cjhopman
Differential Revision: D2921994
fb-gh-sync-id: ec06b922264a443932eb0446ff820aaf3dcacaa7
shipit-source-id: ec06b922264a443932eb0446ff820aaf3dcacaa7
2016-02-12 09:10:52 -08:00
Andy Street
0de8860a46
Rename executeApplicationScript -> loadApplicationScript
...
Reviewed By: davidaurelio
Differential Revision: D2921959
fb-gh-sync-id: 5bf44f5d037f2341000070f59309df0fab72aa29
shipit-source-id: 5bf44f5d037f2341000070f59309df0fab72aa29
2016-02-12 09:10:46 -08:00
Andy Street
cf7a97cc0f
WebWorkers: Pass Bridge to JSExecutors
...
Reviewed By: cjhopman
Differential Revision: D2921840
fb-gh-sync-id: f89f9ffe2c3bb0dabce7e8cbb9c7dc8b5062e267
shipit-source-id: f89f9ffe2c3bb0dabce7e8cbb9c7dc8b5062e267
2016-02-12 09:10:39 -08:00
Matteo Manchi
0f850b4760
Adding MyPED to React Native Showcase
...
Reviewed By: svcscm
Differential Revision: D2932104
fb-gh-sync-id: 1b315b13fe96bcdd674e056fa650762e466282d6
shipit-source-id: 1b315b13fe96bcdd674e056fa650762e466282d6
2016-02-12 08:50:34 -08:00
Nick Lockwood
313d84d507
Allocate RCTRootView.reactTag when it's first requested, instead of waiting until bundle has loaded.
...
Reviewed By: javache
Differential Revision: D2931937
fb-gh-sync-id: 1cc421a30028e3de1b2d22143edd645d8a34e4d4
shipit-source-id: 1cc421a30028e3de1b2d22143edd645d8a34e4d4
2016-02-12 08:32:36 -08:00
Martín Bigio
3781bf974d
Fix RAM detection logic
...
Reviewed By: davidaurelio
Differential Revision: D2932012
fb-gh-sync-id: ae2340de09ec3a4fae9371c3b8e6148d4ef267b8
shipit-source-id: ae2340de09ec3a4fae9371c3b8e6148d4ef267b8
2016-02-12 08:28:30 -08:00
Adam Miskiewicz
e018aa3100
Enable HMR
...
Reviewed By: svcscm
Differential Revision: D2932137
fb-gh-sync-id: 8bfab09aaac22ae498ac4fa896eee495111abc0d
shipit-source-id: 8bfab09aaac22ae498ac4fa896eee495111abc0d
2016-02-12 08:10:33 -08:00
Satyajit Sahoo
8eddead868
Add a deprecatedCallback helper
...
Reviewed By: svcscm
Differential Revision: D2926943
fb-gh-sync-id: 104bcd076f6427aac92e98081e492101ca78de26
shipit-source-id: 104bcd076f6427aac92e98081e492101ca78de26
2016-02-12 06:21:35 -08:00
David Aurelio
727a2a95d1
Let the module cache depend on transform options
...
Reviewed By: martinbigio
Differential Revision: D2921693
fb-gh-sync-id: 6f95bdb03d59183a1b5f50db16c6aab2b16d3146
shipit-source-id: 6f95bdb03d59183a1b5f50db16c6aab2b16d3146
2016-02-12 06:14:32 -08:00
Thomas Parslow
b5579e807e
Updated RCTPromiseRejectBlock example to use new 3 argument form
...
Reviewed By: svcscm
Differential Revision: D2931949
fb-gh-sync-id: d5da545c882e662f9c5d5b33cc3b152a4269bbb8
shipit-source-id: d5da545c882e662f9c5d5b33cc3b152a4269bbb8
2016-02-12 05:29:31 -08:00
Sreejumon
a7521a23ae
Created empty requestBody to solve the issue - "POST has no body"
...
Reviewed By: svcscm
Differential Revision: D2931739
fb-gh-sync-id: 04b6f59c257a35e4638c4c8f00bbffb34666145f
shipit-source-id: 04b6f59c257a35e4638c4c8f00bbffb34666145f
2016-02-12 04:51:33 -08:00
Pieter De Baets
84f51da123
Make JS async always the top thread in systrace
...
Reviewed By: tadeuzagallo
Differential Revision: D2905828
fb-gh-sync-id: b64cbe6b41771dc94d8d7e6d3610af845b4383f0
shipit-source-id: b64cbe6b41771dc94d8d7e6d3610af845b4383f0
2016-02-12 03:50:35 -08:00
Kevin Johnson
8f363a3f5f
This is supposed to say LifecycleEventListener
...
Reviewed By: svcscm
Differential Revision: D2931715
fb-gh-sync-id: 450c4fc13a87eaba39d06835aa851d7256da7125
shipit-source-id: 450c4fc13a87eaba39d06835aa851d7256da7125
2016-02-12 02:22:39 -08:00
Olivier Notteghem
3e72211cab
fix 'create' animation pivot to be relative to center of component
...
Reviewed By: sahrens
Differential Revision: D2931318
fb-gh-sync-id: b95ab0b5631f1780dab065b58340f25a274d0df9
shipit-source-id: b95ab0b5631f1780dab065b58340f25a274d0df9
2016-02-12 00:12:34 -08:00
Olivier Notteghem
065106678f
Reset the animation config at the end of each batch
...
Reviewed By: sahrens
Differential Revision: D2931343
fb-gh-sync-id: 702b1df543fbdb9b244eb6cc2ce4d8557471004f
shipit-source-id: 702b1df543fbdb9b244eb6cc2ce4d8557471004f
2016-02-12 00:05:35 -08:00
Hedger Wang
5ca9245067
stop wanring about using `onWillFocus` and `onDidFocus`.
...
Reviewed By: chaceliang
Differential Revision: D2925643
fb-gh-sync-id: d12b774b5c43d5369e2c02832d80541b2534fba6
shipit-source-id: d12b774b5c43d5369e2c02832d80541b2534fba6
2016-02-11 22:27:33 -08:00
Felix Oghina
8720d4bc76
strip devsupport from prod builds
...
Reviewed By: zen
Differential Revision: D2912192
fb-gh-sync-id: ff89fc16dcd86481657197055e31d2b67a94e7ea
shipit-source-id: ff89fc16dcd86481657197055e31d2b67a94e7ea
2016-02-11 13:34:37 -08:00
Martin Konicek
8e9b70aa86
Bot testing: Update TicTacToeApp.js
...
Summary:
Just testing the shipit bot
Closes https://github.com/facebook/react-native/pull/5843
Reviewed By: svcscm
Differential Revision: D2917790
Pulled By: mkonicek
fb-gh-sync-id: f73a9bf3aee82d1074f68d650f2bf30ac720a66d
shipit-source-id: f73a9bf3aee82d1074f68d650f2bf30ac720a66d
2016-02-11 08:32:31 -08:00
Konstantin Raev
7d7508e25b
Fixed a wrong github user used for deployment of gh-pages
...
Reviewed By: mkonicek
Differential Revision: D2927075
fb-gh-sync-id: b3a7d1541d11d7d9ebf01f72dac48847750968f8
shipit-source-id: b3a7d1541d11d7d9ebf01f72dac48847750968f8
2016-02-11 08:09:35 -08:00
Andrei Coman
228a1fe7d4
Expose screen metrics and window metrics
...
Summary:
public
https://github.com/facebook/react-native/pull/4935 changed the window dimensions for android by replacing them with the actual screen dimensions. This changes the window dimensions back to their original values and adds `Dimensions.get('screen')` for the actual screen dimensions of the device.
Reviewed By: astreet
Differential Revision: D2921584
fb-gh-sync-id: 5d2677029c71d50691691dc651a11e9c8b115e8f
shipit-source-id: 5d2677029c71d50691691dc651a11e9c8b115e8f
2016-02-11 06:33:36 -08:00
Konstantin Raev
6f1417c849
CI now builds docs website and deploys it to /%version% path
...
Summary:
Copy of #5760 reverted merge.
We need to preserve history of docs changes on the webserver.
The goal is to allow users to browse outdated versions of docs.
To make things simple all websites will be released to https://facebook.github.io/react-native/releases/version/XX folder when there is a branch cut.
I switched from Travis CI to Cirle CI because it works faster and I am more familiar with it.
How it works:
1. If code is pushed to `master` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/next folder.
Github will serve this website from https://facebook.github.io/react-native/releases/version/next URL.
All relative URLs will work within that website
2. If code is pushed to `0.20-stable` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/0.20 folder.
Github will serve this website from https://facebook.github.io/react-native/releases/v
Closes https://github.com/facebook/react-native/pull/5873
Reviewed By: svcscm
Differential Revision: D2926901
Pulled By: androidtrunkagent
fb-gh-sync-id: 16aea430bac815933d9c603f03921cc6353906f1
shipit-source-id: 16aea430bac815933d9c603f03921cc6353906f1
2016-02-11 06:17:42 -08:00
Felix Oghina
0b89b18b1b
format exceptions correctly when crashing
...
Reviewed By: ivank
Differential Revision: D2921881
fb-gh-sync-id: bd35ada33c752877dd3f6274ed8d4b4b7c851b9a
shipit-source-id: bd35ada33c752877dd3f6274ed8d4b4b7c851b9a
2016-02-11 04:37:28 -08:00
Adam Miskiewicz
28116ec3db
Reverted commit D2803288
...
Summary:
As spicyj mentioned in commit 6a838a4
, the ideal state of affairs when it comes to consuming `react` and `fbjs` from NPM is for the packager not to have knowledge of either package. This PR addresses the `fbjs` part of that, and relies on https://github.com/facebook/fbjs/pull/95 . **DO NOT MERGE** until #95 (or a variation) is in `fbjs` and is released to npm.
This PR does several things:
1. Adds stub modules within RN that expose `fbjs` modules to be required using Haste. After discussing a few ideas with spicyj, this seemed like a good option to keep internal FB devs happy (and not make them change the way they write JS), but allow for removing packager complexity and fit in better with the NPM ecosystem. Note -- it skips stubbing `fetch`, `ExecutionEnvironment`, and `ErrorUtils`, due to the fact that these need to have Native specific implementations, and there's no reason for those implementations to exist in `fbjs`.
2. Removes the modules that were previously being used in lieu of their `fbjs` eq
Closes https://github.com/facebook/react-native/pull/5084
Reviewed By: bestander
Differential Revision: D2803288
Pulled By: javache
fb-gh-sync-id: 121ae811ce4cc30e6ea79246f85a1e4f65648ce1
shipit-source-id: 121ae811ce4cc30e6ea79246f85a1e4f65648ce1
2016-02-11 02:45:34 -08:00