blob: 7603ce80422f7f239b57d526990829b303444f19 [file] [log] [blame]
Richard Low3637e1a2007-04-17 21:25:10 +000012007-04-17 Richard Low <richard@wentnet.com>
2
3 * src/libusb-glue.c: new device
4
Richard Low856f3452007-04-13 11:21:26 +000052007-04-13 Richard Low <richard@wentnet.com>
6
7 * src/libusb-glue.c: new devices
8
Linus Walleijfd531632007-04-12 19:49:58 +000092007-04-12 Linus Walleij <triad@df.lth.se>
10
11 * examples/hotplug.c: fix GOTO style in udev map.
12
Linus Walleije73f74a2007-04-02 08:51:35 +0000132007-04-02 Linus Walleij <triad@df.lth.se>
14
15 * examples/files.c: some WIN32 64bit prefix fixup.
16 * examples/tracks.c: dito.
17
tedbullockcd9f4992007-03-29 06:00:40 +0000182007-03-28 Ted Bullock <tbullock@canada.com>
19
Linus Walleije73f74a2007-04-02 08:51:35 +000020 * examples/*.c: Print library version number on execution of examples.
21 * src/libmtp.h.in: New version number string to aid version echoing.
tedbullockcd9f4992007-03-29 06:00:40 +000022
Linus Walleij3968f362007-03-26 19:50:05 +0000232007-03-26 Linus Walleij <triad@df.lth.se>
24
25 * configure.ac: bump version to 0.1.5, release 0.1.5!
26 * src/Makefile.am: bump lib interface revision to libmtp.so.5.2.1,
27 backwards compatible to libmtp.so.5.
28
Richard Low057ea772007-03-24 13:37:38 +0000292007-03-24 Richard Low <richard@wentnet.com>
30
31 * src/libusb-glue.c: fixed bug in zero read code
32
Linus Walleije7df6532007-03-23 08:20:06 +0000332007-03-23 Linus Walleij <triad@df.lth.se>
34
35 * src/libmtp.c: refactored MTP property list handling code to make
36 things simple. Removed the flag for MTP enhanced: there are devices
Linus Walleij3968f362007-03-26 19:50:05 +000037 that will not work without MTP enhanced (for example the Samsung
38 YP-K5 will only support setting object property lists, not
39 individual object properties, leaving out parts of the MTP basic
40 subset), thus we are allowed to reverse-engineer and implement this
41 for interoperability. I also made the output from
42 LIBMTP_Dump_Device_Info() considerably more verbose, plotting out
43 the ranges and possible enumerated values of all object properties.
44 For example you can see that the secret values associated with
45 Audible.com property 0xda01 is an enumerated value that can be
46 2, 3 or 4 (etc).
Linus Walleije7df6532007-03-23 08:20:06 +000047
Richard Low15731fe2007-03-22 20:27:20 +0000482007-03-22 Richard Low <richard@wentnet.com>
49
50 * src/ptp.c: PTP_OC_MTP_SetObjPropList implementation
51 * src/ptp.h: ditto
52 * src/libmtp.c: Use PTP_OC_MTP_SetObjPropList when updating track
53 metadata.
54
Richard Lowbf2675c2007-03-18 18:20:26 +0000552007-03-18 Richard Low <richard@wentnet.com>
56
57 * src/libusb-glue.c: new devices. Some of the Samsung players may
Richard Low6c8fea42007-03-18 19:11:52 +000058 need DEVICE_FLAG_NO_ZERO_READS to be set - I only know the YP-K5
59 needs it.
Richard Lowbf2675c2007-03-18 18:20:26 +000060
Linus Walleij2be40c72007-03-16 15:19:44 +0000612007-03-16 Linus Walleij <triad@df.lth.se>
62
63 * src/libusb-glue.h: introducing yet another device flag for the
64 irivers bugged firmwares, this is for the Alzheimer disease that
65 cause irivers to forget that OGG files are OGG files.
66 * src/libmtp.c: dito.
67 * src/libusb-glue.c: introduce this flag for all iriver devices.
68 * examples/pathutils.c: found a (small) bug.
69
Linus Walleijd1292842007-03-12 11:52:00 +0000702007-03-12 Linus Walleij <triad@df.lth.se>
71
72 * Makefile.am: cleanup patch from Rafael Laboissiere.
Linus Walleija4942fc2007-03-12 19:23:21 +000073 * src/libusb-glue.c: refactored device detection code to
74 immediately test if the device is in the known devices list if it
75 does not feature a MTP device descriptor. This fixes the problem
76 of not being able to mix devices with proper descriptors and
77 non-detected devices.
Linus Walleijd1292842007-03-12 11:52:00 +000078
Linus Walleijc2c96972007-03-07 08:12:31 +0000792007-03-07 Linus Walleij <triad@df.lth.se>
80
81 * src/libusb-glue.c: remove libgphoto2 functions that we
82 don't use.
Linus Walleij45a86372007-03-07 09:36:19 +000083 * src/libusb-glue.h: export the free_mtpdevice_list() function,
84 new signature of find_usb_devices().
85 * src/libmtp.c: shrink code, pass as list of devices instead of
86 several huge arrays between libmtp.c and USB glue layer in
87 libusb-glue.c using the nifty list struct defined in libusb-glue.h.
Linus Walleijd24a7ab2007-03-07 21:48:43 +000088 * Eventually release libmtp 0.1.4.
Linus Walleijc2c96972007-03-07 08:12:31 +000089
Linus Walleijbfcb7922007-03-06 20:14:04 +0000902007-03-06 Linus Walleij <triad@df.lth.se>
91
92 * src/libusb-glue.c: rewrote one more function to be
93 non-recursive, perhaps I found the remaining bug, just
94 cannot see that right now, will test tomorrow.
95
Linus Walleijf27d1cd2007-03-05 14:23:00 +0000962007-03-05 Linus Walleij <triad@df.lth.se>
97
98 * src/libmtp.c: rewrite recursive function to linear.
99 * src/libusb-glue.h: create a wrapper type for the
100 device list instead of abusing the libusb device "next"
101 field in our code.
102 * src/libusb-glue.c: rewrite all recursive functions to
103 linear, use wrapper objects, don't copy the libusb device
104 struct, instead just store a pointer to it. This magically
105 solved a bug...
106
Linus Walleij82265222007-03-04 19:47:08 +00001072007-03-04 Linus Walleij <triad@df.lth.se>
108
109 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
110 backwards compatible with any libmtp.so.5 interface, for
111 imminent libmtp 0.1.4 release.
112
tedbullock848009b2007-03-03 23:20:12 +00001132007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +0000114
115 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +0000116 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
117 been set
tedbullock848009b2007-03-03 23:20:12 +0000118 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000119 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000120 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000121 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +0000122 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +0000123 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +0000124
tedbullock848009b2007-03-03 23:20:12 +00001252007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +0000126
127 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +0000128 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +0000129 means.
130 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
131 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +0000132 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +0000133
Richard Low4fd59d62007-03-03 16:34:37 +00001342007-03-03 Richard Low <richard@wentnet.com>
135
136 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
137 get object prop lists for Clix since it appears to work.
138 * src/libusb-glue.h: ditto
139 * src/ptp.h: ditto
140
Linus Walleij8a5b8852007-02-28 14:25:39 +00001412007-02-28 Linus Walleij <triad@df.lth.se>
142
143 * src/ptp.h: Upstream accepted our patch so synced it in.
144
Linus Walleij07fde342007-02-27 06:09:46 +00001452007-02-27 Linus Walleij <triad@df.lth.se>
146
147 * src/ptp.c: Synced in upstream version which removes the
148 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +0000149 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
150 detection since Windows and some devices (such as iRivers)
151 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +0000152
tedbullock6c060952007-02-26 19:07:23 +00001532007-02-22 Ted Bullock <tbullock@canada.com>
154
Linus Walleij07fde342007-02-27 06:09:46 +0000155 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
156 closing a file descriptor. This is not the responsibility of
157 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +0000158
Linus Walleij304433d2007-02-26 08:02:47 +00001592007-02-26 Linus Walleij <triad@df.lth.se>
160
Linus Walleij07fde342007-02-27 06:09:46 +0000161 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
162 in the LIBMTP_Update_Track_Metadata() function, there are
163 obviously devices that do not support this, but only
164 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
165 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +0000166 atleast reported correctly now.
167
Richard Low4eb01122007-02-24 10:11:32 +00001682007-02-24 Richard Low <richard@wentnet.com>
169
170 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
171 write issues
172
Linus Walleij039d1dd2007-02-23 22:34:07 +00001732007-02-23 Linus Walleij <triad@df.lth.se>
174
175 * src/libmtp.c: Undeprecate getting first device code.
176
Richard Low0f794762007-02-23 22:06:27 +00001772007-02-23 Richard Low <richard@wentnet.com>
178
179 * src/libmtp.c: Fix crash when no devices connected
180
tedbullock2b45f2e2007-02-23 20:16:37 +00001812007-02-23 Ted Bullock <tbullock@canada.com>
182
183 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +0000184 * src/libusb-glue.c: Remove old uni-device cruft code
185 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +0000186 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
187 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +0000188
tedbullock20eb8202007-02-23 00:33:36 +00001892007-02-22 Ted Bullock <tbullock@canada.com>
190
191 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +0000192 * examples/tracks.c: Updated to use new multi device code
193 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +0000194
tedbullocke7713642007-02-18 23:10:09 +00001952007-02-18 Ted Bullock <tbullock@canada.com>
196
197 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +0000198 to wrap around the multi device API. Also added deprecation
199 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +0000200
Richard Lowd284f072007-02-17 08:52:41 +00002012007-02-17 Richard Low <richard@wentnet.com>
202
Richard Low02724f62007-02-17 09:47:26 +0000203 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +0000204 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
205 memory
Richard Low02724f62007-02-17 09:47:26 +0000206 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +0000207
rreardonbc730092007-02-15 14:32:20 +00002082007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +0000209
210 * src/libmtp.c: Fix a segfault in new error handling code.
211
Linus Walleij68b19c02007-02-15 11:50:37 +00002122007-02-15 Linus Walleij <triad@df.lth.se>
213
214 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +0000215 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
216 * examples/playlists.c: LGPL boilerplate.
217 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
218 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
219 Shaun, Enrique.
220 * examples/thumb.c: LGPL boilerplate, crediting Robert.
221 * examples/tracks.c: LGPL boilerplate.
222 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +0000223
tedbullock69a445b2007-02-15 07:41:04 +00002242007-02-15 Ted Bullock <tbullock@canada.com>
225
226 * examples/folders.c: Updated to use new multi device code
227 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +0000228 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
229 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +0000230
tedbullock0f033cb2007-02-14 20:56:54 +00002312007-02-14 Ted Bullock <tbullock@canada.com>
232
Linus Walleij57c2eff2007-02-15 12:02:04 +0000233 * src/libusb-glue.c: Wrote three new recursive functions to avoid
234 extreme levels of multiple indirection and to clean the code up
235 a bit for multiple devices.
236 * examples/detect.c: Adjusted function calls to use new multiple
237 device code.
tedbullock0f033cb2007-02-14 20:56:54 +0000238 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
239
Linus Walleij2d3f7b82007-02-14 09:24:20 +00002402007-02-12 Ted Bullock <tbullock@canada.com>
241
242 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +0000243 LIBMTP_Get_Connected_Devices) to add support for multiple devices
244 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000245 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +0000246 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000247 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
248 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
249
Linus Walleij2a1e3a42007-02-12 08:18:31 +00002502007-02-09 Ted Bullock <tbullock@canada.com>
251
252 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +0000253 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000254
Linus Walleij7b7a0e22007-02-05 18:22:27 +00002552007-02-05 Linus Walleij <triad@df.lth.se>
256
257 * src/libmtp.h.in: LGPL boilerplate.
258 * src/libusb-glue.h: LGPL boilerplate.
259 * src/unicode.h: LGPL boilerplate.
260 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +0000261 * examples/albumart.c: LGPL boilerplate, crediting Andy.
262 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
263 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
264 * examples/common.h: LGPL boilerplate.
265 * examples/albums.c: LGPL boilerplate, crediting Chris.
266 * examples/connect.c: LGPL boilerplate, crediting Chris.
267 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
268 * examples/detect.c: LGPL boilerplate.
269 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
270 * examples/files.c: LGPL boilerplate.
271 * examples/folders.c: LGPL boilerplate.
272 * examples/format.c: LGPL boilerplate.
273 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
274 * examples/getplaylist.c: LGPL boilerplate.
275 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
276 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000277
Linus Walleija8a19cc2007-02-02 22:13:17 +00002782007-02-02 Linus Walleij <triad@df.lth.se>
279
280 * src/ptp.c: sync upstream.
281 * src/ptp.h: dito.
282 * src/ptp-pack.c: dito.
283 * src/libmtp.c: make changes necessary to handle
284 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +0000285 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +0000286 clean-up functions. Fix LGPL boilerplate text.
287 * src/unicode.c: Fix LGPL boilerplate text.
288 * src/utils.c: Fix LGPL boilerplate text.
289 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +0000290
Linus Walleij550d6d52007-01-24 14:32:51 +00002912007-01-24 Ted Bullock <tbullock@canada.com>
292
293 * src/libusb-glue.c: new function to retrieve multiple device
294 instances.
295 * src/libusb-glue.h: dito.
296 * src/libmtp.h.in: new error codes.
297
Linus Walleij070e9b42007-01-22 08:49:28 +00002982007-01-22 Linus Walleij <triad@df.lth.se>
299
300 * examples/albumart.c: use the new errostack.
301 * examples/delfile.c: dito.
302 * examples/detect.c: dito.
303 * examples/emptyfolders.c: dito.
304 * examples/format.c: dito.
305 * examples/getfile.c: dito.
306 * examples/getplaylist.c: dito.
307 * examples/newfolder.c: dito.
308 * examples/newplaylist.c: dito.
309 * examples/playlists.c: dito.
310 * examples/sendfile.c: dito.
311 * examples/sendtr.c: dito.
312 * examples/thumb.c: dito.
313 * src/libmtp.c: add some errors to the stack so we can
314 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000315 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
316 function into this file cause it only return USB devices
317 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
318 (but let's not do that renaming since it would break the API).
319 For now let's understand this is a USB-only function by
320 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000321
3222007-01-22 Ted Bullock <tbullock@canada.com>
323
324 * src/libusb-glue.c: first hack at creating an interface
325 to retrieve multiple devices.
326 * src/libmtp.h.in: new error codes related to multiple devices.
327
Richard Low7059ed42007-01-21 09:33:34 +00003282007-01-21 Richard Low <richard@wentnet.com>
329
330 * src/libusb-glue.c: more new devices
331
Linus Walleij2715c442007-01-20 22:35:29 +00003322007-01-20 Linus Walleij <triad@df.lth.se>
333
334 * src/libmtp.h.in: error stack handling like in libnjb.
335 just bare bones implementation as of now but the idea
336 should be clearly visible. TODO: add a plethora of
337 errors and adjust examples to make use of the error
338 stack.
339 * src/libmtp.c: dito.
340
Richard Lowa98d0542007-01-20 12:31:07 +00003412007-01-20 Richard Low <richard@wentnet.com>
342
343 * src/libusb-glue.c: new device 'Philips PSA235'
344
Linus Walleij85a4c032007-01-16 20:42:18 +00003452007-01-16 Linus Walleij <triad@df.lth.se>
346
347 * configure.ac: bump and release 0.1.3.
348 * src/Makefile.am: bump interface REVISION. Nothing changed
349 externally really.
350
Linus Walleijd85d2bb2007-01-11 21:32:48 +00003512007-01-11 Linus Walleij <triad@df.lth.se>
352
353 * src/libmtp.sym: updated symbol table for mingw32 but does
354 anyone use this? Also I believe one could auto-generate
355 this some way, just haven't figured out how... Perhaps with
356 a funky script that massage libmtp.h if nothing else.
357
Richard Low4df32f82007-01-11 20:04:39 +00003582007-01-11 Richard Low <richard@wentnet.com>
359
360 * src/libusb-glue.c: a zero read fix
361 * src/libmtp.c: fix spelling mistake
362
Linus Walleijc49c6372007-01-09 00:18:51 +00003632007-01-09 Linus Walleij <triad@df.lth.se>
364
365 * src/libusb-glue.c: repair callbacks, structure the code just
366 a little bit.
367 * src/libmtp.c: don't assign values to writes or reads, use the
368 PTP transport intrinsics instead.
369
Linus Walleij15af8532007-01-07 12:45:20 +00003702007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
371
372 * src/ptp.h: Encoding profile.
373 * src/ptp.c: Dito.
374
Linus Walleij58b62792007-01-07 12:38:59 +00003752006-01-07 Linus Walleij <triad@df.lth.se>
376
377 * src/libusb-glue.c: (re)introduce de-halting of endpoints
378 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000379 this causes problems for other archs! Problem was reported
380 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000381
Linus Walleija0323272007-01-07 12:21:30 +00003822006-01-07 Marcus Meissner <meissner@suse.de>
383
384 * src/ptp.c: sync to upstream libgphoto2.
385 * src/ptp.h: dito.
386 * src/ptp-pack.c: dito.
387 * libusb-glue.c: fixes to move low-level functions
388 out of ptp.c and into this libmtp-specific portion.
389 libgphoto2 has been similarly altered to use a usb.c
390 file for the low-level stuff. (This was a long needed
391 split anyway.)
392
Linus Walleij58b62792007-01-07 12:38:59 +00003932007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000394
395 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000396 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000397
Linus Walleij99ed83c2007-01-02 18:46:02 +00003982007-01-02 Linus Walleij <triad@df.lth.se>
399
400 * src/libusb-glue.c: fix up comments, remove things
401 refering to stuff we don't have.
402
Richard Lowb89ea942007-01-02 11:47:19 +00004032007-01-02 Richard Low <richard@wentnet.com>
404
405 * src/libmtp.c: another try at split headers/packet sizes
406 * src/ptp.c: ditto
407 * src/libusb-glue.c: ditto
408
Linus Walleijc70a6df2007-01-01 22:19:08 +00004092007-01-01 Linus Walleij <triad@df.lth.se>
410
411 * src/libmtp.c: move default setting of split headers
412 off to ptp.c open session.
413 * src/ptp.c: dito.
414
Richard Low021421e2007-01-01 18:08:57 +00004152007-01-01 Richard Low <richard@wentnet.com>
416
417 * src/libmtp.c: split headers/packet size fix
418 * src/ptp.c: ditto
419 * src/ptp.h: ditto
420 * src/libusb-glue.c: ditto
421
Linus Walleijfa2d1d12007-01-01 17:08:13 +00004222007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
423
424 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
425 addition of AAVT error codes.
426 * src/ptp.c: changes to reflect modifications done in ptp.h
427
Linus Walleija5ab8c42006-12-31 09:25:36 +00004282006-12-31 Linus Walleij <triad@df.lth.se>
429
430 * configure.ac: bump to 0.1.2.
431 * src/Makefile.am: bump interface revision. (Compatible.)
432 * RELEASE 0.1.2.
433
Linus Walleij02ee8802006-12-30 17:27:58 +00004342006-12-30 Linus Walleij <triad@df.lth.se>
435
436 * examples/pathutils.c: reflect new filetypes.
437 * examples/sendtr.c: dito.
438
Linus Walleij5fb47132006-12-30 15:35:48 +00004392006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
440
441 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
442 codes. added more format object codes flac, m4a, 3gp, aac,
443 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
444 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
445 Added more device property codes.
446 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
447 * src/ptp.c: added changes to reflect new extensions, object
448 codes, device property codes.
449 * src/libmtp.c: modified mp4 to reflect it is a container format
450 not a codec. Added more descriptions in init_filemap(). mp4
451 container format is ambiguous in
452 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
453 mp4 searched in video by default. Added comments about this.
454 Added support for the new format object types.
455 * src/libmtp.h.in: added constants to reflect changes to
456 init_filemap().
457
Richard Lowedd61832006-12-30 12:38:18 +00004582006-12-30 Richard Low <richard@wentnet.com>
459
460 * src/libusb-glue.c: fixed bug in debug printing
461
Richard Lowa6c924c2006-12-29 17:44:28 +00004622006-12-29 Richard Low <richard@wentnet.com>
463
464 * src/libmtp.c: Made abstract list creation to be more
465 WMP like
466 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +0000467 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +0000468
Linus Walleij784ac3f2006-12-29 10:36:51 +00004692006-12-29 Marcus Meissner <meissner@suse.de>
470
471 * src/ptp.h: API changes for libgphoto2 to use the file
472 retrieveal functions.
473 * src/ptp.c: dito.
474 * src/libusb-glue.c: changes in libmtp reflecting the new
475 API for libgphoto2.
476
Linus Walleij8609af32006-12-28 21:25:17 +00004772006-12-28 Linus Walleij <triad@df.lth.se>
478
Linus Walleije2e21182006-12-28 22:36:59 +0000479 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000480 * src/Makefile.am: bump interface for release, also autotools.
481 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000482
Linus Walleijd6735f72006-12-19 13:38:29 +00004832006-12-19 Matthew Wilcox <matthew@wil.cx>
484
485 * src/ptp.c: fix a (serious) short file bug.
486
Richard Lowaf20b5d2006-12-17 18:00:59 +00004872006-12-17 Richard Low <richard@wentnet.com>
488
489 * src/libmtp.c: don't bail out on failures when setting
490 metadata.
491
Linus Walleij037a1252006-12-16 20:36:52 +00004922006-12-16 Linus Walleij <triad@df.lth.se>
493
494 * src/ptp.c: sync to upstream.
495 * src/ptp.h: dito.
496 * src/ptp-pack.c: dito.
497
Linus Walleijf8491912006-12-15 10:23:30 +00004982006-12-15 Linus Walleij <triad@df.lth.se>
499
500 * src/libmtp.h.in: make the format function take a storage as
501 parameter. Add comments to device storage.
502 * src/libmtp.c: dito, fix up some code and docs.
503 * examples/format.c: make the format command comply with
504 the new API.
505
Linus Walleije1ac07e2006-12-14 19:38:59 +00005062006-12-14 Linus Walleij <triad@df.lth.se>
507
508 * src/libmtp.c: make get_first_storage_freespace() always query
509 the first storage when the space is requested. And some other
510 janitorial stuff.
511
Linus Walleijb01d18b2006-12-13 12:49:15 +00005122006-12-13 Linus Walleij <triad@df.lth.se>
513
514 * src/libusb-glue.c: one more device.
515 * examples/detect.c: compilation warnings fixed.
516
rreardon3d583062006-12-13 10:10:27 +00005172006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
518
519 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
520 * src/ptp.h: ditto.
521
Linus Walleijcd849362006-12-13 12:37:58 +00005222006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000523
524 * src/libmtp.h.in: revamped storage API.
525 * src/libmtp.c: dito.
526 * examples/detect.c: dito.
527
rreardon73d02c92006-12-12 16:45:30 +00005282006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000529
530 * src/libmtp.c: Send_Representative_Sample() updated to
531 set image height and width, or audio duration and size.
532
Linus Walleijd0f67702006-12-07 09:56:46 +00005332006-12-07 Linus Walleij <triad@df.lth.se>
534
Linus Walleija05b9802006-12-08 08:50:30 +0000535 * src/libmtp.h.in: support firmware object type. (Dangerous.)
536 * src/libmtp.c: dito.
537
5382006-12-07 Linus Walleij <triad@df.lth.se>
539
Linus Walleijd0f67702006-12-07 09:56:46 +0000540 * src/libmtp.c: default text folder detection (used in Samsung
541 Yepp T9) also add a few "My Foo" folder strings, remove the
542 "remaining directories" kludge.
543 * src/libmtp.h.in: default text folder.
544
Linus Walleijf1b02f22006-12-06 09:03:23 +00005452006-12-06 Linus Walleij <triad@df.lth.se>
546
547 * src/libmtp.h.in: extend the respresentative sample API a bit.
548 * src/libmtp.c: dito.
549 * examples/albumart.c: free memory after use.
550 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000551 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000552
Linus Walleijfdef4ae2006-12-05 16:15:51 +00005532006-12-04 Linus Walleij <triad@df.lth.se>
554
555 * src/ptp.c: enable split headers on sending object lists again.
556
5572006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000558
559 * src/libmtp.c: abstract Send_Representative_Sample() so
560 it can send samples for any format that supports it
561 * src/libmtp.h.in: same as above
562 * examples/albumart.c: altered to use new abstract function above
563 * example/thumb.c: sample program to upload thumbnails
564 * example/Makefile.am: add sample thumbnail program
565
Linus Walleijbdfaac22006-12-03 22:32:19 +00005662006-12-03 Linus Walleij <triad@df.lth.se>
567
568 * src/libmtp.c: check space on disk before sending
569 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000570 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
571 into LIBMTP_Send_Representative_Sample().
572 * src/libmtp.c: dito.
573 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000574
Linus Walleijfa3fbe32006-12-02 20:47:32 +00005752006-12-02 Marcus Meissner <meissner@suse.de>
576
577 * examples/Makefile.am: make sure symlinks really end
578 up in the correct dir.
579
Linus Walleij6eab3b32006-11-30 22:58:21 +00005802006-11-30 Linus Walleij <triad@df.lth.se>
581
582 * src/ptp.c: make Matthews patch thread-safe and fix it
583 so it will handle more than one surplus packet.
584 * src/ptp.h: dito.
585
Richard Lowab0d22d2006-11-30 22:17:49 +00005862006-11-30 Richard Low <richard@wentent.com>
587
588 * src/libmtp.c: memset PTPObjectInfo structs to 0
589
Linus Walleij4bf38dd2006-11-30 21:27:29 +00005902006-11-30 Matthew Wilcox <matthew@wil.cx>
591
592 * src/ptp.c: on some devices, surplus packet data is
593 sometimes returned during read, i.e. a header of the
594 next package is typically attacked to the incoming
595 data, as if someone was sending several packets at
596 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000597 * src/libusb-glue.c: revert my own mistakes by making
598 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000599
Linus Walleij9901e222006-11-30 12:28:19 +00006002006-11-30 Linus Walleij <triad@df.lth.se>
601
Linus Walleij2978f1a2006-11-30 14:00:26 +0000602 * configure.ac: this *is* gonna be libmtp 0.1.0!
603 * src/Makefile.am: age interface to 4-0-0 to indicate that
604 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000605 * src/libmtp.h.in: removed external object interface.
606 * src/libmtp.c: dito. Made all object manipulation functions
607 static.
608
Richard Lowc7d48d22006-11-29 18:24:55 +00006092006-11-29 Richard Low <richard@wentnet.com>
610
611 * src/libusb-glue.c: added new devices
612
Linus Walleij7beba572006-11-29 08:56:12 +00006132006-11-29 Linus Walleij <triad@df.lth.se>
614
615 * src/libusb-glue.c: remove some pointless #include <>
616 clutter, call usb_set_configuration() as needed by
617 Windows.
618 * src/libmtp.c: various fixups to enable use of Windows
619 <io.h> include file.
620 * README.windows.txt: added a quick porting guide for
621 MSVC by Farooq Zaman.
622
Linus Walleijcf42f452006-11-28 08:32:49 +00006232006-11-28 Linus Walleij <triad@df.lth.se>
624
625 * src/libmtp.h.in: removed filetype mapping API. We can handle
626 everything inside of libmtp now so no need for this.
627 * src/libmtp.c: dito.
628
Linus Walleij72e9c2b2006-11-28 08:14:00 +00006292006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000630
631 * examples/files.c: unsigned int sized printout.
632 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000633 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000634
Richard Low6c0a6ce2006-11-26 10:42:08 +00006352006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000636
Richard Low6c0a6ce2006-11-26 10:42:08 +0000637 * src/libmtp.c: object handles for proplists
638 * src/ptp-pack.c: ditto
639 * src/ptp.c: ditto
640 * src/ptp.h: ditto
641
Linus Walleijf73de152006-11-25 21:44:44 +00006422006-11-25 Marcus Meissner <marcus@jet.franken.de>
643
644 * examples/hotplug.c: adding HAL style XML output for
645 the devices.
646 * examples/Makefile.am: fixing a bug in the automake
647 file (pathutils.h missing!)
648 * Makefile.am: fix the problem with re-making sources
649 (you had to run ./autogen.sh before!)
650
Linus Walleijfe677ac2006-11-23 13:35:00 +00006512006-11-23 Linus Walleij <triad@df.lth.se>
652
653 * src/libusb-glue.h: add a new bug flag for devices that
654 have broken PTP_OC_MTP_GetObjPropList implementations.
655 * src/libusb-glue.c: state that all iRivers have this problem.
656 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
657 for these devices.
658
6592006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000660
661 * src/libmtp.c: set handle ids for new objects to 0 when
662 creating new albums and playlists.
663
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00006642006-11-21 Linus Walleij <triad@df.lth.se>
665
666 * src/libmtp.c: enabled enhanced mode for metadata retrieval
667 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000668 * src/libmtp.c: fixed the problem with sending files using
669 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000670
Linus Walleij277cd532006-11-20 14:57:46 +00006712006-11-20 Linus Walleij <triad@df.lth.se>
672
673 * src/ptp.h: sync to upstream libgphoto2
674 * src/ptp.c: dito.
675 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000676 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000677
6782006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000679
680 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
681 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000682 * examples/emptyfolders.c: new example program for pruning empty
683 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000684
Linus Walleij277cd532006-11-20 14:57:46 +00006852006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000686
rreardonbbb4e562006-11-19 22:16:11 +0000687 * src/libmtp.c: use enhanced MTP commands to create playlists and
688 send files
rreardon508705f2006-11-19 21:27:22 +0000689 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000690 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000691
Linus Walleijcd849362006-12-13 12:37:58 +00006922006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000693
694 * src/libusb-glue.c: fix error on reconnect.
695
Linus Walleij277cd532006-11-20 14:57:46 +00006962006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000697
698 * src/ptp.c: tidy up ptp_usb_getdata
699
Linus Walleij277cd532006-11-20 14:57:46 +00007002006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000701
702 * src/libmtp.c: fixed parent handle for uploaded tracks
703
Linus Walleij277cd532006-11-20 14:57:46 +00007042006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000705
706 * src/libmtp.c: fixed up album art using enhanced commands.
707
Linus Walleij277cd532006-11-20 14:57:46 +00007082006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000709
710 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
711 * src/ptp.c: ditto
712 * src/ptp.h: ditto
713 * src/ptp-pack.c: ditto
714
Linus Walleij277cd532006-11-20 14:57:46 +00007152006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000716
Linus Walleijccf28ce2006-11-16 16:06:38 +0000717 * src/libmtp.c: use enhanced MTP commands to create albums and
718 add detection of the default album folder.
719 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000720
Linus Walleij277cd532006-11-20 14:57:46 +00007212006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000722
723 * src/ptp-pack.c: set string buffer to correct size.
724
Linus Walleij277cd532006-11-20 14:57:46 +00007252006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000726
727 * examples/tracks.c: really use undeprecated API entry.
728
Linus Walleij277cd532006-11-20 14:57:46 +00007292006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000730
731 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000732 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000733 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000734 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000735 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000736 * examples/connect.c: ditto.
737 * examples/detect.c: ditto.
738 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000739 * src/ptp.c: working on getting object prop lists.
740 * src/ptp.h: dito.
741
Linus Walleij277cd532006-11-20 14:57:46 +00007422006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000743
744 * src/libusb-glue.c: added Zen Vision W to devices
745
Linus Walleij277cd532006-11-20 14:57:46 +00007462006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000747
748 * src/libmtp.c: added checks for supported properties
749
Linus Walleij277cd532006-11-20 14:57:46 +00007502006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000751
752 * src/libmtp.c: added a check for NULL filenames in
753 LIBMTP_Get_Folder_List.
754
Linus Walleij99310d42006-11-01 08:29:39 +00007552006-11-01 Linus Walleij <triad@df.lth.se>
756
757 * src/libmtp.h.in: set/get uint8 to/from objects
758 * src/libmtp.c: send object property list.
759 * src/ptp.c: dito.
760 * src/ptp.h: dito.
761 * src/ptp-pack.c: dito.
762
mopoke90be30e2006-10-30 08:47:41 +00007632006-10-29 Andy Kelk <andy@mopoke.co.uk>
764
765 * examples/albumart.c: simple tool for adding album art.
766 * src/libmtp.c: graceful handling of players not supporting
767 abstract album objects.
768
Linus Walleij0c33ec02006-10-27 10:15:40 +00007692006-10-27 Linus Walleij <triad@df.lth.se>
770
771 * src/Makefile.am: bump library interface to reflect the new
772 album methods.
773 * configure.ac: bump to 0.0.22 for the next release.
774
7752006-10-27 Andy Kelk <andy@mopoke.co.uk>
776
777 * src/libmtp.c: add support form abstract audio/video albums.
778 * src/libmtp.h.in: dito.
779
Linus Walleij7347d0f2006-10-23 07:23:39 +00007802006-10-23 Linus Walleij <triad@df.lth.se>
781
782 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
783 * src/ptp.c: sync to upstream.
784 * src/ptp.h: dito.
785 * src/ptp-pack.c: dito.
786
Linus Walleij9efe75f2006-10-20 09:09:45 +00007872006-10-20 Linus Walleij <triad@df.lth.se>
788
789 * Release 0.0.21 to get all the new device support out.
790
Linus Walleij501ba4d2006-10-16 06:17:04 +00007912006-10-16 Linus Walleij <triad@df.lth.se>
792
793 * configure.ac: bump to 0.0.21.
794 * src/libusb-glue.c: add code to unload a kernel driver for
795 the primary interface if it is already in use under Linux.
796 * src/libusb-glue.h: add a device flag to make this possible.
797
Linus Walleij37253292006-10-11 08:38:14 +00007982006-10-11 Linus Walleij <triad@df.lth.se>
799
800 * examples/delfile.c: patch from Chris Debenham
801 straingtening out the command-line interface a bit
802 more.
803
Linus Walleij43ff8fc2006-10-10 11:16:53 +00008042006-10-10 Linus Walleij <triad@df.lth.se>
805
Linus Walleij37253292006-10-11 08:38:14 +0000806 * examples/delfile.c: patch from Chris Debenham to make
807 this command take an optional filename as parameter
808 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000809
Linus Walleij955e6ba2006-09-26 16:55:10 +00008102006-09-26 Linus Walleij <triad@df.lth.se>
811
812 * libmtp.pc.in: require libusb instead of just linking it.
813 * configure.ac: bump release to 0.0.20 and release.
814
Linus Walleijb1318d12006-09-25 14:59:26 +00008152006-09-25 Linus Walleij <triad@df.lth.se>
816
817 * examples/evolution-sync.sh: example script to illustrate
818 to to transfer calendar, task and contact information
819 to a device supporting this.
820
Linus Walleij4ef39e62006-09-19 14:11:52 +00008212006-09-19 Linus Walleij <triad@df.lth.se>
822
823 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
824 * src/libmtp.c: dito.
825 * examples/sendfile.c: support vcard3.
826
Linus Walleijf248fdd2006-09-16 20:11:40 +00008272006-09-16 Linus Walleij <triad@df.lth.se>
828
829 * configure.ac: bump to 0.0.19 and release. There are some
830 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000831 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000832
Linus Walleijb8bfcb22006-09-13 12:14:28 +00008332006-09-13 Linus Walleij <triad@df.lth.se>
834
835 * examples/format.c: formatting test program.
836 * examples.Makefile.am: added format.
837
Linus Walleij13374a42006-09-13 11:55:30 +00008382006-09-13 Andy Kelk <andy@mopoke.co.uk>
839
840 * src/libmtp.h.in: added interface to format storage.
841 * src/libmtp.c: dito.
842 * src/ptp.c: dito.
843 * src/ptp.h: dito.
844
Linus Walleijd31e6192006-09-12 07:55:27 +00008452006-09-12 Linus Walleij <triad@df.lth.se>
846
847 * configure.ac: bump release. Released 0.0.18 yesterday.
848 * src/libmtp.c: do not try to read battery max level unless
849 the device supports it. (Bug occurred on Toshiba Gigabeat
850 P10.)
851
Linus Walleijd5d51c82006-09-11 06:57:50 +00008522006-09-11 Linus Walleij <triad@df.lth.se>
853
854 * src/libusb-glue.c: messed around a bit with device descriptor
855 detection so as to bring closer to libgphoto2 detection algorithm.
856 I've seen things that might be false positives, possibly USB mass
857 storage devices with additional MSFT descriptors to indicate they
858 have Janus DRM.
859 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
860 knows that UCS-2 is in machine endianness but Darwin and *BSD does
861 not. Detect C library and switch accordingly.
862 * src/unicode.c: retire old unicode code only keep things we cannot
863 live without. Remove the own internal UCS-2 conversion engine and
864 the internal iconv() engine and use the one already available in
865 PTPParams.
866 * src/unicode.h: dito.
867
Linus Walleij0558ac52006-09-07 06:55:03 +00008682006-09-07 Linus Walleij <triad@df.lth.se>
869
870 * src/libusb-glue.h: added device flags so we can make
871 the code behave differently on certain devices.
872 * src/libusb-glue.c: dito, plus removed some debug prints.
873 * src/libmtp.c: docs.
874 * src/libmtp.h.in: added device_flags to device list struct.
875 * src/Makefile.am: bumped to compatible library interface.
876 * configure.ac: bump version to 0.0.18 (0.0.17 released
877 yesterday).
878
Richard Low6ec2cc12006-09-06 16:59:16 +00008792006-09-06 Richard Low <richard@wentnet.com>
880
881 * src/libusb-glue.c: changed packet sizes to improve
882 transfer speeds.
883 * src/libmtp.c: changed packet sizes to improve transfer
884 transfer speeds. Also stopped extra ptp_getobjectinfo
885 calls when getting directories on connect.
886
Linus Walleij7f0c72e2006-09-06 13:01:58 +00008872006-09-06 Linus Walleij <triad@df.lth.se>
888
889 * src/libusb-glue.c: fixed some endpoint size detection
890 and sending special file sizes stuff. Real hairy bug...
891 Also messed around a bit with the callbacks.
892 * src/libmtp.c: changes for callback size detection.
893
Linus Walleija9310fa2006-09-04 06:47:42 +00008942006-09-04 Linus Walleij <triad@df.lth.se>
895
896 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
897 instead of magic values.
898
Linus Walleijd7aa5b22006-09-02 11:52:31 +00008992006-09-02 Linus Walleij <triad@df.lth.se>
900
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000901 * src/libmtp.c: add some code to have
902 LIBMTP_Send_File_From_File_Descriptor() accept a stream
903 if size is set to (uint64_t) -1, plus documentation fixes.
904 I don't think the streaming code will work but whoever want
905 to experiment with it has a place to start.
906 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000907
Linus Walleijda9500d2006-08-30 13:17:06 +00009082006-08-30 Linus Walleij <triad@df.lth.se>
909
910 * configure.ac: version bump.
911 * src/libmtp.c: more debug prints.
912 * src/libusb-glue.c: new iRiver device called Clix. By
913 the way I released libmtp 0.0.16 yesterday.
914
Linus Walleija823a702006-08-27 21:27:46 +00009152006-08-28 Linus Walleij <triad@df.lth.se>
916
917 * configure.ac: version bump.
918 * src/ptp-pack.c: upstream has committed my patch giving full
919 unicode support in libgphoto2 ptp2 camlib. No need for
920 any more ugly workarounds, plus we now have full unicode
921 filenames!
922 * src/ptp.c: dito.
923 * src/ptp.h: dito.
924 * src/libmtp.c: revamp to use the new unicode support in
925 libgphoto2.
926 * src/unicode.c: remove unused functionality.
927 * src/unicode.h: dito.
928
Linus Walleijee73ef22006-08-27 19:56:00 +00009292006-08-27 Linus Walleij <triad@df.lth.se>
930
931 * configure.ac: version bump. Release all these fixes
932 as 0.0.15.
933 * src/libusb-glue.c: fixed sucky errors. Added callback
934 code when reading files.
935 * src/libusb-glue.h: const correctness.
936 * src/libmtp.h.in: finally fixup the type on the callbacks.
937 * src/libmtp.c: more accurate sending callbacks. Callbacks
938 when getting files also, working correctly. Typeing of
939 callbacks now OK.
940 * examples/getfile.c: some display bar cosmetic fixup.
941 * TODO: lots of the things todo are now done.
942
Linus Walleijd214b9b2006-08-26 22:08:37 +00009432006-08-26 Linus Walleij <triad@df.lth.se>
944
945 * configure.ac: version bump.
946 * src/libmtp.c: fix bug and reinstate callbacks.
947 * src/libusb-glue.h: dito.
948 * src/libusb-glue.c: dito.
949
Linus Walleije7f44be2006-08-25 19:32:29 +00009502006-08-25 Linus Walleij <triad@df.lth.se>
951
952 * src/libmtp.c: use the new file descriptor sender function.
953 Going to release this as 0.0.13.
954 * src/ptp.c: upstream accepted patches synced in.
955 * src/ptp.h: dito.
956
Linus Walleijeab650b2006-08-21 23:26:37 +00009572006-08-22 Linus Walleij <triad@df.lth.se>
958
Linus Walleij80d134a2006-08-22 21:41:37 +0000959 * src/libusb-glue.c: found a real nasty endpoint bug,
960 code from libgphoto2 was assuming max packet size of
961 512 bytes while it is 64 when a USB 2.0 device is
962 plugged into an UHCI hub.
963
9642006-08-22 Linus Walleij <triad@df.lth.se>
965
Linus Walleijeab650b2006-08-21 23:26:37 +0000966 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
967
Linus Walleij924236a2006-08-20 22:17:58 +00009682006-08-21 Linus Walleij <triad@df.lth.se>
969
970 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000971 as result of experiments by Gavin McCullagh. Upstream
972 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000973 Move iconv() converters into device struct for thread
974 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000975 * src/ptp.c: sync to upstream which merges patch to get
976 file directly to file descriptor.
977 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000978 * src/unicode.c: move iconv() converters into the device
979 struct for thread safety.
980 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000981
Linus Walleij30658792006-08-19 22:18:55 +00009822006-08-20 Linus Walleij <triad@df.lth.se>
983
984 * src/libmtp.h.in: set friendly name and sync partner,
985 rename ownername to friendlyname.
986 * src/libmtp.c: dito.
987 * examples/detect.c: reflect changes.
988 * src/Makefile.am: interface is incompatible so age it.
989
Linus Walleijfae27482006-08-19 20:13:25 +00009902006-08-19 Linus Walleij <triad@df.lth.se>
991
992 * src/libmtp.h.in: add function to get syncronization
993 partner for the device.
994 * src/libmtp.c: dito.
995 * examples/detect.c: use that function.
996 * src/Makefile.am: backward-compatible interface bump.
997
Linus Walleij16571dc2006-08-17 20:27:46 +00009982006-08-17 Linus Walleij <triad@df.lth.se>
999
1000 * configure.ac: bump to 0.0.12 and require iconv.h.
1001
10022006-08-16 Linus Walleij <triad@df.lth.se>
1003
1004 * src/unicode.c: remove bigendian weirdness and switch
1005 to using iconv() instead.
1006 * src/unicode.h: dito.
1007 * src/libmtp.c: reflect changes.
1008
Linus Walleij3e188f12006-08-09 20:46:05 +000010092006-08-09 Linus Walleij <triad@df.lth.se>
1010
1011 * Release libmtp 0.0.11.
1012
Linus Walleij2eb884b2006-08-04 19:17:36 +000010132006-08-04 Linus Walleij <triad@df.lth.se>
1014
1015 * src/libmtp.c: patch from Dan Aloni to make sendfile
1016 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +00001017 * src/libusb-glue.c: patch from Andy Kelk to avoid
1018 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +00001019 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +00001020
Linus Walleijaa4b0752006-07-26 22:21:04 +000010212006-07-27 Linus Walleij <triad@df.lth.se>
1022
1023 * Release libmtp 0.0.10.
1024
Linus Walleij17b55ea2006-07-26 13:54:00 +000010252006-07-26 Linus Walleij <triad@df.lth.se>
1026
1027 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +00001028 * src/libmtp.c: only set metdata properties supported by
1029 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +00001030 * src/ptp.c: sync to upstream.
1031 * src/ptp.h: sync to upstream.
1032 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +00001033
Linus Walleijc187cb92006-06-22 17:58:13 +000010342006-06-22 Linus Walleij <triad@df.lth.se>
1035
1036 * Release libmtp 0.0.9.
1037
Linus Walleij8ab54262006-06-21 07:12:28 +000010382006-06-21 Linus Walleij <triad@df.lth.se>
1039
1040 * src/libmtp.h.in: added function to retrieve supported
1041 filetypes.
1042 * src/libmtp.c: ditto.
1043 * examples/detect.c: use that function.
1044
Linus Walleijcf223e62006-06-19 09:31:53 +000010452006-06-19 Linus Walleij <triad@df.lth.se>
1046
1047 * src/unicode.c: support all endianness, detect
1048 byte-order-mark
1049 * src/unicode.h: ditto.
1050 * src/libmtp.c: ditto.
1051 * examples/detect.c: use proper tempfile function.
1052 * src/libmtp.h.in: add some more track properties.
1053 * src/libmtp.c: ditto.
1054 * examples/tracks.c: ditto.
1055
Linus Walleij2e4b5f92006-06-16 14:00:49 +000010562006-06-16 Linus Walleij <triad@df.lth.se>
1057
1058 * src/libmtp.h.in: new interfaces for single metadata post
1059 retrieveal.
1060 * src/libmtp.c: ditto.
1061 * examples/playlists.c: display track info using the new
1062 individual track metadata retrieveal method.
1063 * examples/getplaylist.c: ditto.
1064
Linus Walleij05ccbe72006-06-13 07:46:58 +000010652006-06-13 Linus Walleij <triad@df.lth.se>
1066
1067 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +00001068 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001069 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +00001070 we can find them. Retrieve device secure time and cert
1071 out of sheer curiosity.
1072 * src/ptp.c: sync to libgphoto2 with my patches.
1073 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001074
Linus Walleij438bd7f2006-06-08 11:35:44 +000010752006-06-07 Linus Walleij <triad@df.lth.se>
1076
1077 * src/libmtp.h.in: new playlist API and refactorings.
1078 * src/libmtp.c: ditto, and refactorings.
1079 * src/unicode.h: const correctness.
1080 * src/unicode.c: ditto.
1081 * examples/playlists.c: new example program.
1082 * configure.ac: bump to 0.0.9
1083 * src/Makefile.am: bump library interface.
1084
Linus Walleij52e3ac52006-06-05 10:30:00 +000010852006-06-05 Linus Walleij <triad@df.lth.se>
1086
1087 * examples/sendtr.c: fixed annoying bug that made this
1088 program totally useless.
1089 * src/libmtp.c: cosmetics.
1090 * configure.ac: bump to 0.0.8.
1091
Linus Walleij345a3372006-06-03 20:55:25 +000010922006-06-03 Linus Walleij <triad@df.lth.se>
1093
1094 * src/libmtp.c: metadata bugs, album name and genre
1095 confused. Fixe it and released libmtp 0.0.7.
1096
Linus Walleijdc09dc02006-06-01 14:23:41 +000010972006-06-01 Linus Walleij <triad@df.lth.se>
1098
1099 * Released libmtp 0.0.6.
1100
Linus Walleij549ec4d2006-05-31 19:59:52 +000011012006-05-31 Linus Walleij <triad@df.lth.se>
1102
1103 * src/libmtp.c: fixed mapping for JPEG vs JFIF
1104 * src/libmtp.h.in: added proper type for JPEG
1105 * examples/sendfile.c: send proper JPEG type
1106
Linus Walleijd3fdd972006-05-30 15:51:37 +000011072006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
1108
1109 * src/libmtp.c: fixed a bug in update metadata due to
1110 bad use of return code.
1111 * src/libusb-glue.c: fixed a loop exiting problem with
1112 good 'ol GOTO.
1113
Linus Walleij9b1fcd92006-05-29 08:35:29 +000011142006-05-29 Linus Walleij <triad@df.lth.se>
1115
1116 * src/libusb-glue.c: one more device.
1117 * doc/examples.h: produce correct documentation.
1118 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00001119 * src/ptp.c: sync to libgphoto2.
1120 * src/ptp.h: ditto.
1121 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00001122 * src/libmtp.c: fixed all filetype API related functions
1123 not to use any PTP intrinsic defines at all, made all
1124 parameters to functions use the internal libmtp interface
1125 enumerations and definitions. Removed LIBMTP_Release():
1126 we can live with the memory lost during init. You're not
1127 supposed to re-initialize the device. Consequently removed
1128 the delete function that cleaned the filetype assoc list.
1129 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001130
ravelox088180b2006-05-26 23:55:40 +000011312006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
1132
1133 * src/libmtp.c: refactored object handling to be more generic
1134 * src/libmtp.h.in: ditto
1135 * examples/refactortest.c: Added simple example to use refactoring
1136 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001137 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
1138 for playlist handling
1139 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00001140
Linus Walleij1fd2d272006-05-08 09:22:01 +000011412006-05-08 Linus Walleij <triad@df.lth.se>
1142
1143 * src/libmtp.h.in: add simple detection function.
1144 * src/libusb-glue.c: implement MTP "OS descriptor" for
1145 looking for MTP devices.
1146 * examples/detect.c: make it possible to do very
1147 rudimentary detection with "detect -p".
1148 * configure.ac: bump to 0.0.5.
1149
Linus Walleij685137f2006-05-07 18:09:02 +000011502006-05-07 Linus Walleij <triad@df.lth.se>
1151
1152 * COPYING: since we no longer use any parts of libptp2
1153 and only files from libgphoto2, we switch to the GNU
1154 Lesser General Public License (GNU LGPL). libptp2 is
1155 a derived work from libgphoto2, and so is libmtp, there
1156 are no remnants of libptp2 in libmtp anymore.
1157
Linus Walleij16c51f02006-05-04 13:20:22 +000011582006-05-04 Linus Walleij <triad@df.lth.se>
1159
1160 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00001161 * src/libmtp.c: respectfully rearranged to use a filetype mapping
1162 table.
1163 * src/ptp-pack.c: real nasty unicode packing bug.
1164 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00001165
Linus Walleijd6a49972006-05-02 08:24:54 +000011662006-05-02 Linus Walleij <triad@df.lth.se>
1167
1168 * src/libmtp.c: general shaping up for release. All track
1169 and file sending functions now respects a parent ID to be
1170 sent along with files and tracks.
1171 * src/libmtp.h.in: dito.
1172 * src/libusb-glue.c: dito.
1173 * examples/sendfile.c: interface dependency changes.
1174 * examples/sendtr.c: dito.
1175
Linus Walleijc60275a2006-04-30 10:58:11 +000011762006-04-30 Linus Walleij <triad@df.lth.se>
1177
1178 * src/ptp.c: sync upstream.
1179 * src/ptp.h: dito.
1180
Linus Walleij370c68d2006-04-27 14:19:01 +000011812006-04-27 Linus Walleij <triad@df.lth.se>
1182
1183 * examples/sendfile.c: first file sender program based
1184 on API implementation and changes by Chris Allegretta.
1185 * examples/Makefile.am: new program, new entry.
1186 * src/libmtp.c: reflect this new functionality.
1187 * src/libmtp.h.in: dito.
1188
Linus Walleijb02a0662006-04-25 08:05:09 +000011892006-04-25 Linus Walleij <triad@df.lth.se>
1190
1191 * Rebased the sources around libgphoto2 instead.
1192 This was a major revision...
1193 * src/ptp.c: imported libgphoto2 version verbatim.
1194 * src/ptp.h: imported libgphoto2 version, minor patch.
1195 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00001196 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00001197 * src/mtp.c: dropped, since all functions are now in ptp.c
1198 * src/mtp-pack.c: dropped, same reason.
1199 * src/mtp.h: dropped, same reason.
1200 * src/mtp-pack.h: dropped, same reason.
1201
Linus Walleije5f3ad42006-04-21 07:44:36 +000012022006-04-21 Linus Walleij <triad@df.lth.se>
1203
Linus Walleij902c0b92006-04-21 10:52:48 +00001204 * Released libmtp 0.0.3
1205 * Bumped source to 0.0.4
1206
12072006-04-21 Linus Walleij <triad@df.lth.se>
1208
Linus Walleije5f3ad42006-04-21 07:44:36 +00001209 * src/ptp-pack.c: GCC 4.x compilation patch from
1210 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001211 * src/libusb-glue.c: New Samsung device and some
1212 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001213 * src/ptp.h: some defines from libgphoto2 to get
1214 a bit more compatible.
1215 * src/libmtp.c: Added a folder API implementation by
1216 Dave "ravelox" Kelly.
1217 * src/libmtp.h.in: dito.
1218 * examples/folders.c: dito.
1219 * examples/newfolder.c: dito.
1220 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001221
Linus Walleij6fd2f082006-03-28 07:19:22 +000012222006-03-28 Linus Walleij <triad@df.lth.se>
1223
1224 * m4/*: updated macros to work with GCC 4.1.0.
1225 * examples/hotplug.c: new program to create device
1226 ID lists.
1227 * libmtp.rules: now an auto-generated file.
1228 * libmtp.usermap: now an auto-generated file.
1229
Linus Walleijf6bc1782006-03-24 15:12:47 +000012302006-03-24 Linus Walleij <triad@df.lth.se>
1231
1232 * Beginning a file API, fixed some example program
1233 names and such.
1234
Linus Walleij6946ac52006-03-21 06:51:22 +000012352006-03-18 Linus Walleij <triad@df.lth.se>
1236
1237 * Fixed up callback interface to a simpler version,
1238 the old one was bloated stuff from libnjb anyway.
1239 Bump to 0.0.2.
1240
Linus Walleij9b28da32006-03-16 13:47:58 +000012412006-03-16 Linus Walleij <triad@df.lth.se>
1242
1243 * Fixed the .h file and implementation so you really only
1244 need this one .h file to interface the library.
1245
Linus Walleij80124062006-03-15 10:26:09 +000012462006-03-15 Linus Walleij <triad@df.lth.se>
1247
1248 * Added three device information retrieval functions.
1249
Linus Walleij15e344f2006-03-06 15:15:00 +000012502006-03-06 Linus Walleij <triad@df.lth.se>
1251
1252 * Moving some things around to structure the source. More
1253 will be needed...
1254
Linus Walleij93218602006-02-27 08:53:38 +000012552006-02-27 Linus Walleij <triad@df.lth.se>
1256
1257 * Release libmtp 0.0.1 so people have something to play with,
1258 what the heck. Probably saves someones day.
1259
Linus Walleij95698cd2006-02-24 10:40:40 +000012602006-02-24 Linus Walleij <triad@df.lth.se>
1261
1262 * Deltr example program to delete tracks, plus corresponding
1263 interface call.
1264
Linus Walleij17e39f72006-02-23 15:54:28 +000012652006-02-23 Linus Walleij <triad@df.lth.se>
1266
1267 * Fixed up sendtr program and metadata tagging function that is
1268 used after sending files.
1269
Linus Walleij394bbbe2006-02-22 16:10:53 +000012702006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001271
Linus Walleij394bbbe2006-02-22 16:10:53 +00001272 * Untested gettr.c and sendtr.c programs to get and send tracks
1273 created.
1274
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000012752006-01-30 Linus Walleij <triad@df.lth.se>
1276
1277 * Created the initial GNU source directory structure.
1278 * Added the most basic files.