Satyajit Sahoo
f4857a6d42
Implement WebSocket module for Android. Fixes #2837
...
Summary: The JavaScript code for Android is same as the iOS counterpart, I just added few new lines and used arrow functions instead of binding `this`.
Closes https://github.com/facebook/react-native/pull/2839
Reviewed By: @svcscm, @vjeux
Differential Revision: D2498703
Pulled By: @mkonicek
fb-gh-sync-id: 3fe958dd5af0efba00df07515f8e33b5d87eb05b
2015-10-07 08:36:22 -07:00
Andrei Coman
c805157cac
Fix touch target computation
...
Differential Revision: D2516811
fb-gh-sync-id: 1f3490f969912f1eb8f4d49a5daa976314bbc25f
2015-10-07 01:54:22 -07:00
Mike Armstrong
fb90ba6ded
Use new hybrid inheritance for NativeArray and descendants
...
Differential Revision: D2516708
fb-gh-sync-id: 75bc2d7095ffe2c397d5ffb34b621b322b858c3e
2015-10-07 01:02:24 -07:00
Mike Armstrong
8251f1c905
Systrace stub fixes
...
Differential Revision: D2516670
fb-gh-sync-id: 89d7fdce569d4b37633fb4ab4acbeef707d54bac
2015-10-06 23:58:23 -07:00
Martin Konicek
0a419650ce
Open source ViewPagerAndroid
...
Reviewed By: @foghina
Differential Revision: D2513014
fb-gh-sync-id: d9bb668d76939ad85b657233c8b7beac9b244fab
2015-10-06 20:01:21 -07:00
Andrei Coman
a876b234c6
Fix element inspector
...
Differential Revision: D2513268
fb-gh-sync-id: c0c91cc96926eb6d222c7cbc8855342e8594a09f
2015-10-06 11:41:32 -07:00
Mike Armstrong
5d682d65f6
set JS profiling global to true, fix to parsing of strings with ascii value >=128
...
Reviewed By: @mkonicek
Differential Revision: D2512320
fb-gh-sync-id: 098727cd664f0f0cdb0092875a9934a5d7b577f2
2015-10-06 10:29:11 -07:00
Felix Oghina
b5890e1283
use listview for redbox stacktrace, open file on click
...
Reviewed By: @andreicoman11
Differential Revision: D2512364
fb-gh-sync-id: 5f2c90db7eca010185080f726fd3ef0ee519cdbc
2015-10-06 10:29:06 -07:00
Andrei Coman
ea8d0b6c1f
Protect against SQLiteFullExceptions
...
Reviewed By: @kmagiera
Differential Revision: D2512317
fb-gh-sync-id: 93fd65ebd88e42b5afc4e06c0612576101f15c97
2015-10-06 10:28:51 -07:00
Bret Johnson
b7b83e4f12
Fixed to use ; instead of : as the path delimiter on Windows, for NDK_MODULE_PATH
...
Summary: Also fixed the extra slash before first-party in that path (it was ...//first-party
and is now .../first-party). The $dir funct always produces a result that ends with
a /, so APP_MK_DIR always ends in a / and no extra / is needed when appending to it.
With these two changes all of React Native for Android, including C++, seems to
build OK on Windows 😄
Closes https://github.com/facebook/react-native/pull/2961
Reviewed By: @svcscm
Differential Revision: D2512239
Pulled By: @kmagiera
fb-gh-sync-id: 4fbc9fc85bab455b8ed1e07a8ac299a48921753e
2015-10-06 10:28:46 -07:00
Felix Oghină
787895e903
check for destroyed instance before calling native method
...
Differential Revision: D2508050
2015-10-05 09:30:51 -07:00
Mike Armstrong
17c49e2879
systrace of Fresco
...
Differential Revision: D2507874
2015-10-05 08:07:31 -07:00
Mike Armstrong
4a5fed3c42
Markers for JSC and Bridge Initialization
...
Differential Revision: D2507869
2015-10-05 08:07:23 -07:00
Amir Rosenfeld
22d507a680
robust native in fbobjc
...
Reviewed By: @fkgozali
Differential Revision: D2505371
2015-10-02 18:22:23 -07:00
Mike Armstrong
c5b82fe600
Capture java side sampling at the same time as JavaScript
...
Differential Revision: D2503123
2015-10-02 10:18:24 -07:00
Mehdi Mulani
1d8d3d779a
Backout ReactNative sync as some tests broke
2015-10-02 06:55:23 -07:00
Felix Oghină
3dcc234efd
do not destroy instance when handling exception
...
Differential Revision: D2502513
2015-10-02 03:45:24 -07:00
Aaron Chiu
ebb92ad2cc
fix white space in ReactImageManager.java
...
Differential Revision: D2498072
2015-10-01 02:31:23 -07:00
Aaron Chiu
2cc8acf2e3
enabled border width and border color (sync diff 2)
...
Differential Revision: D2497575
2015-10-01 00:28:20 -07:00
olivier notteghem
2bded4cb2e
Add log output to rule out that multiple react context creation are responsible for increased mem / image not loading in CTScan
...
Reviewed By: @krangarajan
Differential Revision: D2495435
2015-09-30 14:11:24 -07:00
Felix Oghină
5ca5ec7688
add remote image support to toolbar
...
Differential Revision: D2493627
2015-09-30 09:21:27 -07:00
Felix Oghină
3e7af6e1a4
[SampleApp] adding unsynced changes from PR #3025
2015-09-30 15:15:30 +01:00
Andrei Coman
3b6d029a55
Fix background color issue
...
Differential Revision: D2489578
committer: Service User <svcscm@fb.com>
2015-09-29 09:22:19 -07:00
Christopher Chedeau
bd36e40258
Fix width being ignored when has a value of 0
...
Summary: 8f6a96adbc
added a test in isDimDefined that checks if `value > 0.0`, but unfortunately, it did not faithfully port the JavaScript version which is `value >= 0.0`: https://github.com/facebook/css-layout/blob/master/src/Layout.js#L306 . Sadly, no test covered this so it went unnoticed.
Closes https://github.com/facebook/css-layout/pull/134
Reviewed By: @svcscm
Differential Revision: D2481773
Pulled By: @vjeux
2015-09-25 15:42:21 -07:00
Krzysztof Magiera
656126a2f1
Convert remaining viewmanager to @ReactProp.
...
Differential Revision: D2481816
committer: Service User <svcscm@fb.com>
2015-09-25 15:02:25 -07:00
Olivier Notteghem
dcae4bada0
Sync diff : Enable initializing react context off UI thread
...
Reviewed By: @astreet
Differential Revision: D2480130
2015-09-25 12:54:27 -07:00
Christopher Chedeau
ec8b5425e5
Fix row height
...
Reviewed By: @frantic
Differential Revision: D2480265
2015-09-25 11:25:57 -07:00
Krzysztof Magiera
bf598647d2
Convert View to @ReactProp.
...
Differential Revision: D2479795
committer: Service User <svcscm@fb.com>
2015-09-25 03:14:28 -07:00
Martin Konicek
fcd7de5301
Autoplay GIFs on Android
...
Summary: This adds support for animated GIFs on Android! Looking forward to some meme apps :)
Also, Fresco is awesome.
Closes #2997 .
@public
Reviewed By: @mkonicek
Differential Revision: D2477540
committer: Service User <svcscm@fb.com>
2015-09-24 14:37:24 -07:00
Martin Konicek
dfbee9f558
add dropped frame count to FPS overlay
...
Differential Revision: D2476082
committer: Service User <svcscm@fb.com>
2015-09-24 10:22:40 -07:00
Martin Konicek
bdb11c05a8
Update README.md
2015-09-24 17:18:29 +01:00
Andrei Coman
a37d0f9c20
Dirty hack to consume enter key
...
Differential Revision: D2475863
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:26 -07:00
Andrei Coman
c1e3f9100e
Fix SQL errors caused by huge operations
...
Differential Revision: D2475717
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:23 -07:00
Krzysztof Magiera
5623c831b3
Introducing view property annotation.
...
Differential Revision: D2475680
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:17 -07:00
Krzysztof Magiera
6c3fb77f30
Static type check for int params + migrate colorInt to just int.
...
Differential Revision: D2475618
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:14 -07:00
Andrei Coman
33cc607c1f
AsyncStorage improvements
...
Differential Revision: D2475604
committer: Service User <svcscm@fb.com>
2015-09-24 08:20:08 -07:00
Amir Rosenfeld
da284f6e36
stub Java QPL for OSS
...
Reviewed By: @mkonicek
Differential Revision: D2470258
2015-09-23 10:30:28 -07:00
James Ide
3b68869fc8
Add scrollWithoutAnimationTo to Android
...
Summary: `ScrollView.scrollWithoutAnimationTo` is supported on iOS but not Android. This is an existing API, and this diff adds Android support.
Closes https://github.com/facebook/react-native/pull/2695
Reviewed By: @svcscm
Differential Revision: D2452630
Pulled By: @mkonicek
2015-09-23 05:58:27 -07:00
Bret Johnson
5b0dd6432a
Added a more explicit error message when ndk.dir / ANDROID_NDK is set,
...
Summary: but the NDK build command can't be found in that directory. This
more explicit error now shows the full NDK path where it's looking
and (importantly) includes a hint that backslashes need to be escaped
on Windows for ndk.dir. When I built on Windows the first time,
I didn't realize ndk.dir backslashes needed to be escaped and the
generic "not found" error made the root cause harder to track
down. This change should help others that build on Windows & run into
the same.
Closes https://github.com/facebook/react-native/pull/2960
Reviewed By: @svcscm
Differential Revision: D2470761
Pulled By: @kmagiera
2015-09-23 05:57:24 -07:00
Martin Konicek
c45be4d55a
Test export to github
...
Reviewed By: @mkonicek
Differential Revision: D2467343
committer: Service User <svcscm@fb.com>
2015-09-22 11:34:27 -07:00
Martin Konicek
3f220f6b59
[ReactNative] Export latest Android changes
2015-09-22 18:36:21 +01:00
Martin Konicek
71628638f6
Export latest Android changes
2015-09-22 11:15:50 +01:00
Martin Konicek
6b733bdcf1
Minor fixes in comments
...
Reviewed By: @mkonicek
Differential Revision: D2463595
committer: Service User <svcscm@fb.com>
2015-09-21 14:39:36 -07:00
Martin Konicek
86ff767268
[ReactNative] Fix typo in ReactInstanceManager.java
2015-09-21 16:01:52 +01:00
Martin Konicek
27ab039b6a
Export latest Android changes
2015-09-17 14:33:28 +01:00
Dave Sibiski
96c05c5420
[Docs][Android] Adds NDK download instructions
...
Right now, as the NDK is required, let's guide people to the download & extraction page.
2015-09-16 22:47:36 -04:00
facebook-github-bot-6
6277a88555
Restore unintended sync
2015-09-16 10:38:42 -07:00
facebook-github-bot-6
0d09f22dbf
Get back 100% in sync with fb codebase
2015-09-16 10:30:53 -07:00
Martin Konicek
8a56eab5fb
Update README.md
2015-09-15 20:56:44 +01:00
Martin Konicek
eea4ed391f
Update README.md
2015-09-15 20:43:36 +01:00