Skip to content

Commit 6af228c

Browse files
committed
Add the Carbon framework (empty for now)
1 parent 48d3de3 commit 6af228c

File tree

14 files changed

+103
-20
lines changed

14 files changed

+103
-20
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

Cargo.lock

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/header-translator/configs/builtin.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ tvos = "9.0"
1212
watchos = "2.0"
1313
visionos = "1.0"
1414
gnustep = true
15-
16-
# `objc_method_family`
17-
# TODO: Move this
18-
class.ABNewPersonViewController.methods.newPersonViewDelegate.skipped = true

crates/header-translator/configs/skipped.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ System = "Deprecated wrapper over libSystem.dylib"
9797
AudioVideoBridging = "Deprecated, use AVKit/AVFoundation instead (maybe?)"
9898
AddressBook = "Deprecated, use Contacts instead"
9999
AddressBookUI = "Deprecated, use Contacts instead"
100+
# -> `objc_method_family` means we should class.ABNewPersonViewController.methods.newPersonViewDelegate.skipped = true
100101
AssetsLibrary = "Deprecated, use PhotoKit instead"
101102
DirectoryService = "Deprecated, use OpenDirectory instead"
102103
Twitter = "Deprecated, use Social instead" # requires !swift
@@ -117,12 +118,5 @@ JavaRuntimeSupport = "Probably not really interesting."
117118
CalendarStore = "Very deprecated" # requires !swift
118119
CoreMIDIServer = "Very deprecated"
119120

120-
# Split:
121-
# - HIToolbox: Use AppKit
122-
# - OpenScripting: Use ScriptingBridge
123-
# - SecurityHI: Use SecurityInterface
124-
# - SpeechRecognition: Use NSSpeechRecognizer
125-
Carbon = "TODO"
126-
127121
Network = "TODO, see [#646](https://github.com/madsmtm/objc2/issues/646)"
128122
DeviceDiscoveryUI = "Needs Network first"

crates/objc2/src/topics/about_generated/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2121
- `AppClip` / `objc2-app-clip`.
2222
- `ApplicationServices` / `objc2-application-services` (some submodules left out).
2323
- `BrowserEngineKit` / `objc2-browser-engine-kit`.
24+
- `Carbon` / `objc2-carbon` (empty for now).
2425
- `CarPlay` / `objc2-car-play`.
2526
- `CFNetwork` / `objc2-cf-network`.
2627
- `Cinematic` / `objc2-cinematic`.

crates/objc2/src/topics/about_generated/list_data.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
| `CFNetwork` | [`objc2-cf-network`](https://crates.io/crates/objc2-cf-network) | [![docs.rs](https://docs.rs/objc2-cf-network/badge.svg)](https://docs.rs/objc2-cf-network/) |
2727
| `CallKit` | [`objc2-call-kit`](https://crates.io/crates/objc2-call-kit) | [![docs.rs](https://docs.rs/objc2-call-kit/badge.svg)](https://docs.rs/objc2-call-kit/) |
2828
| `CarPlay` | [`objc2-car-play`](https://crates.io/crates/objc2-car-play) | [![docs.rs](https://docs.rs/objc2-car-play/badge.svg)](https://docs.rs/objc2-car-play/) |
29+
| `Carbon` | [`objc2-carbon`](https://crates.io/crates/objc2-carbon) | [![docs.rs](https://docs.rs/objc2-carbon/badge.svg)](https://docs.rs/objc2-carbon/) |
2930
| `Cinematic` | [`objc2-cinematic`](https://crates.io/crates/objc2-cinematic) | [![docs.rs](https://docs.rs/objc2-cinematic/badge.svg)](https://docs.rs/objc2-cinematic/) |
3031
| `ClassKit` | [`objc2-class-kit`](https://crates.io/crates/objc2-class-kit) | [![docs.rs](https://docs.rs/objc2-class-kit/badge.svg)](https://docs.rs/objc2-class-kit/) |
3132
| `ClockKit` | [`objc2-clock-kit`](https://crates.io/crates/objc2-clock-kit) | [![docs.rs](https://docs.rs/objc2-clock-kit/badge.svg)](https://docs.rs/objc2-clock-kit/) |

crates/objc2/src/topics/about_generated/list_unsupported.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
| `AutomatedDeviceEnrollment` | Swift-only. |
1717
| `CalendarStore` | Very deprecated. |
1818
| `CarKey` | Swift-only. |
19-
| `Carbon` | TODO. |
2019
| `Charts` | Swift-only. |
2120
| `Cocoa` | Basically empty nowadays, use AppKit. |
2221
| `Combine` | Swift-only. |

crates/test-frameworks/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ test-frameworks = [
3838
"objc2-cf-network",
3939
"objc2-call-kit",
4040
"objc2-car-play",
41+
"objc2-carbon",
4142
"objc2-cinematic",
4243
"objc2-class-kit",
4344
"objc2-clock-kit",
@@ -371,6 +372,7 @@ objc2-io-usb-host = ["dep:objc2-io-usb-host"]
371372
objc2-application-services = ["dep:objc2-application-services"]
372373
objc2-quartz = ["dep:objc2-quartz"]
373374
objc2-phase = ["dep:objc2-phase"]
375+
objc2-carbon = ["dep:objc2-carbon"]
374376

375377
[dependencies]
376378
block2 = { path = "../block2" }
@@ -487,6 +489,7 @@ objc2-ml-compute = { path = "../../framework-crates/objc2-ml-compute", optional
487489
objc2-app-kit = { path = "../../framework-crates/objc2-app-kit", optional = true }
488490
objc2-application-services = { path = "../../framework-crates/objc2-application-services", optional = true }
489491
objc2-automator = { path = "../../framework-crates/objc2-automator", optional = true }
492+
objc2-carbon = { path = "../../framework-crates/objc2-carbon", optional = true }
490493
objc2-collaboration = { path = "../../framework-crates/objc2-collaboration", optional = true }
491494
objc2-core-media-io = { path = "../../framework-crates/objc2-core-media-io", optional = true }
492495
objc2-core-wlan = { path = "../../framework-crates/objc2-core-wlan", optional = true }

framework-crates/objc2-carbon/Cargo.toml

Lines changed: 31 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

framework-crates/objc2-carbon/README.md

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)