Commit Graph

  • eee6998395 core: Fix unused variable warnings on release builds Chris Dickens 2020-09-28 17:10:04 -07:00
  • 70c0a51ba3 darwin: code cleanup in darwin_handle_transfer_completion Nathan Hjelm 2020-09-14 22:09:55 -06:00
  • a1855022a0 libusbi.h: fix warning about redefined macros Nathan Hjelm 2020-09-14 22:06:14 -06:00
  • 1be063f7bf examples/testlibusb: Print speed of devices Hans de Goede 2020-09-07 11:25:54 +02:00
  • dca3e7ea36 examples/testlibusb: Add support for testing libusb_wrap_sys_device() Hans de Goede 2020-09-07 11:12:16 +02:00
  • f6068e83c4 linux: Fix libusb_get_device_speed() not working on wrapped devices Hans de Goede 2020-09-07 10:30:54 +02:00
  • a6bfd45dea Doxygen: Fix warnings about undocumented compounds Chris Dickens 2020-08-28 15:42:41 -07:00
  • ccba488d11 threads_posix: Use monotonic clock for condition variables where possible Chris Dickens 2020-08-27 13:54:21 -07:00
  • c3e292c57a core: Split usbi_clock_gettime() into two separate functions Chris Dickens 2020-08-27 13:46:32 -07:00
  • 63934ff179 core: Add validation to timeval parameters Chris Dickens 2020-08-27 11:05:11 -07:00
  • cca8852dc9 core: Miscellaneous internal logging cleanup Chris Dickens 2020-08-27 10:58:10 -07:00
  • 11cc995282 core: Simplify thread abstractions and add debug checks Chris Dickens 2020-08-26 17:42:59 -07:00
  • da5df37c4d build: Merge events and threads into single platform abstraction Chris Dickens 2020-08-26 15:42:39 -07:00
  • 006ca0fbaa Guard against getting stuck while handling events Chris Dickens 2020-09-12 18:39:28 -07:00
  • 89b810ec9b Android: Add option LIBUSB_OPTION_WEAK_AUTHORITY to support used in apk chris 2020-08-17 10:39:18 +08:00
  • 4b64ecc640 events_posix: Remove unnecessary and incorrect assertion Chris Dickens 2020-08-25 09:57:06 -07:00
  • 83772692ca core: Ensure that reported event bits are initialized Chris Dickens 2020-08-24 11:23:09 -07:00
  • 95a260696e Exchange README.md and README Ludovic Rousseau 2020-08-23 17:25:17 +02:00
  • 0abebc57a5 Fix typos detected by codespell and manual inspection Chris Dickens 2020-08-18 15:49:22 -07:00
  • 5671fc4dbe Documentation: Specify the constraint of the 'completed' parameter Chris Dickens 2020-08-18 15:03:32 -07:00
  • c6a6882982 Documentation: Update the Windows binary snapshot README regarding UsbDk Chris Dickens 2020-08-18 14:39:11 -07:00
  • e83522e71c Documentation: Add details regarding thread-safety Chris Dickens 2020-08-18 14:25:59 -07:00
  • 666647fa31 Documentation: Improve details of libusb_transfer's 'user_data' field Chris Dickens 2020-08-18 13:16:52 -07:00
  • b484f841a5 Documentation: Add a note regarding the execution context of callbacks Chris Dickens 2020-08-18 12:58:57 -07:00
  • 6baa3239ba Documentation: Add details regarding timeouts and partial transfer of data Chris Dickens 2020-08-18 12:25:11 -07:00
  • 351ad49b3a Documentation: Add section regarding transfer length limitations Chris Dickens 2020-08-18 10:14:50 -07:00
  • 178e433b74 Windows: Update INSTALL_WIN.txt Chris Dickens 2020-08-18 10:07:46 -07:00
  • ee089f2e65 Autotools: Use built-in shell tests and exec autoreconf Chris Dickens 2020-08-18 09:28:27 -07:00
  • 37e8b1334e Windows: Fix I/O completion port thread behavior on error Chris Dickens 2020-08-18 09:19:03 -07:00
  • d42410b21c Windows: Improve how root hubs are reported Chris Dickens 2020-08-17 14:15:10 -07:00
  • aa6ec9d92e Windows: Prevent NULL pointer dereference when ancestor is missing Chris Dickens 2020-08-17 08:40:33 -07:00
  • fa3f91e7c4 descriptor: Miscellaneous improvements to the overall source Chris Dickens 2020-08-13 10:31:51 -07:00
  • 7b5e31b8cb core: Optimize check for pending events Chris Dickens 2020-08-12 22:34:03 -07:00
  • b40a26f901 core: Add support for eventfd Chris Dickens 2020-08-12 18:44:31 -07:00
  • d67eb5beaa core: Introduce platform events abstraction Chris Dickens 2020-08-12 16:06:38 -07:00
  • ba6b8bcb7e Windows: Use I/O completion ports for transfers Chris Dickens 2020-08-10 19:19:21 -07:00
  • 9576ad4b8f core: Introduce list iteration helpers Chris Dickens 2020-08-10 19:01:42 -07:00
  • 96898a25cc OpenBSD: support libusb_get_port_number Theo Buehler 2020-08-05 15:53:14 +02:00
  • 94519df868 OpenBSD: allow opening ugen devices multiple times Theo Buehler 2020-08-05 15:23:45 +02:00
  • 7b2578e0bf API docs: Elaborate on "NOT_SUPPORTED" status for set_configuration() Martin Thierer 2020-08-02 15:08:31 +02:00
  • f85dfa654f libusb: fix a memory leak in sunos_new_string_list func Zhiqiang Liu 2020-07-27 17:46:01 +08:00
  • ab68ed4697 stress: test_get_device_list: change printf format for ssize_t Uri Lublin 2020-07-05 16:29:57 +03:00
  • f492968d95 descriptor: Fix alignment for 32-bit words in parse_descriptor Saleem Rashid 2020-05-21 18:12:04 +01:00
  • 4261cbefc7 winusb: setting a non-default config not supported Martin Thierer 2020-07-08 20:47:57 +02:00
  • ad0473413e darwin: Fix invalid GetPipePropertiesV3 argument Ido Yariv 2020-06-16 23:22:31 -04:00
  • bb37730908 os/darwin: use IOUSBDevice as darwin_device_class explicitly Igor Anokhin 2020-04-15 13:47:51 +03:00
  • d55b2fdafb darwin: use GetPipePropertiesV3 on 10.9 and later Nathan Hjelm 2020-06-11 23:31:36 -06:00
  • a5962ba968 darwin: add kIOUSBUnknownPipeErr to error string list Nathan Hjelm 2020-06-11 23:30:48 -06:00
  • 349baae0b5 Document that libusb_set_option may also return NOT_FOUND Jonas Malaco 2020-05-22 06:36:58 -03:00
  • 0003e60617 darwin: Fix stale descriptor information post reset Ido Yariv 2020-05-20 16:23:11 -04:00
  • 26611eaa49 Windows: Translate ERROR_NO_SUCH_DEVICE to LIBUSB_TRANSFER_NO_DEVICE Sebastian von Ohr 2020-04-28 16:28:27 +02:00
  • e2be556bd2 linux_usbfs: Parse config descriptors during device initialization Chris Dickens 2020-04-29 12:39:35 -07:00
  • e9eec3a680 core: Narrow the types passed to certain backend functions Chris Dickens 2020-04-28 22:04:11 -07:00
  • 14a302a2f5 sunos: Fix a number of compiler warnings Chris Dickens 2020-04-28 12:36:29 -07:00
  • 8250881d74 Fix some trivial compiler warnings for the Haiku and BSD backends Chris Dickens 2020-04-28 12:24:59 -07:00
  • 8476804b28 descriptor: Remove usbi_get_config_index_by_value() Chris Dickens 2020-04-28 12:17:50 -07:00
  • d21956dc33 core: Kill backend get_device_descriptor() function Chris Dickens 2020-04-28 12:08:08 -07:00
  • a157b55656 core: Fix some minor inconsistencies in API and coding Chris Dickens 2020-04-27 18:43:42 -07:00
  • fc5132ca74 core: Change pointer type from 'unsigned char' to 'void' Chris Dickens 2020-04-17 14:21:44 -07:00
  • e873677b91 descriptor: Minor improvements to the parse_descriptor() function Chris Dickens 2020-04-17 13:22:34 -07:00
  • 9ececdb0ec core: Kill the 'host_endian' argument for most functions Chris Dickens 2020-04-17 12:57:49 -07:00
  • e1fcd8ac57 core: Remove redundant definitions for descriptor sizes Chris Dickens 2020-04-17 12:21:46 -07:00
  • f07af6458f core: Remove usbi_parse_descriptor() function Chris Dickens 2020-04-17 12:07:38 -07:00
  • 95b60dc3f5 descriptor: Optimize descriptor parsing Chris Dickens 2020-04-17 11:43:54 -07:00
  • 02ebafc85d Add packed definitions for some standard USB descriptor types Chris Dickens 2020-04-17 11:31:55 -07:00
  • da87201f7a hotplug: Fix definition of libusb_hotplug_register_callback() Chris Dickens 2020-04-16 16:47:01 -07:00
  • be57525e8b Add vcpkg installation instructions NancyLi1013 2020-04-17 01:52:28 -07:00
  • 71a3fb3faa Android: fixes unknown warning option from ndk build Aaron Luft 2020-04-17 11:30:12 -04:00
  • 9fd7659505 Add a way to skip the git hooks via an environment variable Chris Dickens 2020-04-16 17:10:39 -07:00
  • e83f39ba6e libusb.h: Ensure that struct libusb_control_transfer is not padded Chris Dickens 2020-04-16 15:57:15 -07:00
  • 61c457a699 libusb.h: Simplify condition governing the inclusion of sys/time.h Chris Dickens 2020-04-16 14:31:18 -07:00
  • e990e48fa8 libusb.h: Make C-preprocessor checks consistent and safe Chris Dickens 2020-04-16 14:26:42 -07:00
  • b832e9f03a libusb.h: Make formatting and style consistent across the whole file Chris Dickens 2020-04-16 13:54:17 -07:00
  • 53f4a7bff7 libusb.h: Move BOS descriptor enumerations Chris Dickens 2020-04-16 12:40:49 -07:00
  • f0cce43f88 core: Fix definition and use of enum libusb_transfer_type Chris Dickens 2020-04-16 12:20:16 -07:00
  • 5c44ca955b netbsd: Recognize device timeouts. nia 2020-04-03 22:15:02 +01:00
  • 60c8395eec Makefiles: Remove target-specific variables Chris Dickens 2020-04-09 12:30:57 -07:00
  • 33b3ba3fc7 configure.ac: Enhance compiler checks for pthreads Chris Dickens 2020-04-09 12:05:16 -07:00
  • 6f0330c784 configure.ac: Simplify detection of Windows compilation Chris Dickens 2020-04-09 11:46:03 -07:00
  • 7c0cea7063 configure.ac: Fix compilation of Haiku's C++ convenience library Chris Dickens 2020-04-09 11:30:19 -07:00
  • 17143e307b automake: Add extra Makefile to handle unknown automake targets Chris Dickens 2020-04-01 20:54:09 -07:00
  • 24deb49042 Windows: Improve the get_interface_details_filter() function Chris Dickens 2020-03-31 19:57:28 -07:00
  • 3f6e8baa2b Windows: Replace the sanitize_path() function with normalize_path() Chris Dickens 2020-03-31 18:23:43 -07:00
  • 1ce667ff7b Move CI-related files into .private directory and add unified build script Chris Dickens 2020-03-31 15:47:31 -07:00
  • 09d0312fbb Xcode: Update project file Chris Dickens 2020-03-30 16:53:43 -07:00
  • 500c64aef2 android: Update makefiles to include recent autobuild changes Chris Dickens 2020-03-30 13:21:04 -07:00
  • 95bbfb6023 build: Enable additional build errors and warnings Chris Dickens 2020-03-30 12:38:47 -07:00
  • 9a1bc8cafb build: Require C11 to build and clean up autoconfig/automake files Chris Dickens 2020-03-30 12:28:11 -07:00
  • 0c6c072733 libusb/Makefile.am: Remove unnecessary assignments Chris Dickens 2020-03-27 19:48:15 -07:00
  • 8b09dd490d core: Kill the OS_* definitions and use in the source code Chris Dickens 2020-03-27 18:23:16 -07:00
  • 30b56baec5 threads_posix: Improve usbi_get_tid() for various platforms Chris Dickens 2020-03-27 00:03:41 -07:00
  • 1d67425879 strerror: Micro-optimize implementation and remove use of strncasecmp() Chris Dickens 2020-03-26 21:38:45 -07:00
  • 1201bccf85 darwin: Explicitly cleanup cached devices during the last libusb_exit() Chris Dickens 2020-03-26 15:50:04 -07:00
  • 8f7f8560a7 appveyor: Increase build coverage to all VS solutions Chris Dickens 2020-03-26 15:40:23 -07:00
  • c66f39f9ba libusb/Makefile.am: Fix out-of-tree builds on Windows Chris Dickens 2020-03-25 00:41:32 -07:00
  • 964fa8c349 msvc: Update include path for getopt in fxload projects Chris Dickens 2020-03-25 00:27:11 -07:00
  • 4a5540a925 autotools: Fix a number of issues Chris Dickens 2020-03-25 00:09:26 -07:00
  • 07d6d3a2a5 msvc: Reorder solution projects and add project filter files Chris Dickens 2020-03-23 15:17:50 -07:00
  • 8b93a7157d Haiku: Fix some issues in the backend Chris Dickens 2020-03-16 20:14:24 -07:00
  • e32f1fd7bf core: Make the 'reset_device' function of the backend optional Chris Dickens 2020-03-16 01:15:29 -07:00