)]}' { "log": [ { "commit": "ba698478afc3d3a72644eef9fc4cd24ce8383a4c", "tree": "ab2e3675573ef13ba7796d52c611b9ba86692ada", "parents": [ "4e2de881cf0f8b38b1e19c078d19b4628f38c732" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Apr 15 09:28:29 2022 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Apr 15 21:41:08 2022 -0600" }, "message": "config: allow configure to continue without pkg-config installed\n\nlibusb only uses pkg-config macros in configure to check for umockdev. Since\nthis is only required for testing it makes sense to protect the usage of these\nmacros to only be used when pkg-config is installed. This will be the case for\nmaintainers and testers.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "4e2de881cf0f8b38b1e19c078d19b4628f38c732", "tree": "ded024692a2b4152491f2f4361db2da4387410e5", "parents": [ "a8f8d4ba3dc897ed602d3b03d9843095e9a871b0" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Apr 12 08:45:01 2022 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Thu Apr 14 10:31:39 2022 -0600" }, "message": "darwin: add missing locking around cached device list cleanup\n\nThe cleanup function darwin_cleanup_devices was intented to be called only once\nat program exit. When the initialization/finalization code was changed to\ndestroy the cached device list on last exit this function should have been\nmodified to require a lock on darwin_cached_devices_lock. This commit updates\ncleanup to protect the cached device list with the cached devices mutex and\nupdates darwin_init to print out an error and return if a reference leak is\ndetected.\n\nAlso using this opportunity to correct the naming of the mutex. Changed\ndarwin_cached_devices_lock to darwin_cached_devices_mutex. Also cleaning the\ninitialization code up a bit. Removing the context pointer from the hotplug\nthread as it is not used for anything but logging.\n\nFixes #1124\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "a8f8d4ba3dc897ed602d3b03d9843095e9a871b0", "tree": "9d78f75a050e456499bc469144615829b71e846a", "parents": [ "4239bc3a50014b8e6a5a2a59df1fff3b7469543b" ], "author": { "name": "Craig Hutchinson", "email": "54269136+CraigHutchinson@users.noreply.github.com", "time": "Wed Apr 13 12:03:52 2022 +0100" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Wed Apr 13 08:47:50 2022 -0600" }, "message": "Fix `exit` order to match reverse of `init`\n\nThis commit resolve the ordering of \u0027exit\u0027 dependencies as was started for \u0027init\u0027 in https://github.com/libusb/libusb/commit/0846456f3a9fda8ff5469d9d0b9700837ff16f04\n\n(Relates to https://github.com/xloem/libusb/pull/5)\n\nCloses #1126\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "4239bc3a50014b8e6a5a2a59df1fff3b7469543b", "tree": "0b2116bfcd64ef17ab5b1b947bec9ed1efbd8678", "parents": [ "f1fafe8ac76f3c8bf7fdd8dcf7f5cbe414bf3cdf" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Apr 10 10:57:16 2022 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Apr 10 10:57:16 2022 +0200" }, "message": "libusb 1.0.26\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "f1fafe8ac76f3c8bf7fdd8dcf7f5cbe414bf3cdf", "tree": "f5fb2ecb093b057a7ae1e021424963d86bf3db6c", "parents": [ "ff05357a839dd1f65caf736ded2476eaa135fe06" ], "author": { "name": "Martin Ling", "email": "martin-git@earth.li", "time": "Sat Apr 09 10:22:01 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Apr 09 12:34:05 2022 +0200" }, "message": "darwin: Document OS-specific behaviour of libusb_cancel_transfer\n\nThe behaviour of libusb_cancel_transfer is different on Darwin:\n\n- Cancellation cancels all transfers on the same endpoint.\n\n- A ClearFeature(ENDPOINT_HALT) request is sent after cancellation.\n\nThis documents both differences and their implications.\n\nFixes #1110\nCloses #1121\n" }, { "commit": "ff05357a839dd1f65caf736ded2476eaa135fe06", "tree": "3c1d87c3b8b659a7a7fe5fa83bf9c45dd5a49a07", "parents": [ "32f3c6db957da09f78de18439c61ab1b8fe6358f" ], "author": { "name": "Benjamin Berg", "email": "bberg@redhat.com", "time": "Thu Apr 07 12:43:08 2022 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Apr 09 10:00:13 2022 +0200" }, "message": "darwin: Fix crash in log handler when stopping event thread\n\nThe darwin event thread (in contrast to other OS implementations) tries\nto log to the context that created it. However, this context is only\nguaranteed to be valid until the thread has started. It may be that\nanother context is the last one to be destroyed, causing the event\nthread to log using an already destroyed context.\n\nFix this by only passing on ctx where it is acceptable.\n\nFixes #1108\n" }, { "commit": "32f3c6db957da09f78de18439c61ab1b8fe6358f", "tree": "32d006bea7c65bf21e649d9e94cdf8412ac76636", "parents": [ "bfbef179b12110d8d8fc6ff9e4af5f96a37a78ab" ], "author": { "name": "Shawn Hoffman", "email": "godisgovernment@gmail.com", "time": "Sat Feb 26 18:17:22 2022 -0800" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Apr 06 21:42:07 2022 +0200" }, "message": "windows: Silence zero-sized array warning in libusb.h for msvc\n\nSilence \"nonstandard extension used : zero-sized array in struct/union\"\n(C4200) warning caused by use of ZERO_SIZED_ARRAY in structures defined\nin libusb.h when compiling with msvc.\n\nA libusb user including the header from a c++ file is more likely to be\nannoyed by the warning because it is activated at level 2 as opposed to\nbeing included from a C file, where it\u0027s not activated until level 4.\n(on msvc, level 4 is the last step before -Wall).\n\nThis causes problems when you also enable -Werror for your own source,\nsince the libusb header just gets merged into the compilation unit.\n\n9\u003ehotplugtest.c\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(786,11): error C2220: the following warning is treated as an error\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(786,11): error C2220: \tuint8_t dev_capability_data[ZERO_SIZED_ARRAY];\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(786,11): error C2220: \t ^\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(786,11): warning C4200: nonstandard extension used: zero-sized array in struct/union\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(786,11): warning C4200: \tuint8_t dev_capability_data[ZERO_SIZED_ARRAY];\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(786,11): warning C4200: \t ^\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(811,47): warning C4200: nonstandard extension used: zero-sized array in struct/union\n5\u003eC:\\src\\libusb\\libusb\\libusb.h(811,47): warning C4200: \tstruct libusb_bos_dev_capability_descriptor *dev_capability[ZERO_SIZED_ARRAY];\n5\u003eC:\\src\\libusb\\libusb\\libusb.h(811,47): warning C4200: \t ^\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(1284,38): warning C4200: nonstandard extension used: zero-sized array in struct/union\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(1284,38): warning C4200: \tstruct libusb_iso_packet_descriptor iso_packet_desc[ZERO_SIZED_ARRAY];\n9\u003eC:\\src\\libusb\\libusb\\libusb.h(1284,38): warning C4200: \t ^\n9\u003eDone building project \"hotplugtest.vcxproj\" -- FAILED.\n\nCloses #1112\n" }, { "commit": "bfbef179b12110d8d8fc6ff9e4af5f96a37a78ab", "tree": "b81e28bdbc8f28c46553dcbdf40e4205785e5abb", "parents": [ "bfa8b8535a929e939d549d9c3778592abfafe870" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Apr 03 15:35:00 2022 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Apr 04 13:38:45 2022 +0200" }, "message": "windows: Update isochronous OUT packet actual length\n\nOn Windows, unlike other platforms, the isochronous packet actual_length\nvalue is not set on completion of OUT transfers. However, our API\nrequires the user to check this value for isochronous transfers instead\nof the transfer actual_length, if the transferred length is of interest.\n\nThe usbd Length field is not used for isochronous OUT transfers:\nhttps://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/usb/ns-usb-_usbd_iso_packet_descriptor\n\nTo make it consistent with other platforms, just return the requested\nlength.\n\nFixes #1105\nCloses #1107\n\nTested-by: Xiaofan Chen \u003cxiaofanc@gmail.com\u003e\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "bfa8b8535a929e939d549d9c3778592abfafe870", "tree": "5138527653e1255dff032c4777327fd763d177fd", "parents": [ "385eaafba1b79eebcb65087c86744c492262573f" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Mar 28 13:23:37 2022 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Apr 04 13:32:23 2022 +0200" }, "message": "windows: Fix type mismatch in winusbx_copy_transfer_data\n\nWe cannot use the CHECK_WINUSBX_AVAILABLE macro since it\nmay return with the wrong error type/value.\n\nFixes #1100\nCloses #1101\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "385eaafba1b79eebcb65087c86744c492262573f", "tree": "248f1086b25c523b87481e54fafc19bf01d8e1ba", "parents": [ "78de7dc4b9010cb3c598cb9cf9e4fe647e030c38" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Mar 28 15:37:28 2022 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Apr 04 13:30:49 2022 +0200" }, "message": "CI: Add MinGW build on MSYS2 (Windows)\n\nCloses #1102\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "78de7dc4b9010cb3c598cb9cf9e4fe647e030c38", "tree": "c5ab221a824f36120caf3690c60133527924f270", "parents": [ "19826aaf493961e0287ef2f2006a4941f84f9537" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Tue Mar 22 23:13:35 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Mar 27 19:37:43 2022 +0200" }, "message": "libusb 1.0.26-rc1\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "19826aaf493961e0287ef2f2006a4941f84f9537", "tree": "e639989e115e25b83d7a9b1f9f3f235a80479f4a", "parents": [ "780044d4e4248da81046063bac9cdd4721de8af5" ], "author": { "name": "osy", "email": "50960678+osy@users.noreply.github.com", "time": "Sat May 15 23:29:54 2021 -0700" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 25 08:41:24 2022 +0100" }, "message": "darwin: Reset by re-enumerate on non-macOS platforms\n\nOn non-macOS platforms, ResetDevice() does nothing so we use the \"old\" way of\ncalling re-enumerate. If the device is captured, we have to re-enumerate, then\nre-capture, re-authorize, and finally restore the state.\n\nCloses #1088\n" }, { "commit": "780044d4e4248da81046063bac9cdd4721de8af5", "tree": "948dd24909f3370a8a22ad3f1ea089284d046ecd", "parents": [ "8102b7576c52b10f5806f785884e5cf3a4fb4a40" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 23 09:34:00 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Mar 24 00:30:35 2022 +0100" }, "message": "darwin: Fix Makefile build on macOS 10.11 and older\n\nTARGET_OS_OSX is not defined when building with the clang 8 provided by\nXcode 8.2.1 on 10.11.5 (unless the Xcode project is used).\n\nIf it is not defined we\u0027ll just assume we have a \"OSX\" target.\n\nCloses #1097\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "8102b7576c52b10f5806f785884e5cf3a4fb4a40", "tree": "689b1100a8cfa05fc1510323edf659ab9bbe5fa2", "parents": [ "deb0d561b8af80c246b2933ebc1abd5feee45cc4" ], "author": { "name": "Seneral", "email": "12800840+Seneral@users.noreply.github.com", "time": "Thu Jul 02 02:23:36 2020 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Mar 21 23:08:50 2022 +0100" }, "message": "windows: Correct isochronous frame calculation for full-speed devices\n\nThe WinUSB isochronous transfer implementation always assumed HighSpeed\nmicroframes.\n\nhttps://github.com/libusb/libusb/issues/747#issuecomment-649491619\n\nReferences #747\nReferences #749\n" }, { "commit": "deb0d561b8af80c246b2933ebc1abd5feee45cc4", "tree": "b8c594b3a94468aee4c8a441a0e62eaaed3229e2", "parents": [ "6b29aeb9ca22ed5ea9768020895698bd452c2a85" ], "author": { "name": "Keith Ahluwalia", "email": "kahluwalia999@gmail.com", "time": "Mon Mar 21 10:51:55 2022 +0000" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Mar 21 23:00:08 2022 +0100" }, "message": "windows: Fix WinUSB isochronous transfer regression\n\nPut back missing CHECK_WINUSBX_AVAILABLE macro.\n\nThe subapi is generally set in the backend functions themselves, using\nthe macro CHECK_WINUSBX_AVAILABLE. However, this macro was (likely\ninadvertently) removed from winusbx_copy_transfer_data() in commit\n9c28ad2 causing the subapi in this function to always be SUB_API_NOTSET.\nThis results in the error:\n\n libusb: debug [winusbx_copy_transfer_data] unsupported API call for \u0027copy_transfer_data\u0027 (unrecognized device driver)\n\nhttps://github.com/libusb/libusb/issues/747#issuecomment-649619615\nReferences #749\nCloses #1095\n" }, { "commit": "6b29aeb9ca22ed5ea9768020895698bd452c2a85", "tree": "ac04911dd136015c226fb414ec6179d7af8c4edc", "parents": [ "66d3849974dbc93d8bad418dbf594b37c95416f9" ], "author": { "name": "Benjamin Berg", "email": "bberg@redhat.com", "time": "Tue Feb 22 11:45:38 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Mar 20 10:55:17 2022 +0100" }, "message": "core: Install first context as implicit default (and warn about its use)\n\nThere was a behaviour change in libusb 1.0.25 which triggers issues when\nthe API is misused. This caused for instance gutenprint to crash, see\nhttps://bugzilla.redhat.com/show_bug.cgi?id\u003d2055504\n\nThis seems to affect several applications \"out in the wild\".\n\nFor now, work around this by installing an implicit default. But, change\nthe code to log an error in case this \"feature\" is being used.\n\nThis will allow some grace time for developers to fix their\napplications, before we at a later point revert to the stricter\nbehaviour.\n\nFixes #1089\n" }, { "commit": "66d3849974dbc93d8bad418dbf594b37c95416f9", "tree": "f8bbe81b605a55c93c6d0e1c75b0ce5f94c99b5b", "parents": [ "f939c8aabaaa42739e294df12cbac9e6a87a708a" ], "author": { "name": "Mathias Hjärtström", "email": "mathias.hjartstrom@telia.com", "time": "Thu Mar 17 12:43:18 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Mar 20 09:50:38 2022 +0100" }, "message": "windows: Fix product string retrieval on HID composite devices\n\nA HID composite device with three interfaces (e.g. keyboard and touch\nscreen built into one), with all three interfaces referencing their own\nnames in the interface descriptor, was reported to have an iProduct\nstring equal to the name of the last interface instead of the actual\nproduct name (e.g. \"TOUCH\" repeated twice instead of \"PRODUCT\" and\n\"TOUCH\").\n\nThis behavior differ from what for instance Microsoft USB Device Viewer\nwill report for the same device. This fix will make them report the same\nthing.\n\nUse HidD_GetIndexedString() instead of HidD_GetProductString(), as the\nlatter would otherwise return the name of the interface instead of the\niProduct string whenever the iInterface member of the\nUSB_INTERFACE_DESCRIPTOR structure for the interface is nonzero (see\nRemarks section in the Microsoft documentation of the HID API routines).\n\nCloses #1091\n" }, { "commit": "f939c8aabaaa42739e294df12cbac9e6a87a708a", "tree": "4e65a330a9399ceb4fb18fc7b6fcbbbec6065380", "parents": [ "f5275f9a87db898af56060958df182ef7e5c1240" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Feb 02 16:12:25 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Mar 20 09:49:41 2022 +0100" }, "message": "darwin: Always use GetPipePropertiesV3 when available\n\nThe V3 API goes back to macOS 10.8.2 (2012), and we have already been\nusing it when targeting 10.9 or higher for a while. However in a few\nplaces we were still using the older API.\n\nAffects get_endpoints() and submit_iso_transfer().\n\nIn the latter also:\n- Check success of pipe properties retrieval.\n- Remove a duplicate call to GetPipeProperties().\n\nReferences #919\nCloses #1056\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "f5275f9a87db898af56060958df182ef7e5c1240", "tree": "3b1a1123644e41196a95dc59529041fb90c3c2e1", "parents": [ "0d9731ef67da17f3ab606a4b41d4acf64b3d4f69" ], "author": { "name": "Ryan Hileman", "email": "lunixbochs@gmail.com", "time": "Fri Mar 18 08:54:52 2022 -0700" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 19:26:57 2022 +0100" }, "message": "Add interface bounds checks in darwin and windows endpoint functions\n\nA broken device with invalid interface numbering could cause\nan out-of-bounds array access.\n\nFixes #1039\nCloses #1093\n" }, { "commit": "0d9731ef67da17f3ab606a4b41d4acf64b3d4f69", "tree": "05d47ce6fd829729623a3adf06bddb3e11cd65e0", "parents": [ "3b9ce7ba7c30aaf344f65862b27ecceedf2a44ff" ], "author": { "name": "Yegor Yefremov", "email": "yegorslists@googlemail.com", "time": "Sat Feb 12 15:07:36 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 19:16:27 2022 +0100" }, "message": "android: Fix typo and syntax in comments\n\nFix a typo and add missing commas.\n\nAlso, delete a blank line at the end of the file and\nuse /* */ for comments consistently.\n\nCloses #1071\n\nSigned-off-by: Yegor Yefremov \u003cyegorslists@googlemail.com\u003e\n" }, { "commit": "3b9ce7ba7c30aaf344f65862b27ecceedf2a44ff", "tree": "4a00eac71498f648d10e26c31ffa43318b522a68", "parents": [ "f9a5cf5b68f62f4bb6b2984d84b503ee9f85e425" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Feb 09 11:41:26 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 19:09:50 2022 +0100" }, "message": "appveyor: Retain MinGW and cygwin build artifacts\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "f9a5cf5b68f62f4bb6b2984d84b503ee9f85e425", "tree": "651314a0c72511673848199c4864c00ec67e6db4", "parents": [ "0d880bf47a7381613bdca42b05741433fecedbaf" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Feb 03 23:57:48 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 19:09:26 2022 +0100" }, "message": "windows: Add \"or later\" to debug print of Windows version 8\n\nWindows 10 and 11 is detected as Windows 8 unless there is an\napplication manifest. We simply cannot tell by appropriate means.\n\nNote that we currently only use the detected version to check for the\nminimal version (Vista), so it doesn\u0027t matter much.\n\nCloses #1021\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "0d880bf47a7381613bdca42b05741433fecedbaf", "tree": "fa9ff5a23c548ccd8bfea9b06b5a364eab4787a5", "parents": [ "d6253e94a36d6eeac163268bc4386d1d092e5160" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Feb 09 12:35:17 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 19:09:06 2022 +0100" }, "message": "windows: Discern Windows 11 (if manifest allows)\n\nPre-releases of Windows 11 had build numbers from 20000.\n\nThanks to Pete Batard for extensive explanation.\n\nFixes #1021\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "d6253e94a36d6eeac163268bc4386d1d092e5160", "tree": "95f52f4320067f189379b0156c0828145fd057ed", "parents": [ "c6deb2f345edc90ea975bf2e66e3eb589a878e03" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Feb 03 23:52:55 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 19:08:38 2022 +0100" }, "message": "windows: Add Windows 11 to list of defined releases\n\nAnd guess \"12\" for whatever comes after. Although with macOS already at\n12 this is not given :)\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "c6deb2f345edc90ea975bf2e66e3eb589a878e03", "tree": "24b94518a8ad4e646fd13adb816cc14c8aa4f847", "parents": [ "0666aff354ec0cf2f06b2d4ecc91831ef3b549be" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Feb 02 18:15:59 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 18:52:54 2022 +0100" }, "message": "darwin: Avoid cast warnings in time calculation\n\nAlso use the USEC_PER_SEC macro for readability.\n\nReferences #1035\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "0666aff354ec0cf2f06b2d4ecc91831ef3b549be", "tree": "c4459484115cebf0ad98f7b57f536290ff64a322", "parents": [ "50b5838183611144d1133b5a58def2f058db0e6e" ], "author": { "name": "Benjamin Berg", "email": "bberg@redhat.com", "time": "Fri Feb 18 17:00:45 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 18:49:59 2022 +0100" }, "message": "Add container build for umockdev\n" }, { "commit": "50b5838183611144d1133b5a58def2f058db0e6e", "tree": "be8ca06a9f62f5be701764f9ecb78444ab7ea51a", "parents": [ "74059154ee1541e18f42e6815ece97be0df2c661" ], "author": { "name": "Benjamin Berg", "email": "bberg@redhat.com", "time": "Fri Feb 18 16:26:29 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Mar 18 18:49:21 2022 +0100" }, "message": "tests: Add some umockdev based tests\n\nAdd some basic umockdev tests. The setup in this case is all in one\nprocess, but umockdev in principle could also work between processes.\n\nThis is just a start, more tests would make sense.\n" }, { "commit": "74059154ee1541e18f42e6815ece97be0df2c661", "tree": "d8497fa9c4a191ea07ebae55cc4255fb60793109", "parents": [ "02dc54936899150bb442e9195133f72702a79b67" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Feb 21 23:45:15 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 16 17:53:00 2022 +0100" }, "message": "darwin: Avoid possibly undefined version macro in configure.ac\n\nReferences #1056\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "02dc54936899150bb442e9195133f72702a79b67", "tree": "5f678ec830d47c20a42286087bd8163c95ec34ee", "parents": [ "f9162d36bf7253b3743d2973e385d32166ea0795" ], "author": { "name": "Andrew Goodney", "email": "andrew.goodney@gmail.com", "time": "Wed Feb 16 13:28:14 2022 -0800" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 16 17:53:00 2022 +0100" }, "message": "darwin: Use usbi_get_monotonic_time() wrapper\n\nOn macOS \u003c 10.12 we cannot use clock_gettime().\n\nCloses #1070\n" }, { "commit": "f9162d36bf7253b3743d2973e385d32166ea0795", "tree": "3af30036d3f57a30e4c57fda46cca9f6541bc9ac", "parents": [ "670f75f046f6f431255ab8836a4e63f877c64d2c" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Feb 10 18:43:23 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 16 17:53:00 2022 +0100" }, "message": "windows: Link gcc helpers statically on MinGW\n\nFixes #1049\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "670f75f046f6f431255ab8836a4e63f877c64d2c", "tree": "9f696e3892fa1b18b5590c0addd6e94b4eb77fd7", "parents": [ "561dbdacfbcd8f26c81900d1a1a16d2f44093e0e" ], "author": { "name": "Yegor Yefremov", "email": "yegorslists@googlemail.com", "time": "Sun Feb 06 07:12:14 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 16 17:53:00 2022 +0100" }, "message": "linux_usbfs: Fix maybe-uninitialized error with -O3\n\nInitialize active_config to an invalid value to avoid the following\ncompilation error:\n\nos/linux_usbfs.c: In function ‘op_get_configuration’:\nos/linux_usbfs.c:1452:12: error: ‘active_config’ may be used uninitialized in this function [-Werror\u003dmaybe-uninitialized]\n 1452 | *config \u003d (uint8_t)active_config;\n\nCloses #1062\nCloses #1063\n\nSigned-off-by: Yegor Yefremov \u003cyegorslists@googlemail.com\u003e\n" }, { "commit": "561dbdacfbcd8f26c81900d1a1a16d2f44093e0e", "tree": "ee701ceb7da70ad8dc0d2ed32f9b6cd66ed347a2", "parents": [ "0846456f3a9fda8ff5469d9d0b9700837ff16f04" ], "author": { "name": "Fabrice Fontaine", "email": "fontaine.fabrice@gmail.com", "time": "Mon Feb 07 11:55:54 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 16 17:53:00 2022 +0100" }, "message": "configure.ac: link with -latomic if needed\n\nlibusb unconditionally uses atomic_fetch_add since version 1.0.25 and\ncommit 1a08aa8 and commit eed8a37 but some architectures (e.g. sparc)\nneeds to link with -latomic to be able to use it. So check if -latomic\nis needed and update libusb-1.0.pc accordingly to avoid the following\nbuild failure with openocd:\n\n/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.so: undefined reference to `__atomic_fetch_add_4\u0027\ncollect2: error: ld returned 1 exit status\n\nFull build log:\nhttp://autobuild.buildroot.org/results/4a27a769bb3cdf78643c3049b87d792178d6512c\n\nCloses #1064\n\nSigned-off-by: Fabrice Fontaine \u003cfontaine.fabrice@gmail.com\u003e\n" }, { "commit": "0846456f3a9fda8ff5469d9d0b9700837ff16f04", "tree": "1e03f2219253afb74df422b5889861cf95309c40", "parents": [ "7cc06ea5c7c3b36801421a6be17b51b92c1bc05a" ], "author": { "name": "Benjamin Berg", "email": "bberg@redhat.com", "time": "Tue Mar 01 15:08:38 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 16 17:53:00 2022 +0100" }, "message": "core: Suppress hotplug events during initial enumeration\n\nThe initial enumeration should not result in hotplug events to be fired.\nThis is just a convenience though, API users still need to be prepared\nto be notified a second time for a device that was plugged in between\nlibusb_init and libusb_hotplug_register_callback.\n\nThis regressed with commit 6929b82 (\"Fix segmentation fault in\nlibusb_init() if usbi_backend.init() fails\"). This commit avoids the\nmentioned segmentation fault by avoiding to clean up the hotplug code if\nit was not yet initialised.\n\nFixes #1082\nCloses #1090\nReferences #989\n" }, { "commit": "7cc06ea5c7c3b36801421a6be17b51b92c1bc05a", "tree": "df2c60fd63f49cebf0256513e7288c1ad296422c", "parents": [ "c3639bc23eaaed7fa94d377af42f00ddc5083de2" ], "author": { "name": "Benjamin Berg", "email": "bberg@redhat.com", "time": "Tue Feb 15 11:13:41 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Mar 16 17:52:51 2022 +0100" }, "message": "io: Track device in usbi_transfer\n\ntransfer-\u003edev_handle currently has the behaviour that it will be unset\nif the device is closed. The sync API uses this fact to catch an error\ncase.\n\nIn other cases, transfer-\u003edev_handle will keep its value, which means\nthat if the transfer lives longer than the device handle, the pointer\nbecomes invalid.\n\nThe transfer does however keep a reference to the device, which owns the\npointer to the context. As such, we can track this reference internal to\nthe transfer, and it is set while the transfer is in-flight.\n\nWith this, switch the logging infrastructure to use itransfer-\u003edev-\u003ectx\nwhile checking that itransfer-\u003edev is non-NULL.\n\nNote that this was a regression caused by 6cae9c6 (\"core: update\nusbi_dbg to take the context as an argument\"), specifically when\nresolving the context while freeing a transfer after closing a device.\n\nNote that the transfer will now keep a reference to the device until it\nis free\u0027ed. This allows it to use the correct context for logging even\nin libusb_free_transfer.\n\nThe alternative to all this would be to just explicitly pass NULL to the\nlog handler in libusb_free_transfer.\n\nFixes #1038\nCloses #1073\n" }, { "commit": "c3639bc23eaaed7fa94d377af42f00ddc5083de2", "tree": "f9f3e7b24f2b4f6e4f92914a6ed7c188faae02b5", "parents": [ "4622bfcf44db373c53502e3fe873bd611e8332f6" ], "author": { "name": "Benjamin Berg", "email": "bberg@redhat.com", "time": "Fri Feb 04 22:50:28 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Tue Mar 15 11:43:05 2022 +0100" }, "message": "core: Unset device ctx if it has been destroyed\n\nDevices can outlive their context in some cases (in particular with\npython garbage collection). Guard against this by clearing the ctx\npointer so that it is not pointing to uninitialized memory.\n\nCloses #1058\n" }, { "commit": "4622bfcf44db373c53502e3fe873bd611e8332f6", "tree": "47e20dfe547958eb5ed5ffd54b8ea0902b886218", "parents": [ "cfc47144521f1903d1872d7fba57946ba7b73560" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Jan 31 13:56:37 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Jan 31 13:57:06 2022 +0100" }, "message": "libusb 1.0.25\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "cfc47144521f1903d1872d7fba57946ba7b73560", "tree": "ee214e2aa972d485d232164a86f6faa6151b0b4c", "parents": [ "afcd360005dcbd3d9e6ed2d6e0255a7ad9efd3a7" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Jan 29 22:04:08 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Jan 30 00:00:32 2022 +0100" }, "message": "appveyor: Retain selected build artifacts\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "afcd360005dcbd3d9e6ed2d6e0255a7ad9efd3a7", "tree": "b2c941f8dd1cf2cd4c12b57f33e49341b8c8ebf6", "parents": [ "65b786f77d78df53c41c064ae958dffad1bbe222" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Jan 22 14:39:45 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Jan 22 14:47:17 2022 +0100" }, "message": "examples: Do not assume positive errno macros\n\nSome functions were returning e.g. -ENOMEM and the caller would check\nfor negative return values. However, on Haiku, contrary to modern\nstandards, these macros are negative, so this logic would fail. In any\ncase, change the function to return -1 instead. For good measure also\nset errno to the appropriate value, although it is not used in the\ncurrent code.\n\nThis was discovered on Haiku builds because the value for ENOMEM is\nINT_MIN which cannot be negated without overflow.\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "65b786f77d78df53c41c064ae958dffad1bbe222", "tree": "05e74a972d7baa5053d69359a154575c78f3cbc5", "parents": [ "f1e562e007563467991221a8d946447c4d016019" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Jan 22 12:53:57 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Jan 22 12:55:44 2022 +0100" }, "message": "netbsd: Fix typo preventing build\n\nFixup of commit 6cae9c6\n\nTested-by: Xiaofan Chen \u003cxiaofanc@gmail.com\u003e\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "f1e562e007563467991221a8d946447c4d016019", "tree": "4cf5c63233204a747b55203dc916ea9c5a1f66eb", "parents": [ "99d9bbda443709d4ef724be179ebaa5d70913f2d" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 21:10:16 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 21:10:16 2022 +0100" }, "message": "libusb 1.0.25-rc1\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "99d9bbda443709d4ef724be179ebaa5d70913f2d", "tree": "30efb5e1cb87d2f98fd109a93b697df8609dd72f", "parents": [ "7ffad5c137ed4c1d8a3ac485f35770fb979ca53a" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 20:20:59 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 20:24:15 2022 +0100" }, "message": "Add libusb_set_option to libusb-1.0.def manually\n\nSince libusb_set_option() is variadic, there is no symbol\nfor it with @ appended in the DLL, and the automatic\ngeneration of libusb-1.0.def misses it.\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "7ffad5c137ed4c1d8a3ac485f35770fb979ca53a", "tree": "c4018cf84e59296dcc00b5a0ee91f988ee9d7287", "parents": [ "7691236353d50fc95fc4f45876fbd8162c5914c3" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 18:20:51 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 18:32:23 2022 +0100" }, "message": "Update AUTHORS\n\nBased on `git shortlog -s | cut -c8-` and a lot of manual fixups.\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "7691236353d50fc95fc4f45876fbd8162c5914c3", "tree": "7da9c072345ffd93e07da948c6732e344ffee54b", "parents": [ "b4ff207501b9250b098dd9144c440f011b8baa4f" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 17:58:59 2022 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Jan 21 18:03:01 2022 +0100" }, "message": "Update libusb-1.0.def\n\nUpdated by running the following on a libusb-1.0 DLL generated by MinGW32:\n\necho -e \"LIBRARY \\\"libusb-1.0.dll\\\"\\nEXPORTS\" \u003e libusb-1.0.def\nstrings libusb-1.0.dll | grep ^libusb | grep @ | LC_ALL\u003dC sort | uniq | \\\n sed -e \"s/\\(.*\\)@\\([0-9]*\\)/ \\1\\n \\1@\\2 \u003d \\1/\" | LC_ALL\u003dC sort \u003e\u003e libusb-1.0.def\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "b4ff207501b9250b098dd9144c440f011b8baa4f", "tree": "b624ee6f8930be2226bb870d44c0d77f377b6c3e", "parents": [ "1ec1f9ba071dac1248a381e627f8872aa9249b2b" ], "author": { "name": "Ludovic Rousseau", "email": "ludovic.rousseau@free.fr", "time": "Fri Dec 31 18:29:28 2021 +0100" }, "committer": { "name": "Ludovic Rousseau", "email": "ludovic.rousseau@free.fr", "time": "Thu Jan 20 22:27:37 2022 +0100" }, "message": "Add github action for macOS\n\nSigned-off-by: Ludovic Rousseau \u003cludovic.rousseau@free.fr\u003e\n" }, { "commit": "1ec1f9ba071dac1248a381e627f8872aa9249b2b", "tree": "bb0828746993d85995a0e13962a321626d0833ef", "parents": [ "c1ed5895438f2ae3767162f74388b09a16ab0800" ], "author": { "name": "Ludovic Rousseau", "email": "ludovic.rousseau@free.fr", "time": "Fri Dec 31 18:29:04 2021 +0100" }, "committer": { "name": "Ludovic Rousseau", "email": "ludovic.rousseau@free.fr", "time": "Thu Jan 20 22:26:53 2022 +0100" }, "message": "Add github action for GNU/Linux\n\nSigned-off-by: Ludovic Rousseau \u003cludovic.rousseau@free.fr\u003e\n" }, { "commit": "c1ed5895438f2ae3767162f74388b09a16ab0800", "tree": "70f824305d29dab77b0cee0dc027701f257815df", "parents": [ "f2b218b61867f27568ba74fa38e156e5f55ed825" ], "author": { "name": "Andrew Goodney", "email": "agoodney@yahoo.com", "time": "Mon Dec 27 20:34:05 2021 -0800" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jan 18 15:32:24 2022 -0700" }, "message": "The current code for calculating the timeout in darwin_reenumerate_device_timeout() doesn\u0027t calculate elapsed microseconds, it counts the number of times the loop runs.\n\nThis results in very long timeouts.\n\nThis PR uses clock_gettime(CLOCK_MONOTONIC, ...) to calculate the elapsed time\n\nCloses #1035\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "f2b218b61867f27568ba74fa38e156e5f55ed825", "tree": "99c4a7ce90dcede9aa352657897e3a9d779bb0c6", "parents": [ "b4b4138a31b2548681ad8af29758e6767c75ae7b" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Dec 01 11:38:49 2021 +0100" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Wed Dec 01 09:43:27 2021 -0700" }, "message": "darwin: Minor tidy up in darwin_set_interface_altsetting()\n\nCloses #1032\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "b4b4138a31b2548681ad8af29758e6767c75ae7b", "tree": "a9837b1549e7cb293f15bafe19f4685b84d54c74", "parents": [ "1170db79bdc4155c3d5a64787fcc4f8d56b26174" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Nov 30 15:10:01 2021 -0700" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Wed Dec 01 09:42:15 2021 -0700" }, "message": "darwin: fix behavior of libusb_set_interface_alt_setting when it stalls the pipe\n\nIn some versions of macOS a pipe stall returned when setting the alternate interface\ncauses the interface to become unusable. To handle this case the backend was always\nre-claiming the interface before clearing the pipe stall. In macOS Monterey\nunconditionally re-claiming the interface leads to an error due to the process already\nhaving exclusive access. To resolve this issue we attempt to clear the halt and only\nre-claim the interface if clearing the pipe stall returns kIOUSBUnknownPipeErr. Tested\nwith 12.0.1 and 10.13 and get the expected results in both cases with a custom USB\ndevice that has this behavior.\n\nFixes #1011\nCloses #1031\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "1170db79bdc4155c3d5a64787fcc4f8d56b26174", "tree": "c9602720ccc9205fbc05da47a7b185b0a0f6f31c", "parents": [ "33d9949921423d0911527e04af8372d320f2489b" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Fri Oct 01 23:57:14 2021 +0200" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@me.com", "time": "Sat Nov 27 10:05:00 2021 -0700" }, "message": "Bump LIBUSB_API_VERSION\n\nLIBUSB_OPTION_NO_DEVICE_DISCOVERY is new.\n\nCloses #1004\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\nSigned-off-by: Nathan Hjelm \u003chjelmn@me.com\u003e\n" }, { "commit": "33d9949921423d0911527e04af8372d320f2489b", "tree": "b274ce4e2854a7d33626365e0ff801e2a78db5fa", "parents": [ "143a33744f7b1b6296ea105879b83adc92585e3f" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 02 00:05:32 2021 +0200" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@me.com", "time": "Sat Nov 27 10:04:05 2021 -0700" }, "message": "Keep LIBUSB_OPTION_WEAK_AUTHORITY as a macro with same value\n\nIf the value is always the same we retain binary compatibility.\n\nReferences #935\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\nSigned-off-by: Nathan Hjelm \u003chjelmn@me.com\u003e\n" }, { "commit": "143a33744f7b1b6296ea105879b83adc92585e3f", "tree": "20d3e18aef0823b244b89df9b5c9331080f3c653", "parents": [ "d4452bd5554b2e6cc7017ad9cdba54a848cf5e93" ], "author": { "name": "AdamKorcz", "email": "adam@adalogics.com", "time": "Thu Nov 25 11:03:30 2021 +0000" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@cs.unm.edu", "time": "Sat Nov 27 10:01:08 2021 -0700" }, "message": "Fuzzing: Add CIFuzz\n" }, { "commit": "d4452bd5554b2e6cc7017ad9cdba54a848cf5e93", "tree": "7439a111799e5cea50310f4c7d208087464a07ec", "parents": [ "683e3cf21ed37d4492c20cea8de810c4d95ae8b6" ], "author": { "name": "Matthias Bolte", "email": "matthias@tinkerforge.com", "time": "Wed Sep 22 13:40:23 2021 +0200" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@me.com", "time": "Tue Nov 23 23:02:43 2021 -0700" }, "message": "core: Unlock and clear default ctx in all error paths in libusb_init\n\nCommit 32a22069428cda9d63aa666e92fb8882a83d4515 reordered and\nrefactored libusb_init. This resulted in moving code outside the\ndefault ctx lock that was unrelated to it. But this resulted in\nbroken error path cleanup logic that leaves the default ctx as\nlocked, half initialized and freed in case a libusb_set_option or\nthe usbi_io_init call fails.\n\nUndo part of the previous reordering to unlock and clear the default\nctx in all error paths in libusb_init.\n\nCloses #995\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "683e3cf21ed37d4492c20cea8de810c4d95ae8b6", "tree": "2c6725e72eb3c79702bf49850f5b26af7e2aaae8", "parents": [ "5b408d108407043a8736dd36f2c1e1ee9f52394e" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Tue Nov 09 09:57:57 2021 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Tue Nov 09 10:05:38 2021 +0100" }, "message": "core: Minor code cleanup in libusb_init (NOP)\n\nAfter commit f7084fe the if clause would always be true, so remove it.\n\nThanks to \"xloem\" for reporting.\n\nReferences #942\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "5b408d108407043a8736dd36f2c1e1ee9f52394e", "tree": "9556df86aa0136b2394ac99f2c243912e63094b2", "parents": [ "7b342030d293019696ff536a95105c654167461a" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Oct 28 14:48:55 2021 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Tue Nov 09 09:19:59 2021 +0100" }, "message": "Windows: Allow synchronous control transfers (for libusb0)\n\nSome of the changes in commit 9c28ad2 rely on all transfers having (or\nappearing to have) asynchronous completion.\n\nHowever, the libusb0.sys backend of libusbk.dll performs all control\ntransfers synchronously and ignores any \"overlapped\" structure handed to\nit. Our asynchronous handling will in this case be pending and\neventually time out although the USB request itself was successful.\n\nTherefore restore the possibility of synchronous completion of control\ntransfers, by forcing the completion handling on a successful return\nfrom request submission. This brings the code closer to how it was\nestablished in commit ce95f65.\n\nFixes #94\n\nTested-by: Xiaofan Chen \u003cxiaofanc@gmail.com\u003e\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "7b342030d293019696ff536a95105c654167461a", "tree": "16d98b15a4e6d4810fe541623feee0e1819e191e", "parents": [ "3178abb79093231f46d7fa544335a58ddd58a324" ], "author": { "name": "Julian Scheel", "email": "julian@jusst.de", "time": "Mon Jun 08 14:32:16 2020 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Nov 07 12:58:15 2021 +0100" }, "message": "Windows: Fix timeouts if only endpoint 0 exists\n\nThe default timeouts of 5 seconds used by WinUSB are cleared in\nconfigure_endpoints(). This was not called if not at least one extra\nendpoint apart from endpoint 0 existed, so that in those cases the\ndefault timeout of 5 seconds remained in place.\nFix this by calling configure_endpoints, even if no interface specific\nendpoints were found, so that it can configure endpoint 0.\n\nCloses #963\n\nSigned-off-by: Julian Scheel \u003cjulian@jusst.de\u003e\n[Tormod: Refactored to reduce duplicated code]\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "3178abb79093231f46d7fa544335a58ddd58a324", "tree": "dac942fe8ff750e2ce0e08c8eaacbfc5570dddcc", "parents": [ "8fa0582438d9b624eb5d2c6d0d71821e20897479" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Oct 17 00:13:44 2021 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Nov 07 12:48:27 2021 +0100" }, "message": "Windows: Ignore any device interface GUIDs beyond the first\n\nThe NZXT Kraken Z73 device has been reported to brokenly have two\nidentical device interface GUIDs registered. Accept such cases by\ntreating the ERROR_MORE_DATA return value as success and processing the\nfirst returned GUID as if it would be the only one.\n\nIf one day we see legitimate cases of multiple GUIDs we will need to\ndeal with them properly.\n\nReferences jdkvision/libusb#1\nCloses #1010\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "8fa0582438d9b624eb5d2c6d0d71821e20897479", "tree": "a9fd3a870de4ead19b9cc6af453f4f171ca37919", "parents": [ "f33c9562a1dd7a0cb333fcd9a670ba14fbbfbc0e" ], "author": { "name": "Evan Miller", "email": "emmiller@gmail.com", "time": "Sat Nov 06 19:42:53 2021 -0400" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Nov 07 11:38:03 2021 +0100" }, "message": "darwin: Fix compilation on macOS 10.9 and earlier\n\nkUSBReEnumerateCaptureDeviceMask was introduced in the 10.10 SDK, so\ncompiling on 10.9 and earlier will fail with:\n\n os/darwin_usb.c: In function \u0027darwin_reenumerate_device\u0027:\n os/darwin_usb.c:1749:18: error: \u0027kUSBReEnumerateCaptureDeviceMask\u0027 undeclared (first use in this function); did you mean \u0027USBReEnumerateOptions\u0027?\n options |\u003d kUSBReEnumerateCaptureDeviceMask;\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n USBReEnumerateOptions\n os/darwin_usb.c:1749:18: note: each undeclared identifier is reported only once for each function it appears in\n\nDownstream report: https://trac.macports.org/ticket/63668\n\nCloses #1023\n" }, { "commit": "f33c9562a1dd7a0cb333fcd9a670ba14fbbfbc0e", "tree": "711b148df78d89f0158e90a6647880fbcca32323", "parents": [ "78eb865b31436f2cb023c95078fbb99b32942faf" ], "author": { "name": "Peter-St", "email": "stoiber.peter@aon.at", "time": "Wed Dec 30 22:07:23 2020 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Tue Nov 02 00:20:26 2021 +0100" }, "message": "examples: Add example for unrooted Android\n\nCloses #830\n" }, { "commit": "78eb865b31436f2cb023c95078fbb99b32942faf", "tree": "bba12f2fdca9f0208fafec5a146106fc05fafddc", "parents": [ "1d1411b606438169fd639e0382fa89809aa97bf5" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Nov 01 23:40:44 2021 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Nov 01 23:40:44 2021 +0100" }, "message": "descriptor: Provide more detailed warning if suspicious bLength\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "1d1411b606438169fd639e0382fa89809aa97bf5", "tree": "b31d68942aa42ec42148bb2717b2bf162c0e0848", "parents": [ "f7084fea1107625fe5aeb275a2a4801bed2920d5" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 02 16:34:46 2021 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Nov 01 23:22:56 2021 +0100" }, "message": "doc: Explain default options in libusb_set_option documentation\n\nReferences #942\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "f7084fea1107625fe5aeb275a2a4801bed2920d5", "tree": "04af7c71cfb76d08b5757894ea1ac82bf61765cd", "parents": [ "b88f1441856a9ba481dc40c8c6d0415d8556514a" ], "author": { "name": "Bruno Harbulot", "email": "bruno@distributedmatter.net", "time": "Thu Aug 12 20:26:12 2021 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Nov 01 23:20:59 2021 +0100" }, "message": "core: Apply default options to all new contexts\n\nThe default options configured with libusb_set_option(NULL, ...)\nwere only applied when the default context was created, and were\nignored when calling libusb_init() with a non-null context pointer.\n\nMake sure the default options will be applied to all new contexts. This\nis important when using LIBUSB_OPTION_NO_DEVICE_DISCOVERY which must\nbe respected during the context initialization in order to work.\n\nCloses #942\n\n[Tormod: amend comments]\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "b88f1441856a9ba481dc40c8c6d0415d8556514a", "tree": "69271cca0e186075f191c5c2a5825d4c4ed2ebcf", "parents": [ "14d3bde10f8363f156ef72036d08dbf91f53b980" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Oct 31 18:32:25 2021 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Oct 31 18:32:25 2021 +0100" }, "message": "xusb: Print total length of configuration descriptor\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "14d3bde10f8363f156ef72036d08dbf91f53b980", "tree": "d5d40b464d2d1d5e97519d10024f46081d2733d4", "parents": [ "6992d9bd4f627ae451e8a0371526a38434e074fe" ], "author": { "name": "luz paz", "email": "luzpaz@users.noreply.github.com", "time": "Sat Oct 30 17:15:04 2021 -0400" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Oct 31 17:44:55 2021 +0100" }, "message": "Fix various typos in docs/comments\n\nFound via `codespell -q 3`\n\nCloses #1015\n" }, { "commit": "6992d9bd4f627ae451e8a0371526a38434e074fe", "tree": "bd744234f631d50ed3e8a8bf54691e4784cd1c7b", "parents": [ "edd1a4bfe4b037e67b65e4538fd880123fb004f7" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Oct 31 09:12:07 2021 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Oct 31 09:12:48 2021 +0100" }, "message": "xusb: Print configuration descriptor length\n\nAlso inform about reading OS string descriptor.\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "edd1a4bfe4b037e67b65e4538fd880123fb004f7", "tree": "fd0499d3195253ebe6fabecf9ffad3629c1ef455", "parents": [ "35b23a047e333ce361cea3315a15301286d89612" ], "author": { "name": "Sean McBride", "email": "sean@rogue-research.com", "time": "Fri Aug 20 15:57:52 2021 -0400" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 30 15:23:45 2021 +0200" }, "message": "darwin: After last CFRelease of struct field, set it to NULL\n\nOther code checks this field for being NULL or not, so NULLing it upon\nlast release seems the right thing to do. I noticed this during code\nreview, I never actually reproduced any problem.\n\nCloses #981\n" }, { "commit": "35b23a047e333ce361cea3315a15301286d89612", "tree": "2ae2a0dc0de5dae1fb600d86061f39dd8d8d68d5", "parents": [ "762456139aa0acde53d0e1b34e80076d921f1bf6" ], "author": { "name": "Sean McBride", "email": "sean@rogue-research.com", "time": "Fri Oct 29 09:47:01 2021 -0400" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 30 15:23:15 2021 +0200" }, "message": "doc: Improve comments related to device discovery and hotplug\n\nCloses #1013\n" }, { "commit": "762456139aa0acde53d0e1b34e80076d921f1bf6", "tree": "7ca040a0bb909fa99efc325f85837ac911e43c8f", "parents": [ "619c28f37efec41e12d7de67f869fa24c82bc21f" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 02 11:03:29 2021 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 30 15:22:31 2021 +0200" }, "message": "doc: Update note about LIBUSB_TRANSFER_ADD_ZERO_PACKET availability\n\nCloses #1005\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "619c28f37efec41e12d7de67f869fa24c82bc21f", "tree": "e1468e5585e6d9c166a123dd36fc581fc4efc933", "parents": [ "a584d060c853c9867dabc915fbafcbeccba1bc12" ], "author": { "name": "Paul Cercueil", "email": "paul@crapouillou.net", "time": "Wed Oct 06 14:31:24 2021 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 30 15:21:56 2021 +0200" }, "message": "Windows: Fix ssize_t unconditionally defined\n\nThe standard procedure to define ssize_t on Windows is to wrap it around\na check for the _SSIZE_T_DEFINED macro.\n\nIf not done, it makes it impossible to use the libusb.h header along\nwith other headers (from other libraries) that also attempt to define\nssize_t.\n\nCloses #1007\n\nSigned-off-by: Paul Cercueil \u003cpaul@crapouillou.net\u003e\n" }, { "commit": "a584d060c853c9867dabc915fbafcbeccba1bc12", "tree": "0a5ac40ef0d09e585371630b0674067b894fc444", "parents": [ "8d7616886e062f58d0de12db2acd5d81e06240bb" ], "author": { "name": "Bohdan Tymkiv", "email": "bohdan200@gmail.com", "time": "Wed Jul 28 17:46:04 2021 +0300" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sat Oct 30 15:20:35 2021 +0200" }, "message": "Windows: Partial fix for data race in composite_copy_transfer_data\n\nThis only fixes issue (A):\nlibusb: error [composite_copy_transfer_data] program assertion failed - no function to copy transfer data\n\nReferences #966\nCloses #967\n" }, { "commit": "8d7616886e062f58d0de12db2acd5d81e06240bb", "tree": "663a750f84249f437ee80069a77b91ad8334af24", "parents": [ "4f6754f3c6529a78a22cb6bdc9274671a911c64c" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@me.com", "time": "Thu Oct 28 10:36:30 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@me.com", "time": "Thu Oct 28 10:36:30 2021 -0600" }, "message": "darwin: fix deprecation warning about kIOMasterPortDefault\n\nThe kIOMasterPortDefault constant has been replaced by kIOMainPortDefault. Both\nare synonmys for 0. To avoid extra checks on the target macOS release just go\nahead and use 0.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "4f6754f3c6529a78a22cb6bdc9274671a911c64c", "tree": "96a799641e481ca98b8633ccfd36aa1d524b7f42", "parents": [ "e88b77ff6e848df299e4d9ed4926581991b7ffdf" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@me.com", "time": "Thu Oct 28 10:25:03 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@me.com", "time": "Thu Oct 28 10:25:03 2021 -0600" }, "message": "darwin: add support for handling new error code (kUSBHostReturnPipeStalled)\n\nWith macOS Monterey Apple started using a new error code to indicate a pipe\nstall. This new error code needs to be handled both in translation to libusb\nerror codes and when handling errors setting the alt setting.\n\nReferences #1011\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "e88b77ff6e848df299e4d9ed4926581991b7ffdf", "tree": "ad7f8d708d4c122d2b4c26ebe1e222304fc3d8aa", "parents": [ "35b3a52188757ddd1aaa64c7639ad1a0e86ab4b1" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Wed Sep 22 15:55:33 2021 +0200" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Sep 23 10:52:11 2021 +0200" }, "message": "git hooks: Remove \"source\" bashism\n\n\"source\" is not supported in Bourne shell\n\nCloses #997\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\n" }, { "commit": "35b3a52188757ddd1aaa64c7639ad1a0e86ab4b1", "tree": "fba24b33713ff05dbb11ae4b85cbe077a227c40a", "parents": [ "6929b8270170a76e9af30d0a9e95c2081f4372b0" ], "author": { "name": "Peter-St", "email": "stoiber.peter@aon.at", "time": "Mon Dec 21 21:47:24 2020 +0100" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Sep 23 10:52:11 2021 +0200" }, "message": "Update Android Readme\n\nAdd another approach for connecting USB devices on Android.\n\nReferences #830\nCloses #996\n" }, { "commit": "6929b8270170a76e9af30d0a9e95c2081f4372b0", "tree": "cf00ec7ed9fe754c0cfe5bfcb8e85ead65cbd0b7", "parents": [ "7d7733a3773df271396e473252083d051a4e4f5c" ], "author": { "name": "Ankur Verma", "email": "ankurv@microsoft.com", "time": "Mon Sep 13 18:25:30 2021 -0700" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Sep 23 10:52:11 2021 +0200" }, "message": "Fix segmentation fault in libusb_init() if usbi_backend.init() fails\n\nIf the backend init fails, the control goes to err_io_exit which tries\nto clean up hotplug related lists that aren\u0027t initialized. Moving\nhotplug_init before makes sure the lists are valid so if backend init\nfails they get cleaned up without errors.\n\nCloses #989\n" }, { "commit": "7d7733a3773df271396e473252083d051a4e4f5c", "tree": "e0d557ca103d0ba2a08eef75d62db7f8a1bb4234", "parents": [ "42407102fd8c12cc631974bce7c776061a5da873" ], "author": { "name": "Sean McBride", "email": "sean@rogue-research.com", "time": "Fri Aug 20 15:57:52 2021 -0400" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Sep 23 10:52:11 2021 +0200" }, "message": "Fix comment typos\n\nReferences #981\n" }, { "commit": "42407102fd8c12cc631974bce7c776061a5da873", "tree": "971d90dae355ee339fe9bc4803f445b38ff5bb2d", "parents": [ "f7624bf0143d2016ca2aac7bdada91c0b63f0cad" ], "author": { "name": "xloem", "email": "0xloem@gmail.com", "time": "Wed Aug 04 10:38:07 2021 +0000" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Sep 23 10:51:48 2021 +0200" }, "message": "Android build name correction\n\nFixes #31\n\nSee #143 and #596 for solutions to the whole build system.\n\nCloses #971\n" }, { "commit": "f7624bf0143d2016ca2aac7bdada91c0b63f0cad", "tree": "89d6ace27f35843319e7e8810cc3e915dd79ee1f", "parents": [ "1a906274a66dd58bf81836db1306902d4a7dc185" ], "author": { "name": "mcuee", "email": "xiaofanc@gmail.com", "time": "Fri Aug 27 17:49:30 2021 +0800" }, "committer": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Thu Sep 23 10:49:34 2021 +0200" }, "message": "Fix Windows HID backend missing byte\n\nWhen the report id is zero, we should indeed skip the first byte of\ntransfer_priv-\u003ehid_buffer, since it is not part of the actual report.\nBut the report size should not change.\n\nThanks to Jonas Malaco who has done the investigation in this issue.\nReference: Jonas Malaco\u0027s comments\nhttps://github.com/libusb/libusb/issues/902#issuecomment-810726897\n\nFixes #902\nFixes #977\nCloses #986\n" }, { "commit": "1a906274a66dd58bf81836db1306902d4a7dc185", "tree": "71dacc3fe0f87e913c9f6185a8ff3d78d431f351", "parents": [ "993b28c400b97e65fc1c457f112e2a9c2fd1d912" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sun Aug 08 09:22:31 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sun Aug 08 09:22:31 2021 -0600" }, "message": "darwin: fix typo\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "993b28c400b97e65fc1c457f112e2a9c2fd1d912", "tree": "554d2772aeae2682a2db9825e9fbbc0ff0ca5763", "parents": [ "3ed54c52b1ece08eae21774fbac50a5cc16bae93" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sun Aug 08 09:16:38 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sun Aug 08 09:19:21 2021 -0600" }, "message": "darwin: improve the error message on kernel driver detach failure\n\nDetaching a kernel driver in macOS requires that either the binary has the\ncom.apple.vm.device-access entitlement or is run with effective UID 0 (root). This\ncommit adds an effective UID check before attempting to capture a device and prints\na warning that neither is the user root nor does the binary have the correct\nentitlement.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "3ed54c52b1ece08eae21774fbac50a5cc16bae93", "tree": "cb2b4e3e1df06f44a128d4b1df49f71d44d53632", "parents": [ "e2edecd3a3f3ff79f58c992862f15b00e4eb3c49" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sat Aug 07 23:02:16 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sat Aug 07 23:10:52 2021 -0600" }, "message": "darwin: fix USB capture for root\n\nThis commit restores the ability to capture-open a USB device when running as root.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "e2edecd3a3f3ff79f58c992862f15b00e4eb3c49", "tree": "7a4d60d66dbb2f3aee3f780171dc007dd4e2216e", "parents": [ "e568db9f722f35b83ec31bbdfd79e7471163ce23" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Mon Jul 26 23:29:01 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Mon Jul 26 23:29:01 2021 -0600" }, "message": "configure: remove usage of deprecated AC_HELP_STRING\n\nThis macro was replaced by AS_HELP_STRING. This commit updates the lingering deprecated call\nwith the new macro as used elsewhere in configure.ac.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "e568db9f722f35b83ec31bbdfd79e7471163ce23", "tree": "288b0e7ac6a691dd08f3bfc322d8f220e210d2a7", "parents": [ "a25cfe5f1a87c0483218c92c986df20830d4ad8f" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Mon Jul 26 23:23:12 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Mon Jul 26 23:23:12 2021 -0600" }, "message": "core: set default backend options before calling backend init\n\nThis commit restores the previous behavior with regards to setting some backend options and\nrestores the ability to set default context options before libusb_init. None of the backends\nuse anything set in init in their set_option function so this should be safe with all\nbackends and options.\n\nReferences #942\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "a25cfe5f1a87c0483218c92c986df20830d4ad8f", "tree": "c13047ead16f7dc5c61ed55501d1428d5896eab0", "parents": [ "d2522b3a4a88f42b7719db68260700c215bc8148" ], "author": { "name": "mcuee", "email": "xiaofanc@gmail.com", "time": "Sun Jul 25 16:26:37 2021 +0800" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Mon Jul 26 23:17:11 2021 -0600" }, "message": "Update libusb-1.0.def\n\nThis fixes issue #944 C++ symbol for libusb_set_option not exported correctly.\nAs per the report in issue #944, original commit is correct but subsequent edits cause the regression.\nhttps://github.com/libusb/libusb/blob/v1.0.22-rc1/libusb/libusb-1.0.def#L156\n\nCloses #964\n\nSigned-off-by: Xiaofan Chen xiaofanc@gmail.com\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "d2522b3a4a88f42b7719db68260700c215bc8148", "tree": "ff6349bbaf859196222ed926696f45e6347199a3", "parents": [ "f8dc6af91607d5d2202c47b3b62e107df9197184" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Wed Jul 21 23:12:19 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@cs.unm.edu", "time": "Thu Jul 22 06:22:35 2021 -0600" }, "message": "darwin: only attempt to auto-detach driver is one is active\n\nThis commit improves the auto-detach code so that it doesn\u0027t attempt to detach a kernel\ndriver if none exists. This will avoid extra info/warning output on the failed detach.\n\nCloses #960\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "f8dc6af91607d5d2202c47b3b62e107df9197184", "tree": "f5b2069045b6329f405df9d09cc517cb5213aaf3", "parents": [ "42f9c3b43f49f22a3b10ed452f500f6f50c093df" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Wed Jul 21 11:49:37 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@cs.unm.edu", "time": "Wed Jul 21 23:07:17 2021 -0600" }, "message": "darwin: use the IO registry to detect if a kernel driver is attached to an interface\n\nThe implementation of libusb_kernel_driver_active was attempting to open the interface to\ncheck if a driver is attached. This may have side effects (like configuring the device)\nthat may be unexpected to the user. This commit updates the code to find the interface\u0027s\nIO registry entry (either IOUSBHostInterface or the legacy IOUSBInterface) and check if\nthe entry has a child entry. A child entry indicates that a driver is currently attached.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "42f9c3b43f49f22a3b10ed452f500f6f50c093df", "tree": "f0fb47d7693b44cbe6c7a6ec8f27492df5b412fd", "parents": [ "6cae9c6dbd74c0840848f343dd605c5ddcef1ad1" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Wed Jul 21 11:47:25 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Wed Jul 21 12:41:26 2021 -0600" }, "message": "xusb: add check for interface kernel driver\n\nThis commit adds a call to libusb_kernel_driver_active and prints out the result. This\nprovides a way to quickly check the result when testing.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "6cae9c6dbd74c0840848f343dd605c5ddcef1ad1", "tree": "05ab9c50bbafcf66d00f866f99a31126aa2866a3", "parents": [ "b0fd4d873e224bbb1985971834d31d956080c7a4" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jul 20 09:31:06 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@cs.unm.edu", "time": "Wed Jul 21 10:03:59 2021 -0600" }, "message": "core: update usbi_dbg to take the context as an argument\n\nThis commit fixes a performance issue caused by the disconnection of the first context\nallocated from the default context. usbi_dbg now takes the explicit context instead of\nrelying on the default context (which may not exist) in most cases. All call sites have\nbeen updated to pass the context or explicitly pass NULL if the context is not\navailable. We should actively discourage using NULL as the context in the future and\npatch all call sites to always pass the context.\n\nFixes #951\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "b0fd4d873e224bbb1985971834d31d956080c7a4", "tree": "52eeed437e12886e7499f9f8edd70e184fb8a5fc", "parents": [ "47aecbcaa299e304728ed275e8aacdc68306a234" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jul 20 15:48:27 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jul 20 15:52:47 2021 -0600" }, "message": "darwin: downgrade error message on failure to open interface to info\n\nThis resolves an issue introduced by the implementation of the kernel detach code. This\ncode used claim_interface to detect if a kernel driver is attached. The issue is that if\na driver is attached or the interface is not available and an error message was printed\nout. Since this is not an error the info level is more appropriate.\n\nAlso downgrading a number of warnings to clean up the output.\n\nCloses #955\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "47aecbcaa299e304728ed275e8aacdc68306a234", "tree": "90eae7aeecb5aa283ee222659f6c32f89926e85c", "parents": [ "7ec91f1a538b684ae621cd8fee96559c93a4cf7d" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jul 20 15:44:59 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jul 20 15:44:59 2021 -0600" }, "message": "darwin: add a comment on how the bus number is calculated\n\nThis commit adds a comment about the bus number calculation to indicate how the\nlocation ID is constructed and why libusb is using the top byte for the bus\nnumber. It also indicates that the bus number starts at 0.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "7ec91f1a538b684ae621cd8fee96559c93a4cf7d", "tree": "f3746fde8bce822b21a1b6c3d01f77c9a16dc115", "parents": [ "5d089e496dc63aec0e0d4ea2cdaa1b34f5a9da3a" ], "author": { "name": "Dmitry Zakablukov", "email": "dimaz@passware.com", "time": "Tue Jul 13 17:50:28 2021 +0300" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jul 20 07:56:30 2021 -0600" }, "message": "darwin: update the list of endpoints after successfull SetAlternateInterface()\n\nCloses #950\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "5d089e496dc63aec0e0d4ea2cdaa1b34f5a9da3a", "tree": "d915884ef7f70878091d0b3eac3a824bd1e81a09", "parents": [ "339d24c8235476ceee43f7d704415ccab85e2583" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Sun Jul 11 14:40:01 2021 +0200" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Tue Jul 20 07:54:35 2021 -0600" }, "message": "winusb: Ignore missing DeviceInterfaceGUID\n\nCloses #948\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "339d24c8235476ceee43f7d704415ccab85e2583", "tree": "2e95488fc760bba7e8a2cc84989d90686406c687", "parents": [ "ced455398619b480e511d93f6c9664ae99978557" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Jul 09 09:17:33 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Jul 09 09:17:33 2021 -0600" }, "message": "darwin: improve support for auto-detaching a kernel driver\n\nThis commit improves the code around auto attach/detach of a kernel driver:\n\n - Log a warning when a driver can not be auto-detached and continue when claiming an\n interface. It could be the case that the interface has no driver attached or that\n the claim will still succeed.\n\n - Log a warning if the driver can not be auto-attached and return success when\n releasing an interface. The operation did complete successfully but the\n re-enumeration may have failed. This can be discovered on the next device\n access.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "ced455398619b480e511d93f6c9664ae99978557", "tree": "e7057fadd38d05670e12f9557d529a051d49f383", "parents": [ "5781c47cbd0eb5fbbe82905ec95ffbcd6a41f368" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Thu Jul 08 22:43:28 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Thu Jul 08 22:45:07 2021 -0600" }, "message": "darwin: fix SEGV on libusb_close after failed re-enumeration\n\nThis commit fixes an issue that can occur if the user calls libusb_close after a failed attempt\nof libusb_reset (re-enumerate). This can lead to an attempt to dereference dpriv-\u003edevice which\nwas set to NULL during the re-enumeration.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "5781c47cbd0eb5fbbe82905ec95ffbcd6a41f368", "tree": "5436cdf6d07e6018591f00bc35a99ea3a321aade", "parents": [ "5c89594f64ed5a14470d9965e558fd9aee1fd42c" ], "author": { "name": "Dmitry Zakablukov", "email": "dimaz@passware.com", "time": "Wed Jun 30 19:45:53 2021 +0300" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Thu Jul 08 21:55:39 2021 -0600" }, "message": "[Issue-912] Lock open_devs_lock in context to avoid access violation\n\nCloses #943\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "5c89594f64ed5a14470d9965e558fd9aee1fd42c", "tree": "1aa4b2243d13042dde55b26b28a0c751264d9b09", "parents": [ "a03058723a03080456814d5212c3caceacc58ae9" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Tue Jun 15 22:33:45 2021 +0200" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Thu Jul 08 21:53:46 2021 -0600" }, "message": "New NO_DEVICE_DISCOVERY option to replace WEAK_AUTHORITY option\n\nThe option disables device enumeration (and hotplug, which depends on\nenumeration). Since this has a much broader usage scope than \"weak\nauthority\", give the option a name reflecting what it does.\n\nFor now, keep the old option name working as an alias.\n\nCloses #935\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "a03058723a03080456814d5212c3caceacc58ae9", "tree": "4cb34f8bcc09d24af9945af7eb7ad21b64d57798", "parents": [ "68289d0d038b42e177d50fec9e26b8175d302627" ], "author": { "name": "Craig Hutchinson", "email": "54269136+CraigHutchinson@users.noreply.github.com", "time": "Tue Jun 08 20:03:43 2021 +0200" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Thu Jul 08 21:52:14 2021 -0600" }, "message": "windows: Allow GUID with and without trailing zeroes\n\nImprove the GUID length check to accommodate the cases where the GUID\nstring fetched from registry does not have a trailing zero, or if a\nmulti-string entry, one or two trailing zeroes.\n\nCloses #927\n\nSigned-off-by: Craig Hutchinson \u003c54269136+CraigHutchinson@users.noreply.github.com\u003e\n[Tormod: Use correct types and simplify comparisons]\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "68289d0d038b42e177d50fec9e26b8175d302627", "tree": "4a5e8dba1ff1c4db0983f557f766d707d9f54617", "parents": [ "e3dda19b31ee974fd749d55bc97d8bfc0e976bb4" ], "author": { "name": "Ryan Schmidt", "email": "git@ryandesign.com", "time": "Fri Jun 11 22:19:49 2021 -0500" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Thu Jul 08 21:51:48 2021 -0600" }, "message": "Fix build failure on Mac OS X 10.7\n\nApple documentation says kUSBDeviceSpeedSuper is available in 10.7 and\nlater but in fact it is only defined in the 10.8 SDK and later.\n\nCloses #410\nCloses #929\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "e3dda19b31ee974fd749d55bc97d8bfc0e976bb4", "tree": "31abfc36cc895daab1e244f91b8fe11955e52e9f", "parents": [ "5360a17ce7a596b0fb976a1be6a2b51753e87824" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Jun 11 22:27:19 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Jun 11 22:27:19 2021 -0600" }, "message": "darwin: release device parent reference when re-enumerating device\n\nThis commit fixes a dangling device reference that can occur when a device is\nbeing re-enumerated. The problem is the code was unconditionally re-caching the\nparent device which then takes a reference on the parent device. If the field\nwas already populated this reference was not needed. To ensure the code works\neven if the parent device also changes during the re-enumeration the code\nrelease the parent reference and grabs a fresh reference.\n\nFixes #924\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "5360a17ce7a596b0fb976a1be6a2b51753e87824", "tree": "8ccf109b5431e463c5bdbd67dce1899a7579221f", "parents": [ "87a8578b9391a4c1a3ed8824d49f6c91cdaea4f2" ], "author": { "name": "Tormod Volden", "email": "debian.tormod@gmail.com", "time": "Mon Jun 07 18:19:41 2021 +0200" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Jun 11 09:43:04 2021 -0600" }, "message": "Do not restrict \"weak authority\" option to Android\n\nlibusb_wrap_sys_device() is an often needed feature on Android, but can\nalso be very convenient on other Linux platforms.\n\nIn many cases the initial device scanning is not needed and\nLIBUSB_OPTION_WEAK_AUTHORITY thus provides a performance enhancement.\n\nCloses #925\n\nSigned-off-by: Tormod Volden \u003cdebian.tormod@gmail.com\u003e\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" }, { "commit": "87a8578b9391a4c1a3ed8824d49f6c91cdaea4f2", "tree": "3585fc6d912c2a2b730ea7554e2a42b50ab7f680", "parents": [ "3e674040edde3196c91e6779e32dd8d7eb79ddf6" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Jun 11 07:59:23 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Fri Jun 11 07:59:23 2021 -0600" }, "message": "core: really fix dangling devices\n\nThe prior fix made an incorrect assumption about the reference counting of\nparent devices. This CL fixes the issue by checking if the parent device\nshould be removed from the list as well. This is needed as when the child\ndevice is released the parent may also be released.\n\nCloses #924\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n" } ], "next": "3e674040edde3196c91e6779e32dd8d7eb79ddf6" }