pyobjc-framework-CoreLocation 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_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Lib/CoreLocation/_metadata.py +32 -42
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Lib/pyobjc_framework_CoreLocation.egg-info/PKG-INFO +5 -3
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Lib/pyobjc_framework_CoreLocation.egg-info/SOURCES.txt +2 -13
- pyobjc_framework_corelocation-12.0/Lib/pyobjc_framework_CoreLocation.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_corelocation-12.0/Lib/pyobjc_framework_CoreLocation.egg-info/requires.txt +2 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Modules/_CoreLocation.m +18 -21
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Modules/_CoreLocation_protocols.m +2 -1
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Modules/pyobjc-api.h +6 -3
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Modules/pyobjc-compat.h +32 -48
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PKG-INFO +5 -3
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/metadata/CoreLocation.fwinfo +114 -1
- pyobjc_framework_corelocation-11.1/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_corelocation-12.0/metadata/raw/arm64-26.0.fwinfo +99 -690
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_corelocation-12.0/metadata/raw/x86_64-26.0.fwinfo +99 -690
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/pyobjc_setup.py +2 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/setup.py +1 -1
- pyobjc_framework_corelocation-11.1/Lib/pyobjc_framework_CoreLocation.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_corelocation-11.1/Lib/pyobjc_framework_CoreLocation.egg-info/requires.txt +0 -2
- pyobjc_framework_corelocation-11.1/metadata/raw/arm64-12.3.fwinfo +0 -4061
- pyobjc_framework_corelocation-11.1/metadata/raw/arm64-13.0.fwinfo +0 -4191
- pyobjc_framework_corelocation-11.1/metadata/raw/arm64-13.3.fwinfo +0 -4192
- pyobjc_framework_corelocation-11.1/metadata/raw/arm64-14.5.fwinfo +0 -5022
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-10.10.fwinfo +0 -2628
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-10.15.fwinfo +0 -3482
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-10.16.fwinfo +0 -3777
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-12.3.fwinfo +0 -4061
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-13.0.fwinfo +0 -4191
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-13.3.fwinfo +0 -4192
- pyobjc_framework_corelocation-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -5022
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Examples/WhereIsMyMac/English.lproj/MainMenu.xib +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Examples/WhereIsMyMac/HTMLFormatString.html +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Examples/WhereIsMyMac/ReadMe.txt +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Examples/WhereIsMyMac/WhereIsMyMacAppDelegate.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Examples/WhereIsMyMac/main.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Examples/WhereIsMyMac/setup.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/LICENSE.txt +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Lib/CoreLocation/__init__.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Lib/pyobjc_framework_CoreLocation.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Lib/pyobjc_framework_CoreLocation.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Lib/pyobjc_framework_CoreLocation.egg-info/top_level.txt +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/MANIFEST.in +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clbackgroundactivitysession.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clbeaconregion.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clcircularregion.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clerror.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clerrordomain.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clgeocoder.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clheading.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_cllocation.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_cllocationmanager.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_cllocationmanagerdelegate.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_cllocationupdater.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clmonitor.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clmonitorconfiguration.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clmonitoringevent.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_clregion.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/PyObjCTest/test_corelocation.py +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/README.txt +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/metadata/metadata.ini +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/pyproject.toml +0 -0
- {pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-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: Wed Oct 15 14:55:26 2025
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -40,7 +40,7 @@ misc.update(
|
|
|
40
40
|
}
|
|
41
41
|
)
|
|
42
42
|
constants = """$CLLocationDistanceMax@d$CLLocationPushServiceErrorDomain$CLTimeIntervalMax@d$kCLDistanceFilterNone@d$kCLErrorDomain$kCLErrorUserInfoAlternateRegionKey$kCLHeadingFilterNone@d$kCLLocationAccuracyBest@d$kCLLocationAccuracyBestForNavigation@d$kCLLocationAccuracyHundredMeters@d$kCLLocationAccuracyKilometer@d$kCLLocationAccuracyNearestTenMeters@d$kCLLocationAccuracyReduced@d$kCLLocationAccuracyThreeKilometers@d$kCLLocationCoordinate2DInvalid@{CLLocationCoordinate2D=dd}$"""
|
|
43
|
-
enums = """$CLAccuracyAuthorizationFullAccuracy@0$CLAccuracyAuthorizationReducedAccuracy@1$CLActivityTypeAirborne@5$CLActivityTypeAutomotiveNavigation@2$CLActivityTypeFitness@3$CLActivityTypeOther@1$CLActivityTypeOtherNavigation@4$CLDeviceOrientationFaceDown@6$CLDeviceOrientationFaceUp@5$CLDeviceOrientationLandscapeLeft@3$CLDeviceOrientationLandscapeRight@4$CLDeviceOrientationPortrait@1$CLDeviceOrientationPortraitUpsideDown@2$CLDeviceOrientationUnknown@0$CLLiveUpdateConfigurationAirborne@4$CLLiveUpdateConfigurationAutomotiveNavigation@1$CLLiveUpdateConfigurationDefault@0$CLLiveUpdateConfigurationFitness@3$CLLiveUpdateConfigurationOtherNavigation@2$CLLocationPushServiceErrorMissingEntitlement@3$CLLocationPushServiceErrorMissingPushExtension@1$CLLocationPushServiceErrorMissingPushServerEnvironment@2$CLLocationPushServiceErrorUnknown@0$CLLocationPushServiceErrorUnsupportedPlatform@4$CLMonitoringStateSatisfied@1$CLMonitoringStateUnknown@0$CLMonitoringStateUnmonitored@3$CLMonitoringStateUnsatisfied@2$CLProximityFar@3$CLProximityImmediate@1$CLProximityNear@2$CLProximityUnknown@0$CLRegionStateInside@1$CLRegionStateOutside@2$CLRegionStateUnknown@0$CLServiceSessionAuthorizationRequirementNone@0$CLServiceSessionAuthorizationRequirementWhenInUse@1$CL_TARGET_SUPPORTS_CONDITIONS@0$kCLAuthorizationStatusAuthorized@3$kCLAuthorizationStatusAuthorizedAlways@3$kCLAuthorizationStatusAuthorizedWhenInUse@4$kCLAuthorizationStatusDenied@2$kCLAuthorizationStatusNotDetermined@0$kCLAuthorizationStatusRestricted@1$kCLErrorDeferredAccuracyTooLow@13$kCLErrorDeferredCanceled@15$kCLErrorDeferredDistanceFiltered@14$kCLErrorDeferredFailed@11$kCLErrorDeferredNotUpdatingLocation@12$kCLErrorDenied@1$kCLErrorGeocodeCanceled@10$kCLErrorGeocodeFoundNoResult@8$kCLErrorGeocodeFoundPartialResult@9$kCLErrorHeadingFailure@3$kCLErrorHistoricalLocationError@19$kCLErrorLocationUnknown@0$kCLErrorNetwork@2$kCLErrorPromptDeclined@18$kCLErrorRangingFailure@17$kCLErrorRangingUnavailable@16$kCLErrorRegionMonitoringDenied@4$kCLErrorRegionMonitoringFailure@5$kCLErrorRegionMonitoringResponseDelayed@7$kCLErrorRegionMonitoringSetupDelayed@6$"""
|
|
43
|
+
enums = """$CLAccuracyAuthorizationFullAccuracy@0$CLAccuracyAuthorizationReducedAccuracy@1$CLActivityTypeAirborne@5$CLActivityTypeAutomotiveNavigation@2$CLActivityTypeFitness@3$CLActivityTypeOther@1$CLActivityTypeOtherNavigation@4$CLDeviceOrientationFaceDown@6$CLDeviceOrientationFaceUp@5$CLDeviceOrientationLandscapeLeft@3$CLDeviceOrientationLandscapeRight@4$CLDeviceOrientationPortrait@1$CLDeviceOrientationPortraitUpsideDown@2$CLDeviceOrientationUnknown@0$CLLiveUpdateConfigurationAirborne@4$CLLiveUpdateConfigurationAutomotiveNavigation@1$CLLiveUpdateConfigurationDefault@0$CLLiveUpdateConfigurationFitness@3$CLLiveUpdateConfigurationOtherNavigation@2$CLLocationPushServiceErrorMissingEntitlement@3$CLLocationPushServiceErrorMissingPushExtension@1$CLLocationPushServiceErrorMissingPushServerEnvironment@2$CLLocationPushServiceErrorUnknown@0$CLLocationPushServiceErrorUnsupportedPlatform@4$CLMonitoringStateSatisfied@1$CLMonitoringStateUnknown@0$CLMonitoringStateUnmonitored@3$CLMonitoringStateUnsatisfied@2$CLProximityFar@3$CLProximityImmediate@1$CLProximityNear@2$CLProximityUnknown@0$CLRegionStateInside@1$CLRegionStateOutside@2$CLRegionStateUnknown@0$CLServiceSessionAuthorizationRequirementAlways@2$CLServiceSessionAuthorizationRequirementNone@0$CLServiceSessionAuthorizationRequirementWhenInUse@1$CL_TARGET_SUPPORTS_CONDITIONS@0$kCLAuthorizationStatusAuthorized@3$kCLAuthorizationStatusAuthorizedAlways@3$kCLAuthorizationStatusAuthorizedWhenInUse@4$kCLAuthorizationStatusDenied@2$kCLAuthorizationStatusNotDetermined@0$kCLAuthorizationStatusRestricted@1$kCLErrorDeferredAccuracyTooLow@13$kCLErrorDeferredCanceled@15$kCLErrorDeferredDistanceFiltered@14$kCLErrorDeferredFailed@11$kCLErrorDeferredNotUpdatingLocation@12$kCLErrorDenied@1$kCLErrorGeocodeCanceled@10$kCLErrorGeocodeFoundNoResult@8$kCLErrorGeocodeFoundPartialResult@9$kCLErrorHeadingFailure@3$kCLErrorHistoricalLocationError@19$kCLErrorLocationUnknown@0$kCLErrorNetwork@2$kCLErrorPromptDeclined@18$kCLErrorRangingFailure@17$kCLErrorRangingUnavailable@16$kCLErrorRegionMonitoringDenied@4$kCLErrorRegionMonitoringFailure@5$kCLErrorRegionMonitoringResponseDelayed@7$kCLErrorRegionMonitoringSetupDelayed@6$"""
|
|
44
44
|
misc.update(
|
|
45
45
|
{
|
|
46
46
|
"CLAccuracyAuthorization": NewType("CLAccuracyAuthorization", int),
|
|
@@ -121,20 +121,20 @@ try:
|
|
|
121
121
|
r(
|
|
122
122
|
b"CLCircularRegion",
|
|
123
123
|
b"center",
|
|
124
|
-
{"retval": {"type":
|
|
124
|
+
{"retval": {"type": "{CLLocationCoordinate2D=dd}"}},
|
|
125
125
|
)
|
|
126
126
|
r(
|
|
127
127
|
b"CLCircularRegion",
|
|
128
128
|
b"containsCoordinate:",
|
|
129
129
|
{
|
|
130
|
-
"retval": {"type":
|
|
131
|
-
"arguments": {2: {"type":
|
|
130
|
+
"retval": {"type": "Z"},
|
|
131
|
+
"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}},
|
|
132
132
|
},
|
|
133
133
|
)
|
|
134
134
|
r(
|
|
135
135
|
b"CLCircularRegion",
|
|
136
136
|
b"initWithCenter:radius:identifier:",
|
|
137
|
-
{"arguments": {2: {"type":
|
|
137
|
+
{"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
|
|
138
138
|
)
|
|
139
139
|
r(
|
|
140
140
|
b"CLGeocoder",
|
|
@@ -208,6 +208,24 @@ try:
|
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
)
|
|
211
|
+
r(
|
|
212
|
+
b"CLGeocoder",
|
|
213
|
+
b"geocodeAddressString:inRegionCenteredAt:inRegionRadius:preferredLocale:completionHandler:",
|
|
214
|
+
{
|
|
215
|
+
"arguments": {
|
|
216
|
+
6: {
|
|
217
|
+
"callable": {
|
|
218
|
+
"retval": {"type": b"v"},
|
|
219
|
+
"arguments": {
|
|
220
|
+
0: {"type": b"^v"},
|
|
221
|
+
1: {"type": b"@"},
|
|
222
|
+
2: {"type": b"@"},
|
|
223
|
+
},
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
)
|
|
211
229
|
r(
|
|
212
230
|
b"CLGeocoder",
|
|
213
231
|
b"geocodePostalAddress:completionHandler:",
|
|
@@ -285,7 +303,7 @@ try:
|
|
|
285
303
|
r(
|
|
286
304
|
b"CLLocation",
|
|
287
305
|
b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:",
|
|
288
|
-
{"arguments": {2: {"type":
|
|
306
|
+
{"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
|
|
289
307
|
)
|
|
290
308
|
r(
|
|
291
309
|
b"CLLocation",
|
|
@@ -415,17 +433,17 @@ try:
|
|
|
415
433
|
r(
|
|
416
434
|
b"CLLocationSourceInformation",
|
|
417
435
|
b"initWithSoftwareSimulationState:andExternalAccessoryState:",
|
|
418
|
-
{"arguments": {
|
|
436
|
+
{"arguments": {3: {"type": "Z"}}},
|
|
419
437
|
)
|
|
420
438
|
r(
|
|
421
439
|
b"CLLocationSourceInformation",
|
|
422
440
|
b"isProducedByAccessory",
|
|
423
|
-
{"retval": {"type":
|
|
441
|
+
{"retval": {"type": "Z"}},
|
|
424
442
|
)
|
|
425
443
|
r(
|
|
426
444
|
b"CLLocationSourceInformation",
|
|
427
445
|
b"isSimulatedBySoftware",
|
|
428
|
-
{"retval": {"type":
|
|
446
|
+
{"retval": {"type": "Z"}},
|
|
429
447
|
)
|
|
430
448
|
r(
|
|
431
449
|
b"CLLocationUpdater",
|
|
@@ -517,19 +535,19 @@ try:
|
|
|
517
535
|
r(b"CLMonitoringEvent", b"insufficientlyInUse", {"retval": {"type": b"Z"}})
|
|
518
536
|
r(b"CLMonitoringEvent", b"persistenceUnavailable", {"retval": {"type": b"Z"}})
|
|
519
537
|
r(b"CLMonitoringEvent", b"serviceSessionRequired", {"retval": {"type": b"Z"}})
|
|
520
|
-
r(b"CLRegion", b"center", {"retval": {"type":
|
|
538
|
+
r(b"CLRegion", b"center", {"retval": {"type": "{CLLocationCoordinate2D=dd}"}})
|
|
521
539
|
r(
|
|
522
540
|
b"CLRegion",
|
|
523
541
|
b"containsCoordinate:",
|
|
524
542
|
{
|
|
525
|
-
"retval": {"type":
|
|
526
|
-
"arguments": {2: {"type":
|
|
543
|
+
"retval": {"type": "Z"},
|
|
544
|
+
"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}},
|
|
527
545
|
},
|
|
528
546
|
)
|
|
529
547
|
r(
|
|
530
548
|
b"CLRegion",
|
|
531
549
|
b"initCircularRegionWithCenter:radius:identifier:",
|
|
532
|
-
{"arguments": {2: {"type":
|
|
550
|
+
{"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
|
|
533
551
|
)
|
|
534
552
|
r(b"CLRegion", b"notifyOnEntry", {"retval": {"type": b"Z"}})
|
|
535
553
|
r(b"CLRegion", b"notifyOnExit", {"retval": {"type": b"Z"}})
|
|
@@ -798,13 +816,6 @@ objc.registerNewKeywordsFromSelector(
|
|
|
798
816
|
objc.registerNewKeywordsFromSelector(
|
|
799
817
|
"CLBeaconIdentityCondition", b"initWithUUID:major:minor:"
|
|
800
818
|
)
|
|
801
|
-
objc.registerNewKeywordsFromSelector("CLBeaconIdentityConstraint", b"initWithUUID:")
|
|
802
|
-
objc.registerNewKeywordsFromSelector(
|
|
803
|
-
"CLBeaconIdentityConstraint", b"initWithUUID:major:"
|
|
804
|
-
)
|
|
805
|
-
objc.registerNewKeywordsFromSelector(
|
|
806
|
-
"CLBeaconIdentityConstraint", b"initWithUUID:major:minor:"
|
|
807
|
-
)
|
|
808
819
|
objc.registerNewKeywordsFromSelector(
|
|
809
820
|
"CLBeaconRegion", b"initWithBeaconIdentityConstraint:identifier:"
|
|
810
821
|
)
|
|
@@ -830,27 +841,6 @@ objc.registerNewKeywordsFromSelector(
|
|
|
830
841
|
objc.registerNewKeywordsFromSelector(
|
|
831
842
|
"CLCircularRegion", b"initWithCenter:radius:identifier:"
|
|
832
843
|
)
|
|
833
|
-
objc.registerNewKeywordsFromSelector(
|
|
834
|
-
"CLLocation",
|
|
835
|
-
b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:",
|
|
836
|
-
)
|
|
837
|
-
objc.registerNewKeywordsFromSelector(
|
|
838
|
-
"CLLocation",
|
|
839
|
-
b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:sourceInfo:",
|
|
840
|
-
)
|
|
841
|
-
objc.registerNewKeywordsFromSelector(
|
|
842
|
-
"CLLocation",
|
|
843
|
-
b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:",
|
|
844
|
-
)
|
|
845
|
-
objc.registerNewKeywordsFromSelector(
|
|
846
|
-
"CLLocation",
|
|
847
|
-
b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:",
|
|
848
|
-
)
|
|
849
|
-
objc.registerNewKeywordsFromSelector("CLLocation", b"initWithLatitude:longitude:")
|
|
850
|
-
objc.registerNewKeywordsFromSelector(
|
|
851
|
-
"CLLocationSourceInformation",
|
|
852
|
-
b"initWithSoftwareSimulationState:andExternalAccessoryState:",
|
|
853
|
-
)
|
|
854
844
|
objc.registerNewKeywordsFromSelector("CLPlacemark", b"initWithPlacemark:")
|
|
855
845
|
objc.registerNewKeywordsFromSelector(
|
|
856
846
|
"CLRegion", b"initCircularRegionWithCenter:radius:identifier:"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-CoreLocation
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework CoreLocation on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,15 +23,17 @@ 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
34
|
License-File: LICENSE.txt
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
35
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
35
37
|
Dynamic: author
|
|
36
38
|
Dynamic: author-email
|
|
37
39
|
Dynamic: classifier
|
|
@@ -42,16 +42,5 @@ PyObjCTest/test_clregion.py
|
|
|
42
42
|
PyObjCTest/test_corelocation.py
|
|
43
43
|
metadata/CoreLocation.fwinfo
|
|
44
44
|
metadata/metadata.ini
|
|
45
|
-
metadata/raw/arm64-
|
|
46
|
-
metadata/raw/
|
|
47
|
-
metadata/raw/arm64-13.3.fwinfo
|
|
48
|
-
metadata/raw/arm64-14.5.fwinfo
|
|
49
|
-
metadata/raw/arm64-15.0.fwinfo
|
|
50
|
-
metadata/raw/x86_64-10.10.fwinfo
|
|
51
|
-
metadata/raw/x86_64-10.15.fwinfo
|
|
52
|
-
metadata/raw/x86_64-10.16.fwinfo
|
|
53
|
-
metadata/raw/x86_64-12.3.fwinfo
|
|
54
|
-
metadata/raw/x86_64-13.0.fwinfo
|
|
55
|
-
metadata/raw/x86_64-13.3.fwinfo
|
|
56
|
-
metadata/raw/x86_64-14.5.fwinfo
|
|
57
|
-
metadata/raw/x86_64-15.0.fwinfo
|
|
45
|
+
metadata/raw/arm64-26.0.fwinfo
|
|
46
|
+
metadata/raw/x86_64-26.0.fwinfo
|
{pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Modules/_CoreLocation.m
RENAMED
|
@@ -13,54 +13,51 @@ static PyMethodDef mod_methods[] = {
|
|
|
13
13
|
{0, 0, 0, 0} /* sentinel */
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
static int
|
|
16
|
+
static int
|
|
17
|
+
mod_exec_module(PyObject* m)
|
|
17
18
|
{
|
|
18
19
|
return 0;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
static struct PyModuleDef_Slot mod_slots[] = {
|
|
22
|
-
{
|
|
23
|
-
.slot = Py_mod_exec,
|
|
24
|
-
.value = (void*)mod_exec_module
|
|
25
|
-
},
|
|
23
|
+
{.slot = Py_mod_exec, .value = (void*)mod_exec_module},
|
|
26
24
|
#if PY_VERSION_HEX >= 0x030c0000
|
|
27
25
|
{
|
|
28
26
|
/* This extension does not use the CPython API other than initializing
|
|
29
27
|
* the module, hence is safe with subinterpreters and per-interpreter
|
|
30
28
|
* GILs
|
|
31
29
|
*/
|
|
32
|
-
.slot
|
|
30
|
+
.slot = Py_mod_multiple_interpreters,
|
|
33
31
|
.value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
|
|
34
32
|
},
|
|
35
33
|
#endif
|
|
36
34
|
#if PY_VERSION_HEX >= 0x030d0000
|
|
37
35
|
{
|
|
38
36
|
/* The code in this extension should be safe to use without the GIL */
|
|
39
|
-
.slot
|
|
37
|
+
.slot = Py_mod_gil,
|
|
40
38
|
.value = Py_MOD_GIL_NOT_USED,
|
|
41
39
|
},
|
|
42
40
|
#endif
|
|
43
|
-
{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
};
|
|
41
|
+
{/* Sentinel */
|
|
42
|
+
.slot = 0,
|
|
43
|
+
.value = 0}};
|
|
48
44
|
|
|
49
45
|
static struct PyModuleDef mod_module = {
|
|
50
|
-
.m_base
|
|
51
|
-
.m_name
|
|
52
|
-
.m_doc
|
|
53
|
-
.m_size
|
|
54
|
-
.m_methods
|
|
55
|
-
.m_slots
|
|
46
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
47
|
+
.m_name = "_CoreLocation",
|
|
48
|
+
.m_doc = NULL,
|
|
49
|
+
.m_size = 0,
|
|
50
|
+
.m_methods = mod_methods,
|
|
51
|
+
.m_slots = mod_slots,
|
|
56
52
|
.m_traverse = NULL,
|
|
57
|
-
.m_clear
|
|
58
|
-
.m_free
|
|
53
|
+
.m_clear = NULL,
|
|
54
|
+
.m_free = NULL,
|
|
59
55
|
};
|
|
60
56
|
|
|
61
57
|
PyObject* PyInit__CoreLocation(void);
|
|
62
58
|
|
|
63
|
-
PyObject* __attribute__((__visibility__("default")))
|
|
59
|
+
PyObject* __attribute__((__visibility__("default")))
|
|
60
|
+
PyInit__CoreLocation(void)
|
|
64
61
|
{
|
|
65
62
|
return PyModuleDef_Init(&mod_module);
|
|
66
63
|
}
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* Last update: Wed Jan 16 13:11:14 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
|
p = PyObjC_IdToPython(@protocol(CLLocationManagerDelegate));
|
{pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-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
|
{pyobjc_framework_corelocation-11.1 → pyobjc_framework_corelocation-12.0}/Modules/pyobjc-compat.h
RENAMED
|
@@ -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-CoreLocation
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework CoreLocation on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,15 +23,17 @@ 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
34
|
License-File: LICENSE.txt
|
|
33
|
-
Requires-Dist: pyobjc-core>=
|
|
34
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
35
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
36
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
35
37
|
Dynamic: author
|
|
36
38
|
Dynamic: author-email
|
|
37
39
|
Dynamic: classifier
|