blob: 94d6a9ce37fd6ec5f3fed6c38f46b980615531f7 [file] [log] [blame]
Linus Walleij953504f2007-04-18 19:01:11 +000012007-04-18 Linus Walleij <triad@df.lth.se>
2
3 * src/ptp.c: sync to upstream gPhoto source.
4 * src/ptp.h: dito.
5
Richard Low3637e1a2007-04-17 21:25:10 +000062007-04-17 Richard Low <richard@wentnet.com>
7
8 * src/libusb-glue.c: new device
9
Richard Low856f3452007-04-13 11:21:26 +0000102007-04-13 Richard Low <richard@wentnet.com>
11
12 * src/libusb-glue.c: new devices
13
Linus Walleijfd531632007-04-12 19:49:58 +0000142007-04-12 Linus Walleij <triad@df.lth.se>
15
16 * examples/hotplug.c: fix GOTO style in udev map.
17
Linus Walleije73f74a2007-04-02 08:51:35 +0000182007-04-02 Linus Walleij <triad@df.lth.se>
19
20 * examples/files.c: some WIN32 64bit prefix fixup.
21 * examples/tracks.c: dito.
22
tedbullockcd9f4992007-03-29 06:00:40 +0000232007-03-28 Ted Bullock <tbullock@canada.com>
24
Linus Walleije73f74a2007-04-02 08:51:35 +000025 * examples/*.c: Print library version number on execution of examples.
26 * src/libmtp.h.in: New version number string to aid version echoing.
tedbullockcd9f4992007-03-29 06:00:40 +000027
Linus Walleij3968f362007-03-26 19:50:05 +0000282007-03-26 Linus Walleij <triad@df.lth.se>
29
30 * configure.ac: bump version to 0.1.5, release 0.1.5!
31 * src/Makefile.am: bump lib interface revision to libmtp.so.5.2.1,
32 backwards compatible to libmtp.so.5.
33
Richard Low057ea772007-03-24 13:37:38 +0000342007-03-24 Richard Low <richard@wentnet.com>
35
36 * src/libusb-glue.c: fixed bug in zero read code
37
Linus Walleije7df6532007-03-23 08:20:06 +0000382007-03-23 Linus Walleij <triad@df.lth.se>
39
40 * src/libmtp.c: refactored MTP property list handling code to make
41 things simple. Removed the flag for MTP enhanced: there are devices
Linus Walleij3968f362007-03-26 19:50:05 +000042 that will not work without MTP enhanced (for example the Samsung
43 YP-K5 will only support setting object property lists, not
44 individual object properties, leaving out parts of the MTP basic
45 subset), thus we are allowed to reverse-engineer and implement this
46 for interoperability. I also made the output from
47 LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
48 the ranges and possible enumerated values of all object properties.
49 For example you can see that the secret values associated with
50 Audible.com property 0xda01 is an enumerated value that can be
51 2, 3 or 4 (etc).
Linus Walleije7df6532007-03-23 08:20:06 +000052
Richard Low15731fe2007-03-22 20:27:20 +0000532007-03-22 Richard Low <richard@wentnet.com>
54
55 * src/ptp.c: PTP_OC_MTP_SetObjPropList implementation
56 * src/ptp.h: ditto
57 * src/libmtp.c: Use PTP_OC_MTP_SetObjPropList when updating track
58 metadata.
59
Richard Lowbf2675c2007-03-18 18:20:26 +0000602007-03-18 Richard Low <richard@wentnet.com>
61
62 * src/libusb-glue.c: new devices. Some of the Samsung players may
Richard Low6c8fea42007-03-18 19:11:52 +000063 need DEVICE_FLAG_NO_ZERO_READS to be set - I only know the YP-K5
64 needs it.
Richard Lowbf2675c2007-03-18 18:20:26 +000065
Linus Walleij2be40c72007-03-16 15:19:44 +0000662007-03-16 Linus Walleij <triad@df.lth.se>
67
68 * src/libusb-glue.h: introducing yet another device flag for the
69 irivers bugged firmwares, this is for the Alzheimer disease that
70 cause irivers to forget that OGG files are OGG files.
71 * src/libmtp.c: dito.
72 * src/libusb-glue.c: introduce this flag for all iriver devices.
73 * examples/pathutils.c: found a (small) bug.
74
Linus Walleijd1292842007-03-12 11:52:00 +0000752007-03-12 Linus Walleij <triad@df.lth.se>
76
77 * Makefile.am: cleanup patch from Rafael Laboissiere.
Linus Walleija4942fc2007-03-12 19:23:21 +000078 * src/libusb-glue.c: refactored device detection code to
79 immediately test if the device is in the known devices list if it
80 does not feature a MTP device descriptor. This fixes the problem
81 of not being able to mix devices with proper descriptors and
82 non-detected devices.
Linus Walleijd1292842007-03-12 11:52:00 +000083
Linus Walleijc2c96972007-03-07 08:12:31 +0000842007-03-07 Linus Walleij <triad@df.lth.se>
85
86 * src/libusb-glue.c: remove libgphoto2 functions that we
87 don't use.
Linus Walleij45a86372007-03-07 09:36:19 +000088 * src/libusb-glue.h: export the free_mtpdevice_list() function,
89 new signature of find_usb_devices().
90 * src/libmtp.c: shrink code, pass as list of devices instead of
91 several huge arrays between libmtp.c and USB glue layer in
92 libusb-glue.c using the nifty list struct defined in libusb-glue.h.
Linus Walleijd24a7ab2007-03-07 21:48:43 +000093 * Eventually release libmtp 0.1.4.
Linus Walleijc2c96972007-03-07 08:12:31 +000094
Linus Walleijbfcb7922007-03-06 20:14:04 +0000952007-03-06 Linus Walleij <triad@df.lth.se>
96
97 * src/libusb-glue.c: rewrote one more function to be
98 non-recursive, perhaps I found the remaining bug, just
99 cannot see that right now, will test tomorrow.
100
Linus Walleijf27d1cd2007-03-05 14:23:00 +00001012007-03-05 Linus Walleij <triad@df.lth.se>
102
103 * src/libmtp.c: rewrite recursive function to linear.
104 * src/libusb-glue.h: create a wrapper type for the
105 device list instead of abusing the libusb device "next"
106 field in our code.
107 * src/libusb-glue.c: rewrite all recursive functions to
108 linear, use wrapper objects, don't copy the libusb device
109 struct, instead just store a pointer to it. This magically
110 solved a bug...
111
Linus Walleij82265222007-03-04 19:47:08 +00001122007-03-04 Linus Walleij <triad@df.lth.se>
113
114 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
115 backwards compatible with any libmtp.so.5 interface, for
116 imminent libmtp 0.1.4 release.
117
tedbullock848009b2007-03-03 23:20:12 +00001182007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +0000119
120 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +0000121 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
122 been set
tedbullock848009b2007-03-03 23:20:12 +0000123 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000124 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000125 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000126 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000127 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000128 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +0000129
tedbullock848009b2007-03-03 23:20:12 +00001302007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +0000131
132 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +0000133 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +0000134 means.
135 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
136 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +0000137 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +0000138
Richard Low4fd59d62007-03-03 16:34:37 +00001392007-03-03 Richard Low <richard@wentnet.com>
140
141 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
142 get object prop lists for Clix since it appears to work.
143 * src/libusb-glue.h: ditto
144 * src/ptp.h: ditto
145
Linus Walleij8a5b8852007-02-28 14:25:39 +00001462007-02-28 Linus Walleij <triad@df.lth.se>
147
148 * src/ptp.h: Upstream accepted our patch so synced it in.
149
Linus Walleij07fde342007-02-27 06:09:46 +00001502007-02-27 Linus Walleij <triad@df.lth.se>
151
152 * src/ptp.c: Synced in upstream version which removes the
153 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +0000154 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
155 detection since Windows and some devices (such as iRivers)
156 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +0000157
tedbullock6c060952007-02-26 19:07:23 +00001582007-02-22 Ted Bullock <tbullock@canada.com>
159
Linus Walleij07fde342007-02-27 06:09:46 +0000160 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
161 closing a file descriptor. This is not the responsibility of
162 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +0000163
Linus Walleij304433d2007-02-26 08:02:47 +00001642007-02-26 Linus Walleij <triad@df.lth.se>
165
Linus Walleij07fde342007-02-27 06:09:46 +0000166 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
167 in the LIBMTP_Update_Track_Metadata() function, there are
168 obviously devices that do not support this, but only
169 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
170 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +0000171 atleast reported correctly now.
172
Richard Low4eb01122007-02-24 10:11:32 +00001732007-02-24 Richard Low <richard@wentnet.com>
174
175 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
176 write issues
177
Linus Walleij039d1dd2007-02-23 22:34:07 +00001782007-02-23 Linus Walleij <triad@df.lth.se>
179
180 * src/libmtp.c: Undeprecate getting first device code.
181
Richard Low0f794762007-02-23 22:06:27 +00001822007-02-23 Richard Low <richard@wentnet.com>
183
184 * src/libmtp.c: Fix crash when no devices connected
185
tedbullock2b45f2e2007-02-23 20:16:37 +00001862007-02-23 Ted Bullock <tbullock@canada.com>
187
188 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +0000189 * src/libusb-glue.c: Remove old uni-device cruft code
190 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +0000191 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
192 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +0000193
tedbullock20eb8202007-02-23 00:33:36 +00001942007-02-22 Ted Bullock <tbullock@canada.com>
195
196 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +0000197 * examples/tracks.c: Updated to use new multi device code
198 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +0000199
tedbullocke7713642007-02-18 23:10:09 +00002002007-02-18 Ted Bullock <tbullock@canada.com>
201
202 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +0000203 to wrap around the multi device API. Also added deprecation
204 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +0000205
Richard Lowd284f072007-02-17 08:52:41 +00002062007-02-17 Richard Low <richard@wentnet.com>
207
Richard Low02724f62007-02-17 09:47:26 +0000208 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +0000209 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
210 memory
Richard Low02724f62007-02-17 09:47:26 +0000211 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +0000212
rreardonbc730092007-02-15 14:32:20 +00002132007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +0000214
215 * src/libmtp.c: Fix a segfault in new error handling code.
216
Linus Walleij68b19c02007-02-15 11:50:37 +00002172007-02-15 Linus Walleij <triad@df.lth.se>
218
219 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +0000220 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
221 * examples/playlists.c: LGPL boilerplate.
222 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
223 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
224 Shaun, Enrique.
225 * examples/thumb.c: LGPL boilerplate, crediting Robert.
226 * examples/tracks.c: LGPL boilerplate.
227 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +0000228
tedbullock69a445b2007-02-15 07:41:04 +00002292007-02-15 Ted Bullock <tbullock@canada.com>
230
231 * examples/folders.c: Updated to use new multi device code
232 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +0000233 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
234 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +0000235
tedbullock0f033cb2007-02-14 20:56:54 +00002362007-02-14 Ted Bullock <tbullock@canada.com>
237
Linus Walleij57c2eff2007-02-15 12:02:04 +0000238 * src/libusb-glue.c: Wrote three new recursive functions to avoid
239 extreme levels of multiple indirection and to clean the code up
240 a bit for multiple devices.
241 * examples/detect.c: Adjusted function calls to use new multiple
242 device code.
tedbullock0f033cb2007-02-14 20:56:54 +0000243 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
244
Linus Walleij2d3f7b82007-02-14 09:24:20 +00002452007-02-12 Ted Bullock <tbullock@canada.com>
246
247 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +0000248 LIBMTP_Get_Connected_Devices) to add support for multiple devices
249 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000250 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +0000251 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000252 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
253 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
254
Linus Walleij2a1e3a42007-02-12 08:18:31 +00002552007-02-09 Ted Bullock <tbullock@canada.com>
256
257 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +0000258 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000259
Linus Walleij7b7a0e22007-02-05 18:22:27 +00002602007-02-05 Linus Walleij <triad@df.lth.se>
261
262 * src/libmtp.h.in: LGPL boilerplate.
263 * src/libusb-glue.h: LGPL boilerplate.
264 * src/unicode.h: LGPL boilerplate.
265 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +0000266 * examples/albumart.c: LGPL boilerplate, crediting Andy.
267 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
268 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
269 * examples/common.h: LGPL boilerplate.
270 * examples/albums.c: LGPL boilerplate, crediting Chris.
271 * examples/connect.c: LGPL boilerplate, crediting Chris.
272 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
273 * examples/detect.c: LGPL boilerplate.
274 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
275 * examples/files.c: LGPL boilerplate.
276 * examples/folders.c: LGPL boilerplate.
277 * examples/format.c: LGPL boilerplate.
278 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
279 * examples/getplaylist.c: LGPL boilerplate.
280 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
281 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000282
Linus Walleija8a19cc2007-02-02 22:13:17 +00002832007-02-02 Linus Walleij <triad@df.lth.se>
284
285 * src/ptp.c: sync upstream.
286 * src/ptp.h: dito.
287 * src/ptp-pack.c: dito.
288 * src/libmtp.c: make changes necessary to handle
289 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +0000290 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +0000291 clean-up functions. Fix LGPL boilerplate text.
292 * src/unicode.c: Fix LGPL boilerplate text.
293 * src/utils.c: Fix LGPL boilerplate text.
294 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +0000295
Linus Walleij550d6d52007-01-24 14:32:51 +00002962007-01-24 Ted Bullock <tbullock@canada.com>
297
298 * src/libusb-glue.c: new function to retrieve multiple device
299 instances.
300 * src/libusb-glue.h: dito.
301 * src/libmtp.h.in: new error codes.
302
Linus Walleij070e9b42007-01-22 08:49:28 +00003032007-01-22 Linus Walleij <triad@df.lth.se>
304
305 * examples/albumart.c: use the new errostack.
306 * examples/delfile.c: dito.
307 * examples/detect.c: dito.
308 * examples/emptyfolders.c: dito.
309 * examples/format.c: dito.
310 * examples/getfile.c: dito.
311 * examples/getplaylist.c: dito.
312 * examples/newfolder.c: dito.
313 * examples/newplaylist.c: dito.
314 * examples/playlists.c: dito.
315 * examples/sendfile.c: dito.
316 * examples/sendtr.c: dito.
317 * examples/thumb.c: dito.
318 * src/libmtp.c: add some errors to the stack so we can
319 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000320 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
321 function into this file cause it only return USB devices
322 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
323 (but let's not do that renaming since it would break the API).
324 For now let's understand this is a USB-only function by
325 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000326
3272007-01-22 Ted Bullock <tbullock@canada.com>
328
329 * src/libusb-glue.c: first hack at creating an interface
330 to retrieve multiple devices.
331 * src/libmtp.h.in: new error codes related to multiple devices.
332
Richard Low7059ed42007-01-21 09:33:34 +00003332007-01-21 Richard Low <richard@wentnet.com>
334
335 * src/libusb-glue.c: more new devices
336
Linus Walleij2715c442007-01-20 22:35:29 +00003372007-01-20 Linus Walleij <triad@df.lth.se>
338
339 * src/libmtp.h.in: error stack handling like in libnjb.
340 just bare bones implementation as of now but the idea
341 should be clearly visible. TODO: add a plethora of
342 errors and adjust examples to make use of the error
343 stack.
344 * src/libmtp.c: dito.
345
Richard Lowa98d0542007-01-20 12:31:07 +00003462007-01-20 Richard Low <richard@wentnet.com>
347
348 * src/libusb-glue.c: new device 'Philips PSA235'
349
Linus Walleij85a4c032007-01-16 20:42:18 +00003502007-01-16 Linus Walleij <triad@df.lth.se>
351
352 * configure.ac: bump and release 0.1.3.
353 * src/Makefile.am: bump interface REVISION. Nothing changed
354 externally really.
355
Linus Walleijd85d2bb2007-01-11 21:32:48 +00003562007-01-11 Linus Walleij <triad@df.lth.se>
357
358 * src/libmtp.sym: updated symbol table for mingw32 but does
359 anyone use this? Also I believe one could auto-generate
360 this some way, just haven't figured out how... Perhaps with
361 a funky script that massage libmtp.h if nothing else.
362
Richard Low4df32f82007-01-11 20:04:39 +00003632007-01-11 Richard Low <richard@wentnet.com>
364
365 * src/libusb-glue.c: a zero read fix
366 * src/libmtp.c: fix spelling mistake
367
Linus Walleijc49c6372007-01-09 00:18:51 +00003682007-01-09 Linus Walleij <triad@df.lth.se>
369
370 * src/libusb-glue.c: repair callbacks, structure the code just
371 a little bit.
372 * src/libmtp.c: don't assign values to writes or reads, use the
373 PTP transport intrinsics instead.
374
Linus Walleij15af8532007-01-07 12:45:20 +00003752007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
376
377 * src/ptp.h: Encoding profile.
378 * src/ptp.c: Dito.
379
Linus Walleij58b62792007-01-07 12:38:59 +00003802006-01-07 Linus Walleij <triad@df.lth.se>
381
382 * src/libusb-glue.c: (re)introduce de-halting of endpoints
383 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000384 this causes problems for other archs! Problem was reported
385 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000386
Linus Walleija0323272007-01-07 12:21:30 +00003872006-01-07 Marcus Meissner <meissner@suse.de>
388
389 * src/ptp.c: sync to upstream libgphoto2.
390 * src/ptp.h: dito.
391 * src/ptp-pack.c: dito.
392 * libusb-glue.c: fixes to move low-level functions
393 out of ptp.c and into this libmtp-specific portion.
394 libgphoto2 has been similarly altered to use a usb.c
395 file for the low-level stuff. (This was a long needed
396 split anyway.)
397
Linus Walleij58b62792007-01-07 12:38:59 +00003982007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000399
400 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000401 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000402
Linus Walleij99ed83c2007-01-02 18:46:02 +00004032007-01-02 Linus Walleij <triad@df.lth.se>
404
405 * src/libusb-glue.c: fix up comments, remove things
406 refering to stuff we don't have.
407
Richard Lowb89ea942007-01-02 11:47:19 +00004082007-01-02 Richard Low <richard@wentnet.com>
409
410 * src/libmtp.c: another try at split headers/packet sizes
411 * src/ptp.c: ditto
412 * src/libusb-glue.c: ditto
413
Linus Walleijc70a6df2007-01-01 22:19:08 +00004142007-01-01 Linus Walleij <triad@df.lth.se>
415
416 * src/libmtp.c: move default setting of split headers
417 off to ptp.c open session.
418 * src/ptp.c: dito.
419
Richard Low021421e2007-01-01 18:08:57 +00004202007-01-01 Richard Low <richard@wentnet.com>
421
422 * src/libmtp.c: split headers/packet size fix
423 * src/ptp.c: ditto
424 * src/ptp.h: ditto
425 * src/libusb-glue.c: ditto
426
Linus Walleijfa2d1d12007-01-01 17:08:13 +00004272007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
428
429 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
430 addition of AAVT error codes.
431 * src/ptp.c: changes to reflect modifications done in ptp.h
432
Linus Walleija5ab8c42006-12-31 09:25:36 +00004332006-12-31 Linus Walleij <triad@df.lth.se>
434
435 * configure.ac: bump to 0.1.2.
436 * src/Makefile.am: bump interface revision. (Compatible.)
437 * RELEASE 0.1.2.
438
Linus Walleij02ee8802006-12-30 17:27:58 +00004392006-12-30 Linus Walleij <triad@df.lth.se>
440
441 * examples/pathutils.c: reflect new filetypes.
442 * examples/sendtr.c: dito.
443
Linus Walleij5fb47132006-12-30 15:35:48 +00004442006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
445
446 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
447 codes. added more format object codes flac, m4a, 3gp, aac,
448 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
449 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
450 Added more device property codes.
451 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
452 * src/ptp.c: added changes to reflect new extensions, object
453 codes, device property codes.
454 * src/libmtp.c: modified mp4 to reflect it is a container format
455 not a codec. Added more descriptions in init_filemap(). mp4
456 container format is ambiguous in
457 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
458 mp4 searched in video by default. Added comments about this.
459 Added support for the new format object types.
460 * src/libmtp.h.in: added constants to reflect changes to
461 init_filemap().
462
Richard Lowedd61832006-12-30 12:38:18 +00004632006-12-30 Richard Low <richard@wentnet.com>
464
465 * src/libusb-glue.c: fixed bug in debug printing
466
Richard Lowa6c924c2006-12-29 17:44:28 +00004672006-12-29 Richard Low <richard@wentnet.com>
468
469 * src/libmtp.c: Made abstract list creation to be more
470 WMP like
471 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +0000472 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +0000473
Linus Walleij784ac3f2006-12-29 10:36:51 +00004742006-12-29 Marcus Meissner <meissner@suse.de>
475
476 * src/ptp.h: API changes for libgphoto2 to use the file
477 retrieveal functions.
478 * src/ptp.c: dito.
479 * src/libusb-glue.c: changes in libmtp reflecting the new
480 API for libgphoto2.
481
Linus Walleij8609af32006-12-28 21:25:17 +00004822006-12-28 Linus Walleij <triad@df.lth.se>
483
Linus Walleije2e21182006-12-28 22:36:59 +0000484 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000485 * src/Makefile.am: bump interface for release, also autotools.
486 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000487
Linus Walleijd6735f72006-12-19 13:38:29 +00004882006-12-19 Matthew Wilcox <matthew@wil.cx>
489
490 * src/ptp.c: fix a (serious) short file bug.
491
Richard Lowaf20b5d2006-12-17 18:00:59 +00004922006-12-17 Richard Low <richard@wentnet.com>
493
494 * src/libmtp.c: don't bail out on failures when setting
495 metadata.
496
Linus Walleij037a1252006-12-16 20:36:52 +00004972006-12-16 Linus Walleij <triad@df.lth.se>
498
499 * src/ptp.c: sync to upstream.
500 * src/ptp.h: dito.
501 * src/ptp-pack.c: dito.
502
Linus Walleijf8491912006-12-15 10:23:30 +00005032006-12-15 Linus Walleij <triad@df.lth.se>
504
505 * src/libmtp.h.in: make the format function take a storage as
506 parameter. Add comments to device storage.
507 * src/libmtp.c: dito, fix up some code and docs.
508 * examples/format.c: make the format command comply with
509 the new API.
510
Linus Walleije1ac07e2006-12-14 19:38:59 +00005112006-12-14 Linus Walleij <triad@df.lth.se>
512
513 * src/libmtp.c: make get_first_storage_freespace() always query
514 the first storage when the space is requested. And some other
515 janitorial stuff.
516
Linus Walleijb01d18b2006-12-13 12:49:15 +00005172006-12-13 Linus Walleij <triad@df.lth.se>
518
519 * src/libusb-glue.c: one more device.
520 * examples/detect.c: compilation warnings fixed.
521
rreardon3d583062006-12-13 10:10:27 +00005222006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
523
524 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
525 * src/ptp.h: ditto.
526
Linus Walleijcd849362006-12-13 12:37:58 +00005272006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000528
529 * src/libmtp.h.in: revamped storage API.
530 * src/libmtp.c: dito.
531 * examples/detect.c: dito.
532
rreardon73d02c92006-12-12 16:45:30 +00005332006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000534
535 * src/libmtp.c: Send_Representative_Sample() updated to
536 set image height and width, or audio duration and size.
537
Linus Walleijd0f67702006-12-07 09:56:46 +00005382006-12-07 Linus Walleij <triad@df.lth.se>
539
Linus Walleija05b9802006-12-08 08:50:30 +0000540 * src/libmtp.h.in: support firmware object type. (Dangerous.)
541 * src/libmtp.c: dito.
542
5432006-12-07 Linus Walleij <triad@df.lth.se>
544
Linus Walleijd0f67702006-12-07 09:56:46 +0000545 * src/libmtp.c: default text folder detection (used in Samsung
546 Yepp T9) also add a few "My Foo" folder strings, remove the
547 "remaining directories" kludge.
548 * src/libmtp.h.in: default text folder.
549
Linus Walleijf1b02f22006-12-06 09:03:23 +00005502006-12-06 Linus Walleij <triad@df.lth.se>
551
552 * src/libmtp.h.in: extend the respresentative sample API a bit.
553 * src/libmtp.c: dito.
554 * examples/albumart.c: free memory after use.
555 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000556 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000557
Linus Walleijfdef4ae2006-12-05 16:15:51 +00005582006-12-04 Linus Walleij <triad@df.lth.se>
559
560 * src/ptp.c: enable split headers on sending object lists again.
561
5622006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000563
564 * src/libmtp.c: abstract Send_Representative_Sample() so
565 it can send samples for any format that supports it
566 * src/libmtp.h.in: same as above
567 * examples/albumart.c: altered to use new abstract function above
568 * example/thumb.c: sample program to upload thumbnails
569 * example/Makefile.am: add sample thumbnail program
570
Linus Walleijbdfaac22006-12-03 22:32:19 +00005712006-12-03 Linus Walleij <triad@df.lth.se>
572
573 * src/libmtp.c: check space on disk before sending
574 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000575 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
576 into LIBMTP_Send_Representative_Sample().
577 * src/libmtp.c: dito.
578 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000579
Linus Walleijfa3fbe32006-12-02 20:47:32 +00005802006-12-02 Marcus Meissner <meissner@suse.de>
581
582 * examples/Makefile.am: make sure symlinks really end
583 up in the correct dir.
584
Linus Walleij6eab3b32006-11-30 22:58:21 +00005852006-11-30 Linus Walleij <triad@df.lth.se>
586
587 * src/ptp.c: make Matthews patch thread-safe and fix it
588 so it will handle more than one surplus packet.
589 * src/ptp.h: dito.
590
Richard Lowab0d22d2006-11-30 22:17:49 +00005912006-11-30 Richard Low <richard@wentent.com>
592
593 * src/libmtp.c: memset PTPObjectInfo structs to 0
594
Linus Walleij4bf38dd2006-11-30 21:27:29 +00005952006-11-30 Matthew Wilcox <matthew@wil.cx>
596
597 * src/ptp.c: on some devices, surplus packet data is
598 sometimes returned during read, i.e. a header of the
599 next package is typically attacked to the incoming
600 data, as if someone was sending several packets at
601 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000602 * src/libusb-glue.c: revert my own mistakes by making
603 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000604
Linus Walleij9901e222006-11-30 12:28:19 +00006052006-11-30 Linus Walleij <triad@df.lth.se>
606
Linus Walleij2978f1a2006-11-30 14:00:26 +0000607 * configure.ac: this *is* gonna be libmtp 0.1.0!
608 * src/Makefile.am: age interface to 4-0-0 to indicate that
609 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000610 * src/libmtp.h.in: removed external object interface.
611 * src/libmtp.c: dito. Made all object manipulation functions
612 static.
613
Richard Lowc7d48d22006-11-29 18:24:55 +00006142006-11-29 Richard Low <richard@wentnet.com>
615
616 * src/libusb-glue.c: added new devices
617
Linus Walleij7beba572006-11-29 08:56:12 +00006182006-11-29 Linus Walleij <triad@df.lth.se>
619
620 * src/libusb-glue.c: remove some pointless #include <>
621 clutter, call usb_set_configuration() as needed by
622 Windows.
623 * src/libmtp.c: various fixups to enable use of Windows
624 <io.h> include file.
625 * README.windows.txt: added a quick porting guide for
626 MSVC by Farooq Zaman.
627
Linus Walleijcf42f452006-11-28 08:32:49 +00006282006-11-28 Linus Walleij <triad@df.lth.se>
629
630 * src/libmtp.h.in: removed filetype mapping API. We can handle
631 everything inside of libmtp now so no need for this.
632 * src/libmtp.c: dito.
633
Linus Walleij72e9c2b2006-11-28 08:14:00 +00006342006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000635
636 * examples/files.c: unsigned int sized printout.
637 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000638 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000639
Richard Low6c0a6ce2006-11-26 10:42:08 +00006402006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000641
Richard Low6c0a6ce2006-11-26 10:42:08 +0000642 * src/libmtp.c: object handles for proplists
643 * src/ptp-pack.c: ditto
644 * src/ptp.c: ditto
645 * src/ptp.h: ditto
646
Linus Walleijf73de152006-11-25 21:44:44 +00006472006-11-25 Marcus Meissner <marcus@jet.franken.de>
648
649 * examples/hotplug.c: adding HAL style XML output for
650 the devices.
651 * examples/Makefile.am: fixing a bug in the automake
652 file (pathutils.h missing!)
653 * Makefile.am: fix the problem with re-making sources
654 (you had to run ./autogen.sh before!)
655
Linus Walleijfe677ac2006-11-23 13:35:00 +00006562006-11-23 Linus Walleij <triad@df.lth.se>
657
658 * src/libusb-glue.h: add a new bug flag for devices that
659 have broken PTP_OC_MTP_GetObjPropList implementations.
660 * src/libusb-glue.c: state that all iRivers have this problem.
661 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
662 for these devices.
663
6642006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000665
666 * src/libmtp.c: set handle ids for new objects to 0 when
667 creating new albums and playlists.
668
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00006692006-11-21 Linus Walleij <triad@df.lth.se>
670
671 * src/libmtp.c: enabled enhanced mode for metadata retrieval
672 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000673 * src/libmtp.c: fixed the problem with sending files using
674 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000675
Linus Walleij277cd532006-11-20 14:57:46 +00006762006-11-20 Linus Walleij <triad@df.lth.se>
677
678 * src/ptp.h: sync to upstream libgphoto2
679 * src/ptp.c: dito.
680 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000681 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000682
6832006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000684
685 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
686 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000687 * examples/emptyfolders.c: new example program for pruning empty
688 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000689
Linus Walleij277cd532006-11-20 14:57:46 +00006902006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000691
rreardonbbb4e562006-11-19 22:16:11 +0000692 * src/libmtp.c: use enhanced MTP commands to create playlists and
693 send files
rreardon508705f2006-11-19 21:27:22 +0000694 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000695 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000696
Linus Walleijcd849362006-12-13 12:37:58 +00006972006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000698
699 * src/libusb-glue.c: fix error on reconnect.
700
Linus Walleij277cd532006-11-20 14:57:46 +00007012006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000702
703 * src/ptp.c: tidy up ptp_usb_getdata
704
Linus Walleij277cd532006-11-20 14:57:46 +00007052006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000706
707 * src/libmtp.c: fixed parent handle for uploaded tracks
708
Linus Walleij277cd532006-11-20 14:57:46 +00007092006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000710
711 * src/libmtp.c: fixed up album art using enhanced commands.
712
Linus Walleij277cd532006-11-20 14:57:46 +00007132006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000714
715 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
716 * src/ptp.c: ditto
717 * src/ptp.h: ditto
718 * src/ptp-pack.c: ditto
719
Linus Walleij277cd532006-11-20 14:57:46 +00007202006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000721
Linus Walleijccf28ce2006-11-16 16:06:38 +0000722 * src/libmtp.c: use enhanced MTP commands to create albums and
723 add detection of the default album folder.
724 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000725
Linus Walleij277cd532006-11-20 14:57:46 +00007262006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000727
728 * src/ptp-pack.c: set string buffer to correct size.
729
Linus Walleij277cd532006-11-20 14:57:46 +00007302006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000731
732 * examples/tracks.c: really use undeprecated API entry.
733
Linus Walleij277cd532006-11-20 14:57:46 +00007342006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000735
736 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000737 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000738 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000739 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000740 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000741 * examples/connect.c: ditto.
742 * examples/detect.c: ditto.
743 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000744 * src/ptp.c: working on getting object prop lists.
745 * src/ptp.h: dito.
746
Linus Walleij277cd532006-11-20 14:57:46 +00007472006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000748
749 * src/libusb-glue.c: added Zen Vision W to devices
750
Linus Walleij277cd532006-11-20 14:57:46 +00007512006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000752
753 * src/libmtp.c: added checks for supported properties
754
Linus Walleij277cd532006-11-20 14:57:46 +00007552006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000756
757 * src/libmtp.c: added a check for NULL filenames in
758 LIBMTP_Get_Folder_List.
759
Linus Walleij99310d42006-11-01 08:29:39 +00007602006-11-01 Linus Walleij <triad@df.lth.se>
761
762 * src/libmtp.h.in: set/get uint8 to/from objects
763 * src/libmtp.c: send object property list.
764 * src/ptp.c: dito.
765 * src/ptp.h: dito.
766 * src/ptp-pack.c: dito.
767
mopoke90be30e2006-10-30 08:47:41 +00007682006-10-29 Andy Kelk <andy@mopoke.co.uk>
769
770 * examples/albumart.c: simple tool for adding album art.
771 * src/libmtp.c: graceful handling of players not supporting
772 abstract album objects.
773
Linus Walleij0c33ec02006-10-27 10:15:40 +00007742006-10-27 Linus Walleij <triad@df.lth.se>
775
776 * src/Makefile.am: bump library interface to reflect the new
777 album methods.
778 * configure.ac: bump to 0.0.22 for the next release.
779
7802006-10-27 Andy Kelk <andy@mopoke.co.uk>
781
782 * src/libmtp.c: add support form abstract audio/video albums.
783 * src/libmtp.h.in: dito.
784
Linus Walleij7347d0f2006-10-23 07:23:39 +00007852006-10-23 Linus Walleij <triad@df.lth.se>
786
787 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
788 * src/ptp.c: sync to upstream.
789 * src/ptp.h: dito.
790 * src/ptp-pack.c: dito.
791
Linus Walleij9efe75f2006-10-20 09:09:45 +00007922006-10-20 Linus Walleij <triad@df.lth.se>
793
794 * Release 0.0.21 to get all the new device support out.
795
Linus Walleij501ba4d2006-10-16 06:17:04 +00007962006-10-16 Linus Walleij <triad@df.lth.se>
797
798 * configure.ac: bump to 0.0.21.
799 * src/libusb-glue.c: add code to unload a kernel driver for
800 the primary interface if it is already in use under Linux.
801 * src/libusb-glue.h: add a device flag to make this possible.
802
Linus Walleij37253292006-10-11 08:38:14 +00008032006-10-11 Linus Walleij <triad@df.lth.se>
804
805 * examples/delfile.c: patch from Chris Debenham
806 straingtening out the command-line interface a bit
807 more.
808
Linus Walleij43ff8fc2006-10-10 11:16:53 +00008092006-10-10 Linus Walleij <triad@df.lth.se>
810
Linus Walleij37253292006-10-11 08:38:14 +0000811 * examples/delfile.c: patch from Chris Debenham to make
812 this command take an optional filename as parameter
813 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000814
Linus Walleij955e6ba2006-09-26 16:55:10 +00008152006-09-26 Linus Walleij <triad@df.lth.se>
816
817 * libmtp.pc.in: require libusb instead of just linking it.
818 * configure.ac: bump release to 0.0.20 and release.
819
Linus Walleijb1318d12006-09-25 14:59:26 +00008202006-09-25 Linus Walleij <triad@df.lth.se>
821
822 * examples/evolution-sync.sh: example script to illustrate
823 to to transfer calendar, task and contact information
824 to a device supporting this.
825
Linus Walleij4ef39e62006-09-19 14:11:52 +00008262006-09-19 Linus Walleij <triad@df.lth.se>
827
828 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
829 * src/libmtp.c: dito.
830 * examples/sendfile.c: support vcard3.
831
Linus Walleijf248fdd2006-09-16 20:11:40 +00008322006-09-16 Linus Walleij <triad@df.lth.se>
833
834 * configure.ac: bump to 0.0.19 and release. There are some
835 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000836 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000837
Linus Walleijb8bfcb22006-09-13 12:14:28 +00008382006-09-13 Linus Walleij <triad@df.lth.se>
839
840 * examples/format.c: formatting test program.
841 * examples.Makefile.am: added format.
842
Linus Walleij13374a42006-09-13 11:55:30 +00008432006-09-13 Andy Kelk <andy@mopoke.co.uk>
844
845 * src/libmtp.h.in: added interface to format storage.
846 * src/libmtp.c: dito.
847 * src/ptp.c: dito.
848 * src/ptp.h: dito.
849
Linus Walleijd31e6192006-09-12 07:55:27 +00008502006-09-12 Linus Walleij <triad@df.lth.se>
851
852 * configure.ac: bump release. Released 0.0.18 yesterday.
853 * src/libmtp.c: do not try to read battery max level unless
854 the device supports it. (Bug occurred on Toshiba Gigabeat
855 P10.)
856
Linus Walleijd5d51c82006-09-11 06:57:50 +00008572006-09-11 Linus Walleij <triad@df.lth.se>
858
859 * src/libusb-glue.c: messed around a bit with device descriptor
860 detection so as to bring closer to libgphoto2 detection algorithm.
861 I've seen things that might be false positives, possibly USB mass
862 storage devices with additional MSFT descriptors to indicate they
863 have Janus DRM.
864 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
865 knows that UCS-2 is in machine endianness but Darwin and *BSD does
866 not. Detect C library and switch accordingly.
867 * src/unicode.c: retire old unicode code only keep things we cannot
868 live without. Remove the own internal UCS-2 conversion engine and
869 the internal iconv() engine and use the one already available in
870 PTPParams.
871 * src/unicode.h: dito.
872
Linus Walleij0558ac52006-09-07 06:55:03 +00008732006-09-07 Linus Walleij <triad@df.lth.se>
874
875 * src/libusb-glue.h: added device flags so we can make
876 the code behave differently on certain devices.
877 * src/libusb-glue.c: dito, plus removed some debug prints.
878 * src/libmtp.c: docs.
879 * src/libmtp.h.in: added device_flags to device list struct.
880 * src/Makefile.am: bumped to compatible library interface.
881 * configure.ac: bump version to 0.0.18 (0.0.17 released
882 yesterday).
883
Richard Low6ec2cc12006-09-06 16:59:16 +00008842006-09-06 Richard Low <richard@wentnet.com>
885
886 * src/libusb-glue.c: changed packet sizes to improve
887 transfer speeds.
888 * src/libmtp.c: changed packet sizes to improve transfer
889 transfer speeds. Also stopped extra ptp_getobjectinfo
890 calls when getting directories on connect.
891
Linus Walleij7f0c72e2006-09-06 13:01:58 +00008922006-09-06 Linus Walleij <triad@df.lth.se>
893
894 * src/libusb-glue.c: fixed some endpoint size detection
895 and sending special file sizes stuff. Real hairy bug...
896 Also messed around a bit with the callbacks.
897 * src/libmtp.c: changes for callback size detection.
898
Linus Walleija9310fa2006-09-04 06:47:42 +00008992006-09-04 Linus Walleij <triad@df.lth.se>
900
901 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
902 instead of magic values.
903
Linus Walleijd7aa5b22006-09-02 11:52:31 +00009042006-09-02 Linus Walleij <triad@df.lth.se>
905
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000906 * src/libmtp.c: add some code to have
907 LIBMTP_Send_File_From_File_Descriptor() accept a stream
908 if size is set to (uint64_t) -1, plus documentation fixes.
909 I don't think the streaming code will work but whoever want
910 to experiment with it has a place to start.
911 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000912
Linus Walleijda9500d2006-08-30 13:17:06 +00009132006-08-30 Linus Walleij <triad@df.lth.se>
914
915 * configure.ac: version bump.
916 * src/libmtp.c: more debug prints.
917 * src/libusb-glue.c: new iRiver device called Clix. By
918 the way I released libmtp 0.0.16 yesterday.
919
Linus Walleija823a702006-08-27 21:27:46 +00009202006-08-28 Linus Walleij <triad@df.lth.se>
921
922 * configure.ac: version bump.
923 * src/ptp-pack.c: upstream has committed my patch giving full
924 unicode support in libgphoto2 ptp2 camlib. No need for
925 any more ugly workarounds, plus we now have full unicode
926 filenames!
927 * src/ptp.c: dito.
928 * src/ptp.h: dito.
929 * src/libmtp.c: revamp to use the new unicode support in
930 libgphoto2.
931 * src/unicode.c: remove unused functionality.
932 * src/unicode.h: dito.
933
Linus Walleijee73ef22006-08-27 19:56:00 +00009342006-08-27 Linus Walleij <triad@df.lth.se>
935
936 * configure.ac: version bump. Release all these fixes
937 as 0.0.15.
938 * src/libusb-glue.c: fixed sucky errors. Added callback
939 code when reading files.
940 * src/libusb-glue.h: const correctness.
941 * src/libmtp.h.in: finally fixup the type on the callbacks.
942 * src/libmtp.c: more accurate sending callbacks. Callbacks
943 when getting files also, working correctly. Typeing of
944 callbacks now OK.
945 * examples/getfile.c: some display bar cosmetic fixup.
946 * TODO: lots of the things todo are now done.
947
Linus Walleijd214b9b2006-08-26 22:08:37 +00009482006-08-26 Linus Walleij <triad@df.lth.se>
949
950 * configure.ac: version bump.
951 * src/libmtp.c: fix bug and reinstate callbacks.
952 * src/libusb-glue.h: dito.
953 * src/libusb-glue.c: dito.
954
Linus Walleije7f44be2006-08-25 19:32:29 +00009552006-08-25 Linus Walleij <triad@df.lth.se>
956
957 * src/libmtp.c: use the new file descriptor sender function.
958 Going to release this as 0.0.13.
959 * src/ptp.c: upstream accepted patches synced in.
960 * src/ptp.h: dito.
961
Linus Walleijeab650b2006-08-21 23:26:37 +00009622006-08-22 Linus Walleij <triad@df.lth.se>
963
Linus Walleij80d134a2006-08-22 21:41:37 +0000964 * src/libusb-glue.c: found a real nasty endpoint bug,
965 code from libgphoto2 was assuming max packet size of
966 512 bytes while it is 64 when a USB 2.0 device is
967 plugged into an UHCI hub.
968
9692006-08-22 Linus Walleij <triad@df.lth.se>
970
Linus Walleijeab650b2006-08-21 23:26:37 +0000971 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
972
Linus Walleij924236a2006-08-20 22:17:58 +00009732006-08-21 Linus Walleij <triad@df.lth.se>
974
975 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000976 as result of experiments by Gavin McCullagh. Upstream
977 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000978 Move iconv() converters into device struct for thread
979 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000980 * src/ptp.c: sync to upstream which merges patch to get
981 file directly to file descriptor.
982 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000983 * src/unicode.c: move iconv() converters into the device
984 struct for thread safety.
985 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000986
Linus Walleij30658792006-08-19 22:18:55 +00009872006-08-20 Linus Walleij <triad@df.lth.se>
988
989 * src/libmtp.h.in: set friendly name and sync partner,
990 rename ownername to friendlyname.
991 * src/libmtp.c: dito.
992 * examples/detect.c: reflect changes.
993 * src/Makefile.am: interface is incompatible so age it.
994
Linus Walleijfae27482006-08-19 20:13:25 +00009952006-08-19 Linus Walleij <triad@df.lth.se>
996
997 * src/libmtp.h.in: add function to get syncronization
998 partner for the device.
999 * src/libmtp.c: dito.
1000 * examples/detect.c: use that function.
1001 * src/Makefile.am: backward-compatible interface bump.
1002
Linus Walleij16571dc2006-08-17 20:27:46 +000010032006-08-17 Linus Walleij <triad@df.lth.se>
1004
1005 * configure.ac: bump to 0.0.12 and require iconv.h.
1006
10072006-08-16 Linus Walleij <triad@df.lth.se>
1008
1009 * src/unicode.c: remove bigendian weirdness and switch
1010 to using iconv() instead.
1011 * src/unicode.h: dito.
1012 * src/libmtp.c: reflect changes.
1013
Linus Walleij3e188f12006-08-09 20:46:05 +000010142006-08-09 Linus Walleij <triad@df.lth.se>
1015
1016 * Release libmtp 0.0.11.
1017
Linus Walleij2eb884b2006-08-04 19:17:36 +000010182006-08-04 Linus Walleij <triad@df.lth.se>
1019
1020 * src/libmtp.c: patch from Dan Aloni to make sendfile
1021 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +00001022 * src/libusb-glue.c: patch from Andy Kelk to avoid
1023 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +00001024 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +00001025
Linus Walleijaa4b0752006-07-26 22:21:04 +000010262006-07-27 Linus Walleij <triad@df.lth.se>
1027
1028 * Release libmtp 0.0.10.
1029
Linus Walleij17b55ea2006-07-26 13:54:00 +000010302006-07-26 Linus Walleij <triad@df.lth.se>
1031
1032 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +00001033 * src/libmtp.c: only set metdata properties supported by
1034 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +00001035 * src/ptp.c: sync to upstream.
1036 * src/ptp.h: sync to upstream.
1037 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +00001038
Linus Walleijc187cb92006-06-22 17:58:13 +000010392006-06-22 Linus Walleij <triad@df.lth.se>
1040
1041 * Release libmtp 0.0.9.
1042
Linus Walleij8ab54262006-06-21 07:12:28 +000010432006-06-21 Linus Walleij <triad@df.lth.se>
1044
1045 * src/libmtp.h.in: added function to retrieve supported
1046 filetypes.
1047 * src/libmtp.c: ditto.
1048 * examples/detect.c: use that function.
1049
Linus Walleijcf223e62006-06-19 09:31:53 +000010502006-06-19 Linus Walleij <triad@df.lth.se>
1051
1052 * src/unicode.c: support all endianness, detect
1053 byte-order-mark
1054 * src/unicode.h: ditto.
1055 * src/libmtp.c: ditto.
1056 * examples/detect.c: use proper tempfile function.
1057 * src/libmtp.h.in: add some more track properties.
1058 * src/libmtp.c: ditto.
1059 * examples/tracks.c: ditto.
1060
Linus Walleij2e4b5f92006-06-16 14:00:49 +000010612006-06-16 Linus Walleij <triad@df.lth.se>
1062
1063 * src/libmtp.h.in: new interfaces for single metadata post
1064 retrieveal.
1065 * src/libmtp.c: ditto.
1066 * examples/playlists.c: display track info using the new
1067 individual track metadata retrieveal method.
1068 * examples/getplaylist.c: ditto.
1069
Linus Walleij05ccbe72006-06-13 07:46:58 +000010702006-06-13 Linus Walleij <triad@df.lth.se>
1071
1072 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +00001073 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001074 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +00001075 we can find them. Retrieve device secure time and cert
1076 out of sheer curiosity.
1077 * src/ptp.c: sync to libgphoto2 with my patches.
1078 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001079
Linus Walleij438bd7f2006-06-08 11:35:44 +000010802006-06-07 Linus Walleij <triad@df.lth.se>
1081
1082 * src/libmtp.h.in: new playlist API and refactorings.
1083 * src/libmtp.c: ditto, and refactorings.
1084 * src/unicode.h: const correctness.
1085 * src/unicode.c: ditto.
1086 * examples/playlists.c: new example program.
1087 * configure.ac: bump to 0.0.9
1088 * src/Makefile.am: bump library interface.
1089
Linus Walleij52e3ac52006-06-05 10:30:00 +000010902006-06-05 Linus Walleij <triad@df.lth.se>
1091
1092 * examples/sendtr.c: fixed annoying bug that made this
1093 program totally useless.
1094 * src/libmtp.c: cosmetics.
1095 * configure.ac: bump to 0.0.8.
1096
Linus Walleij345a3372006-06-03 20:55:25 +000010972006-06-03 Linus Walleij <triad@df.lth.se>
1098
1099 * src/libmtp.c: metadata bugs, album name and genre
1100 confused. Fixe it and released libmtp 0.0.7.
1101
Linus Walleijdc09dc02006-06-01 14:23:41 +000011022006-06-01 Linus Walleij <triad@df.lth.se>
1103
1104 * Released libmtp 0.0.6.
1105
Linus Walleij549ec4d2006-05-31 19:59:52 +000011062006-05-31 Linus Walleij <triad@df.lth.se>
1107
1108 * src/libmtp.c: fixed mapping for JPEG vs JFIF
1109 * src/libmtp.h.in: added proper type for JPEG
1110 * examples/sendfile.c: send proper JPEG type
1111
Linus Walleijd3fdd972006-05-30 15:51:37 +000011122006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
1113
1114 * src/libmtp.c: fixed a bug in update metadata due to
1115 bad use of return code.
1116 * src/libusb-glue.c: fixed a loop exiting problem with
1117 good 'ol GOTO.
1118
Linus Walleij9b1fcd92006-05-29 08:35:29 +000011192006-05-29 Linus Walleij <triad@df.lth.se>
1120
1121 * src/libusb-glue.c: one more device.
1122 * doc/examples.h: produce correct documentation.
1123 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00001124 * src/ptp.c: sync to libgphoto2.
1125 * src/ptp.h: ditto.
1126 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00001127 * src/libmtp.c: fixed all filetype API related functions
1128 not to use any PTP intrinsic defines at all, made all
1129 parameters to functions use the internal libmtp interface
1130 enumerations and definitions. Removed LIBMTP_Release():
1131 we can live with the memory lost during init. You're not
1132 supposed to re-initialize the device. Consequently removed
1133 the delete function that cleaned the filetype assoc list.
1134 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001135
ravelox088180b2006-05-26 23:55:40 +000011362006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
1137
1138 * src/libmtp.c: refactored object handling to be more generic
1139 * src/libmtp.h.in: ditto
1140 * examples/refactortest.c: Added simple example to use refactoring
1141 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001142 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
1143 for playlist handling
1144 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00001145
Linus Walleij1fd2d272006-05-08 09:22:01 +000011462006-05-08 Linus Walleij <triad@df.lth.se>
1147
1148 * src/libmtp.h.in: add simple detection function.
1149 * src/libusb-glue.c: implement MTP "OS descriptor" for
1150 looking for MTP devices.
1151 * examples/detect.c: make it possible to do very
1152 rudimentary detection with "detect -p".
1153 * configure.ac: bump to 0.0.5.
1154
Linus Walleij685137f2006-05-07 18:09:02 +000011552006-05-07 Linus Walleij <triad@df.lth.se>
1156
1157 * COPYING: since we no longer use any parts of libptp2
1158 and only files from libgphoto2, we switch to the GNU
1159 Lesser General Public License (GNU LGPL). libptp2 is
1160 a derived work from libgphoto2, and so is libmtp, there
1161 are no remnants of libptp2 in libmtp anymore.
1162
Linus Walleij16c51f02006-05-04 13:20:22 +000011632006-05-04 Linus Walleij <triad@df.lth.se>
1164
1165 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00001166 * src/libmtp.c: respectfully rearranged to use a filetype mapping
1167 table.
1168 * src/ptp-pack.c: real nasty unicode packing bug.
1169 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00001170
Linus Walleijd6a49972006-05-02 08:24:54 +000011712006-05-02 Linus Walleij <triad@df.lth.se>
1172
1173 * src/libmtp.c: general shaping up for release. All track
1174 and file sending functions now respects a parent ID to be
1175 sent along with files and tracks.
1176 * src/libmtp.h.in: dito.
1177 * src/libusb-glue.c: dito.
1178 * examples/sendfile.c: interface dependency changes.
1179 * examples/sendtr.c: dito.
1180
Linus Walleijc60275a2006-04-30 10:58:11 +000011812006-04-30 Linus Walleij <triad@df.lth.se>
1182
1183 * src/ptp.c: sync upstream.
1184 * src/ptp.h: dito.
1185
Linus Walleij370c68d2006-04-27 14:19:01 +000011862006-04-27 Linus Walleij <triad@df.lth.se>
1187
1188 * examples/sendfile.c: first file sender program based
1189 on API implementation and changes by Chris Allegretta.
1190 * examples/Makefile.am: new program, new entry.
1191 * src/libmtp.c: reflect this new functionality.
1192 * src/libmtp.h.in: dito.
1193
Linus Walleijb02a0662006-04-25 08:05:09 +000011942006-04-25 Linus Walleij <triad@df.lth.se>
1195
1196 * Rebased the sources around libgphoto2 instead.
1197 This was a major revision...
1198 * src/ptp.c: imported libgphoto2 version verbatim.
1199 * src/ptp.h: imported libgphoto2 version, minor patch.
1200 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00001201 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00001202 * src/mtp.c: dropped, since all functions are now in ptp.c
1203 * src/mtp-pack.c: dropped, same reason.
1204 * src/mtp.h: dropped, same reason.
1205 * src/mtp-pack.h: dropped, same reason.
1206
Linus Walleije5f3ad42006-04-21 07:44:36 +000012072006-04-21 Linus Walleij <triad@df.lth.se>
1208
Linus Walleij902c0b92006-04-21 10:52:48 +00001209 * Released libmtp 0.0.3
1210 * Bumped source to 0.0.4
1211
12122006-04-21 Linus Walleij <triad@df.lth.se>
1213
Linus Walleije5f3ad42006-04-21 07:44:36 +00001214 * src/ptp-pack.c: GCC 4.x compilation patch from
1215 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001216 * src/libusb-glue.c: New Samsung device and some
1217 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001218 * src/ptp.h: some defines from libgphoto2 to get
1219 a bit more compatible.
1220 * src/libmtp.c: Added a folder API implementation by
1221 Dave "ravelox" Kelly.
1222 * src/libmtp.h.in: dito.
1223 * examples/folders.c: dito.
1224 * examples/newfolder.c: dito.
1225 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001226
Linus Walleij6fd2f082006-03-28 07:19:22 +000012272006-03-28 Linus Walleij <triad@df.lth.se>
1228
1229 * m4/*: updated macros to work with GCC 4.1.0.
1230 * examples/hotplug.c: new program to create device
1231 ID lists.
1232 * libmtp.rules: now an auto-generated file.
1233 * libmtp.usermap: now an auto-generated file.
1234
Linus Walleijf6bc1782006-03-24 15:12:47 +000012352006-03-24 Linus Walleij <triad@df.lth.se>
1236
1237 * Beginning a file API, fixed some example program
1238 names and such.
1239
Linus Walleij6946ac52006-03-21 06:51:22 +000012402006-03-18 Linus Walleij <triad@df.lth.se>
1241
1242 * Fixed up callback interface to a simpler version,
1243 the old one was bloated stuff from libnjb anyway.
1244 Bump to 0.0.2.
1245
Linus Walleij9b28da32006-03-16 13:47:58 +000012462006-03-16 Linus Walleij <triad@df.lth.se>
1247
1248 * Fixed the .h file and implementation so you really only
1249 need this one .h file to interface the library.
1250
Linus Walleij80124062006-03-15 10:26:09 +000012512006-03-15 Linus Walleij <triad@df.lth.se>
1252
1253 * Added three device information retrieval functions.
1254
Linus Walleij15e344f2006-03-06 15:15:00 +000012552006-03-06 Linus Walleij <triad@df.lth.se>
1256
1257 * Moving some things around to structure the source. More
1258 will be needed...
1259
Linus Walleij93218602006-02-27 08:53:38 +000012602006-02-27 Linus Walleij <triad@df.lth.se>
1261
1262 * Release libmtp 0.0.1 so people have something to play with,
1263 what the heck. Probably saves someones day.
1264
Linus Walleij95698cd2006-02-24 10:40:40 +000012652006-02-24 Linus Walleij <triad@df.lth.se>
1266
1267 * Deltr example program to delete tracks, plus corresponding
1268 interface call.
1269
Linus Walleij17e39f72006-02-23 15:54:28 +000012702006-02-23 Linus Walleij <triad@df.lth.se>
1271
1272 * Fixed up sendtr program and metadata tagging function that is
1273 used after sending files.
1274
Linus Walleij394bbbe2006-02-22 16:10:53 +000012752006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001276
Linus Walleij394bbbe2006-02-22 16:10:53 +00001277 * Untested gettr.c and sendtr.c programs to get and send tracks
1278 created.
1279
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000012802006-01-30 Linus Walleij <triad@df.lth.se>
1281
1282 * Created the initial GNU source directory structure.
1283 * Added the most basic files.