-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Fightwarn libusb 1.0+0.1 rebased part1 #1244
Fightwarn libusb 1.0+0.1 rebased part1 #1244
Commits on Dec 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8bd0050 - Browse repository at this point
Copy the full SHA 8bd0050View commit details -
configure.ac: regroup some NUT_ARG_WITH() closer to their NUT_CHECK_*…
…() so help for detailed options is near
Configuration menu - View commit details
-
Copy full SHA for 6a0210e - Browse repository at this point
Copy the full SHA 6a0210eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68e2952 - Browse repository at this point
Copy the full SHA 68e2952View commit details -
m4/nut_check_libusb.m4 + configure.ac: port newer solution for libusb…
… version selection from libusb-1.0 branch
Configuration menu - View commit details
-
Copy full SHA for 36ddfc9 - Browse repository at this point
Copy the full SHA 36ddfc9View commit details -
configure.ac et al: drop the extra --with-libusb-version and handle i…
…ts goals via --with-usb=VERSION
Configuration menu - View commit details
-
Copy full SHA for caed361 - Browse repository at this point
Copy the full SHA caed361View commit details -
m4/nut_check_libusb.m4: always AC_DEFINE the WITH_LIBUSB_1_0 and WITH…
…_LIBUSB_0_1 macros with a 0 or 1 value
Configuration menu - View commit details
-
Copy full SHA for 28500b7 - Browse repository at this point
Copy the full SHA 28500b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for aca0b7d - Browse repository at this point
Copy the full SHA aca0b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72c5586 - Browse repository at this point
Copy the full SHA 72c5586View commit details -
Configuration menu - View commit details
-
Copy full SHA for d69ce0c - Browse repository at this point
Copy the full SHA d69ce0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b16045 - Browse repository at this point
Copy the full SHA 1b16045View commit details -
Convert C code from "#ifdef WITH_LIBUSB_x_y" to "#if" tests for defin…
…ed value - merging missed a few in libusb-1.0+0.1 branch
Configuration menu - View commit details
-
Copy full SHA for e1f305b - Browse repository at this point
Copy the full SHA e1f305bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3daf23 - Browse repository at this point
Copy the full SHA e3daf23View commit details -
drivers/nut_libusb.h: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for cff486f - Browse repository at this point
Copy the full SHA cff486fView commit details -
drivers/bcmxcp_usb.c: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for 73bed50 - Browse repository at this point
Copy the full SHA 73bed50View commit details -
drivers/usb-common.h: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for 64c026f - Browse repository at this point
Copy the full SHA 64c026fView commit details -
tools/nut-usbinfo.pl: sanity check that exactly one version of WITH_L…
…IBUSB_x_y is set (defined and has value 1)
Configuration menu - View commit details
-
Copy full SHA for 01b827c - Browse repository at this point
Copy the full SHA 01b827cView commit details -
drivers/bcmxcp_usb.c: range-check and cast args for usb_control_msg()…
… => libusb_control_transfer() and usb_interrupt_read() => libusb_interrupt_transfer() for libusb-1.0 support
Configuration menu - View commit details
-
Copy full SHA for 5d04357 - Browse repository at this point
Copy the full SHA 5d04357View commit details -
drivers/nut_libusb.h already includes "usb-common.h" so no need to pu…
…ll LibUSB headers again
Configuration menu - View commit details
-
Copy full SHA for 8376307 - Browse repository at this point
Copy the full SHA 8376307View commit details -
drivers/usb-common.h: consolidate libusb-0.1 vs 1.0 data/func mapping…
…s from *usb.c files
Configuration menu - View commit details
-
Copy full SHA for 75f5c99 - Browse repository at this point
Copy the full SHA 75f5c99View commit details -
drivers/usb-common.h: mark "static inline" functions with HAVE_PRAGMA…
…_GCC_DIAGNOSTIC_IGNORED_TYPE_LIMITS_BESIDEFUNC since not all C files call them
Configuration menu - View commit details
-
Copy full SHA for df22f5d - Browse repository at this point
Copy the full SHA df22f5dView commit details -
drivers/usb-common.h: convert usb_get_string{_simple}() from macro al…
…iases to real mappings with range-checks for libusb-1.0 API
Configuration menu - View commit details
-
Copy full SHA for 2b70b19 - Browse repository at this point
Copy the full SHA 2b70b19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eaf526 - Browse repository at this point
Copy the full SHA 2eaf526View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8da949e - Browse repository at this point
Copy the full SHA 8da949eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71b58da - Browse repository at this point
Copy the full SHA 71b58daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62d27f2 - Browse repository at this point
Copy the full SHA 62d27f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 691d397 - Browse repository at this point
Copy the full SHA 691d397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0913c8d - Browse repository at this point
Copy the full SHA 0913c8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b9625 - Browse repository at this point
Copy the full SHA 64b9625View commit details -
drivers/usbhid-ups.c: current use of SHUT_MODE relies on defined/not-…
…defined, not on value for plain #if macro
Configuration menu - View commit details
-
Copy full SHA for 58076f0 - Browse repository at this point
Copy the full SHA 58076f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a1b1a - Browse repository at this point
Copy the full SHA b4a1b1aView commit details -
USB: Rename typedef usb_ctrl_char to usb_ctrl_charbuf to avoid confsi…
…on (it is a char* sibling, not plain char)
Configuration menu - View commit details
-
Copy full SHA for c2029ec - Browse repository at this point
Copy the full SHA c2029ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for c498c8a - Browse repository at this point
Copy the full SHA c498c8aView commit details -
drivers/usb-common.h + nut_libusb.h: typedef more usb_ctrl_* tokens t…
…o match libusb-0.1 vs 1.0 API
Configuration menu - View commit details
-
Copy full SHA for aef977a - Browse repository at this point
Copy the full SHA aef977aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6bdb6 - Browse repository at this point
Copy the full SHA 4e6bdb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 240ed66 - Browse repository at this point
Copy the full SHA 240ed66View commit details -
drivers/libshut.c: shut_control_msg(): range-check data_size before s…
…tuffing the number into a char
Configuration menu - View commit details
-
Copy full SHA for 7575f9b - Browse repository at this point
Copy the full SHA 7575f9bView commit details -
drivers/libshut.c: shut_control_msg(): data_size is a "short int" (no…
…t size_t) in this branch
Configuration menu - View commit details
-
Copy full SHA for 5b17ec5 - Browse repository at this point
Copy the full SHA 5b17ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdafe61 - Browse repository at this point
Copy the full SHA fdafe61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c17853 - Browse repository at this point
Copy the full SHA 8c17853View commit details -
drivers/usb-common.h: note the arg type for libusb_strerror() in comm…
…ents to our macro wrapper nut_usb_strerror()
Configuration menu - View commit details
-
Copy full SHA for 577a08b - Browse repository at this point
Copy the full SHA 577a08bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecbde45 - Browse repository at this point
Copy the full SHA ecbde45View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba3b133 - Browse repository at this point
Copy the full SHA ba3b133View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47f4e51 - Browse repository at this point
Copy the full SHA 47f4e51View commit details -
drivers/usb-common.h: clarify that libusb timeouts are in millisecond…
…s (with variouts int types per API version)
Configuration menu - View commit details
-
Copy full SHA for 17d72c0 - Browse repository at this point
Copy the full SHA 17d72c0View commit details -
drivers/usb-common.h: define PRI_NUT_USB_CTRL_CHARBUFSIZE, usb_ctrl_m…
…sgvalue and usb_ctrl_strindex
Configuration menu - View commit details
-
Copy full SHA for 5c816d9 - Browse repository at this point
Copy the full SHA 5c816d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 620c1fc - Browse repository at this point
Copy the full SHA 620c1fcView commit details -
drivers/usb-common.h: whitespace-separate definitions of ERROR_ACCESS…
… etc., nut_usb_strerror() and similar macros
Configuration menu - View commit details
-
Copy full SHA for 1bcd3b2 - Browse repository at this point
Copy the full SHA 1bcd3b2View commit details -
m4/nut_check_libusb.m4: make sure (missing) methods from another API …
…are defined in config.h (so "#if HAVE_..." is valid and not guessed as 0)
Configuration menu - View commit details
-
Copy full SHA for 516095c - Browse repository at this point
Copy the full SHA 516095cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8854934 - Browse repository at this point
Copy the full SHA 8854934View commit details -
drivers/nutdrv_atcl_usb.c: drop local libusb-0.1 vs 1.0 definitions n…
…ow provided by usb-common.h
Configuration menu - View commit details
-
Copy full SHA for f968ed3 - Browse repository at this point
Copy the full SHA f968ed3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ec7bd6 - Browse repository at this point
Copy the full SHA 8ec7bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a904ede - Browse repository at this point
Copy the full SHA a904edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45c470b - Browse repository at this point
Copy the full SHA 45c470bView commit details -
drivers/riello_usb.c, richcomm_usb.c, nutdrv_atcl_usb.c: fix remainin…
…g uses of (lib)usb_strerror with nut_usb_strerror()
Configuration menu - View commit details
-
Copy full SHA for 9cbd3e0 - Browse repository at this point
Copy the full SHA 9cbd3e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80d30c4 - Browse repository at this point
Copy the full SHA 80d30c4View commit details -
configure.ac: update "clang-medium" warnings pre-set with -Wno-incomp…
…atible-pointer-types-discards-qualifiers
Configuration menu - View commit details
-
Copy full SHA for e71bc60 - Browse repository at this point
Copy the full SHA e71bc60View commit details
Commits on Dec 25, 2021
-
drivers/usb-common.h: map libusb_detach_kernel_driver_np (1.0) as usb…
…_detach_kernel_driver_np (0.1)
Configuration menu - View commit details
-
Copy full SHA for 377c438 - Browse repository at this point
Copy the full SHA 377c438View commit details -
m4/nut_check_libusb.m4, drivers/libusb1.c + nutdrv_atcl_usb.c + richc…
…omm_usb.c: honor that libusb-1.0 may HAVE_LIBUSB_DETACH_KERNEL_DRIVER_NP
Configuration menu - View commit details
-
Copy full SHA for 777406a - Browse repository at this point
Copy the full SHA 777406aView commit details -
m4/nut_check_libusb.m4, drivers/usb-common.h + nutdrv_atcl_usb.c + ri…
…chcomm_usb.c: only apply usb_detach_kernel_driver_np to libusb-0.1 builds (no alias tricks)
Configuration menu - View commit details
-
Copy full SHA for abb01ed - Browse repository at this point
Copy the full SHA abb01edView commit details