xamarin-macios/tests/monotouch-test
Rolf Bjarne Kvinge 72afc648c3
[UIKit] Remove presnippet for UITextView.TypingAttributes. Fixes #12709. (#20089)
Apparently, in earlier versions of iOS, returning an empty dictionary from
UITextView.TypingAttributes would crash, so we added a workaround where we'd
return null instead of an empty dictionary.

However, I can't reproduce any such crashes anymore, and this workaround is
causing other problems, so remove it.

But do this in a backwards compatible way (just in case the removal ends up
crashing apps after all):

* Add a new TypingAttributes2 binding with the behavior we want (a better name
  wouldn't be unwelcome!)
* Mark the existing TypingAttributes as obsolete, pointing to
  TypingAttributes2.
* Make the TypingAttributes property behave as we want in XAMCORE_5_0, and at
  that point  mark TypingAttributes2 as obsolete and point back to
  TypingAttributes.
* Remove TypingAttributes2 in XAMCORE_6_0.

Note: the presnippet attribute to avoid the crash was introduced in 2013:
5adb7c8608,
and our current minimum iOS version (iOS 11), was launched in 2017, so most
likely (aka hopefully) the crash was fixed in an iOS version earlier than the
earliest we support.

Fixes https://github.com/xamarin/xamarin-macios/issues/12709.
2024-02-13 08:28:11 +01:00
..
ARKit [tests] Move the ARConfigurationTest.Subclasses test from monotouch-test to cecil-test. (#18908) 2023-09-05 09:36:47 +02:00
AVFoundation [Xcode 15.2] Bump to Xcode 15.2 (#19785) 2024-01-12 04:56:22 -05:00
AVKit [tests] Change TestRuntime.CheckSystemVersion to take a ApplePlatform value instead of a PlatformName enum. (#13350) 2021-11-15 08:06:36 +01:00
AVRouting [AVKit and AVRouting] Updates for Xcode14 Beta3 (#15811) 2022-09-08 15:13:15 -05:00
Accessibility [tests] Adjust AXHearingUtilitiesTest to accept more values regarding hearing configuration. (#18313) 2023-05-24 17:04:28 +02:00
AdSupport [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
AddressBook [Tests] Ignore the addressbook tests on Xcode 15, it has been finally fully deprecated. 2023-08-04 11:47:29 -04:00
AddressBookUI [autoformat] Add the Security, SensorKit, Social, SpriteKit, StoreKit, SystemConfiguration, TVServices, VideoToolbox, Vision and WKWebKit frameworks. (#16763) 2022-11-16 07:38:18 +01:00
AppKit [AppKit] Make NSGraphics.NSBestDepth P/Invoke blittable. (#19614) 2023-12-13 12:55:25 +01:00
Assets.xcassets/AppIcons.appiconset
AudioToolbox [AudioToolbox] Fix computing array size. (#19952) 2024-01-30 14:26:20 +01:00
AudioUnit [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
AuthenticationServices [AuthenticationServices] Updates for Xcode13 Beta3 (#12203) 2021-08-04 10:11:26 -04:00
BackgroundTasks [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
CarPlay [tests] Change TestRuntime.CheckSystemVersion to take a ApplePlatform value instead of a PlatformName enum. (#13350) 2021-11-15 08:06:36 +01:00
ClockKit [ClockKit] Add support for Xcode 12 beta 1. (#9010) 2020-07-14 11:12:26 -04:00
CloudKit [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
Compression [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
Contacts Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
CoreAnimation [Tests] Fix CALayer tests on Sonoma. (#19450) 2023-11-15 11:05:56 -05:00
CoreAudioKit [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
CoreBluetooth [Generator] Remove method that is already present in the reflection API. (#17524) 2023-02-13 19:17:38 -05:00
CoreData Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
CoreFoundation [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
CoreGraphics [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
CoreImage Use Enum.GetValues<T> instead of Enum.GetValues in numerous places for .NET. (#18382) 2023-06-07 08:47:55 +02:00
CoreLocation [tests] Change TestRuntime.CheckSystemVersion to take a ApplePlatform value instead of a PlatformName enum. (#13350) 2021-11-15 08:06:36 +01:00
CoreML [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
CoreMedia [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
CoreMidi [CoreMidi] Make P/Invokes have blittable signatures. (#19724) 2024-01-15 17:27:11 +01:00
CoreServices [tests] Ignore the FSEventStream tests on the bots. Fixes xamarin/maccore@2630. (#19045) 2023-09-19 10:22:06 +02:00
CoreText [CoreText] Implement CTFontDescriptor.MatchFontDescriptors. Fixes #19397. (#19399) 2023-11-09 09:11:14 +01:00
CoreVideo [monotouch-test] Fix a variety of compiler warnings. (#19693) 2023-12-22 15:14:50 +01:00
CoreWlan Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
Darwin [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
EventKit Add ventura to mac tests configurations (#17349) 2023-02-13 11:08:18 -05:00
ExternalAccessory [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
FileProvider [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
Foundation [tests] Adjust UserDefaultsTest.Ctor_UserName to try to fix a random test failure. (#20018) 2024-02-02 22:39:59 +01:00
GLKit [autoformat] Add the Security, SensorKit, Social, SpriteKit, StoreKit, SystemConfiguration, TVServices, VideoToolbox, Vision and WKWebKit frameworks. (#16763) 2022-11-16 07:38:18 +01:00
GameController [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
GameKit [tests] Remove a test ignore (ignored due to an Apple issue). (#19085) 2023-10-12 09:46:02 +02:00
GameplayKit [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
HealthKit [monotouch-tests] Fix HK tests on sonoma. (#19446) 2023-11-14 11:15:13 -05:00
HomeKit [autoformat] Add .NET tests. (#16811) 2022-11-21 09:45:49 +01:00
HttpClient [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ImageIO [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
Intents Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
JavascriptCore [tests] Improve the current registrar detection in the tests 2023-05-11 13:10:31 +02:00
MLCompute [dotnet] Remove Runtime.Arch and ObjCRuntime.Arch from Mac Catalyst. Fixes #10312. (#13562) 2021-12-15 22:32:14 +01:00
MapKit [monotouch-test] Re-enable parts of LocalSearchTest.EmptyRequest. (#19654) 2023-12-21 18:11:11 +01:00
MediaAccessibility [tests] Adjust ImageCaptioningTest to clean up after itself and support concurrent execution. (#18329) 2023-05-25 10:50:08 +02:00
MediaPlayer Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
MediaToolbox [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
MessageUI [autoformat] Add the Security, SensorKit, Social, SpriteKit, StoreKit, SystemConfiguration, TVServices, VideoToolbox, Vision and WKWebKit frameworks. (#16763) 2022-11-16 07:38:18 +01:00
Messages [tests] Change TestRuntime.CheckSystemVersion to take a ApplePlatform value instead of a PlatformName enum. (#13350) 2021-11-15 08:06:36 +01:00
Metal [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
MetalPerformanceShaders [monotouch-test] Ignore the MetalPerformanceShadersGraph.MnistTest test, it fails randomly. (#20033) 2024-02-05 13:53:07 -05:00
MetricKit Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
MobileCoreServices [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ModelIO [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
MonoMac [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
MultipeerConnectivity [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
NaturalLanguage [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
NearbyInteraction [NearbyInteraction] Updates for Xcode14 Beta 1 (#15840) 2022-09-06 16:11:52 -04:00
Network [Network] Add support for Xcode 15. (#19418) 2024-01-04 15:17:49 -05:00
NetworkExtension Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
ObjCRuntime [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
OpenGL [tests] Preserve all test fixtures. (#10870) 2021-03-16 15:15:30 +01:00
OpenGLES Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
PassKit [PassKit] Add support Xcode15 Beta 7 (#19139) 2023-10-23 13:05:19 -05:00
PdfKit [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
Phase [tests] System.Numerics.Vector3.Length is a method, not a property, so treat it as such. (#18401) 2023-06-05 15:46:33 +02:00
Photos Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
PushKit [tests] Change TestRuntime.CheckSystemVersion to take a ApplePlatform value instead of a PlatformName enum. (#13350) 2021-11-15 08:06:36 +01:00
QuickLook [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ReplayKit [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
Resources [Vision] Update Xcode 15 support (#19412) 2024-01-02 15:17:57 -05:00
SafariServices [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
SceneKit [monotouch-test] Fix a variety of compiler warnings. (#19693) 2023-12-22 15:14:50 +01:00
ScriptingBridge [ScriptingBridge] Improve API and add nullability. (#13787) 2022-01-19 20:52:18 +01:00
SearchKit Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
Security [devops] Run macOS tests on Monterey and Sonoma. (#19899) 2024-02-05 13:52:16 -05:00
SharedWithYouCore [SharedWithYouCore] Added support for Xcode 14.1 b3 (#16198) 2022-10-12 12:09:00 -04:00
Simd [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
SpriteKit [monotouch-test] Fix a variety of compiler warnings. (#19693) 2023-12-22 15:14:50 +01:00
StoreKit [tests] Change TestRuntime.CheckSystemVersion to take a ApplePlatform value instead of a PlatformName enum. (#13350) 2021-11-15 08:06:36 +01:00
System.Net.Http [monotouch-test] Fix a variety of compiler warnings. (#19693) 2023-12-22 15:14:50 +01:00
SystemConfiguration [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
UIKit [UIKit] Remove presnippet for UITextView.TypingAttributes. Fixes #12709. (#20089) 2024-02-13 08:28:11 +01:00
UniformTypeIdentifiers [monotouch-test] Ignore a few tests in non-ARM64 simulators. (#13487) 2021-12-07 21:10:39 +01:00
UserNotifications [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
VideoToolbox Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
Vision [devops] Run macOS tests on Monterey and Sonoma. (#19899) 2024-02-05 13:52:16 -05:00
WebKit [tests] Rework TestRuntime.RunAsync. (#18391) 2023-06-06 21:36:49 +02:00
dotnet [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
mono [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
.gitignore Make our local .NET the default .NET for the build. (#15086) 2022-06-07 10:11:02 +02:00
AppDelegate.cs [tests] Rework TestRuntime.RunAsync. (#18391) 2023-06-06 21:36:49 +02:00
Asserts.cs [tests] Fix all the remaining warnings in monotouch-test, EmbeddedResources and bindings-test. (#19722) 2024-01-08 07:41:48 +01:00
AssertsMac.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
BoardingPass.pkpass
EmptyNib.xib
Entitlements.plist [Network] Partial bindings of Network for Xcode 12 beta 6. (#9623) 2020-09-28 18:22:42 -04:00
Hand.wav
Info.plist [tests] Bump min OS versions in all tests. 2023-02-02 16:30:28 +01:00
LL-171A-B-B797E457-16AB-C708-1E0F-32C19DBD47B5.icc
LaunchScreen.storyboard
Main.cs [tests] Rework TestRuntime.RunAsync. (#18391) 2023-06-06 21:36:49 +02:00
Makefile
Model3.arobject [arkit] Update to Xcode 10 beta 3 (#4406) 2018-07-05 22:36:33 -04:00
NativeTypesTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
Pacifico.ttf
Tamarin.pdf
TestLoader.cs [tests] Unify code related to how to load test assemblies. (#17111) 2023-01-13 22:20:47 +01:00
access-denied.html [wkwebkit] Update for Xcode 11 beta 3 (#6496) 2019-07-04 13:08:21 -04:00
access-granted.html [wkwebkit] Update for Xcode 11 beta 3 (#6496) 2019-07-04 13:08:21 -04:00
app.config
basn3p08.png
basn3p08_with_loc.png Added GPSLatitudeRef and GPSLongitudeRef to CGImagePropertiesGPS. (#17166) 2023-01-28 09:31:25 -08:00
compressed_lz4 [Compression] Add compression framework bindings. (#3942) 2018-05-11 15:54:31 -04:00
compressed_lze [Compression] Add compression framework bindings. (#3942) 2018-05-11 15:54:31 -04:00
compressed_lzma [Compression] Add compression framework bindings. (#3942) 2018-05-11 15:54:31 -04:00
compressed_zip [Compression] Add compression framework bindings. (#3942) 2018-05-11 15:54:31 -04:00
drum01.mp3
example.pac [Tests] Update xamarin domain to make tests not fail. (#11408) 2021-05-02 20:11:16 -04:00
monotouch-test.csproj [Vision] Update Xcode 15 support (#19412) 2024-01-02 15:17:57 -05:00
uncompressed.txt [Compression] Add compression framework bindings. (#3942) 2018-05-11 15:54:31 -04:00
xamvideotest.mp4