blob: 354b15fbcbdda409b9b8d59299581c0b36d798cc [file] [log] [blame]
Linus Walleijbfcb7922007-03-06 20:14:04 +000012007-03-06 Linus Walleij <triad@df.lth.se>
2
3 * src/libusb-glue.c: rewrote one more function to be
4 non-recursive, perhaps I found the remaining bug, just
5 cannot see that right now, will test tomorrow.
6
Linus Walleijf27d1cd2007-03-05 14:23:00 +000072007-03-05 Linus Walleij <triad@df.lth.se>
8
9 * src/libmtp.c: rewrite recursive function to linear.
10 * src/libusb-glue.h: create a wrapper type for the
11 device list instead of abusing the libusb device "next"
12 field in our code.
13 * src/libusb-glue.c: rewrite all recursive functions to
14 linear, use wrapper objects, don't copy the libusb device
15 struct, instead just store a pointer to it. This magically
16 solved a bug...
17
Linus Walleij82265222007-03-04 19:47:08 +0000182007-03-04 Linus Walleij <triad@df.lth.se>
19
20 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
21 backwards compatible with any libmtp.so.5 interface, for
22 imminent libmtp 0.1.4 release.
23
tedbullock848009b2007-03-03 23:20:12 +0000242007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +000025
26 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +000027 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
28 been set
tedbullock848009b2007-03-03 23:20:12 +000029 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +000030 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +000031 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +000032 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +000033 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +000034 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +000035
tedbullock848009b2007-03-03 23:20:12 +0000362007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +000037
38 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +000039 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +000040 means.
41 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
42 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +000043 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +000044
Richard Low4fd59d62007-03-03 16:34:37 +0000452007-03-03 Richard Low <richard@wentnet.com>
46
47 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
48 get object prop lists for Clix since it appears to work.
49 * src/libusb-glue.h: ditto
50 * src/ptp.h: ditto
51
Linus Walleij8a5b8852007-02-28 14:25:39 +0000522007-02-28 Linus Walleij <triad@df.lth.se>
53
54 * src/ptp.h: Upstream accepted our patch so synced it in.
55
Linus Walleij07fde342007-02-27 06:09:46 +0000562007-02-27 Linus Walleij <triad@df.lth.se>
57
58 * src/ptp.c: Synced in upstream version which removes the
59 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +000060 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
61 detection since Windows and some devices (such as iRivers)
62 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +000063
tedbullock6c060952007-02-26 19:07:23 +0000642007-02-22 Ted Bullock <tbullock@canada.com>
65
Linus Walleij07fde342007-02-27 06:09:46 +000066 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
67 closing a file descriptor. This is not the responsibility of
68 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +000069
Linus Walleij304433d2007-02-26 08:02:47 +0000702007-02-26 Linus Walleij <triad@df.lth.se>
71
Linus Walleij07fde342007-02-27 06:09:46 +000072 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
73 in the LIBMTP_Update_Track_Metadata() function, there are
74 obviously devices that do not support this, but only
75 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
76 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +000077 atleast reported correctly now.
78
Richard Low4eb01122007-02-24 10:11:32 +0000792007-02-24 Richard Low <richard@wentnet.com>
80
81 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
82 write issues
83
Linus Walleij039d1dd2007-02-23 22:34:07 +0000842007-02-23 Linus Walleij <triad@df.lth.se>
85
86 * src/libmtp.c: Undeprecate getting first device code.
87
Richard Low0f794762007-02-23 22:06:27 +0000882007-02-23 Richard Low <richard@wentnet.com>
89
90 * src/libmtp.c: Fix crash when no devices connected
91
tedbullock2b45f2e2007-02-23 20:16:37 +0000922007-02-23 Ted Bullock <tbullock@canada.com>
93
94 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +000095 * src/libusb-glue.c: Remove old uni-device cruft code
96 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +000097 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
98 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +000099
tedbullock20eb8202007-02-23 00:33:36 +00001002007-02-22 Ted Bullock <tbullock@canada.com>
101
102 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +0000103 * examples/tracks.c: Updated to use new multi device code
104 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +0000105
tedbullocke7713642007-02-18 23:10:09 +00001062007-02-18 Ted Bullock <tbullock@canada.com>
107
108 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +0000109 to wrap around the multi device API. Also added deprecation
110 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +0000111
Richard Lowd284f072007-02-17 08:52:41 +00001122007-02-17 Richard Low <richard@wentnet.com>
113
Richard Low02724f62007-02-17 09:47:26 +0000114 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +0000115 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
116 memory
Richard Low02724f62007-02-17 09:47:26 +0000117 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +0000118
rreardonbc730092007-02-15 14:32:20 +00001192007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +0000120
121 * src/libmtp.c: Fix a segfault in new error handling code.
122
Linus Walleij68b19c02007-02-15 11:50:37 +00001232007-02-15 Linus Walleij <triad@df.lth.se>
124
125 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +0000126 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
127 * examples/playlists.c: LGPL boilerplate.
128 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
129 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
130 Shaun, Enrique.
131 * examples/thumb.c: LGPL boilerplate, crediting Robert.
132 * examples/tracks.c: LGPL boilerplate.
133 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +0000134
tedbullock69a445b2007-02-15 07:41:04 +00001352007-02-15 Ted Bullock <tbullock@canada.com>
136
137 * examples/folders.c: Updated to use new multi device code
138 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +0000139 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
140 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +0000141
tedbullock0f033cb2007-02-14 20:56:54 +00001422007-02-14 Ted Bullock <tbullock@canada.com>
143
Linus Walleij57c2eff2007-02-15 12:02:04 +0000144 * src/libusb-glue.c: Wrote three new recursive functions to avoid
145 extreme levels of multiple indirection and to clean the code up
146 a bit for multiple devices.
147 * examples/detect.c: Adjusted function calls to use new multiple
148 device code.
tedbullock0f033cb2007-02-14 20:56:54 +0000149 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
150
Linus Walleij2d3f7b82007-02-14 09:24:20 +00001512007-02-12 Ted Bullock <tbullock@canada.com>
152
153 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +0000154 LIBMTP_Get_Connected_Devices) to add support for multiple devices
155 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000156 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +0000157 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000158 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
159 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
160
Linus Walleij2a1e3a42007-02-12 08:18:31 +00001612007-02-09 Ted Bullock <tbullock@canada.com>
162
163 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +0000164 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000165
Linus Walleij7b7a0e22007-02-05 18:22:27 +00001662007-02-05 Linus Walleij <triad@df.lth.se>
167
168 * src/libmtp.h.in: LGPL boilerplate.
169 * src/libusb-glue.h: LGPL boilerplate.
170 * src/unicode.h: LGPL boilerplate.
171 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +0000172 * examples/albumart.c: LGPL boilerplate, crediting Andy.
173 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
174 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
175 * examples/common.h: LGPL boilerplate.
176 * examples/albums.c: LGPL boilerplate, crediting Chris.
177 * examples/connect.c: LGPL boilerplate, crediting Chris.
178 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
179 * examples/detect.c: LGPL boilerplate.
180 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
181 * examples/files.c: LGPL boilerplate.
182 * examples/folders.c: LGPL boilerplate.
183 * examples/format.c: LGPL boilerplate.
184 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
185 * examples/getplaylist.c: LGPL boilerplate.
186 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
187 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000188
Linus Walleija8a19cc2007-02-02 22:13:17 +00001892007-02-02 Linus Walleij <triad@df.lth.se>
190
191 * src/ptp.c: sync upstream.
192 * src/ptp.h: dito.
193 * src/ptp-pack.c: dito.
194 * src/libmtp.c: make changes necessary to handle
195 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +0000196 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +0000197 clean-up functions. Fix LGPL boilerplate text.
198 * src/unicode.c: Fix LGPL boilerplate text.
199 * src/utils.c: Fix LGPL boilerplate text.
200 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +0000201
Linus Walleij550d6d52007-01-24 14:32:51 +00002022007-01-24 Ted Bullock <tbullock@canada.com>
203
204 * src/libusb-glue.c: new function to retrieve multiple device
205 instances.
206 * src/libusb-glue.h: dito.
207 * src/libmtp.h.in: new error codes.
208
Linus Walleij070e9b42007-01-22 08:49:28 +00002092007-01-22 Linus Walleij <triad@df.lth.se>
210
211 * examples/albumart.c: use the new errostack.
212 * examples/delfile.c: dito.
213 * examples/detect.c: dito.
214 * examples/emptyfolders.c: dito.
215 * examples/format.c: dito.
216 * examples/getfile.c: dito.
217 * examples/getplaylist.c: dito.
218 * examples/newfolder.c: dito.
219 * examples/newplaylist.c: dito.
220 * examples/playlists.c: dito.
221 * examples/sendfile.c: dito.
222 * examples/sendtr.c: dito.
223 * examples/thumb.c: dito.
224 * src/libmtp.c: add some errors to the stack so we can
225 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000226 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
227 function into this file cause it only return USB devices
228 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
229 (but let's not do that renaming since it would break the API).
230 For now let's understand this is a USB-only function by
231 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000232
2332007-01-22 Ted Bullock <tbullock@canada.com>
234
235 * src/libusb-glue.c: first hack at creating an interface
236 to retrieve multiple devices.
237 * src/libmtp.h.in: new error codes related to multiple devices.
238
Richard Low7059ed42007-01-21 09:33:34 +00002392007-01-21 Richard Low <richard@wentnet.com>
240
241 * src/libusb-glue.c: more new devices
242
Linus Walleij2715c442007-01-20 22:35:29 +00002432007-01-20 Linus Walleij <triad@df.lth.se>
244
245 * src/libmtp.h.in: error stack handling like in libnjb.
246 just bare bones implementation as of now but the idea
247 should be clearly visible. TODO: add a plethora of
248 errors and adjust examples to make use of the error
249 stack.
250 * src/libmtp.c: dito.
251
Richard Lowa98d0542007-01-20 12:31:07 +00002522007-01-20 Richard Low <richard@wentnet.com>
253
254 * src/libusb-glue.c: new device 'Philips PSA235'
255
Linus Walleij85a4c032007-01-16 20:42:18 +00002562007-01-16 Linus Walleij <triad@df.lth.se>
257
258 * configure.ac: bump and release 0.1.3.
259 * src/Makefile.am: bump interface REVISION. Nothing changed
260 externally really.
261
Linus Walleijd85d2bb2007-01-11 21:32:48 +00002622007-01-11 Linus Walleij <triad@df.lth.se>
263
264 * src/libmtp.sym: updated symbol table for mingw32 but does
265 anyone use this? Also I believe one could auto-generate
266 this some way, just haven't figured out how... Perhaps with
267 a funky script that massage libmtp.h if nothing else.
268
Richard Low4df32f82007-01-11 20:04:39 +00002692007-01-11 Richard Low <richard@wentnet.com>
270
271 * src/libusb-glue.c: a zero read fix
272 * src/libmtp.c: fix spelling mistake
273
Linus Walleijc49c6372007-01-09 00:18:51 +00002742007-01-09 Linus Walleij <triad@df.lth.se>
275
276 * src/libusb-glue.c: repair callbacks, structure the code just
277 a little bit.
278 * src/libmtp.c: don't assign values to writes or reads, use the
279 PTP transport intrinsics instead.
280
Linus Walleij15af8532007-01-07 12:45:20 +00002812007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
282
283 * src/ptp.h: Encoding profile.
284 * src/ptp.c: Dito.
285
Linus Walleij58b62792007-01-07 12:38:59 +00002862006-01-07 Linus Walleij <triad@df.lth.se>
287
288 * src/libusb-glue.c: (re)introduce de-halting of endpoints
289 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000290 this causes problems for other archs! Problem was reported
291 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000292
Linus Walleija0323272007-01-07 12:21:30 +00002932006-01-07 Marcus Meissner <meissner@suse.de>
294
295 * src/ptp.c: sync to upstream libgphoto2.
296 * src/ptp.h: dito.
297 * src/ptp-pack.c: dito.
298 * libusb-glue.c: fixes to move low-level functions
299 out of ptp.c and into this libmtp-specific portion.
300 libgphoto2 has been similarly altered to use a usb.c
301 file for the low-level stuff. (This was a long needed
302 split anyway.)
303
Linus Walleij58b62792007-01-07 12:38:59 +00003042007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000305
306 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000307 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000308
Linus Walleij99ed83c2007-01-02 18:46:02 +00003092007-01-02 Linus Walleij <triad@df.lth.se>
310
311 * src/libusb-glue.c: fix up comments, remove things
312 refering to stuff we don't have.
313
Richard Lowb89ea942007-01-02 11:47:19 +00003142007-01-02 Richard Low <richard@wentnet.com>
315
316 * src/libmtp.c: another try at split headers/packet sizes
317 * src/ptp.c: ditto
318 * src/libusb-glue.c: ditto
319
Linus Walleijc70a6df2007-01-01 22:19:08 +00003202007-01-01 Linus Walleij <triad@df.lth.se>
321
322 * src/libmtp.c: move default setting of split headers
323 off to ptp.c open session.
324 * src/ptp.c: dito.
325
Richard Low021421e2007-01-01 18:08:57 +00003262007-01-01 Richard Low <richard@wentnet.com>
327
328 * src/libmtp.c: split headers/packet size fix
329 * src/ptp.c: ditto
330 * src/ptp.h: ditto
331 * src/libusb-glue.c: ditto
332
Linus Walleijfa2d1d12007-01-01 17:08:13 +00003332007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
334
335 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
336 addition of AAVT error codes.
337 * src/ptp.c: changes to reflect modifications done in ptp.h
338
Linus Walleija5ab8c42006-12-31 09:25:36 +00003392006-12-31 Linus Walleij <triad@df.lth.se>
340
341 * configure.ac: bump to 0.1.2.
342 * src/Makefile.am: bump interface revision. (Compatible.)
343 * RELEASE 0.1.2.
344
Linus Walleij02ee8802006-12-30 17:27:58 +00003452006-12-30 Linus Walleij <triad@df.lth.se>
346
347 * examples/pathutils.c: reflect new filetypes.
348 * examples/sendtr.c: dito.
349
Linus Walleij5fb47132006-12-30 15:35:48 +00003502006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
351
352 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
353 codes. added more format object codes flac, m4a, 3gp, aac,
354 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
355 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
356 Added more device property codes.
357 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
358 * src/ptp.c: added changes to reflect new extensions, object
359 codes, device property codes.
360 * src/libmtp.c: modified mp4 to reflect it is a container format
361 not a codec. Added more descriptions in init_filemap(). mp4
362 container format is ambiguous in
363 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
364 mp4 searched in video by default. Added comments about this.
365 Added support for the new format object types.
366 * src/libmtp.h.in: added constants to reflect changes to
367 init_filemap().
368
Richard Lowedd61832006-12-30 12:38:18 +00003692006-12-30 Richard Low <richard@wentnet.com>
370
371 * src/libusb-glue.c: fixed bug in debug printing
372
Richard Lowa6c924c2006-12-29 17:44:28 +00003732006-12-29 Richard Low <richard@wentnet.com>
374
375 * src/libmtp.c: Made abstract list creation to be more
376 WMP like
377 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +0000378 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +0000379
Linus Walleij784ac3f2006-12-29 10:36:51 +00003802006-12-29 Marcus Meissner <meissner@suse.de>
381
382 * src/ptp.h: API changes for libgphoto2 to use the file
383 retrieveal functions.
384 * src/ptp.c: dito.
385 * src/libusb-glue.c: changes in libmtp reflecting the new
386 API for libgphoto2.
387
Linus Walleij8609af32006-12-28 21:25:17 +00003882006-12-28 Linus Walleij <triad@df.lth.se>
389
Linus Walleije2e21182006-12-28 22:36:59 +0000390 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000391 * src/Makefile.am: bump interface for release, also autotools.
392 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000393
Linus Walleijd6735f72006-12-19 13:38:29 +00003942006-12-19 Matthew Wilcox <matthew@wil.cx>
395
396 * src/ptp.c: fix a (serious) short file bug.
397
Richard Lowaf20b5d2006-12-17 18:00:59 +00003982006-12-17 Richard Low <richard@wentnet.com>
399
400 * src/libmtp.c: don't bail out on failures when setting
401 metadata.
402
Linus Walleij037a1252006-12-16 20:36:52 +00004032006-12-16 Linus Walleij <triad@df.lth.se>
404
405 * src/ptp.c: sync to upstream.
406 * src/ptp.h: dito.
407 * src/ptp-pack.c: dito.
408
Linus Walleijf8491912006-12-15 10:23:30 +00004092006-12-15 Linus Walleij <triad@df.lth.se>
410
411 * src/libmtp.h.in: make the format function take a storage as
412 parameter. Add comments to device storage.
413 * src/libmtp.c: dito, fix up some code and docs.
414 * examples/format.c: make the format command comply with
415 the new API.
416
Linus Walleije1ac07e2006-12-14 19:38:59 +00004172006-12-14 Linus Walleij <triad@df.lth.se>
418
419 * src/libmtp.c: make get_first_storage_freespace() always query
420 the first storage when the space is requested. And some other
421 janitorial stuff.
422
Linus Walleijb01d18b2006-12-13 12:49:15 +00004232006-12-13 Linus Walleij <triad@df.lth.se>
424
425 * src/libusb-glue.c: one more device.
426 * examples/detect.c: compilation warnings fixed.
427
rreardon3d583062006-12-13 10:10:27 +00004282006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
429
430 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
431 * src/ptp.h: ditto.
432
Linus Walleijcd849362006-12-13 12:37:58 +00004332006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000434
435 * src/libmtp.h.in: revamped storage API.
436 * src/libmtp.c: dito.
437 * examples/detect.c: dito.
438
rreardon73d02c92006-12-12 16:45:30 +00004392006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000440
441 * src/libmtp.c: Send_Representative_Sample() updated to
442 set image height and width, or audio duration and size.
443
Linus Walleijd0f67702006-12-07 09:56:46 +00004442006-12-07 Linus Walleij <triad@df.lth.se>
445
Linus Walleija05b9802006-12-08 08:50:30 +0000446 * src/libmtp.h.in: support firmware object type. (Dangerous.)
447 * src/libmtp.c: dito.
448
4492006-12-07 Linus Walleij <triad@df.lth.se>
450
Linus Walleijd0f67702006-12-07 09:56:46 +0000451 * src/libmtp.c: default text folder detection (used in Samsung
452 Yepp T9) also add a few "My Foo" folder strings, remove the
453 "remaining directories" kludge.
454 * src/libmtp.h.in: default text folder.
455
Linus Walleijf1b02f22006-12-06 09:03:23 +00004562006-12-06 Linus Walleij <triad@df.lth.se>
457
458 * src/libmtp.h.in: extend the respresentative sample API a bit.
459 * src/libmtp.c: dito.
460 * examples/albumart.c: free memory after use.
461 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000462 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000463
Linus Walleijfdef4ae2006-12-05 16:15:51 +00004642006-12-04 Linus Walleij <triad@df.lth.se>
465
466 * src/ptp.c: enable split headers on sending object lists again.
467
4682006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000469
470 * src/libmtp.c: abstract Send_Representative_Sample() so
471 it can send samples for any format that supports it
472 * src/libmtp.h.in: same as above
473 * examples/albumart.c: altered to use new abstract function above
474 * example/thumb.c: sample program to upload thumbnails
475 * example/Makefile.am: add sample thumbnail program
476
Linus Walleijbdfaac22006-12-03 22:32:19 +00004772006-12-03 Linus Walleij <triad@df.lth.se>
478
479 * src/libmtp.c: check space on disk before sending
480 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000481 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
482 into LIBMTP_Send_Representative_Sample().
483 * src/libmtp.c: dito.
484 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000485
Linus Walleijfa3fbe32006-12-02 20:47:32 +00004862006-12-02 Marcus Meissner <meissner@suse.de>
487
488 * examples/Makefile.am: make sure symlinks really end
489 up in the correct dir.
490
Linus Walleij6eab3b32006-11-30 22:58:21 +00004912006-11-30 Linus Walleij <triad@df.lth.se>
492
493 * src/ptp.c: make Matthews patch thread-safe and fix it
494 so it will handle more than one surplus packet.
495 * src/ptp.h: dito.
496
Richard Lowab0d22d2006-11-30 22:17:49 +00004972006-11-30 Richard Low <richard@wentent.com>
498
499 * src/libmtp.c: memset PTPObjectInfo structs to 0
500
Linus Walleij4bf38dd2006-11-30 21:27:29 +00005012006-11-30 Matthew Wilcox <matthew@wil.cx>
502
503 * src/ptp.c: on some devices, surplus packet data is
504 sometimes returned during read, i.e. a header of the
505 next package is typically attacked to the incoming
506 data, as if someone was sending several packets at
507 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000508 * src/libusb-glue.c: revert my own mistakes by making
509 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000510
Linus Walleij9901e222006-11-30 12:28:19 +00005112006-11-30 Linus Walleij <triad@df.lth.se>
512
Linus Walleij2978f1a2006-11-30 14:00:26 +0000513 * configure.ac: this *is* gonna be libmtp 0.1.0!
514 * src/Makefile.am: age interface to 4-0-0 to indicate that
515 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000516 * src/libmtp.h.in: removed external object interface.
517 * src/libmtp.c: dito. Made all object manipulation functions
518 static.
519
Richard Lowc7d48d22006-11-29 18:24:55 +00005202006-11-29 Richard Low <richard@wentnet.com>
521
522 * src/libusb-glue.c: added new devices
523
Linus Walleij7beba572006-11-29 08:56:12 +00005242006-11-29 Linus Walleij <triad@df.lth.se>
525
526 * src/libusb-glue.c: remove some pointless #include <>
527 clutter, call usb_set_configuration() as needed by
528 Windows.
529 * src/libmtp.c: various fixups to enable use of Windows
530 <io.h> include file.
531 * README.windows.txt: added a quick porting guide for
532 MSVC by Farooq Zaman.
533
Linus Walleijcf42f452006-11-28 08:32:49 +00005342006-11-28 Linus Walleij <triad@df.lth.se>
535
536 * src/libmtp.h.in: removed filetype mapping API. We can handle
537 everything inside of libmtp now so no need for this.
538 * src/libmtp.c: dito.
539
Linus Walleij72e9c2b2006-11-28 08:14:00 +00005402006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000541
542 * examples/files.c: unsigned int sized printout.
543 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000544 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000545
Richard Low6c0a6ce2006-11-26 10:42:08 +00005462006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000547
Richard Low6c0a6ce2006-11-26 10:42:08 +0000548 * src/libmtp.c: object handles for proplists
549 * src/ptp-pack.c: ditto
550 * src/ptp.c: ditto
551 * src/ptp.h: ditto
552
Linus Walleijf73de152006-11-25 21:44:44 +00005532006-11-25 Marcus Meissner <marcus@jet.franken.de>
554
555 * examples/hotplug.c: adding HAL style XML output for
556 the devices.
557 * examples/Makefile.am: fixing a bug in the automake
558 file (pathutils.h missing!)
559 * Makefile.am: fix the problem with re-making sources
560 (you had to run ./autogen.sh before!)
561
Linus Walleijfe677ac2006-11-23 13:35:00 +00005622006-11-23 Linus Walleij <triad@df.lth.se>
563
564 * src/libusb-glue.h: add a new bug flag for devices that
565 have broken PTP_OC_MTP_GetObjPropList implementations.
566 * src/libusb-glue.c: state that all iRivers have this problem.
567 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
568 for these devices.
569
5702006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000571
572 * src/libmtp.c: set handle ids for new objects to 0 when
573 creating new albums and playlists.
574
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00005752006-11-21 Linus Walleij <triad@df.lth.se>
576
577 * src/libmtp.c: enabled enhanced mode for metadata retrieval
578 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000579 * src/libmtp.c: fixed the problem with sending files using
580 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000581
Linus Walleij277cd532006-11-20 14:57:46 +00005822006-11-20 Linus Walleij <triad@df.lth.se>
583
584 * src/ptp.h: sync to upstream libgphoto2
585 * src/ptp.c: dito.
586 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000587 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000588
5892006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000590
591 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
592 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000593 * examples/emptyfolders.c: new example program for pruning empty
594 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000595
Linus Walleij277cd532006-11-20 14:57:46 +00005962006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000597
rreardonbbb4e562006-11-19 22:16:11 +0000598 * src/libmtp.c: use enhanced MTP commands to create playlists and
599 send files
rreardon508705f2006-11-19 21:27:22 +0000600 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000601 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000602
Linus Walleijcd849362006-12-13 12:37:58 +00006032006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000604
605 * src/libusb-glue.c: fix error on reconnect.
606
Linus Walleij277cd532006-11-20 14:57:46 +00006072006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000608
609 * src/ptp.c: tidy up ptp_usb_getdata
610
Linus Walleij277cd532006-11-20 14:57:46 +00006112006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000612
613 * src/libmtp.c: fixed parent handle for uploaded tracks
614
Linus Walleij277cd532006-11-20 14:57:46 +00006152006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000616
617 * src/libmtp.c: fixed up album art using enhanced commands.
618
Linus Walleij277cd532006-11-20 14:57:46 +00006192006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000620
621 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
622 * src/ptp.c: ditto
623 * src/ptp.h: ditto
624 * src/ptp-pack.c: ditto
625
Linus Walleij277cd532006-11-20 14:57:46 +00006262006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000627
Linus Walleijccf28ce2006-11-16 16:06:38 +0000628 * src/libmtp.c: use enhanced MTP commands to create albums and
629 add detection of the default album folder.
630 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000631
Linus Walleij277cd532006-11-20 14:57:46 +00006322006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000633
634 * src/ptp-pack.c: set string buffer to correct size.
635
Linus Walleij277cd532006-11-20 14:57:46 +00006362006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000637
638 * examples/tracks.c: really use undeprecated API entry.
639
Linus Walleij277cd532006-11-20 14:57:46 +00006402006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000641
642 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000643 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000644 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000645 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000646 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000647 * examples/connect.c: ditto.
648 * examples/detect.c: ditto.
649 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000650 * src/ptp.c: working on getting object prop lists.
651 * src/ptp.h: dito.
652
Linus Walleij277cd532006-11-20 14:57:46 +00006532006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000654
655 * src/libusb-glue.c: added Zen Vision W to devices
656
Linus Walleij277cd532006-11-20 14:57:46 +00006572006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000658
659 * src/libmtp.c: added checks for supported properties
660
Linus Walleij277cd532006-11-20 14:57:46 +00006612006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000662
663 * src/libmtp.c: added a check for NULL filenames in
664 LIBMTP_Get_Folder_List.
665
Linus Walleij99310d42006-11-01 08:29:39 +00006662006-11-01 Linus Walleij <triad@df.lth.se>
667
668 * src/libmtp.h.in: set/get uint8 to/from objects
669 * src/libmtp.c: send object property list.
670 * src/ptp.c: dito.
671 * src/ptp.h: dito.
672 * src/ptp-pack.c: dito.
673
mopoke90be30e2006-10-30 08:47:41 +00006742006-10-29 Andy Kelk <andy@mopoke.co.uk>
675
676 * examples/albumart.c: simple tool for adding album art.
677 * src/libmtp.c: graceful handling of players not supporting
678 abstract album objects.
679
Linus Walleij0c33ec02006-10-27 10:15:40 +00006802006-10-27 Linus Walleij <triad@df.lth.se>
681
682 * src/Makefile.am: bump library interface to reflect the new
683 album methods.
684 * configure.ac: bump to 0.0.22 for the next release.
685
6862006-10-27 Andy Kelk <andy@mopoke.co.uk>
687
688 * src/libmtp.c: add support form abstract audio/video albums.
689 * src/libmtp.h.in: dito.
690
Linus Walleij7347d0f2006-10-23 07:23:39 +00006912006-10-23 Linus Walleij <triad@df.lth.se>
692
693 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
694 * src/ptp.c: sync to upstream.
695 * src/ptp.h: dito.
696 * src/ptp-pack.c: dito.
697
Linus Walleij9efe75f2006-10-20 09:09:45 +00006982006-10-20 Linus Walleij <triad@df.lth.se>
699
700 * Release 0.0.21 to get all the new device support out.
701
Linus Walleij501ba4d2006-10-16 06:17:04 +00007022006-10-16 Linus Walleij <triad@df.lth.se>
703
704 * configure.ac: bump to 0.0.21.
705 * src/libusb-glue.c: add code to unload a kernel driver for
706 the primary interface if it is already in use under Linux.
707 * src/libusb-glue.h: add a device flag to make this possible.
708
Linus Walleij37253292006-10-11 08:38:14 +00007092006-10-11 Linus Walleij <triad@df.lth.se>
710
711 * examples/delfile.c: patch from Chris Debenham
712 straingtening out the command-line interface a bit
713 more.
714
Linus Walleij43ff8fc2006-10-10 11:16:53 +00007152006-10-10 Linus Walleij <triad@df.lth.se>
716
Linus Walleij37253292006-10-11 08:38:14 +0000717 * examples/delfile.c: patch from Chris Debenham to make
718 this command take an optional filename as parameter
719 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000720
Linus Walleij955e6ba2006-09-26 16:55:10 +00007212006-09-26 Linus Walleij <triad@df.lth.se>
722
723 * libmtp.pc.in: require libusb instead of just linking it.
724 * configure.ac: bump release to 0.0.20 and release.
725
Linus Walleijb1318d12006-09-25 14:59:26 +00007262006-09-25 Linus Walleij <triad@df.lth.se>
727
728 * examples/evolution-sync.sh: example script to illustrate
729 to to transfer calendar, task and contact information
730 to a device supporting this.
731
Linus Walleij4ef39e62006-09-19 14:11:52 +00007322006-09-19 Linus Walleij <triad@df.lth.se>
733
734 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
735 * src/libmtp.c: dito.
736 * examples/sendfile.c: support vcard3.
737
Linus Walleijf248fdd2006-09-16 20:11:40 +00007382006-09-16 Linus Walleij <triad@df.lth.se>
739
740 * configure.ac: bump to 0.0.19 and release. There are some
741 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000742 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000743
Linus Walleijb8bfcb22006-09-13 12:14:28 +00007442006-09-13 Linus Walleij <triad@df.lth.se>
745
746 * examples/format.c: formatting test program.
747 * examples.Makefile.am: added format.
748
Linus Walleij13374a42006-09-13 11:55:30 +00007492006-09-13 Andy Kelk <andy@mopoke.co.uk>
750
751 * src/libmtp.h.in: added interface to format storage.
752 * src/libmtp.c: dito.
753 * src/ptp.c: dito.
754 * src/ptp.h: dito.
755
Linus Walleijd31e6192006-09-12 07:55:27 +00007562006-09-12 Linus Walleij <triad@df.lth.se>
757
758 * configure.ac: bump release. Released 0.0.18 yesterday.
759 * src/libmtp.c: do not try to read battery max level unless
760 the device supports it. (Bug occurred on Toshiba Gigabeat
761 P10.)
762
Linus Walleijd5d51c82006-09-11 06:57:50 +00007632006-09-11 Linus Walleij <triad@df.lth.se>
764
765 * src/libusb-glue.c: messed around a bit with device descriptor
766 detection so as to bring closer to libgphoto2 detection algorithm.
767 I've seen things that might be false positives, possibly USB mass
768 storage devices with additional MSFT descriptors to indicate they
769 have Janus DRM.
770 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
771 knows that UCS-2 is in machine endianness but Darwin and *BSD does
772 not. Detect C library and switch accordingly.
773 * src/unicode.c: retire old unicode code only keep things we cannot
774 live without. Remove the own internal UCS-2 conversion engine and
775 the internal iconv() engine and use the one already available in
776 PTPParams.
777 * src/unicode.h: dito.
778
Linus Walleij0558ac52006-09-07 06:55:03 +00007792006-09-07 Linus Walleij <triad@df.lth.se>
780
781 * src/libusb-glue.h: added device flags so we can make
782 the code behave differently on certain devices.
783 * src/libusb-glue.c: dito, plus removed some debug prints.
784 * src/libmtp.c: docs.
785 * src/libmtp.h.in: added device_flags to device list struct.
786 * src/Makefile.am: bumped to compatible library interface.
787 * configure.ac: bump version to 0.0.18 (0.0.17 released
788 yesterday).
789
Richard Low6ec2cc12006-09-06 16:59:16 +00007902006-09-06 Richard Low <richard@wentnet.com>
791
792 * src/libusb-glue.c: changed packet sizes to improve
793 transfer speeds.
794 * src/libmtp.c: changed packet sizes to improve transfer
795 transfer speeds. Also stopped extra ptp_getobjectinfo
796 calls when getting directories on connect.
797
Linus Walleij7f0c72e2006-09-06 13:01:58 +00007982006-09-06 Linus Walleij <triad@df.lth.se>
799
800 * src/libusb-glue.c: fixed some endpoint size detection
801 and sending special file sizes stuff. Real hairy bug...
802 Also messed around a bit with the callbacks.
803 * src/libmtp.c: changes for callback size detection.
804
Linus Walleija9310fa2006-09-04 06:47:42 +00008052006-09-04 Linus Walleij <triad@df.lth.se>
806
807 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
808 instead of magic values.
809
Linus Walleijd7aa5b22006-09-02 11:52:31 +00008102006-09-02 Linus Walleij <triad@df.lth.se>
811
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000812 * src/libmtp.c: add some code to have
813 LIBMTP_Send_File_From_File_Descriptor() accept a stream
814 if size is set to (uint64_t) -1, plus documentation fixes.
815 I don't think the streaming code will work but whoever want
816 to experiment with it has a place to start.
817 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000818
Linus Walleijda9500d2006-08-30 13:17:06 +00008192006-08-30 Linus Walleij <triad@df.lth.se>
820
821 * configure.ac: version bump.
822 * src/libmtp.c: more debug prints.
823 * src/libusb-glue.c: new iRiver device called Clix. By
824 the way I released libmtp 0.0.16 yesterday.
825
Linus Walleija823a702006-08-27 21:27:46 +00008262006-08-28 Linus Walleij <triad@df.lth.se>
827
828 * configure.ac: version bump.
829 * src/ptp-pack.c: upstream has committed my patch giving full
830 unicode support in libgphoto2 ptp2 camlib. No need for
831 any more ugly workarounds, plus we now have full unicode
832 filenames!
833 * src/ptp.c: dito.
834 * src/ptp.h: dito.
835 * src/libmtp.c: revamp to use the new unicode support in
836 libgphoto2.
837 * src/unicode.c: remove unused functionality.
838 * src/unicode.h: dito.
839
Linus Walleijee73ef22006-08-27 19:56:00 +00008402006-08-27 Linus Walleij <triad@df.lth.se>
841
842 * configure.ac: version bump. Release all these fixes
843 as 0.0.15.
844 * src/libusb-glue.c: fixed sucky errors. Added callback
845 code when reading files.
846 * src/libusb-glue.h: const correctness.
847 * src/libmtp.h.in: finally fixup the type on the callbacks.
848 * src/libmtp.c: more accurate sending callbacks. Callbacks
849 when getting files also, working correctly. Typeing of
850 callbacks now OK.
851 * examples/getfile.c: some display bar cosmetic fixup.
852 * TODO: lots of the things todo are now done.
853
Linus Walleijd214b9b2006-08-26 22:08:37 +00008542006-08-26 Linus Walleij <triad@df.lth.se>
855
856 * configure.ac: version bump.
857 * src/libmtp.c: fix bug and reinstate callbacks.
858 * src/libusb-glue.h: dito.
859 * src/libusb-glue.c: dito.
860
Linus Walleije7f44be2006-08-25 19:32:29 +00008612006-08-25 Linus Walleij <triad@df.lth.se>
862
863 * src/libmtp.c: use the new file descriptor sender function.
864 Going to release this as 0.0.13.
865 * src/ptp.c: upstream accepted patches synced in.
866 * src/ptp.h: dito.
867
Linus Walleijeab650b2006-08-21 23:26:37 +00008682006-08-22 Linus Walleij <triad@df.lth.se>
869
Linus Walleij80d134a2006-08-22 21:41:37 +0000870 * src/libusb-glue.c: found a real nasty endpoint bug,
871 code from libgphoto2 was assuming max packet size of
872 512 bytes while it is 64 when a USB 2.0 device is
873 plugged into an UHCI hub.
874
8752006-08-22 Linus Walleij <triad@df.lth.se>
876
Linus Walleijeab650b2006-08-21 23:26:37 +0000877 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
878
Linus Walleij924236a2006-08-20 22:17:58 +00008792006-08-21 Linus Walleij <triad@df.lth.se>
880
881 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000882 as result of experiments by Gavin McCullagh. Upstream
883 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000884 Move iconv() converters into device struct for thread
885 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000886 * src/ptp.c: sync to upstream which merges patch to get
887 file directly to file descriptor.
888 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000889 * src/unicode.c: move iconv() converters into the device
890 struct for thread safety.
891 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000892
Linus Walleij30658792006-08-19 22:18:55 +00008932006-08-20 Linus Walleij <triad@df.lth.se>
894
895 * src/libmtp.h.in: set friendly name and sync partner,
896 rename ownername to friendlyname.
897 * src/libmtp.c: dito.
898 * examples/detect.c: reflect changes.
899 * src/Makefile.am: interface is incompatible so age it.
900
Linus Walleijfae27482006-08-19 20:13:25 +00009012006-08-19 Linus Walleij <triad@df.lth.se>
902
903 * src/libmtp.h.in: add function to get syncronization
904 partner for the device.
905 * src/libmtp.c: dito.
906 * examples/detect.c: use that function.
907 * src/Makefile.am: backward-compatible interface bump.
908
Linus Walleij16571dc2006-08-17 20:27:46 +00009092006-08-17 Linus Walleij <triad@df.lth.se>
910
911 * configure.ac: bump to 0.0.12 and require iconv.h.
912
9132006-08-16 Linus Walleij <triad@df.lth.se>
914
915 * src/unicode.c: remove bigendian weirdness and switch
916 to using iconv() instead.
917 * src/unicode.h: dito.
918 * src/libmtp.c: reflect changes.
919
Linus Walleij3e188f12006-08-09 20:46:05 +00009202006-08-09 Linus Walleij <triad@df.lth.se>
921
922 * Release libmtp 0.0.11.
923
Linus Walleij2eb884b2006-08-04 19:17:36 +00009242006-08-04 Linus Walleij <triad@df.lth.se>
925
926 * src/libmtp.c: patch from Dan Aloni to make sendfile
927 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000928 * src/libusb-glue.c: patch from Andy Kelk to avoid
929 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000930 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000931
Linus Walleijaa4b0752006-07-26 22:21:04 +00009322006-07-27 Linus Walleij <triad@df.lth.se>
933
934 * Release libmtp 0.0.10.
935
Linus Walleij17b55ea2006-07-26 13:54:00 +00009362006-07-26 Linus Walleij <triad@df.lth.se>
937
938 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000939 * src/libmtp.c: only set metdata properties supported by
940 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000941 * src/ptp.c: sync to upstream.
942 * src/ptp.h: sync to upstream.
943 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000944
Linus Walleijc187cb92006-06-22 17:58:13 +00009452006-06-22 Linus Walleij <triad@df.lth.se>
946
947 * Release libmtp 0.0.9.
948
Linus Walleij8ab54262006-06-21 07:12:28 +00009492006-06-21 Linus Walleij <triad@df.lth.se>
950
951 * src/libmtp.h.in: added function to retrieve supported
952 filetypes.
953 * src/libmtp.c: ditto.
954 * examples/detect.c: use that function.
955
Linus Walleijcf223e62006-06-19 09:31:53 +00009562006-06-19 Linus Walleij <triad@df.lth.se>
957
958 * src/unicode.c: support all endianness, detect
959 byte-order-mark
960 * src/unicode.h: ditto.
961 * src/libmtp.c: ditto.
962 * examples/detect.c: use proper tempfile function.
963 * src/libmtp.h.in: add some more track properties.
964 * src/libmtp.c: ditto.
965 * examples/tracks.c: ditto.
966
Linus Walleij2e4b5f92006-06-16 14:00:49 +00009672006-06-16 Linus Walleij <triad@df.lth.se>
968
969 * src/libmtp.h.in: new interfaces for single metadata post
970 retrieveal.
971 * src/libmtp.c: ditto.
972 * examples/playlists.c: display track info using the new
973 individual track metadata retrieveal method.
974 * examples/getplaylist.c: ditto.
975
Linus Walleij05ccbe72006-06-13 07:46:58 +00009762006-06-13 Linus Walleij <triad@df.lth.se>
977
978 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000979 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000980 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000981 we can find them. Retrieve device secure time and cert
982 out of sheer curiosity.
983 * src/ptp.c: sync to libgphoto2 with my patches.
984 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000985
Linus Walleij438bd7f2006-06-08 11:35:44 +00009862006-06-07 Linus Walleij <triad@df.lth.se>
987
988 * src/libmtp.h.in: new playlist API and refactorings.
989 * src/libmtp.c: ditto, and refactorings.
990 * src/unicode.h: const correctness.
991 * src/unicode.c: ditto.
992 * examples/playlists.c: new example program.
993 * configure.ac: bump to 0.0.9
994 * src/Makefile.am: bump library interface.
995
Linus Walleij52e3ac52006-06-05 10:30:00 +00009962006-06-05 Linus Walleij <triad@df.lth.se>
997
998 * examples/sendtr.c: fixed annoying bug that made this
999 program totally useless.
1000 * src/libmtp.c: cosmetics.
1001 * configure.ac: bump to 0.0.8.
1002
Linus Walleij345a3372006-06-03 20:55:25 +000010032006-06-03 Linus Walleij <triad@df.lth.se>
1004
1005 * src/libmtp.c: metadata bugs, album name and genre
1006 confused. Fixe it and released libmtp 0.0.7.
1007
Linus Walleijdc09dc02006-06-01 14:23:41 +000010082006-06-01 Linus Walleij <triad@df.lth.se>
1009
1010 * Released libmtp 0.0.6.
1011
Linus Walleij549ec4d2006-05-31 19:59:52 +000010122006-05-31 Linus Walleij <triad@df.lth.se>
1013
1014 * src/libmtp.c: fixed mapping for JPEG vs JFIF
1015 * src/libmtp.h.in: added proper type for JPEG
1016 * examples/sendfile.c: send proper JPEG type
1017
Linus Walleijd3fdd972006-05-30 15:51:37 +000010182006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
1019
1020 * src/libmtp.c: fixed a bug in update metadata due to
1021 bad use of return code.
1022 * src/libusb-glue.c: fixed a loop exiting problem with
1023 good 'ol GOTO.
1024
Linus Walleij9b1fcd92006-05-29 08:35:29 +000010252006-05-29 Linus Walleij <triad@df.lth.se>
1026
1027 * src/libusb-glue.c: one more device.
1028 * doc/examples.h: produce correct documentation.
1029 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00001030 * src/ptp.c: sync to libgphoto2.
1031 * src/ptp.h: ditto.
1032 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00001033 * src/libmtp.c: fixed all filetype API related functions
1034 not to use any PTP intrinsic defines at all, made all
1035 parameters to functions use the internal libmtp interface
1036 enumerations and definitions. Removed LIBMTP_Release():
1037 we can live with the memory lost during init. You're not
1038 supposed to re-initialize the device. Consequently removed
1039 the delete function that cleaned the filetype assoc list.
1040 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001041
ravelox088180b2006-05-26 23:55:40 +000010422006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
1043
1044 * src/libmtp.c: refactored object handling to be more generic
1045 * src/libmtp.h.in: ditto
1046 * examples/refactortest.c: Added simple example to use refactoring
1047 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001048 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
1049 for playlist handling
1050 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00001051
Linus Walleij1fd2d272006-05-08 09:22:01 +000010522006-05-08 Linus Walleij <triad@df.lth.se>
1053
1054 * src/libmtp.h.in: add simple detection function.
1055 * src/libusb-glue.c: implement MTP "OS descriptor" for
1056 looking for MTP devices.
1057 * examples/detect.c: make it possible to do very
1058 rudimentary detection with "detect -p".
1059 * configure.ac: bump to 0.0.5.
1060
Linus Walleij685137f2006-05-07 18:09:02 +000010612006-05-07 Linus Walleij <triad@df.lth.se>
1062
1063 * COPYING: since we no longer use any parts of libptp2
1064 and only files from libgphoto2, we switch to the GNU
1065 Lesser General Public License (GNU LGPL). libptp2 is
1066 a derived work from libgphoto2, and so is libmtp, there
1067 are no remnants of libptp2 in libmtp anymore.
1068
Linus Walleij16c51f02006-05-04 13:20:22 +000010692006-05-04 Linus Walleij <triad@df.lth.se>
1070
1071 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00001072 * src/libmtp.c: respectfully rearranged to use a filetype mapping
1073 table.
1074 * src/ptp-pack.c: real nasty unicode packing bug.
1075 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00001076
Linus Walleijd6a49972006-05-02 08:24:54 +000010772006-05-02 Linus Walleij <triad@df.lth.se>
1078
1079 * src/libmtp.c: general shaping up for release. All track
1080 and file sending functions now respects a parent ID to be
1081 sent along with files and tracks.
1082 * src/libmtp.h.in: dito.
1083 * src/libusb-glue.c: dito.
1084 * examples/sendfile.c: interface dependency changes.
1085 * examples/sendtr.c: dito.
1086
Linus Walleijc60275a2006-04-30 10:58:11 +000010872006-04-30 Linus Walleij <triad@df.lth.se>
1088
1089 * src/ptp.c: sync upstream.
1090 * src/ptp.h: dito.
1091
Linus Walleij370c68d2006-04-27 14:19:01 +000010922006-04-27 Linus Walleij <triad@df.lth.se>
1093
1094 * examples/sendfile.c: first file sender program based
1095 on API implementation and changes by Chris Allegretta.
1096 * examples/Makefile.am: new program, new entry.
1097 * src/libmtp.c: reflect this new functionality.
1098 * src/libmtp.h.in: dito.
1099
Linus Walleijb02a0662006-04-25 08:05:09 +000011002006-04-25 Linus Walleij <triad@df.lth.se>
1101
1102 * Rebased the sources around libgphoto2 instead.
1103 This was a major revision...
1104 * src/ptp.c: imported libgphoto2 version verbatim.
1105 * src/ptp.h: imported libgphoto2 version, minor patch.
1106 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00001107 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00001108 * src/mtp.c: dropped, since all functions are now in ptp.c
1109 * src/mtp-pack.c: dropped, same reason.
1110 * src/mtp.h: dropped, same reason.
1111 * src/mtp-pack.h: dropped, same reason.
1112
Linus Walleije5f3ad42006-04-21 07:44:36 +000011132006-04-21 Linus Walleij <triad@df.lth.se>
1114
Linus Walleij902c0b92006-04-21 10:52:48 +00001115 * Released libmtp 0.0.3
1116 * Bumped source to 0.0.4
1117
11182006-04-21 Linus Walleij <triad@df.lth.se>
1119
Linus Walleije5f3ad42006-04-21 07:44:36 +00001120 * src/ptp-pack.c: GCC 4.x compilation patch from
1121 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001122 * src/libusb-glue.c: New Samsung device and some
1123 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001124 * src/ptp.h: some defines from libgphoto2 to get
1125 a bit more compatible.
1126 * src/libmtp.c: Added a folder API implementation by
1127 Dave "ravelox" Kelly.
1128 * src/libmtp.h.in: dito.
1129 * examples/folders.c: dito.
1130 * examples/newfolder.c: dito.
1131 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001132
Linus Walleij6fd2f082006-03-28 07:19:22 +000011332006-03-28 Linus Walleij <triad@df.lth.se>
1134
1135 * m4/*: updated macros to work with GCC 4.1.0.
1136 * examples/hotplug.c: new program to create device
1137 ID lists.
1138 * libmtp.rules: now an auto-generated file.
1139 * libmtp.usermap: now an auto-generated file.
1140
Linus Walleijf6bc1782006-03-24 15:12:47 +000011412006-03-24 Linus Walleij <triad@df.lth.se>
1142
1143 * Beginning a file API, fixed some example program
1144 names and such.
1145
Linus Walleij6946ac52006-03-21 06:51:22 +000011462006-03-18 Linus Walleij <triad@df.lth.se>
1147
1148 * Fixed up callback interface to a simpler version,
1149 the old one was bloated stuff from libnjb anyway.
1150 Bump to 0.0.2.
1151
Linus Walleij9b28da32006-03-16 13:47:58 +000011522006-03-16 Linus Walleij <triad@df.lth.se>
1153
1154 * Fixed the .h file and implementation so you really only
1155 need this one .h file to interface the library.
1156
Linus Walleij80124062006-03-15 10:26:09 +000011572006-03-15 Linus Walleij <triad@df.lth.se>
1158
1159 * Added three device information retrieval functions.
1160
Linus Walleij15e344f2006-03-06 15:15:00 +000011612006-03-06 Linus Walleij <triad@df.lth.se>
1162
1163 * Moving some things around to structure the source. More
1164 will be needed...
1165
Linus Walleij93218602006-02-27 08:53:38 +000011662006-02-27 Linus Walleij <triad@df.lth.se>
1167
1168 * Release libmtp 0.0.1 so people have something to play with,
1169 what the heck. Probably saves someones day.
1170
Linus Walleij95698cd2006-02-24 10:40:40 +000011712006-02-24 Linus Walleij <triad@df.lth.se>
1172
1173 * Deltr example program to delete tracks, plus corresponding
1174 interface call.
1175
Linus Walleij17e39f72006-02-23 15:54:28 +000011762006-02-23 Linus Walleij <triad@df.lth.se>
1177
1178 * Fixed up sendtr program and metadata tagging function that is
1179 used after sending files.
1180
Linus Walleij394bbbe2006-02-22 16:10:53 +000011812006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001182
Linus Walleij394bbbe2006-02-22 16:10:53 +00001183 * Untested gettr.c and sendtr.c programs to get and send tracks
1184 created.
1185
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000011862006-01-30 Linus Walleij <triad@df.lth.se>
1187
1188 * Created the initial GNU source directory structure.
1189 * Added the most basic files.