pyobjc-framework-SharedWithYou 12.2.2__tar.gz → 13.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_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Lib/SharedWithYou/_metadata.py +12 -5
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Lib/pyobjc_framework_SharedWithYou.egg-info/PKG-INFO +5 -5
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Lib/pyobjc_framework_SharedWithYou.egg-info/SOURCES.txt +3 -2
- pyobjc_framework_sharedwithyou-13.0/Lib/pyobjc_framework_SharedWithYou.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_sharedwithyou-13.0/Lib/pyobjc_framework_SharedWithYou.egg-info/requires.txt +2 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Modules/_SharedWithYou.m +9 -2
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Modules/_SharedWithYou_protocols.m +8 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Modules/pyobjc-api.h +18 -4
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Modules/pyobjc-compat.h +0 -18
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PKG-INFO +5 -5
- pyobjc_framework_sharedwithyou-13.0/PyObjCTest/test_nsitemprovider+swcollaborationmetadata.py +12 -0
- pyobjc_framework_sharedwithyou-13.0/PyObjCTest/test_sharedwithyou.py +10 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swattributionview.py +1 -1
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swcollaborationview.py +9 -2
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swerrors.py +1 -1
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swhighlightcenter.py +1 -1
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swhighlightchangeevent.py +1 -1
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swhighlightevent.py +1 -1
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swhighlightmembershipevent.py +1 -1
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/test_swhighlightpersistenceevent.py +1 -1
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/metadata/SharedWithYou.fwinfo +0 -4
- pyobjc_framework_sharedwithyou-12.2.2/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_sharedwithyou-13.0/metadata/raw/arm64-27.fwinfo +89 -3
- pyobjc_framework_sharedwithyou-12.2.2/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_sharedwithyou-13.0/metadata/raw/x86_64-27.fwinfo +89 -3
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/pyobjc_setup.py +7 -7
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/setup.py +1 -1
- pyobjc_framework_sharedwithyou-12.2.2/Lib/pyobjc_framework_SharedWithYou.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_sharedwithyou-12.2.2/Lib/pyobjc_framework_SharedWithYou.egg-info/requires.txt +0 -2
- pyobjc_framework_sharedwithyou-12.2.2/PyObjCTest/test_sharedwithyou.py +0 -8
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Lib/SharedWithYou/__init__.py +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Lib/pyobjc_framework_SharedWithYou.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Lib/pyobjc_framework_SharedWithYou.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Lib/pyobjc_framework_SharedWithYou.egg-info/top_level.txt +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/License.txt +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/MANIFEST.in +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/metadata/metadata.ini +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/pyproject.toml +0 -0
- {pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/setup.cfg +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update: Sun May 24 11:58:36 2026
|
|
4
|
-
#
|
|
5
3
|
# flake8: noqa
|
|
6
4
|
|
|
7
5
|
import objc, sys
|
|
@@ -30,9 +28,7 @@ else:
|
|
|
30
28
|
|
|
31
29
|
|
|
32
30
|
misc = {}
|
|
33
|
-
constants =
|
|
34
|
-
"""$NSPasteboardTypeCollaborationMetadata$SWCollaborationMetadataTypeIdentifier$"""
|
|
35
|
-
)
|
|
31
|
+
constants = """$NSPasteboardTypeCollaborationMetadata$SWCollaborationMetadataTypeIdentifier$SWCopyRepresentationTypeIdentifier$"""
|
|
36
32
|
enums = """$SWAttributionViewBackgroundStyleColor@1$SWAttributionViewBackgroundStyleDefault@0$SWAttributionViewBackgroundStyleMaterial@2$SWAttributionViewDisplayContextDetail@1$SWAttributionViewDisplayContextSummary@0$SWAttributionViewHorizontalAlignmentCenter@2$SWAttributionViewHorizontalAlignmentDefault@0$SWAttributionViewHorizontalAlignmentLeading@1$SWAttributionViewHorizontalAlignmentTrailing@3$SWHighlightCenterErrorCodeAccessDenied@3$SWHighlightCenterErrorCodeInternalError@1$SWHighlightCenterErrorCodeInvalidURL@2$SWHighlightCenterErrorCodeNoError@0$SWHighlightChangeEventTriggerComment@2$SWHighlightChangeEventTriggerEdit@1$SWHighlightMembershipEventTriggerAddedCollaborator@1$SWHighlightMembershipEventTriggerRemovedCollaborator@2$SWHighlightPersistenceEventTriggerCreated@1$SWHighlightPersistenceEventTriggerDeleted@2$SWHighlightPersistenceEventTriggerMoved@4$SWHighlightPersistenceEventTriggerRenamed@3$"""
|
|
37
33
|
misc.update(
|
|
38
34
|
{
|
|
@@ -102,6 +98,12 @@ try:
|
|
|
102
98
|
b"setShowManageButton:",
|
|
103
99
|
{"arguments": {2: {"type": b"Z"}}},
|
|
104
100
|
)
|
|
101
|
+
r(
|
|
102
|
+
b"SWCollaborationView",
|
|
103
|
+
b"setShowsParticipantCount:",
|
|
104
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
105
|
+
)
|
|
106
|
+
r(b"SWCollaborationView", b"showsParticipantCount", {"retval": {"type": b"Z"}})
|
|
105
107
|
r(
|
|
106
108
|
b"SWHighlightCenter",
|
|
107
109
|
b"collaborationHighlightForIdentifier:error:",
|
|
@@ -192,5 +194,10 @@ objc.registerNewKeywordsFromSelector(
|
|
|
192
194
|
)
|
|
193
195
|
objc.registerNewKeywordsFromSelector("SWRemoveParticipantAlert", b"init")
|
|
194
196
|
expressions = {}
|
|
197
|
+
formal_protocols = {
|
|
198
|
+
"SWCollaborationViewDelegate": "SWCollaborationViewDelegate",
|
|
199
|
+
"SWHighlightCenterDelegate": "SWHighlightCenterDelegate",
|
|
200
|
+
"SWHighlightEvent": "SWHighlightEvent",
|
|
201
|
+
}
|
|
195
202
|
|
|
196
203
|
# END OF FILE
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-SharedWithYou
|
|
3
|
-
Version:
|
|
3
|
+
Version: 13.0
|
|
4
4
|
Summary: Wrappers for the framework SharedWithYou on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,21 +17,21 @@ 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.10
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.14
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.15
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.16
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.11
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-SharedWithYouCore>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=13.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-SharedWithYouCore>=13.0
|
|
35
35
|
Dynamic: author
|
|
36
36
|
Dynamic: author-email
|
|
37
37
|
Dynamic: classifier
|
|
@@ -17,6 +17,7 @@ Modules/_SharedWithYou_protocols.m
|
|
|
17
17
|
Modules/pyobjc-api.h
|
|
18
18
|
Modules/pyobjc-compat.h
|
|
19
19
|
PyObjCTest/__init__.py
|
|
20
|
+
PyObjCTest/test_nsitemprovider+swcollaborationmetadata.py
|
|
20
21
|
PyObjCTest/test_sharedwithyou.py
|
|
21
22
|
PyObjCTest/test_swattributionview.py
|
|
22
23
|
PyObjCTest/test_swcollaborationview.py
|
|
@@ -28,5 +29,5 @@ PyObjCTest/test_swhighlightmembershipevent.py
|
|
|
28
29
|
PyObjCTest/test_swhighlightpersistenceevent.py
|
|
29
30
|
metadata/SharedWithYou.fwinfo
|
|
30
31
|
metadata/metadata.ini
|
|
31
|
-
metadata/raw/arm64-
|
|
32
|
-
metadata/raw/x86_64-
|
|
32
|
+
metadata/raw/arm64-27.fwinfo
|
|
33
|
+
metadata/raw/x86_64-27.fwinfo
|
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
#include "Python.h"
|
|
3
3
|
#include "pyobjc-api.h"
|
|
4
4
|
|
|
5
|
+
#ifdef USE_STATIC_ANALYZER
|
|
6
|
+
#include "../../pyobjc-core/Modules/objc/python-api-used.h"
|
|
7
|
+
#endif
|
|
8
|
+
|
|
5
9
|
#import <Foundation/Foundation.h>
|
|
6
10
|
#import <SharedWithYou/SharedWithYou.h>
|
|
7
11
|
|
|
@@ -10,6 +14,8 @@
|
|
|
10
14
|
*/
|
|
11
15
|
#include "_SharedWithYou_protocols.m"
|
|
12
16
|
|
|
17
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
18
|
+
|
|
13
19
|
static PyMethodDef mod_methods[] = {
|
|
14
20
|
{0, 0, 0, 0} /* sentinel */
|
|
15
21
|
};
|
|
@@ -55,10 +61,11 @@ static struct PyModuleDef mod_module = {
|
|
|
55
61
|
.m_free = NULL,
|
|
56
62
|
};
|
|
57
63
|
|
|
58
|
-
PyObject* PyInit__SharedWithYou(void);
|
|
64
|
+
PyObject* _Nullable PyInit__SharedWithYou(void);
|
|
59
65
|
|
|
60
|
-
PyObject* __attribute__((__visibility__("default")))
|
|
66
|
+
PyObject* _Nullable __attribute__((__visibility__("default")))
|
|
61
67
|
PyInit__SharedWithYou(void)
|
|
62
68
|
{
|
|
63
69
|
return PyModuleDef_Init(&mod_module);
|
|
64
70
|
}
|
|
71
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
// LCOV_EXCL_START
|
|
2
|
+
// This function is only present to ensure protocols are
|
|
3
|
+
// available at runtime.
|
|
4
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
5
|
+
|
|
1
6
|
static void __attribute__((__used__))
|
|
2
7
|
use_protocols(void)
|
|
3
8
|
{
|
|
@@ -5,3 +10,6 @@ use_protocols(void)
|
|
|
5
10
|
p = PyObjC_IdToPython(@protocol(SWHighlightCenterDelegate));
|
|
6
11
|
Py_XDECREF(p);
|
|
7
12
|
}
|
|
13
|
+
|
|
14
|
+
NS_ASSUME_NONNULL_END
|
|
15
|
+
// LCOV_EXCL_STOP
|
{pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/Modules/pyobjc-api.h
RENAMED
|
@@ -60,6 +60,11 @@ typedef int(RegisterMethodMappingFunctionType)(
|
|
|
60
60
|
PyObject* _Nonnull const* _Nonnull, size_t),
|
|
61
61
|
IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
|
|
62
62
|
|
|
63
|
+
#ifndef PyObjC_FUNCTION_CALL_H
|
|
64
|
+
typedef PyObject* _Nullable (*PyObjC_FunctionCallFunc)(
|
|
65
|
+
PyObject* meth, PyObject* _Nonnull const* _Nonnull args, size_t nargs);
|
|
66
|
+
#endif
|
|
67
|
+
|
|
63
68
|
struct pyobjc_api {
|
|
64
69
|
int api_version; /* API version */
|
|
65
70
|
size_t struct_len; /* Length of this struct */
|
|
@@ -117,6 +122,9 @@ struct pyobjc_api {
|
|
|
117
122
|
|
|
118
123
|
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
|
|
119
124
|
const char*);
|
|
125
|
+
int (*_Nonnull register_functioncaller)(void*, PyObjC_FunctionCallFunc);
|
|
126
|
+
PyObject* _Nullable (*_Nonnull create_registered_struct)(
|
|
127
|
+
const char*, Py_ssize_t, const char* _Nonnull* _Nullable, Py_ssize_t*);
|
|
120
128
|
};
|
|
121
129
|
|
|
122
130
|
#ifndef PYOBJC_BUILD
|
|
@@ -159,6 +167,8 @@ static struct pyobjc_api* PyObjC_API;
|
|
|
159
167
|
#define PyObjC_CheckArgCount (PyObjC_API->checkargcount)
|
|
160
168
|
#define PyObjC_CheckNoKwnames (PyObjC_API->checknokwnames)
|
|
161
169
|
#define PyObjCCreateOpaquePointerType (PyObjC_API->createopaquepointertype)
|
|
170
|
+
#define PyObjCRegister_FunctionCaller (PyObjC_API->register_functioncaller)
|
|
171
|
+
#define PyObjC_CreateRegisteredStruct (PyObjC_API->create_registered_struct)
|
|
162
172
|
|
|
163
173
|
typedef void (*PyObjC_Function_Pointer)(void);
|
|
164
174
|
typedef struct PyObjC_function_map {
|
|
@@ -178,21 +188,25 @@ static inline int
|
|
|
178
188
|
PyObjC_ImportAPI(PyObject* calling_module)
|
|
179
189
|
{
|
|
180
190
|
PyObjC_API = (struct pyobjc_api*)PyCapsule_Import("objc." PYOBJC_API_NAME, 0);
|
|
181
|
-
if (PyObjC_API == NULL) {
|
|
182
|
-
return -1;
|
|
191
|
+
if (PyObjC_API == NULL) { // LCOV_BR_EXCL_LINE
|
|
192
|
+
return -1; // LCOV_EXCL_LINE
|
|
183
193
|
}
|
|
184
|
-
if (PyObjC_API->api_version != PYOBJC_API_VERSION) {
|
|
194
|
+
if (PyObjC_API->api_version != PYOBJC_API_VERSION) { // LCOV_BR_EXCL_LINE
|
|
195
|
+
// LCOV_EXCL_START
|
|
185
196
|
PyErr_Format(PyExc_RuntimeError,
|
|
186
197
|
"Wrong version of PyObjC C API (got %d, expected %d)",
|
|
187
198
|
(int)PyObjC_API->api_version, (int)PYOBJC_API_VERSION);
|
|
188
199
|
return -1;
|
|
200
|
+
// LCOV_EXCL_STOP
|
|
189
201
|
}
|
|
190
202
|
|
|
191
|
-
if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) {
|
|
203
|
+
if (PyObjC_API->struct_len < PyObjC_EXPECTED_STRUCT_SIZE) { // LCOV_EXCL_LINE
|
|
204
|
+
// LCOV_EXCL_START
|
|
192
205
|
PyErr_Format(PyExc_RuntimeError,
|
|
193
206
|
"Wrong struct-size of PyObjC C API (got %d, expected %d)",
|
|
194
207
|
(int)PyObjC_API->struct_len, (int)sizeof(struct pyobjc_api));
|
|
195
208
|
return -1;
|
|
209
|
+
// LCOV_EXCL_STOP
|
|
196
210
|
}
|
|
197
211
|
|
|
198
212
|
/* Current pyobjc implementation doesn't allow deregistering
|
|
@@ -167,24 +167,6 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
|
167
167
|
PyGILState_Release(_GILState); \
|
|
168
168
|
} while (0)
|
|
169
169
|
|
|
170
|
-
#if PY_VERSION_HEX < 0x030a0000
|
|
171
|
-
|
|
172
|
-
static inline PyObject*
|
|
173
|
-
Py_NewRef(PyObject* o)
|
|
174
|
-
{
|
|
175
|
-
Py_INCREF(o);
|
|
176
|
-
return o;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
static inline PyObject*
|
|
180
|
-
Py_XNewRef(PyObject* o)
|
|
181
|
-
{
|
|
182
|
-
Py_XINCREF(o);
|
|
183
|
-
return o;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
#endif /* PY_VERSION_HEX < 0x030a0000 */
|
|
187
|
-
|
|
188
170
|
#if PY_VERSION_HEX < 0x030d0000
|
|
189
171
|
#define Py_BEGIN_CRITICAL_SECTION(value) \
|
|
190
172
|
{ \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-SharedWithYou
|
|
3
|
-
Version:
|
|
3
|
+
Version: 13.0
|
|
4
4
|
Summary: Wrappers for the framework SharedWithYou on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -17,21 +17,21 @@ 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.10
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.13
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.14
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.15
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.16
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
28
28
|
Classifier: Programming Language :: Objective C
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
|
-
Requires-Python: >=3.
|
|
31
|
+
Requires-Python: >=3.11
|
|
32
32
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-SharedWithYouCore>=
|
|
33
|
+
Requires-Dist: pyobjc-core>=13.0
|
|
34
|
+
Requires-Dist: pyobjc-framework-SharedWithYouCore>=13.0
|
|
35
35
|
Dynamic: author
|
|
36
36
|
Dynamic: author-email
|
|
37
37
|
Dynamic: classifier
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
|
+
|
|
3
|
+
import SharedWithYou
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TestNSItemProvider_SWCollaborationMetadata(TestCase):
|
|
7
|
+
def test_constants(self):
|
|
8
|
+
self.assertIsInstance(SharedWithYou.SWCollaborationMetadataTypeIdentifier, str)
|
|
9
|
+
|
|
10
|
+
@min_os_level("27.0")
|
|
11
|
+
def test_constants27_0(self):
|
|
12
|
+
self.assertIsInstance(SharedWithYou.SWCopyRepresentationTypeIdentifier, str)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase
|
|
2
|
+
|
|
3
|
+
import SharedWithYou
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TestSharedWithYou(TestCase):
|
|
7
|
+
def test_callable_metadata_is_sane(self):
|
|
8
|
+
self.assertCallableMetadataIsSane(
|
|
9
|
+
SharedWithYou, exclude_attrs={"CoreDAVLogging", "CoreDAVXMLData"}
|
|
10
|
+
)
|
|
@@ -4,7 +4,7 @@ import SharedWithYou
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestSWAttributionView(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(SharedWithYou.SWAttributionViewDisplayContext)
|
|
9
9
|
self.assertEqual(SharedWithYou.SWAttributionViewDisplayContextSummary, 0)
|
|
10
10
|
self.assertEqual(SharedWithYou.SWAttributionViewDisplayContextDetail, 1)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from PyObjCTools.TestSupport import TestCase
|
|
1
|
+
from PyObjCTools.TestSupport import TestCase, min_os_level
|
|
2
2
|
|
|
3
3
|
import SharedWithYou
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ class TestSWAttributionViewHelper(SharedWithYou.NSObject):
|
|
|
10
10
|
|
|
11
11
|
class TestSWAttributionView(TestCase):
|
|
12
12
|
def test_protocols(self):
|
|
13
|
-
self.assertProtocolExists("SWCollaborationViewDelegate")
|
|
13
|
+
self.assertProtocolExists("SWCollaborationViewDelegate", SharedWithYou)
|
|
14
14
|
|
|
15
15
|
def test_protocol_methods(self):
|
|
16
16
|
self.assertResultIsBOOL(
|
|
@@ -22,3 +22,10 @@ class TestSWAttributionView(TestCase):
|
|
|
22
22
|
SharedWithYou.SWCollaborationView.dismissPopover_, 0, b"v"
|
|
23
23
|
)
|
|
24
24
|
self.assertArgIsBOOL(SharedWithYou.SWCollaborationView.setShowManageButton_, 0)
|
|
25
|
+
|
|
26
|
+
@min_os_level("27.2")
|
|
27
|
+
def test_methods27_2(self):
|
|
28
|
+
self.assertResultIsBOOL(SharedWithYou.SWCollaborationView.showsParticipantCount)
|
|
29
|
+
self.assertArgIsBOOL(
|
|
30
|
+
SharedWithYou.SWCollaborationView.setShowsParticipantCount_, 0
|
|
31
|
+
)
|
|
@@ -4,7 +4,7 @@ import SharedWithYou
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestSWErrors(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(SharedWithYou.SWHighlightCenterErrorCode)
|
|
9
9
|
self.assertEqual(SharedWithYou.SWHighlightCenterErrorCodeNoError, 0)
|
|
10
10
|
self.assertEqual(SharedWithYou.SWHighlightCenterErrorCodeInternalError, 1)
|
|
@@ -5,7 +5,7 @@ import SharedWithYou # noqa: F401
|
|
|
5
5
|
|
|
6
6
|
class TestSWHighlightCenter(TestCase):
|
|
7
7
|
def test_protocols(self):
|
|
8
|
-
self.assertProtocolExists("SWHighlightCenterDelegate")
|
|
8
|
+
self.assertProtocolExists("SWHighlightCenterDelegate", SharedWithYou)
|
|
9
9
|
|
|
10
10
|
def test_methods(self):
|
|
11
11
|
self.assertArgIsOut(
|
|
@@ -4,7 +4,7 @@ import SharedWithYou
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestSWHighlightChangeEvent(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(SharedWithYou.SWHighlightChangeEventTrigger)
|
|
9
9
|
self.assertEqual(SharedWithYou.SWHighlightChangeEventTriggerEdit, 1)
|
|
10
10
|
self.assertEqual(SharedWithYou.SWHighlightChangeEventTriggerComment, 2)
|
|
@@ -4,7 +4,7 @@ import SharedWithYou
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestSWHighlightMembershipEvent(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(SharedWithYou.SWHighlightMembershipEventTrigger)
|
|
9
9
|
self.assertEqual(
|
|
10
10
|
SharedWithYou.SWHighlightMembershipEventTriggerAddedCollaborator, 1
|
|
@@ -4,7 +4,7 @@ import SharedWithYou
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
class TestSWHighlightPersistenceEvent(TestCase):
|
|
7
|
-
def
|
|
7
|
+
def test_enums(self):
|
|
8
8
|
self.assertIsEnumType(SharedWithYou.SWHighlightPersistenceEventTrigger)
|
|
9
9
|
self.assertEqual(SharedWithYou.SWHighlightPersistenceEventTriggerCreated, 1)
|
|
10
10
|
self.assertEqual(SharedWithYou.SWHighlightPersistenceEventTriggerDeleted, 2)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update: Sun May 24 11:58:35 2026
|
|
5
4
|
{
|
|
6
5
|
"arch": "arm64",
|
|
7
6
|
"definitions": {
|
|
@@ -700,6 +699,68 @@
|
|
|
700
699
|
"selector": "setActiveParticipantCount:",
|
|
701
700
|
"visibility": "public"
|
|
702
701
|
},
|
|
702
|
+
{
|
|
703
|
+
"args": [],
|
|
704
|
+
"class_method": false,
|
|
705
|
+
"introduced": "27.2",
|
|
706
|
+
"retval": {
|
|
707
|
+
"type_name": "BOOL",
|
|
708
|
+
"typestr": "Z",
|
|
709
|
+
"typestr_special": true
|
|
710
|
+
},
|
|
711
|
+
"selector": "showsParticipantCount",
|
|
712
|
+
"visibility": "public"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"args": [
|
|
716
|
+
{
|
|
717
|
+
"name": "showsParticipantCount",
|
|
718
|
+
"type_name": "BOOL",
|
|
719
|
+
"typestr": "Z",
|
|
720
|
+
"typestr_special": true
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
"class_method": false,
|
|
724
|
+
"introduced": "27.2",
|
|
725
|
+
"retval": {
|
|
726
|
+
"type_name": "void",
|
|
727
|
+
"typestr": "v",
|
|
728
|
+
"typestr_special": false
|
|
729
|
+
},
|
|
730
|
+
"selector": "setShowsParticipantCount:",
|
|
731
|
+
"visibility": "public"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"args": [],
|
|
735
|
+
"class_method": false,
|
|
736
|
+
"introduced": "27.0",
|
|
737
|
+
"retval": {
|
|
738
|
+
"type_name": "NSUInteger",
|
|
739
|
+
"typestr": "Q",
|
|
740
|
+
"typestr_special": false
|
|
741
|
+
},
|
|
742
|
+
"selector": "pendingAccessRequestsCount",
|
|
743
|
+
"visibility": "public"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"args": [
|
|
747
|
+
{
|
|
748
|
+
"name": "pendingAccessRequestsCount",
|
|
749
|
+
"type_name": "NSUInteger",
|
|
750
|
+
"typestr": "Q",
|
|
751
|
+
"typestr_special": false
|
|
752
|
+
}
|
|
753
|
+
],
|
|
754
|
+
"class_method": false,
|
|
755
|
+
"introduced": "27.0",
|
|
756
|
+
"retval": {
|
|
757
|
+
"type_name": "void",
|
|
758
|
+
"typestr": "v",
|
|
759
|
+
"typestr_special": false
|
|
760
|
+
},
|
|
761
|
+
"selector": "setPendingAccessRequestsCount:",
|
|
762
|
+
"visibility": "public"
|
|
763
|
+
},
|
|
703
764
|
{
|
|
704
765
|
"args": [],
|
|
705
766
|
"class_method": false,
|
|
@@ -926,6 +987,26 @@
|
|
|
926
987
|
"typestr": "Q",
|
|
927
988
|
"typestr_special": false
|
|
928
989
|
},
|
|
990
|
+
{
|
|
991
|
+
"attributes": [
|
|
992
|
+
"assign",
|
|
993
|
+
"nonatomic"
|
|
994
|
+
],
|
|
995
|
+
"name": "showsParticipantCount",
|
|
996
|
+
"type_name": "BOOL",
|
|
997
|
+
"typestr": "Z",
|
|
998
|
+
"typestr_special": true
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"attributes": [
|
|
1002
|
+
"assign",
|
|
1003
|
+
"nonatomic"
|
|
1004
|
+
],
|
|
1005
|
+
"name": "pendingAccessRequestsCount",
|
|
1006
|
+
"type_name": "NSUInteger",
|
|
1007
|
+
"typestr": "Q",
|
|
1008
|
+
"typestr_special": false
|
|
1009
|
+
},
|
|
929
1010
|
{
|
|
930
1011
|
"attributes": [
|
|
931
1012
|
"nonatomic",
|
|
@@ -2013,6 +2094,11 @@
|
|
|
2013
2094
|
"introduced": "13.0",
|
|
2014
2095
|
"type_name": "NSString *const",
|
|
2015
2096
|
"typestr": "@"
|
|
2097
|
+
},
|
|
2098
|
+
"SWCopyRepresentationTypeIdentifier": {
|
|
2099
|
+
"introduced": "27.0",
|
|
2100
|
+
"type_name": "NSString *const",
|
|
2101
|
+
"typestr": "@"
|
|
2016
2102
|
}
|
|
2017
2103
|
},
|
|
2018
2104
|
"formal_protocols": {
|
|
@@ -2183,6 +2269,6 @@
|
|
|
2183
2269
|
"SWHighlightPersistenceEvent.h",
|
|
2184
2270
|
"SWRemoveParticipantAlert.h"
|
|
2185
2271
|
],
|
|
2186
|
-
"release": "
|
|
2187
|
-
"sdk": "
|
|
2272
|
+
"release": "macOS 27.2",
|
|
2273
|
+
"sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
|
|
2188
2274
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// GENERATED FILE DO NOT EDIT
|
|
2
2
|
//
|
|
3
3
|
// This file was generated by objective.metadata
|
|
4
|
-
// Last update: Sun May 24 11:58:32 2026
|
|
5
4
|
{
|
|
6
5
|
"arch": "x86_64",
|
|
7
6
|
"definitions": {
|
|
@@ -700,6 +699,68 @@
|
|
|
700
699
|
"selector": "setActiveParticipantCount:",
|
|
701
700
|
"visibility": "public"
|
|
702
701
|
},
|
|
702
|
+
{
|
|
703
|
+
"args": [],
|
|
704
|
+
"class_method": false,
|
|
705
|
+
"introduced": "27.2",
|
|
706
|
+
"retval": {
|
|
707
|
+
"type_name": "BOOL",
|
|
708
|
+
"typestr": "Z",
|
|
709
|
+
"typestr_special": true
|
|
710
|
+
},
|
|
711
|
+
"selector": "showsParticipantCount",
|
|
712
|
+
"visibility": "public"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"args": [
|
|
716
|
+
{
|
|
717
|
+
"name": "showsParticipantCount",
|
|
718
|
+
"type_name": "BOOL",
|
|
719
|
+
"typestr": "Z",
|
|
720
|
+
"typestr_special": true
|
|
721
|
+
}
|
|
722
|
+
],
|
|
723
|
+
"class_method": false,
|
|
724
|
+
"introduced": "27.2",
|
|
725
|
+
"retval": {
|
|
726
|
+
"type_name": "void",
|
|
727
|
+
"typestr": "v",
|
|
728
|
+
"typestr_special": false
|
|
729
|
+
},
|
|
730
|
+
"selector": "setShowsParticipantCount:",
|
|
731
|
+
"visibility": "public"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"args": [],
|
|
735
|
+
"class_method": false,
|
|
736
|
+
"introduced": "27.0",
|
|
737
|
+
"retval": {
|
|
738
|
+
"type_name": "NSUInteger",
|
|
739
|
+
"typestr": "Q",
|
|
740
|
+
"typestr_special": false
|
|
741
|
+
},
|
|
742
|
+
"selector": "pendingAccessRequestsCount",
|
|
743
|
+
"visibility": "public"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"args": [
|
|
747
|
+
{
|
|
748
|
+
"name": "pendingAccessRequestsCount",
|
|
749
|
+
"type_name": "NSUInteger",
|
|
750
|
+
"typestr": "Q",
|
|
751
|
+
"typestr_special": false
|
|
752
|
+
}
|
|
753
|
+
],
|
|
754
|
+
"class_method": false,
|
|
755
|
+
"introduced": "27.0",
|
|
756
|
+
"retval": {
|
|
757
|
+
"type_name": "void",
|
|
758
|
+
"typestr": "v",
|
|
759
|
+
"typestr_special": false
|
|
760
|
+
},
|
|
761
|
+
"selector": "setPendingAccessRequestsCount:",
|
|
762
|
+
"visibility": "public"
|
|
763
|
+
},
|
|
703
764
|
{
|
|
704
765
|
"args": [],
|
|
705
766
|
"class_method": false,
|
|
@@ -926,6 +987,26 @@
|
|
|
926
987
|
"typestr": "Q",
|
|
927
988
|
"typestr_special": false
|
|
928
989
|
},
|
|
990
|
+
{
|
|
991
|
+
"attributes": [
|
|
992
|
+
"assign",
|
|
993
|
+
"nonatomic"
|
|
994
|
+
],
|
|
995
|
+
"name": "showsParticipantCount",
|
|
996
|
+
"type_name": "BOOL",
|
|
997
|
+
"typestr": "Z",
|
|
998
|
+
"typestr_special": true
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"attributes": [
|
|
1002
|
+
"assign",
|
|
1003
|
+
"nonatomic"
|
|
1004
|
+
],
|
|
1005
|
+
"name": "pendingAccessRequestsCount",
|
|
1006
|
+
"type_name": "NSUInteger",
|
|
1007
|
+
"typestr": "Q",
|
|
1008
|
+
"typestr_special": false
|
|
1009
|
+
},
|
|
929
1010
|
{
|
|
930
1011
|
"attributes": [
|
|
931
1012
|
"nonatomic",
|
|
@@ -2013,6 +2094,11 @@
|
|
|
2013
2094
|
"introduced": "13.0",
|
|
2014
2095
|
"type_name": "NSString *const",
|
|
2015
2096
|
"typestr": "@"
|
|
2097
|
+
},
|
|
2098
|
+
"SWCopyRepresentationTypeIdentifier": {
|
|
2099
|
+
"introduced": "27.0",
|
|
2100
|
+
"type_name": "NSString *const",
|
|
2101
|
+
"typestr": "@"
|
|
2016
2102
|
}
|
|
2017
2103
|
},
|
|
2018
2104
|
"formal_protocols": {
|
|
@@ -2183,6 +2269,6 @@
|
|
|
2183
2269
|
"SWHighlightPersistenceEvent.h",
|
|
2184
2270
|
"SWRemoveParticipantAlert.h"
|
|
2185
2271
|
],
|
|
2186
|
-
"release": "
|
|
2187
|
-
"sdk": "
|
|
2272
|
+
"release": "macOS 27.2",
|
|
2273
|
+
"sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
|
|
2188
2274
|
}
|
{pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/pyobjc_setup.py
RENAMED
|
@@ -110,13 +110,11 @@ class oc_egg_info(egg_info.egg_info):
|
|
|
110
110
|
else:
|
|
111
111
|
sdk_version = os.path.basename(sdk_root)
|
|
112
112
|
|
|
113
|
-
build_info = textwrap.dedent(
|
|
114
|
-
f"""\
|
|
113
|
+
build_info = textwrap.dedent(f"""\
|
|
115
114
|
macOS {macos_version} ({macos_build})
|
|
116
115
|
{clang_version}
|
|
117
116
|
SDK: {sdk_version}
|
|
118
|
-
"""
|
|
119
|
-
)
|
|
117
|
+
""")
|
|
120
118
|
|
|
121
119
|
self.write_file(
|
|
122
120
|
"pyobjc-build-info.txt",
|
|
@@ -204,7 +202,7 @@ class oc_test(Command):
|
|
|
204
202
|
"errors": len(result.errors),
|
|
205
203
|
"xfails": len(getattr(result, "expectedFailures", [])),
|
|
206
204
|
"xpass": len(getattr(result, "unexpectedSuccesses", [])),
|
|
207
|
-
"skip
|
|
205
|
+
"skip": len(getattr(result, "skipped", [])),
|
|
208
206
|
"testSeconds": (time_after - time_before),
|
|
209
207
|
}
|
|
210
208
|
print(f"SUMMARY: {summary}")
|
|
@@ -228,12 +226,12 @@ Operating System :: MacOS :: MacOS X
|
|
|
228
226
|
Programming Language :: Python
|
|
229
227
|
Programming Language :: Python :: 3
|
|
230
228
|
Programming Language :: Python :: 3 :: Only
|
|
231
|
-
Programming Language :: Python :: 3.10
|
|
232
229
|
Programming Language :: Python :: 3.11
|
|
233
230
|
Programming Language :: Python :: 3.12
|
|
234
231
|
Programming Language :: Python :: 3.13
|
|
235
232
|
Programming Language :: Python :: 3.14
|
|
236
233
|
Programming Language :: Python :: 3.15
|
|
234
|
+
Programming Language :: Python :: 3.16
|
|
237
235
|
Programming Language :: Python :: Implementation :: CPython
|
|
238
236
|
Programming Language :: Python :: Free Threading :: 3 - Stable
|
|
239
237
|
Programming Language :: Objective C
|
|
@@ -499,6 +497,8 @@ def Extension(*args, **kwds):
|
|
|
499
497
|
"-DPyObjC_BUILD_RELEASE=%02d%02d"
|
|
500
498
|
% (tuple(map(int, version.split(".")[:2])))
|
|
501
499
|
)
|
|
500
|
+
ldflags.append("-isysroot")
|
|
501
|
+
ldflags.append(data)
|
|
502
502
|
else:
|
|
503
503
|
cflags.append(
|
|
504
504
|
"-DPyObjC_BUILD_RELEASE=%02d%02d"
|
|
@@ -677,7 +677,7 @@ def setup(
|
|
|
677
677
|
zip_safe=False,
|
|
678
678
|
license="MIT",
|
|
679
679
|
classifiers=CLASSIFIERS,
|
|
680
|
-
python_requires=">=3.
|
|
680
|
+
python_requires=">=3.11",
|
|
681
681
|
keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
|
|
682
682
|
options=options,
|
|
683
683
|
**k,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/PyObjCTest/__init__.py
RENAMED
|
File without changes
|
{pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/metadata/metadata.ini
RENAMED
|
File without changes
|
{pyobjc_framework_sharedwithyou-12.2.2 → pyobjc_framework_sharedwithyou-13.0}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|