blob: 4e97a73ce2c6610c5998121130edad6e8a15cc3d [file] [log] [blame]
Richard Low6711f442007-05-05 19:00:59 +000012007-05-05 Richard Low <richard@wentnet.com>
2
3 * src/libusb-glue.c: added Philips PSA610
4 * src/libmtp.c: code to recursively get object handles for each
5 assoc.
6 * src/libptp.h: ditto
7
Richard Low1869d272007-04-28 13:55:17 +000082007-04-28 Richard Low <richard@wentnet.com>
9
10 * src/libusb-glue.c: new device
11
Linus Walleijeccaae02007-04-26 08:19:03 +0000122007-04-26 Linus Walleij <triad@df.lth.se>
13
14 * src/libusb-glue.c: memory leak: dangling, unused poiter killed.
15
Linus Walleijadce4a52007-04-23 07:28:11 +0000162007-04-23 Linus Walleij <triad@df.lth.se>
17
18 * src/libmtp.h.in: extend LIBMTP_album_t to include fields for
19 artist and genre. This is sort of required so we must change
20 the API to have it working properly.
21 * src/libmtp.c: dito. Reflect changes in implementation.
22
Linus Walleij953504f2007-04-18 19:01:11 +0000232007-04-18 Linus Walleij <triad@df.lth.se>
24
25 * src/ptp.c: sync to upstream gPhoto source.
26 * src/ptp.h: dito.
27
Richard Low3637e1a2007-04-17 21:25:10 +0000282007-04-17 Richard Low <richard@wentnet.com>
29
30 * src/libusb-glue.c: new device
31
Richard Low856f3452007-04-13 11:21:26 +0000322007-04-13 Richard Low <richard@wentnet.com>
33
34 * src/libusb-glue.c: new devices
35
Linus Walleijfd531632007-04-12 19:49:58 +0000362007-04-12 Linus Walleij <triad@df.lth.se>
37
38 * examples/hotplug.c: fix GOTO style in udev map.
39
Linus Walleije73f74a2007-04-02 08:51:35 +0000402007-04-02 Linus Walleij <triad@df.lth.se>
41
42 * examples/files.c: some WIN32 64bit prefix fixup.
43 * examples/tracks.c: dito.
44
tedbullockcd9f4992007-03-29 06:00:40 +0000452007-03-28 Ted Bullock <tbullock@canada.com>
46
Linus Walleije73f74a2007-04-02 08:51:35 +000047 * examples/*.c: Print library version number on execution of examples.
48 * src/libmtp.h.in: New version number string to aid version echoing.
tedbullockcd9f4992007-03-29 06:00:40 +000049
Linus Walleij3968f362007-03-26 19:50:05 +0000502007-03-26 Linus Walleij <triad@df.lth.se>
51
52 * configure.ac: bump version to 0.1.5, release 0.1.5!
53 * src/Makefile.am: bump lib interface revision to libmtp.so.5.2.1,
54 backwards compatible to libmtp.so.5.
55
Richard Low057ea772007-03-24 13:37:38 +0000562007-03-24 Richard Low <richard@wentnet.com>
57
58 * src/libusb-glue.c: fixed bug in zero read code
59
Linus Walleije7df6532007-03-23 08:20:06 +0000602007-03-23 Linus Walleij <triad@df.lth.se>
61
62 * src/libmtp.c: refactored MTP property list handling code to make
63 things simple. Removed the flag for MTP enhanced: there are devices
Linus Walleij3968f362007-03-26 19:50:05 +000064 that will not work without MTP enhanced (for example the Samsung
65 YP-K5 will only support setting object property lists, not
66 individual object properties, leaving out parts of the MTP basic
67 subset), thus we are allowed to reverse-engineer and implement this
68 for interoperability. I also made the output from
69 LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
70 the ranges and possible enumerated values of all object properties.
71 For example you can see that the secret values associated with
72 Audible.com property 0xda01 is an enumerated value that can be
73 2, 3 or 4 (etc).
Linus Walleije7df6532007-03-23 08:20:06 +000074
Richard Low15731fe2007-03-22 20:27:20 +0000752007-03-22 Richard Low <richard@wentnet.com>
76
77 * src/ptp.c: PTP_OC_MTP_SetObjPropList implementation
78 * src/ptp.h: ditto
79 * src/libmtp.c: Use PTP_OC_MTP_SetObjPropList when updating track
80 metadata.
81
Richard Lowbf2675c2007-03-18 18:20:26 +0000822007-03-18 Richard Low <richard@wentnet.com>
83
84 * src/libusb-glue.c: new devices. Some of the Samsung players may
Richard Low6c8fea42007-03-18 19:11:52 +000085 need DEVICE_FLAG_NO_ZERO_READS to be set - I only know the YP-K5
86 needs it.
Richard Lowbf2675c2007-03-18 18:20:26 +000087
Linus Walleij2be40c72007-03-16 15:19:44 +0000882007-03-16 Linus Walleij <triad@df.lth.se>
89
90 * src/libusb-glue.h: introducing yet another device flag for the
91 irivers bugged firmwares, this is for the Alzheimer disease that
92 cause irivers to forget that OGG files are OGG files.
93 * src/libmtp.c: dito.
94 * src/libusb-glue.c: introduce this flag for all iriver devices.
95 * examples/pathutils.c: found a (small) bug.
96
Linus Walleijd1292842007-03-12 11:52:00 +0000972007-03-12 Linus Walleij <triad@df.lth.se>
98
99 * Makefile.am: cleanup patch from Rafael Laboissiere.
Linus Walleija4942fc2007-03-12 19:23:21 +0000100 * src/libusb-glue.c: refactored device detection code to
101 immediately test if the device is in the known devices list if it
102 does not feature a MTP device descriptor. This fixes the problem
103 of not being able to mix devices with proper descriptors and
104 non-detected devices.
Linus Walleijd1292842007-03-12 11:52:00 +0000105
Linus Walleijc2c96972007-03-07 08:12:31 +00001062007-03-07 Linus Walleij <triad@df.lth.se>
107
108 * src/libusb-glue.c: remove libgphoto2 functions that we
109 don't use.
Linus Walleij45a86372007-03-07 09:36:19 +0000110 * src/libusb-glue.h: export the free_mtpdevice_list() function,
111 new signature of find_usb_devices().
112 * src/libmtp.c: shrink code, pass as list of devices instead of
113 several huge arrays between libmtp.c and USB glue layer in
114 libusb-glue.c using the nifty list struct defined in libusb-glue.h.
Linus Walleijd24a7ab2007-03-07 21:48:43 +0000115 * Eventually release libmtp 0.1.4.
Linus Walleijc2c96972007-03-07 08:12:31 +0000116
Linus Walleijbfcb7922007-03-06 20:14:04 +00001172007-03-06 Linus Walleij <triad@df.lth.se>
118
119 * src/libusb-glue.c: rewrote one more function to be
120 non-recursive, perhaps I found the remaining bug, just
121 cannot see that right now, will test tomorrow.
122
Linus Walleijf27d1cd2007-03-05 14:23:00 +00001232007-03-05 Linus Walleij <triad@df.lth.se>
124
125 * src/libmtp.c: rewrite recursive function to linear.
126 * src/libusb-glue.h: create a wrapper type for the
127 device list instead of abusing the libusb device "next"
128 field in our code.
129 * src/libusb-glue.c: rewrite all recursive functions to
130 linear, use wrapper objects, don't copy the libusb device
131 struct, instead just store a pointer to it. This magically
132 solved a bug...
133
Linus Walleij82265222007-03-04 19:47:08 +00001342007-03-04 Linus Walleij <triad@df.lth.se>
135
136 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
137 backwards compatible with any libmtp.so.5 interface, for
138 imminent libmtp 0.1.4 release.
139
tedbullock848009b2007-03-03 23:20:12 +00001402007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +0000141
142 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +0000143 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
144 been set
tedbullock848009b2007-03-03 23:20:12 +0000145 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000146 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000147 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000148 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000149 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000150 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +0000151
tedbullock848009b2007-03-03 23:20:12 +00001522007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +0000153
154 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +0000155 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +0000156 means.
157 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
158 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +0000159 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +0000160
Richard Low4fd59d62007-03-03 16:34:37 +00001612007-03-03 Richard Low <richard@wentnet.com>
162
163 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
164 get object prop lists for Clix since it appears to work.
165 * src/libusb-glue.h: ditto
166 * src/ptp.h: ditto
167
Linus Walleij8a5b8852007-02-28 14:25:39 +00001682007-02-28 Linus Walleij <triad@df.lth.se>
169
170 * src/ptp.h: Upstream accepted our patch so synced it in.
171
Linus Walleij07fde342007-02-27 06:09:46 +00001722007-02-27 Linus Walleij <triad@df.lth.se>
173
174 * src/ptp.c: Synced in upstream version which removes the
175 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +0000176 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
177 detection since Windows and some devices (such as iRivers)
178 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +0000179
tedbullock6c060952007-02-26 19:07:23 +00001802007-02-22 Ted Bullock <tbullock@canada.com>
181
Linus Walleij07fde342007-02-27 06:09:46 +0000182 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
183 closing a file descriptor. This is not the responsibility of
184 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +0000185
Linus Walleij304433d2007-02-26 08:02:47 +00001862007-02-26 Linus Walleij <triad@df.lth.se>
187
Linus Walleij07fde342007-02-27 06:09:46 +0000188 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
189 in the LIBMTP_Update_Track_Metadata() function, there are
190 obviously devices that do not support this, but only
191 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
192 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +0000193 atleast reported correctly now.
194
Richard Low4eb01122007-02-24 10:11:32 +00001952007-02-24 Richard Low <richard@wentnet.com>
196
197 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
198 write issues
199
Linus Walleij039d1dd2007-02-23 22:34:07 +00002002007-02-23 Linus Walleij <triad@df.lth.se>
201
202 * src/libmtp.c: Undeprecate getting first device code.
203
Richard Low0f794762007-02-23 22:06:27 +00002042007-02-23 Richard Low <richard@wentnet.com>
205
206 * src/libmtp.c: Fix crash when no devices connected
207
tedbullock2b45f2e2007-02-23 20:16:37 +00002082007-02-23 Ted Bullock <tbullock@canada.com>
209
210 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +0000211 * src/libusb-glue.c: Remove old uni-device cruft code
212 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +0000213 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
214 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +0000215
tedbullock20eb8202007-02-23 00:33:36 +00002162007-02-22 Ted Bullock <tbullock@canada.com>
217
218 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +0000219 * examples/tracks.c: Updated to use new multi device code
220 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +0000221
tedbullocke7713642007-02-18 23:10:09 +00002222007-02-18 Ted Bullock <tbullock@canada.com>
223
224 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +0000225 to wrap around the multi device API. Also added deprecation
226 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +0000227
Richard Lowd284f072007-02-17 08:52:41 +00002282007-02-17 Richard Low <richard@wentnet.com>
229
Richard Low02724f62007-02-17 09:47:26 +0000230 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +0000231 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
232 memory
Richard Low02724f62007-02-17 09:47:26 +0000233 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +0000234
rreardonbc730092007-02-15 14:32:20 +00002352007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +0000236
237 * src/libmtp.c: Fix a segfault in new error handling code.
238
Linus Walleij68b19c02007-02-15 11:50:37 +00002392007-02-15 Linus Walleij <triad@df.lth.se>
240
241 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +0000242 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
243 * examples/playlists.c: LGPL boilerplate.
244 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
245 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
246 Shaun, Enrique.
247 * examples/thumb.c: LGPL boilerplate, crediting Robert.
248 * examples/tracks.c: LGPL boilerplate.
249 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +0000250
tedbullock69a445b2007-02-15 07:41:04 +00002512007-02-15 Ted Bullock <tbullock@canada.com>
252
253 * examples/folders.c: Updated to use new multi device code
254 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +0000255 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
256 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +0000257
tedbullock0f033cb2007-02-14 20:56:54 +00002582007-02-14 Ted Bullock <tbullock@canada.com>
259
Linus Walleij57c2eff2007-02-15 12:02:04 +0000260 * src/libusb-glue.c: Wrote three new recursive functions to avoid
261 extreme levels of multiple indirection and to clean the code up
262 a bit for multiple devices.
263 * examples/detect.c: Adjusted function calls to use new multiple
264 device code.
tedbullock0f033cb2007-02-14 20:56:54 +0000265 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
266
Linus Walleij2d3f7b82007-02-14 09:24:20 +00002672007-02-12 Ted Bullock <tbullock@canada.com>
268
269 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +0000270 LIBMTP_Get_Connected_Devices) to add support for multiple devices
271 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000272 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +0000273 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000274 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
275 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
276
Linus Walleij2a1e3a42007-02-12 08:18:31 +00002772007-02-09 Ted Bullock <tbullock@canada.com>
278
279 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +0000280 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000281
Linus Walleij7b7a0e22007-02-05 18:22:27 +00002822007-02-05 Linus Walleij <triad@df.lth.se>
283
284 * src/libmtp.h.in: LGPL boilerplate.
285 * src/libusb-glue.h: LGPL boilerplate.
286 * src/unicode.h: LGPL boilerplate.
287 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +0000288 * examples/albumart.c: LGPL boilerplate, crediting Andy.
289 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
290 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
291 * examples/common.h: LGPL boilerplate.
292 * examples/albums.c: LGPL boilerplate, crediting Chris.
293 * examples/connect.c: LGPL boilerplate, crediting Chris.
294 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
295 * examples/detect.c: LGPL boilerplate.
296 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
297 * examples/files.c: LGPL boilerplate.
298 * examples/folders.c: LGPL boilerplate.
299 * examples/format.c: LGPL boilerplate.
300 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
301 * examples/getplaylist.c: LGPL boilerplate.
302 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
303 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000304
Linus Walleija8a19cc2007-02-02 22:13:17 +00003052007-02-02 Linus Walleij <triad@df.lth.se>
306
307 * src/ptp.c: sync upstream.
308 * src/ptp.h: dito.
309 * src/ptp-pack.c: dito.
310 * src/libmtp.c: make changes necessary to handle
311 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +0000312 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +0000313 clean-up functions. Fix LGPL boilerplate text.
314 * src/unicode.c: Fix LGPL boilerplate text.
315 * src/utils.c: Fix LGPL boilerplate text.
316 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +0000317
Linus Walleij550d6d52007-01-24 14:32:51 +00003182007-01-24 Ted Bullock <tbullock@canada.com>
319
320 * src/libusb-glue.c: new function to retrieve multiple device
321 instances.
322 * src/libusb-glue.h: dito.
323 * src/libmtp.h.in: new error codes.
324
Linus Walleij070e9b42007-01-22 08:49:28 +00003252007-01-22 Linus Walleij <triad@df.lth.se>
326
327 * examples/albumart.c: use the new errostack.
328 * examples/delfile.c: dito.
329 * examples/detect.c: dito.
330 * examples/emptyfolders.c: dito.
331 * examples/format.c: dito.
332 * examples/getfile.c: dito.
333 * examples/getplaylist.c: dito.
334 * examples/newfolder.c: dito.
335 * examples/newplaylist.c: dito.
336 * examples/playlists.c: dito.
337 * examples/sendfile.c: dito.
338 * examples/sendtr.c: dito.
339 * examples/thumb.c: dito.
340 * src/libmtp.c: add some errors to the stack so we can
341 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000342 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
343 function into this file cause it only return USB devices
344 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
345 (but let's not do that renaming since it would break the API).
346 For now let's understand this is a USB-only function by
347 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000348
3492007-01-22 Ted Bullock <tbullock@canada.com>
350
351 * src/libusb-glue.c: first hack at creating an interface
352 to retrieve multiple devices.
353 * src/libmtp.h.in: new error codes related to multiple devices.
354
Richard Low7059ed42007-01-21 09:33:34 +00003552007-01-21 Richard Low <richard@wentnet.com>
356
357 * src/libusb-glue.c: more new devices
358
Linus Walleij2715c442007-01-20 22:35:29 +00003592007-01-20 Linus Walleij <triad@df.lth.se>
360
361 * src/libmtp.h.in: error stack handling like in libnjb.
362 just bare bones implementation as of now but the idea
363 should be clearly visible. TODO: add a plethora of
364 errors and adjust examples to make use of the error
365 stack.
366 * src/libmtp.c: dito.
367
Richard Lowa98d0542007-01-20 12:31:07 +00003682007-01-20 Richard Low <richard@wentnet.com>
369
370 * src/libusb-glue.c: new device 'Philips PSA235'
371
Linus Walleij85a4c032007-01-16 20:42:18 +00003722007-01-16 Linus Walleij <triad@df.lth.se>
373
374 * configure.ac: bump and release 0.1.3.
375 * src/Makefile.am: bump interface REVISION. Nothing changed
376 externally really.
377
Linus Walleijd85d2bb2007-01-11 21:32:48 +00003782007-01-11 Linus Walleij <triad@df.lth.se>
379
380 * src/libmtp.sym: updated symbol table for mingw32 but does
381 anyone use this? Also I believe one could auto-generate
382 this some way, just haven't figured out how... Perhaps with
383 a funky script that massage libmtp.h if nothing else.
384
Richard Low4df32f82007-01-11 20:04:39 +00003852007-01-11 Richard Low <richard@wentnet.com>
386
387 * src/libusb-glue.c: a zero read fix
388 * src/libmtp.c: fix spelling mistake
389
Linus Walleijc49c6372007-01-09 00:18:51 +00003902007-01-09 Linus Walleij <triad@df.lth.se>
391
392 * src/libusb-glue.c: repair callbacks, structure the code just
393 a little bit.
394 * src/libmtp.c: don't assign values to writes or reads, use the
395 PTP transport intrinsics instead.
396
Linus Walleij15af8532007-01-07 12:45:20 +00003972007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
398
399 * src/ptp.h: Encoding profile.
400 * src/ptp.c: Dito.
401
Linus Walleij58b62792007-01-07 12:38:59 +00004022006-01-07 Linus Walleij <triad@df.lth.se>
403
404 * src/libusb-glue.c: (re)introduce de-halting of endpoints
405 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000406 this causes problems for other archs! Problem was reported
407 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000408
Linus Walleija0323272007-01-07 12:21:30 +00004092006-01-07 Marcus Meissner <meissner@suse.de>
410
411 * src/ptp.c: sync to upstream libgphoto2.
412 * src/ptp.h: dito.
413 * src/ptp-pack.c: dito.
414 * libusb-glue.c: fixes to move low-level functions
415 out of ptp.c and into this libmtp-specific portion.
416 libgphoto2 has been similarly altered to use a usb.c
417 file for the low-level stuff. (This was a long needed
418 split anyway.)
419
Linus Walleij58b62792007-01-07 12:38:59 +00004202007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000421
422 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000423 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000424
Linus Walleij99ed83c2007-01-02 18:46:02 +00004252007-01-02 Linus Walleij <triad@df.lth.se>
426
427 * src/libusb-glue.c: fix up comments, remove things
428 refering to stuff we don't have.
429
Richard Lowb89ea942007-01-02 11:47:19 +00004302007-01-02 Richard Low <richard@wentnet.com>
431
432 * src/libmtp.c: another try at split headers/packet sizes
433 * src/ptp.c: ditto
434 * src/libusb-glue.c: ditto
435
Linus Walleijc70a6df2007-01-01 22:19:08 +00004362007-01-01 Linus Walleij <triad@df.lth.se>
437
438 * src/libmtp.c: move default setting of split headers
439 off to ptp.c open session.
440 * src/ptp.c: dito.
441
Richard Low021421e2007-01-01 18:08:57 +00004422007-01-01 Richard Low <richard@wentnet.com>
443
444 * src/libmtp.c: split headers/packet size fix
445 * src/ptp.c: ditto
446 * src/ptp.h: ditto
447 * src/libusb-glue.c: ditto
448
Linus Walleijfa2d1d12007-01-01 17:08:13 +00004492007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
450
451 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
452 addition of AAVT error codes.
453 * src/ptp.c: changes to reflect modifications done in ptp.h
454
Linus Walleija5ab8c42006-12-31 09:25:36 +00004552006-12-31 Linus Walleij <triad@df.lth.se>
456
457 * configure.ac: bump to 0.1.2.
458 * src/Makefile.am: bump interface revision. (Compatible.)
459 * RELEASE 0.1.2.
460
Linus Walleij02ee8802006-12-30 17:27:58 +00004612006-12-30 Linus Walleij <triad@df.lth.se>
462
463 * examples/pathutils.c: reflect new filetypes.
464 * examples/sendtr.c: dito.
465
Linus Walleij5fb47132006-12-30 15:35:48 +00004662006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
467
468 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
469 codes. added more format object codes flac, m4a, 3gp, aac,
470 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
471 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
472 Added more device property codes.
473 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
474 * src/ptp.c: added changes to reflect new extensions, object
475 codes, device property codes.
476 * src/libmtp.c: modified mp4 to reflect it is a container format
477 not a codec. Added more descriptions in init_filemap(). mp4
478 container format is ambiguous in
479 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
480 mp4 searched in video by default. Added comments about this.
481 Added support for the new format object types.
482 * src/libmtp.h.in: added constants to reflect changes to
483 init_filemap().
484
Richard Lowedd61832006-12-30 12:38:18 +00004852006-12-30 Richard Low <richard@wentnet.com>
486
487 * src/libusb-glue.c: fixed bug in debug printing
488
Richard Lowa6c924c2006-12-29 17:44:28 +00004892006-12-29 Richard Low <richard@wentnet.com>
490
491 * src/libmtp.c: Made abstract list creation to be more
492 WMP like
493 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +0000494 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +0000495
Linus Walleij784ac3f2006-12-29 10:36:51 +00004962006-12-29 Marcus Meissner <meissner@suse.de>
497
498 * src/ptp.h: API changes for libgphoto2 to use the file
499 retrieveal functions.
500 * src/ptp.c: dito.
501 * src/libusb-glue.c: changes in libmtp reflecting the new
502 API for libgphoto2.
503
Linus Walleij8609af32006-12-28 21:25:17 +00005042006-12-28 Linus Walleij <triad@df.lth.se>
505
Linus Walleije2e21182006-12-28 22:36:59 +0000506 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000507 * src/Makefile.am: bump interface for release, also autotools.
508 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000509
Linus Walleijd6735f72006-12-19 13:38:29 +00005102006-12-19 Matthew Wilcox <matthew@wil.cx>
511
512 * src/ptp.c: fix a (serious) short file bug.
513
Richard Lowaf20b5d2006-12-17 18:00:59 +00005142006-12-17 Richard Low <richard@wentnet.com>
515
516 * src/libmtp.c: don't bail out on failures when setting
517 metadata.
518
Linus Walleij037a1252006-12-16 20:36:52 +00005192006-12-16 Linus Walleij <triad@df.lth.se>
520
521 * src/ptp.c: sync to upstream.
522 * src/ptp.h: dito.
523 * src/ptp-pack.c: dito.
524
Linus Walleijf8491912006-12-15 10:23:30 +00005252006-12-15 Linus Walleij <triad@df.lth.se>
526
527 * src/libmtp.h.in: make the format function take a storage as
528 parameter. Add comments to device storage.
529 * src/libmtp.c: dito, fix up some code and docs.
530 * examples/format.c: make the format command comply with
531 the new API.
532
Linus Walleije1ac07e2006-12-14 19:38:59 +00005332006-12-14 Linus Walleij <triad@df.lth.se>
534
535 * src/libmtp.c: make get_first_storage_freespace() always query
536 the first storage when the space is requested. And some other
537 janitorial stuff.
538
Linus Walleijb01d18b2006-12-13 12:49:15 +00005392006-12-13 Linus Walleij <triad@df.lth.se>
540
541 * src/libusb-glue.c: one more device.
542 * examples/detect.c: compilation warnings fixed.
543
rreardon3d583062006-12-13 10:10:27 +00005442006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
545
546 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
547 * src/ptp.h: ditto.
548
Linus Walleijcd849362006-12-13 12:37:58 +00005492006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000550
551 * src/libmtp.h.in: revamped storage API.
552 * src/libmtp.c: dito.
553 * examples/detect.c: dito.
554
rreardon73d02c92006-12-12 16:45:30 +00005552006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000556
557 * src/libmtp.c: Send_Representative_Sample() updated to
558 set image height and width, or audio duration and size.
559
Linus Walleijd0f67702006-12-07 09:56:46 +00005602006-12-07 Linus Walleij <triad@df.lth.se>
561
Linus Walleija05b9802006-12-08 08:50:30 +0000562 * src/libmtp.h.in: support firmware object type. (Dangerous.)
563 * src/libmtp.c: dito.
564
5652006-12-07 Linus Walleij <triad@df.lth.se>
566
Linus Walleijd0f67702006-12-07 09:56:46 +0000567 * src/libmtp.c: default text folder detection (used in Samsung
568 Yepp T9) also add a few "My Foo" folder strings, remove the
569 "remaining directories" kludge.
570 * src/libmtp.h.in: default text folder.
571
Linus Walleijf1b02f22006-12-06 09:03:23 +00005722006-12-06 Linus Walleij <triad@df.lth.se>
573
574 * src/libmtp.h.in: extend the respresentative sample API a bit.
575 * src/libmtp.c: dito.
576 * examples/albumart.c: free memory after use.
577 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000578 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000579
Linus Walleijfdef4ae2006-12-05 16:15:51 +00005802006-12-04 Linus Walleij <triad@df.lth.se>
581
582 * src/ptp.c: enable split headers on sending object lists again.
583
5842006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000585
586 * src/libmtp.c: abstract Send_Representative_Sample() so
587 it can send samples for any format that supports it
588 * src/libmtp.h.in: same as above
589 * examples/albumart.c: altered to use new abstract function above
590 * example/thumb.c: sample program to upload thumbnails
591 * example/Makefile.am: add sample thumbnail program
592
Linus Walleijbdfaac22006-12-03 22:32:19 +00005932006-12-03 Linus Walleij <triad@df.lth.se>
594
595 * src/libmtp.c: check space on disk before sending
596 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000597 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
598 into LIBMTP_Send_Representative_Sample().
599 * src/libmtp.c: dito.
600 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000601
Linus Walleijfa3fbe32006-12-02 20:47:32 +00006022006-12-02 Marcus Meissner <meissner@suse.de>
603
604 * examples/Makefile.am: make sure symlinks really end
605 up in the correct dir.
606
Linus Walleij6eab3b32006-11-30 22:58:21 +00006072006-11-30 Linus Walleij <triad@df.lth.se>
608
609 * src/ptp.c: make Matthews patch thread-safe and fix it
610 so it will handle more than one surplus packet.
611 * src/ptp.h: dito.
612
Richard Lowab0d22d2006-11-30 22:17:49 +00006132006-11-30 Richard Low <richard@wentent.com>
614
615 * src/libmtp.c: memset PTPObjectInfo structs to 0
616
Linus Walleij4bf38dd2006-11-30 21:27:29 +00006172006-11-30 Matthew Wilcox <matthew@wil.cx>
618
619 * src/ptp.c: on some devices, surplus packet data is
620 sometimes returned during read, i.e. a header of the
621 next package is typically attacked to the incoming
622 data, as if someone was sending several packets at
623 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000624 * src/libusb-glue.c: revert my own mistakes by making
625 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000626
Linus Walleij9901e222006-11-30 12:28:19 +00006272006-11-30 Linus Walleij <triad@df.lth.se>
628
Linus Walleij2978f1a2006-11-30 14:00:26 +0000629 * configure.ac: this *is* gonna be libmtp 0.1.0!
630 * src/Makefile.am: age interface to 4-0-0 to indicate that
631 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000632 * src/libmtp.h.in: removed external object interface.
633 * src/libmtp.c: dito. Made all object manipulation functions
634 static.
635
Richard Lowc7d48d22006-11-29 18:24:55 +00006362006-11-29 Richard Low <richard@wentnet.com>
637
638 * src/libusb-glue.c: added new devices
639
Linus Walleij7beba572006-11-29 08:56:12 +00006402006-11-29 Linus Walleij <triad@df.lth.se>
641
642 * src/libusb-glue.c: remove some pointless #include <>
643 clutter, call usb_set_configuration() as needed by
644 Windows.
645 * src/libmtp.c: various fixups to enable use of Windows
646 <io.h> include file.
647 * README.windows.txt: added a quick porting guide for
648 MSVC by Farooq Zaman.
649
Linus Walleijcf42f452006-11-28 08:32:49 +00006502006-11-28 Linus Walleij <triad@df.lth.se>
651
652 * src/libmtp.h.in: removed filetype mapping API. We can handle
653 everything inside of libmtp now so no need for this.
654 * src/libmtp.c: dito.
655
Linus Walleij72e9c2b2006-11-28 08:14:00 +00006562006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000657
658 * examples/files.c: unsigned int sized printout.
659 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000660 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000661
Richard Low6c0a6ce2006-11-26 10:42:08 +00006622006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000663
Richard Low6c0a6ce2006-11-26 10:42:08 +0000664 * src/libmtp.c: object handles for proplists
665 * src/ptp-pack.c: ditto
666 * src/ptp.c: ditto
667 * src/ptp.h: ditto
668
Linus Walleijf73de152006-11-25 21:44:44 +00006692006-11-25 Marcus Meissner <marcus@jet.franken.de>
670
671 * examples/hotplug.c: adding HAL style XML output for
672 the devices.
673 * examples/Makefile.am: fixing a bug in the automake
674 file (pathutils.h missing!)
675 * Makefile.am: fix the problem with re-making sources
676 (you had to run ./autogen.sh before!)
677
Linus Walleijfe677ac2006-11-23 13:35:00 +00006782006-11-23 Linus Walleij <triad@df.lth.se>
679
680 * src/libusb-glue.h: add a new bug flag for devices that
681 have broken PTP_OC_MTP_GetObjPropList implementations.
682 * src/libusb-glue.c: state that all iRivers have this problem.
683 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
684 for these devices.
685
6862006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000687
688 * src/libmtp.c: set handle ids for new objects to 0 when
689 creating new albums and playlists.
690
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00006912006-11-21 Linus Walleij <triad@df.lth.se>
692
693 * src/libmtp.c: enabled enhanced mode for metadata retrieval
694 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000695 * src/libmtp.c: fixed the problem with sending files using
696 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000697
Linus Walleij277cd532006-11-20 14:57:46 +00006982006-11-20 Linus Walleij <triad@df.lth.se>
699
700 * src/ptp.h: sync to upstream libgphoto2
701 * src/ptp.c: dito.
702 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000703 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000704
7052006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000706
707 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
708 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000709 * examples/emptyfolders.c: new example program for pruning empty
710 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000711
Linus Walleij277cd532006-11-20 14:57:46 +00007122006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000713
rreardonbbb4e562006-11-19 22:16:11 +0000714 * src/libmtp.c: use enhanced MTP commands to create playlists and
715 send files
rreardon508705f2006-11-19 21:27:22 +0000716 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000717 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000718
Linus Walleijcd849362006-12-13 12:37:58 +00007192006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000720
721 * src/libusb-glue.c: fix error on reconnect.
722
Linus Walleij277cd532006-11-20 14:57:46 +00007232006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000724
725 * src/ptp.c: tidy up ptp_usb_getdata
726
Linus Walleij277cd532006-11-20 14:57:46 +00007272006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000728
729 * src/libmtp.c: fixed parent handle for uploaded tracks
730
Linus Walleij277cd532006-11-20 14:57:46 +00007312006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000732
733 * src/libmtp.c: fixed up album art using enhanced commands.
734
Linus Walleij277cd532006-11-20 14:57:46 +00007352006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000736
737 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
738 * src/ptp.c: ditto
739 * src/ptp.h: ditto
740 * src/ptp-pack.c: ditto
741
Linus Walleij277cd532006-11-20 14:57:46 +00007422006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000743
Linus Walleijccf28ce2006-11-16 16:06:38 +0000744 * src/libmtp.c: use enhanced MTP commands to create albums and
745 add detection of the default album folder.
746 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000747
Linus Walleij277cd532006-11-20 14:57:46 +00007482006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000749
750 * src/ptp-pack.c: set string buffer to correct size.
751
Linus Walleij277cd532006-11-20 14:57:46 +00007522006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000753
754 * examples/tracks.c: really use undeprecated API entry.
755
Linus Walleij277cd532006-11-20 14:57:46 +00007562006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000757
758 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000759 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000760 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000761 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000762 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000763 * examples/connect.c: ditto.
764 * examples/detect.c: ditto.
765 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000766 * src/ptp.c: working on getting object prop lists.
767 * src/ptp.h: dito.
768
Linus Walleij277cd532006-11-20 14:57:46 +00007692006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000770
771 * src/libusb-glue.c: added Zen Vision W to devices
772
Linus Walleij277cd532006-11-20 14:57:46 +00007732006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000774
775 * src/libmtp.c: added checks for supported properties
776
Linus Walleij277cd532006-11-20 14:57:46 +00007772006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000778
779 * src/libmtp.c: added a check for NULL filenames in
780 LIBMTP_Get_Folder_List.
781
Linus Walleij99310d42006-11-01 08:29:39 +00007822006-11-01 Linus Walleij <triad@df.lth.se>
783
784 * src/libmtp.h.in: set/get uint8 to/from objects
785 * src/libmtp.c: send object property list.
786 * src/ptp.c: dito.
787 * src/ptp.h: dito.
788 * src/ptp-pack.c: dito.
789
mopoke90be30e2006-10-30 08:47:41 +00007902006-10-29 Andy Kelk <andy@mopoke.co.uk>
791
792 * examples/albumart.c: simple tool for adding album art.
793 * src/libmtp.c: graceful handling of players not supporting
794 abstract album objects.
795
Linus Walleij0c33ec02006-10-27 10:15:40 +00007962006-10-27 Linus Walleij <triad@df.lth.se>
797
798 * src/Makefile.am: bump library interface to reflect the new
799 album methods.
800 * configure.ac: bump to 0.0.22 for the next release.
801
8022006-10-27 Andy Kelk <andy@mopoke.co.uk>
803
804 * src/libmtp.c: add support form abstract audio/video albums.
805 * src/libmtp.h.in: dito.
806
Linus Walleij7347d0f2006-10-23 07:23:39 +00008072006-10-23 Linus Walleij <triad@df.lth.se>
808
809 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
810 * src/ptp.c: sync to upstream.
811 * src/ptp.h: dito.
812 * src/ptp-pack.c: dito.
813
Linus Walleij9efe75f2006-10-20 09:09:45 +00008142006-10-20 Linus Walleij <triad@df.lth.se>
815
816 * Release 0.0.21 to get all the new device support out.
817
Linus Walleij501ba4d2006-10-16 06:17:04 +00008182006-10-16 Linus Walleij <triad@df.lth.se>
819
820 * configure.ac: bump to 0.0.21.
821 * src/libusb-glue.c: add code to unload a kernel driver for
822 the primary interface if it is already in use under Linux.
823 * src/libusb-glue.h: add a device flag to make this possible.
824
Linus Walleij37253292006-10-11 08:38:14 +00008252006-10-11 Linus Walleij <triad@df.lth.se>
826
827 * examples/delfile.c: patch from Chris Debenham
828 straingtening out the command-line interface a bit
829 more.
830
Linus Walleij43ff8fc2006-10-10 11:16:53 +00008312006-10-10 Linus Walleij <triad@df.lth.se>
832
Linus Walleij37253292006-10-11 08:38:14 +0000833 * examples/delfile.c: patch from Chris Debenham to make
834 this command take an optional filename as parameter
835 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000836
Linus Walleij955e6ba2006-09-26 16:55:10 +00008372006-09-26 Linus Walleij <triad@df.lth.se>
838
839 * libmtp.pc.in: require libusb instead of just linking it.
840 * configure.ac: bump release to 0.0.20 and release.
841
Linus Walleijb1318d12006-09-25 14:59:26 +00008422006-09-25 Linus Walleij <triad@df.lth.se>
843
844 * examples/evolution-sync.sh: example script to illustrate
845 to to transfer calendar, task and contact information
846 to a device supporting this.
847
Linus Walleij4ef39e62006-09-19 14:11:52 +00008482006-09-19 Linus Walleij <triad@df.lth.se>
849
850 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
851 * src/libmtp.c: dito.
852 * examples/sendfile.c: support vcard3.
853
Linus Walleijf248fdd2006-09-16 20:11:40 +00008542006-09-16 Linus Walleij <triad@df.lth.se>
855
856 * configure.ac: bump to 0.0.19 and release. There are some
857 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000858 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000859
Linus Walleijb8bfcb22006-09-13 12:14:28 +00008602006-09-13 Linus Walleij <triad@df.lth.se>
861
862 * examples/format.c: formatting test program.
863 * examples.Makefile.am: added format.
864
Linus Walleij13374a42006-09-13 11:55:30 +00008652006-09-13 Andy Kelk <andy@mopoke.co.uk>
866
867 * src/libmtp.h.in: added interface to format storage.
868 * src/libmtp.c: dito.
869 * src/ptp.c: dito.
870 * src/ptp.h: dito.
871
Linus Walleijd31e6192006-09-12 07:55:27 +00008722006-09-12 Linus Walleij <triad@df.lth.se>
873
874 * configure.ac: bump release. Released 0.0.18 yesterday.
875 * src/libmtp.c: do not try to read battery max level unless
876 the device supports it. (Bug occurred on Toshiba Gigabeat
877 P10.)
878
Linus Walleijd5d51c82006-09-11 06:57:50 +00008792006-09-11 Linus Walleij <triad@df.lth.se>
880
881 * src/libusb-glue.c: messed around a bit with device descriptor
882 detection so as to bring closer to libgphoto2 detection algorithm.
883 I've seen things that might be false positives, possibly USB mass
884 storage devices with additional MSFT descriptors to indicate they
885 have Janus DRM.
886 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
887 knows that UCS-2 is in machine endianness but Darwin and *BSD does
888 not. Detect C library and switch accordingly.
889 * src/unicode.c: retire old unicode code only keep things we cannot
890 live without. Remove the own internal UCS-2 conversion engine and
891 the internal iconv() engine and use the one already available in
892 PTPParams.
893 * src/unicode.h: dito.
894
Linus Walleij0558ac52006-09-07 06:55:03 +00008952006-09-07 Linus Walleij <triad@df.lth.se>
896
897 * src/libusb-glue.h: added device flags so we can make
898 the code behave differently on certain devices.
899 * src/libusb-glue.c: dito, plus removed some debug prints.
900 * src/libmtp.c: docs.
901 * src/libmtp.h.in: added device_flags to device list struct.
902 * src/Makefile.am: bumped to compatible library interface.
903 * configure.ac: bump version to 0.0.18 (0.0.17 released
904 yesterday).
905
Richard Low6ec2cc12006-09-06 16:59:16 +00009062006-09-06 Richard Low <richard@wentnet.com>
907
908 * src/libusb-glue.c: changed packet sizes to improve
909 transfer speeds.
910 * src/libmtp.c: changed packet sizes to improve transfer
911 transfer speeds. Also stopped extra ptp_getobjectinfo
912 calls when getting directories on connect.
913
Linus Walleij7f0c72e2006-09-06 13:01:58 +00009142006-09-06 Linus Walleij <triad@df.lth.se>
915
916 * src/libusb-glue.c: fixed some endpoint size detection
917 and sending special file sizes stuff. Real hairy bug...
918 Also messed around a bit with the callbacks.
919 * src/libmtp.c: changes for callback size detection.
920
Linus Walleija9310fa2006-09-04 06:47:42 +00009212006-09-04 Linus Walleij <triad@df.lth.se>
922
923 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
924 instead of magic values.
925
Linus Walleijd7aa5b22006-09-02 11:52:31 +00009262006-09-02 Linus Walleij <triad@df.lth.se>
927
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000928 * src/libmtp.c: add some code to have
929 LIBMTP_Send_File_From_File_Descriptor() accept a stream
930 if size is set to (uint64_t) -1, plus documentation fixes.
931 I don't think the streaming code will work but whoever want
932 to experiment with it has a place to start.
933 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000934
Linus Walleijda9500d2006-08-30 13:17:06 +00009352006-08-30 Linus Walleij <triad@df.lth.se>
936
937 * configure.ac: version bump.
938 * src/libmtp.c: more debug prints.
939 * src/libusb-glue.c: new iRiver device called Clix. By
940 the way I released libmtp 0.0.16 yesterday.
941
Linus Walleija823a702006-08-27 21:27:46 +00009422006-08-28 Linus Walleij <triad@df.lth.se>
943
944 * configure.ac: version bump.
945 * src/ptp-pack.c: upstream has committed my patch giving full
946 unicode support in libgphoto2 ptp2 camlib. No need for
947 any more ugly workarounds, plus we now have full unicode
948 filenames!
949 * src/ptp.c: dito.
950 * src/ptp.h: dito.
951 * src/libmtp.c: revamp to use the new unicode support in
952 libgphoto2.
953 * src/unicode.c: remove unused functionality.
954 * src/unicode.h: dito.
955
Linus Walleijee73ef22006-08-27 19:56:00 +00009562006-08-27 Linus Walleij <triad@df.lth.se>
957
958 * configure.ac: version bump. Release all these fixes
959 as 0.0.15.
960 * src/libusb-glue.c: fixed sucky errors. Added callback
961 code when reading files.
962 * src/libusb-glue.h: const correctness.
963 * src/libmtp.h.in: finally fixup the type on the callbacks.
964 * src/libmtp.c: more accurate sending callbacks. Callbacks
965 when getting files also, working correctly. Typeing of
966 callbacks now OK.
967 * examples/getfile.c: some display bar cosmetic fixup.
968 * TODO: lots of the things todo are now done.
969
Linus Walleijd214b9b2006-08-26 22:08:37 +00009702006-08-26 Linus Walleij <triad@df.lth.se>
971
972 * configure.ac: version bump.
973 * src/libmtp.c: fix bug and reinstate callbacks.
974 * src/libusb-glue.h: dito.
975 * src/libusb-glue.c: dito.
976
Linus Walleije7f44be2006-08-25 19:32:29 +00009772006-08-25 Linus Walleij <triad@df.lth.se>
978
979 * src/libmtp.c: use the new file descriptor sender function.
980 Going to release this as 0.0.13.
981 * src/ptp.c: upstream accepted patches synced in.
982 * src/ptp.h: dito.
983
Linus Walleijeab650b2006-08-21 23:26:37 +00009842006-08-22 Linus Walleij <triad@df.lth.se>
985
Linus Walleij80d134a2006-08-22 21:41:37 +0000986 * src/libusb-glue.c: found a real nasty endpoint bug,
987 code from libgphoto2 was assuming max packet size of
988 512 bytes while it is 64 when a USB 2.0 device is
989 plugged into an UHCI hub.
990
9912006-08-22 Linus Walleij <triad@df.lth.se>
992
Linus Walleijeab650b2006-08-21 23:26:37 +0000993 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
994
Linus Walleij924236a2006-08-20 22:17:58 +00009952006-08-21 Linus Walleij <triad@df.lth.se>
996
997 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000998 as result of experiments by Gavin McCullagh. Upstream
999 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +00001000 Move iconv() converters into device struct for thread
1001 safety.
Linus Walleij96c62432006-08-21 10:04:02 +00001002 * src/ptp.c: sync to upstream which merges patch to get
1003 file directly to file descriptor.
1004 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +00001005 * src/unicode.c: move iconv() converters into the device
1006 struct for thread safety.
1007 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +00001008
Linus Walleij30658792006-08-19 22:18:55 +000010092006-08-20 Linus Walleij <triad@df.lth.se>
1010
1011 * src/libmtp.h.in: set friendly name and sync partner,
1012 rename ownername to friendlyname.
1013 * src/libmtp.c: dito.
1014 * examples/detect.c: reflect changes.
1015 * src/Makefile.am: interface is incompatible so age it.
1016
Linus Walleijfae27482006-08-19 20:13:25 +000010172006-08-19 Linus Walleij <triad@df.lth.se>
1018
1019 * src/libmtp.h.in: add function to get syncronization
1020 partner for the device.
1021 * src/libmtp.c: dito.
1022 * examples/detect.c: use that function.
1023 * src/Makefile.am: backward-compatible interface bump.
1024
Linus Walleij16571dc2006-08-17 20:27:46 +000010252006-08-17 Linus Walleij <triad@df.lth.se>
1026
1027 * configure.ac: bump to 0.0.12 and require iconv.h.
1028
10292006-08-16 Linus Walleij <triad@df.lth.se>
1030
1031 * src/unicode.c: remove bigendian weirdness and switch
1032 to using iconv() instead.
1033 * src/unicode.h: dito.
1034 * src/libmtp.c: reflect changes.
1035
Linus Walleij3e188f12006-08-09 20:46:05 +000010362006-08-09 Linus Walleij <triad@df.lth.se>
1037
1038 * Release libmtp 0.0.11.
1039
Linus Walleij2eb884b2006-08-04 19:17:36 +000010402006-08-04 Linus Walleij <triad@df.lth.se>
1041
1042 * src/libmtp.c: patch from Dan Aloni to make sendfile
1043 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +00001044 * src/libusb-glue.c: patch from Andy Kelk to avoid
1045 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +00001046 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +00001047
Linus Walleijaa4b0752006-07-26 22:21:04 +000010482006-07-27 Linus Walleij <triad@df.lth.se>
1049
1050 * Release libmtp 0.0.10.
1051
Linus Walleij17b55ea2006-07-26 13:54:00 +000010522006-07-26 Linus Walleij <triad@df.lth.se>
1053
1054 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +00001055 * src/libmtp.c: only set metdata properties supported by
1056 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +00001057 * src/ptp.c: sync to upstream.
1058 * src/ptp.h: sync to upstream.
1059 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +00001060
Linus Walleijc187cb92006-06-22 17:58:13 +000010612006-06-22 Linus Walleij <triad@df.lth.se>
1062
1063 * Release libmtp 0.0.9.
1064
Linus Walleij8ab54262006-06-21 07:12:28 +000010652006-06-21 Linus Walleij <triad@df.lth.se>
1066
1067 * src/libmtp.h.in: added function to retrieve supported
1068 filetypes.
1069 * src/libmtp.c: ditto.
1070 * examples/detect.c: use that function.
1071
Linus Walleijcf223e62006-06-19 09:31:53 +000010722006-06-19 Linus Walleij <triad@df.lth.se>
1073
1074 * src/unicode.c: support all endianness, detect
1075 byte-order-mark
1076 * src/unicode.h: ditto.
1077 * src/libmtp.c: ditto.
1078 * examples/detect.c: use proper tempfile function.
1079 * src/libmtp.h.in: add some more track properties.
1080 * src/libmtp.c: ditto.
1081 * examples/tracks.c: ditto.
1082
Linus Walleij2e4b5f92006-06-16 14:00:49 +000010832006-06-16 Linus Walleij <triad@df.lth.se>
1084
1085 * src/libmtp.h.in: new interfaces for single metadata post
1086 retrieveal.
1087 * src/libmtp.c: ditto.
1088 * examples/playlists.c: display track info using the new
1089 individual track metadata retrieveal method.
1090 * examples/getplaylist.c: ditto.
1091
Linus Walleij05ccbe72006-06-13 07:46:58 +000010922006-06-13 Linus Walleij <triad@df.lth.se>
1093
1094 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +00001095 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001096 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +00001097 we can find them. Retrieve device secure time and cert
1098 out of sheer curiosity.
1099 * src/ptp.c: sync to libgphoto2 with my patches.
1100 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001101
Linus Walleij438bd7f2006-06-08 11:35:44 +000011022006-06-07 Linus Walleij <triad@df.lth.se>
1103
1104 * src/libmtp.h.in: new playlist API and refactorings.
1105 * src/libmtp.c: ditto, and refactorings.
1106 * src/unicode.h: const correctness.
1107 * src/unicode.c: ditto.
1108 * examples/playlists.c: new example program.
1109 * configure.ac: bump to 0.0.9
1110 * src/Makefile.am: bump library interface.
1111
Linus Walleij52e3ac52006-06-05 10:30:00 +000011122006-06-05 Linus Walleij <triad@df.lth.se>
1113
1114 * examples/sendtr.c: fixed annoying bug that made this
1115 program totally useless.
1116 * src/libmtp.c: cosmetics.
1117 * configure.ac: bump to 0.0.8.
1118
Linus Walleij345a3372006-06-03 20:55:25 +000011192006-06-03 Linus Walleij <triad@df.lth.se>
1120
1121 * src/libmtp.c: metadata bugs, album name and genre
1122 confused. Fixe it and released libmtp 0.0.7.
1123
Linus Walleijdc09dc02006-06-01 14:23:41 +000011242006-06-01 Linus Walleij <triad@df.lth.se>
1125
1126 * Released libmtp 0.0.6.
1127
Linus Walleij549ec4d2006-05-31 19:59:52 +000011282006-05-31 Linus Walleij <triad@df.lth.se>
1129
1130 * src/libmtp.c: fixed mapping for JPEG vs JFIF
1131 * src/libmtp.h.in: added proper type for JPEG
1132 * examples/sendfile.c: send proper JPEG type
1133
Linus Walleijd3fdd972006-05-30 15:51:37 +000011342006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
1135
1136 * src/libmtp.c: fixed a bug in update metadata due to
1137 bad use of return code.
1138 * src/libusb-glue.c: fixed a loop exiting problem with
1139 good 'ol GOTO.
1140
Linus Walleij9b1fcd92006-05-29 08:35:29 +000011412006-05-29 Linus Walleij <triad@df.lth.se>
1142
1143 * src/libusb-glue.c: one more device.
1144 * doc/examples.h: produce correct documentation.
1145 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00001146 * src/ptp.c: sync to libgphoto2.
1147 * src/ptp.h: ditto.
1148 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00001149 * src/libmtp.c: fixed all filetype API related functions
1150 not to use any PTP intrinsic defines at all, made all
1151 parameters to functions use the internal libmtp interface
1152 enumerations and definitions. Removed LIBMTP_Release():
1153 we can live with the memory lost during init. You're not
1154 supposed to re-initialize the device. Consequently removed
1155 the delete function that cleaned the filetype assoc list.
1156 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001157
ravelox088180b2006-05-26 23:55:40 +000011582006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
1159
1160 * src/libmtp.c: refactored object handling to be more generic
1161 * src/libmtp.h.in: ditto
1162 * examples/refactortest.c: Added simple example to use refactoring
1163 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001164 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
1165 for playlist handling
1166 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00001167
Linus Walleij1fd2d272006-05-08 09:22:01 +000011682006-05-08 Linus Walleij <triad@df.lth.se>
1169
1170 * src/libmtp.h.in: add simple detection function.
1171 * src/libusb-glue.c: implement MTP "OS descriptor" for
1172 looking for MTP devices.
1173 * examples/detect.c: make it possible to do very
1174 rudimentary detection with "detect -p".
1175 * configure.ac: bump to 0.0.5.
1176
Linus Walleij685137f2006-05-07 18:09:02 +000011772006-05-07 Linus Walleij <triad@df.lth.se>
1178
1179 * COPYING: since we no longer use any parts of libptp2
1180 and only files from libgphoto2, we switch to the GNU
1181 Lesser General Public License (GNU LGPL). libptp2 is
1182 a derived work from libgphoto2, and so is libmtp, there
1183 are no remnants of libptp2 in libmtp anymore.
1184
Linus Walleij16c51f02006-05-04 13:20:22 +000011852006-05-04 Linus Walleij <triad@df.lth.se>
1186
1187 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00001188 * src/libmtp.c: respectfully rearranged to use a filetype mapping
1189 table.
1190 * src/ptp-pack.c: real nasty unicode packing bug.
1191 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00001192
Linus Walleijd6a49972006-05-02 08:24:54 +000011932006-05-02 Linus Walleij <triad@df.lth.se>
1194
1195 * src/libmtp.c: general shaping up for release. All track
1196 and file sending functions now respects a parent ID to be
1197 sent along with files and tracks.
1198 * src/libmtp.h.in: dito.
1199 * src/libusb-glue.c: dito.
1200 * examples/sendfile.c: interface dependency changes.
1201 * examples/sendtr.c: dito.
1202
Linus Walleijc60275a2006-04-30 10:58:11 +000012032006-04-30 Linus Walleij <triad@df.lth.se>
1204
1205 * src/ptp.c: sync upstream.
1206 * src/ptp.h: dito.
1207
Linus Walleij370c68d2006-04-27 14:19:01 +000012082006-04-27 Linus Walleij <triad@df.lth.se>
1209
1210 * examples/sendfile.c: first file sender program based
1211 on API implementation and changes by Chris Allegretta.
1212 * examples/Makefile.am: new program, new entry.
1213 * src/libmtp.c: reflect this new functionality.
1214 * src/libmtp.h.in: dito.
1215
Linus Walleijb02a0662006-04-25 08:05:09 +000012162006-04-25 Linus Walleij <triad@df.lth.se>
1217
1218 * Rebased the sources around libgphoto2 instead.
1219 This was a major revision...
1220 * src/ptp.c: imported libgphoto2 version verbatim.
1221 * src/ptp.h: imported libgphoto2 version, minor patch.
1222 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00001223 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00001224 * src/mtp.c: dropped, since all functions are now in ptp.c
1225 * src/mtp-pack.c: dropped, same reason.
1226 * src/mtp.h: dropped, same reason.
1227 * src/mtp-pack.h: dropped, same reason.
1228
Linus Walleije5f3ad42006-04-21 07:44:36 +000012292006-04-21 Linus Walleij <triad@df.lth.se>
1230
Linus Walleij902c0b92006-04-21 10:52:48 +00001231 * Released libmtp 0.0.3
1232 * Bumped source to 0.0.4
1233
12342006-04-21 Linus Walleij <triad@df.lth.se>
1235
Linus Walleije5f3ad42006-04-21 07:44:36 +00001236 * src/ptp-pack.c: GCC 4.x compilation patch from
1237 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001238 * src/libusb-glue.c: New Samsung device and some
1239 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001240 * src/ptp.h: some defines from libgphoto2 to get
1241 a bit more compatible.
1242 * src/libmtp.c: Added a folder API implementation by
1243 Dave "ravelox" Kelly.
1244 * src/libmtp.h.in: dito.
1245 * examples/folders.c: dito.
1246 * examples/newfolder.c: dito.
1247 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001248
Linus Walleij6fd2f082006-03-28 07:19:22 +000012492006-03-28 Linus Walleij <triad@df.lth.se>
1250
1251 * m4/*: updated macros to work with GCC 4.1.0.
1252 * examples/hotplug.c: new program to create device
1253 ID lists.
1254 * libmtp.rules: now an auto-generated file.
1255 * libmtp.usermap: now an auto-generated file.
1256
Linus Walleijf6bc1782006-03-24 15:12:47 +000012572006-03-24 Linus Walleij <triad@df.lth.se>
1258
1259 * Beginning a file API, fixed some example program
1260 names and such.
1261
Linus Walleij6946ac52006-03-21 06:51:22 +000012622006-03-18 Linus Walleij <triad@df.lth.se>
1263
1264 * Fixed up callback interface to a simpler version,
1265 the old one was bloated stuff from libnjb anyway.
1266 Bump to 0.0.2.
1267
Linus Walleij9b28da32006-03-16 13:47:58 +000012682006-03-16 Linus Walleij <triad@df.lth.se>
1269
1270 * Fixed the .h file and implementation so you really only
1271 need this one .h file to interface the library.
1272
Linus Walleij80124062006-03-15 10:26:09 +000012732006-03-15 Linus Walleij <triad@df.lth.se>
1274
1275 * Added three device information retrieval functions.
1276
Linus Walleij15e344f2006-03-06 15:15:00 +000012772006-03-06 Linus Walleij <triad@df.lth.se>
1278
1279 * Moving some things around to structure the source. More
1280 will be needed...
1281
Linus Walleij93218602006-02-27 08:53:38 +000012822006-02-27 Linus Walleij <triad@df.lth.se>
1283
1284 * Release libmtp 0.0.1 so people have something to play with,
1285 what the heck. Probably saves someones day.
1286
Linus Walleij95698cd2006-02-24 10:40:40 +000012872006-02-24 Linus Walleij <triad@df.lth.se>
1288
1289 * Deltr example program to delete tracks, plus corresponding
1290 interface call.
1291
Linus Walleij17e39f72006-02-23 15:54:28 +000012922006-02-23 Linus Walleij <triad@df.lth.se>
1293
1294 * Fixed up sendtr program and metadata tagging function that is
1295 used after sending files.
1296
Linus Walleij394bbbe2006-02-22 16:10:53 +000012972006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001298
Linus Walleij394bbbe2006-02-22 16:10:53 +00001299 * Untested gettr.c and sendtr.c programs to get and send tracks
1300 created.
1301
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000013022006-01-30 Linus Walleij <triad@df.lth.se>
1303
1304 * Created the initial GNU source directory structure.
1305 * Added the most basic files.