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

13453 Коммитов

Автор SHA1 Сообщение Дата
VS MobileTools Engineering Service 2 001920f754
Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 6035860 (#14756) 2022-04-18 18:10:04 -04:00
Peter Collins 70dc7e0b1f
[build] Use new MSI versioning schema (#14752)
Context: https://github.com/xamarin/yaml-templates/pull/185

Opts in to the new DateTime based MSI versioning to fix a recent issue
we saw with an MSI version moving backwards.
2022-04-15 17:57:21 -04:00
Manuel de la Pena 6d935d3432
[CI] Fix the API diff statuses on CI (#14750) 2022-04-15 16:05:57 -04:00
Manuel de la Pena f1bdd9b08b
[CI] Clean the statuses mess. (#14744)
We have been leaving statueses as pending, the main reason is that when
we ran the tests, we set the wrong status. This was complicated because
we wrote comments AND set the statuses mixing two operations. We now
have the status and the comment separated for easy debugging and more
flexibility.
2022-04-15 13:44:30 -04:00
Manuel de la Pena 3a1fe94837
[CI] Fix the links for the API diff in dotnet. (#14748) 2022-04-14 23:52:57 -04:00
Manuel de la Pena cc2f068cf5
[CI] Remove dependency on build in the governance tests. (#14746) 2022-04-14 23:52:17 -04:00
Manuel de la Pena 72e69547be
[CI] Add a status for the API diff from stable. (#14747) 2022-04-14 23:51:58 -04:00
Manuel de la Pena 94d19ea979
[CI] Add a status for the PR API diff. (#14745)
To avoid issues when setting automerging we add a status for the API
diff. If human intervention is needed to check the changes the status
will be set to error, this way the automerging wont happen. We set the
status to error even when we only have a warning, better safe than
sorry.
2022-04-14 23:51:06 -04:00
Přemek Vysoký 1730426ec9
[Xharness] Bump Microsoft.DotNet.XHarness.iOS.Shared to `1.0.0-prerelease.22211.4` (#14743) 2022-04-14 16:10:14 -04:00
Manuel de la Pena b8919c5e54
[CI] Fix 32b tests that broke the schedule build. (#14742) 2022-04-14 11:25:38 -04:00
Manuel de la Pena aa14694665
[CI] Move mac tests to use the new comments API. (#14736) 2022-04-14 09:51:35 -04:00
Manuel de la Pena f5a672eae0
[CI] Set all comments as oudated after every build. (#14734)
Since we have several builds per PR and several comments per build, the
comments sections are getting very noise. To fix that, we use GitHub
GraphQL to query all the comments for a PR (includes PR comments and
commit comments), filter them by user and title and minimize them
accordingly.
2022-04-13 22:03:00 -04:00
github-actions[bot] 2f429952ff
[Localization] Pulling New Localization Translations 2150044135 (#14721)
* LEGO: Merge pull request 14635

LEGO: Merge pull request 14635

* LEGO: Merge pull request 14671

LEGO: Merge pull request 14671

* Juno: check in to lego/hb_dca0a672-370a-4b3c-b55f-cd146e93faf9_20220411170820604.

Co-authored-by: csigs <csigs@users.noreply.github.com>
Co-authored-by: CSIGS <csigs@outlook.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-04-13 16:33:50 -05:00
Manuel de la Pena d94ede01b3
[CI] Migrate all code to use the new api to set the status on github. (#14728) 2022-04-13 15:42:01 -04:00
Manuel de la Pena 1f1189fae0
[Foundation] Ensure that post requests are not cached by the native code.(#14729)
The behaviour from apple is wrong, PUT and POST are differnet in that PUT is idempotent.
Calling PUT several times successively has the same effect (that is no side effect),
where successive identical POST may have additional effects

We should not let the native code cache the calls.
2022-04-13 14:09:10 -04:00
Manuel de la Pena 4c8d4457e5
[CI] Fix issue when adding the api diff on CI. (#14731) 2022-04-12 16:24:18 -04:00
Manuel de la Pena b8eb1c3140
[CI] Provide the bot name on mac test result comments. (#14717) 2022-04-12 12:39:54 -04:00
Manuel de la Pena a27b2d25c5
[CI] Fix typo that made comments fail on CI but not PRs. (#14727) 2022-04-12 12:08:05 -04:00
TJ Lambert 1d4daf2b4a
[Localization] Add the resx file for localization and move errors and warnings (#14703)
* Add the resx file for localization and move error and warning strings

* Change NStrings.resx -> Errors.resx

* using the new namespace

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-12 09:36:54 -05:00
Mauro Agnoletti 8b8cf07182
Update Messaging to 1.6.2 (revert changes) (#14719)
It includes a change revert because of threading freeze issues.
An issue has been detected in Xamarin.Messaging 1.5.26 and 1.6.1 that makes the code unstable and sensitive to thread freeze issues, so we are reverting back the changes until we can stabilize it.
This delays the fix of a bug in MSBuild command line builds for iOS remote builds.
2022-04-12 09:42:55 -04:00
Manuel de la Pena 2c4bb79243
[CI] Add new pwsh to allow to use the new code for test result comments. (#14722)
Add a few classes that will be later used to create the comments for the
tests.

- GitHubStatus/es: Allows to represent a github status, we are addign a
  class per concern.
- TestResults: Contains the information and logic of a test result.
  Implements the same interface as the other comment objects so that we
  resuse the comment code.

Tests have been added and modified the github action to run on pull
requests too.
2022-04-12 09:20:57 -04:00
Rolf Bjarne Kvinge 254a47c440
[tests] Improve NWProtocolStackTest to not crash the process if the state change handler throws an exception. (#14697) 2022-04-11 16:38:20 -04:00
Manuel de la Pena c3e9a8c2ab
[CI] Improve the action used to run tests on the pwsh. (#14723) 2022-04-11 16:35:22 -04:00
TJ Lambert 8ef3850662
[coreml] Add nullability to (generated and manual) bindings (#14412)
* enable nullability

* use is null

* use an empty array

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-04-11 09:16:54 -05:00
Manuel de la Pena ad2caf1f94
[CI] Add the hash that was used to build in the commit. (#14713)
Add the hash of the project in the comment footer so that we can know
what we did build. Later we can use this to filter outdated comments.
2022-04-11 10:12:03 -04:00
Manuel de la Pena dfdd8f200c
[CI] Fix variables to show the correct bot in the comments. (#14714) 2022-04-10 19:27:34 -04:00
Manuel de la Pena c87e2c0c59
[CI] Add a prefix to the comment headers. (#14712)
Add a prefix that lets us know if the comment comes from a PR build
(using the public bots) or a CI build (using the private bots).
2022-04-09 20:47:30 -04:00
Manuel de la Pena b9d95213c4
[CI] Re-enable the api diff comments. (#14705) 2022-04-09 09:36:56 -04:00
Mauro Agnoletti ceacd96def
Updated Xamarin.Messaging to 1.6.1 (#14707)
Changed from 1.5.* to 1.6.* to match the versioning used in XamarinVS main branch (1.5.* now remains only for 17.2 based branches)
2022-04-09 07:27:15 -04:00
Steve Hawley a2624f6515
[nnyeah] Namespace change (#14710)
`nnyeah` -> `Microsoft.MaciOS.Nnyeah`
2022-04-08 14:52:02 -04:00
Alex Soto 0c1b7fb74b
Bump .NET in main to RC 3 2022-04-08 14:41:51 -04:00
Manuel de la Pena e065229712
[CI] Fix the import path to be relative. (#14706) 2022-04-08 11:35:46 -04:00
TJ Lambert 871b7858d8
[metrickit] Add nullability to (generated and manual) bindings (#14678)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-08 09:04:18 -05:00
TJ Lambert c1a6b74c14
[mobilecoreservices] Add nullability to (generated and manual) bindings (#14677)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-08 09:03:44 -05:00
TJ Lambert a0eeaec232
[messageui] Add nullability to (generated and manual) bindings (#14676)
* enable nullability

* use is null and is not null

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-08 09:03:05 -05:00
TJ Lambert 85b4c7a431
[metalkit] Add nullability to (generated and manual) bindings (#14695)
* add nullable enable

* use is null and is not null

Co-authored-by: tj_devel709 <antlambe@microsoft.com>
2022-04-08 08:57:10 -05:00
TJ Lambert aa98164c0f
[nativetypes] Add nullability to (generated and manual) bindings (#14694)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-07 18:17:58 -05:00
TJ Lambert bd744db43d
[multipeerconnectivity] Add nullability to (generated and manual) bindings (#14680)
* enable nullability

* throw better exceptions

* use is null and is not null

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-07 18:16:40 -05:00
Steve Hawley df395f2cff
[nnyeah] Nfloat fields (#14696)
Transform nfloat field references to getters on NFloat
2022-04-07 15:41:31 -04:00
Manuel de la Pena ef7db6a5fc
[ESRP] Move signing to the new xcode version. (#14654) 2022-04-07 12:48:10 -04:00
Manuel de la Pena 83cac1211e
[CI] Add a comment with the pkgs generated as soon as we build. (#14681) 2022-04-07 12:47:50 -04:00
Rolf Bjarne Kvinge 80a791cdc9
[runtime] Fix typo in comment. (#14687) 2022-04-07 18:30:06 +02:00
Rolf Bjarne Kvinge 2125c8febe
[tests] Make MonoTests.System.Net.Http.MessageHandlerTest handle some 504's. (#14688) 2022-04-07 18:01:25 +02:00
Chris Hamons cf77b790cb
[NET Attribute Conversion] Add missing attributes in code-behind by re-running conversion (#14660)
* [NET Attribute Conversion] Chip Framework
* [NET Attribute Conversion] Rerun with many fixes
* Fix generator crash when compiling attributes with no introduced version
* Test changes for availability re-run. One new test
2022-04-07 10:46:15 -05:00
Steve Hawley e0eed38ce1
[nnyeah] Nfloat type substitution (#14675)
This code substitutes NFloat for nfloat.
2022-04-07 09:42:18 -04:00
Rolf Bjarne Kvinge 398d5062d2
Bump MonoTouch.Dialog and Touch.Unit. (#14684)
New commits in migueldeicaza/MonoTouch.Dialog:

* migueldeicaza/MonoTouch.Dialog@8e859cc [MonoTouch.Dialog] Use 'BundledNETCoreAppTargetFrameworkVersion' to specify the .NET version in the project files.

Diff: e8e0abe586..8e859cc662

New commits in spouliot/Touch.Unit:

* spouliot/Touch.Unit@be3a8d0 [Touch.Client] Use 'BundledNETCoreAppTargetFrameworkVersion' to specify the .NET version in the project files.
* spouliot/Touch.Unit@3f103c6 [NUnitLite] Disable some warnings that come from using classic Xamarin.iOS.
* spouliot/Touch.Unit@1c1f57c [NUnitLite] Disaple some warnings that come from using classic Xamarin.iOS.

Diff: 8141653352..be3a8d0855
2022-04-07 15:20:54 +02:00
Rolf Bjarne Kvinge 0f5ad37b0e
[msbuild] Fix the build due to nullability changes from multiple PRs conspiring. (#14689) 2022-04-07 09:54:44 +02:00
dotnet-maestro[bot] b34cde58dc
[main] Update dependencies from dotnet/installer (#14673)
Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.300-preview.22204.3 -> To Version 6.0.300-preview.22205.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-04-07 09:30:58 +02:00
dotnet-maestro[bot] 56e0ffecdd
[main] Update dependencies from dotnet/runtime (#14674)
Microsoft.NETCore.App.Ref
 From Version 6.0.4 -> To Version 6.0.5

Dependency coherency updates

Microsoft.NET.Workload.Emscripten.Manifest-6.0.100
 From Version 6.0.4 -> To Version 6.0.4 (parent: Microsoft.NETCore.App.Ref

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-04-07 09:30:19 +02:00
Rolf Bjarne Kvinge 9c185e1fff
[msbuild] Ask ditto to thin native libraries according to the architectures we're targetting. Fixes #13081. (#14403)
Ask ditto to thin native libraries and frameworks when copying them to the app
bundle to remove slices for architectures we're not building for.

Also add tests.

Fixes https://github.com/xamarin/xamarin-macios/issues/13081.

Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
2022-04-07 08:17:01 +02:00