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

10 Коммитов

Автор SHA1 Сообщение Дата
Marlene Cota 1304e2f0aa
Integration 05/11/24 (3f17c8b5f) (#13273)
* RN Integration 05/03

* fix typo

* yarn.lock

* fix codegen

* RN Integration 05/11

* Change files

* yarn.lock

* fix bad merge

* remove deleted virtual

* nested view in text

* add back text examples

* update snapshots

* fix

* fix textexample test ids

* snapshots

* revert imageexample uri updates

* fabric snapshots

---------

Co-authored-by: Andrew <30809111+acoates-ms@users.noreply.github.com>
2024-05-29 10:58:28 -07:00
Chiara Mooney 4af86020f1
Integrate RN Nightly 9/20 (#12165)
* Integrate 8/24

* Change files

* Update Overrides

* Update Metro

* Update Packages

* Change files

* Update Snapshots

* Update Pkg Version

* Integrate 9/20

* Change files

* Remove Override

* Remove Override

* Add Files to CICompile

* Fix Build Break

* Format + Overrides + Warnings Fix

* Add Override

* Address Feedback

* Address Feedback

* Try to fix missing-asset-registry-path error

* Remove deleted yoga functions from exported def file

* Force resolution of @react-native/metro-config@0.73.1 and actually use it in our metro config

* Fix Snapshots

* fix bundles

* Fix lib cli-init

* fix playground bundle again

* Yarn

* fix lib again

* Fix Test

---------

Co-authored-by: Jon Thysell <jthysell@microsoft.com>
Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
2023-10-05 14:38:33 -07: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
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) 6238240df4
Check constants in generated turbo module specs (#8730)
* Split method validation generation to a single file

* Refactor

* Refactor

* Generate constant spec

* Update GenerateNM2.ts

* yarn build

* Update AppStateModule

* Update I18nManagerModule

* Update DeviceInfoModule

* Change files

* Update AppStateModule.cpp
2021-09-28 18:31:40 -07:00
Zihan Chen (MSFT) df2e77140e
Generate anonymous objects for turbo module (#8622)
* Refactor aliased struct code generation process

* Pass anonymous object name

* Use anonymous object name to replace `React::JSValueObject`

* Generate anonymous objects

* Refactor

* Refactor

* Generate nested anonymous objects

* `yarn build`

* Generate nested anonymous objects in correct order

* Add comments

* Change files

* Fix AppState to match the updated spec
2021-09-14 02:08:40 -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