Peter Lai
de4cb7d403
Fix crash when double launching activity
...
Reviewed By: AaaChiuuu
Differential Revision: D2633573
fb-gh-sync-id: c47bec903d54c12f4d9e576ad1aaf16d4bd68f30
2015-11-09 14:56:27 -08:00
Krzysztof Magiera
c6532a94a6
Fix default values for translateX/Y props.
...
Reviewed By: andreicoman11
Differential Revision: D2631186
fb-gh-sync-id: 8f898b11be31b253780474d1cf328d7d109decbb
2015-11-09 07:55:27 -08:00
Dmitry Gladkov
b12117a038
Fix View translations in Android
...
Summary: Fixes regression in bf59864
Closes #3773
Closes https://github.com/facebook/react-native/pull/3954
Reviewed By: svcscm
Differential Revision: D2631180
Pulled By: kmagiera
fb-gh-sync-id: 09a1a2e48fd6fff37d1491c120a28221cdc1b163
2015-11-09 00:02:19 -08:00
Pasquale Anatriello
bfeaa6a4f5
Custom fonts support added
...
Reviewed By: andreicoman11
Differential Revision: D2629077
fb-gh-sync-id: 8d647aff13f97d90c5047ad0ddbcae90215ca4ca
2015-11-06 18:15:31 -08:00
Andy Street
853d249468
Add Systrace support for API 18+ in OSS
...
Differential Revision: D2627757
fb-gh-sync-id: a01347800d8e9ffda8759cc17df04f7cd139b17c
2015-11-06 14:02:35 -08:00
Adrov Igor
b6340ee2b0
implement android maxlength prop
...
Summary: Fixes https://github.com/facebook/react-native/issues/3864
But I don't sure that this code is correct.
But it works and works same as in iOS.
Closes https://github.com/facebook/react-native/pull/3873
Reviewed By: mikearmstrong001
Differential Revision: D2626122
Pulled By: andreicoman11
fb-gh-sync-id: 316915c99b218ed5f32ca90fd72ce9810571383a
2015-11-06 13:25:34 -08:00
Alexander Blom
527d11ce01
Support progress in ProgressBarAndroid
...
Differential Revision: D2626321
fb-gh-sync-id: a358a1db8c8f3b4a41dc9a600ee691e6e60310f3
2015-11-06 12:08:29 -08:00
Felix Oghină
9647c5a257
show script eval errors in redbox
...
Differential Revision: D2624801
fb-gh-sync-id: 48741a8caf029415753a4c616a07f18d3660e6fb
2015-11-06 11:43:30 -08:00
Andrei Coman
de586bfa18
Fix text input spans
...
Differential Revision: D2626072
fb-gh-sync-id: 35087d65b8f4a52e44fedc229058c3f88827e539
2015-11-06 08:23:29 -08:00
Pieter De Baets
9d76acc3d6
Fix android log level offset
...
Reviewed By: andreicoman11
Differential Revision: D2625742
fb-gh-sync-id: a373e85b7dd2e0fcb904b61a7728b16f4836c742
2015-11-06 05:02:45 -08:00
Alexander Blom
a797be6ffd
Support 'color' attribute in ProgressBarAndroid
...
Differential Revision: D2625690
fb-gh-sync-id: 34ef656be7ce3304add3fae3e697c6b39b866af1
2015-11-06 02:34:32 -08:00
Krzysztof Magiera
6a656a1491
Speedup gradle builds by setting explicit deps on prepareBoost task.
...
Differential Revision: D2625574
fb-gh-sync-id: db0887e184a6d098699c9f84a2c3cb0d3b7e7b0f
2015-11-06 00:22:28 -08:00
Andy Street
df36e388f1
Accept double args in ScrollView.scrollTo
...
Differential Revision: D2623473
fb-gh-sync-id: 8d4156e67f42d050f0f940d69ca534180d5a0b23
2015-11-05 15:27:27 -08:00
Mike Armstrong
7431f4e182
Fix missing private on member variable
...
Differential Revision: D2620844
fb-gh-sync-id: b9901f46d6fe6a772a48dd091c273c581a383dda
2015-11-05 07:03:36 -08:00
Mike Armstrong
66f7feda4d
Remove NativeRunnables from local references table.
...
Differential Revision: D2620026
fb-gh-sync-id: c105143d3ad932abcaff1407c6434148221753c4
2015-11-04 20:41:28 -08:00
Mike Armstrong
575a4a71b9
Force fresco to go to network
...
Differential Revision: D2619848
fb-gh-sync-id: fe607dd8774c0c5f7122c362d64e4484c0bcce59
2015-11-04 19:44:35 -08:00
Mike Armstrong
97135ee575
Metrics for grey box time
...
Differential Revision: D2619368
fb-gh-sync-id: 4c8105ecff3f4bd0df57042b49ae8b8e722d6b3e
2015-11-04 18:49:29 -08:00
Peter Lai
59ed90dd5f
Fix build break: add java file changes to fbobjc
...
Reviewed By: jingc
Differential Revision: D2617489
fb-gh-sync-id: 3fa37dc52c526c79e3510754606e542b171b3a18
2015-11-04 14:16:26 -08:00
Andrei Coman
5ed8c6732e
Set spans on empty strings
...
Differential Revision: D2612574
fb-gh-sync-id: 17b93f42a773ea6239990c6b0bd9bf4f32f8b455
2015-11-03 15:06:26 -08:00
Krzysztof Magiera
6c204dcbea
Update ViewGroupManager interface to use index for remove method.
...
Differential Revision: D2610700
fb-gh-sync-id: b59dfc581d9ca8d29203b5915fb743f3270989ab
2015-11-03 08:57:28 -08:00
Aaron Chiu
63c4d07187
fix comment per Github comment
...
Reviewed By: andreicoman11
Differential Revision: D2606888
fb-gh-sync-id: f9e1381b912533de06326d5a90062f0d54741553
2015-11-02 12:38:26 -08:00
Alexander Blom
839756b6d4
Make extractor generic
...
Differential Revision: D2605494
fb-gh-sync-id: 37e298598c07221f75250a309b283fae319298af
2015-11-02 11:24:26 -08: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
Aaron Chiu
c69c862b9e
revert D2602236
...
fb-gh-sync-id: 251cc97cea632db68d742d51f9ecd6de335b7a23
2015-10-30 15:25:29 -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
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
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
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
Andy Street
88655001e3
Only try to load from the packager when it's running
...
Reviewed By: mkonicek
Differential Revision: D2595489
fb-gh-sync-id: 1d0991fa5414ba4c12476b7ae6c50252e002467b
2015-10-29 07:26:38 -07:00
David Aurelio
b86a6e3b44
Add support for async bridged methods to android
...
Differential Revision: D2595414
fb-gh-sync-id: 3b44ce1737bdd1e0861a285a45976631a57ab3b5
2015-10-29 04:20:30 -07:00
Krzysztof Magiera
ffc6db2f2c
Add @Nullables to TouchEvent.
...
Reviewed By: mkonicek
Differential Revision: D2591989
fb-gh-sync-id: 84f139b91ec21e656157a9c54cd616ee15673991
2015-10-28 14:53:13 -07:00
Krzysztof Magiera
03d7c7a6a1
Recycle scroll events.
...
Reviewed By: mkonicek
Differential Revision: D2591945
fb-gh-sync-id: 1c9bfdc88ef5add38fcf0c9499bf52a8a940a22e
2015-10-28 14:26:27 -07:00
Aaron Chiu
28b66be7b0
add ability to save/access Activity instanceState from/to JS
...
Differential Revision: D2591821
fb-gh-sync-id: c9c28b653611e65ab5b6e6cc8d34771bf8589055
2015-10-28 12:41:36 -07:00
Matthew Arbesfeld
3a743ef228
Allow developers to load JavaScript bundle from any source.
...
Summary: This patch adds two pieces of functionality:
- Exposes `JSBundleLoader` to allow a developer to load JavaScript bundles as they choose.
- Adds `ReactBridge.loadScripFromFile` method which loads a JavaScript bundle from an arbitrary file path.
Example usage:
```
JSBundleLoader jsBundleLoader = new JSBundleLoader() {
Override
public void loadScript(ReactBridge reactBridge) {
reactBridge.loadScriptFromFile("/sdcard/Download/index.android.bundle");
}
};
mReactInstanceManager = ReactInstanceManager.builder()
.setApplication(getApplication())
.setJSBundleLoader(jsBundleLoader)
.setJSMainModuleName("") /* necessary due to TODO(6803830) */
.addPackage(new MainReactPackage())
.setInitialLifecycleState(LifecycleState.RESUMED)
.build();
```
cc ide
Closes https://github.com/facebook/react-native/pull/3189
Reviewed By: svcscm
Differential Revision: D2535819
Pulled By: mkonicek
fb-gh-sync-id: f319299dbe29bab3b7e91f94249c14b270d9fec3
2015-10-28 11:51:29 -07:00
Krzysztof Magiera
46e67ef428
Recycle touch events.
...
Reviewed By: andreicoman11
Differential Revision: D2590149
fb-gh-sync-id: 97c60e12385526097431a192b692e2f92813722d
2015-10-28 02:27:25 -07:00
Krzysztof Magiera
0e4dec930b
Backout 052d4aab3722
...
Reviewed By: mkonicek
Differential Revision: D2586735
fb-gh-sync-id: 477a1c84fcf2a22b681407c7e93102dd59118f25
2015-10-27 13:02:08 -07:00
Clement Genzmer
c902ed2fe5
Backout 981069:cb671e39fd64 breaking master
...
fb-gh-sync-id: 052d4aab3722d44f5c4fbb0f4f50a2d71ba56927
2015-10-27 10:46:29 -07:00
Satyajit Sahoo
c45bb3e9c9
Don't throw runtime exception if WebSocket is already closed
...
Summary: Refer #3364
Closes https://github.com/facebook/react-native/pull/3706
Reviewed By: svcscm
Differential Revision: D2585455
Pulled By: mkonicek
fb-gh-sync-id: fecd5e46c59a79a109aad97a49c9ea016e82d669
2015-10-27 08:36:27 -07:00
Krzysztof Magiera
b28ff0451d
Allow events recycling and implement recyclable OnLayoutEvents.
...
Differential Revision: D2585530
fb-gh-sync-id: cb671e39fd64c27a9c11e3cd064bd19cabe7f3b6
2015-10-27 08:34:28 -07:00
Mike Armstrong
2b491b45c8
Move PerformanceLoggerFlag to onDraw
...
Differential Revision: D2585417
fb-gh-sync-id: 342f7a05dc53cb0af0871b0dc8504dc48680cde4
2015-10-27 07:19:27 -07:00
David Aurelio
0e2f3672c5
Move type inference to registration of bridged methods
...
Differential Revision: D2581548
fb-gh-sync-id: 4cf9e0bbb494047c927cef8602101a9d000eb076
2015-10-27 02:52:29 -07:00
Krzysztof Magiera
137a0b8611
Kill @UIProp in favor of @ReactProp.
...
Differential Revision: D2582624
fb-gh-sync-id: b04b4c90ee478d995968cab4364e1ab0964b6ebe
2015-10-27 01:54:28 -07:00
Andrei Coman
6a7567e742
Add storage module to fb
...
Differential Revision: D2584243
fb-gh-sync-id: 50dece06820aa754741b560cae5eb3318c1926bd
2015-10-26 18:29:27 -07:00
Krzysztof Magiera
3a92f2017f
Fix buggy behavior of setBackgroundColor in react View.
...
Differential Revision: D2582549
fb-gh-sync-id: 8856eb27d46df37e201cd1169fcec3b5b68dac97
2015-10-26 15:38:28 -07:00
Krzysztof Magiera
05c9a1f91a
Kill ViewManager.updateView
...
Differential Revision: D2581595
fb-gh-sync-id: cb653360d7f59da7f4326ca08c41f5de64c384c6
2015-10-26 15:38:23 -07:00
Krzysztof Magiera
5eaa553264
Backout 'Backout 978869:739faaa0f18b'
...
Reviewed By: mkonicek
Differential Revision: D2582059
fb-gh-sync-id: 398737d6ea7b8c6cacb9dacd1269d8f806d92e45
2015-10-26 15:38:18 -07:00
Clement Genzmer
b7d1d8248d
Backout 978869:739faaa0f18b
...
fb-gh-sync-id: 0ea211696e8114cf86ab04790a4fb287cc79ff54
2015-10-26 15:36:24 -07:00
Krzysztof Magiera
cf35f47c4d
Support scrollTo with RecycleViewBackedScrollView.
...
Differential Revision: D2581381
fb-gh-sync-id: 830f36f4d62a3097fdf3697a94a22441f11f93ef
2015-10-26 15:36:20 -07:00
Krzysztof Magiera
c2e7384110
Blow away BaseViewPropertyApplicator.
...
Differential Revision: D2580741
fb-gh-sync-id: 739faaa0f18b336051ab2cf4eb9f4e4315a2fcd9
2015-10-26 15:36:08 -07:00
Alexander Blom
e6ad91b5a2
Fix showsHorizontalScrollIndicator for ScrollView
...
Differential Revision: D2573323
fb-gh-sync-id: 980a29fcf836326f9f581eb404d36638afb67f10
2015-10-22 16:50:25 -07:00
Martin Konicek
251a4086a7
Fix Chrome debugging
...
Reviewed By: dkoroskin
Differential Revision: D2572178
fb-gh-sync-id: 677f2eb5a7ff5ada2a4e66f86e90664787bef346
2015-10-22 14:26:27 -07:00
Charles Marsh
66717d802b
Allow for styling of ToolbarAndroid's overflow icon
...
Summary: Fixes #2858 .
Here's a screenshot of the custom overflow icon in action:
<img width="638" alt="overflow" src="https://cloud.githubusercontent.com/assets/1309177/10567090/693e395a-75ae-11e5-84cd-20b19149c620.png ">
Closes https://github.com/facebook/react-native/pull/3497
Reviewed By: svcscm
Differential Revision: D2559787
Pulled By: foghina
fb-gh-sync-id: f188711ec094af3fa307722527f22aefff722e64
2015-10-22 04:43:25 -07:00
Felix Oghină
ff17789e98
consistent redbox theme, bigger text and spacing
...
Differential Revision: D2569981
fb-gh-sync-id: 20b9bfc6801544795d6d13aa029ae5e1f5ee1dee
2015-10-22 03:39:26 -07:00
Krzysztof Magiera
44ff93e7bf
Sync latest code from github
...
Differential Revision: D2566417
fb-gh-sync-id: 9eb9fbbb2dfbd5337de128ea4415120faf089aaa
2015-10-21 12:52:26 -07:00
Krzysztof Magiera
a5c693dd53
Fix typo in ReadableMapKeySetIterator.
...
Reviewed By: mkonicek
Differential Revision: D2564934
fb-gh-sync-id: 2ef1a0f5c1550d912dc751100c307659a5159fa3
2015-10-21 09:05:12 -07:00
Hermes Pique
9960878ba4
Revert D2564759
...
Differential Revision: D2564818
fb-gh-sync-id: 75e44551fc2c7e22be8096f12c06aa88b72a4508
2015-10-21 05:31:25 -07:00
Krzysztof Magiera
e1b2c84a81
Fix typo in ReadableMapKeySetIterator.
...
Differential Revision: D2564759
fb-gh-sync-id: 6a57fb71d4da1d467661a3ae786f637172b21e73
2015-10-21 04:14:12 -07:00
Aaron Chiu
b4d4cf4444
bump up react bridge time out from 15s to 30s
...
Differential Revision: D2562848
fb-gh-sync-id: 62255e01d4ff599c03af5eebd87d8d40aeb7e6fe
2015-10-21 03:03:55 -07:00
Krzysztof Magiera
4849aabecc
Stop propagating requestLayout up the view hierarchy.
...
Differential Revision: D2560183
fb-gh-sync-id: e62acc3eb70a78ae4526bfe696e51349be957ae3
2015-10-20 08:46:21 -07:00
Andy Street
1b55e4657c
Load JS bundle after CatalystInstance has been attached to the ReactContext
...
Reviewed By: andreicoman11
Differential Revision: D2550062
fb-gh-sync-id: 05790e8c092c7dd28669ffd48f7d7d2dffd6546e
2015-10-20 06:24:25 -07:00
Andrei Coman
716f7e8ef2
Don't use MotionEvent timestamp for touch events
...
Differential Revision: D2554905
fb-gh-sync-id: 7f83e94948cc9ac1024e249764d445fb056f400e
2015-10-19 03:08:23 -07:00
Andrei Coman
f01272b031
Fix touches with pointer events backtrack
...
Differential Revision: D2553642
fb-gh-sync-id: b1788879bfbb564a291ada0e7ac206f567780f8a
2015-10-17 06:31:26 -07:00
Krzysztof Magiera
8e2ec64763
Use RecyclerViewBackedScrollView in groups feed on Android.
...
Differential Revision: D2549975
fb-gh-sync-id: 98689a58a69ce8425c695acf74701509816821ae
2015-10-16 07:45:22 -07:00
Mike Armstrong
3d40d622f9
Prevent ReactMarker class from being stripped in release
...
Differential Revision: D2547100
fb-gh-sync-id: c6a5d2f70bfdf5fa6fdd7f17f063de7ad837ece3
2015-10-16 03:41:16 -07:00
Krzysztof Magiera
643769fc8e
Fix dependency on recycler view in OSS.
...
Differential Revision: D2546027
fb-gh-sync-id: 7a2c2298332400fb216c18b8c569a859d1a3e1d0
2015-10-16 03:40:55 -07:00
Krzysztof Magiera
1e52b8297c
Wrapper for android RecyclerView to be used by ListView.js
...
Differential Revision: D2545291
fb-gh-sync-id: 5d745939f6d63aea4cd9bba2f55e68336efc1e9a
2015-10-15 09:22:31 -07:00
Mike Armstrong
4ec5161685
timer markings from JS JNI
...
Differential Revision: D2545138
fb-gh-sync-id: f93670ad929dbe37d641968e506108c6aac0cac2
2015-10-15 09:22:26 -07:00
Krzysztof Magiera
10a9b94b9c
Skip unnecessary string allocs from frquently executed code paths.
...
Differential Revision: D2540814
fb-gh-sync-id: 045d012b52a6bc89d409bcc028532da1760c5775
2015-10-14 09:23:25 -07:00
Martin Konicek
3df34f1ba8
Merge pull request #2953 from j27cai/and-patch
...
updated ReactiveAndroid installation info
2015-10-14 17:00:59 +01:00
Dave Sibiski
c2ae790396
Removes hardcoded port `8081` from URL format strings
...
Summary: This allows the use of different bundle URLs & ports in Dev mode. (ie. ngrok url shared with a team member)
The bundle URL can be changed via the normal Dev Menu, or programmatically by setting the `debug_http_host` shared preference key.
For example, in your apps `MainActivity.java` before creating your `ReactRootView`:
```java
SharedPreferences mPreferences = PreferenceManager.getDefaultSharedPreferences(getApplication());
SharedPreferences.Editor editor = mPreferences.edit();
editor.putString("debug_http_host", "my.customurlandport.com:8888");
editor.commit();
```
**Breaking change**: Custom bundle URLs added via the Dev Menu will need to also include the port. This has been noted in the documentation and also on the preference description in the Dev Menu.
Addresses: https://github.com/facebook/react-native/issues/2704
Closes https://github.com/facebook/react-native/pull/2824
Reviewed By: @svcscm
Differential Revision: D2540450
Pulled By: @javache
fb-gh-sync-id: a053de91e3095bb67640bb0f1b8761e55775bc9c
2015-10-14 08:46:15 -07:00
Eric Jing Cai
6494746613
Update README.md
2015-10-14 10:44:14 -04:00
Mike Armstrong
a041d770e4
PerfTest Stubs for OSS
...
Differential Revision: D2540549
fb-gh-sync-id: 01abb2e444f1636f50075df94d9275f8295340a3
2015-10-14 07:08:10 -07:00
Krzysztof Magiera
8486a68b91
Share fontsize and numberoflines props between text and inputtext shadow nodes.
...
Differential Revision: D2540451
fb-gh-sync-id: 289eeaed6881efe429124a0e69195a025ac3cbb8
2015-10-14 05:41:24 -07:00
Krzysztof Magiera
589df04846
Introduce @ReactProp-enabled LayoutShadowNode as a baseclass for most of the shadow nodes.
...
Differential Revision: D2540232
fb-gh-sync-id: 6dfed70c8253973897f4e447377ec5561862da23
2015-10-14 01:41:26 -07:00
Krzysztof Magiera
f4e2a670d3
Convert basic shadow nodes to use @ReactProp.
...
Differential Revision: D2537318
fb-gh-sync-id: 3061545f27953299904fe224e973fa409650d239
2015-10-13 12:57:24 -07:00
Krzysztof Magiera
05015e8d36
Extract @ReactProp annotated properties from shadow nodes.
...
Differential Revision: D2536419
fb-gh-sync-id: 643499d4fdcb481349dad1701391059d2362984e
2015-10-13 10:11:30 -07:00
Andy Street
e0b2c2e34e
Batch native method calls in 5ms increments
...
Reviewed By: @mkonicek
Differential Revision: D2535803
fb-gh-sync-id: 8363a83d6966cfa4c2ea46358b10e4139333329f
2015-10-13 08:03:41 -07:00
Felix Oghină
b721c12516
import latest changes from github
...
Differential Revision: D2536028
fb-gh-sync-id: 2d28b10f06b4ab3a9113b7870e58faf6debba9b6
2015-10-13 06:59:42 -07:00
Andrei Coman
c456accbed
Make text in text inputs selectable
...
Differential Revision: D2535762
fb-gh-sync-id: 49eaf403195fd210a87fe4babf266ee4b29b7ae8
2015-10-13 06:44:21 -07:00
Krzysztof Magiera
42e9189b77
Add getShadowNodeClass method to ViewManager interface.
...
Differential Revision: D2535731
fb-gh-sync-id: 7a68778ea4ca47b113d73b1d638d74d905ea2da5
2015-10-13 06:44:19 -07:00
Krzysztof Magiera
3561c9ed2b
Restructure ViewManagersPropertyCache.
...
Differential Revision: D2532365
fb-gh-sync-id: e5cbb55093310b47b6525839d7c5929264d158ad
2015-10-12 12:02:56 -07:00
Martin Konicek
264cb8962a
Don't publish /ReactAndroid/build to npm, update version on master
...
Summary: @public
See the discussion in https://github.com/facebook/react-native/pull/3019
This is temporary Gradle output and can be huge (>100MB).
Reviewed By: @foghina
Differential Revision: D2531612
fb-gh-sync-id: 8874d39b1a9b35dc4b4ce465dd149589db75bb29
2015-10-12 11:11:40 -07:00
Martin Konicek
302fb6aea7
Fix the package name of Android Switch
...
Reviewed By: @foghina
Differential Revision: D2531260
fb-gh-sync-id: aee885009b5c3f2072500eaa84669ece7c57d2e0
2015-10-12 10:11:26 -07:00
Martin Konicek
2944c665bf
Fix package name of DebugComponentOwnershipModule
...
Reviewed By: @foghina
Differential Revision: D2531355
fb-gh-sync-id: 71de71bfec0353fb45bb8dbc8a3f4ce7cad43925
2015-10-12 09:10:33 -07:00
Andrei Coman
9f1dab69c1
Use correct spans in shadow nodes
...
Differential Revision: D2529951
fb-gh-sync-id: d3bfbe9ea4b9c0cd405a2e0fb9a3176274f0c9fa
2015-10-10 02:17:25 -07:00
Felix Oghină
3a0a1a4122
expose JS source location to JS
...
Differential Revision: D2526103
fb-gh-sync-id: d597b52dd9442fc27b0841b7df447e9d8d7de6e1
2015-10-09 04:24:23 -07:00
Mike Armstrong
fffae394c7
Use new hybrid inheritance for NativeArray and descendants
...
Reviewed By: @andreicoman11
Differential Revision: D2523619
fb-gh-sync-id: 62382c16cbbeceec12763b3786676ecff783b651
2015-10-09 03:11:35 -07:00
Marc Horowitz
23a16f60f8
Update fbjni from upstream
...
Reviewed By: @mkonicek
Differential Revision: D2517281
fb-gh-sync-id: 9deeae6821f13394a2886d6d86781b4f563aadf6
2015-10-08 08:46:31 -07:00
Mike Armstrong
34c26f31f6
Add dev mode to Android settings menu
...
Differential Revision: D2521488
fb-gh-sync-id: 28ae23a43570682e42eec4b6995235e8c65dd786
2015-10-08 00:12:25 -07:00
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
Eric Jing Cai
a31d3a9d4f
updated ReactiveAndroid installation info
2015-09-22 22:22:03 -04: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
Martin Konicek
42eb5464fd
Release React Native for Android
...
This is an early release and there are several things that are known
not to work if you're porting your iOS app to Android.
See the Known Issues guide on the website.
We will work with the community to reach platform parity with iOS.
2015-09-14 18:13:39 +01:00