-
Notifications
You must be signed in to change notification settings - Fork 417
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
Logitech bulk controller plugin initial commit #3609
Conversation
|
@djcampello: I think we need to add some extra stuff to clang format for protobuf:
|
|
Can you please add to |
This comment has been minimized.
This comment has been minimized.
83437b3
to
4441eb9
Compare
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-plugin-logitech-bulkcontroller.c
Outdated
Show resolved
Hide resolved
|
Since master just had an ABI break for the plugin, I rebased on master and adjusted your code for that ABI break. Beyond a bunch of nits like function names and where to have prototypes and stuff - I think you have some error handling you need to adjust, and also some changed to store device data to subclassed devices instead of the plugin. |
@djcampello If you can please review what I did to clang-format to make protobuf stuff work, would appreciate it. |
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-common.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-device.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-device.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-device.c
Outdated
Show resolved
Hide resolved
|
I tried and left some comments in the build script for our future selves on what it would take (technically) to enable Windows. |
This looks good to me. I am not completely familiar with per-language configuration but it looks good! |
c1080dc
to
2b6b85d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have two very small open inquiries about this, but otherwise it looks good to me. Feel free to squash/force push my recent changes if you agree with them.
e40a38d
to
64d0aa9
Compare
@vcdmp can you check those two nits and comment? I think we're ready to merge once you've answered those and tested the branch again. |
0f8f041
to
21a8e7a
Compare
|
LGTM, can you please squash into one commit? |
squash your two I mean - leave the protobuf clang one separate |
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-device.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-device.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-device.c
Outdated
Show resolved
Hide resolved
plugins/logitech-bulkcontroller/fu-logitech-bulkcontroller-device.c
Outdated
Show resolved
Hide resolved
d75e4e6
to
17aa58e
Compare
Type of pull request: