summaryrefslogtreecommitdiff
path: root/NEWS
blob: ba1e6218eef1fe92272a40cfc2fae966a6cada7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
Version 0.2.5
~~~~~~~~~~~~~
Released: 2015-05-28

New Features:
 - Add g_usb_device_get_custom_index() (Richard Hughes)
 - Allow setting the GMainContext when used for sync methods (Richard Hughes)
 - Include all the USB device class codes (Richard Hughes)
 - Use symbol versioning (Pass Automated Testing Suite)

Version 0.2.4
~~~~~~~~~~~~~
Released: 2015-01-09

Notes:
 - Bump glib build requirement to 2.38 (Ignacio Casal Quinteiro)

New Features:
 - Add g_usb_context_find_by_platform_id() (Richard Hughes)
 - Add g_usb_device_get_children() (Richard Hughes)
 - Add g_usb_device_get_device_subclass and get_device_protocol methods (Ignacio Casal Quinteiro)
 - Add g_usb_device_get_parent() (Richard Hughes)
 - Add g_usb_device_get_port_number() (Richard Hughes)
 - Add g_usb_device_get_vid_as_str() (Richard Hughes)
 - Show more helpful output for 'gusb show' (Richard Hughes)

Bugfixes:
 - Don't filter out hub devices when getting the device list (Richard Hughes)
 - Make the platform ID persistent across re-plug (Richard Hughes)
 - Port to GTask (Ignacio Casal Quinteiro)
 - Use new Glib features for various code cleanups (Ignacio Casal Quinteiro)

Version 0.2.3
~~~~~~~~~~~~~
Released: 2014-12-01

Bugfixes:
 - Correctly terminate the libusb event thread (Richard Hughes)

Version 0.2.2
~~~~~~~~~~~~~
Released: 2014-11-26

New Features:
 - Official Windows support!

Bugfixes:
 - No longer require G_USB_API_IS_SUBJECT_TO_CHANGE (Richard Hughes)
 - Use a thread to process libusb1 events (Richard Hughes)

Version 0.2.1
~~~~~~~~~~~~~
Released: 2014-11-24

Bugfixes:
 - Always set a device platform ID (Richard Hughes)
 - Ignore 'unsupported' as a return value for kernel drivers (Richard Hughes)

Version 0.2.0
~~~~~~~~~~~~~
Released: 2014-11-20

Notes:
 - This release raises the GLib requirement to 2.32 and libusb to 1.0.19
 - No GUdev functionality is now required

New Features:
 - Add g_usb_device_get_device_class() (Richard Hughes)
 - Use the native hotplug support in libusb 1.0.19 (Richard Hughes)

Bugfixes:
 - Fix a crash where libusb_get_pollfds() is unavailable (Richard Hughes)
 - Manually coldplug devices and poll if hotplugging is not available (Richard Hughes)

Version 0.1.6
~~~~~~~~~~~~~
Released: 2013-03-05

Bugfixes:
 - Do not use deprecated GLib functionality (Richard Hughes)
 - Remove duplicate gtk-doc check in configure (David King)
 - Unref the GMainloop after it has been run, not when just quit (Richard Hughes)

Version 0.1.5
~~~~~~~~~~~~~
Released: 2013-02-05

Bugfixes:
 - Don't use the deprecated INCLUDES in Makefile.am (Richard Hughes)
 - Fix documentation build (Christopher James Halse Rogers)
 - Fix obvious typo in README (Hans Ulrich Niedermann)

Version 0.1.4
~~~~~~~~~~~~~
Released: 2012-11-06

New Features:
 - Add GObject Introspection support (Evan Nemerson)
 - Add g_usb_device_reset() to reset a connected device (Richard Hughes)
 - Add Vala bindings (Evan Nemerson)

Bugfixes:
 - Assorted introspection annotation fixes (Evan Nemerson)
 - Rename inconsistently named gusb_* symbols to g_usb_* (Evan Nemerson)

Version 0.1.3
~~~~~~~~~~~~~
Released: 2011-12-05

Bugfixes:
 - Do not build with -Werror by default (Richard Hughes)
 - Add a missing error enum value (Richard Hughes)

Version 0.1.2
~~~~~~~~~~~~~
Released: 2011-11-11

New Features:
 - Call g_usb_device_list_coldplug() automatically (Richard Hughes)

Bugfixes:
 - Ignore EBUSY when trying to detach a kernel driver (Richard Hughes)
 - Fix a build failure on Debian (Richard Hughes)

Version 0.1.1
~~~~~~~~~~~~~
Released: 2011-11-01

Notes:
 - This release bumps soname to remove GUdevDevice from the public API.

New Features:
 - Add g_usb_device_get_platform_id (Richard Hughes)

