Skip to content

Commit a63a7e4

Browse files
committed
Update libusb to v1.0.28
Merge commit 'cca73120b1c58d0f1c2e40c52c64bf04b3c84ccf'
2 parents aa05773 + cca7312 commit a63a7e4

File tree

7 files changed

+20
-37
lines changed

7 files changed

+20
-37
lines changed

libusb/.github/workflows/msys2_clang32.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

libusb/AUTHORS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Doug Johnston
6868
Edgar Fuß
6969
Evan Hunter
7070
Evan Miller
71+
Fabien Sanglard
7172
Fabrice Fontaine
7273
Federico Manzan
7374
Felipe Balbi
@@ -95,11 +96,13 @@ Ingvar Stepanyan
9596
Jakub Klama
9697
James Hanko
9798
Jeffrey Nichols
99+
Jesse Taube
98100
Jie Zhang
99101
Jim Chen
100102
Johann Richard
101103
John Keeping
102104
John Sheu
105+
Jon Beniston
103106
Jonas Malaco
104107
Jonathon Jongsma
105108
Joost Muller
@@ -137,6 +140,7 @@ Martin Thierer
137140
Mathias Hjärtström
138141
Matthew Stapleton
139142
Matthias Bolte
143+
Matthijs Lavrijsen
140144
Michael Dickens
141145
Michel Zou
142146
Mike Frysinger
@@ -161,6 +165,7 @@ Pekka Nikander
161165
Petr Pazourek
162166
Philémon Favrod
163167
Pino Toscano
168+
Radu Vele
164169
Rob Walker
165170
Romain Vimont
166171
Roman Kalashnikov
@@ -206,6 +211,7 @@ William Orr
206211
William Skellenger
207212
Xiaofan Chen
208213
Yegor Yefremov
214+
Yiwei Lin
209215
Zeng Guang
210216
Zhiqiang Liu
211217
Zoltán Kovács

libusb/ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
For detailed information about the changes below, please see the git log
22
or visit: http://log.libusb.info
33

4+
2025-03-18: v1.0.28
5+
* New libusb_get_ssplus_usb_device_capability_descriptor API
6+
for query of SuperSpeed+ Capability Descriptors
7+
* API support for reporting USB 3.2 Gen2x2 speeds
8+
* macOS: Fix Zero-Length Packet for multiple packets per frame
9+
* Windows: Base HID device descriptor on OS-cached values
10+
* Build fixes for Haiku and SunOS
11+
* Many code correctness fixes
12+
413
2024-01-31: v1.0.27
514
* New libusb_init_context API to replace libusb_init
615
* New libusb_get_max_alt_packet_size API

libusb/configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ dnl Library versioning
3131
dnl These numbers should be tweaked on every release. Read carefully:
3232
dnl http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3333
dnl http://sourceware.org/autobook/autobook/autobook_91.html
34-
lt_current=4
34+
lt_current=5
3535
lt_revision=0
36-
lt_age=4
36+
lt_age=5
3737
LT_LDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age} -no-undefined"
3838

3939
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

libusb/libusb/core.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,14 +2383,7 @@ static enum libusb_log_level get_env_debug_level(void)
23832383
enum libusb_log_level level = LIBUSB_LOG_LEVEL_NONE;
23842384
const char *dbg = getenv("LIBUSB_DEBUG");
23852385
if (dbg) {
2386-
char *end = NULL;
2387-
long dbg_level = strtol(dbg, &end, 10);
2388-
if (dbg == end ||
2389-
*end != '\0' ||
2390-
dbg_level < LIBUSB_LOG_LEVEL_NONE ||
2391-
dbg_level > LIBUSB_LOG_LEVEL_DEBUG) {
2392-
usbi_warn(NULL, "LIBUSB_DEBUG is invalid or out of range; clamping");
2393-
}
2386+
long dbg_level = strtol(dbg, NULL, 10);
23942387
dbg_level = CLAMP(dbg_level, LIBUSB_LOG_LEVEL_NONE, LIBUSB_LOG_LEVEL_DEBUG);
23952388
level = (enum libusb_log_level)dbg_level;
23962389
}

libusb/libusb/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define LIBUSB_MINOR 0
88
#endif
99
#ifndef LIBUSB_MICRO
10-
#define LIBUSB_MICRO 27
10+
#define LIBUSB_MICRO 28
1111
#endif
1212
#ifndef LIBUSB_NANO
1313
#define LIBUSB_NANO 0

libusb/libusb/version_nano.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define LIBUSB_NANO 11941
1+
#define LIBUSB_NANO 11946

0 commit comments

Comments
 (0)