pyobjc-framework-FileProvider 11.0__tar.gz → 12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyobjc-framework-FileProvider might be problematic. Click here for more details.
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Lib/FileProvider/_metadata.py +57 -224
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Lib/pyobjc_framework_FileProvider.egg-info/PKG-INFO +19 -6
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Lib/pyobjc_framework_FileProvider.egg-info/SOURCES.txt +4 -9
- pyobjc_framework_fileprovider-12.0/Lib/pyobjc_framework_FileProvider.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_fileprovider-12.0/Lib/pyobjc_framework_FileProvider.egg-info/requires.txt +2 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/License.txt +1 -1
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Modules/_FileProvider.m +18 -21
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Modules/_FileProvider_protocols.m +12 -1
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Modules/pyobjc-api.h +6 -3
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Modules/pyobjc-compat.h +113 -36
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PKG-INFO +19 -6
- pyobjc_framework_fileprovider-12.0/PyObjCTest/__init__.py +1 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderdomain.py +14 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileprovidererror.py +3 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileprovidermanager.py +8 -0
- pyobjc_framework_fileprovider-12.0/PyObjCTest/test_nsfileprovidermodifyitemoptions.py +14 -0
- pyobjc_framework_fileprovider-12.0/PyObjCTest/test_nsfileprovidersearch.py +12 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/metadata/FileProvider.fwinfo +2 -1
- pyobjc_framework_fileprovider-11.0/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_fileprovider-12.0/metadata/raw/arm64-26.0.fwinfo +422 -2
- pyobjc_framework_fileprovider-11.0/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_fileprovider-12.0/metadata/raw/x86_64-26.0.fwinfo +422 -2
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/pyobjc_setup.py +9 -41
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/setup.py +1 -1
- pyobjc_framework_fileprovider-11.0/Lib/pyobjc_framework_FileProvider.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_fileprovider-11.0/Lib/pyobjc_framework_FileProvider.egg-info/requires.txt +0 -2
- pyobjc_framework_fileprovider-11.0/PyObjCTest/__init__.py +0 -1
- pyobjc_framework_fileprovider-11.0/metadata/raw/arm64-12.3.fwinfo +0 -4787
- pyobjc_framework_fileprovider-11.0/metadata/raw/arm64-13.3.fwinfo +0 -5073
- pyobjc_framework_fileprovider-11.0/metadata/raw/arm64-14.5.fwinfo +0 -5057
- pyobjc_framework_fileprovider-11.0/metadata/raw/x86_64-10.16.fwinfo +0 -3527
- pyobjc_framework_fileprovider-11.0/metadata/raw/x86_64-12.3.fwinfo +0 -4787
- pyobjc_framework_fileprovider-11.0/metadata/raw/x86_64-13.3.fwinfo +0 -5073
- pyobjc_framework_fileprovider-11.0/metadata/raw/x86_64-14.5.fwinfo +0 -5057
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Lib/FileProvider/__init__.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Lib/pyobjc_framework_FileProvider.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Lib/pyobjc_framework_FileProvider.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Lib/pyobjc_framework_FileProvider.egg-info/top_level.txt +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/MANIFEST.in +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_fileprovider.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileprovideractions.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderenumerating.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderextension.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileprovideritem.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileprovideritemdecoration.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderknownfolders.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderreplicatedextension.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderrequest.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderservice.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileprovidertesting.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/PyObjCTest/test_nsfileproviderthumbnailing.py +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/metadata/metadata.ini +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/pyproject.toml +0 -0
- {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Fri Jul 25 09:53:45 2025
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -39,8 +39,8 @@ misc.update(
|
|
|
39
39
|
)
|
|
40
40
|
}
|
|
41
41
|
)
|
|
42
|
-
constants = """$NSFileProviderDomainDidChange$NSFileProviderErrorCausedByErrorsKey$NSFileProviderErrorCollidingItemKey$NSFileProviderErrorDomain$NSFileProviderErrorItemKey$NSFileProviderErrorNonExistentItemIdentifierKey$NSFileProviderFavoriteRankUnranked@Q$NSFileProviderInitialPageSortedByDate$NSFileProviderInitialPageSortedByName$NSFileProviderMaterializedSetDidChange$NSFileProviderPendingSetDidChange$NSFileProviderRootContainerItemIdentifier$NSFileProviderTrashContainerItemIdentifier$NSFileProviderWorkingSetContainerItemIdentifier$"""
|
|
43
|
-
enums = """$NSFileProviderContentPolicyDownloadEagerlyAndKeepDownloaded@3$NSFileProviderContentPolicyDownloadLazily@1$NSFileProviderContentPolicyDownloadLazilyAndEvictOnRemoteUpdate@2$NSFileProviderContentPolicyInherited@0$NSFileProviderCreateItemDeletionConflicted@2$NSFileProviderCreateItemMayAlreadyExist@1$NSFileProviderDeleteItemRecursive@1$NSFileProviderDesktop@1$NSFileProviderDocuments@2$NSFileProviderDomainRemovalModePreserveDirtyUserData@1$NSFileProviderDomainRemovalModePreserveDownloadedUserData@2$NSFileProviderDomainRemovalModeRemoveAll@0$NSFileProviderDomainTestingModeAlwaysEnabled@1$NSFileProviderDomainTestingModeInteractive@2$NSFileProviderErrorApplicationExtensionNotFound@-2014$NSFileProviderErrorCannotSynchronize@-2005$NSFileProviderErrorDeletionRejected@-1006$NSFileProviderErrorDirectoryNotEmpty@-1007$NSFileProviderErrorDomainDisabled@-2011$NSFileProviderErrorExcludedFromSync@-2010$NSFileProviderErrorFilenameCollision@-1001$NSFileProviderErrorInsufficientQuota@-1003$NSFileProviderErrorNewerExtensionVersionFound@-2004$NSFileProviderErrorNoSuchItem@-1005$NSFileProviderErrorNonEvictable@-2008$NSFileProviderErrorNonEvictableChildren@-2006$NSFileProviderErrorNotAuthenticated@-1000$NSFileProviderErrorOlderExtensionVersionRunning@-2003$NSFileProviderErrorPageExpired@-1002$NSFileProviderErrorProviderDomainNotFound@-2013$NSFileProviderErrorProviderDomainTemporarilyUnavailable@-2012$NSFileProviderErrorProviderNotFound@-2001$NSFileProviderErrorProviderTranslocated@-2002$NSFileProviderErrorServerUnreachable@-1004$NSFileProviderErrorSyncAnchorExpired@-1002$NSFileProviderErrorUnsyncedEdits@-2007$NSFileProviderErrorVersionNoLongerAvailable@-2009$NSFileProviderFetchContentsOptionsStrictVersioning@1$NSFileProviderFileSystemHidden@8$NSFileProviderFileSystemPathExtensionHidden@16$NSFileProviderFileSystemUserExecutable@1$NSFileProviderFileSystemUserReadable@2$NSFileProviderFileSystemUserWritable@4$NSFileProviderItemCapabilitiesAllowsAddingSubItems@2$NSFileProviderItemCapabilitiesAllowsAll@63$NSFileProviderItemCapabilitiesAllowsContentEnumerating@1$NSFileProviderItemCapabilitiesAllowsDeleting@32$NSFileProviderItemCapabilitiesAllowsEvicting@64$NSFileProviderItemCapabilitiesAllowsExcludingFromSync@128$NSFileProviderItemCapabilitiesAllowsReading@1$NSFileProviderItemCapabilitiesAllowsRenaming@8$NSFileProviderItemCapabilitiesAllowsReparenting@4$NSFileProviderItemCapabilitiesAllowsTrashing@16$NSFileProviderItemCapabilitiesAllowsWriting@2$NSFileProviderItemContentModificationDate@128$NSFileProviderItemContents@1$NSFileProviderItemCreationDate@64$NSFileProviderItemExtendedAttributes@512$NSFileProviderItemFavoriteRank@32$NSFileProviderItemFileSystemFlags@256$NSFileProviderItemFilename@2$NSFileProviderItemLastUsedDate@8$NSFileProviderItemParentItemIdentifier@4$NSFileProviderItemTagData@16$NSFileProviderItemTypeAndCreator@1024$NSFileProviderManagerDisconnectionOptionsTemporary@1$NSFileProviderMaterializationFlagsKnownSparseRanges@1$NSFileProviderModifyItemMayAlreadyExist@1$NSFileProviderTestingOperationSideDisk@0$NSFileProviderTestingOperationSideFileProvider@1$NSFileProviderTestingOperationTypeChildrenEnumeration@6$NSFileProviderTestingOperationTypeCollisionResolution@7$NSFileProviderTestingOperationTypeContentFetch@5$NSFileProviderTestingOperationTypeCreation@2$NSFileProviderTestingOperationTypeDeletion@4$NSFileProviderTestingOperationTypeIngestion@0$NSFileProviderTestingOperationTypeLookup@1$NSFileProviderTestingOperationTypeModification@3$NSFileProviderVolumeUnsupportedReasonNetwork@16$NSFileProviderVolumeUnsupportedReasonNonAPFS@2$NSFileProviderVolumeUnsupportedReasonNonEncrypted@4$NSFileProviderVolumeUnsupportedReasonNone@0$NSFileProviderVolumeUnsupportedReasonQuarantined@32$NSFileProviderVolumeUnsupportedReasonReadOnly@8$NSFileProviderVolumeUnsupportedReasonUnknown@1$"""
|
|
42
|
+
constants = """$NSFileProviderDomainDidChange$NSFileProviderErrorCausedByErrorsKey$NSFileProviderErrorCollidingItemKey$NSFileProviderErrorDomain$NSFileProviderErrorItemKey$NSFileProviderErrorNonExistentItemIdentifierKey$NSFileProviderFavoriteRankUnranked@Q$NSFileProviderInitialPageSortedByDate$NSFileProviderInitialPageSortedByName$NSFileProviderMaterializedSetDidChange$NSFileProviderPendingSetDidChange$NSFileProviderRootContainerItemIdentifier$NSFileProviderTrashContainerItemIdentifier$NSFileProviderUserInfoExperimentIDKey$NSFileProviderWorkingSetContainerItemIdentifier$"""
|
|
43
|
+
enums = """$NSFileProviderContentPolicyDownloadEagerlyAndKeepDownloaded@3$NSFileProviderContentPolicyDownloadLazily@1$NSFileProviderContentPolicyDownloadLazilyAndEvictOnRemoteUpdate@2$NSFileProviderContentPolicyInherited@0$NSFileProviderCreateItemDeletionConflicted@2$NSFileProviderCreateItemMayAlreadyExist@1$NSFileProviderDeleteItemRecursive@1$NSFileProviderDesktop@1$NSFileProviderDocuments@2$NSFileProviderDomainRemovalModePreserveDirtyUserData@1$NSFileProviderDomainRemovalModePreserveDownloadedUserData@2$NSFileProviderDomainRemovalModeRemoveAll@0$NSFileProviderDomainTestingModeAlwaysEnabled@1$NSFileProviderDomainTestingModeInteractive@2$NSFileProviderErrorApplicationExtensionNotFound@-2014$NSFileProviderErrorCannotSynchronize@-2005$NSFileProviderErrorDeletionRejected@-1006$NSFileProviderErrorDirectoryNotEmpty@-1007$NSFileProviderErrorDomainDisabled@-2011$NSFileProviderErrorExcludedFromSync@-2010$NSFileProviderErrorFilenameCollision@-1001$NSFileProviderErrorInsufficientQuota@-1003$NSFileProviderErrorLocalVersionConflictingWithServer@-2015$NSFileProviderErrorNewerExtensionVersionFound@-2004$NSFileProviderErrorNoSuchItem@-1005$NSFileProviderErrorNonEvictable@-2008$NSFileProviderErrorNonEvictableChildren@-2006$NSFileProviderErrorNotAuthenticated@-1000$NSFileProviderErrorOlderExtensionVersionRunning@-2003$NSFileProviderErrorPageExpired@-1002$NSFileProviderErrorProviderDomainNotFound@-2013$NSFileProviderErrorProviderDomainTemporarilyUnavailable@-2012$NSFileProviderErrorProviderNotFound@-2001$NSFileProviderErrorProviderTranslocated@-2002$NSFileProviderErrorServerUnreachable@-1004$NSFileProviderErrorSyncAnchorExpired@-1002$NSFileProviderErrorUnsyncedEdits@-2007$NSFileProviderErrorVersionNoLongerAvailable@-2009$NSFileProviderFetchContentsOptionsStrictVersioning@1$NSFileProviderFileSystemHidden@8$NSFileProviderFileSystemPathExtensionHidden@16$NSFileProviderFileSystemUserExecutable@1$NSFileProviderFileSystemUserReadable@2$NSFileProviderFileSystemUserWritable@4$NSFileProviderItemCapabilitiesAllowsAddingSubItems@2$NSFileProviderItemCapabilitiesAllowsAll@63$NSFileProviderItemCapabilitiesAllowsContentEnumerating@1$NSFileProviderItemCapabilitiesAllowsDeleting@32$NSFileProviderItemCapabilitiesAllowsEvicting@64$NSFileProviderItemCapabilitiesAllowsExcludingFromSync@128$NSFileProviderItemCapabilitiesAllowsReading@1$NSFileProviderItemCapabilitiesAllowsRenaming@8$NSFileProviderItemCapabilitiesAllowsReparenting@4$NSFileProviderItemCapabilitiesAllowsTrashing@16$NSFileProviderItemCapabilitiesAllowsWriting@2$NSFileProviderItemContentModificationDate@128$NSFileProviderItemContents@1$NSFileProviderItemCreationDate@64$NSFileProviderItemExtendedAttributes@512$NSFileProviderItemFavoriteRank@32$NSFileProviderItemFileSystemFlags@256$NSFileProviderItemFilename@2$NSFileProviderItemLastUsedDate@8$NSFileProviderItemParentItemIdentifier@4$NSFileProviderItemTagData@16$NSFileProviderItemTypeAndCreator@1024$NSFileProviderManagerDisconnectionOptionsTemporary@1$NSFileProviderMaterializationFlagsKnownSparseRanges@1$NSFileProviderModifyItemFailOnConflict@2$NSFileProviderModifyItemIsImmediateUploadRequestByPresentingApplication@4$NSFileProviderModifyItemMayAlreadyExist@1$NSFileProviderTestingOperationSideDisk@0$NSFileProviderTestingOperationSideFileProvider@1$NSFileProviderTestingOperationTypeChildrenEnumeration@6$NSFileProviderTestingOperationTypeCollisionResolution@7$NSFileProviderTestingOperationTypeContentFetch@5$NSFileProviderTestingOperationTypeCreation@2$NSFileProviderTestingOperationTypeDeletion@4$NSFileProviderTestingOperationTypeIngestion@0$NSFileProviderTestingOperationTypeLookup@1$NSFileProviderTestingOperationTypeModification@3$NSFileProviderVolumeUnsupportedReasonNetwork@16$NSFileProviderVolumeUnsupportedReasonNonAPFS@2$NSFileProviderVolumeUnsupportedReasonNonEncrypted@4$NSFileProviderVolumeUnsupportedReasonNone@0$NSFileProviderVolumeUnsupportedReasonQuarantined@32$NSFileProviderVolumeUnsupportedReasonReadOnly@8$NSFileProviderVolumeUnsupportedReasonUnknown@1$"""
|
|
44
44
|
misc.update(
|
|
45
45
|
{
|
|
46
46
|
"NSFileProviderManagerDisconnectionOptions": NewType(
|
|
@@ -91,6 +91,7 @@ misc.update(
|
|
|
91
91
|
"NSFileProviderSyncAnchor": NewType(
|
|
92
92
|
"NSFileProviderSyncAnchor", objc.lookUpClass("NSData")
|
|
93
93
|
),
|
|
94
|
+
"NSFileProviderUserInfoKey": NewType("NSFileProviderUserInfoKey", str),
|
|
94
95
|
"NSFileProviderItemDecorationIdentifier": NewType(
|
|
95
96
|
"NSFileProviderItemDecorationIdentifier", str
|
|
96
97
|
),
|
|
@@ -110,11 +111,21 @@ try:
|
|
|
110
111
|
r(b"NSFileProviderDomain", b"isHidden", {"retval": {"type": b"Z"}})
|
|
111
112
|
r(b"NSFileProviderDomain", b"isReplicated", {"retval": {"type": b"Z"}})
|
|
112
113
|
r(b"NSFileProviderDomain", b"setHidden:", {"arguments": {2: {"type": b"Z"}}})
|
|
114
|
+
r(
|
|
115
|
+
b"NSFileProviderDomain",
|
|
116
|
+
b"setSupportsStringSearchRequest:",
|
|
117
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
118
|
+
)
|
|
113
119
|
r(
|
|
114
120
|
b"NSFileProviderDomain",
|
|
115
121
|
b"setSupportsSyncingTrash:",
|
|
116
122
|
{"arguments": {2: {"type": b"Z"}}},
|
|
117
123
|
)
|
|
124
|
+
r(
|
|
125
|
+
b"NSFileProviderDomain",
|
|
126
|
+
b"supportsStringSearchRequest",
|
|
127
|
+
{"retval": {"type": b"Z"}},
|
|
128
|
+
)
|
|
118
129
|
r(b"NSFileProviderDomain", b"supportsSyncingTrash", {"retval": {"type": b"Z"}})
|
|
119
130
|
r(b"NSFileProviderDomain", b"userEnabled", {"retval": {"type": b"Z"}})
|
|
120
131
|
r(
|
|
@@ -799,6 +810,20 @@ try:
|
|
|
799
810
|
}
|
|
800
811
|
},
|
|
801
812
|
)
|
|
813
|
+
r(
|
|
814
|
+
b"NSFileProviderManager",
|
|
815
|
+
b"requestDiagnosticCollectionForItemWithIdentifier:errorReason:completionHandler:",
|
|
816
|
+
{
|
|
817
|
+
"arguments": {
|
|
818
|
+
4: {
|
|
819
|
+
"callable": {
|
|
820
|
+
"retval": {"type": b"v"},
|
|
821
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
)
|
|
802
827
|
r(
|
|
803
828
|
b"NSFileProviderManager",
|
|
804
829
|
b"requestDownloadForItemWithIdentifier:requestedRange:completionHandler:",
|
|
@@ -941,10 +966,10 @@ try:
|
|
|
941
966
|
r(
|
|
942
967
|
b"NSObject",
|
|
943
968
|
b"contentModificationDate",
|
|
944
|
-
{"required":
|
|
969
|
+
{"required": True, "retval": {"type": b"@"}},
|
|
945
970
|
)
|
|
946
971
|
r(b"NSObject", b"contentPolicy", {"required": False, "retval": {"type": b"q"}})
|
|
947
|
-
r(b"NSObject", b"contentType", {"required":
|
|
972
|
+
r(b"NSObject", b"contentType", {"required": True, "retval": {"type": b"@"}})
|
|
948
973
|
r(
|
|
949
974
|
b"NSObject",
|
|
950
975
|
b"createItemBasedOnTemplate:fields:contents:options:request:completionHandler:",
|
|
@@ -985,7 +1010,7 @@ try:
|
|
|
985
1010
|
},
|
|
986
1011
|
},
|
|
987
1012
|
)
|
|
988
|
-
r(b"NSObject", b"creationDate", {"required":
|
|
1013
|
+
r(b"NSObject", b"creationDate", {"required": True, "retval": {"type": b"@"}})
|
|
989
1014
|
r(
|
|
990
1015
|
b"NSObject",
|
|
991
1016
|
b"currentSyncAnchorWithCompletionHandler:",
|
|
@@ -1035,12 +1060,17 @@ try:
|
|
|
1035
1060
|
b"didEnumerateItems:",
|
|
1036
1061
|
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
1037
1062
|
)
|
|
1063
|
+
r(
|
|
1064
|
+
b"NSObject",
|
|
1065
|
+
b"didEnumerateSearchResults:",
|
|
1066
|
+
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
1067
|
+
)
|
|
1038
1068
|
r(
|
|
1039
1069
|
b"NSObject",
|
|
1040
1070
|
b"didUpdateItems:",
|
|
1041
1071
|
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
1042
1072
|
)
|
|
1043
|
-
r(b"NSObject", b"documentSize", {"required":
|
|
1073
|
+
r(b"NSObject", b"documentSize", {"required": True, "retval": {"type": b"@"}})
|
|
1044
1074
|
r(b"NSObject", b"domainVersion", {"required": True, "retval": {"type": b"@"}})
|
|
1045
1075
|
r(b"NSObject", b"downloadingError", {"required": False, "retval": {"type": b"@"}})
|
|
1046
1076
|
r(
|
|
@@ -1061,6 +1091,15 @@ try:
|
|
|
1061
1091
|
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
1062
1092
|
},
|
|
1063
1093
|
)
|
|
1094
|
+
r(
|
|
1095
|
+
b"NSObject",
|
|
1096
|
+
b"enumerateSearchResultsForObserver:startingAtPage:",
|
|
1097
|
+
{
|
|
1098
|
+
"required": True,
|
|
1099
|
+
"retval": {"type": b"v"},
|
|
1100
|
+
"arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
|
|
1101
|
+
},
|
|
1102
|
+
)
|
|
1064
1103
|
r(
|
|
1065
1104
|
b"NSObject",
|
|
1066
1105
|
b"enumeratorForContainerItemIdentifier:request:error:",
|
|
@@ -1333,7 +1372,7 @@ try:
|
|
|
1333
1372
|
)
|
|
1334
1373
|
r(b"NSObject", b"itemIdentifier", {"required": True, "retval": {"type": b"@"}})
|
|
1335
1374
|
r(b"NSObject", b"itemVersion", {"required": False, "retval": {"type": b"@"}})
|
|
1336
|
-
r(b"NSObject", b"lastUsedDate", {"required":
|
|
1375
|
+
r(b"NSObject", b"lastUsedDate", {"required": True, "retval": {"type": b"@"}})
|
|
1337
1376
|
r(
|
|
1338
1377
|
b"NSObject",
|
|
1339
1378
|
b"makeListenerEndpointAndReturnError:",
|
|
@@ -1360,6 +1399,11 @@ try:
|
|
|
1360
1399
|
},
|
|
1361
1400
|
},
|
|
1362
1401
|
)
|
|
1402
|
+
r(
|
|
1403
|
+
b"NSObject",
|
|
1404
|
+
b"maximumNumberOfResultsPerPage",
|
|
1405
|
+
{"required": True, "retval": {"type": b"q"}},
|
|
1406
|
+
)
|
|
1363
1407
|
r(
|
|
1364
1408
|
b"NSObject",
|
|
1365
1409
|
b"modifyItem:baseVersion:changedFields:contents:options:request:completionHandler:",
|
|
@@ -1442,6 +1486,11 @@ try:
|
|
|
1442
1486
|
)
|
|
1443
1487
|
r(b"NSObject", b"refreshInterval", {"required": True, "retval": {"type": "d"}})
|
|
1444
1488
|
r(b"NSObject", b"renamedItem", {"required": True, "retval": {"type": b"@"}})
|
|
1489
|
+
r(
|
|
1490
|
+
b"NSObject",
|
|
1491
|
+
b"searchEnumeratorForStringSearchRequest:",
|
|
1492
|
+
{"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
|
|
1493
|
+
)
|
|
1445
1494
|
r(b"NSObject", b"serviceName", {"required": True, "retval": {"type": b"@"}})
|
|
1446
1495
|
r(
|
|
1447
1496
|
b"NSObject",
|
|
@@ -1523,222 +1572,6 @@ try:
|
|
|
1523
1572
|
r(b"NSObject", b"uploadingError", {"required": False, "retval": {"type": b"@"}})
|
|
1524
1573
|
r(b"NSObject", b"userInfo", {"required": True, "retval": {"type": b"@"}})
|
|
1525
1574
|
r(b"NSObject", b"versionIdentifier", {"required": False, "retval": {"type": b"@"}})
|
|
1526
|
-
r(
|
|
1527
|
-
b"null",
|
|
1528
|
-
b"createDirectoryWithName:inParentItemIdentifier:completionHandler:",
|
|
1529
|
-
{
|
|
1530
|
-
"arguments": {
|
|
1531
|
-
4: {
|
|
1532
|
-
"callable": {
|
|
1533
|
-
"retval": {"type": b"v"},
|
|
1534
|
-
"arguments": {
|
|
1535
|
-
0: {"type": b"^v"},
|
|
1536
|
-
1: {"type": b"@"},
|
|
1537
|
-
2: {"type": b"@"},
|
|
1538
|
-
},
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
)
|
|
1544
|
-
r(
|
|
1545
|
-
b"null",
|
|
1546
|
-
b"deleteItemWithIdentifier:completionHandler:",
|
|
1547
|
-
{
|
|
1548
|
-
"arguments": {
|
|
1549
|
-
3: {
|
|
1550
|
-
"callable": {
|
|
1551
|
-
"retval": {"type": b"v"},
|
|
1552
|
-
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
)
|
|
1558
|
-
r(
|
|
1559
|
-
b"null",
|
|
1560
|
-
b"enumeratorForContainerItemIdentifier:error:",
|
|
1561
|
-
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
1562
|
-
)
|
|
1563
|
-
r(
|
|
1564
|
-
b"null",
|
|
1565
|
-
b"fetchThumbnailsForItemIdentifiers:requestedSize:perThumbnailCompletionHandler:completionHandler:",
|
|
1566
|
-
{
|
|
1567
|
-
"arguments": {
|
|
1568
|
-
4: {
|
|
1569
|
-
"callable": {
|
|
1570
|
-
"retval": {"type": b"v"},
|
|
1571
|
-
"arguments": {
|
|
1572
|
-
0: {"type": b"^v"},
|
|
1573
|
-
1: {"type": b"@"},
|
|
1574
|
-
2: {"type": b"@"},
|
|
1575
|
-
3: {"type": b"@"},
|
|
1576
|
-
},
|
|
1577
|
-
}
|
|
1578
|
-
},
|
|
1579
|
-
5: {
|
|
1580
|
-
"callable": {
|
|
1581
|
-
"retval": {"type": b"v"},
|
|
1582
|
-
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
1583
|
-
}
|
|
1584
|
-
},
|
|
1585
|
-
}
|
|
1586
|
-
},
|
|
1587
|
-
)
|
|
1588
|
-
r(
|
|
1589
|
-
b"null",
|
|
1590
|
-
b"importDocumentAtURL:toParentItemIdentifier:completionHandler:",
|
|
1591
|
-
{
|
|
1592
|
-
"arguments": {
|
|
1593
|
-
4: {
|
|
1594
|
-
"callable": {
|
|
1595
|
-
"retval": {"type": b"v"},
|
|
1596
|
-
"arguments": {
|
|
1597
|
-
0: {"type": b"^v"},
|
|
1598
|
-
1: {"type": b"@"},
|
|
1599
|
-
2: {"type": b"@"},
|
|
1600
|
-
},
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
}
|
|
1604
|
-
},
|
|
1605
|
-
)
|
|
1606
|
-
r(
|
|
1607
|
-
b"null",
|
|
1608
|
-
b"renameItemWithIdentifier:toName:completionHandler:",
|
|
1609
|
-
{
|
|
1610
|
-
"arguments": {
|
|
1611
|
-
4: {
|
|
1612
|
-
"callable": {
|
|
1613
|
-
"retval": {"type": b"v"},
|
|
1614
|
-
"arguments": {
|
|
1615
|
-
0: {"type": b"^v"},
|
|
1616
|
-
1: {"type": b"@"},
|
|
1617
|
-
2: {"type": b"@"},
|
|
1618
|
-
},
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
|
-
},
|
|
1623
|
-
)
|
|
1624
|
-
r(
|
|
1625
|
-
b"null",
|
|
1626
|
-
b"reparentItemWithIdentifier:toParentItemWithIdentifier:newName:completionHandler:",
|
|
1627
|
-
{
|
|
1628
|
-
"arguments": {
|
|
1629
|
-
5: {
|
|
1630
|
-
"callable": {
|
|
1631
|
-
"retval": {"type": b"v"},
|
|
1632
|
-
"arguments": {
|
|
1633
|
-
0: {"type": b"^v"},
|
|
1634
|
-
1: {"type": b"@"},
|
|
1635
|
-
2: {"type": b"@"},
|
|
1636
|
-
},
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
}
|
|
1640
|
-
},
|
|
1641
|
-
)
|
|
1642
|
-
r(
|
|
1643
|
-
b"null",
|
|
1644
|
-
b"setFavoriteRank:forItemIdentifier:completionHandler:",
|
|
1645
|
-
{
|
|
1646
|
-
"arguments": {
|
|
1647
|
-
4: {
|
|
1648
|
-
"callable": {
|
|
1649
|
-
"retval": {"type": b"v"},
|
|
1650
|
-
"arguments": {
|
|
1651
|
-
0: {"type": b"^v"},
|
|
1652
|
-
1: {"type": b"@"},
|
|
1653
|
-
2: {"type": b"@"},
|
|
1654
|
-
},
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
|
-
)
|
|
1660
|
-
r(
|
|
1661
|
-
b"null",
|
|
1662
|
-
b"setLastUsedDate:forItemIdentifier:completionHandler:",
|
|
1663
|
-
{
|
|
1664
|
-
"arguments": {
|
|
1665
|
-
4: {
|
|
1666
|
-
"callable": {
|
|
1667
|
-
"retval": {"type": b"v"},
|
|
1668
|
-
"arguments": {
|
|
1669
|
-
0: {"type": b"^v"},
|
|
1670
|
-
1: {"type": b"@"},
|
|
1671
|
-
2: {"type": b"@"},
|
|
1672
|
-
},
|
|
1673
|
-
}
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
},
|
|
1677
|
-
)
|
|
1678
|
-
r(
|
|
1679
|
-
b"null",
|
|
1680
|
-
b"setTagData:forItemIdentifier:completionHandler:",
|
|
1681
|
-
{
|
|
1682
|
-
"arguments": {
|
|
1683
|
-
4: {
|
|
1684
|
-
"callable": {
|
|
1685
|
-
"retval": {"type": b"v"},
|
|
1686
|
-
"arguments": {
|
|
1687
|
-
0: {"type": b"^v"},
|
|
1688
|
-
1: {"type": b"@"},
|
|
1689
|
-
2: {"type": b"@"},
|
|
1690
|
-
},
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
},
|
|
1695
|
-
)
|
|
1696
|
-
r(
|
|
1697
|
-
b"null",
|
|
1698
|
-
b"supportedServiceSourcesForItemIdentifier:error:",
|
|
1699
|
-
{"arguments": {3: {"type_modifier": b"o"}}},
|
|
1700
|
-
)
|
|
1701
|
-
r(
|
|
1702
|
-
b"null",
|
|
1703
|
-
b"trashItemWithIdentifier:completionHandler:",
|
|
1704
|
-
{
|
|
1705
|
-
"arguments": {
|
|
1706
|
-
3: {
|
|
1707
|
-
"callable": {
|
|
1708
|
-
"retval": {"type": b"v"},
|
|
1709
|
-
"arguments": {
|
|
1710
|
-
0: {"type": b"^v"},
|
|
1711
|
-
1: {"type": b"@"},
|
|
1712
|
-
2: {"type": b"@"},
|
|
1713
|
-
},
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
},
|
|
1718
|
-
)
|
|
1719
|
-
r(
|
|
1720
|
-
b"null",
|
|
1721
|
-
b"untrashItemWithIdentifier:toParentItemIdentifier:completionHandler:",
|
|
1722
|
-
{
|
|
1723
|
-
"arguments": {
|
|
1724
|
-
4: {
|
|
1725
|
-
"callable": {
|
|
1726
|
-
"retval": {"type": b"v"},
|
|
1727
|
-
"arguments": {
|
|
1728
|
-
0: {"type": b"^v"},
|
|
1729
|
-
1: {"type": b"@"},
|
|
1730
|
-
2: {"type": b"@"},
|
|
1731
|
-
},
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
},
|
|
1736
|
-
)
|
|
1737
|
-
r(
|
|
1738
|
-
b"null",
|
|
1739
|
-
b"writePlaceholderAtURL:withMetadata:error:",
|
|
1740
|
-
{"retval": {"type": b"Z"}, "arguments": {4: {"type_modifier": b"o"}}},
|
|
1741
|
-
)
|
|
1742
1575
|
finally:
|
|
1743
1576
|
objc._updatingMetadata(False)
|
|
1744
1577
|
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-FileProvider
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework FileProvider on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
7
7
|
Author-email: pyobjc-dev@lists.sourceforge.net
|
|
8
|
-
License: MIT
|
|
8
|
+
License: MIT
|
|
9
9
|
Keywords: PyObjC,FileProvider
|
|
10
10
|
Platform: MacOS X (>=10.15)
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
12
|
Classifier: Environment :: Console
|
|
13
13
|
Classifier: Environment :: MacOS X :: Cocoa
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
16
15
|
Classifier: Natural Language :: English
|
|
17
16
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
18
17
|
Classifier: Programming Language :: Python
|
|
@@ -24,14 +23,28 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
27
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
28
29
|
Classifier: Programming Language :: Objective C
|
|
29
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
32
|
Requires-Python: >=3.9
|
|
32
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
36
|
+
Dynamic: author
|
|
37
|
+
Dynamic: author-email
|
|
38
|
+
Dynamic: classifier
|
|
39
|
+
Dynamic: description
|
|
40
|
+
Dynamic: description-content-type
|
|
41
|
+
Dynamic: home-page
|
|
42
|
+
Dynamic: keywords
|
|
43
|
+
Dynamic: license
|
|
44
|
+
Dynamic: platform
|
|
45
|
+
Dynamic: requires-dist
|
|
46
|
+
Dynamic: requires-python
|
|
47
|
+
Dynamic: summary
|
|
35
48
|
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
36
49
|
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
37
50
|
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
@@ -27,19 +27,14 @@ PyObjCTest/test_nsfileprovideritem.py
|
|
|
27
27
|
PyObjCTest/test_nsfileprovideritemdecoration.py
|
|
28
28
|
PyObjCTest/test_nsfileproviderknownfolders.py
|
|
29
29
|
PyObjCTest/test_nsfileprovidermanager.py
|
|
30
|
+
PyObjCTest/test_nsfileprovidermodifyitemoptions.py
|
|
30
31
|
PyObjCTest/test_nsfileproviderreplicatedextension.py
|
|
31
32
|
PyObjCTest/test_nsfileproviderrequest.py
|
|
33
|
+
PyObjCTest/test_nsfileprovidersearch.py
|
|
32
34
|
PyObjCTest/test_nsfileproviderservice.py
|
|
33
35
|
PyObjCTest/test_nsfileprovidertesting.py
|
|
34
36
|
PyObjCTest/test_nsfileproviderthumbnailing.py
|
|
35
37
|
metadata/FileProvider.fwinfo
|
|
36
38
|
metadata/metadata.ini
|
|
37
|
-
metadata/raw/arm64-
|
|
38
|
-
metadata/raw/
|
|
39
|
-
metadata/raw/arm64-14.5.fwinfo
|
|
40
|
-
metadata/raw/arm64-15.0.fwinfo
|
|
41
|
-
metadata/raw/x86_64-10.16.fwinfo
|
|
42
|
-
metadata/raw/x86_64-12.3.fwinfo
|
|
43
|
-
metadata/raw/x86_64-13.3.fwinfo
|
|
44
|
-
metadata/raw/x86_64-14.5.fwinfo
|
|
45
|
-
metadata/raw/x86_64-15.0.fwinfo
|
|
39
|
+
metadata/raw/arm64-26.0.fwinfo
|
|
40
|
+
metadata/raw/x86_64-26.0.fwinfo
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(This is the MIT license, note that libffi-src is a separate product with its own license)
|
|
2
2
|
|
|
3
3
|
Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
|
|
4
|
-
Copyright 2003-
|
|
4
|
+
Copyright 2003-2025 - Ronald Oussoren
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
7
7
|
|
{pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Modules/_FileProvider.m
RENAMED
|
@@ -14,54 +14,51 @@ static PyMethodDef mod_methods[] = {
|
|
|
14
14
|
{0, 0, 0, 0} /* sentinel */
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
static int
|
|
17
|
+
static int
|
|
18
|
+
mod_exec_module(PyObject* m)
|
|
18
19
|
{
|
|
19
20
|
return 0;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
static struct PyModuleDef_Slot mod_slots[] = {
|
|
23
|
-
{
|
|
24
|
-
.slot = Py_mod_exec,
|
|
25
|
-
.value = (void*)mod_exec_module
|
|
26
|
-
},
|
|
24
|
+
{.slot = Py_mod_exec, .value = (void*)mod_exec_module},
|
|
27
25
|
#if PY_VERSION_HEX >= 0x030c0000
|
|
28
26
|
{
|
|
29
27
|
/* This extension does not use the CPython API other than initializing
|
|
30
28
|
* the module, hence is safe with subinterpreters and per-interpreter
|
|
31
29
|
* GILs
|
|
32
30
|
*/
|
|
33
|
-
.slot
|
|
31
|
+
.slot = Py_mod_multiple_interpreters,
|
|
34
32
|
.value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
|
|
35
33
|
},
|
|
36
34
|
#endif
|
|
37
35
|
#if PY_VERSION_HEX >= 0x030d0000
|
|
38
36
|
{
|
|
39
37
|
/* The code in this extension should be safe to use without the GIL */
|
|
40
|
-
.slot
|
|
38
|
+
.slot = Py_mod_gil,
|
|
41
39
|
.value = Py_MOD_GIL_NOT_USED,
|
|
42
40
|
},
|
|
43
41
|
#endif
|
|
44
|
-
{
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
};
|
|
42
|
+
{/* Sentinel */
|
|
43
|
+
.slot = 0,
|
|
44
|
+
.value = 0}};
|
|
49
45
|
|
|
50
46
|
static struct PyModuleDef mod_module = {
|
|
51
|
-
.m_base
|
|
52
|
-
.m_name
|
|
53
|
-
.m_doc
|
|
54
|
-
.m_size
|
|
55
|
-
.m_methods
|
|
56
|
-
.m_slots
|
|
47
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
48
|
+
.m_name = "_FileProvider",
|
|
49
|
+
.m_doc = NULL,
|
|
50
|
+
.m_size = 0,
|
|
51
|
+
.m_methods = mod_methods,
|
|
52
|
+
.m_slots = mod_slots,
|
|
57
53
|
.m_traverse = NULL,
|
|
58
|
-
.m_clear
|
|
59
|
-
.m_free
|
|
54
|
+
.m_clear = NULL,
|
|
55
|
+
.m_free = NULL,
|
|
60
56
|
};
|
|
61
57
|
|
|
62
58
|
PyObject* PyInit__FileProvider(void);
|
|
63
59
|
|
|
64
|
-
PyObject* __attribute__((__visibility__("default")))
|
|
60
|
+
PyObject* __attribute__((__visibility__("default")))
|
|
61
|
+
PyInit__FileProvider(void)
|
|
65
62
|
{
|
|
66
63
|
return PyModuleDef_Init(&mod_module);
|
|
67
64
|
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* Last update: Wed Jan 16 13:10:52 2013
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
static void __attribute__((__used__))
|
|
7
|
+
static void __attribute__((__used__))
|
|
8
|
+
use_protocols(void)
|
|
8
9
|
{
|
|
9
10
|
PyObject* p __attribute__((__unused__));
|
|
10
11
|
#if PyObjC_BUILD_RELEASE >= 1016
|
|
@@ -45,4 +46,14 @@ static void __attribute__((__used__)) use_protocols(void)
|
|
|
45
46
|
p = PyObjC_IdToPython(@protocol(NSFileProviderExternalVolumeHandling));
|
|
46
47
|
Py_XDECREF(p);
|
|
47
48
|
#endif
|
|
49
|
+
#if PyObjC_BUILD_RELEASE >= 2600
|
|
50
|
+
p = PyObjC_IdToPython(@protocol(NSFileProviderSearchResult));
|
|
51
|
+
Py_XDECREF(p);
|
|
52
|
+
p = PyObjC_IdToPython(@protocol(NSFileProviderSearchEnumerationObserver));
|
|
53
|
+
Py_XDECREF(p);
|
|
54
|
+
p = PyObjC_IdToPython(@protocol(NSFileProviderSearchEnumerator));
|
|
55
|
+
Py_XDECREF(p);
|
|
56
|
+
p = PyObjC_IdToPython(@protocol(NSFileProviderSearching));
|
|
57
|
+
Py_XDECREF(p);
|
|
58
|
+
#endif
|
|
48
59
|
}
|
{pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-12.0}/Modules/pyobjc-api.h
RENAMED
|
@@ -53,8 +53,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
53
53
|
/*
|
|
54
54
|
* Only add items to the end of this list!
|
|
55
55
|
*/
|
|
56
|
+
|
|
56
57
|
typedef int(RegisterMethodMappingFunctionType)(
|
|
57
|
-
Class, SEL,
|
|
58
|
+
Class _Nullable, SEL,
|
|
58
59
|
PyObject* _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull,
|
|
59
60
|
PyObject* _Nonnull const* _Nonnull, size_t),
|
|
60
61
|
IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
|
|
@@ -83,7 +84,8 @@ struct pyobjc_api {
|
|
|
83
84
|
PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
|
|
84
85
|
PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
|
|
85
86
|
size_t);
|
|
86
|
-
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
|
|
87
|
+
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
|
|
88
|
+
__attribute__((__noreturn__));
|
|
87
89
|
int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
|
|
88
90
|
void (*_Nonnull free_c_array)(int, Py_buffer*);
|
|
89
91
|
int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
|
|
@@ -113,7 +115,8 @@ struct pyobjc_api {
|
|
|
113
115
|
int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
|
|
114
116
|
PyObject* _Nullable kwnames);
|
|
115
117
|
|
|
116
|
-
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
|
|
118
|
+
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
|
|
119
|
+
const char*);
|
|
117
120
|
};
|
|
118
121
|
|
|
119
122
|
#ifndef PYOBJC_BUILD
|