Fix the missing code generation for Introspect interface, #31

Merged
SlavekB merged 1 commits from fix/generating-defined-introspectInterface into master 1 year ago
SlavekB commented 1 year ago
Owner

if the interface is defined in the XML file.

If the Introspectable interface is not defined in the XML file, we generate it automatically. If the interface in the XML file is defined, we omit the code generation for this interface. This obviously doesn't make sense. This is probably the reason why the Introspectable interface in the XML files is commented in TDE/tdebluez.

if the interface is defined in the XML file. If the `Introspectable` interface is not defined in the XML file, we generate it automatically. If the interface in the XML file is defined, we omit the code generation for this interface. This obviously doesn't make sense. This is probably the reason why the `Introspectable` interface in the XML files is commented in [TDE/tdebluez](../tdebluez).
SlavekB added 1 commit 1 year ago
a6ebaff628
Fix the missing code generation for Introspect interface,
SlavekB added this to the R14.1.0 release milestone 1 year ago
Collaborator

if the interface is defined in the XML file.

If the Introspectable interface is not defined in the XML file, we generate it automatically. If the interface in the XML file is defined, we omit the code generation for this interface. This obviously doesn't make sense. This is probably the reason why the Introspectable interface in the XML files is commented in TDE/tdebluez.

I think we were looking into it when fixing dbus-1-tqt, but couldn't make the decision what to do with that.
IMO it should always generate the code.

> if the interface is defined in the XML file. > > If the `Introspectable` interface is not defined in the XML file, we generate it automatically. If the interface in the XML file is defined, we omit the code generation for this interface. This obviously doesn't make sense. This is probably the reason why the `Introspectable` interface in the XML files is commented in [TDE/tdebluez](../tdebluez). I think we were looking into it when fixing dbus-1-tqt, but couldn't make the decision what to do with that. IMO it should always generate the code.
SlavekB commented 1 year ago
Poster
Owner

if the interface is defined in the XML file.

If the Introspectable interface is not defined in the XML file, we generate it automatically. If the interface in the XML file is defined, we omit the code generation for this interface. This obviously doesn't make sense. This is probably the reason why the Introspectable interface in the XML files is commented in TDE/tdebluez.

I think we were looking into it when fixing dbus-1-tqt, but couldn't make the decision what to do with that.
IMO it should always generate the code.

Yes, I also think that the intention is for Introspectable interface to be generated always – either because it is defined in the XML file or because we automatically add it. The current state simply makes no sense.

> > if the interface is defined in the XML file. > > > > If the `Introspectable` interface is not defined in the XML file, we generate it automatically. If the interface in the XML file is defined, we omit the code generation for this interface. This obviously doesn't make sense. This is probably the reason why the `Introspectable` interface in the XML files is commented in [TDE/tdebluez](../tdebluez). > > I think we were looking into it when fixing dbus-1-tqt, but couldn't make the decision what to do with that. > IMO it should always generate the code. Yes, I also think that the intention is for `Introspectable` interface to be generated always – either because it is defined in the XML file or because we automatically add it. The current state simply makes no sense.
MicheleC approved these changes 1 year ago
MicheleC left a comment
Owner

Looks good.

Looks good.
SlavekB force-pushed fix/generating-defined-introspectInterface from a6ebaff628 to fd60f35194 1 year ago
SlavekB merged commit fd60f35194 into master 1 year ago
SlavekB deleted branch fix/generating-defined-introspectInterface 1 year ago

Reviewers

MicheleC approved these changes 1 year ago
The pull request has been merged as fd60f35194.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Reference: TDE/dbus-1-tqt#31
Loading…
There is no content yet.