Michał Gregorczyk and Facebook Github Bot
9f76e9d374
Test for non-JSC JavaScriptExecutor
...
Reviewed By: mhorowitz
Differential Revision: D5746286
fbshipit-source-id: 5bc5d5fcbc9e3ab7de0153145b1276edd3f3aa13
2017-09-01 09:15:43 -07:00
Michael Lee and Facebook Github Bot
bf80585eba
Switch to xplat folly
...
Reviewed By: nlutsenko
Differential Revision: D5739990
fbshipit-source-id: a1b862faab1dbcdb3bcc11f1bf662241cf7252e5
2017-08-31 17:02:38 -07:00
Marc Horowitz and Facebook Github Bot
de01f09b5d
Remove the restriction on importing bridge:cxxreact
...
Reviewed By: javache
Differential Revision: D5724406
fbshipit-source-id: 24974601d161fd23805d8e925b2b20a1cf11850d
2017-08-30 11:52:28 -07:00
Kathy Gray and Facebook Github Bot
f266ab9bac
Move cleanup back to destructor
...
Reviewed By: javache
Differential Revision: D5697611
fbshipit-source-id: e8bce63aec02d08421eea52b20343576e914e5aa
2017-08-24 07:59:56 -07:00
Kathy Gray and Facebook Github Bot
f0d98104ae
Reduce possible race condition on gc of catalyst instance
...
Reviewed By: cwdick
Differential Revision: D5669579
fbshipit-source-id: 165e19b68199e89bb99f7f93f2b1ec70729b2848
2017-08-22 03:30:22 -07:00
Ben Nham and Facebook Github Bot
c080fe54d6
add perf markers for reload and download
...
Reviewed By: alexeylang
Differential Revision: D5633613
fbshipit-source-id: 1fe39669cf4ba4e1475bb57de59c696771ebf8c7
2017-08-17 05:44:27 -07:00
Marc Horowitz and Facebook Github Bot
1cc7ae2ae1
FBASSERT -> FBJNI_ASSERT, ALOGE -> FBJNI_LOGE, ALOGF -> FBJNI_LOGF
...
Reviewed By: BurntBrunch
Differential Revision: D5609686
fbshipit-source-id: 3ac863abe8555e768df1625e414f09b35d49853d
2017-08-16 17:57:51 -07:00
Pieter De Baets and Facebook Github Bot
ed3c018ee4
Remove legacy JSC profiler
...
Reviewed By: bnham
Differential Revision: D5433406
fbshipit-source-id: 8cbea8b9b46a0d9f29c57a5bcf605e6bb61ed8a7
2017-07-20 04:21:16 -07:00
Pieter De Baets and Facebook Github Bot
a8a29a92a0
Simplify macro usage in MethodInvoker
...
Reviewed By: kathryngray
Differential Revision: D5363934
fbshipit-source-id: a9cffb10b4d6244d1d66267f6c1e07ba69663b9c
2017-07-07 03:06:21 -07:00
Pieter De Baets and Facebook Github Bot
465a68db1f
Remove xcode_public_headers_symlinks from RN BUCK files
...
Reviewed By: dinhviethoa
Differential Revision: D5321259
fbshipit-source-id: b07ff4a01280251deb2113a62197d96d5c2e37a1
2017-07-06 12:16:20 -07:00
Joana Lopes and Facebook Github Bot
25d19e3830
Translating NativeArray into NativeMap on getConstants
...
Reviewed By: javache
Differential Revision: D5321741
fbshipit-source-id: 2465c69a5bd1d4f3cf20ba73e163372b12616312
2017-06-29 04:19:30 -07:00
Pieter De Baets and Facebook Github Bot
83faa4b608
Simplify Catalyst handleMemoryPressure
...
Reviewed By: cwdick
Differential Revision: D5200555
fbshipit-source-id: 86f12acca33ece265d3482ba52de9afcc83173cd
2017-06-26 06:01:14 -07:00
Pieter De Baets and Facebook Github Bot
e2628f93b5
Rename Executor to JSExecutor
...
Summary:
* Cleanup some header files so we use more forward declarations
* Rename Executor to JSExecutor.h
* Move some typedefs to more appropriate locations
Reviewed By: mhorowitz
Differential Revision: D5301913
fbshipit-source-id: e75154797eb3f531d2f42a5e95409f4062b85f91
2017-06-23 17:01:25 -07:00
Kathy Gray and Facebook Github Bot
5c5410459e
Setting bridge up for sharing: allowing native modules to register after init
...
Reviewed By: javache
Differential Revision: D4945784
fbshipit-source-id: 80e7236e9ccd5d5c9a7fba7c96b98fc38b43a2fc
2017-06-21 12:08:45 -07:00
Pieter De Baets and Facebook Github Bot
534bbfac8f
Report Java stack from errors from sync native module calls
...
Reviewed By: mhorowitz
Differential Revision: D5069794
fbshipit-source-id: ede314034a2eb6b063a22dbd6e5d13c8ad66e20c
2017-06-14 09:32:37 -07:00
Ben Nham and Facebook Github Bot
2984628357
add marker surrounding entire native module creation
...
Reviewed By: javache
Differential Revision: D5200856
fbshipit-source-id: 35b0e627224d518126a1cfdd36d6af264dd186cf
2017-06-09 06:22:39 -07:00
Pieter De Baets and Facebook Github Bot
81c2f3b189
Cleanup Platform
...
Reviewed By: dcaspi
Differential Revision: D5185504
fbshipit-source-id: 4f7e9f9068598418b346a7370f6be241a0784b60
2017-06-07 10:19:01 -07:00
Michał Gregorczyk and Facebook Github Bot
20217873d4
Prepare RN libs for so merging
...
Reviewed By: javache
Differential Revision: D5150741
fbshipit-source-id: 06e64ee1c4784e64307ef7a40003867ca0c8a8e2
2017-06-02 14:19:57 -07:00
Pieter De Baets and Facebook Github Bot
79500f81a9
Fix Travis CI runs
...
Summary: Closes https://github.com/facebook/react-native/pull/14286
Differential Revision: D5164925
Pulled By: javache
fbshipit-source-id: 0ebe028ab58f37a9afc8b615fe346d7af9180040
2017-06-02 09:03:18 -07:00
Pieter De Baets and Facebook Github Bot
bd5051adeb
Move xreact/jni to react/jni
...
Reviewed By: mhorowitz
Differential Revision: D5155612
fbshipit-source-id: 871a23916c0069498691dc0dd3c94fd2e404cec9
2017-06-01 05:53:25 -07:00
Michael Bolin and Facebook Github Bot
48cb932c6e
Apply auto-formatter for BUCK files in fbandroid.
...
fbshipit-source-id: 278ce6f67f5df830b2218e3aca69be103d3c56a6
2017-02-27 14:04:56 -08:00
Delyan Kratunov and Facebook Github Bot
1f78ea326e
Remove unnecessary project_config
...
Differential Revision: D4326949
fbshipit-source-id: d0e8d7c3a046a89e5794be602a406ea914de50d1
2016-12-15 09:29:16 -08:00
Michał Gregorczyk and Facebook Github Bot
2ca507bf9e
Remove supported platforms from JSC and all the things that depends on it
...
Reviewed By: bnham
Differential Revision: D4213580
fbshipit-source-id: 3830c15b0097030a4e4611aac814b12e1d6ae696
2016-11-21 16:43:31 -08:00
Emil Sjolander and Facebook Github Bot
b7ded130df
Dont use explicit .so file name to support more platforms
...
Reviewed By: dreiss
Differential Revision: D3981166
fbshipit-source-id: 0b19f73e6de48a30613419ccc54735c968701532
2016-10-08 09:28:42 -07:00
Chris Hopman and Facebook Github Bot 3
1a690d5674
Delete old bridge
...
Reviewed By: astreet
Differential Revision: D3510660
fbshipit-source-id: 031b9dcf19dd4e6677a6c9417917930bcbbe3219
2016-08-02 17:58:26 -07:00
Chris Hopman and Facebook Github Bot 0
d67258eb91
Move some really old tests to the cxx bridge
...
Reviewed By: mhorowitz
Differential Revision: D3507905
fbshipit-source-id: cbe55495a991bf6eef961319ba8b219e660dce05
2016-07-25 12:29:25 -07:00
Andy Street and Facebook Github Bot 7
6d3c7b8a4c
Fix 'Unexpected EOF' in old bridge
...
Summary: This is caused by receiving \u2028/2029 in callbacks/function calls. The correct solution is to not evaluate these strings as scripts but instead parse them as json and pass them through the JSC API.
Reviewed By: lexs
Differential Revision: D3543098
fbshipit-source-id: 4d8acce1d510bb17361d32103d4738fc0208b0a8
2016-07-11 09:58:27 -07:00
Alexander Blom and Facebook Github Bot 1
95401aba72
Create tracing name in C++ instead of Java
...
Reviewed By: mhorowitz
Differential Revision: D3469140
fbshipit-source-id: 77a00a7150573e44f219972556cbb936a57d7054
2016-07-07 09:00:00 -07:00
Chris Hopman and Facebook Github Bot 7
d344963123
Invert native dependency of new bridge -> old bridge
...
Reviewed By: mhorowitz
Differential Revision: D3409230
fbshipit-source-id: 541309ec953843477197e5a2b13730b8a38f608d
2016-06-13 18:43:42 -07:00
Konstantin Raev and Facebook Github Bot 2
525d35ba67
Reverted commit D3400379
...
Reviewed By: mhorowitz
Differential Revision: D3400379
fbshipit-source-id: b7e733e74bb0f4fbd597fd073826c399ece2c47f
2016-06-08 02:58:36 -07:00
Chris Hopman and Facebook Github Bot 5
0e50373b60
Invert native dependency of new bridge -> old bridge
...
Reviewed By: mhorowitz
Differential Revision: D3400379
fbshipit-source-id: d641846261977b4f77c2d215bef94e8e676e2c02
2016-06-07 16:28:29 -07:00
Konstantin Raev and Facebook Github Bot 2
d836e8c0ef
Reverted commit D3374937
...
Reviewed By: mhorowitz
Differential Revision: D3374937
fbshipit-source-id: e794fb9b8cb1194133da64dcb38861477406c307
2016-06-07 02:58:33 -07:00
Chris Hopman and Facebook Github Bot 2
bf010a4c17
Invert native dependency of new bridge -> old bridge
...
Reviewed By: mhorowitz
Differential Revision: D3374937
fbshipit-source-id: 58b082bba727e33a3b08361be3630d669fc8dc5b
2016-06-06 16:13:41 -07:00
Chris Hopman and Facebook Github Bot 1
9a6e61426d
Fixes to NativeMap/Array
...
Reviewed By: mhorowitz
Differential Revision: D3376409
fbshipit-source-id: 4efd1a8567358baf2634008af77f7e743ace849e
2016-06-02 13:43:47 -07:00
Chris Hopman and Facebook Github Bot 2
886a558f75
Extract all NativeArray/NativeMap from OnLoad.cpp
...
Summary: These will, eventually, need to be moved to the new bridge and so must become standalone things. For *NativeArray, this is almost just moving them out into their own .h/.cpp files. The *NativeMaps are updated to be hybrids instead of countables (in addition to getting their own .h/.cpp).
Reviewed By: mhorowitz
Differential Revision: D3325169
fbshipit-source-id: 40cfcab92b3fb2310bcd4de8f39e82f85d404abd
2016-06-01 16:28:32 -07:00
Chris Hopman and Facebook Github Bot 9
5e8f1716fc
Build new bridge with gradle
...
Reviewed By: bestander
Differential Revision: D3324351
fbshipit-source-id: 41fa18a23c8661440a7deff244c93278f418e1d9
2016-05-27 16:13:37 -07:00
Charles Dick and Facebook Github Bot 8
f948662013
Drop JSC code on background
...
Reviewed By: lexs
Differential Revision: D3311037
fbshipit-source-id: e46559108c51f1cd163ed5c557d23c21f696ef88
2016-05-26 11:13:42 -07:00
Marc Horowitz and Facebook Github Bot 5
f7c4ed8926
Fix chrome debugging on android
...
Summary:
Java loadApplicationScript changed, but the C++ code in the
debug ProxyExecutor which called it did not. This fixes the fbjni
method lookup.
fixes #7659
Reviewed By: AaaChiuuu
Differential Revision: D3331472
fbshipit-source-id: 33312dccc3c7687f51742e42f9e0397f9c925e76
2016-05-23 09:43:23 -07:00
Hugo Agbonon and Facebook Github Bot 0
bc634ea350
More helpful error message when react-native start is forgotten
...
Summary:
Developing with react-native on Linux, I found myself facing this message:

