Commit Graph

  • 7719ae5632 io: Change remove_from_flying_list() to not lock flying_transfers_lock itself Sean McBride 2023-12-27 23:02:28 -05:00
  • f9ae36b13f windows: Downgrade get_guid DeviceInterfaceGUID warning to info Tormod Volden 2024-01-19 20:14:41 +01:00
  • 7b53ee1d73 libusb.h: Rename ZERO_SIZED_ARRAY to LIBUSB_FLEXIBLE_ARRAY Sean McBride 2023-12-27 23:47:19 -05:00
  • 7ab9c93d7d core: Add missing mutex acquisition when manipulating active_contexts_list Sean McBride 2023-12-30 00:43:29 -05:00
  • a8fba21b7f Change libusb_init_option to fix libusb_set_option() on big-endian Tormod Volden 2024-01-19 10:05:46 +01:00
  • 56d8f3c558 io: Fix incorrect alignment in allocation in libusb_alloc_transfer Sean McBride 2023-12-28 18:18:13 -05:00
  • 20fb7513bc descriptor: Prevent string descriptor buffer overread Sean McBride 2023-12-28 01:56:06 -05:00
  • a91657aba0 darwin: Avoid error checking regression Sean McBride 2024-01-06 01:46:12 -05:00
  • 9401e6c7d9 darwin: Revert seemingly harmless introduction of temporary variable Sean McBride 2024-01-04 23:33:19 -05:00
  • 5ad1d992f1 core: Fix -Wswitch warnings by including all enum values in switch Sean McBride 2024-01-03 19:40:08 -05:00
  • 31dfa14748 ChangeLog updates Tormod Volden 2024-01-04 17:33:21 +01:00
  • 37dee8f9dd msvc: Add tests/init_context project to MSVC Ingvar Stepanyan 2023-12-05 03:49:48 +00:00
  • 7c3d9ec61c tests/stress_mt: Ignore device descriptor mismatch for Windows HID Tormod Volden 2023-12-13 01:28:19 +01:00
  • 5f9abfbe27 tests/stress_mt: Ignore some unavailable devices on Windows Tormod Volden 2023-12-13 01:28:19 +01:00
  • c2e150773e tests/set_option: Allow no devices in test_no_discovery Ingvar Stepanyan 2023-12-13 14:30:33 +00:00
  • b27247063b libusb.h: Avoid UNREFERENCED_PARAMETER macro on GCC/clang Tormod Volden 2023-12-15 14:50:52 +01:00
  • 87d6686a54 tests/stress_mt: Stop early if any device fails Ingvar Stepanyan 2023-12-05 04:10:11 +00:00
  • ebfbf195d4 tests/set_option: Avoid use-after-free in case of test failure Aurelien Jarno 2023-12-11 22:07:17 +01:00
  • cc3df77609 libusb 1.0.27-rc1 Tormod Volden 2023-12-10 12:11:26 +01:00
  • 52bb0ede72 tests: Use AM_LDFLAGS for -static flag to allow LDFLAGS override Tormod Volden 2023-12-10 14:15:37 +01:00
  • 43db4d97d7 .gitignore: Ignore test binaries and logs Tormod Volden 2023-12-08 23:17:12 +01:00
  • 56cee16efd tests/umockdev: Avoid unknown warning option on older gcc Tormod Volden 2023-12-08 22:52:08 +01:00
  • dac541dc75 Revert "windows: Add option for WinUSB RAW_IO endpoint policy" Martin Ling 2023-09-27 15:23:01 +01:00
  • 066a77fc0b webusb: Wasm+WebUSB backend fixes and improvements Ingvar Stepanyan 2023-11-03 15:09:04 +00:00
  • 1ca2bc14ce darwin: add testing for IOKit version fallbacks Nathan Hjelm 2023-05-02 13:45:53 -06:00
  • 13a6953379 darwin: add abstraction for IOUSBDeviceInterface Nathan Hjelm 2023-04-04 00:15:54 -06:00
  • cf6946dc48 darwin: add abstraction for IOUSBInterfaceInterface Nathan Hjelm 2023-04-03 19:34:39 -06:00
  • 33e92b6c49 darwin: add get_running_version helper Nathan Hjelm 2023-04-03 19:05:43 -06:00
  • 43c6fe0b59 ci: ensure testsuite log is dumped on failure Nathan Hjelm 2023-12-05 14:35:41 -07:00
  • f0d1ff3fb6 ci: dump test suite output on test failure Nathan Hjelm 2023-12-05 11:08:33 -07:00
  • d82b3d27b1 ci: do not hard code test names for CI Nathan Hjelm 2023-12-05 10:26:24 -07:00
  • 30a44345b4 CI: Add Linux and MSYS build with logging disabled Tormod Volden 2023-12-01 11:25:09 +01:00
  • a8f77014a1 CI: Simplify Linux job description Tormod Volden 2023-12-03 10:55:00 +01:00
  • f2ebac604d windows: Include enumeration details in debug output Tormod Volden 2023-11-30 13:54:46 +01:00
  • 5eed745ee0 windows: Avoid warning with logging disabled Tormod Volden 2023-11-30 14:04:15 +01:00
  • 80493dddfc core: Avoid warning with logging disabled Tormod Volden 2023-11-30 13:52:48 +01:00
  • ae3685e038 stress_mt: Return error if device count varies Tormod Volden 2023-11-30 21:40:42 +01:00
  • a8d3cd8031 tests/stress_mt: Test open/transfer/close on available devices Ingvar Stepanyan 2023-11-25 00:56:02 +00:00
  • bd91a0c145 CI: Enable Emscripten build Ingvar Stepanyan 2023-11-28 01:40:33 +00:00
  • fd315026f4 Add WebUSB testing via node-usb Ingvar Stepanyan 2023-11-25 01:13:42 +00:00
  • 9de0fefb31 core: Avoid possible data race in log_v() SomeAlphabetGuy 2023-10-27 23:57:54 +00:00
  • dfed0d1695 CI: Pass the extra warnings flags to CXXFLAGS too Ingvar Stepanyan 2023-11-28 01:27:27 +00:00
  • 143338c342 CI: Tell tests that we don't have any devices Ingvar Stepanyan 2023-11-25 13:11:40 +00:00
  • c0057c3942 CI: Enable Address Sanitizer (ASAN) where supported Ingvar Stepanyan 2023-11-25 12:39:18 +00:00
  • e28fa3069a CI: Run cross-platform tests on all platforms Ingvar Stepanyan 2023-11-25 02:30:00 +00:00
  • 5fa085efb7 testlib: Don't count skipped tests as failures Ingvar Stepanyan 2023-11-25 02:38:10 +00:00
  • 6d2abd0990 tests: Mark callbacks as LIBUSB_CALL Ingvar Stepanyan 2023-11-25 12:20:41 +00:00
  • c4285dd49d windows: Cover all enumeration passes explicitly in switch statements Tormod Volden 2023-10-18 18:17:44 +02:00
  • d291eec441 Revert "core: Remove select case not possibly reached" Tormod Volden 2023-11-05 19:51:36 +01:00
  • acc7b9d4de tests: Fix builds with logging disabled Tormod Volden 2023-11-05 19:18:15 +01:00
  • fdab67b14a windows: Allow device GUIDs missing terminating characters or separators Petr Pazourek 2023-10-10 20:14:40 +02:00
  • d66ffcdd12 darwin: fix potential crash at darwin_exit Nathan Hjelm 2023-05-02 13:49:18 -06:00
  • 0a2f511914 examples/hotplugtest: Match any device by default Ingvar Stepanyan 2023-11-26 14:44:20 +00:00
  • 67ac8a0803 windows: Recognize Samsung composite device driver Simon Chan 2023-10-23 21:14:13 +08:00
  • 24d79282af descriptor: Guard against corrupted descriptor length field Addison Crump 2023-09-17 08:33:52 +02:00
  • 4b732d9422 windows: No longer wait for device to get an active configuration Sylvain Fasel 2023-04-15 17:36:43 +02:00
  • c875f158b5 windows: Define bus numbers without using HCD Sylvain Fasel 2023-10-19 15:22:12 +02:00
  • 1313049d7d tests: Remove unused function in init_context.c Tormod Volden 2023-11-05 13:46:53 +01:00
  • 188a913b07 Add HACKING file with hints on proper commits Tormod Volden 2023-11-05 13:56:38 +01:00
  • 6bf2db6fea netbsd: Add error number to debug output Tormod Volden 2023-07-06 14:45:04 +02:00
  • cfc66948ac netbsd: Print control transfer request debug values in hex Tormod Volden 2022-02-03 22:09:37 +01:00
  • 9891cf2057 netbsd/openbsd: Remove extraneous parentheses around ioctl call Tormod Volden 2022-06-27 11:25:35 +02:00
  • 0a29e4f906 netbsd/openbsd: Drop parentheses around return values Tormod Volden 2022-06-27 10:59:25 +02:00
  • 681a851445 sunos: Return error if OS paths hit their limits Joshua M. Clulow 2023-07-06 11:22:55 -07:00
  • 7218b0dcc6 sunos: Fix error detection in sunos_submit_transfer() Joshua M. Clulow 2021-12-27 16:08:21 -08:00
  • ba83b68c2f core: Fix always-true condition in log callback function setting Tormod Volden 2023-07-06 10:45:39 +02:00
  • 76df571c15 core: Avoid crash due to premature va_end Tormod Volden 2023-05-18 21:42:08 +02:00
  • 8450cc93f6 Revert "windows: Fix off-by-one error in HID backend for devices without report IDs" Tormod Volden 2023-06-21 10:42:46 +02:00
  • cc498ded18 windows: Refactor parsing of MI_XX string taking into account it's 16-based Alex Feinman 2023-05-16 18:43:09 -07:00
  • 07441f5424 Fix github action warnings Ludovic Rousseau 2023-05-09 22:30:31 +02:00
  • a8a70f62c0 Fix build errors of tests with --enable-debug-log Ludovic Rousseau 2023-05-09 22:25:27 +02:00
  • 3bace666b7 Fix build error with --enable-debug-log Ludovic Rousseau 2023-05-09 22:14:05 +02:00
  • 7c169b8f14 Add github action build for --enable-debug-log Ludovic Rousseau 2023-05-09 22:12:29 +02:00
  • c5aec6bd67 Fix #1263 by acquiring the waiters lock while calling transfer callbacks and swapping the order of operations in sync_transfer_cb Niklas Gürtler 2023-04-03 16:00:37 +02:00
  • 84ac0b0f60 Add support for setting the log callback with libusb_set_option/libusb_init_context Nathan Hjelm 2023-04-03 09:55:25 -06:00
  • fcf0c710ef Do not deprecate libusb_set_debug and libusb_init Xiaofan Chen 2023-01-31 17:49:10 +08:00
  • 3593d5469d windows: Add USBD_STATUS_STALL_PID to usbd_status translation Zeng Guang 2023-03-02 09:18:56 +00:00
  • 4dbcefaf61 threads_posix: Use proper getthrid() for thread ID on OpenBSD Brad Smith 2023-02-20 04:50:03 -05:00
  • 223cf90b27 tests/stress_mt: Also run with device enumeration Tormod Volden 2023-02-27 15:55:07 +01:00
  • ab61296036 tests/stress_mt: Add Windows threads support Tormod Volden 2023-02-27 10:46:43 +01:00
  • 71dd672abe tests: Add unit test for libusb_set_option Nathan Hjelm 2023-02-13 11:04:11 -07:00
  • d2da7f9b1d libusb_set_options: Adjust semantics of libusb_set_option for log level Nathan Hjelm 2023-02-13 10:57:27 -07:00
  • 2abb2a186e xusb: Improve Max LUN retrieval stall handling Tormod Volden 2023-01-26 14:02:35 +01:00
  • 0dbe62bde3 xusb: Improve kernel driver probe messages Tormod Volden 2023-01-26 14:00:46 +01:00
  • c2525a034e CI: Add build jobs for MSYS clang32/64 Xiaofan Chen 2022-09-04 20:53:10 +08:00
  • ec4c3c4317 windows: Only link with --add-stdcall-alias if supported by linker Tormod Volden 2022-09-04 18:36:57 +02:00
  • 9fb5e2edb2 windows: Omit -mwin32 GCC option for MSYS/MinGW Tormod Volden 2022-09-04 14:47:00 +02:00
  • 54350bd83f Bump LIBUSB_API_VERSION to 0x0100010A Tormod Volden 2023-01-26 12:42:03 +01:00
  • 9e077421b8 xusb: Add newlines in mass-storage test output Tormod Volden 2023-01-21 13:59:13 +01:00
  • 5b7d57e61a Fix most -Wpedantic warnings Tormod Volden 2023-01-20 18:38:31 +01:00
  • a92e21baa7 linux: Keep the no_device_discovery option per context xloem 2021-07-05 00:00:57 +00:00
  • 9b42fdd787 core: Add libusb_get_max_alt_packet_size() Orhan aib Kavrakoglu 2022-07-21 10:37:05 +03:00
  • 94eb23991b core: Add helper find_alt_endpoint() Orhan aib Kavrakoglu 2022-07-21 10:09:04 +03:00
  • 6c2149662a core: Factor out helper get_endpoint_max_packet_size() Orhan aib Kavrakoglu 2022-07-21 09:32:21 +03:00
  • b1445d9146 netbsd: Map NetBSD's udi_bus/udi_addr to libusb's 1-based API Edgar Fuß 2023-01-17 16:56:42 +01:00
  • 9e4bb9cbe5 windows: Add option for WinUSB RAW_IO endpoint policy Martin Ling 2022-10-11 15:21:21 +01:00
  • aac2e12e5f windows: Add GetPipePolicy to struct winusb_interface Martin Ling 2022-10-11 15:49:22 +01:00
  • 3c33e499a0 Update tests and example to use the new libusb_init_context() function Nathan Hjelm 2021-12-31 10:21:38 -07:00
  • 6622f386f5 core: Add libusb_init_context() setting options at context creation Nathan Hjelm 2021-11-20 14:34:38 -07:00
  • 82d912307f descriptor: Add support for BOS platform descriptor parsing Dominik Boehi 2022-04-19 20:43:18 +02:00