Pieter De Baets
f9e81d9bcc
Fix OSS iOS build
...
Reviewed By: majak
Differential Revision: D2943923
fb-gh-sync-id: d0a827780ee93a1e702295198c65729b1a72f045
shipit-source-id: d0a827780ee93a1e702295198c65729b1a72f045
2016-02-17 07:38:33 -08:00
Konstantin Raev
f73f41779a
Fixed relative links in generated docs
...
Summary:Relative links did not have 'docs/' prefix, so all of them lead to 404 page.
Fixes #5964
Closes https://github.com/facebook/react-native/pull/5975
Differential Revision: D2943886
Pulled By: androidtrunkagent
fb-gh-sync-id: dbc2355ecf7ea4f1dea0f8f6a5ef50e5f324dfda
shipit-source-id: dbc2355ecf7ea4f1dea0f8f6a5ef50e5f324dfda
2016-02-17 07:30:45 -08:00
Chris Hopman
1e8991aa80
Add android ndk dep
...
Reviewed By: astreet
Differential Revision: D2943695
fb-gh-sync-id: a444b2506b7aadd200f5cd0fef626ce7fe66c660
shipit-source-id: a444b2506b7aadd200f5cd0fef626ce7fe66c660
2016-02-17 04:08:34 -08:00
Dave Miller
d0f1466cdd
Default javaScriptEnabled to true
...
Summary:public
Default javaScriptEnabled to true on Android WebView
Also remove an old (about 6 weeks old) warning about a back compat supported property
Reviewed By: nicklockwood
Differential Revision: D2939482
fb-gh-sync-id: 2d476c3365f657da27ea370a033b23154750c2ea
shipit-source-id: 2d476c3365f657da27ea370a033b23154750c2ea
2016-02-17 04:05:29 -08:00
Hedger Wang
011dc8904f
Unbreak master build.
...
Summary:public
== cause ==
The follow block is error-prone.
```
for (ReactInstanceEventListener listener : mReactInstanceEventListeners) {
listener.onReactContextInitialized(reactContext);
}
```
Because calling `listener.onReactContextInitialized` may have side-effect that
removes the `listener` from `mReactInstanceEventListeners`, thus break the
iteration with exception.
I've found at least one place that has such side-effect
diffusion/FA/browse/master/java/com/facebook/fbreact/autoupdater/AutoUpdaterScheduler.java;9c09e5bbd411e093fb2ad022ee5d0ea473e9ebfe$32
The right way to fix this is to be side-effect proof.
Reviewed By: zahanm
Differential Revision: D2943494
fb-gh-sync-id: ba848ea736c5d2d0b8ef0b5a899603d734781361
shipit-source-id: ba848ea736c5d2d0b8ef0b5a899603d734781361
2016-02-17 02:29:28 -08:00
Sreejumon
d8e07eab95
XMLHttpRequest.DONE is not defined. Fixes #5883
...
Summary:https://github.com/facebook/react-native/issues/5883
Closes https://github.com/facebook/react-native/pull/5895
Differential Revision: D2943443
Pulled By: androidtrunkagent
fb-gh-sync-id: 1c1c1d69dd0ad4fb28f23fa956d843464f693b43
shipit-source-id: 1c1c1d69dd0ad4fb28f23fa956d843464f693b43
2016-02-16 23:59:33 -08:00
Walter Luh
dab24b4a6c
Enable persistent socket between packager and bridge (1/N).
...
Reviewed By: javache
Differential Revision: D2920590
fb-gh-sync-id: 120d812d1e9bcb79b186d3e41e8f7e153ca34f8b
shipit-source-id: 120d812d1e9bcb79b186d3e41e8f7e153ca34f8b
2016-02-16 23:05:36 -08:00
Josh Buchea
1172e6478f
Add missing comma
...
Summary: Closes https://github.com/facebook/react-native/pull/5965
Differential Revision: D2941870
Pulled By: androidtrunkagent
fb-gh-sync-id: efec0b07dd9614fc4d3937a290c3f243cba46718
shipit-source-id: efec0b07dd9614fc4d3937a290c3f243cba46718
2016-02-16 17:04:27 -08:00
Jesse Ruder
0176ac488e
Add hitSlop prop on iOS and Android
...
Summary:New prop `hitSlop` allows extending the touch area of Touchable components. This makes it easier to touch small buttons without needing to change your styles.
It takes `top`, `bottom`, `left`, and `right` same as the `pressRetentionOffset` prop. When a touch is moved, `hitSlop` is combined with `pressRetentionOffset` to determine how far the touch can move off the button before deactivating the button.
On Android I had to add a new file `ids.xml` to generate a unique ID to use for the tag where I store the `hitSlop` state. The iOS side is more straightforward.
terribleben worked on the iOS and JS parts of this diff.
Fixes #110
Closes https://github.com/facebook/react-native/pull/5720
Differential Revision: D2941671
Pulled By: androidtrunkagent
fb-gh-sync-id: 07e3eb8b6a36eebf76968fdaac3c6ac335603194
shipit-source-id: 07e3eb8b6a36eebf76968fdaac3c6ac335603194
2016-02-16 16:51:39 -08:00
Matthew Dapena-Tretter
ecf6981093
Only freeze valid attributes in `mountComponent`
...
Reviewed By: spicyj
Differential Revision: D2939910
fb-gh-sync-id: 2efe6ecd6d888d4185a8cc74ba9adbe7c68bcd3b
shipit-source-id: 2efe6ecd6d888d4185a8cc74ba9adbe7c68bcd3b
2016-02-16 13:58:33 -08:00
Josh Buchea
d1dbe2dfa6
Add My IP to showcase
...
Summary: Closes https://github.com/facebook/react-native/pull/5961
Differential Revision: D2940219
Pulled By: androidtrunkagent
fb-gh-sync-id: 4f9623fb7fe462939982bd98cb789f3ec358509b
shipit-source-id: 4f9623fb7fe462939982bd98cb789f3ec358509b
2016-02-16 13:29:34 -08:00
Nick Lockwood
0427c3d273
Added throttling on requests made by RCTImageLoader
...
Reviewed By: javache
Differential Revision: D2938143
fb-gh-sync-id: bac1185d4792dcca0012905126c9ef2aa45905d5
shipit-source-id: bac1185d4792dcca0012905126c9ef2aa45905d5
2016-02-16 12:42:34 -08:00
Felix Oghina
07a5f4407f
add removeReactInstanceEventListener and call it from onDestroy
...
Reviewed By: zahanm
Differential Revision: D2937547
fb-gh-sync-id: 95461fdada8ac86d2c4174dae7023c97a3101e2e
shipit-source-id: 95461fdada8ac86d2c4174dae7023c97a3101e2e
2016-02-16 12:16:11 -08:00
Hedger Wang
f74981ac32
Add `@providesModule NavigatorExample` to NavigatorExample.js
...
Reviewed By: fkgozali
Differential Revision: D2936536
fb-gh-sync-id: 06923aa269d1687a562624de00e7a06328e6861d
shipit-source-id: 06923aa269d1687a562624de00e7a06328e6861d
2016-02-16 11:59:36 -08:00
Adam Ernst
97c799a680
Update README.md
...
Reviewed By: svcscm
Differential Revision: D2924282
fb-gh-sync-id: fe845cfa775470dc71dac8ab3bc62681e04f4f13
shipit-source-id: fe845cfa775470dc71dac8ab3bc62681e04f4f13
2016-02-16 11:59:29 -08:00
Konstantin Raev
3e52df8c2a
Using an updated version of Sinopia that works with node 4&5
...
Differential Revision: D2939188
fb-gh-sync-id: 0189d820c818df249ed26dbeb0d2d6e1d43c82b1
shipit-source-id: 0189d820c818df249ed26dbeb0d2d6e1d43c82b1
2016-02-16 10:57:08 -08:00
Martin Konicek
41789e7929
Simplify docs on generating Android release APK
...
Reviewed By: mkonicek
Differential Revision:D2939525
Ninja: Open source docs only
fb-gh-sync-id: bf5d0cd84a148bf366e15d22f934721151a35ef4
shipit-source-id: bf5d0cd84a148bf366e15d22f934721151a35ef4
2016-02-16 10:56:55 -08:00
Andy Street
e1fed608e8
Fix double-destruct of string on syntax error
...
Reviewed By: davidaurelio
Differential Revision: D2939260
fb-gh-sync-id: b080b70aae7e33297d549d387e40bde07f4fc765
shipit-source-id: b080b70aae7e33297d549d387e40bde07f4fc765
2016-02-16 10:56:45 -08:00
Martin Konicek
027f26df57
Add back apps to showcase, making fbsource and GitHub consistent
...
Reviewed By: mkonicek
Differential Revision:D2939055
Ninja: React Native website
fb-gh-sync-id: da9001a696240af5bb66f95c724ac62282ede4f7
shipit-source-id: da9001a696240af5bb66f95c724ac62282ede4f7
2016-02-16 07:02:30 -08:00
Satyajit Sahoo
8f19f5bef4
Annotate WebSocket with Flow
...
Reviewed By: svcscm
Differential Revision: D2938267
fb-gh-sync-id: b67623b79327bb78b5fab2ea492925ed20b17c1a
shipit-source-id: b67623b79327bb78b5fab2ea492925ed20b17c1a
2016-02-16 03:29:52 -08:00
Janic Duplessis
edbe6a2b24
Add imperative API to StatusBar
...
Reviewed By: svcscm
Differential Revision: D2938743
fb-gh-sync-id: 30af304efd5b089854d9a8defc1b77fd8e817d13
shipit-source-id: 30af304efd5b089854d9a8defc1b77fd8e817d13
2016-02-16 03:04:49 -08:00
Christoph Pojer
9a918ef48f
Improve performance of node-haste2 and react-packager
...
Reviewed By: davidaurelio
Differential Revision: D2911210
fb-gh-sync-id: 8ac2f213e8a9e089281bb065f9a7190d2e0f5b18
shipit-source-id: 8ac2f213e8a9e089281bb065f9a7190d2e0f5b18
2016-02-16 02:01:59 -08:00
Xavier Carpentier
9856a97267
Add sneat app
...
Reviewed By: svcscm
Differential Revision: D2938292
fb-gh-sync-id: 72064ac712fd9fa011b406a35d60bf098ca6c994
shipit-source-id: 72064ac712fd9fa011b406a35d60bf098ca6c994
2016-02-16 02:01:52 -08:00
Janic Duplessis
fa638c7997
Remove React Devtools from debugging docs
...
Reviewed By: svcscm
Differential Revision: D2938227
fb-gh-sync-id: 3eb495509f99de448722cceef903d16f49dae88e
shipit-source-id: 3eb495509f99de448722cceef903d16f49dae88e
2016-02-16 02:01:09 -08:00
Brent Vatne
c6a8fb977d
Fix links to Flexbox / ShadowPropTypesIOS / Transforms in styles
...
Reviewed By: svcscm
Differential Revision: D2938201
fb-gh-sync-id: c20790fa69984f0b592c48fbfdca74f3dfc9d14d
shipit-source-id: c20790fa69984f0b592c48fbfdca74f3dfc9d14d
2016-02-16 02:01:05 -08:00
trave7er
4237a27ec9
pick up some easy-to-fix lint warnings
...
Reviewed By: svcscm
Differential Revision: D2938097
fb-gh-sync-id: e3373bd44267251d8351d5203be1c88676aa8685
shipit-source-id: e3373bd44267251d8351d5203be1c88676aa8685
2016-02-16 02:00:57 -08:00
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