The problem is actually quite simple: I hadn't used `react-native start` before starting `react-native run-android`, which caused this error, both on an emulator and a real Android device. As the message is currently unhelpful, but can be shown because of a simple mistake, I updated it.
~~Additionally, I clarified the fact that `react-native start` is still necessary on Linux, updating a title on the Linux and Windows Support documentation page.~~
Closes https://github.com/facebook/react-native/pull/7396
Differential Revision: D3305078
fbshipit-source-id: 2d87e02ff2ad15d8239fbcc0ada4a4e67b982e94
2016-05-20 09:13:27 -07:00
Tobias Ritzau and Facebook Github Bot 1
ee77e50c4a
Collapse native/{fb,jni,xplatinit} into one DSO
...
Reviewed By: dcolascione
Differential Revision: D3201488
fbshipit-source-id: 0cf965ee16e360329285d834a4c575d8f1061f15
2016-05-16 22:58:39 -07:00
Michał Gregorczyk and Facebook Github Bot 3
cd691e2cc2
Let jsc know it will run web worker
...
Reviewed By: astreet
Differential Revision: D3287543
fbshipit-source-id: 2a9de938feec417aef34c0ff26f138730b32929f
2016-05-12 08:13:21 -07:00
Andy Street and Facebook Github Bot 9
f1d12f6b38
Make runJSBundle synchronous
...
Summary: This is called on the JS thread so we don't need to post a runnable.
Reviewed By: lexs
Differential Revision: D3281388
fbshipit-source-id: ff292a710442c0b84c6ee31a2644a5c2ea650dc9
2016-05-10 09:21:24 -07:00
Andy Street and Facebook Github Bot 1
1c31aea83f
Update "This shouldn't be possible. Congratulations." error message
...
Summary: Apparently this *is* possible. Congratulations to me.
Reviewed By: nicklockwood
Differential Revision: D3281361
fbshipit-source-id: 53c6ab83d959aa8a77880f4f772a7a7d7ccf4950
2016-05-10 09:17:23 -07:00
Alexander Blom and Facebook Github Bot 4
041185edfd
Let JS modules use strings instead of ids on Android
...
Reviewed By: nicklockwood
Differential Revision: D3229626
fb-gh-sync-id: f8b2e8c9fc0d25d67f623cdbbe9930a02a40d1de
fbshipit-source-id: f8b2e8c9fc0d25d67f623cdbbe9930a02a40d1de
2016-05-04 10:29:26 -07:00
Konstantin Raev and Facebook Github Bot 0
1b9b3ba58c
Stabilise tests in SandCastle and prepare for OSS
...
Reviewed By: mkonicek
Differential Revision: D3244884
fb-gh-sync-id: d96dddca65175a90ee70aeb1c7530cea04860f61
fbshipit-source-id: d96dddca65175a90ee70aeb1c7530cea04860f61
2016-05-03 06:04:46 -07:00
Charles Dick and Facebook Github Bot 4
f6d9a9097f
Add heap snapshot to fbandroid JSC
...
Reviewed By: michalgr
Differential Revision: D3168026
fb-gh-sync-id: 123c9caa1ae7792cfa93590de4832b76c8178edb
fbshipit-source-id: 123c9caa1ae7792cfa93590de4832b76c8178edb
2016-04-28 05:31:19 -07:00
Pavlo Kushnir and Facebook Github Bot 2
036199d3f7
Use std::string in folly::dynamic
...
Reviewed By: joeg, snarkmaster
Differential Revision: D3189410
fb-gh-sync-id: 9bb9090ca6012ac32ba9fb79041b26ec4888781f
fbshipit-source-id: 9bb9090ca6012ac32ba9fb79041b26ec4888781f
2016-04-26 02:28:30 -07:00
Tadeu Zagallo and Facebook Github Bot 3
c5307a6e7c
Bringing fbsystrace to iOS 8's JSC
...
Reviewed By: michalgr
Differential Revision: D3163295
fb-gh-sync-id: 3cc2083accc4ba6947efc631f3574412022b1e1f
fbshipit-source-id: 3cc2083accc4ba6947efc631f3574412022b1e1f
2016-04-25 09:45:24 -07:00
Dan Caspi and Facebook Github Bot 4
fcac6e081d
Support for WITH_JSC_MEMORY_PRESSURE in iOS 8's JSC.
...
Reviewed By: lexs
Differential Revision: D3162471
fb-gh-sync-id: 1fb1584ccfa507c5697958ce8837f637fa8a301c
fbshipit-source-id: 1fb1584ccfa507c5697958ce8837f637fa8a301c
2016-04-22 00:45:25 -07:00
Dan Caspi and Facebook Github Bot 1
c6c72ddad4
Set RNFeed to use iOS 8's JSC. Working but missing features.
...
Reviewed By: lexs
Differential Revision: D3162414
fb-gh-sync-id: d7eb65969486eddd623501e5eaa07f957088a846
fbshipit-source-id: d7eb65969486eddd623501e5eaa07f957088a846
2016-04-21 19:00:30 -07:00