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

EOS event naming #1035

Merged
merged 3 commits into from
Oct 2, 2024
Merged

EOS event naming #1035

merged 3 commits into from
Oct 2, 2024

Conversation

axxel
Copy link
Contributor

@axxel axxel commented Oct 2, 2024

Mostly code and log readability improvements + plus a fix for an autofocus regression, I introduced earlier :-/.

The EOS event handling code was partly using the term "change_entry" or
"entry" when referring to an event. I found this unnecessarily confusing.

This is mostly a symbol rename patch:
 * PTPCanon_changes_entry -> PTPCanonEOSEvent
 * PTP_CANON_EOS_CHANGES_TYPE_* -> PTP_EOSEvent_*
 * entry -> event
 * backlogentries -> eos_events
 * type -> ec (event code)
 * proptype -> dpc (device property code)
 * a few more ptp_unpack internal offset constants renamed
new function ptp_get_eos_event_name()
camlibs/ptp2/ptp-pack.c Dismissed Show dismissed Hide dismissed
@msmeissn msmeissn merged commit 95c6514 into gphoto:master Oct 2, 2024
5 checks passed
@axxel axxel deleted the eos-event-naming branch October 2, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants