Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't expose provisional EventList in Darwin APIs yet. #25295

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ MTR{{cluster}}Cluster{{command}}Params

{{#chip_server_cluster_attributes}}
{{! This is used as the implementation for both the new-name and old-name bits, so check for both here. }}
{{#unless (and (wasRemoved (asUpperCamelCase parent.name preserveAcronyms=true) command=(asUpperCamelCase name preserveAcronyms=true))
(wasRemoved (compatClusterNameRemapping parent.name) command=(compatCommandNameRemapping parent.name name)))}}
{{#unless (and (wasRemoved (asUpperCamelCase parent.name preserveAcronyms=true) attribute=(asUpperCamelCase name preserveAcronyms=true))
(or (wasRemoved (compatClusterNameRemapping parent.name) attribute=(compatAttributeNameRemapping parent.name name))
(not wasIntroducedBeforeRelease "First major API revamp" (compatClusterNameRemapping parent.name) attribute=(compatAttributeNameRemapping parent.name name))))}}
{{#*inline "attribute"}}Attribute{{asUpperCamelCase name preserveAcronyms=true}}{{/inline}}
- (void)read{{>attribute}}With
{{~#if_is_fabric_scoped_struct type~}}
Expand Down
3 changes: 2 additions & 1 deletion src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ MTRCommandIDTypeCluster{{cluster}}Command{{command}}ID
{{#chip_server_cluster_attributes}}
{{! This is used as the implementation for both the new-name and old-name bits, so check for both here. }}
{{#unless (and (wasRemoved (asUpperCamelCase parent.name preserveAcronyms=true) attribute=(asUpperCamelCase name preserveAcronyms=true))
(wasRemoved (compatClusterNameRemapping parent.name) command=(compatAttributeNameRemapping parent.name name)))}}
(or (wasRemoved (compatClusterNameRemapping parent.name) attribute=(compatAttributeNameRemapping parent.name name))
(not wasIntroducedBeforeRelease "First major API revamp" (compatClusterNameRemapping parent.name) attribute=(compatAttributeNameRemapping parent.name name))))}}
{{#*inline "cluster"}}{{asUpperCamelCase parent.name preserveAcronyms=true}}{{/inline}}
{{#*inline "attribute"}}Attribute{{asUpperCamelCase name preserveAcronyms=true}}{{/inline}}
- (NSDictionary<NSString *, id> *)read{{>attribute}}WithParams:(MTRReadParams * _Nullable)params {
Expand Down
290 changes: 147 additions & 143 deletions src/darwin/Framework/CHIP/templates/availability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6529,152 +6529,9 @@
- release: "First after major API revamp"
versions: "future"
introduced:
global attributes:
- EventList
attributes:
Scenes:
- EventList
OnOff:
- EventList
OnOffSwitchConfiguration:
- EventList
LevelControl:
- EventList
BinaryInputBasic:
- EventList
PulseWidthModulation:
- EventList
Descriptor:
- EventList
Binding:
- EventList
Identify:
- EventList
AccessControl:
- EventList
Actions:
- EventList
BasicInformation:
- EventList
OTASoftwareUpdateProvider:
- EventList
OTASoftwareUpdateRequestor:
- EventList
LocalizationConfiguration:
- EventList
TimeFormatLocalization:
- EventList
UnitLocalization:
- EventList
PowerSourceConfiguration:
- EventList
PowerSource:
- EventList
GeneralCommissioning:
- EventList
NetworkCommissioning:
- EventList
DiagnosticLogs:
- EventList
GeneralDiagnostics:
- EventList
SoftwareDiagnostics:
- EventList
ThreadNetworkDiagnostics:
- EventList
WiFiNetworkDiagnostics:
- EventList
EthernetNetworkDiagnostics:
- EventList
TimeSynchronization:
- EventList
- DSTOffset
BridgedDeviceBasicInformation:
- EventList
Switch:
- EventList
AdministratorCommissioning:
- EventList
OperationalCredentials:
- EventList
GroupKeyManagement:
- EventList
FixedLabel:
- EventList
UserLabel:
- EventList
ProxyConfiguration:
- EventList
ProxyDiscovery:
- EventList
ProxyValid:
- EventList
BooleanState:
- EventList
ModeSelect:
- EventList
DoorLock:
- EventList
WindowCovering:
- EventList
BarrierControl:
- EventList
PumpConfigurationAndControl:
- EventList
FanControl:
- EventList
ThermostatUserInterfaceConfiguration:
- EventList
ColorControl:
- EventList
BallastConfiguration:
- EventList
IlluminanceMeasurement:
- EventList
TemperatureMeasurement:
- EventList
PressureMeasurement:
- EventList
Thermostat:
- EventList
FlowMeasurement:
- EventList
RelativeHumidityMeasurement:
- EventList
OccupancySensing:
- EventList
WakeOnLAN:
- EventList
Channel:
- EventList
Groups:
- EventList
TargetNavigator:
- EventList
MediaPlayback:
- EventList
MediaInput:
- EventList
LowPower:
- EventList
KeypadInput:
- EventList
ContentLauncher:
- EventList
AudioOutput:
- EventList
ApplicationLauncher:
- EventList
ApplicationBasic:
- EventList
AccountLogin:
- EventList
ElectricalMeasurement:
- EventList
UnitTesting:
- EventList
FaultInjection:
- EventList
command fields:
DiagnosticLogs:
RetrieveLogsRequest:
Expand Down Expand Up @@ -6940,6 +6797,153 @@
PumpFeature:
- Local
removed:
global attributes:
# EventList is provisional for now.
- EventList
attributes:
# EventList is provisional for now.
Scenes:
- EventList
OnOff:
- EventList
OnOffSwitchConfiguration:
- EventList
LevelControl:
- EventList
BinaryInputBasic:
- EventList
PulseWidthModulation:
- EventList
Descriptor:
- EventList
Binding:
- EventList
Identify:
- EventList
AccessControl:
- EventList
Actions:
- EventList
BasicInformation:
- EventList
OTASoftwareUpdateProvider:
- EventList
OTASoftwareUpdateRequestor:
- EventList
LocalizationConfiguration:
- EventList
TimeFormatLocalization:
- EventList
UnitLocalization:
- EventList
PowerSourceConfiguration:
- EventList
PowerSource:
- EventList
GeneralCommissioning:
- EventList
NetworkCommissioning:
- EventList
DiagnosticLogs:
- EventList
GeneralDiagnostics:
- EventList
SoftwareDiagnostics:
- EventList
ThreadNetworkDiagnostics:
- EventList
WiFiNetworkDiagnostics:
- EventList
EthernetNetworkDiagnostics:
- EventList
TimeSynchronization:
- EventList
BridgedDeviceBasicInformation:
- EventList
Switch:
- EventList
AdministratorCommissioning:
- EventList
OperationalCredentials:
- EventList
GroupKeyManagement:
- EventList
FixedLabel:
- EventList
UserLabel:
- EventList
ProxyConfiguration:
- EventList
ProxyDiscovery:
- EventList
ProxyValid:
- EventList
BooleanState:
- EventList
ModeSelect:
- EventList
DoorLock:
- EventList
WindowCovering:
- EventList
BarrierControl:
- EventList
PumpConfigurationAndControl:
- EventList
FanControl:
- EventList
ThermostatUserInterfaceConfiguration:
- EventList
ColorControl:
- EventList
BallastConfiguration:
- EventList
IlluminanceMeasurement:
- EventList
TemperatureMeasurement:
- EventList
PressureMeasurement:
- EventList
Thermostat:
- EventList
FlowMeasurement:
- EventList
RelativeHumidityMeasurement:
- EventList
OccupancySensing:
- EventList
WakeOnLAN:
- EventList
Channel:
- EventList
Groups:
- EventList
TargetNavigator:
- EventList
MediaPlayback:
- EventList
MediaInput:
- EventList
LowPower:
- EventList
KeypadInput:
- EventList
ContentLauncher:
- EventList
AudioOutput:
- EventList
ApplicationLauncher:
- EventList
ApplicationBasic:
- EventList
AccountLogin:
- EventList
ElectricalMeasurement:
- EventList
UnitTesting:
- EventList
FaultInjection:
- EventList
enum values:
DoorLock:
DlLockDataType:
Expand Down
Loading