Bugfixes:
 - Add usb-1.0 to the gusb.pc 'Requires' (Richard Hughes)
 - Do not leak the GUdev API into the public API of GUsb (Richard Hughes)
 - Do not try to set the currently running device configuration twice (Richard Hughes)
 - Do not use g_simple_async_result_is_valid() as it fails for sync methods (Richard Hughes)

Version 0.1.0
~~~~~~~~~~~~~
Released: 2011-09-15

Notes:
 - This is the first public release of GUsb!
 - The library is not API or ABI stable -- you also have to define
   G_USB_API_IS_SUBJECT_TO_CHANGE before including the header to
   acknowlegde this.
 - Quite a lot of functionality has been added by Richard, Debarshi and
   Hans for this release, and we're open to new API ideas, patches and
   bugreports.

New Features:
 - Add a debugging tool to exercise the API that is not installed (Richard Hughes)
 - Add a simple self test framework (Richard Hughes)
 - Build: AM_PROG_CC_C_O required (Javier Jardón)
 - Build: Honor aclocal flags (Javier Jardón)
 - Build: Use new libtool syntax only (Javier Jardón)
 - Build: xz tarballs generation (Javier Jardón)
 - Generate gtk-doc files and add some gtk-doc markup (Richard Hughes)
 - GUsbContext: Ensure that there is only one GUsbSource for each GUsbContext (Debarshi Ray)
 - GUsbContext: fix mapping of GLogLevelFlags to libusb debug level (Hans de Goede)
 - GUsbContext: Turn into a proper gobject derived class (Hans de Goede)
 - GUsbDevice: Add asynchronous bulk and control transfer (Debarshi Ray)
 - GUsbDevice: Add functionality to do sync bulk, control and interrupt transfers (Richard Hughes)
 - GUsbDevice: Add functions to get string descriptors (Hans de Goede)
 - GUsbDevice: Add get bus / address methods (Hans de Goede)
 - GUsbDevice: Add g_usb_device_interrupt_transfer_async() (Richard Hughes)
 - GUsbDevice: Add GUsbDeviceList (Hans de Goede)
 - GUsbDevice: Add g_usb_device_open() and g_usb_device_close() (Richard Hughes)
 - GUsbDevice: Add some helpers for reporting not open functionality (Hans de Goede)
 - GUsbDevice: Add some more detailed error codes (Richard Hughes)
 - GUsbDevice: Add the ability to get elements of the device descriptor (Richard Hughes)
 - GUsbDevice: Call g_usb_device_req_free only after we are done with the instance (Debarshi Ray)
 - GUsbDevice: Check several methods for unopened device (Debarshi Ray)
 - GUsbDevice: Ensure the new async methods return the correct exit codes on failure (Richard Hughes)
 - GUsbDevice: Ensure we have the device descriptor before getting the vendor and product ID's (Richard Hughes)
 - GUsbDevice: g_usb_device_bulk_transfer_finish: Use g_simple_async_result_is_valid (Debarshi Ray)
 - GUsbDevice: g_usb_device_*_transfer_async: Report if the submission failed (Debarshi Ray)
 - GUsbDeviceList: Add g_usb_device_list_find_by_vid_pid() as it's required in colord (Richard Hughes)
 - GUsbDeviceList: Add g_usb_device_list_get_devices() to get the complete device list (Richard Hughes)
 - GUsbDeviceList: Do not duplicate all devices if the user calls coldplug() twice (Richard Hughes)
 - GUsbDeviceList: Make g_usb_device_list_add_dev() return TRUE if the device was added (Richard Hughes)
 - GUsbDeviceList: Ref the device returned by g_usb_device_list_get_dev_by_bus_n_address() (Richard Hughes)
 - GUsbDevice: Make several methods cancellable (Debarshi Ray)
 - GUsbDevice: Move setting config / claiming of interface to their own methods (Hans de Goede)
 - GUsbDevice: Set the GUsbContext for instal use in GUsbDevice (Richard Hughes)
 - GUsbDevice: Turn into a wrapper around libusb_device (Hans de Goede)
 - GUsbSource: Add a GError parameter to g_usb_source_new() (Richard Hughes)
 - GUsbSource: g_usb_source_new won't return NULL (Debarshi Ray)
 - GUsbSource: Make ref / unref the context it uses (Hans de Goede)
 - Provide our own gusb_strerror function (Hans de Goede)
 - Require users specify G_USB_API_IS_SUBJECT_TO_CHANGE when using libusb (Richard Hughes)
 - Simplify the reference counting of the GSimpleAsyncResult instances (Debarshi Ray)
 - Use standard GLogLevelFlags when setting the debug flags (Richard Hughes)
 - Use the slice allocator for fixed size structs (Debarshi Ray)