Héctor Ramos
1151c096da
Update copyright headers to yearless format
...
Summary: This change drops the year from the copyright headers and the LICENSE file.
Reviewed By: yungsters
Differential Revision: D9727774
fbshipit-source-id: df4fc1e4390733fe774b1a160dd41b4a3d83302a
2018-09-11 15:33:07 -07:00
Jonathan Kim
2515e4861a
Move RN's DEFS.bzl to tools and rename to rn_defs.bzl
...
Reviewed By: mzlee
Differential Revision: D9553765
fbshipit-source-id: cb65081668ea2726f24d2c9c02661e859cc7a994
2018-08-29 13:21:52 -07:00
Dulmandakh
6117a6c720
Bump Android NDK to r17b ( #20357 )
...
Summary:
This PR bumps Android NDK version to r17b (latest). Cleaned up redundant **LOCAL_EXPORT_CPPFLAGS** rules in .mk files
Pull Request resolved: https://github.com/facebook/react-native/pull/20357
Differential Revision: D9068424
Pulled By: hramos
fbshipit-source-id: 8578637e38e807288b819a36cb75ea9feefcc09f
2018-07-30 14:02:11 -07:00
Taras Tsugrii
71cd2d79ec
Move conditional logic into corresponding build defs.
...
Summary:
Conditional `load`s are not allowed in Skylark. The logic
that belongs to different environments has to be part of environment
specific build defs and include as part of cell resolution or CI
configuration.
More context: https://buckbuild.com/concept/skylark.html
Differential Revision: D8604673
fbshipit-source-id: 385f2e155c4d80219e6ed3a2e0a82c909ebabb13
2018-06-24 14:46:38 -07:00
Héctor Ramos
da7873563b
Migrate Android sources to MIT license header
...
Reviewed By: fkgozali
Differential Revision: D8065619
fbshipit-source-id: 719c303b40c96950bab8e5dde9a75f449b2956c6
2018-05-31 15:37:30 -07:00
Andres Suarez
d42697bcf3
Run buildifier over BUCK and TARGETS files
...
Reviewed By: scottrice
Differential Revision: D8163151
fbshipit-source-id: 700a77c09c6ab1bef8fd24a2a3133a4b50e3b3a3
2018-05-25 11:15:59 -07:00
Sebastian Markbage
91f2ffed37
Back out "[JSC] Expose new methods to Custom/System JSC"
...
Reviewed By: fkgozali
Differential Revision: D8003558
fbshipit-source-id: 0b90153518f849f66d7c713f99cb44c79b27ca19
2018-05-22 09:53:54 -07:00
Taras Tsugrii
1a7682b2a1
Re-format BUCK to use recommended style.
...
Reviewed By: yfeldblum
Differential Revision: D8073585
fbshipit-source-id: 12322aebc09b89d5af9cc257b16c1bc0fbb066c1
2018-05-20 23:24:51 -07:00
Sebastian Markbage
4ef099679d
Expose new methods to Custom/System JSC
...
Reviewed By: fkgozali
Differential Revision: D7998298
fbshipit-source-id: f20d5b961db1cc31880d383a67d8bba40dd8008f
2018-05-14 18:58:05 -07:00
Jonathan Kim
62784f35d8
load in platform macros
...
Reviewed By: ttsugriy
Differential Revision: D7809673
fbshipit-source-id: aacff1a99ba50393ed8f74842afa59384b846e63
2018-04-29 16:01:17 -07:00
Michael Lee
7a29ad1d83
Specify platforms for the a few targets
...
Differential Revision: D7516968
fbshipit-source-id: db9d6df7c1b67dbdd998ea017229a976f78b2eb1
2018-04-05 16:02:31 -07:00
Shoaib Meenai
0bc80e9a72
Use #include instead of #import
...
Reviewed By: compnerd
Differential Revision: D7114385
fbshipit-source-id: a443770910714aab1af3f3ac5e932f6aaf1afe99
2018-02-28 15:41:43 -08:00
Sebastian Markbage
84ad5d3d3c
Explicitly handle null props in bindings
...
Reviewed By: fkgozali, mdvacca
Differential Revision: D7080813
fbshipit-source-id: 7c9706df719a39e11a3d99c2de38af992b62dabf
2018-02-26 19:46:51 -08:00
Sophie Alpert
1490ab12ef
Update license headers for MIT license
...
Summary:
Includes React Native and its dependencies Fresco, Metro, and Yoga. Excludes samples/examples/docs.
find: ^(?:( *)|( *(?:[\*~#]|::))( )? *)?Copyright (?:\(c\) )?(\d{4})\b.+Facebook[\s\S]+?BSD[\s\S]+?(?:this source tree|the same directory)\.$
replace: $1$2$3Copyright (c) $4-present, Facebook, Inc.\n$2\n$1$2$3This source code is licensed under the MIT license found in the\n$1$2$3LICENSE file in the root directory of this source tree.
Reviewed By: TheSavior, yungsters
Differential Revision: D7007050
fbshipit-source-id: 37dd6bf0ffec0923bfc99c260bb330683f35553e
2018-02-16 18:31:53 -08:00
Taras Tsugrii
79a63d040f
Skylarkify RN defs.
...
Reviewed By: adamjernst
Differential Revision: D6934209
fbshipit-source-id: 59f50b739482a53473c157f9e0183024dc88dc67
2018-02-08 09:47:28 -08:00
Jonathan Kim
4f2cc42a2d
Make xplat react native files buildable
...
Reviewed By: mzlee
Differential Revision: D6605611
fbshipit-source-id: baa33947319a27b95020924d177a9398a276dabe
2018-01-21 22:05:05 -08:00
Scott Wolchok
cec2e80fc2
Fix dependencies
...
Reviewed By: adamjernst
Differential Revision: D6754488
fbshipit-source-id: 49f2a45d024c7bd6b52f51f7705bcd167a499e47
2018-01-20 12:16:52 -08:00
Alex Dvornikov
8f358a2088
Report module id as string and as double, in case of invalid values are passed to nativeRequire
...
Differential Revision: D6695769
fbshipit-source-id: b578b9d52ed711fb5a3e51717ac555fa8a232d7a
2018-01-11 14:21:00 -08:00
Michał Gregorczyk
702b7e877e
(almost) kill fbjsc
...
Reviewed By: johnislarry
Differential Revision: D6701327
fbshipit-source-id: 17630f336e2b275c1de30ebfa32d1cbfbc1b9634
2018-01-11 13:16:37 -08:00
Ben Nham
bef7967f9a
move page registration logic in to jsinspector
...
Reviewed By: pakoito
Differential Revision: D6531199
fbshipit-source-id: ed1ae9e2f0c19e7656cd022e438693798320e55a
2017-12-15 09:20:13 -08:00
Taras Tsugrii
88f6f69152
Skylarkify config_utils_defs macros.
...
Reviewed By: adamjernst
Differential Revision: D6569785
fbshipit-source-id: d2f20cd648822846e59830614d4eb0f466252363
2017-12-14 18:52:18 -08:00
Max Sherman
434f432d5d
Meyers singleton jsc error extractor
...
Reviewed By: mhorowitz
Differential Revision: D6554142
fbshipit-source-id: f586cd7030130e4ccb069f9aed8fb1364c527e54
2017-12-13 12:35:11 -08:00
Ben Nham
70c359000a
move inspector out of jschelpers
...
Differential Revision: D6385924
fbshipit-source-id: 1913d903077494cc0d86d5a8c8839620f1ecab0c
2017-11-27 07:23:37 -08:00
Ben Nham
850efa8650
remove hard dependency on JSGlobalContextRef in inspector interfaces
...
Differential Revision: D6385923
fbshipit-source-id: 2f547b0dc1760f72fa8d7edc67327415069c648e
2017-11-27 07:23:37 -08:00
Dan Zimmerman
02f7c61cdd
Introduce macro that disables poisoning JSC symbols
...
Reviewed By: dcaspi
Differential Revision: D6184846
fbshipit-source-id: 755653ceebcbded8fbe165375e8e8e50cf0ecccc
2017-11-02 08:16:11 -07:00
Dan Zimmerman
c6a30ab949
Match the linkage used for FBJSContextStartGCTimers, configureJSCForIOS
...
Reviewed By: dcaspi
Differential Revision: D6184848
fbshipit-source-id: cf016caddcccab8de9ffccbe616e579005ae05d0
2017-11-02 08:16:11 -07:00
Paco Estevez Garcia
da14fad829
Add AppIdentity and DeviceIdentity to Inspector
...
Reviewed By: Hypuk
Differential Revision: D5924011
fbshipit-source-id: a81d420dbe1a5ede203d2fa313548e19664b9587
2017-10-03 06:03:23 -07:00
Michał Gregorczyk
0ee502d125
More useful utilities in jschelpers
...
Reviewed By: mhorowitz
Differential Revision: D5785204
fbshipit-source-id: 4c5240f24c6a69bb781896d3af32d4d16fc2387c
2017-09-18 18:45:27 -07:00
Michał Gregorczyk
d6c519bc96
Base class for all object private data passed to JSC
...
Reviewed By: amnn
Differential Revision: D5761937
fbshipit-source-id: de88cf8b959fc855c3c0786f817bb6032491c819
2017-09-18 18:45:27 -07:00
Michael Lee
ed31f7a97d
Reformat BUCK files
...
Reviewed By: zertosh
Differential Revision: D5756296
fbshipit-source-id: 69af6e9211648a81ba864be8d37165023cb5f9c2
2017-09-05 15:02:19 -07:00
Michael Lee
bf80585eba
Switch to xplat folly
...
Reviewed By: nlutsenko
Differential Revision: D5739990
fbshipit-source-id: a1b862faab1dbcdb3bcc11f1bf662241cf7252e5
2017-08-31 17:02:38 -07:00
Kathy Gray
66a788fd99
Add locking around calls from JSCExecuter
...
Reviewed By: javache
Differential Revision: D5488452
fbshipit-source-id: bda18e7948574117b8ce95894782e0e6e9c321de
2017-08-08 05:07:25 -07:00
Pieter De Baets
543cd217f6
Fix incorrect invocation of JSClassCreate
...
Reviewed By: kathryngray
Differential Revision: D5465118
fbshipit-source-id: 16e1a1af52fb1ef41fa02e380223e9e90c0611ba
2017-07-24 05:03:53 -07:00
Grace Ku
79bf089bc5
Make visible to fix build when focusing on ReactKit
...
Reviewed By: dinhviethoa
Differential Revision: D5372827
fbshipit-source-id: 4cc718e88bc2da08b104d22ffc83691a62b1de4e
2017-07-06 19:46:45 -07:00
Pieter De Baets
14538aa038
Export some more symbols
...
Reviewed By: alexeylang
Differential Revision: D5328772
fbshipit-source-id: 7122af7e9bcb14ecdb224fd63ea1be57e4c7f20e
2017-06-27 11:16:13 -07:00
Alexey Lang
e2dff82160
Fix visibility of installGlobalFunction(..)
...
Reviewed By: javache
Differential Revision: D5319733
fbshipit-source-id: cfe796f13920924bbdbdd2a2741a70f492a141f9
2017-06-26 05:15:42 -07:00
Pieter De Baets
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
Theo Yaung
ba2e486b33
Connection management
...
Reviewed By: javache
Differential Revision: D5171773
fbshipit-source-id: 6421739736f732e021e85474253ab0ddb3804b0a
2017-06-08 07:45:53 -07:00
Pieter De Baets
7081391c3d
Simplify Value.fromJSON API
...
Reviewed By: mhorowitz
Differential Revision: D5154478
fbshipit-source-id: 3f9528a6401d89df7e170d55da9c0327db5f4f3e
2017-06-06 03:20:14 -07:00
Hoa Dinh
ae49713342
Export more symbols on React Native
...
Reviewed By: skotchvail
Differential Revision: D5157649
fbshipit-source-id: 8d04dff3a8564d3a095591aa982c9b72ace9a8b7
2017-05-31 21:02:01 -07:00
Hoa Dinh
b61999cf03
Make isCustomJSCWrapperSet and setCustomJSCWrapper visible when using arc focus --dylib
...
Reviewed By: skotchvail, javache
Differential Revision: D5148545
fbshipit-source-id: db6e595325d5275b5d5fdce4c4047965dc97125e
2017-05-31 12:48:20 -07:00
Dan Caspi
578227d83b
Adding the ability to run GC on a different thread than the one JSContext was created in
...
Reviewed By: javache
Differential Revision: D5121232
fbshipit-source-id: 28df89271c9d3f421ca27cf309ca0d3c756beba2
2017-05-31 11:17:41 -07:00
Pieter De Baets
2766103291
Don't use folly::stringPrintf in jschelpers
...
Reviewed By: mhorowitz
Differential Revision: D5146873
fbshipit-source-id: 99224b0091ee0ea28e5dd132bcc65203d2dc43a6
2017-05-30 15:01:02 -07:00
Pieter De Baets
03e1f40c1e
Cleanup and document Value wrapper (retry)
...
Reviewed By: mhorowitz
Differential Revision: D5120975
fbshipit-source-id: 6e9c80a57fdcf7f3dad21d5521fb928b52c924c7
2017-05-26 04:17:19 -07:00
Pieter De Baets
d59fd9e419
Revert D5087565: Cleanup and document Value wrapper
...
Differential Revision: D5087565
fbshipit-source-id: 8168bda39fac9384264e9d849b205a2c1d37dcfa
2017-05-24 07:31:36 -07:00
Pieter De Baets
374d08b8e4
Cleanup and document Value wrapper
...
Reviewed By: mhorowitz
Differential Revision: D5087565
fbshipit-source-id: 21b15dc4c476d6ecd7c42f9334c6995fa43810c2
2017-05-24 06:30:51 -07:00
Pieter De Baets
f98518c5f9
Add setPropertyAtIndex
...
Reviewed By: mhorowitz
Differential Revision: D5069708
fbshipit-source-id: f81542f9d752ff53acf3fb9d96bf71e60acecac3
2017-05-19 07:15:42 -07:00
Ashok Menon
056d075ef2
Fixing up header namespaces in ReactCommon
...
Reviewed By: mzlee
Differential Revision: D5079295
fbshipit-source-id: 03b848dedb41da900bb6ac69112bbb973a8a2595
2017-05-17 14:21:59 -07:00
Pieter De Baets
6221053179
Improve systrace markers
...
Reviewed By: mhorowitz
Differential Revision: D4860135
fbshipit-source-id: ce963010883e6b9cc8e34f7ff01b4018cd195eba
2017-05-12 18:07:49 -07:00
Pieter De Baets
afbab66a44
Define rn_xplat_cxx_library for OSS builds
...
Reviewed By: bestander
Differential Revision: D5044673
fbshipit-source-id: 41c9fe4b2ae128eed6f299dd8ea9dbfc4ca75917
2017-05-12 02:45:19 -07:00