pyobjc-framework-FSKit 11.1__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.
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Lib/FSKit/__init__.py +4 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Lib/FSKit/_metadata.py +45 -1
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Lib/pyobjc_framework_FSKit.egg-info/PKG-INFO +5 -3
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Lib/pyobjc_framework_FSKit.egg-info/SOURCES.txt +3 -2
- pyobjc_framework_fskit-12.0/Lib/pyobjc_framework_FSKit.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_fskit-12.0/Lib/pyobjc_framework_FSKit.egg-info/requires.txt +2 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Modules/_FSKit.m +18 -21
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Modules/_FSKit_protocols.m +28 -14
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Modules/pyobjc-api.h +6 -3
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Modules/pyobjc-compat.h +32 -48
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PKG-INFO +5 -3
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsresources.py +5 -1
- pyobjc_framework_fskit-12.0/PyObjCTest/test_fstask.py +10 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsvolume.py +9 -0
- pyobjc_framework_fskit-11.1/metadata/raw/arm64-15.4.fwinfo → pyobjc_framework_fskit-12.0/metadata/raw/arm64-26.0.fwinfo +223 -3
- pyobjc_framework_fskit-11.1/metadata/raw/x86_64-15.4.fwinfo → pyobjc_framework_fskit-12.0/metadata/raw/x86_64-26.0.fwinfo +223 -3
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/pyobjc_setup.py +2 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/setup.py +1 -1
- pyobjc_framework_fskit-11.1/Lib/pyobjc_framework_FSKit.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_fskit-11.1/Lib/pyobjc_framework_FSKit.egg-info/requires.txt +0 -2
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Lib/pyobjc_framework_FSKit.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Lib/pyobjc_framework_FSKit.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/Lib/pyobjc_framework_FSKit.egg-info/top_level.txt +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/License.txt +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/MANIFEST.in +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsclient.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fscontainer.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsfilename.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsfilesystembase.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsitem.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fskit.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fskiterror.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fskitfunctions.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsmoduleidentity.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsmutablefiledatabuffer.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsunaryfilesystem.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsvolumeextent.py +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/metadata/FSKit.fwinfo +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/metadata/FSKit.fwinfo.sv +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/metadata/metadata.ini +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/pyproject.toml +0 -0
- {pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/setup.cfg +0 -0
|
@@ -56,6 +56,10 @@ def _setup():
|
|
|
56
56
|
("FSStatFSResult", b"new"),
|
|
57
57
|
("FSExtentPacker", b"init"),
|
|
58
58
|
("FSExtentPacker", b"new"),
|
|
59
|
+
("FSGenericURLResource", b"init"),
|
|
60
|
+
("FSGenericURLResource", b"new"),
|
|
61
|
+
("FSPathURLResource", b"init"),
|
|
62
|
+
("FSPathURLResource", b"new"),
|
|
59
63
|
):
|
|
60
64
|
objc.registerUnavailableMethod(cls, sel)
|
|
61
65
|
|
|
@@ -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:28:00 2025
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -407,7 +407,39 @@ try:
|
|
|
407
407
|
}
|
|
408
408
|
},
|
|
409
409
|
)
|
|
410
|
+
r(
|
|
411
|
+
b"FSPathURLResource",
|
|
412
|
+
b"initWithURL:writable:",
|
|
413
|
+
{"arguments": {3: {"type": b"Z"}}},
|
|
414
|
+
)
|
|
415
|
+
r(b"FSPathURLResource", b"isWritable", {"retval": {"type": b"Z"}})
|
|
410
416
|
r(b"FSResource", b"isRevoked", {"retval": {"type": b"Z"}})
|
|
417
|
+
r(
|
|
418
|
+
b"FSTask",
|
|
419
|
+
b"cancellationHandler",
|
|
420
|
+
{
|
|
421
|
+
"retval": {
|
|
422
|
+
"callable": {
|
|
423
|
+
"retval": {"type": b"@"},
|
|
424
|
+
"arguments": {0: {"type": b"^v"}},
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
)
|
|
429
|
+
r(
|
|
430
|
+
b"FSTask",
|
|
431
|
+
b"setCancellationHandler:",
|
|
432
|
+
{
|
|
433
|
+
"arguments": {
|
|
434
|
+
2: {
|
|
435
|
+
"callable": {
|
|
436
|
+
"retval": {"type": b"@"},
|
|
437
|
+
"arguments": {0: {"type": b"^v"}},
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
)
|
|
411
443
|
r(
|
|
412
444
|
b"FSVolumeSupportedCapabilities",
|
|
413
445
|
b"doesNotSupportImmutableFiles",
|
|
@@ -878,6 +910,11 @@ try:
|
|
|
878
910
|
},
|
|
879
911
|
)
|
|
880
912
|
r(b"NSObject", b"didFinishLoading", {"required": False, "retval": {"type": b"v"}})
|
|
913
|
+
r(
|
|
914
|
+
b"NSObject",
|
|
915
|
+
b"enableOpenUnlinkEmulation",
|
|
916
|
+
{"required": False, "retval": {"type": b"Z"}},
|
|
917
|
+
)
|
|
881
918
|
r(
|
|
882
919
|
b"NSObject",
|
|
883
920
|
b"enumerateDirectory:startingAtCookie:verifier:provideAttributes:attributes:usingBlock:replyHandler:",
|
|
@@ -1407,6 +1444,11 @@ try:
|
|
|
1407
1444
|
b"setContainerStatus:",
|
|
1408
1445
|
{"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
1409
1446
|
)
|
|
1447
|
+
r(
|
|
1448
|
+
b"NSObject",
|
|
1449
|
+
b"setEnableOpenUnlinkEmulation:",
|
|
1450
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"Z"}}},
|
|
1451
|
+
)
|
|
1410
1452
|
r(
|
|
1411
1453
|
b"NSObject",
|
|
1412
1454
|
b"setOpenCloseInhibited:",
|
|
@@ -1619,9 +1661,11 @@ objc.registerNewKeywordsFromSelector("FSFileName", b"initWithBytes:length:")
|
|
|
1619
1661
|
objc.registerNewKeywordsFromSelector("FSFileName", b"initWithCString:")
|
|
1620
1662
|
objc.registerNewKeywordsFromSelector("FSFileName", b"initWithData:")
|
|
1621
1663
|
objc.registerNewKeywordsFromSelector("FSFileName", b"initWithString:")
|
|
1664
|
+
objc.registerNewKeywordsFromSelector("FSGenericURLResource", b"initWithURL:")
|
|
1622
1665
|
objc.registerNewKeywordsFromSelector(
|
|
1623
1666
|
"FSMetadataRange", b"initWithOffset:segmentLength:segmentCount:"
|
|
1624
1667
|
)
|
|
1668
|
+
objc.registerNewKeywordsFromSelector("FSPathURLResource", b"initWithURL:writable:")
|
|
1625
1669
|
objc.registerNewKeywordsFromSelector("FSStatFSResult", b"initWithFileSystemTypeName:")
|
|
1626
1670
|
objc.registerNewKeywordsFromSelector("FSVolume", b"initWithVolumeID:volumeName:")
|
|
1627
1671
|
expressions = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-FSKit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework FSKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,14 +23,16 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
34
36
|
Dynamic: author
|
|
35
37
|
Dynamic: author-email
|
|
36
38
|
Dynamic: classifier
|
|
@@ -28,11 +28,12 @@ PyObjCTest/test_fskitfunctions.py
|
|
|
28
28
|
PyObjCTest/test_fsmoduleidentity.py
|
|
29
29
|
PyObjCTest/test_fsmutablefiledatabuffer.py
|
|
30
30
|
PyObjCTest/test_fsresources.py
|
|
31
|
+
PyObjCTest/test_fstask.py
|
|
31
32
|
PyObjCTest/test_fsunaryfilesystem.py
|
|
32
33
|
PyObjCTest/test_fsvolume.py
|
|
33
34
|
PyObjCTest/test_fsvolumeextent.py
|
|
34
35
|
metadata/FSKit.fwinfo
|
|
35
36
|
metadata/FSKit.fwinfo.sv
|
|
36
37
|
metadata/metadata.ini
|
|
37
|
-
metadata/raw/arm64-
|
|
38
|
-
metadata/raw/x86_64-
|
|
38
|
+
metadata/raw/arm64-26.0.fwinfo
|
|
39
|
+
metadata/raw/x86_64-26.0.fwinfo
|
|
@@ -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 = "_FSKit",
|
|
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__FSKit(void);
|
|
63
59
|
|
|
64
|
-
PyObject* __attribute__((__visibility__("default")))
|
|
60
|
+
PyObject* __attribute__((__visibility__("default")))
|
|
61
|
+
PyInit__FSKit(void)
|
|
65
62
|
{
|
|
66
63
|
return PyModuleDef_Init(&mod_module);
|
|
67
64
|
}
|
|
@@ -4,22 +4,36 @@
|
|
|
4
4
|
* Last update: Thu Aug 22 22:15:16 2024
|
|
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 >= 1504
|
|
11
|
-
p = PyObjC_IdToPython(@protocol(FSFileSystemBase));
|
|
12
|
-
|
|
13
|
-
p = PyObjC_IdToPython(@protocol(
|
|
14
|
-
|
|
15
|
-
p = PyObjC_IdToPython(@protocol(
|
|
16
|
-
|
|
17
|
-
p = PyObjC_IdToPython(@protocol(
|
|
18
|
-
|
|
19
|
-
p = PyObjC_IdToPython(@protocol(
|
|
20
|
-
|
|
21
|
-
p = PyObjC_IdToPython(@protocol(
|
|
22
|
-
|
|
23
|
-
p = PyObjC_IdToPython(@protocol(
|
|
12
|
+
p = PyObjC_IdToPython(@protocol(FSFileSystemBase));
|
|
13
|
+
Py_XDECREF(p);
|
|
14
|
+
p = PyObjC_IdToPython(@protocol(FSManageableResourceMaintenanceOperations));
|
|
15
|
+
Py_XDECREF(p);
|
|
16
|
+
p = PyObjC_IdToPython(@protocol(FSUnaryFileSystemOperations));
|
|
17
|
+
Py_XDECREF(p);
|
|
18
|
+
p = PyObjC_IdToPython(@protocol(FSVolumePathConfOperations));
|
|
19
|
+
Py_XDECREF(p);
|
|
20
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeOperations));
|
|
21
|
+
Py_XDECREF(p);
|
|
22
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeXattrOperations));
|
|
23
|
+
Py_XDECREF(p);
|
|
24
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeOpenCloseOperations));
|
|
25
|
+
Py_XDECREF(p);
|
|
26
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeReadWriteOperations));
|
|
27
|
+
Py_XDECREF(p);
|
|
28
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeAccessCheckOperations));
|
|
29
|
+
Py_XDECREF(p);
|
|
30
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeRenameOperations));
|
|
31
|
+
Py_XDECREF(p);
|
|
32
|
+
p = PyObjC_IdToPython(@protocol(FSVolumePreallocateOperations));
|
|
33
|
+
Py_XDECREF(p);
|
|
34
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeItemDeactivation));
|
|
35
|
+
Py_XDECREF(p);
|
|
36
|
+
p = PyObjC_IdToPython(@protocol(FSVolumeKernelOffloadedIOOperations));
|
|
37
|
+
Py_XDECREF(p);
|
|
24
38
|
#endif /* PyObjC_BUILD_RELEASE >= 1501 */
|
|
25
39
|
}
|
|
@@ -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
|
|
@@ -123,34 +123,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
123
123
|
} while (0)
|
|
124
124
|
#endif
|
|
125
125
|
|
|
126
|
-
#if PY_VERSION_HEX < 0x03090000
|
|
127
|
-
|
|
128
|
-
/* For use on Python 3.8 and earlier. PyObjC doesn't use the
|
|
129
|
-
* "flag" bit internally.
|
|
130
|
-
*/
|
|
131
|
-
|
|
132
|
-
#ifndef PY_VECTORCALL_ARGUMENTS_OFFSET
|
|
133
|
-
#define PY_VECTORCALL_ARGUMENTS_OFFSET ((size_t)1 << (8 * sizeof(size_t) - 1))
|
|
134
|
-
#endif
|
|
135
|
-
|
|
136
|
-
#define PyVectorcall_NARGS(nargsf) ((nargsf) & ~PY_VECTORCALL_ARGUMENTS_OFFSET)
|
|
137
|
-
|
|
138
|
-
#ifdef OBJC_VERSION
|
|
139
|
-
/* Don't use PyObject prefixed symbols in our binaries */
|
|
140
|
-
#define PyObject_Vectorcall PyObjC_Vectorcall
|
|
141
|
-
#define PyObject_VectorcallMethod PyObjC_VectorcallMethod
|
|
142
|
-
|
|
143
|
-
extern PyObject* _Nullable PyObject_Vectorcall(PyObject* callable,
|
|
144
|
-
PyObject* _Nonnull const* _Nonnull args,
|
|
145
|
-
size_t nargsf,
|
|
146
|
-
PyObject* _Nullable kwnames);
|
|
147
|
-
extern PyObject* _Nullable PyObject_VectorcallMethod(
|
|
148
|
-
PyObject* name, PyObject* _Nonnull const* _Nonnull args, size_t nargsf,
|
|
149
|
-
PyObject* _Nullable kwnames);
|
|
150
|
-
#endif
|
|
151
|
-
|
|
152
|
-
#endif /* Python < 3.9 */
|
|
153
|
-
|
|
154
126
|
/* Use CLINIC_SEP between the prototype and
|
|
155
127
|
* description in doc strings, to get clean
|
|
156
128
|
* docstrings.
|
|
@@ -198,7 +170,10 @@ _PyObjCTuple_SetItem(PyObject* tuple, Py_ssize_t idx, PyObject* _Nullable value)
|
|
|
198
170
|
static inline PyObject*
|
|
199
171
|
_PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
200
172
|
{
|
|
201
|
-
|
|
173
|
+
/* The protocol for tuples is that they are full initialized
|
|
174
|
+
* before handing them over to other code.
|
|
175
|
+
*/
|
|
176
|
+
return (PyObject* _Nonnull)PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
|
|
202
177
|
}
|
|
203
178
|
#undef PyTuple_GET_ITEM
|
|
204
179
|
#define PyTuple_GET_ITEM(a, b) _PyObjCTuple_GetItem(a, b)
|
|
@@ -242,13 +217,15 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
|
242
217
|
|
|
243
218
|
#if PY_VERSION_HEX < 0x030a0000
|
|
244
219
|
|
|
245
|
-
static inline PyObject*
|
|
220
|
+
static inline PyObject*
|
|
221
|
+
Py_NewRef(PyObject* o)
|
|
246
222
|
{
|
|
247
223
|
Py_INCREF(o);
|
|
248
224
|
return o;
|
|
249
225
|
}
|
|
250
226
|
|
|
251
|
-
static inline PyObject*
|
|
227
|
+
static inline PyObject*
|
|
228
|
+
Py_XNewRef(PyObject* o)
|
|
252
229
|
{
|
|
253
230
|
Py_XINCREF(o);
|
|
254
231
|
return o;
|
|
@@ -257,11 +234,16 @@ static inline PyObject* Py_XNewRef(PyObject* o)
|
|
|
257
234
|
#endif /* PY_VERSION_HEX < 0x030a0000 */
|
|
258
235
|
|
|
259
236
|
#if PY_VERSION_HEX < 0x030d0000
|
|
260
|
-
#define Py_BEGIN_CRITICAL_SECTION(value)
|
|
237
|
+
#define Py_BEGIN_CRITICAL_SECTION(value) \
|
|
238
|
+
{ \
|
|
239
|
+
(void)(value);
|
|
261
240
|
#define Py_END_CRITICAL_SECTION() }
|
|
262
241
|
#define Py_EXIT_CRITICAL_SECTION() ((void)0)
|
|
263
242
|
|
|
264
|
-
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2)
|
|
243
|
+
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2) \
|
|
244
|
+
{ \
|
|
245
|
+
(void)(value1); \
|
|
246
|
+
(void)(value2);
|
|
265
247
|
#define Py_END_CRITICAL_SECTION2() }
|
|
266
248
|
#define Py_EXIT_CRITICAL_SECTION2() ((void)0)
|
|
267
249
|
|
|
@@ -282,7 +264,8 @@ static inline PyObject* Py_XNewRef(PyObject* o)
|
|
|
282
264
|
#endif
|
|
283
265
|
|
|
284
266
|
#if PY_VERSION_HEX < 0x030d0000
|
|
285
|
-
static inline int
|
|
267
|
+
static inline int
|
|
268
|
+
PyDict_GetItemRef(PyObject* p, PyObject* key, PyObject* _Nonnull* _Nullable result)
|
|
286
269
|
{
|
|
287
270
|
*result = PyDict_GetItemWithError(p, key);
|
|
288
271
|
if (*result == NULL) {
|
|
@@ -306,7 +289,8 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
|
306
289
|
#endif
|
|
307
290
|
|
|
308
291
|
#if PY_VERSION_HEX < 0x030c0000
|
|
309
|
-
static inline PyObject*
|
|
292
|
+
static inline PyObject*
|
|
293
|
+
PyType_GetDict(PyTypeObject* type)
|
|
310
294
|
{
|
|
311
295
|
PyObject* result = type->tp_dict;
|
|
312
296
|
Py_INCREF(result);
|
|
@@ -319,12 +303,13 @@ static inline PyObject* PyType_GetDict(PyTypeObject* type)
|
|
|
319
303
|
* These are available in 3.14 and above, the definitions below
|
|
320
304
|
* mirror the private implementation in 3.13.
|
|
321
305
|
*/
|
|
322
|
-
static inline int
|
|
306
|
+
static inline int
|
|
307
|
+
PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
|
|
323
308
|
{
|
|
324
309
|
#ifdef Py_GIL_DISABLED
|
|
325
|
-
return (_Py_IsOwnedByCurrentThread(ob)
|
|
326
|
-
_Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
|
|
327
|
-
_Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
|
|
310
|
+
return (_Py_IsOwnedByCurrentThread(ob)
|
|
311
|
+
&& _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
|
|
312
|
+
&& _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
|
|
328
313
|
#else
|
|
329
314
|
return Py_REFCNT(ob) == 1;
|
|
330
315
|
#endif
|
|
@@ -340,8 +325,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
340
325
|
// Nothing to do if it's in WEAKREFS, QUEUED, or MERGED states.
|
|
341
326
|
return;
|
|
342
327
|
}
|
|
343
|
-
if (_Py_atomic_compare_exchange_ssize(
|
|
344
|
-
|
|
328
|
+
if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
|
|
329
|
+
shared | _Py_REF_MAYBE_WEAKREF)) {
|
|
345
330
|
return;
|
|
346
331
|
}
|
|
347
332
|
}
|
|
@@ -350,7 +335,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
350
335
|
|
|
351
336
|
#ifdef Py_GIL_DISABLED
|
|
352
337
|
static inline int
|
|
353
|
-
_Py_TryIncrefFast(PyObject
|
|
338
|
+
_Py_TryIncrefFast(PyObject* op)
|
|
339
|
+
{
|
|
354
340
|
uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
|
|
355
341
|
local += 1;
|
|
356
342
|
if (local == 0) {
|
|
@@ -369,7 +355,7 @@ _Py_TryIncrefFast(PyObject *op) {
|
|
|
369
355
|
}
|
|
370
356
|
|
|
371
357
|
static inline int
|
|
372
|
-
_Py_TryIncRefShared(PyObject
|
|
358
|
+
_Py_TryIncRefShared(PyObject* op)
|
|
373
359
|
{
|
|
374
360
|
Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
|
|
375
361
|
for (;;) {
|
|
@@ -379,10 +365,8 @@ _Py_TryIncRefShared(PyObject *op)
|
|
|
379
365
|
return 0;
|
|
380
366
|
}
|
|
381
367
|
|
|
382
|
-
if (_Py_atomic_compare_exchange_ssize(
|
|
383
|
-
|
|
384
|
-
&shared,
|
|
385
|
-
shared + (1 << _Py_REF_SHARED_SHIFT))) {
|
|
368
|
+
if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
|
|
369
|
+
shared + (1 << _Py_REF_SHARED_SHIFT))) {
|
|
386
370
|
#ifdef Py_REF_DEBUG
|
|
387
371
|
_Py_IncRefTotal(_PyThreadState_GET());
|
|
388
372
|
#endif
|
|
@@ -394,7 +378,7 @@ _Py_TryIncRefShared(PyObject *op)
|
|
|
394
378
|
#endif
|
|
395
379
|
|
|
396
380
|
static inline int
|
|
397
|
-
PyUnstable_TryIncRef(PyObject
|
|
381
|
+
PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
398
382
|
{
|
|
399
383
|
#ifdef Py_GIL_DISABLED
|
|
400
384
|
return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-FSKit
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework FSKit on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,14 +23,16 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
34
36
|
Dynamic: author
|
|
35
37
|
Dynamic: author-email
|
|
36
38
|
Dynamic: classifier
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from PyObjCTools.TestSupport import TestCase
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
2
|
|
|
3
3
|
import FSKit
|
|
4
4
|
|
|
@@ -155,3 +155,7 @@ class TestFSResource(TestCase):
|
|
|
155
155
|
self.assertArgIsBOOL(
|
|
156
156
|
FSKit.FSBlockDeviceResource.proxyResourceForBSDName_isWritable_, 1
|
|
157
157
|
)
|
|
158
|
+
|
|
159
|
+
@min_os_level("26.0")
|
|
160
|
+
def test_methods26_0(self):
|
|
161
|
+
self.assertResultIsBOOL(FSKit.FSPathURLResource.isWritable)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
|
+
|
|
3
|
+
import FSKit
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TestFSTask(TestCase):
|
|
7
|
+
@min_os_level("26.0")
|
|
8
|
+
def test_methods(self):
|
|
9
|
+
self.assertResultIsBlock(FSKit.FSTask.cancellationHandler, b"@")
|
|
10
|
+
self.assertArgIsBlock(FSKit.FSTask.setCancellationHandler_, 0, b"@")
|
|
@@ -122,6 +122,12 @@ class TestFSVolumeHelper(FSKit.NSObject):
|
|
|
122
122
|
def closeItem_keepingModes_replyHandler_(self, a, b, c):
|
|
123
123
|
pass
|
|
124
124
|
|
|
125
|
+
def enableOpenUnlinkEmulation(self):
|
|
126
|
+
return 1
|
|
127
|
+
|
|
128
|
+
def setEnableOpenUnlinkEmulation_(self, a):
|
|
129
|
+
pass
|
|
130
|
+
|
|
125
131
|
# FSVolumeReadWriteOperations
|
|
126
132
|
def readFromFile_offset_length_intoBuffer_replyHandler_(self, a, b, c, d, e):
|
|
127
133
|
pass
|
|
@@ -340,6 +346,9 @@ class TestFSVolume(TestCase):
|
|
|
340
346
|
TestFSVolumeHelper.deactivateWithOptions_replyHandler_, 1, b"v@"
|
|
341
347
|
)
|
|
342
348
|
|
|
349
|
+
self.assertResultIsBOOL(TestFSVolumeHelper.enableOpenUnlinkEmulation)
|
|
350
|
+
self.assertArgIsBOOL(TestFSVolumeHelper.setEnableOpenUnlinkEmulation_, 0)
|
|
351
|
+
|
|
343
352
|
# FSVolumeXattrOperations
|
|
344
353
|
self.assertResultIsBOOL(TestFSVolumeHelper.xattrOperationsInhibited)
|
|
345
354
|
self.assertArgIsBOOL(TestFSVolumeHelper.setXattrOperationsInhibited_, 0)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update:
|
|
4
|
+
// Last update: Fri Jul 25 09:21:41 2025
|
|
5
5
|
{
|
|
6
6
|
"arch": "arm64",
|
|
7
7
|
"definitions": {
|
|
@@ -1144,6 +1144,60 @@
|
|
|
1144
1144
|
],
|
|
1145
1145
|
"super": "NSObject"
|
|
1146
1146
|
},
|
|
1147
|
+
"FSGenericURLResource": {
|
|
1148
|
+
"categories": [],
|
|
1149
|
+
"methods": [
|
|
1150
|
+
{
|
|
1151
|
+
"args": [
|
|
1152
|
+
{
|
|
1153
|
+
"typestr": "@",
|
|
1154
|
+
"typestr_special": false
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"class_method": false,
|
|
1158
|
+
"retval": {
|
|
1159
|
+
"typestr": "@",
|
|
1160
|
+
"typestr_special": false
|
|
1161
|
+
},
|
|
1162
|
+
"selector": "initWithURL:",
|
|
1163
|
+
"visibility": "public"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"args": [],
|
|
1167
|
+
"class_method": false,
|
|
1168
|
+
"retval": {
|
|
1169
|
+
"typestr": "@",
|
|
1170
|
+
"typestr_special": false
|
|
1171
|
+
},
|
|
1172
|
+
"selector": "init",
|
|
1173
|
+
"visibility": "public"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"args": [],
|
|
1177
|
+
"class_method": false,
|
|
1178
|
+
"retval": {
|
|
1179
|
+
"typestr": "@",
|
|
1180
|
+
"typestr_special": false
|
|
1181
|
+
},
|
|
1182
|
+
"selector": "url",
|
|
1183
|
+
"visibility": "public"
|
|
1184
|
+
}
|
|
1185
|
+
],
|
|
1186
|
+
"name": "FSGenericURLResource",
|
|
1187
|
+
"properties": [
|
|
1188
|
+
{
|
|
1189
|
+
"attributes": [
|
|
1190
|
+
"copy",
|
|
1191
|
+
"readonly"
|
|
1192
|
+
],
|
|
1193
|
+
"name": "url",
|
|
1194
|
+
"typestr": "@",
|
|
1195
|
+
"typestr_special": false
|
|
1196
|
+
}
|
|
1197
|
+
],
|
|
1198
|
+
"protocols": [],
|
|
1199
|
+
"super": "FSResource"
|
|
1200
|
+
},
|
|
1147
1201
|
"FSItem": {
|
|
1148
1202
|
"categories": [],
|
|
1149
1203
|
"methods": [],
|
|
@@ -2138,6 +2192,86 @@
|
|
|
2138
2192
|
"protocols": [],
|
|
2139
2193
|
"super": "NSObject"
|
|
2140
2194
|
},
|
|
2195
|
+
"FSPathURLResource": {
|
|
2196
|
+
"categories": [],
|
|
2197
|
+
"methods": [
|
|
2198
|
+
{
|
|
2199
|
+
"args": [
|
|
2200
|
+
{
|
|
2201
|
+
"typestr": "@",
|
|
2202
|
+
"typestr_special": false
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
"typestr": "Z",
|
|
2206
|
+
"typestr_special": true
|
|
2207
|
+
}
|
|
2208
|
+
],
|
|
2209
|
+
"class_method": false,
|
|
2210
|
+
"retval": {
|
|
2211
|
+
"typestr": "@",
|
|
2212
|
+
"typestr_special": false
|
|
2213
|
+
},
|
|
2214
|
+
"selector": "initWithURL:writable:",
|
|
2215
|
+
"visibility": "public"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
"args": [],
|
|
2219
|
+
"class_method": false,
|
|
2220
|
+
"retval": {
|
|
2221
|
+
"typestr": "@",
|
|
2222
|
+
"typestr_special": false
|
|
2223
|
+
},
|
|
2224
|
+
"selector": "init",
|
|
2225
|
+
"visibility": "public"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"args": [],
|
|
2229
|
+
"class_method": false,
|
|
2230
|
+
"retval": {
|
|
2231
|
+
"typestr": "@",
|
|
2232
|
+
"typestr_special": false
|
|
2233
|
+
},
|
|
2234
|
+
"selector": "url",
|
|
2235
|
+
"visibility": "public"
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"args": [],
|
|
2239
|
+
"class_method": false,
|
|
2240
|
+
"retval": {
|
|
2241
|
+
"typestr": "Z",
|
|
2242
|
+
"typestr_special": true
|
|
2243
|
+
},
|
|
2244
|
+
"selector": "isWritable",
|
|
2245
|
+
"visibility": "public"
|
|
2246
|
+
}
|
|
2247
|
+
],
|
|
2248
|
+
"name": "FSPathURLResource",
|
|
2249
|
+
"properties": [
|
|
2250
|
+
{
|
|
2251
|
+
"attributes": [
|
|
2252
|
+
"copy",
|
|
2253
|
+
"readonly"
|
|
2254
|
+
],
|
|
2255
|
+
"name": "url",
|
|
2256
|
+
"typestr": "@",
|
|
2257
|
+
"typestr_special": false
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"attributes": [
|
|
2261
|
+
"readonly",
|
|
2262
|
+
[
|
|
2263
|
+
"getter",
|
|
2264
|
+
"isWritable"
|
|
2265
|
+
]
|
|
2266
|
+
],
|
|
2267
|
+
"name": "writable",
|
|
2268
|
+
"typestr": "Z",
|
|
2269
|
+
"typestr_special": true
|
|
2270
|
+
}
|
|
2271
|
+
],
|
|
2272
|
+
"protocols": [],
|
|
2273
|
+
"super": "FSResource"
|
|
2274
|
+
},
|
|
2141
2275
|
"FSProbeResult": {
|
|
2142
2276
|
"categories": [],
|
|
2143
2277
|
"methods": [
|
|
@@ -2864,10 +2998,64 @@
|
|
|
2864
2998
|
},
|
|
2865
2999
|
"selector": "didCompleteWithError:",
|
|
2866
3000
|
"visibility": "public"
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"args": [],
|
|
3004
|
+
"class_method": false,
|
|
3005
|
+
"retval": {
|
|
3006
|
+
"callable": {
|
|
3007
|
+
"arguments": {
|
|
3008
|
+
"0": {
|
|
3009
|
+
"type": "^v"
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
"retval": {
|
|
3013
|
+
"type": "@"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
"typestr": "@?",
|
|
3017
|
+
"typestr_special": false
|
|
3018
|
+
},
|
|
3019
|
+
"selector": "cancellationHandler",
|
|
3020
|
+
"visibility": "public"
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"args": [
|
|
3024
|
+
{
|
|
3025
|
+
"callable": {
|
|
3026
|
+
"arguments": {
|
|
3027
|
+
"0": {
|
|
3028
|
+
"type": "^v"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
"retval": {
|
|
3032
|
+
"type": "@"
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
"typestr": "@?",
|
|
3036
|
+
"typestr_special": false
|
|
3037
|
+
}
|
|
3038
|
+
],
|
|
3039
|
+
"class_method": false,
|
|
3040
|
+
"retval": {
|
|
3041
|
+
"typestr": "v",
|
|
3042
|
+
"typestr_special": false
|
|
3043
|
+
},
|
|
3044
|
+
"selector": "setCancellationHandler:",
|
|
3045
|
+
"visibility": "public"
|
|
2867
3046
|
}
|
|
2868
3047
|
],
|
|
2869
3048
|
"name": "FSTask",
|
|
2870
|
-
"properties": [
|
|
3049
|
+
"properties": [
|
|
3050
|
+
{
|
|
3051
|
+
"attributes": [
|
|
3052
|
+
"copy"
|
|
3053
|
+
],
|
|
3054
|
+
"name": "cancellationHandler",
|
|
3055
|
+
"typestr": "@?",
|
|
3056
|
+
"typestr_special": false
|
|
3057
|
+
}
|
|
3058
|
+
],
|
|
2871
3059
|
"protocols": [],
|
|
2872
3060
|
"super": "NSObject"
|
|
2873
3061
|
},
|
|
@@ -5348,6 +5536,33 @@
|
|
|
5348
5536
|
},
|
|
5349
5537
|
"selector": "volumeStatistics",
|
|
5350
5538
|
"visibility": "public"
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"args": [],
|
|
5542
|
+
"class_method": false,
|
|
5543
|
+
"required": false,
|
|
5544
|
+
"retval": {
|
|
5545
|
+
"typestr": "Z",
|
|
5546
|
+
"typestr_special": true
|
|
5547
|
+
},
|
|
5548
|
+
"selector": "enableOpenUnlinkEmulation",
|
|
5549
|
+
"visibility": "public"
|
|
5550
|
+
},
|
|
5551
|
+
{
|
|
5552
|
+
"args": [
|
|
5553
|
+
{
|
|
5554
|
+
"typestr": "Z",
|
|
5555
|
+
"typestr_special": true
|
|
5556
|
+
}
|
|
5557
|
+
],
|
|
5558
|
+
"class_method": false,
|
|
5559
|
+
"required": false,
|
|
5560
|
+
"retval": {
|
|
5561
|
+
"typestr": "v",
|
|
5562
|
+
"typestr_special": false
|
|
5563
|
+
},
|
|
5564
|
+
"selector": "setEnableOpenUnlinkEmulation:",
|
|
5565
|
+
"visibility": "public"
|
|
5351
5566
|
}
|
|
5352
5567
|
],
|
|
5353
5568
|
"properties": [
|
|
@@ -5368,6 +5583,11 @@
|
|
|
5368
5583
|
"name": "volumeStatistics",
|
|
5369
5584
|
"typestr": "@",
|
|
5370
5585
|
"typestr_special": false
|
|
5586
|
+
},
|
|
5587
|
+
{
|
|
5588
|
+
"name": "enableOpenUnlinkEmulation",
|
|
5589
|
+
"typestr": "Z",
|
|
5590
|
+
"typestr_special": true
|
|
5371
5591
|
}
|
|
5372
5592
|
]
|
|
5373
5593
|
},
|
|
@@ -6074,5 +6294,5 @@
|
|
|
6074
6294
|
"FSVolumeExtent.h"
|
|
6075
6295
|
],
|
|
6076
6296
|
"release": "10.16",
|
|
6077
|
-
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
6297
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk"
|
|
6078
6298
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update:
|
|
4
|
+
// Last update: Fri Jul 25 09:21:39 2025
|
|
5
5
|
{
|
|
6
6
|
"arch": "x86_64",
|
|
7
7
|
"definitions": {
|
|
@@ -1144,6 +1144,60 @@
|
|
|
1144
1144
|
],
|
|
1145
1145
|
"super": "NSObject"
|
|
1146
1146
|
},
|
|
1147
|
+
"FSGenericURLResource": {
|
|
1148
|
+
"categories": [],
|
|
1149
|
+
"methods": [
|
|
1150
|
+
{
|
|
1151
|
+
"args": [
|
|
1152
|
+
{
|
|
1153
|
+
"typestr": "@",
|
|
1154
|
+
"typestr_special": false
|
|
1155
|
+
}
|
|
1156
|
+
],
|
|
1157
|
+
"class_method": false,
|
|
1158
|
+
"retval": {
|
|
1159
|
+
"typestr": "@",
|
|
1160
|
+
"typestr_special": false
|
|
1161
|
+
},
|
|
1162
|
+
"selector": "initWithURL:",
|
|
1163
|
+
"visibility": "public"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"args": [],
|
|
1167
|
+
"class_method": false,
|
|
1168
|
+
"retval": {
|
|
1169
|
+
"typestr": "@",
|
|
1170
|
+
"typestr_special": false
|
|
1171
|
+
},
|
|
1172
|
+
"selector": "init",
|
|
1173
|
+
"visibility": "public"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"args": [],
|
|
1177
|
+
"class_method": false,
|
|
1178
|
+
"retval": {
|
|
1179
|
+
"typestr": "@",
|
|
1180
|
+
"typestr_special": false
|
|
1181
|
+
},
|
|
1182
|
+
"selector": "url",
|
|
1183
|
+
"visibility": "public"
|
|
1184
|
+
}
|
|
1185
|
+
],
|
|
1186
|
+
"name": "FSGenericURLResource",
|
|
1187
|
+
"properties": [
|
|
1188
|
+
{
|
|
1189
|
+
"attributes": [
|
|
1190
|
+
"copy",
|
|
1191
|
+
"readonly"
|
|
1192
|
+
],
|
|
1193
|
+
"name": "url",
|
|
1194
|
+
"typestr": "@",
|
|
1195
|
+
"typestr_special": false
|
|
1196
|
+
}
|
|
1197
|
+
],
|
|
1198
|
+
"protocols": [],
|
|
1199
|
+
"super": "FSResource"
|
|
1200
|
+
},
|
|
1147
1201
|
"FSItem": {
|
|
1148
1202
|
"categories": [],
|
|
1149
1203
|
"methods": [],
|
|
@@ -2138,6 +2192,86 @@
|
|
|
2138
2192
|
"protocols": [],
|
|
2139
2193
|
"super": "NSObject"
|
|
2140
2194
|
},
|
|
2195
|
+
"FSPathURLResource": {
|
|
2196
|
+
"categories": [],
|
|
2197
|
+
"methods": [
|
|
2198
|
+
{
|
|
2199
|
+
"args": [
|
|
2200
|
+
{
|
|
2201
|
+
"typestr": "@",
|
|
2202
|
+
"typestr_special": false
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
"typestr": "Z",
|
|
2206
|
+
"typestr_special": true
|
|
2207
|
+
}
|
|
2208
|
+
],
|
|
2209
|
+
"class_method": false,
|
|
2210
|
+
"retval": {
|
|
2211
|
+
"typestr": "@",
|
|
2212
|
+
"typestr_special": false
|
|
2213
|
+
},
|
|
2214
|
+
"selector": "initWithURL:writable:",
|
|
2215
|
+
"visibility": "public"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
"args": [],
|
|
2219
|
+
"class_method": false,
|
|
2220
|
+
"retval": {
|
|
2221
|
+
"typestr": "@",
|
|
2222
|
+
"typestr_special": false
|
|
2223
|
+
},
|
|
2224
|
+
"selector": "init",
|
|
2225
|
+
"visibility": "public"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"args": [],
|
|
2229
|
+
"class_method": false,
|
|
2230
|
+
"retval": {
|
|
2231
|
+
"typestr": "@",
|
|
2232
|
+
"typestr_special": false
|
|
2233
|
+
},
|
|
2234
|
+
"selector": "url",
|
|
2235
|
+
"visibility": "public"
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"args": [],
|
|
2239
|
+
"class_method": false,
|
|
2240
|
+
"retval": {
|
|
2241
|
+
"typestr": "Z",
|
|
2242
|
+
"typestr_special": true
|
|
2243
|
+
},
|
|
2244
|
+
"selector": "isWritable",
|
|
2245
|
+
"visibility": "public"
|
|
2246
|
+
}
|
|
2247
|
+
],
|
|
2248
|
+
"name": "FSPathURLResource",
|
|
2249
|
+
"properties": [
|
|
2250
|
+
{
|
|
2251
|
+
"attributes": [
|
|
2252
|
+
"copy",
|
|
2253
|
+
"readonly"
|
|
2254
|
+
],
|
|
2255
|
+
"name": "url",
|
|
2256
|
+
"typestr": "@",
|
|
2257
|
+
"typestr_special": false
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"attributes": [
|
|
2261
|
+
"readonly",
|
|
2262
|
+
[
|
|
2263
|
+
"getter",
|
|
2264
|
+
"isWritable"
|
|
2265
|
+
]
|
|
2266
|
+
],
|
|
2267
|
+
"name": "writable",
|
|
2268
|
+
"typestr": "Z",
|
|
2269
|
+
"typestr_special": true
|
|
2270
|
+
}
|
|
2271
|
+
],
|
|
2272
|
+
"protocols": [],
|
|
2273
|
+
"super": "FSResource"
|
|
2274
|
+
},
|
|
2141
2275
|
"FSProbeResult": {
|
|
2142
2276
|
"categories": [],
|
|
2143
2277
|
"methods": [
|
|
@@ -2864,10 +2998,64 @@
|
|
|
2864
2998
|
},
|
|
2865
2999
|
"selector": "didCompleteWithError:",
|
|
2866
3000
|
"visibility": "public"
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"args": [],
|
|
3004
|
+
"class_method": false,
|
|
3005
|
+
"retval": {
|
|
3006
|
+
"callable": {
|
|
3007
|
+
"arguments": {
|
|
3008
|
+
"0": {
|
|
3009
|
+
"type": "^v"
|
|
3010
|
+
}
|
|
3011
|
+
},
|
|
3012
|
+
"retval": {
|
|
3013
|
+
"type": "@"
|
|
3014
|
+
}
|
|
3015
|
+
},
|
|
3016
|
+
"typestr": "@?",
|
|
3017
|
+
"typestr_special": false
|
|
3018
|
+
},
|
|
3019
|
+
"selector": "cancellationHandler",
|
|
3020
|
+
"visibility": "public"
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"args": [
|
|
3024
|
+
{
|
|
3025
|
+
"callable": {
|
|
3026
|
+
"arguments": {
|
|
3027
|
+
"0": {
|
|
3028
|
+
"type": "^v"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
"retval": {
|
|
3032
|
+
"type": "@"
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
"typestr": "@?",
|
|
3036
|
+
"typestr_special": false
|
|
3037
|
+
}
|
|
3038
|
+
],
|
|
3039
|
+
"class_method": false,
|
|
3040
|
+
"retval": {
|
|
3041
|
+
"typestr": "v",
|
|
3042
|
+
"typestr_special": false
|
|
3043
|
+
},
|
|
3044
|
+
"selector": "setCancellationHandler:",
|
|
3045
|
+
"visibility": "public"
|
|
2867
3046
|
}
|
|
2868
3047
|
],
|
|
2869
3048
|
"name": "FSTask",
|
|
2870
|
-
"properties": [
|
|
3049
|
+
"properties": [
|
|
3050
|
+
{
|
|
3051
|
+
"attributes": [
|
|
3052
|
+
"copy"
|
|
3053
|
+
],
|
|
3054
|
+
"name": "cancellationHandler",
|
|
3055
|
+
"typestr": "@?",
|
|
3056
|
+
"typestr_special": false
|
|
3057
|
+
}
|
|
3058
|
+
],
|
|
2871
3059
|
"protocols": [],
|
|
2872
3060
|
"super": "NSObject"
|
|
2873
3061
|
},
|
|
@@ -5348,6 +5536,33 @@
|
|
|
5348
5536
|
},
|
|
5349
5537
|
"selector": "volumeStatistics",
|
|
5350
5538
|
"visibility": "public"
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"args": [],
|
|
5542
|
+
"class_method": false,
|
|
5543
|
+
"required": false,
|
|
5544
|
+
"retval": {
|
|
5545
|
+
"typestr": "Z",
|
|
5546
|
+
"typestr_special": true
|
|
5547
|
+
},
|
|
5548
|
+
"selector": "enableOpenUnlinkEmulation",
|
|
5549
|
+
"visibility": "public"
|
|
5550
|
+
},
|
|
5551
|
+
{
|
|
5552
|
+
"args": [
|
|
5553
|
+
{
|
|
5554
|
+
"typestr": "Z",
|
|
5555
|
+
"typestr_special": true
|
|
5556
|
+
}
|
|
5557
|
+
],
|
|
5558
|
+
"class_method": false,
|
|
5559
|
+
"required": false,
|
|
5560
|
+
"retval": {
|
|
5561
|
+
"typestr": "v",
|
|
5562
|
+
"typestr_special": false
|
|
5563
|
+
},
|
|
5564
|
+
"selector": "setEnableOpenUnlinkEmulation:",
|
|
5565
|
+
"visibility": "public"
|
|
5351
5566
|
}
|
|
5352
5567
|
],
|
|
5353
5568
|
"properties": [
|
|
@@ -5368,6 +5583,11 @@
|
|
|
5368
5583
|
"name": "volumeStatistics",
|
|
5369
5584
|
"typestr": "@",
|
|
5370
5585
|
"typestr_special": false
|
|
5586
|
+
},
|
|
5587
|
+
{
|
|
5588
|
+
"name": "enableOpenUnlinkEmulation",
|
|
5589
|
+
"typestr": "Z",
|
|
5590
|
+
"typestr_special": true
|
|
5371
5591
|
}
|
|
5372
5592
|
]
|
|
5373
5593
|
},
|
|
@@ -6074,5 +6294,5 @@
|
|
|
6074
6294
|
"FSVolumeExtent.h"
|
|
6075
6295
|
],
|
|
6076
6296
|
"release": "10.16",
|
|
6077
|
-
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
|
6297
|
+
"sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk"
|
|
6078
6298
|
}
|
|
@@ -234,7 +234,9 @@ Programming Language :: Python :: 3.11
|
|
|
234
234
|
Programming Language :: Python :: 3.12
|
|
235
235
|
Programming Language :: Python :: 3.13
|
|
236
236
|
Programming Language :: Python :: 3.14
|
|
237
|
+
Programming Language :: Python :: 3.15
|
|
237
238
|
Programming Language :: Python :: Implementation :: CPython
|
|
239
|
+
Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
238
240
|
Programming Language :: Objective C
|
|
239
241
|
Topic :: Software Development :: Libraries :: Python Modules
|
|
240
242
|
Topic :: Software Development :: User Interfaces
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsfilesystembase.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fskitfunctions.py
RENAMED
|
File without changes
|
{pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsmoduleidentity.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsunaryfilesystem.py
RENAMED
|
File without changes
|
{pyobjc_framework_fskit-11.1 → pyobjc_framework_fskit-12.0}/PyObjCTest/test_fsvolumeextent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|