Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from microsoft:main #31

Open
wants to merge 2,421 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2421 commits
Select commit Hold shift + click to select a range
67b4a5a
Introduce extension function for PixelUtil (#46072)
alanleedev Aug 20, 2024
5561457
Limit HermesPerfetto tracing to the top 25 and bottom 25 frames, allo…
Aug 20, 2024
2bbe8f4
Revert D61298649 (#46118)
Aug 20, 2024
d713349
Replace "elevation" in RNTester rows with box-shadow (#46076)
NickGerleman Aug 20, 2024
3cd6d18
Increase Example List Density (#46080)
NickGerleman Aug 20, 2024
ee597bf
Breaking: Always use AttributedStringBox instead of AttributedString …
NickGerleman Aug 21, 2024
a949e0d
Report early js exceptions on the js thread (#46116)
RSNara Aug 21, 2024
387560a
Make StaticViewConfigValidator permissive of extra attributes on SVC …
NickGerleman Aug 21, 2024
a7fbe81
Appearance: Migrate to ESM Named Exports (#46119)
yungsters Aug 21, 2024
693a575
Appearance: Manage Native Listener Count (Android) (#46121)
yungsters Aug 21, 2024
ed3ca07
Appearance: Dedupe `colorScheme` Validation Logic (#46120)
yungsters Aug 21, 2024
8f0f50f
Appearance: Cache `colorScheme` in JavaScript (#46122)
yungsters Aug 21, 2024
a462dfd
delete change_order_of_mounting_instructions optimisation (#46113)
sammy-SC Aug 21, 2024
5164287
Disable native source code fetching in jsinspector-modern targets (#4…
huntie Aug 21, 2024
9c16fb3
Fetch Github tags in the publish-release job (#46131)
cipolleschi Aug 21, 2024
774fe0c
fix(react-native-xcode): Use `CONFIG_CMD` if set (#46112)
krystofwoldrich Aug 21, 2024
e1a1cda
Update RNTester and HelloWorld to min iOS 15.1 (#46136)
realsoelynn Aug 21, 2024
d11c999
Bump React Native OSS build infra to min iOS 15.1 (#46137)
realsoelynn Aug 21, 2024
b93c2b2
Bump React Native CI to min iOS 15.1 (#46135)
realsoelynn Aug 21, 2024
9239ad1
Clean up RCTParagraphComponentView & RCTParagraphTextView (#46125)
zhongwuzw Aug 21, 2024
954e294
perf(virtualized-lists) removing rerender cells for every change of V…
Tom910 Aug 21, 2024
5f7538c
Add default value for newArchitectureEnabled param (#46140)
mdvacca Aug 21, 2024
81a41ec
Clean up ReactViewGroup child listeners (#46139)
Aug 21, 2024
524a3f0
Try fixing bundling outside the repo (#46148)
NickGerleman Aug 22, 2024
42dcfdd
avoid default when switching on UnitType (#46146)
philIip Aug 22, 2024
9bfbf94
Add line offset for baseline alignment of text attachments (#46172)
j-piasecki Aug 22, 2024
5bb4ef5
Fix issue where filter layer was not the same shape as the underlying…
joevilches Aug 22, 2024
5fc2bd4
Improve handling of disconnected nodes in MutationObserver (#46157)
rubennorte Aug 22, 2024
1f755de
Improve handling of disconnected nodes in IntersectionObserver (#46156)
rubennorte Aug 22, 2024
bb3c51d
RN: don't check for or add zero terminator to bundle (#45966)
Aug 22, 2024
75114e3
Fix ModalHostView's inner view not having the correct reactTag (#46176)
javache Aug 22, 2024
858ad5e
move enableLayoutAnimationsOnIOS feature flag to common infra (#46174)
sammy-SC Aug 23, 2024
4075418
Add support for assymetrical border radii when using % (#46009)
jorge-cab Aug 23, 2024
4c16290
Merge commit '6f7eae5c583090bd62ca60a4c3170445e5a0a751' into main
Saadnajmi Aug 17, 2024
3d5ba58
Merge up to 0.75 branch cut (#2157)
Saadnajmi Aug 23, 2024
a8be335
fix (iOS): refresh control not behaving correctly if it is offscreen …
deepanshushuklad11 Aug 23, 2024
6b104bb
Fixes race condition when setup image loader (#46153)
zhongwuzw Aug 23, 2024
17613fc
remove unused method nativeFabricUIManager.cloneNode
kassens Aug 23, 2024
d7a3e48
feat(iOS): add support for missing text content types (#42788)
krozniata Aug 23, 2024
b22970e
autolinked package scripts use absolute path (#46186)
blakef Aug 23, 2024
6cab6c2
feat(iOS): line break mode cpp changes and new functions (#46130)
shubhamguptadream11 Aug 23, 2024
fe941a8
feat(iOS): line break mode prop iOS updates to consume new cpp functi…
shubhamguptadream11 Aug 23, 2024
baae360
Fix dropShadow not creating stacking context (#46143)
jorge-cab Aug 23, 2024
8d3c4fb
Fix border radius on Paper (#46187)
jorge-cab Aug 23, 2024
09e8844
Fix undefined behavior in MethodInvoker (#46188)
Aug 23, 2024
6cfe51d
Border Radius percentage should be disabled on Paper (#46179)
shwanton Aug 24, 2024
b6fc75a
Remove check for deprecated isIgnoringInteractionEvents for hotkeys (…
Aug 26, 2024
fdb77ae
Reset animatedView when detaching AnimatedProps (#46205)
javache Aug 26, 2024
b86e8ef
Appearance: Lazily Initialize `NativeAppearance` (#46123)
yungsters Aug 26, 2024
1ffe74a
Add trace markers to ReactTextView (#46214)
NickGerleman Aug 26, 2024
2a23069
fix font weight not update for mutate state (#45932)
meetdhanani17 Aug 26, 2024
d0f48c8
reduce noisy systrace sections (#46185)
sammy-SC Aug 26, 2024
74c9ef8
Remove incorrect state update during unmount in Modal (#46218)
rubennorte Aug 26, 2024
851037d
Dedupe trivial types between modules and components (#46220)
elicwhite Aug 27, 2024
b10ed0e
feat(iOS): dynamically resolve react native path in Hermes podspec (#…
okwasniewski Aug 27, 2024
8c81ffa
fix(android): make getUri and isResource available for override (#46152)
shubhamguptadream11 Aug 27, 2024
b96238d
Remove FakeYogaNode and FakeYogaConfig (#46215)
NickGerleman Aug 27, 2024
3596019
Fix handling 'auto' checks in absolute layout (#46216)
coado Aug 27, 2024
773fc8d
Remove useFuseboxInternalBranding experiment (#46230)
huntie Aug 27, 2024
46d17ef
Start looking for codegen-enabled dependencies from the project root …
dmytrorykun Aug 27, 2024
0cb97f0
feat: build codegen on postinstall (#46227)
okwasniewski Aug 27, 2024
3a77e6e
Update debugger-frontend from c98a122...7f6cfe3 (#46233)
EdmondChuiHW Aug 27, 2024
396bdd8
fix: ensure `--build-output` destination exists (#45182)
szymonrybczak Aug 27, 2024
6365df5
fix(android): resolve crash by handling colour resource IDs with "and…
shubhamguptadream11 Aug 27, 2024
dd26c3c
DebuggerSessionObserver: define global from C++ (#46044)
hoxyq Aug 27, 2024
2e545b1
DebuggerSessionObserver: JavaScript API (#46043)
hoxyq Aug 27, 2024
6d52445
use DebuggerSessionObserver in LogBox (#46045)
hoxyq Aug 27, 2024
f80e6c1
Back out "Introduce NativeDebuggerSessionObserver module" (#46042)
hoxyq Aug 27, 2024
03801f2
Move `experimental_boxShadow` and `experimental_backgroundImage` to B…
NickGerleman Aug 27, 2024
b01da5e
Get filter/boxShadow to show up with CoreFeatures::enablePropIterator…
joevilches Aug 27, 2024
54ce662
Create feature flag to fix incorrect "MountingCoordinator::hasPending…
rubennorte Aug 27, 2024
cf356bd
Remove legacy integration of createPerformanceLogger with Systrace (#…
rubennorte Aug 28, 2024
94e7a87
Remove --experimental-debugger option (#46231)
huntie Aug 28, 2024
c2d7326
Rename Dev Menu debugger item (#46182)
huntie Aug 28, 2024
3077db3
Update references to debugger frontend (#46232)
huntie Aug 28, 2024
8618eec
Make Filters implicitly set overflow hidden (#46145)
jorge-cab Aug 28, 2024
7bc9244
Upgrade pretty-format to v29 (#45732)
dprevost-LMI Aug 28, 2024
20e3f45
fix: Linear gradient border styles with BackgroundStyleApplicator (#4…
intergalacticspacehighway Aug 29, 2024
9cd6f3e
fix prettier error in CI (#46255)
alanleedev Aug 29, 2024
6fa54f9
Remove `experimental_` prefix from `boxShadow` and `filter` (#46245)
jorge-cab Aug 29, 2024
768415d
Refactoring: extract helper functions from StatusBarModule (#46224)
alanleedev Aug 29, 2024
8b2ccea
Update debugger-frontend from 7f6cfe3...32358bd (#46256)
EdmondChuiHW Aug 29, 2024
1333e0e
update compileSdk to 35 (#46235)
alanleedev Aug 29, 2024
0f66a69
rebuild autolinking cache if empty or invalid (#46241)
blakef Aug 29, 2024
0b56cca
Array's with unparsable element type's are explicitly Any vs missing …
elicwhite Aug 29, 2024
a536311
Fix NativeModuleEnumMembers type (#46222)
elicwhite Aug 29, 2024
84ec424
Remove superflous {type:string} from CodegenSchema (#46237)
elicwhite Aug 29, 2024
48c4380
ReactImageView - fix double imageSource check (#46248)
Aug 29, 2024
8501b63
Fix GH-41226 by suppressing path adjustment when not actually drawing…
knappam Aug 29, 2024
a0909ef
Move reporting of long tasks to before updating rendering (#46252)
rubennorte Aug 29, 2024
c6aa9f4
Add surfaceId to EventTarget (#46254)
rubennorte Aug 29, 2024
610212d
Fix incorrect timing for events that do not update the UI (#46253)
rubennorte Aug 29, 2024
9f3fe81
Add missing commander dependency (#46242)
blakef Aug 29, 2024
4351247
Lift Web Performance tracks in Perfetto to the top of the custom trac…
rubennorte Aug 29, 2024
acbde24
Revert D61726506 (#46266)
jorge-cab Aug 30, 2024
a2d53d5
Support simple opacity in nested text (#46267)
NickGerleman Aug 30, 2024
dbe2b38
Remove unnecessary null check from FabricEventDispatcher (#46268)
rubennorte Aug 30, 2024
0eec866
Improve naming of methods in FabricEventDispatcher (#46269)
rubennorte Aug 30, 2024
d055efd
Implement optimized event batching on Android (#46270)
rubennorte Aug 30, 2024
aa9817a
fix: Port publish pipeline changes from 0.74 and 0.75 stable branches…
Saadnajmi Aug 30, 2024
2176866
Add children to separate _containerView, if needed (#46189)
joevilches Aug 30, 2024
7653f76
Decouple background color from border drawing (#46190)
joevilches Aug 30, 2024
4f50aca
Decouple clipping logic from border drawing (#46191)
joevilches Aug 30, 2024
defb0bd
Add more tests for border + child interaction (#46195)
joevilches Aug 30, 2024
2cfd082
Update debugger-frontend from ae992da...d3a8d98 (#46265)
EdmondChuiHW Aug 30, 2024
5cdfec9
update metro version in react-native (#46264)
vzaidman Aug 30, 2024
7d7f94c
Deploy 0.245.0 to xplat (#46272)
SamChou19815 Aug 30, 2024
56937d6
Animated: Generalize `ReactElement` Check in `AnimatedObject` (#46273)
yungsters Aug 30, 2024
6d75739
fix: `local-cli` is missing from published package (#2182)
tido64 Aug 30, 2024
6f88a60
Fix small border radius getting capped (#46251)
jorge-cab Aug 30, 2024
b732623
[react-native-macos-init] Push change files for a new version #2177
Saadnajmi Aug 30, 2024
b25d6c8
Fix process functions not properly dealing with newlines (#46281)
jorge-cab Aug 30, 2024
4094ce0
RN: Improve Error for Invalid `processFilter` Values (#46271)
yungsters Aug 30, 2024
f00e8ba
Update InspectorFlags to use NDEBUG flag (#46282)
huntie Aug 30, 2024
b86ac52
fix: Properly import `npm-registry-fetch` in `react-native-macos-init…
Saadnajmi Aug 30, 2024
db3f8e7
Sync `react-native-macos-init` vesrion with NPM registry using beachb…
Saadnajmi Aug 31, 2024
305b435
Revert D61966685: Update InspectorFlags to use NDEBUG flag
NickGerleman Aug 31, 2024
3350050
Update debugger-frontend from d3a8d98...a556d26 (#46289)
huntie Sep 2, 2024
5bbf5a4
default embedder script for open-source (#46302)
EdmondChuiHW Sep 2, 2024
ade863a
Add Android version of SafeAreaView (#46246)
alanleedev Sep 2, 2024
4ddb12c
export SafeAreaView for limited RN core use (#46249)
alanleedev Sep 3, 2024
a1668e3
Remove experimental suffix from page titles (#46296)
huntie Sep 3, 2024
b875b91
do not ignore events dispatched during view creation (#46308)
sammy-SC Sep 3, 2024
2b11131
Animated: Cleanup Types in `AnimatedTransform` (#46285)
yungsters Sep 3, 2024
c16defa
fix(TypeScript): Allow readonly arrays in transform (#46310)
tjzel Sep 3, 2024
83489de
Fix perfetto integration iOS build (#46313)
javache Sep 3, 2024
db375ab
Do not disable AllocInYoung for Hermes by default (#46314)
javache Sep 3, 2024
c722ec7
Upstream Fixes from React Native Windows Platform (#46315)
chiaramooney Sep 4, 2024
0a1ba02
Animated: Remove Validation from Production Builds (#46287)
yungsters Sep 4, 2024
dea5a6c
Enable Multiple Sheet Presentation in React Native (#46316)
Sep 4, 2024
dda3397
Animated: Make `NativeAnimatedHelper` Private (#46311)
yungsters Sep 4, 2024
eb02d5c
Deploy 0.245.1 to xplat (#46328)
SamChou19815 Sep 4, 2024
b4b0c1d
Avoid list allocation in scroll path (#46324)
javache Sep 4, 2024
320963c
RN: Enable Hermes Parser in Default Metro Config (#46318)
yungsters Sep 4, 2024
e864663
fix broken test due to error message change (#46329)
Sep 4, 2024
464a202
Replace $ObjMap in EventEmitter with mapped type (#46332)
SamChou19815 Sep 4, 2024
62ee5c9
Replace final $ObjMap in react-native with mapped type (#46335)
SamChou19815 Sep 5, 2024
f1031be
Enable Multiple Sheet Presentation in React Native (#46333)
Sep 5, 2024
2bdcbb1
Deploy 0.245.2 to xplat (#46343)
SamChou19815 Sep 5, 2024
3df0f3b
Skip transform invalidation if unchanged (#46345)
javache Sep 5, 2024
b371014
update babel and fix tests accordingly (#46295)
vzaidman Sep 5, 2024
46fc9d9
Fix DispatchUIFrameCallback invoked multiple times per frame (#46346)
javache Sep 5, 2024
f7479e6
set inset based padding to RNTester (#46354)
alanleedev Sep 5, 2024
5fe7660
Set inset based margins on LogBox (#46338)
alanleedev Sep 6, 2024
4c55e94
remove unnecessary useRef (#46351)
sammy-SC Sep 6, 2024
8ebddf3
listen to onUserDrivenAnimationEnded in passive effects versions of u…
sammy-SC Sep 6, 2024
5e77784
Cleanup the useDebouncedEffect experiment
dmytrorykun Sep 6, 2024
194b642
Fix using namespace issues in xplat
r-barnes Sep 6, 2024
31abc5d
Simplify preMountItems frame time check (#46347)
javache Sep 6, 2024
d0a5f8f
Gradle to 8.10 (#46369)
cortinico Sep 6, 2024
aca31eb
Bump AGP to 8.6.0 (#46368)
cortinico Sep 6, 2024
206d008
handle LogBox Notification overlap with nav bar (#46341)
alanleedev Sep 6, 2024
3bd3d76
handle InspectorPanel overlap with system bars (#46340)
alanleedev Sep 6, 2024
0c90cfc
Remove some Tasks overhead (#46348)
javache Sep 6, 2024
1063de3
Instrumentation for SurfaceMountingManager (#46366)
dmytrorykun Sep 6, 2024
9e35dff
Animated: Refactor `NativeAnimatedHelper` (#46312)
yungsters Sep 6, 2024
d1ebe02
Animated: Optimize Traversals in Nodes (#46286)
yungsters Sep 6, 2024
2f86769
Animated: Store Listeners w/ Map
yungsters Sep 6, 2024
1bd4a11
Add Fusebox support for saving traces to disk (#46370)
Sep 6, 2024
e629a85
fix: Bring back Cxx TurboModule autolinking via `registerCxxModuleToG…
mrousavy Sep 6, 2024
17d0345
Migrate FlatList/SectionList E2E testss from Catalyst to RNTester (#4…
shwanton Sep 6, 2024
79e4ed2
Refactor/ bugfix for ReactModalHostView (#46326)
alanleedev Sep 7, 2024
77b3a8b
Modal bugfix for statusBarTranslucent prop and Android 15 (#46359)
alanleedev Sep 7, 2024
9cc6f00
chore(iOS): bump socket rocket to 0.7.1 (#46300)
okwasniewski Sep 7, 2024
d687d38
Fix duplicate entries in HEADER_SEARCH_PATHS when running react_nativ…
dirkpostma Sep 7, 2024
d424c24
Zip slices to preserve symlinks (#46387)
cipolleschi Sep 8, 2024
3244a5e
code cleanup for depreacted OS version (#46390)
alanleedev Sep 9, 2024
97b661c
add inset based margins to RedBox (#46391)
alanleedev Sep 9, 2024
3621606
feat(iOS): expose newArchEnabled, deprecate separate methods (#46228)
okwasniewski Sep 9, 2024
148066e
Bump CLI to 15 (#46394)
cipolleschi Sep 9, 2024
7041ed2
fix(android): ensure Appearance change listener does not skip events …
vonovak Sep 9, 2024
f220bde
Remove Inspector Panel perf + network tabs under New Arch (#46307)
huntie Sep 9, 2024
d55efe8
Fix HERMES_ENABLE_DEBUGGER define for jsinspector-modern under CocoaP…
huntie Sep 9, 2024
143f1ad
Enable RN DevTools Android OSS debug builds (#46395)
robhogan Sep 9, 2024
b0111c0
fix: Remove flipper config from the Podfile template (#2195)
Negan1911 Sep 20, 2024
a87ddb5
fix: Allow viewRegistry to accept subclasses of NSView (#2196)
Saadnajmi Sep 20, 2024
704b60c
fix: Properly clean up RCTDevLoadingView on hide (#2201)
Saadnajmi Sep 26, 2024
c361308
fix(CI): Download visionOS if necessary (#2204)
Saadnajmi Sep 28, 2024
bb56537
Bump rexml from 3.2.6 to 3.3.6 in /packages/helloworld (#2175)
dependabot[bot] Sep 30, 2024
3ebf897
fix: Properly dismiss RCTDevLoadingView (#2211)
Saadnajmi Oct 3, 2024
2d866c8
feat(RCTUIKit): Shim RCTUIGraphicsImageRenderer (#2209)
Saadnajmi Oct 3, 2024
8cd5b67
Multi line text view key handling: add check for first responder (#2215)
nakambo Oct 9, 2024
db89ff4
cherrypick: Bring changes to improve our RCTUIGraphicsImageRenderer s…
Saadnajmi Oct 13, 2024
2f944eb
fix(CI): Fix `verify react-native-macos-init` job (#2199)
Saadnajmi Oct 15, 2024
09cf897
applying package updates ***NO_CI***
rnbot Oct 15, 2024
05d533d
[RCTBackedTextInputDelegate] Add nullable annotation to method (#2221)
nakambo Oct 17, 2024
c63334c
Configure CG to ignore helloworld. (#2224)
hansenyy Oct 18, 2024
9bf6051
chore(ci): Update to Xcode 16 (#2207)
Saadnajmi Oct 18, 2024
b509c05
chore: Update to Yarn 4.5.1 (#2226)
Saadnajmi Oct 20, 2024
6eb69da
chore(react-native-macos-init): Update Typescript and just-scripts (#…
Saadnajmi Oct 20, 2024
8ea9b6a
fix(react-native): implement `build-macos` command (#2225)
tido64 Oct 21, 2024
31d99df
fix(react-native): implement `projectConfig` and `dependencyConfig` (…
tido64 Oct 22, 2024
95834df
fix(react-native): `xcodeProject.path` may not always be present (#2237)
tido64 Oct 24, 2024
fec7910
chore(init): use a stricter `tsconfig.json` (#2240)
tido64 Oct 24, 2024
cfa611f
ci: fix the `react-native-macos-init` pipeline (#2228)
tido64 Oct 24, 2024
71b8286
Merge commit '143f1ad29874c1e8e9561abae263cb08f4859407' into 0.76-merge
Saadnajmi Sep 9, 2024
87c5bfe
ci: disable react-native-macos-init PR pipeline
Saadnajmi Oct 24, 2024
42a1387
Merge up to `0.76-stable` branch cut (#2190)
Saadnajmi Oct 24, 2024
296b251
ci: temporarily disable publish pipeline on 0.76-stable (#2242)
Saadnajmi Oct 25, 2024
96c0605
fix(virtualized-lists): revert dependency change to break cycle (#2244)
tido64 Oct 25, 2024
3ba188a
fix(react-native): fix `run-macos` failing to find Xcode project (#2247)
tido64 Oct 25, 2024
d124c37
ci: re-enable `react-native-macos-init` pipeline (#2243)
tido64 Oct 25, 2024
1b0738a
ci: Remove speical case for 0.76-stable
Saadnajmi Oct 28, 2024
e40ba8a
Bump rexml from 3.3.6 to 3.3.9 (#2249)
dependabot[bot] Oct 29, 2024
9b24553
Bump rexml from 3.3.6 to 3.3.9 in /packages/helloworld (#2254)
dependabot[bot] Oct 29, 2024
b8336d3
ci: remove special case for `0.76-stable` (#2250)
Saadnajmi Oct 29, 2024
e2b6374
ci: Use the same VM image for PR and publish
Saadnajmi Oct 29, 2024
fd1bc5c
ci: Use the same VM image for PR and publish (#2255)
Saadnajmi Oct 29, 2024
9945e86
ci: fix RNTA integration pipeline (#2241)
tido64 Oct 30, 2024
1f50734
ci: Use Ubuntu for publish job (#2256)
Saadnajmi Oct 30, 2024
b5a831a
fix(publish): use set-version instead of set-rn-version (#2258)
Saadnajmi Oct 30, 2024
64a9964
Component Governance Fixes. (#2236)
hansenyy Oct 31, 2024
84b8d65
ci: fix usage of `set-version` script (#2262)
Saadnajmi Oct 31, 2024
d61d747
chore: exclude unused packages from workspaces (#2265)
tido64 Nov 7, 2024
ffd6abb
ci: Downgrade to Xcode 15, don't run `pod install` with `react-native…
Saadnajmi Nov 13, 2024
060a80b
Remove dependency on ip (#2277)
hansenyy Nov 14, 2024
7ce4b0c
docs: add explainer for gotchas with NSView based native components (…
Saadnajmi Nov 15, 2024
e5426cc
[fabric] Fix hit testing calls going through LegacyViewManagerInterop…
Sep 8, 2023
2428d74
[fabric] Add support for clipsToBounds to RCTViewComponentView
Sep 13, 2023
57fc114
[fabric] Fix events being dispatched to wrong react component for Pap…
Oct 4, 2023
9d326ef
fix(fabric): Disable TextInput prop `enablesReturnKeyAutomatically` o…
Saadnajmi Nov 15, 2024
c952214
chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#2285)
dependabot[bot] Nov 20, 2024
48950aa
[fabric] Make text input first responder through the window instance
Aug 25, 2023
225518c
[fabric] Make text input resign first responder through the window in…
Oct 26, 2023
8d07d9c
style(fabric, textinput): don't nil check the window before calling f…
Saadnajmi Nov 20, 2024
ba3269f
refactor(paper): remove macOS specific transform handling code
Saadnajmi Nov 21, 2024
bf133b9
[fabric] Adapt transforms to CALayer top-left anchor point
Oct 25, 2023
6270064
ci: upgrade to Xcode 16 (#2294)
Saadnajmi Nov 22, 2024
757299f
[fabric] Disable view flattening in VirtualizedList cells
Oct 31, 2023
6539a8b
[fabric] Disable view flattening in header/footer/empty/spacer compon…
Nov 10, 2023
1e532aa
[fabric] Add text storage getter to set up text views outside text la…
Sep 20, 2023
c5b4e07
[fabric] Render Paragraph text using NSTextView
Sep 20, 2023
22b7063
chore(fabric, text): Refactor macOS implementation to use contentView
Saadnajmi Nov 15, 2024
96881d7
[fabric] Add conditional coordinate space conversion for native view …
Nov 8, 2023
2d4d460
fix(fabric): don't import RCTView into RCTViewComponentView
Saadnajmi Nov 21, 2024
a9c8649
refactor(fabric): Make the diff in `[RCTViewComponentView betterHitTe…
Saadnajmi Nov 28, 2024
49ce1d3
ci: Disable Xcode tests (#2298)
Saadnajmi Nov 29, 2024
205804a
[fabric] Enable Automatic Spelling Correction
shwanton Nov 1, 2023
bbc1f2a
[fabric] Enable Continuous Spell Checking
shwanton Nov 9, 2023
d0e10df
[fabric] Enable Grammar Checking
shwanton Nov 9, 2023
ff45964
[fabric] Static cast BOOL values event data struct init for TextInput
Nov 13, 2023
4e6e12e
fix(fabric, textinput): add grammer events to view config
Saadnajmi Nov 21, 2024
ac0a927
fix(paper, textinput): make grammer events direct events
Saadnajmi Nov 21, 2024
fe7d532
fix(fabric, textinput): Move spelling and grammer props to TextInputM…
Saadnajmi Nov 29, 2024
79b16cb
ci: don't print Brewfile.lock.json (#2306)
Saadnajmi Dec 4, 2024
dde6d80
chore: set up proper publishing pipeline (#2266)
tido64 Dec 4, 2024
7e79c7f
Auto-generated baselines by 1ES Pipeline Templates (#2307)
microsoft-github-policy-service[bot] Dec 6, 2024
5bf84b1
ci: use blobless clones in publishing pipelines (#2315)
tido64 Dec 6, 2024
16acfc3
fix(NativeEventEmitter): load NativeAnimatedModule on macOS (#2302)
Saadnajmi Dec 12, 2024
d924f34
fix: RCTAppDelegate::bundleURL not implemented (#2320)
DanielSRS Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 1 addition & 3 deletions .ado/apple-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ stages:
dependsOn: []
jobs:
- template: /.ado/jobs/test-javascript.yml@self

- template: /.ado/jobs/npm-publish-dry-run.yml@self

- stage: Integration
dependsOn: []
jobs:
- template: /.ado/jobs/test-react-native-macos-init.yml@self

# - template: /.ado/jobs/react-native-test-app-integration.yml@self
- template: /.ado/jobs/react-native-test-app-integration.yml@self
127 changes: 65 additions & 62 deletions .ado/jobs/build-test-rntester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ parameters:
- name: appleBuildMatrix
type: object
default:
- name: macos_oldarch_jsc
- name: macos_oldarch_jsc
friendly_name: 'macOS, Old Arch, JSC'
sdk: macosx
scheme: RNTester-macOS
Expand Down Expand Up @@ -30,7 +30,7 @@ parameters:
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
- name: ios_oldarch_jsc
- name: ios_oldarch_jsc
friendly_name: 'iOS, Old Arch, JSC'
sdk: iphonesimulator
scheme: RNTester
Expand Down Expand Up @@ -58,7 +58,7 @@ parameters:
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
- name: xros_oldarch_jsc
- name: xros_oldarch_jsc
friendly_name: 'xrOS, Old Arch, JSC'
sdk: xrsimulator
scheme: RNTester-visionOS
Expand Down Expand Up @@ -89,76 +89,79 @@ parameters:

jobs:
- ${{ each slice in parameters.appleBuildMatrix }}:
- job: ${{ slice.name }}
displayName: ${{ slice.friendly_name }}
pool:
vmImage: $(vmImageApple)
timeoutInMinutes: 90
cancelTimeoutInMinutes: 5
steps:
- job: ${{ slice.name }}
displayName: ${{ slice.friendly_name }}
pool:
vmImage: $(vmImageApple)
timeoutInMinutes: 90
cancelTimeoutInMinutes: 5
steps:
- template: /.ado/templates/apple-tools-setup.yml@self

- task: CmdLine@2
displayName: yarn install
inputs:
script: |
- ${{ if in(slice.sdk, 'xros', 'xrsimulator') }}:
- script: |
set -eox pipefail
yarn install --immutable
# https://github.com/actions/runner-images/issues/10559
sudo xcodebuild -runFirstLaunch
sudo xcrun simctl list
sudo xcodebuild -downloadPlatform visionOS
sudo xcodebuild -runFirstLaunch
displayName: Download visionOS SDK

- task: CmdLine@2
displayName: pod install
inputs:
script: |
set -eox pipefail
cd packages/rn-tester
bundle install
bundle exec pod install --verbose
- script: |
yarn install
displayName: Install npm dependencies

- script: |
set -eox pipefail
bundle install
bundle exec pod install --verbose
env:
RCT_NEW_ARCH_ENABLED: ${{ slice.new_arch_enabled }}
USE_HERMES: ${{ slice.use_hermes }}
workingDirectory: packages/rn-tester
displayName: Install Pods

- task: CmdLine@2
displayName: Build ${{ slice.scheme }}
inputs:
script: |
set -eox pipefail
./.ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} build
- script: |
set -eox pipefail
.ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} build
env:
CCACHE_DISABLE: 1

# Skip testing on visionOS via the conditions below
displayName: Build ${{ slice.scheme }}


# https://github.com/microsoft/react-native-macos/issues/2297
# Skip native tests as they tend to be flaky

- ${{ if ne(slice.scheme, 'RNTester-visionOS') }}:
- task: ShellScript@2
displayName: 'Setup packager and WebSocket test server'
inputs:
scriptPath: '.ado/scripts/ado-test-setup.sh'
disableAutoCwd: true
cwd: ''
# - ${{ if ne(slice.scheme, 'RNTester-visionOS') }}:
# - task: ShellScript@2
# displayName: Setup packager and WebSocket test server
# inputs:
# scriptPath: .ado/scripts/ado-test-setup.sh
# disableAutoCwd: true
# cwd: ''

- bash: |
echo Preparing the packager for platform $PLATFORM
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true&minify=false" -o /dev/null
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
env:
PLATFORM: ${{ slice.packager_platform }}
displayName: 'curl the packager'
# - script: |
# echo Preparing the packager for platform $PLATFORM
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true&minify=false" -o /dev/null
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
# curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
# env:
# PLATFORM: ${{ slice.packager_platform }}
# displayName: Fetch JS bundles from dev server

- task: CmdLine@2
displayName: Test ${{ slice.scheme }}
inputs:
script: |
set -eox pipefail
./.ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} test
env:
CCACHE_DISABLE: 1
# - script: |
# set -eox pipefail
# .ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} test
# env:
# CCACHE_DISABLE: 1
# displayName: Test ${{ slice.scheme }}

- task: ShellScript@2
displayName: 'Cleanup packager and WebSocket test server'
inputs:
scriptPath: '.ado/scripts/ado-test-cleanup.sh'
disableAutoCwd: true
cwd: ''
condition: always()
# - task: ShellScript@2
# displayName: Cleanup packager and WebSocket test server
# inputs:
# scriptPath: .ado/scripts/ado-test-cleanup.sh
# disableAutoCwd: true
# cwd: ''
# condition: always()
8 changes: 2 additions & 6 deletions .ado/jobs/npm-publish-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ jobs:
steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
clean: true # whether to fetch clean each time
# fetchDepth: 2 # the depth of commits to ask Git to fetch
lfs: false # whether to download Git-LFS files
submodules: recursive # set to 'true' for a single level of submodules or 'recursive' to get submodules of submodules
fetchFilter: blob:none # partial clone for faster clones while maintaining history
persistCredentials: true # set to 'true' to leave the OAuth token in the Git config after the initial fetch

- template: /.ado/templates/apple-steps-publish.yml@self
parameters:
build_type: 'dry-run'
- template: /.ado/templates/npm-publish.yml@self
91 changes: 29 additions & 62 deletions .ado/jobs/react-native-test-app-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,83 +9,50 @@ jobs:
cancelTimeoutInMinutes: 5
steps:
- template: /.ado/templates/apple-tools-setup.yml@self
- bash: |
echo "##vso[task.setvariable variable=package_version]$(cat package.json | jq .version | awk '{ print substr($0, 2, length($0) - 2) }')"
echo "##vso[task.setvariable variable=react_version]$(cat package.json | jq .peerDependencies.react)"
echo "##vso[task.setvariable variable=rncli_version]$(cat package.json | jq '.dependencies."@react-native-community/cli"')"
echo "##vso[task.setvariable variable=rncli_android_version]$(cat package.json | jq '.dependencies."@react-native-community/cli-platform-android"')"
echo "##vso[task.setvariable variable=rncli_ios_version]$(cat package.json | jq '.dependencies."@react-native-community/cli-platform-ios"')"
displayName: 'Determine react-native-macos version'
workingDirectory: packages/react-native
- bash: |
npm pack ./packages/react-native
displayName: 'Pack react-native-macos'
- bash: |
git clone --progress https://github.com/microsoft/react-native-test-app.git
displayName: Checkout react-native-test-app
- bash: |
set -eo pipefail
cat package.json |
jq '.devDependencies["react"] = $(react_version)' |
jq '.devDependencies["react-native"] = "^0.71"' |
jq '.devDependencies["react-native-macos"] = "../react-native-macos-$(package_version).tgz"' |
jq 'del(.devDependencies["@react-native-community/cli"])' |
jq 'del(.devDependencies["@react-native-community/cli-platform-android"])' |
jq 'del(.devDependencies["@react-native-community/cli-platform-ios"])' |
jq 'del(.devDependencies["react-native-windows"])' > .package.json
mv .package.json package.json
cat package.json | jq .devDependencies
displayName: Modify react-native-test-app dependencies

- template: /.ado/templates/verdaccio-publish.yml@self

- script: |
git clone --filter=blob:none --progress https://github.com/microsoft/react-native-test-app.git
displayName: Clone react-native-test-app

- script: |
node .ado/scripts/export-versions.mjs
displayName: Determine react-native version

- script: |
npm run set-react-version $(react_native_version) -- --overrides '{ "react-native-macos": "1000.0.0" }'
displayName: Configure react-native-test-app dependencies
workingDirectory: react-native-test-app
- bash: |

- script: |
set -eo pipefail
cat package.json |
jq '.devDependencies["@react-native-community/cli"] = $(rncli_version)' |
jq '.devDependencies["@react-native-community/cli-platform-android"] = $(rncli_android_version)' |
jq '.devDependencies["@react-native-community/cli-platform-ios"] = $(rncli_ios_version)' |
jq '.devDependencies["react"] = $(react_version)' |
jq '.devDependencies["react-native"] = "^0.71"' |
jq '.devDependencies["react-native-macos"] = "../../react-native-macos-$(package_version).tgz"' |
jq 'del(.devDependencies["react-native-windows"])' > .package.json
mv .package.json package.json
cat package.json | jq .devDependencies
displayName: Modify example app dependencies
workingDirectory: react-native-test-app/example
- template: /.ado/templates/verdaccio-init.yml@self
- bash: |
npx beachball publish --branch origin/$(System.PullRequest.TargetBranch) --no-push --registry http://localhost:4873 --yes --access public
displayName: Publish beachball packages to verdaccio
- bash: |
cat .yarnrc.yml | sed 's_^npmRegistryServer: ".*"$_npmRegistryServer: "http://localhost:4873"_' > .yarnrc.yml.copy
rm .yarnrc.yml
mv .yarnrc.yml.copy .yarnrc.yml
echo -e '\nunsafeHttpWhitelist: ["localhost"]' >> .yarnrc.yml
displayName: Point react-native-test-app registry to verdaccio server
workingDirectory: react-native-test-app
- bash: |
$(Build.Repository.LocalPath)/.ado/scripts/verdaccio.sh configure
yarn --no-immutable
displayName: Install npm dependencies
workingDirectory: react-native-test-app
- bash: |

- script: |
yarn build:macos || yarn build:macos
displayName: Bundle JavaScript
workingDirectory: react-native-test-app/example
- bash: |

- script: |
rm macos/Podfile.lock
pod install --project-directory=macos
displayName: Install Pods
workingDirectory: react-native-test-app/example
- bash: |
set -eo pipefail
../scripts/xcodebuild.sh macos/Example.xcworkspace build | xcbeautify
displayName: Build Intel

- script: |
../scripts/build/xcodebuild.sh macos/Example.xcworkspace build
displayName: Build x86
workingDirectory: react-native-test-app/example
env:
CCACHE_DISABLE: 1
- bash: |
set -eo pipefail
../scripts/xcodebuild.sh macos/Example.xcworkspace clean
../scripts/xcodebuild.sh macos/Example.xcworkspace build ARCHS=arm64 | xcbeautify

- script: |
../scripts/build/xcodebuild.sh macos/Example.xcworkspace clean
../scripts/build/xcodebuild.sh macos/Example.xcworkspace build ARCHS=arm64
displayName: Build ARM
workingDirectory: react-native-test-app/example
env:
Expand Down
28 changes: 12 additions & 16 deletions .ado/jobs/test-javascript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,19 @@ jobs:
pool:
vmImage: $(VmImageApple)
steps:
- template: /.ado/templates/apple-tools-setup.yml@self
- template: /.ado/templates/apple-tools-setup.yml@self

- task: CmdLine@2
displayName: yarn install
inputs:
script: yarn install --immutable
- script: yarn install
displayName: Install npm dependencies

- task: CmdLine@2
displayName: yarn test-ci [test]
inputs:
script: 'yarn test-ci'

- script: 'yarn flow-check'
displayName: 'yarn flow-check'
- script: yarn test-ci
displayName: Test

- script: 'yarn lint'
displayName: 'yarn lint'
- script: yarn flow-check
displayName: Flow type check

- script: 'yarn format-check'
displayName: 'yarn format-check'
- script: yarn lint
displayName: Lint

- script: yarn format-check
displayName: Format
Loading
Loading