Tadeu Zagallo
cb3a07306e
Expose `RCTPerformanceNow`, microsecond precision time for JavaScript
...
Summary: public
Expose a more precise timer, millisecond precision is enough to measure small operations.
Reviewed By: javache
Differential Revision: D2604218
fb-gh-sync-id: ba50c891b5690575548fe04ba1ae7d015bc31d90
2015-11-02 08:15:29 -08:00
Tadeu Zagallo
ccd90e25c1
Convert remaining uses of alloc] init] to new]
...
Summary: public
We moved to using `new` instead of `alloc] init` but there was still some calls
left.
Reviewed By: javache
Differential Revision: D2604679
fb-gh-sync-id: ff7300ecbedb55dd5e93873592598810c9b87808
2015-11-02 08:03:17 -08:00
Nick Lockwood
0a28ce480e
Merge pull request #3834 from springuper/springuper/fix-comma
...
fix missing comma
2015-11-02 15:43:50 +00:00
Tadeu Zagallo
23f7c3acd9
Reenable JS calls to systrace on reload
...
Summary: public
After reloading the JS side of the profiler wasn't being reenabled.
Reviewed By: javache
Differential Revision: D2602258
fb-gh-sync-id: 5de8afb829e9fa8225600e2b0ff9e00313ac1d4c
2015-11-02 05:35:35 -08:00
springuper
eecdd88284
fix missing comma
2015-11-02 15:54:11 +08:00
Tadeu Zagallo
d33e84dde5
Use nativeTrace(Begin|End)Section directly from BridgeProfiling
...
Summary: public
Call the native bindings explicitly from BridgeProfiling instead of polyfill'ing `console.profile` with
a function that has a different signature.
Reviewed By: vjeux
Differential Revision: D2602313
fb-gh-sync-id: 9295eff9458f2caa35b7e982c0f7c06dbe65fd09
2015-10-31 16:43:28 -07:00
Martin Konicek
7ae39f83ac
Update RunningOnDeviceAndroid.md
2015-10-31 17:13:32 +00:00
Martin Konicek
d98d4e6952
Update RunningOnDeviceAndroid.md
2015-10-31 16:30:25 +00:00
Martin Konicek
9dec2b4a02
Update RunningOnDeviceAndroid.md
2015-10-31 16:29:45 +00:00
Martin Konicek
156609a2a6
Update RunningOnDeviceAndroid.md
2015-10-31 16:29:13 +00:00
Martin Konicek
b22d6a66d1
Update RunningOnDeviceAndroid.md
2015-10-31 16:25:10 +00:00
Martin Konicek
b48f5a4c75
Update RunningOnDeviceAndroid.md
2015-10-31 16:18:50 +00:00
Martin Konicek
12bbf5b16f
Update RunningOnDeviceAndroid.md
2015-10-31 16:17:06 +00:00
Aaron Chiu
f8b8fa40fd
fix calls to ReactInstanceManager.onResume()
...
Differential Revision: D2604172
fb-gh-sync-id: 8993b221c55ebe9f1882d203b1729dfce45795ef
2015-10-31 06:26:27 -07:00
Aaron Chiu
c4d780d904
fix packager compilation error
...
Differential Revision: D2604171
fb-gh-sync-id: 11decf6c8b689b903bd9c4fd9aca2ea626cc1d43
2015-10-31 06:14:26 -07:00
Pieter De Baets
6ab2719bff
Make <Modal> visible by default
...
Summary: Make <Modal> visible by default and fix the scenario where we present a modal immediately when adding it to the view hierarchy.
Closes #3724
Closes #2952
public
Reviewed By: nicklockwood
Differential Revision: D2595938
fb-gh-sync-id: 1571790d36fe486f1fbbed9f2d66f1e6add73d91
2015-10-30 17:09:27 -07:00
Tadeu Zagallo
287e0e3c49
Add RCTPerformanceLogger data to PerfMonitor
...
Summary: public
Add information the times recorded by RCTPerformanceLogger to RCTPerfMonitor,
tap the monitor to show a table view with the data.
Reviewed By: jspahrsummers
Differential Revision: D2595372
fb-gh-sync-id: dc3b73af71b6d7f258e4e5991116bbc6cedc21fb
2015-10-30 16:57:30 -07:00
Aaron Chiu
3ee3041d68
Hook up onActivityResult into react native and fb4a
...
Differential Revision: D2602975
fb-gh-sync-id: 3b81f059ee4dca2b63ce07304a552e9deaa28909
2015-10-30 16:49:27 -07:00
aleclarsoniv
97f9aa842c
Add 'onMoveShouldSetResponderCapture' to 'propTypes'
...
Summary: Closes https://github.com/facebook/react-native/pull/3777
Reviewed By: svcscm
Differential Revision: D2602708
Pulled By: javache
fb-gh-sync-id: 8259ffd4cdd3d0c052e94ac50a9020d6da59ded7
2015-10-30 16:38:27 -07:00
Aaron Chiu
c69c862b9e
revert D2602236
...
fb-gh-sync-id: 251cc97cea632db68d742d51f9ecd6de335b7a23
2015-10-30 15:25:29 -07:00
Tadeu Zagallo
010380cca6
Fix CPU profiler upload
...
Summary: public
Changes were made on the packager that broke the CPU profile upload route,
fix it.
Reviewed By: martinbigio
Differential Revision: D2585184
fb-gh-sync-id: 206744f92d403d6851a69891dfac0c4c11bf1b7e
2015-10-30 14:46:00 -07:00
Aaron Chiu
0522db4dac
Hook up onActivityResult into react native and fb4a
...
Differential Revision: D2602236
fb-gh-sync-id: 1e623110ae915316ba179e17eff86a8dd2b25034
2015-10-30 14:36:25 -07:00
James Ide
9e84f77e90
Merge pull request #3786 from zpao/docs-npm3
...
Make sure the docs build with npm3 and npm2
2015-10-30 12:52:06 -07:00
James Ide
515b3483b2
Merge pull request #3801 from exponentjs/remove-hit-test-docs
...
[Docs] Remove section on how transparent views don't receive touches on iOS
2015-10-30 12:50:48 -07:00
James Ide
b27127ee1f
[Docs] Remove section on how transparent views don't receive touches on iOS
...
After 77272d5a91
/ D2574937, transparent views (managed by RN) on iOS now receive touch events. The code sample from the Known Issues section is now a UIExplorer example, and you can't tap the TouchableOpacity button because the transparent overlay is intercepting touches (which matches the behavior on other platforms).
2015-10-30 12:32:22 -07:00
Alexey Lang
9fe36beec9
Log JSBundleRequireTime and JSAppRequireTime.
...
Reviewed By: javache
Differential Revision: D2590707
fb-gh-sync-id: 4c306342b5725aaaac1d8fa0257ef860e446b0d4
2015-10-30 12:06:29 -07:00
Ryan Olson
cf0a28265a
Use UIAlertController when available in AlertIOS
...
Reviewed By: nicklockwood
Differential Revision: D2579164
fb-gh-sync-id: 310361585f8380429b631194147553d014ca5076
2015-10-30 11:26:27 -07:00
Adrov Igor
fe42a28de1
Add response headers to XHR response
...
Summary: This is code from https://github.com/facebook/react-native/pull/3062 with fix for support multiple values from qbig
Closes https://github.com/facebook/react-native/pull/3709
Reviewed By: svcscm
Differential Revision: D2595944
Pulled By: astreet
fb-gh-sync-id: 2ff78de412f53932e29953b4e2ae6ff7be78eae3
2015-10-30 11:23:25 -07:00
Hedger Wang
a33fe94dac
build nested navigation context based on the hierarchy of navigators.
...
Reviewed By: zjj010104
Differential Revision: D2598388
fb-gh-sync-id: 9655bcc86021678984e2a29df20ad2496a1762d1
2015-10-30 11:09:28 -07:00
Naomi Jacobs
854689dcfa
Add fetch's clone function to Request and Response prototypes
...
Summary: Fetch includes a cloning function that was not included in the React Native fetch.js. This adds it in so that cloning is available on responses from fetch calls in React Native. The code is taken directly from [fetch](https://github.com/github/fetch/blob/master/fetch.js ) on Github.
<img width="601" alt="screen shot 2015-10-22 at 11 50 53 am" src="https://cloud.githubusercontent.com/assets/11564650/10675101/304ebe5a-78b3-11e5-9d6b-24ea6d9fb998.png ">
<img width="596" alt="screen shot 2015-10-22 at 12 20 08 pm" src="https://cloud.githubusercontent.com/assets/11564650/10675834/4abaf4ee-78b7-11e5-9d34-436290b64b30.png ">
Closes https://github.com/facebook/react-native/pull/3614
Reviewed By: svcscm
Differential Revision: D2600517
Pulled By: sahrens
fb-gh-sync-id: d70c5c58e923d997f93bb5aa2d1d90e95d5a75f2
2015-10-30 10:57:33 -07:00
Pawel Sienkowski
db71dde10a
Props setter for RCTRootView
...
Reviewed By: javache
Differential Revision: D2587673
fb-gh-sync-id: 79fff15b625ed9f4856ec75246ecafd1f7ef95f1
2015-10-30 09:28:27 -07:00
Elliot Lynde
f96c92d75c
Add OkHttpClient to NetworkingModule constructor
...
Reviewed By: sahrens
Differential Revision: D2600266
fb-gh-sync-id: 168195567d0dca819e53d5e3f0f7cfb24f415b63
2015-10-30 09:20:27 -07:00
Nick Lockwood
0d14d0f1ce
Improved SliderIOS
...
Summary: public
* No longer sends events when not observing valueChanged.
* Snaps to step value while dragging.
* Added additional example to UIExplorer.
Reviewed By: javache
Differential Revision: D2595594
fb-gh-sync-id: 1e92427d2ab2e71e4eb4a9a7a75cd0f5f4a3a529
2015-10-30 09:13:26 -07:00
Martin Konicek
2fa58b58f9
Merge pull request #3749 from facebook/cli-testing-alternative-workflow
...
Steps for alternative testing workflow of the cli
2015-10-30 15:03:20 +00:00
Ivan Sorokin
e409e20d2b
Step support for SliderIOS
...
Summary: Add step support to SliderIOS
Closes https://github.com/facebook/react-native/pull/3746
Reviewed By: svcscm
Differential Revision: D2595360
Pulled By: nicklockwood
fb-gh-sync-id: 4adf8bcdf46c709776d779244ba3de2b40eb27d6
2015-10-30 07:18:28 -07:00
Martin Konicek
c16ffd3162
Update RunningOnDeviceAndroid.md
2015-10-30 11:30:47 +00:00
Martin Konicek
a02240c2ab
Update RunningOnDeviceAndroid.md
2015-10-30 11:27:37 +00:00
Milen Dzhumerov
77272d5a91
Hit testing now treats views with 0.0 opacity as interactable
...
Reviewed By: nicklockwood
Differential Revision: D2574937
fb-gh-sync-id: 63629cd61cbd7cab93346b4dd91a32703d4f56e0
2015-10-30 04:14:25 -07:00
Paul O’Shannessy
d8c7f8e8bf
Make sure the docs build with npm3 and npm2
2015-10-29 22:49:34 -07:00
Nick Lockwood
9f4da92195
Fixed UIExplorer tests + async methods
...
Summary: public
UIExplorer tests were broken due to a refactor that didn't update the RCTShadowViewTests + an off-by-one error in the logic for exporting async methods.
Reviewed By: javache
Differential Revision: D2595810
fb-gh-sync-id: c25a8b8956bff1ef2754bba4a8f10d72a16e2954
2015-10-29 15:57:29 -07:00
James Ide
516196b260
Merge pull request #3781 from kirkness/master
...
Added Rota Employer & Worker to showcase
2015-10-29 14:53:04 -07:00
Oleg Lokhvitsky
26e3bf97d3
Revert D2590497
...
Reviewed By: pvulgaris
Differential Revision: D2597148
fb-gh-sync-id: a8b6e7c3a90a8a1eaefc996d6243c4a171df37c8
2015-10-29 14:35:32 -07:00
Henry Kirkness
3e2c5dab7c
Added Rota Employer & Worker
2015-10-29 20:39:28 +00:00
Tadeu Zagallo
70585f0724
Fix typo in the enableBytecode symbol
...
Summary: public
s/ByteCode/Bytecode/
Reviewed By: mikearmstrong001
Differential Revision: D2595940
fb-gh-sync-id: dc41d0354ef7f11e98cababcdb6d9a722d28b374
2015-10-29 11:53:36 -07:00
Alex Kotliarskyi
9a93a3cba4
Use pre-bundled elements inspector
...
Reviewed By: spicyj
Differential Revision: D2588448
fb-gh-sync-id: 278631c1de78cac2bfd9950809feddbe3f630ad0
2015-10-29 11:21:32 -07:00
Andr3wHur5t
22cc044a67
Added support for toggling POI visibility on iOS map view.
...
Summary: Adds support for toggling points of interests visibility on iOS map view; resolving #3244
Closes https://github.com/facebook/react-native/pull/3631
Reviewed By: svcscm
Differential Revision: D2575148
Pulled By: nicklockwood
fb-gh-sync-id: 0d0ee9d3b4726aa40bc439bc2f36d1db4cae1147
2015-10-29 11:02:25 -07:00
Chace Liang
f5b2659f35
unbreak madman save button
...
Reviewed By: fkgozali
Differential Revision: D2594398
fb-gh-sync-id: ad8f47c0c259e3aec4e9c99f10d06173fcd4f8b4
2015-10-29 10:57:50 -07:00
Martin Konicek
8167f40163
Document that WebView is iOS-only until we open source the Android implementation
...
Summary: The absence of docs can be confusing:
https://twitter.com/40_thieves/status/659500246632939520
public
Reviewed By: davidaurelio
Differential Revision: D2595809
fb-gh-sync-id: b741263782ad579bb40e94a383992dca3a6e8040
2015-10-29 10:09:34 -07:00
Martin Konicek
5518279610
Add gradle wrapper
...
Reviewed By: astreet
Differential Revision: D2590921
fb-gh-sync-id: cf870c96f772c06e1a8b69014ebd906978ea8c00
2015-10-29 10:09:29 -07:00
Martin Konicek
84f7602ed8
Temp remove Gradle wrapper
2015-10-29 17:08:30 +00:00