pyobjc-framework-PhotosUI 12.0__tar.gz → 12.2__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.
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Lib/PhotosUI/_metadata.py +11 -1
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Lib/pyobjc_framework_PhotosUI.egg-info/PKG-INFO +5 -6
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Lib/pyobjc_framework_PhotosUI.egg-info/SOURCES.txt +2 -2
- pyobjc_framework_photosui-12.2/Lib/pyobjc_framework_PhotosUI.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_photosui-12.2/Lib/pyobjc_framework_PhotosUI.egg-info/requires.txt +2 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Modules/pyobjc-compat.h +24 -50
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PKG-INFO +5 -6
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/metadata/PhotosUI.fwinfo +15 -15
- pyobjc_framework_photosui-12.0/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_photosui-12.2/metadata/raw/arm64-26.5.fwinfo +878 -51
- pyobjc_framework_photosui-12.0/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_photosui-12.2/metadata/raw/x86_64-26.5.fwinfo +878 -51
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/pyobjc_setup.py +4 -5
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/setup.py +1 -1
- pyobjc_framework_photosui-12.0/Lib/pyobjc_framework_PhotosUI.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_photosui-12.0/Lib/pyobjc_framework_PhotosUI.egg-info/requires.txt +0 -2
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Lib/PhotosUI/__init__.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Lib/pyobjc_framework_PhotosUI.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Lib/pyobjc_framework_PhotosUI.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Lib/pyobjc_framework_PhotosUI.egg-info/top_level.txt +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/License.txt +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/MANIFEST.in +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Modules/_PhotosUI.m +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Modules/_PhotosUI_protocols.m +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/Modules/pyobjc-api.h +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phcontenteditingcontroller.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phlivephotoview.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_photosui.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_photosuitypes.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phpicker.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phprojectextensioncontext.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phprojectextensioncontroller.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phprojectinfo.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phprojecttypedescription.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/PyObjCTest/test_phprojecttypedescriptiondatasource.py +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/metadata/metadata.ini +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/pyproject.toml +0 -0
- {pyobjc_framework_photosui-12.0 → pyobjc_framework_photosui-12.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Thu
|
|
3
|
+
# Last update: Thu May 28 22:50:54 2026
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -265,7 +265,11 @@ try:
|
|
|
265
265
|
finally:
|
|
266
266
|
objc._updatingMetadata(False)
|
|
267
267
|
|
|
268
|
+
objc.registerNewKeywordsFromSelector("PHPickerConfiguration", b"init")
|
|
268
269
|
objc.registerNewKeywordsFromSelector("PHPickerConfiguration", b"initWithPhotoLibrary:")
|
|
270
|
+
objc.registerNewKeywordsFromSelector("PHPickerFilter", b"init")
|
|
271
|
+
objc.registerNewKeywordsFromSelector("PHPickerResult", b"init")
|
|
272
|
+
objc.registerNewKeywordsFromSelector("PHPickerViewController", b"init")
|
|
269
273
|
objc.registerNewKeywordsFromSelector("PHPickerViewController", b"initWithCoder:")
|
|
270
274
|
objc.registerNewKeywordsFromSelector(
|
|
271
275
|
"PHPickerViewController", b"initWithConfiguration:"
|
|
@@ -273,6 +277,12 @@ objc.registerNewKeywordsFromSelector(
|
|
|
273
277
|
objc.registerNewKeywordsFromSelector(
|
|
274
278
|
"PHPickerViewController", b"initWithNibName:bundle:"
|
|
275
279
|
)
|
|
280
|
+
objc.registerNewKeywordsFromSelector("PHProjectElement", b"init")
|
|
281
|
+
objc.registerNewKeywordsFromSelector("PHProjectInfo", b"init")
|
|
282
|
+
objc.registerNewKeywordsFromSelector("PHProjectRegionOfInterest", b"init")
|
|
283
|
+
objc.registerNewKeywordsFromSelector("PHProjectSection", b"init")
|
|
284
|
+
objc.registerNewKeywordsFromSelector("PHProjectSectionContent", b"init")
|
|
285
|
+
objc.registerNewKeywordsFromSelector("PHProjectTypeDescription", b"init")
|
|
276
286
|
objc.registerNewKeywordsFromSelector(
|
|
277
287
|
"PHProjectTypeDescription",
|
|
278
288
|
b"initWithProjectType:title:attributedDescription:image:canProvideSubtypes:",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-PhotosUI
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework PhotosUI on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,14 +24,14 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
36
35
|
Dynamic: author
|
|
37
36
|
Dynamic: author-email
|
|
38
37
|
Dynamic: classifier
|
|
@@ -30,5 +30,5 @@ PyObjCTest/test_phprojecttypedescription.py
|
|
|
30
30
|
PyObjCTest/test_phprojecttypedescriptiondatasource.py
|
|
31
31
|
metadata/PhotosUI.fwinfo
|
|
32
32
|
metadata/metadata.ini
|
|
33
|
-
metadata/raw/arm64-26.
|
|
34
|
-
metadata/raw/x86_64-26.
|
|
33
|
+
metadata/raw/arm64-26.5.fwinfo
|
|
34
|
+
metadata/raw/x86_64-26.5.fwinfo
|
|
@@ -22,12 +22,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
22
22
|
* Start of compiler definitions
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
|
+
#if 0
|
|
25
26
|
#ifndef __has_feature
|
|
26
27
|
#define __has_feature(x) 0
|
|
27
28
|
#endif
|
|
28
29
|
#ifndef __has_extension
|
|
29
30
|
#define __has_extension(x) __has_feature(x)
|
|
30
31
|
#endif
|
|
32
|
+
#endif
|
|
31
33
|
|
|
32
34
|
#if __has_extension(c_static_assert)
|
|
33
35
|
#define STATIC_ASSERT(test, message) _Static_assert(test, message)
|
|
@@ -55,46 +57,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
55
57
|
/*
|
|
56
58
|
*
|
|
57
59
|
* Start of compiler support helpers
|
|
58
|
-
*
|
|
59
|
-
* XXX: Are these needed?
|
|
60
60
|
*/
|
|
61
61
|
|
|
62
|
-
#ifdef __GNUC__
|
|
63
62
|
#define unlikely(x) __builtin_expect(!!(x), 0)
|
|
64
63
|
#define likely(x) __builtin_expect(!!(x), 1)
|
|
65
|
-
#else
|
|
66
|
-
#define likely(x) x
|
|
67
|
-
#define likely(x) x
|
|
68
|
-
#endif
|
|
69
|
-
|
|
70
|
-
/* On some versions of GCC <limits.h> defines LONG_LONG_MAX but not LLONG_MAX, compensate.
|
|
71
|
-
*/
|
|
72
|
-
#ifndef LLONG_MIN
|
|
73
|
-
#ifdef LONG_LONG_MIN
|
|
74
|
-
#define LLONG_MIN LONG_LONG_MIN
|
|
75
|
-
#define LLONG_MAX LONG_LONG_MAX
|
|
76
|
-
#define ULLONG_MAX ULONG_LONG_MAX
|
|
77
|
-
#endif
|
|
78
|
-
#endif
|
|
79
|
-
|
|
80
|
-
/*
|
|
81
|
-
*
|
|
82
|
-
* End of compiler support helpers
|
|
83
|
-
*
|
|
84
|
-
* XXX: These two are no longer needed, all supported platforms
|
|
85
|
-
* are 64-bit
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
#if __LP64__
|
|
89
|
-
#define Py_ARG_NSInteger "l"
|
|
90
|
-
#define Py_ARG_NSUInteger "k"
|
|
91
|
-
#else
|
|
92
|
-
#define Py_ARG_NSInteger "i"
|
|
93
|
-
#define Py_ARG_NSUInteger "I"
|
|
94
|
-
#endif
|
|
95
|
-
|
|
96
|
-
#define PyObjC__STR(x) #x
|
|
97
|
-
#define PyObjC_STR(x) PyObjC__STR(x)
|
|
98
64
|
|
|
99
65
|
/*
|
|
100
66
|
*
|
|
@@ -131,20 +97,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
131
97
|
|
|
132
98
|
extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
|
|
133
99
|
|
|
134
|
-
/*
|
|
135
|
-
* A micro optimization: when using Python 3.3 or later it
|
|
136
|
-
* is possible to access a 'char*' with an ASCII representation
|
|
137
|
-
* of a unicode object without first converting it to a bytes
|
|
138
|
-
* string (if the string can be encoded as ASCII in the first
|
|
139
|
-
* place.
|
|
140
|
-
*
|
|
141
|
-
* This slightly reduces the object allocation rate during
|
|
142
|
-
* attribute access.
|
|
143
|
-
*
|
|
144
|
-
* XXX: Use PyUnicode_AsUTF8 instead.
|
|
145
|
-
*/
|
|
146
|
-
extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
|
|
147
|
-
|
|
148
100
|
#ifdef __clang__
|
|
149
101
|
|
|
150
102
|
#ifndef Py_LIMITED_API
|
|
@@ -286,6 +238,23 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
|
286
238
|
Py_XINCREF(result);
|
|
287
239
|
return result;
|
|
288
240
|
}
|
|
241
|
+
|
|
242
|
+
static inline int
|
|
243
|
+
PyDict_SetDefaultRef(PyObject* p, PyObject* key, PyObject* default_value,
|
|
244
|
+
PyObject* _Nonnull* _Nullable result)
|
|
245
|
+
{
|
|
246
|
+
*result = PyDict_SetDefault(p, key, default_value);
|
|
247
|
+
if (*result == NULL) {
|
|
248
|
+
return -1;
|
|
249
|
+
}
|
|
250
|
+
Py_INCREF(*result);
|
|
251
|
+
|
|
252
|
+
/* This does not follow the spec, should return 1 when the key was already
|
|
253
|
+
* in the dict. That part of the API is not used in PyObjC though.
|
|
254
|
+
*/
|
|
255
|
+
return 0;
|
|
256
|
+
}
|
|
257
|
+
|
|
289
258
|
#endif
|
|
290
259
|
|
|
291
260
|
#if PY_VERSION_HEX < 0x030c0000
|
|
@@ -392,6 +361,11 @@ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
392
361
|
}
|
|
393
362
|
#endif
|
|
394
363
|
|
|
364
|
+
#if PY_VERSION_HEX < 0x030f00a7
|
|
365
|
+
#define PyAnyDict_CheckExact PyDict_CheckExact
|
|
366
|
+
#define PyAnyDict_Check PyDict_Check
|
|
367
|
+
#endif
|
|
368
|
+
|
|
395
369
|
NS_ASSUME_NONNULL_END
|
|
396
370
|
|
|
397
371
|
#endif /* PyObjC_COMPAT_H */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-PhotosUI
|
|
3
|
-
Version: 12.
|
|
3
|
+
Version: 12.2
|
|
4
4
|
Summary: Wrappers for the framework PhotosUI on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
19
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -25,14 +24,14 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.15
|
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Programming Language :: Python :: Free Threading ::
|
|
27
|
+
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
29
28
|
Classifier: Programming Language :: Objective C
|
|
30
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
31
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
32
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.10
|
|
33
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
34
|
-
Requires-Dist: pyobjc-core>=12.
|
|
35
|
-
Requires-Dist: pyobjc-framework-Cocoa>=12.
|
|
33
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
36
35
|
Dynamic: author
|
|
37
36
|
Dynamic: author-email
|
|
38
37
|
Dynamic: classifier
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"callable": {
|
|
59
59
|
"arguments": {
|
|
60
60
|
"0": {
|
|
61
|
-
"
|
|
61
|
+
"type": "^v"
|
|
62
62
|
},
|
|
63
63
|
"1": {
|
|
64
|
-
"
|
|
64
|
+
"type": "@"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"retval": {
|
|
68
|
-
"
|
|
68
|
+
"type": "v"
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"type_override": "@?"
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
"callable": {
|
|
81
81
|
"arguments": {
|
|
82
82
|
"0": {
|
|
83
|
-
"
|
|
83
|
+
"type": "^v"
|
|
84
84
|
},
|
|
85
85
|
"1": {
|
|
86
|
-
"
|
|
86
|
+
"type": "@"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"retval": {
|
|
90
|
-
"
|
|
90
|
+
"type": "v"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"type_override": "@?"
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
"callable": {
|
|
103
103
|
"arguments": {
|
|
104
104
|
"0": {
|
|
105
|
-
"
|
|
105
|
+
"type": "^v"
|
|
106
106
|
},
|
|
107
107
|
"1": {
|
|
108
|
-
"
|
|
108
|
+
"type": "@"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
"retval": {
|
|
112
|
-
"
|
|
112
|
+
"type": "v"
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"type_override": "@?"
|
|
@@ -124,14 +124,14 @@
|
|
|
124
124
|
"callable": {
|
|
125
125
|
"arguments": {
|
|
126
126
|
"0": {
|
|
127
|
-
"
|
|
127
|
+
"type": "^v"
|
|
128
128
|
},
|
|
129
129
|
"1": {
|
|
130
|
-
"
|
|
130
|
+
"type": "@"
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
"retval": {
|
|
134
|
-
"
|
|
134
|
+
"type": "v"
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
"type_override": "@?"
|
|
@@ -179,14 +179,14 @@
|
|
|
179
179
|
"callable": {
|
|
180
180
|
"arguments": {
|
|
181
181
|
"0": {
|
|
182
|
-
"
|
|
182
|
+
"type": "^v"
|
|
183
183
|
},
|
|
184
184
|
"1": {
|
|
185
|
-
"
|
|
185
|
+
"type": "@"
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
"retval": {
|
|
189
|
-
"
|
|
189
|
+
"type": "v"
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
}
|