blob: 3a9a65d1ceda805a9c255f9c7d31f08ece60e74e [file] [log] [blame]
Linus Walleijf27d1cd2007-03-05 14:23:00 +000012007-03-05 Linus Walleij <triad@df.lth.se>
2
3 * src/libmtp.c: rewrite recursive function to linear.
4 * src/libusb-glue.h: create a wrapper type for the
5 device list instead of abusing the libusb device "next"
6 field in our code.
7 * src/libusb-glue.c: rewrite all recursive functions to
8 linear, use wrapper objects, don't copy the libusb device
9 struct, instead just store a pointer to it. This magically
10 solved a bug...
11
Linus Walleij82265222007-03-04 19:47:08 +0000122007-03-04 Linus Walleij <triad@df.lth.se>
13
14 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
15 backwards compatible with any libmtp.so.5 interface, for
16 imminent libmtp 0.1.4 release.
17
tedbullock848009b2007-03-03 23:20:12 +0000182007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +000019
20 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +000021 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
22 been set
tedbullock848009b2007-03-03 23:20:12 +000023 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +000024 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +000025 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +000026 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +000027 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +000028 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +000029
tedbullock848009b2007-03-03 23:20:12 +0000302007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +000031
32 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +000033 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +000034 means.
35 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
36 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +000037 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +000038
Richard Low4fd59d62007-03-03 16:34:37 +0000392007-03-03 Richard Low <richard@wentnet.com>
40
41 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
42 get object prop lists for Clix since it appears to work.
43 * src/libusb-glue.h: ditto
44 * src/ptp.h: ditto
45
Linus Walleij8a5b8852007-02-28 14:25:39 +0000462007-02-28 Linus Walleij <triad@df.lth.se>
47
48 * src/ptp.h: Upstream accepted our patch so synced it in.
49
Linus Walleij07fde342007-02-27 06:09:46 +0000502007-02-27 Linus Walleij <triad@df.lth.se>
51
52 * src/ptp.c: Synced in upstream version which removes the
53 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +000054 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
55 detection since Windows and some devices (such as iRivers)
56 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +000057
tedbullock6c060952007-02-26 19:07:23 +0000582007-02-22 Ted Bullock <tbullock@canada.com>
59
Linus Walleij07fde342007-02-27 06:09:46 +000060 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
61 closing a file descriptor. This is not the responsibility of
62 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +000063
Linus Walleij304433d2007-02-26 08:02:47 +0000642007-02-26 Linus Walleij <triad@df.lth.se>
65
Linus Walleij07fde342007-02-27 06:09:46 +000066 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
67 in the LIBMTP_Update_Track_Metadata() function, there are
68 obviously devices that do not support this, but only
69 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
70 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +000071 atleast reported correctly now.
72
Richard Low4eb01122007-02-24 10:11:32 +0000732007-02-24 Richard Low <richard@wentnet.com>
74
75 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
76 write issues
77
Linus Walleij039d1dd2007-02-23 22:34:07 +0000782007-02-23 Linus Walleij <triad@df.lth.se>
79
80 * src/libmtp.c: Undeprecate getting first device code.
81
Richard Low0f794762007-02-23 22:06:27 +0000822007-02-23 Richard Low <richard@wentnet.com>
83
84 * src/libmtp.c: Fix crash when no devices connected
85
tedbullock2b45f2e2007-02-23 20:16:37 +0000862007-02-23 Ted Bullock <tbullock@canada.com>
87
88 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +000089 * src/libusb-glue.c: Remove old uni-device cruft code
90 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +000091 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
92 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +000093
tedbullock20eb8202007-02-23 00:33:36 +0000942007-02-22 Ted Bullock <tbullock@canada.com>
95
96 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +000097 * examples/tracks.c: Updated to use new multi device code
98 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +000099
tedbullocke7713642007-02-18 23:10:09 +00001002007-02-18 Ted Bullock <tbullock@canada.com>
101
102 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +0000103 to wrap around the multi device API. Also added deprecation
104 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +0000105
Richard Lowd284f072007-02-17 08:52:41 +00001062007-02-17 Richard Low <richard@wentnet.com>
107
Richard Low02724f62007-02-17 09:47:26 +0000108 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +0000109 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
110 memory
Richard Low02724f62007-02-17 09:47:26 +0000111 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +0000112
rreardonbc730092007-02-15 14:32:20 +00001132007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +0000114
115 * src/libmtp.c: Fix a segfault in new error handling code.
116
Linus Walleij68b19c02007-02-15 11:50:37 +00001172007-02-15 Linus Walleij <triad@df.lth.se>
118
119 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +0000120 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
121 * examples/playlists.c: LGPL boilerplate.
122 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
123 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
124 Shaun, Enrique.
125 * examples/thumb.c: LGPL boilerplate, crediting Robert.
126 * examples/tracks.c: LGPL boilerplate.
127 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +0000128
tedbullock69a445b2007-02-15 07:41:04 +00001292007-02-15 Ted Bullock <tbullock@canada.com>
130
131 * examples/folders.c: Updated to use new multi device code
132 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +0000133 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
134 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +0000135
tedbullock0f033cb2007-02-14 20:56:54 +00001362007-02-14 Ted Bullock <tbullock@canada.com>
137
Linus Walleij57c2eff2007-02-15 12:02:04 +0000138 * src/libusb-glue.c: Wrote three new recursive functions to avoid
139 extreme levels of multiple indirection and to clean the code up
140 a bit for multiple devices.
141 * examples/detect.c: Adjusted function calls to use new multiple
142 device code.
tedbullock0f033cb2007-02-14 20:56:54 +0000143 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
144
Linus Walleij2d3f7b82007-02-14 09:24:20 +00001452007-02-12 Ted Bullock <tbullock@canada.com>
146
147 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +0000148 LIBMTP_Get_Connected_Devices) to add support for multiple devices
149 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000150 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +0000151 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000152 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
153 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
154
Linus Walleij2a1e3a42007-02-12 08:18:31 +00001552007-02-09 Ted Bullock <tbullock@canada.com>
156
157 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +0000158 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000159
Linus Walleij7b7a0e22007-02-05 18:22:27 +00001602007-02-05 Linus Walleij <triad@df.lth.se>
161
162 * src/libmtp.h.in: LGPL boilerplate.
163 * src/libusb-glue.h: LGPL boilerplate.
164 * src/unicode.h: LGPL boilerplate.
165 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +0000166 * examples/albumart.c: LGPL boilerplate, crediting Andy.
167 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
168 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
169 * examples/common.h: LGPL boilerplate.
170 * examples/albums.c: LGPL boilerplate, crediting Chris.
171 * examples/connect.c: LGPL boilerplate, crediting Chris.
172 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
173 * examples/detect.c: LGPL boilerplate.
174 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
175 * examples/files.c: LGPL boilerplate.
176 * examples/folders.c: LGPL boilerplate.
177 * examples/format.c: LGPL boilerplate.
178 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
179 * examples/getplaylist.c: LGPL boilerplate.
180 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
181 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000182
Linus Walleija8a19cc2007-02-02 22:13:17 +00001832007-02-02 Linus Walleij <triad@df.lth.se>
184
185 * src/ptp.c: sync upstream.
186 * src/ptp.h: dito.
187 * src/ptp-pack.c: dito.
188 * src/libmtp.c: make changes necessary to handle
189 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +0000190 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +0000191 clean-up functions. Fix LGPL boilerplate text.
192 * src/unicode.c: Fix LGPL boilerplate text.
193 * src/utils.c: Fix LGPL boilerplate text.
194 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +0000195
Linus Walleij550d6d52007-01-24 14:32:51 +00001962007-01-24 Ted Bullock <tbullock@canada.com>
197
198 * src/libusb-glue.c: new function to retrieve multiple device
199 instances.
200 * src/libusb-glue.h: dito.
201 * src/libmtp.h.in: new error codes.
202
Linus Walleij070e9b42007-01-22 08:49:28 +00002032007-01-22 Linus Walleij <triad@df.lth.se>
204
205 * examples/albumart.c: use the new errostack.
206 * examples/delfile.c: dito.
207 * examples/detect.c: dito.
208 * examples/emptyfolders.c: dito.
209 * examples/format.c: dito.
210 * examples/getfile.c: dito.
211 * examples/getplaylist.c: dito.
212 * examples/newfolder.c: dito.
213 * examples/newplaylist.c: dito.
214 * examples/playlists.c: dito.
215 * examples/sendfile.c: dito.
216 * examples/sendtr.c: dito.
217 * examples/thumb.c: dito.
218 * src/libmtp.c: add some errors to the stack so we can
219 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000220 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
221 function into this file cause it only return USB devices
222 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
223 (but let's not do that renaming since it would break the API).
224 For now let's understand this is a USB-only function by
225 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000226
2272007-01-22 Ted Bullock <tbullock@canada.com>
228
229 * src/libusb-glue.c: first hack at creating an interface
230 to retrieve multiple devices.
231 * src/libmtp.h.in: new error codes related to multiple devices.
232
Richard Low7059ed42007-01-21 09:33:34 +00002332007-01-21 Richard Low <richard@wentnet.com>
234
235 * src/libusb-glue.c: more new devices
236
Linus Walleij2715c442007-01-20 22:35:29 +00002372007-01-20 Linus Walleij <triad@df.lth.se>
238
239 * src/libmtp.h.in: error stack handling like in libnjb.
240 just bare bones implementation as of now but the idea
241 should be clearly visible. TODO: add a plethora of
242 errors and adjust examples to make use of the error
243 stack.
244 * src/libmtp.c: dito.
245
Richard Lowa98d0542007-01-20 12:31:07 +00002462007-01-20 Richard Low <richard@wentnet.com>
247
248 * src/libusb-glue.c: new device 'Philips PSA235'
249
Linus Walleij85a4c032007-01-16 20:42:18 +00002502007-01-16 Linus Walleij <triad@df.lth.se>
251
252 * configure.ac: bump and release 0.1.3.
253 * src/Makefile.am: bump interface REVISION. Nothing changed
254 externally really.
255
Linus Walleijd85d2bb2007-01-11 21:32:48 +00002562007-01-11 Linus Walleij <triad@df.lth.se>
257
258 * src/libmtp.sym: updated symbol table for mingw32 but does
259 anyone use this? Also I believe one could auto-generate
260 this some way, just haven't figured out how... Perhaps with
261 a funky script that massage libmtp.h if nothing else.
262
Richard Low4df32f82007-01-11 20:04:39 +00002632007-01-11 Richard Low <richard@wentnet.com>
264
265 * src/libusb-glue.c: a zero read fix
266 * src/libmtp.c: fix spelling mistake
267
Linus Walleijc49c6372007-01-09 00:18:51 +00002682007-01-09 Linus Walleij <triad@df.lth.se>
269
270 * src/libusb-glue.c: repair callbacks, structure the code just
271 a little bit.
272 * src/libmtp.c: don't assign values to writes or reads, use the
273 PTP transport intrinsics instead.
274
Linus Walleij15af8532007-01-07 12:45:20 +00002752007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
276
277 * src/ptp.h: Encoding profile.
278 * src/ptp.c: Dito.
279
Linus Walleij58b62792007-01-07 12:38:59 +00002802006-01-07 Linus Walleij <triad@df.lth.se>
281
282 * src/libusb-glue.c: (re)introduce de-halting of endpoints
283 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000284 this causes problems for other archs! Problem was reported
285 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000286
Linus Walleija0323272007-01-07 12:21:30 +00002872006-01-07 Marcus Meissner <meissner@suse.de>
288
289 * src/ptp.c: sync to upstream libgphoto2.
290 * src/ptp.h: dito.
291 * src/ptp-pack.c: dito.
292 * libusb-glue.c: fixes to move low-level functions
293 out of ptp.c and into this libmtp-specific portion.
294 libgphoto2 has been similarly altered to use a usb.c
295 file for the low-level stuff. (This was a long needed
296 split anyway.)
297
Linus Walleij58b62792007-01-07 12:38:59 +00002982007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000299
300 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000301 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000302
Linus Walleij99ed83c2007-01-02 18:46:02 +00003032007-01-02 Linus Walleij <triad@df.lth.se>
304
305 * src/libusb-glue.c: fix up comments, remove things
306 refering to stuff we don't have.
307
Richard Lowb89ea942007-01-02 11:47:19 +00003082007-01-02 Richard Low <richard@wentnet.com>
309
310 * src/libmtp.c: another try at split headers/packet sizes
311 * src/ptp.c: ditto
312 * src/libusb-glue.c: ditto
313
Linus Walleijc70a6df2007-01-01 22:19:08 +00003142007-01-01 Linus Walleij <triad@df.lth.se>
315
316 * src/libmtp.c: move default setting of split headers
317 off to ptp.c open session.
318 * src/ptp.c: dito.
319
Richard Low021421e2007-01-01 18:08:57 +00003202007-01-01 Richard Low <richard@wentnet.com>
321
322 * src/libmtp.c: split headers/packet size fix
323 * src/ptp.c: ditto
324 * src/ptp.h: ditto
325 * src/libusb-glue.c: ditto
326
Linus Walleijfa2d1d12007-01-01 17:08:13 +00003272007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
328
329 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
330 addition of AAVT error codes.
331 * src/ptp.c: changes to reflect modifications done in ptp.h
332
Linus Walleija5ab8c42006-12-31 09:25:36 +00003332006-12-31 Linus Walleij <triad@df.lth.se>
334
335 * configure.ac: bump to 0.1.2.
336 * src/Makefile.am: bump interface revision. (Compatible.)
337 * RELEASE 0.1.2.
338
Linus Walleij02ee8802006-12-30 17:27:58 +00003392006-12-30 Linus Walleij <triad@df.lth.se>
340
341 * examples/pathutils.c: reflect new filetypes.
342 * examples/sendtr.c: dito.
343
Linus Walleij5fb47132006-12-30 15:35:48 +00003442006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
345
346 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
347 codes. added more format object codes flac, m4a, 3gp, aac,
348 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
349 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
350 Added more device property codes.
351 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
352 * src/ptp.c: added changes to reflect new extensions, object
353 codes, device property codes.
354 * src/libmtp.c: modified mp4 to reflect it is a container format
355 not a codec. Added more descriptions in init_filemap(). mp4
356 container format is ambiguous in
357 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
358 mp4 searched in video by default. Added comments about this.
359 Added support for the new format object types.
360 * src/libmtp.h.in: added constants to reflect changes to
361 init_filemap().
362
Richard Lowedd61832006-12-30 12:38:18 +00003632006-12-30 Richard Low <richard@wentnet.com>
364
365 * src/libusb-glue.c: fixed bug in debug printing
366
Richard Lowa6c924c2006-12-29 17:44:28 +00003672006-12-29 Richard Low <richard@wentnet.com>
368
369 * src/libmtp.c: Made abstract list creation to be more
370 WMP like
371 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +0000372 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +0000373
Linus Walleij784ac3f2006-12-29 10:36:51 +00003742006-12-29 Marcus Meissner <meissner@suse.de>
375
376 * src/ptp.h: API changes for libgphoto2 to use the file
377 retrieveal functions.
378 * src/ptp.c: dito.
379 * src/libusb-glue.c: changes in libmtp reflecting the new
380 API for libgphoto2.
381
Linus Walleij8609af32006-12-28 21:25:17 +00003822006-12-28 Linus Walleij <triad@df.lth.se>
383
Linus Walleije2e21182006-12-28 22:36:59 +0000384 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000385 * src/Makefile.am: bump interface for release, also autotools.
386 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000387
Linus Walleijd6735f72006-12-19 13:38:29 +00003882006-12-19 Matthew Wilcox <matthew@wil.cx>
389
390 * src/ptp.c: fix a (serious) short file bug.
391
Richard Lowaf20b5d2006-12-17 18:00:59 +00003922006-12-17 Richard Low <richard@wentnet.com>
393
394 * src/libmtp.c: don't bail out on failures when setting
395 metadata.
396
Linus Walleij037a1252006-12-16 20:36:52 +00003972006-12-16 Linus Walleij <triad@df.lth.se>
398
399 * src/ptp.c: sync to upstream.
400 * src/ptp.h: dito.
401 * src/ptp-pack.c: dito.
402
Linus Walleijf8491912006-12-15 10:23:30 +00004032006-12-15 Linus Walleij <triad@df.lth.se>
404
405 * src/libmtp.h.in: make the format function take a storage as
406 parameter. Add comments to device storage.
407 * src/libmtp.c: dito, fix up some code and docs.
408 * examples/format.c: make the format command comply with
409 the new API.
410
Linus Walleije1ac07e2006-12-14 19:38:59 +00004112006-12-14 Linus Walleij <triad@df.lth.se>
412
413 * src/libmtp.c: make get_first_storage_freespace() always query
414 the first storage when the space is requested. And some other
415 janitorial stuff.
416
Linus Walleijb01d18b2006-12-13 12:49:15 +00004172006-12-13 Linus Walleij <triad@df.lth.se>
418
419 * src/libusb-glue.c: one more device.
420 * examples/detect.c: compilation warnings fixed.
421
rreardon3d583062006-12-13 10:10:27 +00004222006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
423
424 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
425 * src/ptp.h: ditto.
426
Linus Walleijcd849362006-12-13 12:37:58 +00004272006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000428
429 * src/libmtp.h.in: revamped storage API.
430 * src/libmtp.c: dito.
431 * examples/detect.c: dito.
432
rreardon73d02c92006-12-12 16:45:30 +00004332006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000434
435 * src/libmtp.c: Send_Representative_Sample() updated to
436 set image height and width, or audio duration and size.
437
Linus Walleijd0f67702006-12-07 09:56:46 +00004382006-12-07 Linus Walleij <triad@df.lth.se>
439
Linus Walleija05b9802006-12-08 08:50:30 +0000440 * src/libmtp.h.in: support firmware object type. (Dangerous.)
441 * src/libmtp.c: dito.
442
4432006-12-07 Linus Walleij <triad@df.lth.se>
444
Linus Walleijd0f67702006-12-07 09:56:46 +0000445 * src/libmtp.c: default text folder detection (used in Samsung
446 Yepp T9) also add a few "My Foo" folder strings, remove the
447 "remaining directories" kludge.
448 * src/libmtp.h.in: default text folder.
449
Linus Walleijf1b02f22006-12-06 09:03:23 +00004502006-12-06 Linus Walleij <triad@df.lth.se>
451
452 * src/libmtp.h.in: extend the respresentative sample API a bit.
453 * src/libmtp.c: dito.
454 * examples/albumart.c: free memory after use.
455 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000456 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000457
Linus Walleijfdef4ae2006-12-05 16:15:51 +00004582006-12-04 Linus Walleij <triad@df.lth.se>
459
460 * src/ptp.c: enable split headers on sending object lists again.
461
4622006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000463
464 * src/libmtp.c: abstract Send_Representative_Sample() so
465 it can send samples for any format that supports it
466 * src/libmtp.h.in: same as above
467 * examples/albumart.c: altered to use new abstract function above
468 * example/thumb.c: sample program to upload thumbnails
469 * example/Makefile.am: add sample thumbnail program
470
Linus Walleijbdfaac22006-12-03 22:32:19 +00004712006-12-03 Linus Walleij <triad@df.lth.se>
472
473 * src/libmtp.c: check space on disk before sending
474 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000475 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
476 into LIBMTP_Send_Representative_Sample().
477 * src/libmtp.c: dito.
478 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000479
Linus Walleijfa3fbe32006-12-02 20:47:32 +00004802006-12-02 Marcus Meissner <meissner@suse.de>
481
482 * examples/Makefile.am: make sure symlinks really end
483 up in the correct dir.
484
Linus Walleij6eab3b32006-11-30 22:58:21 +00004852006-11-30 Linus Walleij <triad@df.lth.se>
486
487 * src/ptp.c: make Matthews patch thread-safe and fix it
488 so it will handle more than one surplus packet.
489 * src/ptp.h: dito.
490
Richard Lowab0d22d2006-11-30 22:17:49 +00004912006-11-30 Richard Low <richard@wentent.com>
492
493 * src/libmtp.c: memset PTPObjectInfo structs to 0
494
Linus Walleij4bf38dd2006-11-30 21:27:29 +00004952006-11-30 Matthew Wilcox <matthew@wil.cx>
496
497 * src/ptp.c: on some devices, surplus packet data is
498 sometimes returned during read, i.e. a header of the
499 next package is typically attacked to the incoming
500 data, as if someone was sending several packets at
501 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000502 * src/libusb-glue.c: revert my own mistakes by making
503 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000504
Linus Walleij9901e222006-11-30 12:28:19 +00005052006-11-30 Linus Walleij <triad@df.lth.se>
506
Linus Walleij2978f1a2006-11-30 14:00:26 +0000507 * configure.ac: this *is* gonna be libmtp 0.1.0!
508 * src/Makefile.am: age interface to 4-0-0 to indicate that
509 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000510 * src/libmtp.h.in: removed external object interface.
511 * src/libmtp.c: dito. Made all object manipulation functions
512 static.
513
Richard Lowc7d48d22006-11-29 18:24:55 +00005142006-11-29 Richard Low <richard@wentnet.com>
515
516 * src/libusb-glue.c: added new devices
517
Linus Walleij7beba572006-11-29 08:56:12 +00005182006-11-29 Linus Walleij <triad@df.lth.se>
519
520 * src/libusb-glue.c: remove some pointless #include <>
521 clutter, call usb_set_configuration() as needed by
522 Windows.
523 * src/libmtp.c: various fixups to enable use of Windows
524 <io.h> include file.
525 * README.windows.txt: added a quick porting guide for
526 MSVC by Farooq Zaman.
527
Linus Walleijcf42f452006-11-28 08:32:49 +00005282006-11-28 Linus Walleij <triad@df.lth.se>
529
530 * src/libmtp.h.in: removed filetype mapping API. We can handle
531 everything inside of libmtp now so no need for this.
532 * src/libmtp.c: dito.
533
Linus Walleij72e9c2b2006-11-28 08:14:00 +00005342006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000535
536 * examples/files.c: unsigned int sized printout.
537 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000538 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000539
Richard Low6c0a6ce2006-11-26 10:42:08 +00005402006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000541
Richard Low6c0a6ce2006-11-26 10:42:08 +0000542 * src/libmtp.c: object handles for proplists
543 * src/ptp-pack.c: ditto
544 * src/ptp.c: ditto
545 * src/ptp.h: ditto
546
Linus Walleijf73de152006-11-25 21:44:44 +00005472006-11-25 Marcus Meissner <marcus@jet.franken.de>
548
549 * examples/hotplug.c: adding HAL style XML output for
550 the devices.
551 * examples/Makefile.am: fixing a bug in the automake
552 file (pathutils.h missing!)
553 * Makefile.am: fix the problem with re-making sources
554 (you had to run ./autogen.sh before!)
555
Linus Walleijfe677ac2006-11-23 13:35:00 +00005562006-11-23 Linus Walleij <triad@df.lth.se>
557
558 * src/libusb-glue.h: add a new bug flag for devices that
559 have broken PTP_OC_MTP_GetObjPropList implementations.
560 * src/libusb-glue.c: state that all iRivers have this problem.
561 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
562 for these devices.
563
5642006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000565
566 * src/libmtp.c: set handle ids for new objects to 0 when
567 creating new albums and playlists.
568
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00005692006-11-21 Linus Walleij <triad@df.lth.se>
570
571 * src/libmtp.c: enabled enhanced mode for metadata retrieval
572 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000573 * src/libmtp.c: fixed the problem with sending files using
574 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000575
Linus Walleij277cd532006-11-20 14:57:46 +00005762006-11-20 Linus Walleij <triad@df.lth.se>
577
578 * src/ptp.h: sync to upstream libgphoto2
579 * src/ptp.c: dito.
580 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000581 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000582
5832006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000584
585 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
586 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000587 * examples/emptyfolders.c: new example program for pruning empty
588 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000589
Linus Walleij277cd532006-11-20 14:57:46 +00005902006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000591
rreardonbbb4e562006-11-19 22:16:11 +0000592 * src/libmtp.c: use enhanced MTP commands to create playlists and
593 send files
rreardon508705f2006-11-19 21:27:22 +0000594 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000595 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000596
Linus Walleijcd849362006-12-13 12:37:58 +00005972006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000598
599 * src/libusb-glue.c: fix error on reconnect.
600
Linus Walleij277cd532006-11-20 14:57:46 +00006012006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000602
603 * src/ptp.c: tidy up ptp_usb_getdata
604
Linus Walleij277cd532006-11-20 14:57:46 +00006052006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000606
607 * src/libmtp.c: fixed parent handle for uploaded tracks
608
Linus Walleij277cd532006-11-20 14:57:46 +00006092006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000610
611 * src/libmtp.c: fixed up album art using enhanced commands.
612
Linus Walleij277cd532006-11-20 14:57:46 +00006132006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000614
615 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
616 * src/ptp.c: ditto
617 * src/ptp.h: ditto
618 * src/ptp-pack.c: ditto
619
Linus Walleij277cd532006-11-20 14:57:46 +00006202006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000621
Linus Walleijccf28ce2006-11-16 16:06:38 +0000622 * src/libmtp.c: use enhanced MTP commands to create albums and
623 add detection of the default album folder.
624 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000625
Linus Walleij277cd532006-11-20 14:57:46 +00006262006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000627
628 * src/ptp-pack.c: set string buffer to correct size.
629
Linus Walleij277cd532006-11-20 14:57:46 +00006302006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000631
632 * examples/tracks.c: really use undeprecated API entry.
633
Linus Walleij277cd532006-11-20 14:57:46 +00006342006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000635
636 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000637 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000638 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000639 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000640 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000641 * examples/connect.c: ditto.
642 * examples/detect.c: ditto.
643 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000644 * src/ptp.c: working on getting object prop lists.
645 * src/ptp.h: dito.
646
Linus Walleij277cd532006-11-20 14:57:46 +00006472006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000648
649 * src/libusb-glue.c: added Zen Vision W to devices
650
Linus Walleij277cd532006-11-20 14:57:46 +00006512006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000652
653 * src/libmtp.c: added checks for supported properties
654
Linus Walleij277cd532006-11-20 14:57:46 +00006552006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000656
657 * src/libmtp.c: added a check for NULL filenames in
658 LIBMTP_Get_Folder_List.
659
Linus Walleij99310d42006-11-01 08:29:39 +00006602006-11-01 Linus Walleij <triad@df.lth.se>
661
662 * src/libmtp.h.in: set/get uint8 to/from objects
663 * src/libmtp.c: send object property list.
664 * src/ptp.c: dito.
665 * src/ptp.h: dito.
666 * src/ptp-pack.c: dito.
667
mopoke90be30e2006-10-30 08:47:41 +00006682006-10-29 Andy Kelk <andy@mopoke.co.uk>
669
670 * examples/albumart.c: simple tool for adding album art.
671 * src/libmtp.c: graceful handling of players not supporting
672 abstract album objects.
673
Linus Walleij0c33ec02006-10-27 10:15:40 +00006742006-10-27 Linus Walleij <triad@df.lth.se>
675
676 * src/Makefile.am: bump library interface to reflect the new
677 album methods.
678 * configure.ac: bump to 0.0.22 for the next release.
679
6802006-10-27 Andy Kelk <andy@mopoke.co.uk>
681
682 * src/libmtp.c: add support form abstract audio/video albums.
683 * src/libmtp.h.in: dito.
684
Linus Walleij7347d0f2006-10-23 07:23:39 +00006852006-10-23 Linus Walleij <triad@df.lth.se>
686
687 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
688 * src/ptp.c: sync to upstream.
689 * src/ptp.h: dito.
690 * src/ptp-pack.c: dito.
691
Linus Walleij9efe75f2006-10-20 09:09:45 +00006922006-10-20 Linus Walleij <triad@df.lth.se>
693
694 * Release 0.0.21 to get all the new device support out.
695
Linus Walleij501ba4d2006-10-16 06:17:04 +00006962006-10-16 Linus Walleij <triad@df.lth.se>
697
698 * configure.ac: bump to 0.0.21.
699 * src/libusb-glue.c: add code to unload a kernel driver for
700 the primary interface if it is already in use under Linux.
701 * src/libusb-glue.h: add a device flag to make this possible.
702
Linus Walleij37253292006-10-11 08:38:14 +00007032006-10-11 Linus Walleij <triad@df.lth.se>
704
705 * examples/delfile.c: patch from Chris Debenham
706 straingtening out the command-line interface a bit
707 more.
708
Linus Walleij43ff8fc2006-10-10 11:16:53 +00007092006-10-10 Linus Walleij <triad@df.lth.se>
710
Linus Walleij37253292006-10-11 08:38:14 +0000711 * examples/delfile.c: patch from Chris Debenham to make
712 this command take an optional filename as parameter
713 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000714
Linus Walleij955e6ba2006-09-26 16:55:10 +00007152006-09-26 Linus Walleij <triad@df.lth.se>
716
717 * libmtp.pc.in: require libusb instead of just linking it.
718 * configure.ac: bump release to 0.0.20 and release.
719
Linus Walleijb1318d12006-09-25 14:59:26 +00007202006-09-25 Linus Walleij <triad@df.lth.se>
721
722 * examples/evolution-sync.sh: example script to illustrate
723 to to transfer calendar, task and contact information
724 to a device supporting this.
725
Linus Walleij4ef39e62006-09-19 14:11:52 +00007262006-09-19 Linus Walleij <triad@df.lth.se>
727
728 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
729 * src/libmtp.c: dito.
730 * examples/sendfile.c: support vcard3.
731
Linus Walleijf248fdd2006-09-16 20:11:40 +00007322006-09-16 Linus Walleij <triad@df.lth.se>
733
734 * configure.ac: bump to 0.0.19 and release. There are some
735 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000736 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000737
Linus Walleijb8bfcb22006-09-13 12:14:28 +00007382006-09-13 Linus Walleij <triad@df.lth.se>
739
740 * examples/format.c: formatting test program.
741 * examples.Makefile.am: added format.
742
Linus Walleij13374a42006-09-13 11:55:30 +00007432006-09-13 Andy Kelk <andy@mopoke.co.uk>
744
745 * src/libmtp.h.in: added interface to format storage.
746 * src/libmtp.c: dito.
747 * src/ptp.c: dito.
748 * src/ptp.h: dito.
749
Linus Walleijd31e6192006-09-12 07:55:27 +00007502006-09-12 Linus Walleij <triad@df.lth.se>
751
752 * configure.ac: bump release. Released 0.0.18 yesterday.
753 * src/libmtp.c: do not try to read battery max level unless
754 the device supports it. (Bug occurred on Toshiba Gigabeat
755 P10.)
756
Linus Walleijd5d51c82006-09-11 06:57:50 +00007572006-09-11 Linus Walleij <triad@df.lth.se>
758
759 * src/libusb-glue.c: messed around a bit with device descriptor
760 detection so as to bring closer to libgphoto2 detection algorithm.
761 I've seen things that might be false positives, possibly USB mass
762 storage devices with additional MSFT descriptors to indicate they
763 have Janus DRM.
764 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
765 knows that UCS-2 is in machine endianness but Darwin and *BSD does
766 not. Detect C library and switch accordingly.
767 * src/unicode.c: retire old unicode code only keep things we cannot
768 live without. Remove the own internal UCS-2 conversion engine and
769 the internal iconv() engine and use the one already available in
770 PTPParams.
771 * src/unicode.h: dito.
772
Linus Walleij0558ac52006-09-07 06:55:03 +00007732006-09-07 Linus Walleij <triad@df.lth.se>
774
775 * src/libusb-glue.h: added device flags so we can make
776 the code behave differently on certain devices.
777 * src/libusb-glue.c: dito, plus removed some debug prints.
778 * src/libmtp.c: docs.
779 * src/libmtp.h.in: added device_flags to device list struct.
780 * src/Makefile.am: bumped to compatible library interface.
781 * configure.ac: bump version to 0.0.18 (0.0.17 released
782 yesterday).
783
Richard Low6ec2cc12006-09-06 16:59:16 +00007842006-09-06 Richard Low <richard@wentnet.com>
785
786 * src/libusb-glue.c: changed packet sizes to improve
787 transfer speeds.
788 * src/libmtp.c: changed packet sizes to improve transfer
789 transfer speeds. Also stopped extra ptp_getobjectinfo
790 calls when getting directories on connect.
791
Linus Walleij7f0c72e2006-09-06 13:01:58 +00007922006-09-06 Linus Walleij <triad@df.lth.se>
793
794 * src/libusb-glue.c: fixed some endpoint size detection
795 and sending special file sizes stuff. Real hairy bug...
796 Also messed around a bit with the callbacks.
797 * src/libmtp.c: changes for callback size detection.
798
Linus Walleija9310fa2006-09-04 06:47:42 +00007992006-09-04 Linus Walleij <triad@df.lth.se>
800
801 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
802 instead of magic values.
803
Linus Walleijd7aa5b22006-09-02 11:52:31 +00008042006-09-02 Linus Walleij <triad@df.lth.se>
805
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000806 * src/libmtp.c: add some code to have
807 LIBMTP_Send_File_From_File_Descriptor() accept a stream
808 if size is set to (uint64_t) -1, plus documentation fixes.
809 I don't think the streaming code will work but whoever want
810 to experiment with it has a place to start.
811 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000812
Linus Walleijda9500d2006-08-30 13:17:06 +00008132006-08-30 Linus Walleij <triad@df.lth.se>
814
815 * configure.ac: version bump.
816 * src/libmtp.c: more debug prints.
817 * src/libusb-glue.c: new iRiver device called Clix. By
818 the way I released libmtp 0.0.16 yesterday.
819
Linus Walleija823a702006-08-27 21:27:46 +00008202006-08-28 Linus Walleij <triad@df.lth.se>
821
822 * configure.ac: version bump.
823 * src/ptp-pack.c: upstream has committed my patch giving full
824 unicode support in libgphoto2 ptp2 camlib. No need for
825 any more ugly workarounds, plus we now have full unicode
826 filenames!
827 * src/ptp.c: dito.
828 * src/ptp.h: dito.
829 * src/libmtp.c: revamp to use the new unicode support in
830 libgphoto2.
831 * src/unicode.c: remove unused functionality.
832 * src/unicode.h: dito.
833
Linus Walleijee73ef22006-08-27 19:56:00 +00008342006-08-27 Linus Walleij <triad@df.lth.se>
835
836 * configure.ac: version bump. Release all these fixes
837 as 0.0.15.
838 * src/libusb-glue.c: fixed sucky errors. Added callback
839 code when reading files.
840 * src/libusb-glue.h: const correctness.
841 * src/libmtp.h.in: finally fixup the type on the callbacks.
842 * src/libmtp.c: more accurate sending callbacks. Callbacks
843 when getting files also, working correctly. Typeing of
844 callbacks now OK.
845 * examples/getfile.c: some display bar cosmetic fixup.
846 * TODO: lots of the things todo are now done.
847
Linus Walleijd214b9b2006-08-26 22:08:37 +00008482006-08-26 Linus Walleij <triad@df.lth.se>
849
850 * configure.ac: version bump.
851 * src/libmtp.c: fix bug and reinstate callbacks.
852 * src/libusb-glue.h: dito.
853 * src/libusb-glue.c: dito.
854
Linus Walleije7f44be2006-08-25 19:32:29 +00008552006-08-25 Linus Walleij <triad@df.lth.se>
856
857 * src/libmtp.c: use the new file descriptor sender function.
858 Going to release this as 0.0.13.
859 * src/ptp.c: upstream accepted patches synced in.
860 * src/ptp.h: dito.
861
Linus Walleijeab650b2006-08-21 23:26:37 +00008622006-08-22 Linus Walleij <triad@df.lth.se>
863
Linus Walleij80d134a2006-08-22 21:41:37 +0000864 * src/libusb-glue.c: found a real nasty endpoint bug,
865 code from libgphoto2 was assuming max packet size of
866 512 bytes while it is 64 when a USB 2.0 device is
867 plugged into an UHCI hub.
868
8692006-08-22 Linus Walleij <triad@df.lth.se>
870
Linus Walleijeab650b2006-08-21 23:26:37 +0000871 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
872
Linus Walleij924236a2006-08-20 22:17:58 +00008732006-08-21 Linus Walleij <triad@df.lth.se>
874
875 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000876 as result of experiments by Gavin McCullagh. Upstream
877 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000878 Move iconv() converters into device struct for thread
879 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000880 * src/ptp.c: sync to upstream which merges patch to get
881 file directly to file descriptor.
882 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000883 * src/unicode.c: move iconv() converters into the device
884 struct for thread safety.
885 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000886
Linus Walleij30658792006-08-19 22:18:55 +00008872006-08-20 Linus Walleij <triad@df.lth.se>
888
889 * src/libmtp.h.in: set friendly name and sync partner,
890 rename ownername to friendlyname.
891 * src/libmtp.c: dito.
892 * examples/detect.c: reflect changes.
893 * src/Makefile.am: interface is incompatible so age it.
894
Linus Walleijfae27482006-08-19 20:13:25 +00008952006-08-19 Linus Walleij <triad@df.lth.se>
896
897 * src/libmtp.h.in: add function to get syncronization
898 partner for the device.
899 * src/libmtp.c: dito.
900 * examples/detect.c: use that function.
901 * src/Makefile.am: backward-compatible interface bump.
902
Linus Walleij16571dc2006-08-17 20:27:46 +00009032006-08-17 Linus Walleij <triad@df.lth.se>
904
905 * configure.ac: bump to 0.0.12 and require iconv.h.
906
9072006-08-16 Linus Walleij <triad@df.lth.se>
908
909 * src/unicode.c: remove bigendian weirdness and switch
910 to using iconv() instead.
911 * src/unicode.h: dito.
912 * src/libmtp.c: reflect changes.
913
Linus Walleij3e188f12006-08-09 20:46:05 +00009142006-08-09 Linus Walleij <triad@df.lth.se>
915
916 * Release libmtp 0.0.11.
917
Linus Walleij2eb884b2006-08-04 19:17:36 +00009182006-08-04 Linus Walleij <triad@df.lth.se>
919
920 * src/libmtp.c: patch from Dan Aloni to make sendfile
921 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000922 * src/libusb-glue.c: patch from Andy Kelk to avoid
923 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000924 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000925
Linus Walleijaa4b0752006-07-26 22:21:04 +00009262006-07-27 Linus Walleij <triad@df.lth.se>
927
928 * Release libmtp 0.0.10.
929
Linus Walleij17b55ea2006-07-26 13:54:00 +00009302006-07-26 Linus Walleij <triad@df.lth.se>
931
932 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000933 * src/libmtp.c: only set metdata properties supported by
934 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000935 * src/ptp.c: sync to upstream.
936 * src/ptp.h: sync to upstream.
937 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000938
Linus Walleijc187cb92006-06-22 17:58:13 +00009392006-06-22 Linus Walleij <triad@df.lth.se>
940
941 * Release libmtp 0.0.9.
942
Linus Walleij8ab54262006-06-21 07:12:28 +00009432006-06-21 Linus Walleij <triad@df.lth.se>
944
945 * src/libmtp.h.in: added function to retrieve supported
946 filetypes.
947 * src/libmtp.c: ditto.
948 * examples/detect.c: use that function.
949
Linus Walleijcf223e62006-06-19 09:31:53 +00009502006-06-19 Linus Walleij <triad@df.lth.se>
951
952 * src/unicode.c: support all endianness, detect
953 byte-order-mark
954 * src/unicode.h: ditto.
955 * src/libmtp.c: ditto.
956 * examples/detect.c: use proper tempfile function.
957 * src/libmtp.h.in: add some more track properties.
958 * src/libmtp.c: ditto.
959 * examples/tracks.c: ditto.
960
Linus Walleij2e4b5f92006-06-16 14:00:49 +00009612006-06-16 Linus Walleij <triad@df.lth.se>
962
963 * src/libmtp.h.in: new interfaces for single metadata post
964 retrieveal.
965 * src/libmtp.c: ditto.
966 * examples/playlists.c: display track info using the new
967 individual track metadata retrieveal method.
968 * examples/getplaylist.c: ditto.
969
Linus Walleij05ccbe72006-06-13 07:46:58 +00009702006-06-13 Linus Walleij <triad@df.lth.se>
971
972 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000973 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000974 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000975 we can find them. Retrieve device secure time and cert
976 out of sheer curiosity.
977 * src/ptp.c: sync to libgphoto2 with my patches.
978 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000979
Linus Walleij438bd7f2006-06-08 11:35:44 +00009802006-06-07 Linus Walleij <triad@df.lth.se>
981
982 * src/libmtp.h.in: new playlist API and refactorings.
983 * src/libmtp.c: ditto, and refactorings.
984 * src/unicode.h: const correctness.
985 * src/unicode.c: ditto.
986 * examples/playlists.c: new example program.
987 * configure.ac: bump to 0.0.9
988 * src/Makefile.am: bump library interface.
989
Linus Walleij52e3ac52006-06-05 10:30:00 +00009902006-06-05 Linus Walleij <triad@df.lth.se>
991
992 * examples/sendtr.c: fixed annoying bug that made this
993 program totally useless.
994 * src/libmtp.c: cosmetics.
995 * configure.ac: bump to 0.0.8.
996
Linus Walleij345a3372006-06-03 20:55:25 +00009972006-06-03 Linus Walleij <triad@df.lth.se>
998
999 * src/libmtp.c: metadata bugs, album name and genre
1000 confused. Fixe it and released libmtp 0.0.7.
1001
Linus Walleijdc09dc02006-06-01 14:23:41 +000010022006-06-01 Linus Walleij <triad@df.lth.se>
1003
1004 * Released libmtp 0.0.6.
1005
Linus Walleij549ec4d2006-05-31 19:59:52 +000010062006-05-31 Linus Walleij <triad@df.lth.se>
1007
1008 * src/libmtp.c: fixed mapping for JPEG vs JFIF
1009 * src/libmtp.h.in: added proper type for JPEG
1010 * examples/sendfile.c: send proper JPEG type
1011
Linus Walleijd3fdd972006-05-30 15:51:37 +000010122006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
1013
1014 * src/libmtp.c: fixed a bug in update metadata due to
1015 bad use of return code.
1016 * src/libusb-glue.c: fixed a loop exiting problem with
1017 good 'ol GOTO.
1018
Linus Walleij9b1fcd92006-05-29 08:35:29 +000010192006-05-29 Linus Walleij <triad@df.lth.se>
1020
1021 * src/libusb-glue.c: one more device.
1022 * doc/examples.h: produce correct documentation.
1023 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00001024 * src/ptp.c: sync to libgphoto2.
1025 * src/ptp.h: ditto.
1026 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00001027 * src/libmtp.c: fixed all filetype API related functions
1028 not to use any PTP intrinsic defines at all, made all
1029 parameters to functions use the internal libmtp interface
1030 enumerations and definitions. Removed LIBMTP_Release():
1031 we can live with the memory lost during init. You're not
1032 supposed to re-initialize the device. Consequently removed
1033 the delete function that cleaned the filetype assoc list.
1034 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001035
ravelox088180b2006-05-26 23:55:40 +000010362006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
1037
1038 * src/libmtp.c: refactored object handling to be more generic
1039 * src/libmtp.h.in: ditto
1040 * examples/refactortest.c: Added simple example to use refactoring
1041 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001042 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
1043 for playlist handling
1044 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00001045
Linus Walleij1fd2d272006-05-08 09:22:01 +000010462006-05-08 Linus Walleij <triad@df.lth.se>
1047
1048 * src/libmtp.h.in: add simple detection function.
1049 * src/libusb-glue.c: implement MTP "OS descriptor" for
1050 looking for MTP devices.
1051 * examples/detect.c: make it possible to do very
1052 rudimentary detection with "detect -p".
1053 * configure.ac: bump to 0.0.5.
1054
Linus Walleij685137f2006-05-07 18:09:02 +000010552006-05-07 Linus Walleij <triad@df.lth.se>
1056
1057 * COPYING: since we no longer use any parts of libptp2
1058 and only files from libgphoto2, we switch to the GNU
1059 Lesser General Public License (GNU LGPL). libptp2 is
1060 a derived work from libgphoto2, and so is libmtp, there
1061 are no remnants of libptp2 in libmtp anymore.
1062
Linus Walleij16c51f02006-05-04 13:20:22 +000010632006-05-04 Linus Walleij <triad@df.lth.se>
1064
1065 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00001066 * src/libmtp.c: respectfully rearranged to use a filetype mapping
1067 table.
1068 * src/ptp-pack.c: real nasty unicode packing bug.
1069 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00001070
Linus Walleijd6a49972006-05-02 08:24:54 +000010712006-05-02 Linus Walleij <triad@df.lth.se>
1072
1073 * src/libmtp.c: general shaping up for release. All track
1074 and file sending functions now respects a parent ID to be
1075 sent along with files and tracks.
1076 * src/libmtp.h.in: dito.
1077 * src/libusb-glue.c: dito.
1078 * examples/sendfile.c: interface dependency changes.
1079 * examples/sendtr.c: dito.
1080
Linus Walleijc60275a2006-04-30 10:58:11 +000010812006-04-30 Linus Walleij <triad@df.lth.se>
1082
1083 * src/ptp.c: sync upstream.
1084 * src/ptp.h: dito.
1085
Linus Walleij370c68d2006-04-27 14:19:01 +000010862006-04-27 Linus Walleij <triad@df.lth.se>
1087
1088 * examples/sendfile.c: first file sender program based
1089 on API implementation and changes by Chris Allegretta.
1090 * examples/Makefile.am: new program, new entry.
1091 * src/libmtp.c: reflect this new functionality.
1092 * src/libmtp.h.in: dito.
1093
Linus Walleijb02a0662006-04-25 08:05:09 +000010942006-04-25 Linus Walleij <triad@df.lth.se>
1095
1096 * Rebased the sources around libgphoto2 instead.
1097 This was a major revision...
1098 * src/ptp.c: imported libgphoto2 version verbatim.
1099 * src/ptp.h: imported libgphoto2 version, minor patch.
1100 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00001101 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00001102 * src/mtp.c: dropped, since all functions are now in ptp.c
1103 * src/mtp-pack.c: dropped, same reason.
1104 * src/mtp.h: dropped, same reason.
1105 * src/mtp-pack.h: dropped, same reason.
1106
Linus Walleije5f3ad42006-04-21 07:44:36 +000011072006-04-21 Linus Walleij <triad@df.lth.se>
1108
Linus Walleij902c0b92006-04-21 10:52:48 +00001109 * Released libmtp 0.0.3
1110 * Bumped source to 0.0.4
1111
11122006-04-21 Linus Walleij <triad@df.lth.se>
1113
Linus Walleije5f3ad42006-04-21 07:44:36 +00001114 * src/ptp-pack.c: GCC 4.x compilation patch from
1115 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001116 * src/libusb-glue.c: New Samsung device and some
1117 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001118 * src/ptp.h: some defines from libgphoto2 to get
1119 a bit more compatible.
1120 * src/libmtp.c: Added a folder API implementation by
1121 Dave "ravelox" Kelly.
1122 * src/libmtp.h.in: dito.
1123 * examples/folders.c: dito.
1124 * examples/newfolder.c: dito.
1125 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001126
Linus Walleij6fd2f082006-03-28 07:19:22 +000011272006-03-28 Linus Walleij <triad@df.lth.se>
1128
1129 * m4/*: updated macros to work with GCC 4.1.0.
1130 * examples/hotplug.c: new program to create device
1131 ID lists.
1132 * libmtp.rules: now an auto-generated file.
1133 * libmtp.usermap: now an auto-generated file.
1134
Linus Walleijf6bc1782006-03-24 15:12:47 +000011352006-03-24 Linus Walleij <triad@df.lth.se>
1136
1137 * Beginning a file API, fixed some example program
1138 names and such.
1139
Linus Walleij6946ac52006-03-21 06:51:22 +000011402006-03-18 Linus Walleij <triad@df.lth.se>
1141
1142 * Fixed up callback interface to a simpler version,
1143 the old one was bloated stuff from libnjb anyway.
1144 Bump to 0.0.2.
1145
Linus Walleij9b28da32006-03-16 13:47:58 +000011462006-03-16 Linus Walleij <triad@df.lth.se>
1147
1148 * Fixed the .h file and implementation so you really only
1149 need this one .h file to interface the library.
1150
Linus Walleij80124062006-03-15 10:26:09 +000011512006-03-15 Linus Walleij <triad@df.lth.se>
1152
1153 * Added three device information retrieval functions.
1154
Linus Walleij15e344f2006-03-06 15:15:00 +000011552006-03-06 Linus Walleij <triad@df.lth.se>
1156
1157 * Moving some things around to structure the source. More
1158 will be needed...
1159
Linus Walleij93218602006-02-27 08:53:38 +000011602006-02-27 Linus Walleij <triad@df.lth.se>
1161
1162 * Release libmtp 0.0.1 so people have something to play with,
1163 what the heck. Probably saves someones day.
1164
Linus Walleij95698cd2006-02-24 10:40:40 +000011652006-02-24 Linus Walleij <triad@df.lth.se>
1166
1167 * Deltr example program to delete tracks, plus corresponding
1168 interface call.
1169
Linus Walleij17e39f72006-02-23 15:54:28 +000011702006-02-23 Linus Walleij <triad@df.lth.se>
1171
1172 * Fixed up sendtr program and metadata tagging function that is
1173 used after sending files.
1174
Linus Walleij394bbbe2006-02-22 16:10:53 +000011752006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001176
Linus Walleij394bbbe2006-02-22 16:10:53 +00001177 * Untested gettr.c and sendtr.c programs to get and send tracks
1178 created.
1179
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000011802006-01-30 Linus Walleij <triad@df.lth.se>
1181
1182 * Created the initial GNU source directory structure.
1183 * Added the most basic files.