{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":327089514,"defaultBranch":"master","name":"libusb","ownerLogin":"tormodvolden","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2021-01-05T18:48:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2403928?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1718642251.0","currentOid":""},"activityList":{"items":[{"before":"a296571adc004c7620da7ae541d77923797532a5","after":"a6a029c5f4902986a56437d11917e9c747b722bc","ref":"refs/heads/xusb_minorfixes","pushedAt":"2024-06-17T17:06:04.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"xusb/testlibusb: Print vid:pid consistently and with small hex digits\n\nMake testlibusb output align better, like lsusb does it.\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"xusb/testlibusb: Print vid:pid consistently and with small hex digits"}},{"before":"e9b9831e882708b72744cebf7290f739c3ceb7c9","after":"a296571adc004c7620da7ae541d77923797532a5","ref":"refs/heads/xusb_minorfixes","pushedAt":"2024-06-17T16:57:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"xusb/testlibusb: Print vid:pid consistently and with small hex digits\n\nMake testlibusb output align better, like lsusb does it.\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"xusb/testlibusb: Print vid:pid consistently and with small hex digits"}},{"before":null,"after":"e9b9831e882708b72744cebf7290f739c3ceb7c9","ref":"refs/heads/xusb_minorfixes","pushedAt":"2024-06-17T16:37:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"xusb: Check that a VID:PID has been defined\n\nAlso combine the argument count check now that we do it up front,\nresulting in one indentation level less.\n\nFixes #1438\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"xusb: Check that a VID:PID has been defined"}},{"before":null,"after":"e97ed520e7c86cd3ce247c559bf21316ca7987b9","ref":"refs/heads/ci_werror","pushedAt":"2024-06-15T22:39:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"ci: Build with -Werror on Linux\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"ci: Build with -Werror on Linux"}},{"before":"256ed4fc3a9a055924b298b0b9044af1f1542ebd","after":"2f1366a341a0808275a18b3e2903a512bd354374","ref":"refs/heads/signing_keys","pushedAt":"2024-05-29T18:31:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Rephrase comment and remove spurious html tag\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Rephrase comment and remove spurious html tag"}},{"before":"b9f5f6c35c360a93276533cadf522be91ae0818e","after":"256ed4fc3a9a055924b298b0b9044af1f1542ebd","ref":"refs/heads/signing_keys","pushedAt":"2024-05-26T17:49:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Add KEYS file for release files verification\n\nInclude my own public key, used for 1.0.25/1.0.26/1.0.27 already.\n\nThe KEYS file is inspired by the Apache project:\nhttps://infra.apache.org/release-signing#keys-policy\n\nReferences #1469\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Add KEYS file for release files verification"}},{"before":"9fc61e4761b2dc4de62358350e9722d21461de50","after":"b9f5f6c35c360a93276533cadf522be91ae0818e","ref":"refs/heads/signing_keys","pushedAt":"2024-05-26T17:36:08.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Add KEYS file for release files verification\n\nInclude my own public key, used for 1.0.25/1.0.26/1.0.27 already.\n\nReferences #1469\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Add KEYS file for release files verification"}},{"before":null,"after":"9fc61e4761b2dc4de62358350e9722d21461de50","ref":"refs/heads/signing_keys","pushedAt":"2024-05-26T17:35:23.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Add KEYS file for release files verification\n\nInclude my own public key, used for 1.0.25/1.0.26/1.0.27 already.\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Add KEYS file for release files verification"}},{"before":"cc8455d5363e3aae10dcd17fba235d6477496d2c","after":"7a206bda25b168d42394399675de2ed457e1ed60","ref":"refs/heads/conversion_warnings","pushedAt":"2024-05-26T14:47:39.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"io: Avoid -Wsign-conversion warning in itransfer timeout calculation\n\nThe warning would appear when building for Windows.\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"io: Avoid -Wsign-conversion warning in itransfer timeout calculation"}},{"before":"03f44d9f0fdf4654d943231796479e1721b20391","after":"cc8455d5363e3aae10dcd17fba235d6477496d2c","ref":"refs/heads/conversion_warnings","pushedAt":"2024-05-12T20:06:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"io: Avoid -Wsign-conversion warning in itransfer timeout calculation\n\nThe warning would appear when building for Windows.\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"io: Avoid -Wsign-conversion warning in itransfer timeout calculation"}},{"before":"182ec8975f96e0dd82a8734f554ca5ca9411435f","after":"03f44d9f0fdf4654d943231796479e1721b20391","ref":"refs/heads/conversion_warnings","pushedAt":"2024-05-12T19:51:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"examples: Avoid -Wconversion warnings\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"examples: Avoid -Wconversion warnings"}},{"before":"6de7a80a947e0cf4aa5391cf01840784db66b094","after":"182ec8975f96e0dd82a8734f554ca5ca9411435f","ref":"refs/heads/conversion_warnings","pushedAt":"2024-05-12T19:00:22.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"tests/umockdev: Avoid -Wconversion warnings\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"tests/umockdev: Avoid -Wconversion warnings"}},{"before":"213ffc2bdfb63f211de58f7d6ec3463734d545f0","after":"6de7a80a947e0cf4aa5391cf01840784db66b094","ref":"refs/heads/conversion_warnings","pushedAt":"2024-05-12T16:31:06.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"linux: Avoid a number of -Wconversion warnings\n\nAdd some explicit casts, and avoid some dubious recycling of\nthe same helper variable for completely different purposes.\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"linux: Avoid a number of -Wconversion warnings"}},{"before":"bff2f084361b8aa2d766af1206f0bc2122312fd2","after":"213ffc2bdfb63f211de58f7d6ec3463734d545f0","ref":"refs/heads/conversion_warnings","pushedAt":"2024-05-12T13:39:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Use preprocessor macros instead of enums for event flag constants\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Use preprocessor macros instead of enums for event flag constants"}},{"before":null,"after":"bff2f084361b8aa2d766af1206f0bc2122312fd2","ref":"refs/heads/conversion_warnings","pushedAt":"2024-05-12T13:04:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"io: Avoid -Wsign-conversion warning due to enum being unsigned int\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"io: Avoid -Wsign-conversion warning due to enum being unsigned int"}},{"before":"baa76f29bf1e2f4e106cfdf6d7a642ed6a254499","after":"02a1655e892911f2365ae1345607c8d26f15f7b6","ref":"refs/heads/stress_mt_baseref","pushedAt":"2024-02-03T00:12:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Always use ssize_t for number of devices","shortMessageHtmlLink":"Always use ssize_t for number of devices"}},{"before":"973e199997c986762f4cfddc48dfee29eb7a19f0","after":"baa76f29bf1e2f4e106cfdf6d7a642ed6a254499","ref":"refs/heads/stress_mt_baseref","pushedAt":"2024-02-03T00:01:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"stress_mt: Use single-thread open error count as reference\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"stress_mt: Use single-thread open error count as reference"}},{"before":"35e64fcdae8d1e79ee6adc44a00270dd06146d1f","after":"973e199997c986762f4cfddc48dfee29eb7a19f0","ref":"refs/heads/stress_mt_baseref","pushedAt":"2024-02-02T21:15:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"stress_mt: Use single-thread open error count as reference\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"stress_mt: Use single-thread open error count as reference"}},{"before":null,"after":"35e64fcdae8d1e79ee6adc44a00270dd06146d1f","ref":"refs/heads/stress_mt_baseref","pushedAt":"2024-02-02T20:34:07.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"stress_mt: Use single-thread device count as reference\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"stress_mt: Use single-thread device count as reference"}},{"before":"9c243716d6f0cd5d92b42cd0cb09aaa9e0dd266f","after":null,"ref":"refs/heads/pr1381_unused_clang","pushedAt":"2024-01-28T20:23:47.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"}},{"before":"cab78eeb4278f2295a7623c80fdf3dce398e7d3f","after":null,"ref":"refs/heads/init_option_BE","pushedAt":"2024-01-28T20:19:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"}},{"before":"b4f877f6f406913dbe5ee00159b9ebfbb589de12","after":null,"ref":"refs/heads/staging","pushedAt":"2024-01-19T21:11:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"}},{"before":"55830f67e0648607d561c40ac1e41aa45f6f2bfc","after":"b4f877f6f406913dbe5ee00159b9ebfbb589de12","ref":"refs/heads/staging","pushedAt":"2024-01-19T21:11:22.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"darwin: locationID is 32-bit, not 64-bit\n\nAlso zero-initialize locationID since otherwise it could be used\nuninitialized.\n\nAlso change the return variable to bool, matching what the function\nactually returns.\n\nFortunately, this only affected log messages.\n\nCloses #1412\n\n[Tormod: Use PRIx32 for printing the 32-bit locationID]\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"darwin: locationID is 32-bit, not 64-bit"}},{"before":"6149c0a18f15208feca8952fa22ca95708afead4","after":"cab78eeb4278f2295a7623c80fdf3dce398e7d3f","ref":"refs/heads/init_option_BE","pushedAt":"2024-01-19T09:30:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Change libusb_init_option to fix libusb_set_option() on big-endian\n\nlibusb_set_option() is a variadic function, so the type of the arguments\nis not clearly defined. When called with LIBUSB_OPTION_LOG_LEVEL, the\nargument is read with va_arg() as an int, which matches the type used\nwhen passing constants, and also most of the internal calls and the\ncalls in the examples.\n\nHowever the internal call site in libusb_init_context() passes the ival\nelement of the libusb_init_option struct directly, which is of type\nint64_t. This breaks on big-endian architectures like PowerPC, as\ndetected by tests/set_option.\n\nTherefore change the libusb_init_option struct to use int here as well.\n\nThanks to Aurelien Jarno for reporting and initial patch.\n\nCloses #1416\nCloses #1436\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Change libusb_init_option to fix libusb_set_option() on big-endian"}},{"before":"6d5c31f5d77659dc803c31f9ac2f5d9964d11c42","after":"6149c0a18f15208feca8952fa22ca95708afead4","ref":"refs/heads/init_option_BE","pushedAt":"2024-01-19T09:29:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Change libusb_init_option to fix libusb_set_option() on big-endian\n\nlibusb_set_option() is a variadic function, so the type of the arguments\nis not clearly defined. When called with LIBUSB_OPTION_LOG_LEVEL, the\nargument is read with va_arg() as an int, which matches the type used\nwhen passing constants, and also most of the internal calls and the\ncalls in the examples.\n\nHowever the internal call site in libusb_init_context() passes the ival\nelement of the libusb_init_option struct directly, which is of type\nint64_t. This breaks on big-endian architectures like PowerPC, as\ndetected by tests/set_option.\n\nTherefore change the libusb_init_option struct to use int here as well.\n\nThanks to Aurelien Jarno for reporting and initial patch.\n\nCloses #1416\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Change libusb_init_option to fix libusb_set_option() on big-endian"}},{"before":null,"after":"6d5c31f5d77659dc803c31f9ac2f5d9964d11c42","ref":"refs/heads/init_option_BE","pushedAt":"2024-01-19T09:26:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Change libusb_init_option to fix libusb_set_option() on big-endian\n\nlibusb_set_option() is a variadic function, so the type of the arguments\nis not clearly defined. When called with LIBUSB_OPTION_LOG_LEVEL, the\nargument is read with va_arg() as an int, which matches the type used\nwhen passing constants, and also most of the internal calls and the\ncalls in the examples.\n\nHowever the internal call site in libusb_init_context() passes the ival\nelement of the libusb_init_option struct directly, which is of type\nint64_t. This breaks on big-endian architectures like PowerPC.\n\nTherefore change the libusb_init_option struct to use int here as well.\n\nThanks to Aurelien Jarno for reporting and initial patch.\n\nCloses #1416\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"Change libusb_init_option to fix libusb_set_option() on big-endian"}},{"before":"9b43eed351decd6f3251b0399241ca94e4a63a2a","after":"55830f67e0648607d561c40ac1e41aa45f6f2bfc","ref":"refs/heads/staging","pushedAt":"2024-01-09T22:33:39.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Fix incorrect alignment in allocation in libusb_alloc_transfer\n\nAfter being suspicous of some code I was browsing, I tried changing\nPTR_ALIGN to align to 4096 bytes instead of just to pointer size (8\nbytes), then enabled ASan then ran the xusb example, and it crashed.\nWhat ensued was a big code review of that function and related code.\n\n- reviewed use of macros like USBI_TRANSFER_TO_LIBUSB_TRANSFER\n\n- introduced new macros TRANSFER_PRIV_TO_USBI_TRANSFER and\nUSBI_TRANSFER_TO_TRANSFER_PRIV to do pointer offset conversions\n\n- introduced some temporary variables, especially for\nUSBI_TRANSFER_TO_LIBUSB_TRANSFER results\n\n- move some variable assignment and declaration together\n\n- replaced a few uses of PTR_ALIGN to instead use the alignment macros","shortMessageHtmlLink":"Fix incorrect alignment in allocation in libusb_alloc_transfer"}},{"before":null,"after":"9b43eed351decd6f3251b0399241ca94e4a63a2a","ref":"refs/heads/staging","pushedAt":"2024-01-08T22:45:07.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"Merge branch 'pr_1418' into staging","shortMessageHtmlLink":"Merge branch 'pr_1418' into staging"}},{"before":"1a6a971a73e02cbaf6f626248775eff2c883c51d","after":"3d16ec482501b8201421fa63836b2fc48597c55c","ref":"refs/heads/issue1386_darwin_atomic_in_reenum","pushedAt":"2023-12-22T18:44:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"darwin: Use atomic for in_reenumerate flag\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"darwin: Use atomic for in_reenumerate flag"}},{"before":null,"after":"1a6a971a73e02cbaf6f626248775eff2c883c51d","ref":"refs/heads/issue1386_darwin_atomic_in_reenum","pushedAt":"2023-12-22T18:23:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"tormodvolden","name":"Tormod Volden","path":"/tormodvolden","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2403928?s=80&v=4"},"commit":{"message":"darwin: Use atomic for in_reenumerate flag\n\nSigned-off-by: Tormod Volden ","shortMessageHtmlLink":"darwin: Use atomic for in_reenumerate flag"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEZ51aOAA","startCursor":null,"endCursor":null}},"title":"Activity ยท tormodvolden/libusb"}