1 commit 713a4c3c2097e6d060d41718b2005490dfd7c71c 2 Author: Daniel Drake <dsd (a] gentoo.org> 3 Date: Thu Jul 9 22:15:32 2009 +0100 4 5 v0.1.3 release 6 7 commit 3874dfa6141e0e4cee8ccc6c3d4ff522698ebd7d 8 Author: John Smith <john (a] smith.com> 9 Date: Thu Jul 9 22:13:45 2009 +0100 10 11 Improve libusb-config for cross-compiling (SF#2809877) 12 13 The sed applied to this file only affects to assignments that happen 14 at the start of the line. 15 16 This fixes cross compiling for OpenWRT, etc. 17 18 commit 15bf9b0a2d3fed8f0fe69d002a4fcd0140679f2d 19 Author: Kyle McKay <mackyle (a] gmail.com> 20 Date: Fri Jun 19 22:11:02 2009 +0100 21 22 Improved error code compatibility 23 24 libusb-1.0 can return result codes 0, -1 through -12 and -99. The old 25 libusb-0.1 software was always returning the negative of an errno.h 26 error code. 27 28 Unfortunately the current version of libusb-compat passes through some 29 of the libusb-1.0 error codes unchanged. (Some of the error codes are 30 translated for some functions and different ones for other functions 31 but plenty are not translated.) 32 33 The patch attached to the below bug report makes sure all libusb-1.0 34 error codes are translated into the libusb-0.1 equivalent negative of 35 an errno.h define value. Additionally, this patch makes sure that 36 errno is always being set as some callers of libusb-0.1 expect that to 37 be the case. Finally since errno is now always being set by libusb- 38 compat, the implementation of usb_strerror is changed to return 39 strerror(errno) instead of the unhelpful "Unknown error". 40 41 commit 3ffc1160f0599ceb503aa2e0dbbf51a5b72bb9b9 42 Author: Daniel Drake <dsd (a] gentoo.org> 43 Date: Thu Jun 11 23:50:59 2009 +0100 44 45 v0.1.2 release 46 47 commit 29af8617ad6d460c3bff927f17c4938dab8f10d3 48 Author: Daniel Drake <dsd (a] gentoo.org> 49 Date: Fri May 29 12:28:05 2009 -0400 50 51 Better handling of library initialization failure 52 53 commit f0909ef85c5bf2ee8655864041e5e0453adc9ff0 54 Author: Daniel Drake <dsd (a] gentoo.org> 55 Date: Thu May 28 09:28:50 2009 -0400 56 57 v0.1.1 release 58 59 commit b090e024b9dbd8d94ba6f2b6eeb629d3fd461d6e 60 Author: Stanislav Brabec <sbrabec (a] suse.cz> 61 Date: Wed May 27 15:39:54 2009 -0400 62 63 Sanitize more endpoint addresses 64 65 For maximum compatibility, this makes libusb-compat-0.1 behave like 66 libusb-0.1 on BSD, where endpoint addresses are sanitized for all control 67 and bulk transfers. (Linux and Darwin also sanitize some of these) 68 69 commit cf9ce427f4bb62b7d575b70b299f1a582fb1baa1 70 Author: Daniel Drake <dsd (a] gentoo.org> 71 Date: Sat Dec 13 20:30:54 2008 +0000 72 73 v0.1.0 release 74 75 commit c2ffa94cbcab67324aebc1b32dad69f875b6481a 76 Author: Daniel Drake <dsd (a] gentoo.org> 77 Date: Sat Dec 13 20:25:27 2008 +0000 78 79 Document the danger of forcefully killing threads 80 81 Ludovic Rousseau has explained that he achieved transfer cancellation in 82 libusb-0.1 by running each transfer in it's own thread, and forcefully 83 killing the thread when he doesn't want the transfer any more. 84 85 This bad programming practice is imposed by libusb-0.1 not offering any 86 way to cancel ongoing transfers. Someone should rewrite libusb-0.1 to 87 avoid this limitation. Oh, wait... 88 89 Killing libusb-1.0 threads while they are event handling will often 90 result in I/O halt. Document this in the README. 91 92 commit 14e5a692c62c07e9698e5b51b4da5f48a7da1912 93 Author: Daniel Drake <dsd (a] gentoo.org> 94 Date: Fri Nov 21 16:52:42 2008 +0000 95 96 v0.1.0-beta3 release 97 98 commit 8cc08f2c34f0efb809b98b4704e70a3c350cc9a1 99 Author: Daniel Drake <dsd (a] gentoo.org> 100 Date: Sun Aug 10 17:05:08 2008 -0500 101 102 Allow usb_set_debug before usb_init() 103 104 Xiofan Chen reports that this worked on libusb-0.1. 105 Also fix NULL initialization of ctx. 106 107 commit 0dc6967ca823d177503fe91de67de9801496cfec 108 Author: Daniel Drake <dsd (a] gentoo.org> 109 Date: Sat Jun 28 21:35:11 2008 -0500 110 111 v0.1.0-beta2 release 112 113 commit 788e70c700d1d3a00e9deee67aa24b7c920650e2 114 Author: Daniel Drake <dsd (a] gentoo.org> 115 Date: Sat Jun 28 21:33:09 2008 -0500 116 117 Update to new libusb context API 118 119 commit 7999d97c699493da2e04fa7e9cd9bfe4e080c49f 120 Author: Daniel Drake <dsd (a] gentoo.org> 121 Date: Tue Jun 17 18:19:16 2008 -0500 122 123 Fixup read endpoint addresses 124 125 This doesn't make much sense, but libusb-0.1 does it, so we will do it 126 too. 127 128 commit fcf3834702d6dab8ce1181678131376f1badd62d 129 Author: Daniel Drake <dsd (a] gentoo.org> 130 Date: Mon May 26 00:05:32 2008 +0100 131 132 v0.1.0-beta1 release 133 134 commit c7746a0c411b2e4edec178d1ae7783d40152bc7b 135 Author: Daniel Drake <dsd (a] gentoo.org> 136 Date: Fri May 23 16:01:18 2008 +0100 137 138 link usb_set_debug to libusb_set_debug 139 140 commit 1c59b329f3f4f8644011b37414695df2c5e54586 141 Author: Daniel Drake <dsd (a] gentoo.org> 142 Date: Fri May 23 15:32:30 2008 +0100 143 144 don't log anything by default 145 146 Only log messages if the user asked for them using usb_set_debug() 147 148 Ludovic Rousseau pointed out that library users may close stdout/stderr 149 and those file descriptors may be reused for other things. 150 151 commit fa323490e8e66fe0e95e1545d0c921e947ed6f93 152 Author: Daniel Drake <dsd (a] gentoo.org> 153 Date: Tue May 20 16:27:17 2008 +0100 154 155 Update for new libusb_open API 156 157 Pointed out by Soumen Mondal 158 159 commit c5c6684c06bcf8e922601fc1c0d994552abf1e92 160 Author: Daniel Drake <dsd (a] gentoo.org> 161 Date: Mon May 19 16:15:17 2008 +0100 162 163 Add emulation info to pkg-config file 164 165 Ludovic Rousseau requested a way of distinguishing between 166 libusb-compat-0.1 and the real libusb-0.1, and suggested this approach. 167 168 You can access this info through pkg-config e.g.: 169 pkg-config --variable=emulated libusb 170 171 commit 49057f6ce5cd4d51e31594f290b2dd3c9f1dbaf8 172 Author: Daniel Drake <dsd (a] gentoo.org> 173 Date: Mon May 19 15:21:04 2008 +0100 174 175 Pretend to be libusb-0.1.12 176 177 Pointed out by Ludovic Rousseau: some programs check for specific libusb 178 versions, so pretend to be v0.1.12. 179 180 commit 727fe5651bfcdd789c2ea4ce462df398b4cacc69 181 Author: Daniel Drake <dsd (a] gentoo.org> 182 Date: Fri May 16 23:38:46 2008 +0100 183 184 remove FIXME about parent-child relationships 185 186 Doesn't seem worth this holding things up. 187 188 commit 2b6bdd1aeca38bb4211b704fd76faa0f41272807 189 Author: Daniel Drake <dsd (a] gentoo.org> 190 Date: Sat May 10 22:17:26 2008 +0100 191 192 Update for new descriptors API 193 194 commit bb248deecfc6b7718ef849ad9f3f394483d429c8 195 Author: Daniel Drake <dsd (a] gentoo.org> 196 Date: Sat May 10 15:36:54 2008 +0100 197 198 update for new libusb configuration API 199 200 commit b8893bca200a24acbda8ba9d2816da743e8783a0 201 Author: Daniel Drake <dsd (a] gentoo.org> 202 Date: Mon May 5 16:33:37 2008 +0100 203 204 match error reporting better, and handle endpoint halts 205 206 commit f06d81be9634a0b160caa11cd66f7fcc9354b28a 207 Author: Daniel Drake <dsd (a] gentoo.org> 208 Date: Mon May 5 16:32:47 2008 +0100 209 210 make log function static 211 212 commit a390eee8402634f5ecefc617832af1b4fd8af2ee 213 Author: Daniel Drake <dsd (a] gentoo.org> 214 Date: Mon May 5 15:13:40 2008 +0100 215 216 add usb_set_debug 217 218 Pointed out by Xiaofan Chen 219 220 commit c062b2b41183d98ac8a5f568d84472b422ec8285 221 Author: Daniel Drake <dsd (a] gentoo.org> 222 Date: Mon May 5 15:11:36 2008 +0100 223 224 populate bus->dirname and dev->filename 225 226 lsusb uses these. Problem spotted by Xiaofan Chen 227 228 commit 71225af5613d512b3a26ed94410f6d6ed2cebb30 229 Author: Daniel Drake <dsd (a] gentoo.org> 230 Date: Mon May 5 00:37:12 2008 +0100 231 232 fix timeout handling for bulk/interrupt IO 233 234 commit 2bb614e567d921a80224139b01742b718f8d420a 235 Author: Daniel Drake <dsd (a] gentoo.org> 236 Date: Sun May 4 17:29:15 2008 +0100 237 238 implement a couple more functions 239 240 commit 1ad492d8b46e4b41f5193f461ec356ec95368875 241 Author: Daniel Drake <dsd (a] gentoo.org> 242 Date: Sun May 4 17:18:11 2008 +0100 243 244 installation fixes 245 246 commit 89dde2002fc4f08a5b90bd7e143c6ec06d86d279 247 Author: Daniel Drake <dsd (a] gentoo.org> 248 Date: Sun May 4 16:55:50 2008 +0100 249 250 add testlibusb example from libusb-0.1 251 252 commit b9478137cb8a6f4a6ba758c3b3d3bc5173a623d8 253 Author: Daniel Drake <dsd (a] gentoo.org> 254 Date: Sun May 4 16:53:45 2008 +0100 255 256 implement usb_get_driver_np() and usb_detach_kernel_driver_np() 257 258 commit eae1ee2b7bac39f408a9ee61f1e3a80e6425e483 259 Author: Daniel Drake <dsd (a] gentoo.org> 260 Date: Sun May 4 16:28:32 2008 +0100 261 262 control transfer functions 263 264 commit 493e756b5b08ba98b612679bcc210d87c20859f0 265 Author: Daniel Drake <dsd (a] gentoo.org> 266 Date: Sun May 4 14:25:28 2008 +0100 267 268 bulk and interrupt I/O 269 270 commit ce86f26e5d8f49001cee79a40b0baebbcc965d1d 271 Author: Daniel Drake <dsd (a] gentoo.org> 272 Date: Sun May 4 14:11:28 2008 +0100 273 274 Implement remaining device operations 275 276 commit 78740a7b8f537bc3d6b6c0c09368be453ff3c4d9 277 Author: Daniel Drake <dsd (a] gentoo.org> 278 Date: Sun May 4 01:15:50 2008 +0100 279 280 implement some device operations 281 282 commit 7d7cb91be1307aa6e56c0534e3fba20afc45977d 283 Author: Daniel Drake <dsd (a] gentoo.org> 284 Date: Sun May 4 00:59:56 2008 +0100 285 286 Initial commit 287