Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Tatiana Kapos 2773eb9175
Integration 12/1 (#12571)
* integrate c464b215e

* Change files

* force to use latest JSIDynamic

* integrate c30f2b620

* fix lint and snapshot

* add issue numbers

* add setExternalMemoryPressure

* fix build

* revert changes

* Update NodeApiJsi with the new JSI APIs

* Fix Microsoft.ReactNative.Cxx

* Remove JSIDynamic overrides

* Add missing setExternalMemoryPressure implementations

* Fix unused parameter errors

* See JSI_VERSION to 11 in Microsoft.ReactNative.Cxx

* Disable failing JSI test

---------

Co-authored-by: Vladimir Morozov <vmorozov@microsoft.com>
2024-01-22 13:01:09 -08:00
Zihan Chen (MSFT) a5eb34c37c
@rnw/codegen generates GetStructInfo instead of REACT_STRUCT (#11982)
* #include <NativeModules.h>

* Separate custom types and reflection in template

* Generate GetStructInfo function instead of REACT_STRUCT

* ...

* Update generated files

* Change files

* ...
2023-08-07 19:58:14 +00:00
Tatiana Kapos 6b10c0f1a9
Integrate 12/2/22 (#10999)
* integrate 12/2/22

* Change files

* add SchedulerPriority.h

* bump hermes version

* Change files

* try overriding TurboModule files

* yarn

* override AnimatedInterpolation

* yarn lint and issue number

* remove RectangleEdges.h

* fix bad merge

* add windows specific comments and link issues

* add back in newline

* try to fix code-gen parameters

* fix sample-app code-gen

* yarn and new lines
2023-01-10 11:19:17 -08:00
Andrew Coates 07e0f2dd9d
Remove extra parenthesis in codegen output (#10693)
* Remove extra paren in codegen output

* Change files
2022-10-06 18:28:42 -07:00
Zihan Chen (MSFT) 7977ece4ea
MakeTurboModuleProvider<TModule> uses TModule::ModuleSpec as the spec (#9049)
* MakeTurboModuleProvider<TModule> uses TModule::ModuleSpec as the spec

* Clean up ReactInstanceWin.cpp

* yarn format

* Change files

* Codegen prints `::React::JSValue` instead of `React::JSValue`

* Change files

* Fix build breaks in sample-apps
2021-11-03 16:30:44 -07:00
Zihan Chen (MSFT) 42d0853c68
Generate `std::vector<T>` for array types in turbo modules (#8606)
* Generate `std::vector<T>` for array types in turbo modules

* `yarn build`

* Change files
2021-09-09 15:28:58 -07:00
Zihan Chen (MSFT) d085526651
Match Alert module with NativeDialogManagerWindowsSpec.h (#8548)
* REACT_STRUCT_INHERITED

* Update AlertModule.cpp

* Test REACT_STRUCT_INHERITED

* Change files

* Create NativeDialogManagerWindows.js

* Create NativeDialogManagerWindowsSpec.g.h

* Switch spec for alert module

* Use the correct Int32 in spec

* Move NativeDialogManagerWindows.js to the right location

* Codegen type for function arguments

* `yarn build`

* ...

* Fix AppStateModule

* Fix AccessibilityInfoModule

* `yarn format`

* Change files

* Update overrides.json

* Update NativeDialogManagerWindows.js

* Remove REACT_STRUCT_INHERITED since it is not necessary now
2021-09-07 14:48:59 -07:00
Andrew Coates 8dcf516f91
Move AppState and DeviceInfo to use module spec files (#4991)
* Move more native modules to Spec files

* Move device info init to object created on UI thread.

* feedback

* format

* Change files

* Add missing method on TestAppStateModule
2020-05-22 14:18:33 -07:00
Andrew Coates a5deb25926
Use TurboModuleSpec for the built in Clipboard native module (#4689)
* Use spec file for clipboard module

* Change files

* update sln files for new dep

* Fix format of REACT_SHOW_METHOD_SPEC_ERRORS macro

* missing import

* codereview feedback

* minor fix

* minor change
2020-04-23 18:17:50 +00:00