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

15173 Коммитов

Автор SHA1 Сообщение Дата
Andoni Morales Alastruey 97ab14801f
[dotnet] Add support for .so files (#16887)
Autotools-based project using libtool's -module flag generate plugins
with the .so extension that needs to be treated like DynamicLibraries in
terms of deployment location and relocation, except they are not linked
to the app.

This PR adds support for such .so files: they're treated as .dylib files, except
that they're not linked to the app.
2023-02-03 09:16:40 +01:00
TJ Lambert 7798c7c5f1
[Localization] Add flag to change line endings (#17422)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2023-02-02 13:27:31 -05:00
Manuel de la Pena cb5cb2801a
[Generator] Move away from the generator-* pattern and use bgen src (#17426)
A clean up is needed in the generator. We have src/bgen. We can use it
to move all the generator code there and make or work easier moving fwd.
2023-02-02 11:27:07 -05:00
Rolf Bjarne Kvinge ebeaa3b215
[src] Unify the list of warnings we skip. (#17425)
The code to handle (and ignore) warnings was getting out of hand, so I've
unified it between all platforms. We now ignore the same warnings on every
platform, and have much fewer variables to reason about.
2023-02-02 08:58:43 +01:00
Haritha Mohan 38a1a18d3b
[AppKit] Add missing setter for generateMipmaps in NSView (#17416)
Fixes #17383
2023-02-01 23:14:23 -08:00
Rolf Bjarne Kvinge 3e9e6a39db
[cecil-tests] Fix check for unsupported attribute on API that's present in an assembly. (#17423)
This also required fixing a few issues with the availability attributes.
2023-02-02 07:37:56 +01:00
Rolf Bjarne Kvinge 882db3657d
[tests] Remove workaround for issue #14802. (#17421)
Seems like this is fixed now.
2023-02-02 07:30:16 +01:00
Manuel de la Pena 0f39b2579f
[Tests] Fix some null warnings in the generator tests. (#17420)
Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2023-02-01 16:21:51 -05:00
Manuel de la Pena 98faaf35b6
[Generator] Refactor marshal info and enable nullability. (#17413) 2023-02-01 15:52:40 -05:00
Rolf Bjarne Kvinge 47a387f670
Add support for Visual Basic projects. (#17409)
* Add props and targets files for Visual Basic.
* Add templates for Visual Basic projects.
* Misc other related changes.

This contributes towards https://github.com/xamarin/xamarin-macios/issues/17321.
2023-02-01 21:20:14 +01:00
Rolf Bjarne Kvinge 33bd311736
[xtro] Add ImageCaptureCore to the frameworks we process. (#17417)
Since we already have some ImageCaptureCore bindings.
2023-02-01 21:13:08 +01:00
Rolf Bjarne Kvinge 614a16a358
[autoformat] Fix line endings for localization output. (#17407)
Ref: https://github.com/xamarin/xamarin-macios/pull/17403
2023-02-01 16:59:42 +01:00
Manuel de la Pena 09a5631bc3
[Generator] Refactor NamespaceManager to its own location. (#17404)
Move the class to its own file to simplify changes and code review.
Enable nullability in the class.

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2023-02-01 10:00:08 -05:00
Rolf Bjarne Kvinge 52d298b4aa
[AppKit] Enable nullability in NSHost. (#17414)
* Enable nullability in NSHost, and fix misc issues.
* Add an explicit interface overload for IEquatable<NSHost>.Equals. Fixes this compiler warning:

    error CS8767: Nullability of reference types in type of parameter 'host' of 'bool NSHost.Equals(NSHost host)' doesn't match implicitly implemented member 'bool IEquatable<NSHost>.Equals(NSHost? other)
2023-02-01 11:11:39 +01:00
Manuel de la Pena 488efbe01a
[AppKit] Remove nullability warning. (#17411)
Maybe a bad merge or we missed it.

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
Co-authored-by: Haritha Mohan <110641567+haritha-mohan@users.noreply.github.com>
2023-01-31 20:16:20 -05:00
Manuel de la Pena f02135887b
[Generator] Refactor extension methods and fix bug. (#17406)
Moved the extension methods to their own file and enabled nullable.

Fixed the following underlying bug:

The extension method that creates a valid parameter named does not do
the right thing in the following cases:

1. When the starting illegal char is NOT a number. It will prepend @
fixing nothing. Example " OHOH" to "@ OHOH"
2. When the illegal chars is in the middle of the param name. Example
"OH OH" to "@OH OH"

I have fixed the method to return null in those ocassions (we will need
to enable nullability later in the generator, is too much for this PR).
Tests have been added to ensure we do not have such an issue again.

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2023-01-31 16:05:25 -05:00
Manuel de la Pena 8682ff8d56
[CI] Remove yaml lint issue. (#17412) 2023-01-31 16:01:48 -05:00
Manuel de la Pena 28d519df9b
[Generator] Remove dead code. (#17405)
Everything compiles as expected and we do have:
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/value-tuples
2023-01-31 11:06:06 -05:00
Steve Hawley 8266659ddb
[dotnet] audiotoolbox blittable pinvokes with delegates (#17388)
AudioToolbox changes to make the pinvokes blittable.
2023-01-31 10:29:19 -05:00
Rolf Bjarne Kvinge 1350683690
[src/generator] Stop implying Mac Catalyst availability attributes from the iOS attributes. (#17375)
Stop implying Mac Catalyst attributes from the iOS attributes, and instead
treat Mac Catalyst like all the other platforms (not implying anything from
any other platform).

This makes our attribute logic much easier to reason about and understand.

It also required adding numerous Mac Catalyst attributes that were previously
implied. This task was way too big to do manually, so I made some changes to
Chris' mellite tool, and managed to do it quite easily with Roslyn with the
changes in this branch: https://github.com/rolfbjarne/mellite/tree/explicit-maccatalyst-attributes
2023-01-31 14:51:53 +01:00
Rolf Bjarne Kvinge e0d64e8f61 [msbuild] Add props and targets files for Visual Basic.
These are just the C# versions changed just enough to use Visual Basic instead of C#.
2023-01-31 13:20:19 +01:00
Rolf Bjarne Kvinge eb7914cfc2 [tests] Update the .NET template tests.
* Make these tests be able to build Visual Basic templates.
* Add the new Visual Basic templates.
2023-01-31 13:01:46 +01:00
Rolf Bjarne Kvinge ecbdf18ec1 Add editorconfig entries for Visual Basic. 2023-01-31 13:14:46 +01:00
Rolf Bjarne Kvinge bd74a1c266 [dotnet] Copy localizations from C# templates to the Visual Basic templates. 2023-01-31 13:04:41 +01:00
Rolf Bjarne Kvinge 52850559fb [dotnet] Add templates for Visual Basic projects.
Add a Visual Basic templates for:

* All our platforms (iOS, tvOS, macOS and Mac Catalyst).
* A simple project (the ios, tvos, macos and maccatalyst templates).
* A class library property (the ioslib, tvoslib, macoslib and maccatalystlib templates).
2023-01-31 13:12:48 +01:00
dependabot[bot] 610deb1660
Bump actions/github-script from 6.3.3 to 6.4.0 (#17400)
Bumps [actions/github-script](https://github.com/actions/github-script)
from 6.3.3 to 6.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/github-script/releases">actions/github-script's
releases</a>.</em></p>
<blockquote>
<h2>v6.4.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump json5 from 2.1.3 to 2.2.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/319">actions/github-script#319</a></li>
<li>Bump minimatch from 3.0.4 to 3.1.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/320">actions/github-script#320</a></li>
<li>Add node-fetch by <a
href="https://github.com/danmichaelo"><code>@​danmichaelo</code></a> in
<a
href="https://github-redirect.dependabot.com/actions/github-script/pull/321">actions/github-script#321</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/jongwooo"><code>@​jongwooo</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/313">actions/github-script#313</a></li>
<li><a
href="https://github.com/austinvazquez"><code>@​austinvazquez</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/306">actions/github-script#306</a></li>
<li><a
href="https://github.com/danmichaelo"><code>@​danmichaelo</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/321">actions/github-script#321</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/github-script/compare/v6.3.3...v6.4.0">https://github.com/actions/github-script/compare/v6.3.3...v6.4.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="98814c53be"><code>98814c5</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/339">#339</a>
from actions/joshmgross/bump-package-version</li>
<li><a
href="ba6cf3fe7c"><code>ba6cf3f</code></a>
Bump version to 6.4.0</li>
<li><a
href="bcc389184d"><code>bcc3891</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/321">#321</a>
from danmichaelo/node-fetch</li>
<li><a
href="da8818015e"><code>da88180</code></a>
Merge <code>main</code></li>
<li><a
href="4d93f38890"><code>4d93f38</code></a>
Update dist and audit deps</li>
<li><a
href="0550e85801"><code>0550e85</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/336">#336</a>
from actions/joshmgross/minimatch-license</li>
<li><a
href="5420835fff"><code>5420835</code></a>
Merge branch 'main' into joshmgross/minimatch-license</li>
<li><a
href="03377835c3"><code>0337783</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/338">#338</a>
from actions/joshmgross/fix-dist</li>
<li><a
href="8c6dda0186"><code>8c6dda0</code></a>
Regenerate <code>dist</code></li>
<li><a
href="ee0d992b06"><code>ee0d992</code></a>
Use Node 16 in CI and examples</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/github-script/compare/v6.3.3...v6.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/github-script&package-manager=github_actions&previous-version=6.3.3&new-version=6.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 16:47:10 -05:00
TJ Lambert ef8bdf2470
[Localization] Change the Line Endings (#17403)
Created a ticket asking the Localization team if they can control the
line endings before checking-in the code so that we will not have to
continue doing this:
https://ceapex.visualstudio.com/CEINTL/_workitems/edit/773212

---------

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2023-01-30 16:37:17 -05:00
VS MobileTools Engineering Service 2 9e4b699705
Localized file check-in by OneLocBuild Task: Build definition ID 17751: Build ID 7255787 (#17392)
This is the pull request automatically created by the OneLocBuild task
in the build process to check-in localized files generated based upon
translation source files (.lcl files) handed-back from the downstream
localization pipeline. If there are issues in translations, visit
https://aka.ms/ceLocBug and log bugs for fixes. The OneLocBuild wiki is
https://aka.ms/onelocbuild and the localization process in general is
documented at https://aka.ms/AllAboutLoc.
2023-01-30 10:34:09 -06:00
Rolf Bjarne Kvinge 1130e1c472 [dotnet] Move templates around a bit to make room for more language-specific project templates. 2023-01-30 17:21:22 +01:00
Manuel de la Pena c201466d78
[Generator] Add support for nullability. Part 1. (#17384)
This is the first part of a 2 or more changes that will allow the APIs
to use ? as a way to mark a nullable field, parameter, property and
return method.

The way it works follows the documentation from the runtime that can be
found here:
https://github.com/dotnet/roslyn/blob/main/docs/features/nullable-metadata.md

The tldr; of the documentation is as follows:

1. If we are looking at a value type, the compiler converts int? into
Nullable<int>. This was already considered in the old code.
2. If we are inspecting a generic type we have to look for the
information in two different attributes added by the compiler: -
NullableAttribute: Each type reference in metadata may have an
associated NullableAttribute with a byte[] where each byte represents
nullability: 0 for oblivious, 1 for not annotated, and 2 for annotated.
- NullableContextAttribute is valid in metadata on type and method
declarations. The byte value represents the implicit NullableAttribute
value for type reference within that scope that do not have an explicit
NullableAttribute and would not otherwise be represented by an empty
byte[].

The API is very similar to that provided by dotnet6 but it allows us to
support classic. The move to the dotnet6 API should not be hard and
probably can be done by an IDE.

Once this API lands we will have to find the old usages of the check for
nullability and combine both. This new API should fix several issues we
have with nullability and nullability + generics.

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2023-01-30 10:34:24 -05:00
Haritha Mohan 00490d9da2
[ImageCaptureCore] Add managed handlers for request methods (#17376)
Add overloads for request methods to provide a cleaner implementation.
Rather than passing a delegate, selector, and context info as separate
arguments, users can now use these methods with just a single delegate
parameter.

No manual tests were added due to methods requiring a physical device,
but created a [sample camera browser
app](https://github.com/xamarin/mac-samples/pull/146) to test
functionality of updated methods.

Fixes #5093

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2023-01-29 23:28:03 -08:00
Rolf Bjarne Kvinge 50c01fe10c
[generator] Fix an issue where we'd not copy attributes from inlined protocols. (#17381)
Protocols with one set of introduced attributes ([TV (12, 0)]) inlined in
types that were introduced in a different version ([TV (10, 0)]) would always
use the attributes from the type.

This is wrong if the protocol was introduced after the type, in which case we
should instead use the introduced attributes from the protocol.

Fix this by choosing the latest introduced attribute when we have multiple to
choose from.

This required passing a bit more information around so that we always know if
a member is being inlined in another type.

This PR will also print availability attributes on the protocol members themselves:

	[Protocol]
	interface IProtocol
	{
		[TV (12, 0)] // this was not printed before
		[Export ("someProperty")]
		string SomeProperty { get; set; }
	}

Also add and improve some tests.

Contributes towards https://github.com/xamarin/xamarin-macios/issues/14802.
2023-01-30 08:00:06 +01:00
dustin-wojciechowski 51bee958f0
Added GPSLatitudeRef and GPSLongitudeRef to CGImagePropertiesGPS. (#17166)
Fixes #17162

Added GPSLatitudeRef and GPSLongitudeRef to CGImagePropertiesGPS. 
Added new photo to all resources folders that has GPS data. 
Created new test that reads GPS information off a photo and verifies that it is correct.

---------

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2023-01-28 09:31:25 -08:00
Rolf Bjarne Kvinge 3f4ce6ca36
[generator] Remove redundant calls to PrintAttributes. (#17380)
The PrintAttributes method defaults to not printing anything, and when then
asked to not print platform attributes, it still adds up to doing nothing, so
just remove this redundant method call.
2023-01-27 08:32:15 +01:00
Rolf Bjarne Kvinge b654db9f2d
[tools] Fix MT1302 to show the correct path to the assembly. (#17362)
We used to show this:

> ILLINK warning MT1302: Could not extract the native library 'StaticLibrary.a' from '~/Downloads/BindingTest/obj/Debug/net7.0-ios/iossimulator-x64/linker-cache/StaticLibrary.a'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').

now we show the assembly:

> ILLINK warning MT1302: Could not extract the native library 'StaticLibrary.a' from '~/Downloads/BindingTest/obj/Debug/net7.0-ios/iossimulator-x64/linker-cache/BindingLibrary.dll'. Please ensure the native library was properly embedded in the managed assembly (if the assembly was built using a binding project, the native library must be included in the project, and its Build Action must be 'ObjcBindingNativeLibrary').

Also increase diagnostics for this failure scenario to list all the resources
in the given assembly.

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2023-01-26 17:01:41 +01:00
Rolf Bjarne Kvinge 41384c6af8
[tools] Add diagnostics when a native library turns off -dead_link support. (#17361)
Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2023-01-26 16:16:13 +01:00
Rolf Bjarne Kvinge e64bd31791
[Foundation] Add a 'None' option to NSKeyValueObservingOptions. (#17365)
It's a [Flags] enum, so it makes sense to have an option to have no flags.
2023-01-26 14:14:00 +01:00
Rolf Bjarne Kvinge 63abb2d419
[AVFoundation] Add a few missing APIs. Fixes #16954. (#17310)
Fixes https://github.com/xamarin/xamarin-macios/issues/16954.
2023-01-26 08:20:38 +01:00
Rolf Bjarne Kvinge 688fa45856
[tests] Improve the AttributeTest.FindSupportedOnElementsThatDoNotExistInThatAssembly cecil test. (#17367)
* Fix an issue where it would not compute the correct grouping key for each member,
  effectively grouping unrelated members together and coming up with weird and incorrect
  results.
* Make it match failures exactly, which makes it possible to detect (and report,
  which it now does) when a known failure is fixed.
* Ignore any hidden members (EditorBrowsableState.Never), because they're most
  likely mistakes.
* Ignore any members in AppKit and UIKit, because these namespaces have a lot of
  conflicting availability attributes. This is tracked in a separate bug (#17292).

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2023-01-25 20:55:28 +01:00
dotnet-maestro[bot] a7e5034767
[main] Update dependencies from dotnet/installer (#17370)
This pull request updates the following dependencies

## From https://github.com/dotnet/installer
- **Subscription**: 50c9492e-4671-4d1d-7920-08dabd1031a2
- **Build**: 20230123.22
- **Date Produced**: January 24, 2023 3:32:06 AM UTC
- **Commit**: e36f7f3feaa561782a66165b8db55f4c0bbdf963
- **Branch**: refs/heads/release/7.0.1xx

- **Updates**:
- **Microsoft.Dotnet.Sdk.Internal**: [from 7.0.103-servicing.23067.22 to
7.0.103-servicing.23073.22][1]

[1]: 33d44bc...e36f7f3
2023-01-25 20:53:57 +01:00
Mauro Agnoletti 2a79c3dc1b
Updated Xamarin.Messaging to 1.9.5 (#17363)
This should bring the fix to correctly build iOS applications with references to class libraries

Ref: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1684986
2023-01-25 15:37:00 +01:00
Rolf Bjarne Kvinge 98819287cc
[runtime/generator] Add support for BindAs with CMVideoDimensions. (#17308)
This is required for some new iOS 16 APIs.
2023-01-25 15:34:28 +01:00
Rolf Bjarne Kvinge a57695bcf5
[generator] Fix property accessor attributes when one accessor's iOS availability is different than the property itself. (#17298)
This PR handles two scenarios (fixed in separate commits):

Scenario 1:

* The property has different availability attributes than the containing type.
* The property's accessor(s) do not have availability attributes.

We'd generate the wrong availability attributes for the property accessors,
because we'd take the type's availability attributes and add them to the
accessors.

As for the fix: I can't really explain it. This code is rather impenetrable,
and the parameter names don't make much sense, but whatever I did seems to
work?

And it turns out this fix shows up in an existing test as well (the
generator's Bug35176 test), which I had to modify to remove the expectation of
(now redundant) availability attributes that we no longer produce.

Scenario 2:

* Type is available on iOS, tvOS.
* Property in the type is available on iOS (and not tvOS).
* Property accessor has explicit availability attributes for iOS.

Then the property accessor would get the availability attribute for tvOS from
the type, and not the (un)availability attribute from the property.

The fix is to make sure the parent context is the property (and not the type)
when processing availability attributes for the accessor.
2023-01-25 09:27:58 +01:00
Rolf Bjarne Kvinge d27667f48a
[dotnet] Change the order of the linker steps. Fixes #17347. (#17360)
The bug manifests like this:

> Could not create an native instance of the type WindowsAzure.Messaging.SBNotificationHub: the native class hasn't been loaded.

which happens because the SBNotificationHub doesn't exist in the final
executable. We asked the linker to link with the static library containing
this type, but the linker didn't link with the library because it didn't need
any of the symbols in it.

We should have collected all the exported Objective-C types from this library
and asked the native linker to keep them, but that didn't happen because:

1. We collect bound Objective-C classes from binding libraries here (the
   ListExportedSymbolsStep): 608765e2c9/tools/linker/MonoTouch.Tuner/ListExportedSymbols.cs (L148-L157)

2. That only happens for attributes with a LinkWith attribute.
	* We compute if an assembly has a LinkWith attribute here:
	  608765e2c9/tools/common/Assembly.cs (L266)
	* Which is called from here:
	  608765e2c9/tools/common/Assembly.cs (L198)
	* Which is called from here (the ExtractBindingLibrariesStep):
	  608765e2c9/tools/dotnet-linker/Steps/ExtractBindingLibrariesStep.cs (L18)

Now, we must obviously compute if an assembly has a LinkWith attribute before
doing anything that depends on that value, but we weren't doing things in that
order.

Changing the custom linker steps to run the ListExportedSymbols step *after*
the ExtractBindingLibrariesStep fixes this logic problem.

Fixes https://github.com/xamarin/xamarin-macios/issues/17347.
2023-01-25 08:59:56 +01:00
Rolf Bjarne Kvinge 40b98b650d
[CoreAnimation] Add missing CAMetalLayer properties. Fixes #17340. (#17345)
Also make CAEdrMetadata available on iOS and add a missing CAEdrMetadata
property.

Fixes https://github.com/xamarin/xamarin-macios/issues/17340.
2023-01-25 08:57:46 +01:00
Rolf Bjarne Kvinge 6af8da73af
[tools] Try to fix #xamarin/maccore@2637 by making sure a file's timestamp changes. (#17352)
Try to fix #xamarin/maccore@2637 by making sure a file's timestamp changes
after make runs the corresponding target.

Otherwise it seems make may run into some sort of infinite loop.

Fixes https://github.com/xamarin/maccore/issues/2637.
2023-01-25 08:56:56 +01:00
Manuel de la Pena 8be73c7b04
[AppKit] Add nullability to the manual code. (#17182)
Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2023-01-24 16:45:56 -05:00
Steve Hawley ede46ed426
[dotnet] CoreFont delegates (#17338) 2023-01-24 15:43:24 -05:00
Rolf Bjarne Kvinge 608765e2c9 [Metal] Adjust conditional compilation directives to make sure some MTLRenderCommandEncoder API is available on the correct platforms. (#17307) 2023-01-24 14:22:39 +01:00
github-actions[bot] 8514c71596 [Localization] Pulling New Localization Translations $GITHUB_RUN_ID (#17342)
Automated PR. Bring new translated changes in the lcl files for
OneLocBuild to create translated resx files.

Co-authored-by: Alex Hsu <csigs@users.noreply.github.com>
Co-authored-by: CSIGS <csigs@outlook.com>
2023-01-24 14:22:37 +01:00