blob: 814a1a6473372fde9cec7c47b4870f4c26770300 [file] [log] [blame]
Richard Lowbf2675c2007-03-18 18:20:26 +000012007-03-18 Richard Low <richard@wentnet.com>
2
3 * src/libusb-glue.c: new devices. Some of the Samsung players may
Richard Low6c8fea42007-03-18 19:11:52 +00004 need DEVICE_FLAG_NO_ZERO_READS to be set - I only know the YP-K5
5 needs it.
Richard Lowbf2675c2007-03-18 18:20:26 +00006
Linus Walleij2be40c72007-03-16 15:19:44 +000072007-03-16 Linus Walleij <triad@df.lth.se>
8
9 * src/libusb-glue.h: introducing yet another device flag for the
10 irivers bugged firmwares, this is for the Alzheimer disease that
11 cause irivers to forget that OGG files are OGG files.
12 * src/libmtp.c: dito.
13 * src/libusb-glue.c: introduce this flag for all iriver devices.
14 * examples/pathutils.c: found a (small) bug.
15
Linus Walleijd1292842007-03-12 11:52:00 +0000162007-03-12 Linus Walleij <triad@df.lth.se>
17
18 * Makefile.am: cleanup patch from Rafael Laboissiere.
Linus Walleija4942fc2007-03-12 19:23:21 +000019 * src/libusb-glue.c: refactored device detection code to
20 immediately test if the device is in the known devices list if it
21 does not feature a MTP device descriptor. This fixes the problem
22 of not being able to mix devices with proper descriptors and
23 non-detected devices.
Linus Walleijd1292842007-03-12 11:52:00 +000024
Linus Walleijc2c96972007-03-07 08:12:31 +0000252007-03-07 Linus Walleij <triad@df.lth.se>
26
27 * src/libusb-glue.c: remove libgphoto2 functions that we
28 don't use.
Linus Walleij45a86372007-03-07 09:36:19 +000029 * src/libusb-glue.h: export the free_mtpdevice_list() function,
30 new signature of find_usb_devices().
31 * src/libmtp.c: shrink code, pass as list of devices instead of
32 several huge arrays between libmtp.c and USB glue layer in
33 libusb-glue.c using the nifty list struct defined in libusb-glue.h.
Linus Walleijd24a7ab2007-03-07 21:48:43 +000034 * Eventually release libmtp 0.1.4.
Linus Walleijc2c96972007-03-07 08:12:31 +000035
Linus Walleijbfcb7922007-03-06 20:14:04 +0000362007-03-06 Linus Walleij <triad@df.lth.se>
37
38 * src/libusb-glue.c: rewrote one more function to be
39 non-recursive, perhaps I found the remaining bug, just
40 cannot see that right now, will test tomorrow.
41
Linus Walleijf27d1cd2007-03-05 14:23:00 +0000422007-03-05 Linus Walleij <triad@df.lth.se>
43
44 * src/libmtp.c: rewrite recursive function to linear.
45 * src/libusb-glue.h: create a wrapper type for the
46 device list instead of abusing the libusb device "next"
47 field in our code.
48 * src/libusb-glue.c: rewrite all recursive functions to
49 linear, use wrapper objects, don't copy the libusb device
50 struct, instead just store a pointer to it. This magically
51 solved a bug...
52
Linus Walleij82265222007-03-04 19:47:08 +0000532007-03-04 Linus Walleij <triad@df.lth.se>
54
55 * src/Makefile.am: bump library interface to libmtp.so.5.2.0
56 backwards compatible with any libmtp.so.5 interface, for
57 imminent libmtp 0.1.4 release.
58
tedbullock848009b2007-03-03 23:20:12 +0000592007-03-03 Ted Bullock <tbullock@canada.com>
tedbullock36f2afb2007-03-03 22:16:44 +000060
61 * src/libusb-glue.c: Don't echo warnings about reading a single
Linus Walleij82265222007-03-04 19:47:08 +000062 extra byte on devices in which DEVICE_FLAG_NO_ZERO_READS has
63 been set
tedbullock848009b2007-03-03 23:20:12 +000064 * src/libmtp.c: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +000065 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +000066 * src/libmtp.h: New API function to retrieve the number of devices
Linus Walleij82265222007-03-04 19:47:08 +000067 in a list of connected devices
tedbullock848009b2007-03-03 23:20:12 +000068 * examples/detect.c: Use new API function to count number of devices
Linus Walleij82265222007-03-04 19:47:08 +000069 that were detected
tedbullock36f2afb2007-03-03 22:16:44 +000070
tedbullock848009b2007-03-03 23:20:12 +0000712007-03-03 Linus Walleij <triad@df.lth.se>
Linus Walleij049f50c2007-03-03 20:30:43 +000072
73 * src/libusb-glue.h: Tiresome ramblings to explain exactly what
tedbullock848009b2007-03-03 23:20:12 +000074 the (now renamed) device flag DEVICE_FLAG_NO_ZERO_READS really
Linus Walleij049f50c2007-03-03 20:30:43 +000075 means.
76 * src/libusb-glue.c: Renamed flag. Indent code :-) Reading the code
77 and being impressed by our ability to iron out the root cause
Linus Walleij4cec9872007-03-03 21:00:53 +000078 of this kinda weird thing... Fix a few compile warnings.
Linus Walleij049f50c2007-03-03 20:30:43 +000079
Richard Low4fd59d62007-03-03 16:34:37 +0000802007-03-03 Richard Low <richard@wentnet.com>
81
82 * src/libusb-glue.c: (hopefully) fixed iRiver read errors. Enabled
83 get object prop lists for Clix since it appears to work.
84 * src/libusb-glue.h: ditto
85 * src/ptp.h: ditto
86
Linus Walleij8a5b8852007-02-28 14:25:39 +0000872007-02-28 Linus Walleij <triad@df.lth.se>
88
89 * src/ptp.h: Upstream accepted our patch so synced it in.
90
Linus Walleij07fde342007-02-27 06:09:46 +0000912007-02-27 Linus Walleij <triad@df.lth.se>
92
93 * src/ptp.c: Synced in upstream version which removes the
94 offending line.
Linus Walleij56b037f2007-02-27 08:04:01 +000095 * src/libmtp.c: replaces strcmp() for strcasecmp() in folder
96 detection since Windows and some devices (such as iRivers)
97 ignore case and user capital letters for default folders.
Linus Walleij07fde342007-02-27 06:09:46 +000098
tedbullock6c060952007-02-26 19:07:23 +0000992007-02-22 Ted Bullock <tbullock@canada.com>
100
Linus Walleij07fde342007-02-27 06:09:46 +0000101 * src/ptp.c: Comment out line in ptp_exit_fd_handler that was
102 closing a file descriptor. This is not the responsibility of
103 the PTP Layer. Defect and solution found by Rob Reardon
tedbullock6c060952007-02-26 19:07:23 +0000104
Linus Walleij304433d2007-02-26 08:02:47 +00001052007-02-26 Linus Walleij <triad@df.lth.se>
106
Linus Walleij07fde342007-02-27 06:09:46 +0000107 * src/libmtp.c: Implement a check for PTP_OC_MTP_SetObjectPropValue
108 in the LIBMTP_Update_Track_Metadata() function, there are
109 obviously devices that do not support this, but only
110 PTP_OC_MTP_SetObjPropList instead (such as the Samsung YH 925-GS),
111 but we haven't implemented that yet. Problems are
Linus Walleij304433d2007-02-26 08:02:47 +0000112 atleast reported correctly now.
113
Richard Low4eb01122007-02-24 10:11:32 +00001142007-02-24 Richard Low <richard@wentnet.com>
115
116 * src/libusb-glue.c: Fix incorrect transfer sizes causing zero
117 write issues
118
Linus Walleij039d1dd2007-02-23 22:34:07 +00001192007-02-23 Linus Walleij <triad@df.lth.se>
120
121 * src/libmtp.c: Undeprecate getting first device code.
122
Richard Low0f794762007-02-23 22:06:27 +00001232007-02-23 Richard Low <richard@wentnet.com>
124
125 * src/libmtp.c: Fix crash when no devices connected
126
tedbullock2b45f2e2007-02-23 20:16:37 +00001272007-02-23 Ted Bullock <tbullock@canada.com>
128
129 * examples/detect.c: Stub out probe functionality
Richard Low0f794762007-02-23 22:06:27 +0000130 * src/libusb-glue.c: Remove old uni-device cruft code
131 * src/libusb-glue.h: Remove old uni-device cruft code
tedbullock433d2172007-02-23 22:39:12 +0000132 * Replace LIBMTP_ERROR_N0_DEVICE_ATTACHED with
133 LIBMTP_ERROR_NO_DEVICE_ATTACHED across entire project
tedbullock2b45f2e2007-02-23 20:16:37 +0000134
tedbullock20eb8202007-02-23 00:33:36 +00001352007-02-22 Ted Bullock <tbullock@canada.com>
136
137 * examples/albums.c: Updated to use new multi device code
tedbullock51649202007-02-23 03:04:33 +0000138 * examples/tracks.c: Updated to use new multi device code
139 * examples/files.c: Updated to use new multi device code
tedbullock20eb8202007-02-23 00:33:36 +0000140
tedbullocke7713642007-02-18 23:10:09 +00001412007-02-18 Ted Bullock <tbullock@canada.com>
142
143 * src/libmtp.c: Altered the function LIBMTP_Get_First_Device
Linus Walleij039d1dd2007-02-23 22:34:07 +0000144 to wrap around the multi device API. Also added deprecation
145 warnings to avoid using this function
tedbullocke7713642007-02-18 23:10:09 +0000146
Richard Lowd284f072007-02-17 08:52:41 +00001472007-02-17 Richard Low <richard@wentnet.com>
148
Richard Low02724f62007-02-17 09:47:26 +0000149 * src/libusb-glue.c: Debug output fixes and read/write sizes changed
Richard Low507e7fe2007-02-17 09:04:42 +0000150 * src/libmtp.c: memset params to 0 to avoid freeing unalloced
151 memory
Richard Low02724f62007-02-17 09:47:26 +0000152 * src/ptp.h: read/write sizes changed
Richard Lowd284f072007-02-17 08:52:41 +0000153
rreardonbc730092007-02-15 14:32:20 +00001542007-02-15 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon34511b12007-02-15 14:27:56 +0000155
156 * src/libmtp.c: Fix a segfault in new error handling code.
157
Linus Walleij68b19c02007-02-15 11:50:37 +00001582007-02-15 Linus Walleij <triad@df.lth.se>
159
160 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +0000161 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
162 * examples/playlists.c: LGPL boilerplate.
163 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
164 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
165 Shaun, Enrique.
166 * examples/thumb.c: LGPL boilerplate, crediting Robert.
167 * examples/tracks.c: LGPL boilerplate.
168 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +0000169
tedbullock69a445b2007-02-15 07:41:04 +00001702007-02-15 Ted Bullock <tbullock@canada.com>
171
172 * examples/folders.c: Updated to use new multi device code
173 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +0000174 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
175 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +0000176
tedbullock0f033cb2007-02-14 20:56:54 +00001772007-02-14 Ted Bullock <tbullock@canada.com>
178
Linus Walleij57c2eff2007-02-15 12:02:04 +0000179 * src/libusb-glue.c: Wrote three new recursive functions to avoid
180 extreme levels of multiple indirection and to clean the code up
181 a bit for multiple devices.
182 * examples/detect.c: Adjusted function calls to use new multiple
183 device code.
tedbullock0f033cb2007-02-14 20:56:54 +0000184 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
185
Linus Walleij2d3f7b82007-02-14 09:24:20 +00001862007-02-12 Ted Bullock <tbullock@canada.com>
187
188 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +0000189 LIBMTP_Get_Connected_Devices) to add support for multiple devices
190 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000191 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +0000192 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000193 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
194 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
195
Linus Walleij2a1e3a42007-02-12 08:18:31 +00001962007-02-09 Ted Bullock <tbullock@canada.com>
197
198 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +0000199 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000200
Linus Walleij7b7a0e22007-02-05 18:22:27 +00002012007-02-05 Linus Walleij <triad@df.lth.se>
202
203 * src/libmtp.h.in: LGPL boilerplate.
204 * src/libusb-glue.h: LGPL boilerplate.
205 * src/unicode.h: LGPL boilerplate.
206 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +0000207 * examples/albumart.c: LGPL boilerplate, crediting Andy.
208 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
209 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
210 * examples/common.h: LGPL boilerplate.
211 * examples/albums.c: LGPL boilerplate, crediting Chris.
212 * examples/connect.c: LGPL boilerplate, crediting Chris.
213 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
214 * examples/detect.c: LGPL boilerplate.
215 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
216 * examples/files.c: LGPL boilerplate.
217 * examples/folders.c: LGPL boilerplate.
218 * examples/format.c: LGPL boilerplate.
219 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
220 * examples/getplaylist.c: LGPL boilerplate.
221 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
222 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000223
Linus Walleija8a19cc2007-02-02 22:13:17 +00002242007-02-02 Linus Walleij <triad@df.lth.se>
225
226 * src/ptp.c: sync upstream.
227 * src/ptp.h: dito.
228 * src/ptp-pack.c: dito.
229 * src/libmtp.c: make changes necessary to handle
230 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +0000231 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +0000232 clean-up functions. Fix LGPL boilerplate text.
233 * src/unicode.c: Fix LGPL boilerplate text.
234 * src/utils.c: Fix LGPL boilerplate text.
235 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +0000236
Linus Walleij550d6d52007-01-24 14:32:51 +00002372007-01-24 Ted Bullock <tbullock@canada.com>
238
239 * src/libusb-glue.c: new function to retrieve multiple device
240 instances.
241 * src/libusb-glue.h: dito.
242 * src/libmtp.h.in: new error codes.
243
Linus Walleij070e9b42007-01-22 08:49:28 +00002442007-01-22 Linus Walleij <triad@df.lth.se>
245
246 * examples/albumart.c: use the new errostack.
247 * examples/delfile.c: dito.
248 * examples/detect.c: dito.
249 * examples/emptyfolders.c: dito.
250 * examples/format.c: dito.
251 * examples/getfile.c: dito.
252 * examples/getplaylist.c: dito.
253 * examples/newfolder.c: dito.
254 * examples/newplaylist.c: dito.
255 * examples/playlists.c: dito.
256 * examples/sendfile.c: dito.
257 * examples/sendtr.c: dito.
258 * examples/thumb.c: dito.
259 * src/libmtp.c: add some errors to the stack so we can
260 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000261 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
262 function into this file cause it only return USB devices
263 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
264 (but let's not do that renaming since it would break the API).
265 For now let's understand this is a USB-only function by
266 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000267
2682007-01-22 Ted Bullock <tbullock@canada.com>
269
270 * src/libusb-glue.c: first hack at creating an interface
271 to retrieve multiple devices.
272 * src/libmtp.h.in: new error codes related to multiple devices.
273
Richard Low7059ed42007-01-21 09:33:34 +00002742007-01-21 Richard Low <richard@wentnet.com>
275
276 * src/libusb-glue.c: more new devices
277
Linus Walleij2715c442007-01-20 22:35:29 +00002782007-01-20 Linus Walleij <triad@df.lth.se>
279
280 * src/libmtp.h.in: error stack handling like in libnjb.
281 just bare bones implementation as of now but the idea
282 should be clearly visible. TODO: add a plethora of
283 errors and adjust examples to make use of the error
284 stack.
285 * src/libmtp.c: dito.
286
Richard Lowa98d0542007-01-20 12:31:07 +00002872007-01-20 Richard Low <richard@wentnet.com>
288
289 * src/libusb-glue.c: new device 'Philips PSA235'
290
Linus Walleij85a4c032007-01-16 20:42:18 +00002912007-01-16 Linus Walleij <triad@df.lth.se>
292
293 * configure.ac: bump and release 0.1.3.
294 * src/Makefile.am: bump interface REVISION. Nothing changed
295 externally really.
296
Linus Walleijd85d2bb2007-01-11 21:32:48 +00002972007-01-11 Linus Walleij <triad@df.lth.se>
298
299 * src/libmtp.sym: updated symbol table for mingw32 but does
300 anyone use this? Also I believe one could auto-generate
301 this some way, just haven't figured out how... Perhaps with
302 a funky script that massage libmtp.h if nothing else.
303
Richard Low4df32f82007-01-11 20:04:39 +00003042007-01-11 Richard Low <richard@wentnet.com>
305
306 * src/libusb-glue.c: a zero read fix
307 * src/libmtp.c: fix spelling mistake
308
Linus Walleijc49c6372007-01-09 00:18:51 +00003092007-01-09 Linus Walleij <triad@df.lth.se>
310
311 * src/libusb-glue.c: repair callbacks, structure the code just
312 a little bit.
313 * src/libmtp.c: don't assign values to writes or reads, use the
314 PTP transport intrinsics instead.
315
Linus Walleij15af8532007-01-07 12:45:20 +00003162007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
317
318 * src/ptp.h: Encoding profile.
319 * src/ptp.c: Dito.
320
Linus Walleij58b62792007-01-07 12:38:59 +00003212006-01-07 Linus Walleij <triad@df.lth.se>
322
323 * src/libusb-glue.c: (re)introduce de-halting of endpoints
324 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000325 this causes problems for other archs! Problem was reported
326 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000327
Linus Walleija0323272007-01-07 12:21:30 +00003282006-01-07 Marcus Meissner <meissner@suse.de>
329
330 * src/ptp.c: sync to upstream libgphoto2.
331 * src/ptp.h: dito.
332 * src/ptp-pack.c: dito.
333 * libusb-glue.c: fixes to move low-level functions
334 out of ptp.c and into this libmtp-specific portion.
335 libgphoto2 has been similarly altered to use a usb.c
336 file for the low-level stuff. (This was a long needed
337 split anyway.)
338
Linus Walleij58b62792007-01-07 12:38:59 +00003392007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000340
341 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000342 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000343
Linus Walleij99ed83c2007-01-02 18:46:02 +00003442007-01-02 Linus Walleij <triad@df.lth.se>
345
346 * src/libusb-glue.c: fix up comments, remove things
347 refering to stuff we don't have.
348
Richard Lowb89ea942007-01-02 11:47:19 +00003492007-01-02 Richard Low <richard@wentnet.com>
350
351 * src/libmtp.c: another try at split headers/packet sizes
352 * src/ptp.c: ditto
353 * src/libusb-glue.c: ditto
354
Linus Walleijc70a6df2007-01-01 22:19:08 +00003552007-01-01 Linus Walleij <triad@df.lth.se>
356
357 * src/libmtp.c: move default setting of split headers
358 off to ptp.c open session.
359 * src/ptp.c: dito.
360
Richard Low021421e2007-01-01 18:08:57 +00003612007-01-01 Richard Low <richard@wentnet.com>
362
363 * src/libmtp.c: split headers/packet size fix
364 * src/ptp.c: ditto
365 * src/ptp.h: ditto
366 * src/libusb-glue.c: ditto
367
Linus Walleijfa2d1d12007-01-01 17:08:13 +00003682007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
369
370 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
371 addition of AAVT error codes.
372 * src/ptp.c: changes to reflect modifications done in ptp.h
373
Linus Walleija5ab8c42006-12-31 09:25:36 +00003742006-12-31 Linus Walleij <triad@df.lth.se>
375
376 * configure.ac: bump to 0.1.2.
377 * src/Makefile.am: bump interface revision. (Compatible.)
378 * RELEASE 0.1.2.
379
Linus Walleij02ee8802006-12-30 17:27:58 +00003802006-12-30 Linus Walleij <triad@df.lth.se>
381
382 * examples/pathutils.c: reflect new filetypes.
383 * examples/sendtr.c: dito.
384
Linus Walleij5fb47132006-12-30 15:35:48 +00003852006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
386
387 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
388 codes. added more format object codes flac, m4a, 3gp, aac,
389 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
390 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
391 Added more device property codes.
392 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
393 * src/ptp.c: added changes to reflect new extensions, object
394 codes, device property codes.
395 * src/libmtp.c: modified mp4 to reflect it is a container format
396 not a codec. Added more descriptions in init_filemap(). mp4
397 container format is ambiguous in
398 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
399 mp4 searched in video by default. Added comments about this.
400 Added support for the new format object types.
401 * src/libmtp.h.in: added constants to reflect changes to
402 init_filemap().
403
Richard Lowedd61832006-12-30 12:38:18 +00004042006-12-30 Richard Low <richard@wentnet.com>
405
406 * src/libusb-glue.c: fixed bug in debug printing
407
Richard Lowa6c924c2006-12-29 17:44:28 +00004082006-12-29 Richard Low <richard@wentnet.com>
409
410 * src/libmtp.c: Made abstract list creation to be more
411 WMP like
412 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +0000413 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +0000414
Linus Walleij784ac3f2006-12-29 10:36:51 +00004152006-12-29 Marcus Meissner <meissner@suse.de>
416
417 * src/ptp.h: API changes for libgphoto2 to use the file
418 retrieveal functions.
419 * src/ptp.c: dito.
420 * src/libusb-glue.c: changes in libmtp reflecting the new
421 API for libgphoto2.
422
Linus Walleij8609af32006-12-28 21:25:17 +00004232006-12-28 Linus Walleij <triad@df.lth.se>
424
Linus Walleije2e21182006-12-28 22:36:59 +0000425 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000426 * src/Makefile.am: bump interface for release, also autotools.
427 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000428
Linus Walleijd6735f72006-12-19 13:38:29 +00004292006-12-19 Matthew Wilcox <matthew@wil.cx>
430
431 * src/ptp.c: fix a (serious) short file bug.
432
Richard Lowaf20b5d2006-12-17 18:00:59 +00004332006-12-17 Richard Low <richard@wentnet.com>
434
435 * src/libmtp.c: don't bail out on failures when setting
436 metadata.
437
Linus Walleij037a1252006-12-16 20:36:52 +00004382006-12-16 Linus Walleij <triad@df.lth.se>
439
440 * src/ptp.c: sync to upstream.
441 * src/ptp.h: dito.
442 * src/ptp-pack.c: dito.
443
Linus Walleijf8491912006-12-15 10:23:30 +00004442006-12-15 Linus Walleij <triad@df.lth.se>
445
446 * src/libmtp.h.in: make the format function take a storage as
447 parameter. Add comments to device storage.
448 * src/libmtp.c: dito, fix up some code and docs.
449 * examples/format.c: make the format command comply with
450 the new API.
451
Linus Walleije1ac07e2006-12-14 19:38:59 +00004522006-12-14 Linus Walleij <triad@df.lth.se>
453
454 * src/libmtp.c: make get_first_storage_freespace() always query
455 the first storage when the space is requested. And some other
456 janitorial stuff.
457
Linus Walleijb01d18b2006-12-13 12:49:15 +00004582006-12-13 Linus Walleij <triad@df.lth.se>
459
460 * src/libusb-glue.c: one more device.
461 * examples/detect.c: compilation warnings fixed.
462
rreardon3d583062006-12-13 10:10:27 +00004632006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
464
465 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
466 * src/ptp.h: ditto.
467
Linus Walleijcd849362006-12-13 12:37:58 +00004682006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000469
470 * src/libmtp.h.in: revamped storage API.
471 * src/libmtp.c: dito.
472 * examples/detect.c: dito.
473
rreardon73d02c92006-12-12 16:45:30 +00004742006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000475
476 * src/libmtp.c: Send_Representative_Sample() updated to
477 set image height and width, or audio duration and size.
478
Linus Walleijd0f67702006-12-07 09:56:46 +00004792006-12-07 Linus Walleij <triad@df.lth.se>
480
Linus Walleija05b9802006-12-08 08:50:30 +0000481 * src/libmtp.h.in: support firmware object type. (Dangerous.)
482 * src/libmtp.c: dito.
483
4842006-12-07 Linus Walleij <triad@df.lth.se>
485
Linus Walleijd0f67702006-12-07 09:56:46 +0000486 * src/libmtp.c: default text folder detection (used in Samsung
487 Yepp T9) also add a few "My Foo" folder strings, remove the
488 "remaining directories" kludge.
489 * src/libmtp.h.in: default text folder.
490
Linus Walleijf1b02f22006-12-06 09:03:23 +00004912006-12-06 Linus Walleij <triad@df.lth.se>
492
493 * src/libmtp.h.in: extend the respresentative sample API a bit.
494 * src/libmtp.c: dito.
495 * examples/albumart.c: free memory after use.
496 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000497 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000498
Linus Walleijfdef4ae2006-12-05 16:15:51 +00004992006-12-04 Linus Walleij <triad@df.lth.se>
500
501 * src/ptp.c: enable split headers on sending object lists again.
502
5032006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000504
505 * src/libmtp.c: abstract Send_Representative_Sample() so
506 it can send samples for any format that supports it
507 * src/libmtp.h.in: same as above
508 * examples/albumart.c: altered to use new abstract function above
509 * example/thumb.c: sample program to upload thumbnails
510 * example/Makefile.am: add sample thumbnail program
511
Linus Walleijbdfaac22006-12-03 22:32:19 +00005122006-12-03 Linus Walleij <triad@df.lth.se>
513
514 * src/libmtp.c: check space on disk before sending
515 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000516 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
517 into LIBMTP_Send_Representative_Sample().
518 * src/libmtp.c: dito.
519 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000520
Linus Walleijfa3fbe32006-12-02 20:47:32 +00005212006-12-02 Marcus Meissner <meissner@suse.de>
522
523 * examples/Makefile.am: make sure symlinks really end
524 up in the correct dir.
525
Linus Walleij6eab3b32006-11-30 22:58:21 +00005262006-11-30 Linus Walleij <triad@df.lth.se>
527
528 * src/ptp.c: make Matthews patch thread-safe and fix it
529 so it will handle more than one surplus packet.
530 * src/ptp.h: dito.
531
Richard Lowab0d22d2006-11-30 22:17:49 +00005322006-11-30 Richard Low <richard@wentent.com>
533
534 * src/libmtp.c: memset PTPObjectInfo structs to 0
535
Linus Walleij4bf38dd2006-11-30 21:27:29 +00005362006-11-30 Matthew Wilcox <matthew@wil.cx>
537
538 * src/ptp.c: on some devices, surplus packet data is
539 sometimes returned during read, i.e. a header of the
540 next package is typically attacked to the incoming
541 data, as if someone was sending several packets at
542 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000543 * src/libusb-glue.c: revert my own mistakes by making
544 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000545
Linus Walleij9901e222006-11-30 12:28:19 +00005462006-11-30 Linus Walleij <triad@df.lth.se>
547
Linus Walleij2978f1a2006-11-30 14:00:26 +0000548 * configure.ac: this *is* gonna be libmtp 0.1.0!
549 * src/Makefile.am: age interface to 4-0-0 to indicate that
550 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000551 * src/libmtp.h.in: removed external object interface.
552 * src/libmtp.c: dito. Made all object manipulation functions
553 static.
554
Richard Lowc7d48d22006-11-29 18:24:55 +00005552006-11-29 Richard Low <richard@wentnet.com>
556
557 * src/libusb-glue.c: added new devices
558
Linus Walleij7beba572006-11-29 08:56:12 +00005592006-11-29 Linus Walleij <triad@df.lth.se>
560
561 * src/libusb-glue.c: remove some pointless #include <>
562 clutter, call usb_set_configuration() as needed by
563 Windows.
564 * src/libmtp.c: various fixups to enable use of Windows
565 <io.h> include file.
566 * README.windows.txt: added a quick porting guide for
567 MSVC by Farooq Zaman.
568
Linus Walleijcf42f452006-11-28 08:32:49 +00005692006-11-28 Linus Walleij <triad@df.lth.se>
570
571 * src/libmtp.h.in: removed filetype mapping API. We can handle
572 everything inside of libmtp now so no need for this.
573 * src/libmtp.c: dito.
574
Linus Walleij72e9c2b2006-11-28 08:14:00 +00005752006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000576
577 * examples/files.c: unsigned int sized printout.
578 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000579 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000580
Richard Low6c0a6ce2006-11-26 10:42:08 +00005812006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000582
Richard Low6c0a6ce2006-11-26 10:42:08 +0000583 * src/libmtp.c: object handles for proplists
584 * src/ptp-pack.c: ditto
585 * src/ptp.c: ditto
586 * src/ptp.h: ditto
587
Linus Walleijf73de152006-11-25 21:44:44 +00005882006-11-25 Marcus Meissner <marcus@jet.franken.de>
589
590 * examples/hotplug.c: adding HAL style XML output for
591 the devices.
592 * examples/Makefile.am: fixing a bug in the automake
593 file (pathutils.h missing!)
594 * Makefile.am: fix the problem with re-making sources
595 (you had to run ./autogen.sh before!)
596
Linus Walleijfe677ac2006-11-23 13:35:00 +00005972006-11-23 Linus Walleij <triad@df.lth.se>
598
599 * src/libusb-glue.h: add a new bug flag for devices that
600 have broken PTP_OC_MTP_GetObjPropList implementations.
601 * src/libusb-glue.c: state that all iRivers have this problem.
602 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
603 for these devices.
604
6052006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000606
607 * src/libmtp.c: set handle ids for new objects to 0 when
608 creating new albums and playlists.
609
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00006102006-11-21 Linus Walleij <triad@df.lth.se>
611
612 * src/libmtp.c: enabled enhanced mode for metadata retrieval
613 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000614 * src/libmtp.c: fixed the problem with sending files using
615 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000616
Linus Walleij277cd532006-11-20 14:57:46 +00006172006-11-20 Linus Walleij <triad@df.lth.se>
618
619 * src/ptp.h: sync to upstream libgphoto2
620 * src/ptp.c: dito.
621 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000622 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000623
6242006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000625
626 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
627 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000628 * examples/emptyfolders.c: new example program for pruning empty
629 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000630
Linus Walleij277cd532006-11-20 14:57:46 +00006312006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000632
rreardonbbb4e562006-11-19 22:16:11 +0000633 * src/libmtp.c: use enhanced MTP commands to create playlists and
634 send files
rreardon508705f2006-11-19 21:27:22 +0000635 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000636 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000637
Linus Walleijcd849362006-12-13 12:37:58 +00006382006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000639
640 * src/libusb-glue.c: fix error on reconnect.
641
Linus Walleij277cd532006-11-20 14:57:46 +00006422006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000643
644 * src/ptp.c: tidy up ptp_usb_getdata
645
Linus Walleij277cd532006-11-20 14:57:46 +00006462006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000647
648 * src/libmtp.c: fixed parent handle for uploaded tracks
649
Linus Walleij277cd532006-11-20 14:57:46 +00006502006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000651
652 * src/libmtp.c: fixed up album art using enhanced commands.
653
Linus Walleij277cd532006-11-20 14:57:46 +00006542006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000655
656 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
657 * src/ptp.c: ditto
658 * src/ptp.h: ditto
659 * src/ptp-pack.c: ditto
660
Linus Walleij277cd532006-11-20 14:57:46 +00006612006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000662
Linus Walleijccf28ce2006-11-16 16:06:38 +0000663 * src/libmtp.c: use enhanced MTP commands to create albums and
664 add detection of the default album folder.
665 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000666
Linus Walleij277cd532006-11-20 14:57:46 +00006672006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000668
669 * src/ptp-pack.c: set string buffer to correct size.
670
Linus Walleij277cd532006-11-20 14:57:46 +00006712006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000672
673 * examples/tracks.c: really use undeprecated API entry.
674
Linus Walleij277cd532006-11-20 14:57:46 +00006752006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000676
677 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000678 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000679 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000680 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000681 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000682 * examples/connect.c: ditto.
683 * examples/detect.c: ditto.
684 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000685 * src/ptp.c: working on getting object prop lists.
686 * src/ptp.h: dito.
687
Linus Walleij277cd532006-11-20 14:57:46 +00006882006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000689
690 * src/libusb-glue.c: added Zen Vision W to devices
691
Linus Walleij277cd532006-11-20 14:57:46 +00006922006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000693
694 * src/libmtp.c: added checks for supported properties
695
Linus Walleij277cd532006-11-20 14:57:46 +00006962006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000697
698 * src/libmtp.c: added a check for NULL filenames in
699 LIBMTP_Get_Folder_List.
700
Linus Walleij99310d42006-11-01 08:29:39 +00007012006-11-01 Linus Walleij <triad@df.lth.se>
702
703 * src/libmtp.h.in: set/get uint8 to/from objects
704 * src/libmtp.c: send object property list.
705 * src/ptp.c: dito.
706 * src/ptp.h: dito.
707 * src/ptp-pack.c: dito.
708
mopoke90be30e2006-10-30 08:47:41 +00007092006-10-29 Andy Kelk <andy@mopoke.co.uk>
710
711 * examples/albumart.c: simple tool for adding album art.
712 * src/libmtp.c: graceful handling of players not supporting
713 abstract album objects.
714
Linus Walleij0c33ec02006-10-27 10:15:40 +00007152006-10-27 Linus Walleij <triad@df.lth.se>
716
717 * src/Makefile.am: bump library interface to reflect the new
718 album methods.
719 * configure.ac: bump to 0.0.22 for the next release.
720
7212006-10-27 Andy Kelk <andy@mopoke.co.uk>
722
723 * src/libmtp.c: add support form abstract audio/video albums.
724 * src/libmtp.h.in: dito.
725
Linus Walleij7347d0f2006-10-23 07:23:39 +00007262006-10-23 Linus Walleij <triad@df.lth.se>
727
728 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
729 * src/ptp.c: sync to upstream.
730 * src/ptp.h: dito.
731 * src/ptp-pack.c: dito.
732
Linus Walleij9efe75f2006-10-20 09:09:45 +00007332006-10-20 Linus Walleij <triad@df.lth.se>
734
735 * Release 0.0.21 to get all the new device support out.
736
Linus Walleij501ba4d2006-10-16 06:17:04 +00007372006-10-16 Linus Walleij <triad@df.lth.se>
738
739 * configure.ac: bump to 0.0.21.
740 * src/libusb-glue.c: add code to unload a kernel driver for
741 the primary interface if it is already in use under Linux.
742 * src/libusb-glue.h: add a device flag to make this possible.
743
Linus Walleij37253292006-10-11 08:38:14 +00007442006-10-11 Linus Walleij <triad@df.lth.se>
745
746 * examples/delfile.c: patch from Chris Debenham
747 straingtening out the command-line interface a bit
748 more.
749
Linus Walleij43ff8fc2006-10-10 11:16:53 +00007502006-10-10 Linus Walleij <triad@df.lth.se>
751
Linus Walleij37253292006-10-11 08:38:14 +0000752 * examples/delfile.c: patch from Chris Debenham to make
753 this command take an optional filename as parameter
754 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000755
Linus Walleij955e6ba2006-09-26 16:55:10 +00007562006-09-26 Linus Walleij <triad@df.lth.se>
757
758 * libmtp.pc.in: require libusb instead of just linking it.
759 * configure.ac: bump release to 0.0.20 and release.
760
Linus Walleijb1318d12006-09-25 14:59:26 +00007612006-09-25 Linus Walleij <triad@df.lth.se>
762
763 * examples/evolution-sync.sh: example script to illustrate
764 to to transfer calendar, task and contact information
765 to a device supporting this.
766
Linus Walleij4ef39e62006-09-19 14:11:52 +00007672006-09-19 Linus Walleij <triad@df.lth.se>
768
769 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
770 * src/libmtp.c: dito.
771 * examples/sendfile.c: support vcard3.
772
Linus Walleijf248fdd2006-09-16 20:11:40 +00007732006-09-16 Linus Walleij <triad@df.lth.se>
774
775 * configure.ac: bump to 0.0.19 and release. There are some
776 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000777 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000778
Linus Walleijb8bfcb22006-09-13 12:14:28 +00007792006-09-13 Linus Walleij <triad@df.lth.se>
780
781 * examples/format.c: formatting test program.
782 * examples.Makefile.am: added format.
783
Linus Walleij13374a42006-09-13 11:55:30 +00007842006-09-13 Andy Kelk <andy@mopoke.co.uk>
785
786 * src/libmtp.h.in: added interface to format storage.
787 * src/libmtp.c: dito.
788 * src/ptp.c: dito.
789 * src/ptp.h: dito.
790
Linus Walleijd31e6192006-09-12 07:55:27 +00007912006-09-12 Linus Walleij <triad@df.lth.se>
792
793 * configure.ac: bump release. Released 0.0.18 yesterday.
794 * src/libmtp.c: do not try to read battery max level unless
795 the device supports it. (Bug occurred on Toshiba Gigabeat
796 P10.)
797
Linus Walleijd5d51c82006-09-11 06:57:50 +00007982006-09-11 Linus Walleij <triad@df.lth.se>
799
800 * src/libusb-glue.c: messed around a bit with device descriptor
801 detection so as to bring closer to libgphoto2 detection algorithm.
802 I've seen things that might be false positives, possibly USB mass
803 storage devices with additional MSFT descriptors to indicate they
804 have Janus DRM.
805 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
806 knows that UCS-2 is in machine endianness but Darwin and *BSD does
807 not. Detect C library and switch accordingly.
808 * src/unicode.c: retire old unicode code only keep things we cannot
809 live without. Remove the own internal UCS-2 conversion engine and
810 the internal iconv() engine and use the one already available in
811 PTPParams.
812 * src/unicode.h: dito.
813
Linus Walleij0558ac52006-09-07 06:55:03 +00008142006-09-07 Linus Walleij <triad@df.lth.se>
815
816 * src/libusb-glue.h: added device flags so we can make
817 the code behave differently on certain devices.
818 * src/libusb-glue.c: dito, plus removed some debug prints.
819 * src/libmtp.c: docs.
820 * src/libmtp.h.in: added device_flags to device list struct.
821 * src/Makefile.am: bumped to compatible library interface.
822 * configure.ac: bump version to 0.0.18 (0.0.17 released
823 yesterday).
824
Richard Low6ec2cc12006-09-06 16:59:16 +00008252006-09-06 Richard Low <richard@wentnet.com>
826
827 * src/libusb-glue.c: changed packet sizes to improve
828 transfer speeds.
829 * src/libmtp.c: changed packet sizes to improve transfer
830 transfer speeds. Also stopped extra ptp_getobjectinfo
831 calls when getting directories on connect.
832
Linus Walleij7f0c72e2006-09-06 13:01:58 +00008332006-09-06 Linus Walleij <triad@df.lth.se>
834
835 * src/libusb-glue.c: fixed some endpoint size detection
836 and sending special file sizes stuff. Real hairy bug...
837 Also messed around a bit with the callbacks.
838 * src/libmtp.c: changes for callback size detection.
839
Linus Walleija9310fa2006-09-04 06:47:42 +00008402006-09-04 Linus Walleij <triad@df.lth.se>
841
842 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
843 instead of magic values.
844
Linus Walleijd7aa5b22006-09-02 11:52:31 +00008452006-09-02 Linus Walleij <triad@df.lth.se>
846
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000847 * src/libmtp.c: add some code to have
848 LIBMTP_Send_File_From_File_Descriptor() accept a stream
849 if size is set to (uint64_t) -1, plus documentation fixes.
850 I don't think the streaming code will work but whoever want
851 to experiment with it has a place to start.
852 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000853
Linus Walleijda9500d2006-08-30 13:17:06 +00008542006-08-30 Linus Walleij <triad@df.lth.se>
855
856 * configure.ac: version bump.
857 * src/libmtp.c: more debug prints.
858 * src/libusb-glue.c: new iRiver device called Clix. By
859 the way I released libmtp 0.0.16 yesterday.
860
Linus Walleija823a702006-08-27 21:27:46 +00008612006-08-28 Linus Walleij <triad@df.lth.se>
862
863 * configure.ac: version bump.
864 * src/ptp-pack.c: upstream has committed my patch giving full
865 unicode support in libgphoto2 ptp2 camlib. No need for
866 any more ugly workarounds, plus we now have full unicode
867 filenames!
868 * src/ptp.c: dito.
869 * src/ptp.h: dito.
870 * src/libmtp.c: revamp to use the new unicode support in
871 libgphoto2.
872 * src/unicode.c: remove unused functionality.
873 * src/unicode.h: dito.
874
Linus Walleijee73ef22006-08-27 19:56:00 +00008752006-08-27 Linus Walleij <triad@df.lth.se>
876
877 * configure.ac: version bump. Release all these fixes
878 as 0.0.15.
879 * src/libusb-glue.c: fixed sucky errors. Added callback
880 code when reading files.
881 * src/libusb-glue.h: const correctness.
882 * src/libmtp.h.in: finally fixup the type on the callbacks.
883 * src/libmtp.c: more accurate sending callbacks. Callbacks
884 when getting files also, working correctly. Typeing of
885 callbacks now OK.
886 * examples/getfile.c: some display bar cosmetic fixup.
887 * TODO: lots of the things todo are now done.
888
Linus Walleijd214b9b2006-08-26 22:08:37 +00008892006-08-26 Linus Walleij <triad@df.lth.se>
890
891 * configure.ac: version bump.
892 * src/libmtp.c: fix bug and reinstate callbacks.
893 * src/libusb-glue.h: dito.
894 * src/libusb-glue.c: dito.
895
Linus Walleije7f44be2006-08-25 19:32:29 +00008962006-08-25 Linus Walleij <triad@df.lth.se>
897
898 * src/libmtp.c: use the new file descriptor sender function.
899 Going to release this as 0.0.13.
900 * src/ptp.c: upstream accepted patches synced in.
901 * src/ptp.h: dito.
902
Linus Walleijeab650b2006-08-21 23:26:37 +00009032006-08-22 Linus Walleij <triad@df.lth.se>
904
Linus Walleij80d134a2006-08-22 21:41:37 +0000905 * src/libusb-glue.c: found a real nasty endpoint bug,
906 code from libgphoto2 was assuming max packet size of
907 512 bytes while it is 64 when a USB 2.0 device is
908 plugged into an UHCI hub.
909
9102006-08-22 Linus Walleij <triad@df.lth.se>
911
Linus Walleijeab650b2006-08-21 23:26:37 +0000912 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
913
Linus Walleij924236a2006-08-20 22:17:58 +00009142006-08-21 Linus Walleij <triad@df.lth.se>
915
916 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000917 as result of experiments by Gavin McCullagh. Upstream
918 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000919 Move iconv() converters into device struct for thread
920 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000921 * src/ptp.c: sync to upstream which merges patch to get
922 file directly to file descriptor.
923 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000924 * src/unicode.c: move iconv() converters into the device
925 struct for thread safety.
926 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000927
Linus Walleij30658792006-08-19 22:18:55 +00009282006-08-20 Linus Walleij <triad@df.lth.se>
929
930 * src/libmtp.h.in: set friendly name and sync partner,
931 rename ownername to friendlyname.
932 * src/libmtp.c: dito.
933 * examples/detect.c: reflect changes.
934 * src/Makefile.am: interface is incompatible so age it.
935
Linus Walleijfae27482006-08-19 20:13:25 +00009362006-08-19 Linus Walleij <triad@df.lth.se>
937
938 * src/libmtp.h.in: add function to get syncronization
939 partner for the device.
940 * src/libmtp.c: dito.
941 * examples/detect.c: use that function.
942 * src/Makefile.am: backward-compatible interface bump.
943
Linus Walleij16571dc2006-08-17 20:27:46 +00009442006-08-17 Linus Walleij <triad@df.lth.se>
945
946 * configure.ac: bump to 0.0.12 and require iconv.h.
947
9482006-08-16 Linus Walleij <triad@df.lth.se>
949
950 * src/unicode.c: remove bigendian weirdness and switch
951 to using iconv() instead.
952 * src/unicode.h: dito.
953 * src/libmtp.c: reflect changes.
954
Linus Walleij3e188f12006-08-09 20:46:05 +00009552006-08-09 Linus Walleij <triad@df.lth.se>
956
957 * Release libmtp 0.0.11.
958
Linus Walleij2eb884b2006-08-04 19:17:36 +00009592006-08-04 Linus Walleij <triad@df.lth.se>
960
961 * src/libmtp.c: patch from Dan Aloni to make sendfile
962 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000963 * src/libusb-glue.c: patch from Andy Kelk to avoid
964 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000965 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000966
Linus Walleijaa4b0752006-07-26 22:21:04 +00009672006-07-27 Linus Walleij <triad@df.lth.se>
968
969 * Release libmtp 0.0.10.
970
Linus Walleij17b55ea2006-07-26 13:54:00 +00009712006-07-26 Linus Walleij <triad@df.lth.se>
972
973 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000974 * src/libmtp.c: only set metdata properties supported by
975 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000976 * src/ptp.c: sync to upstream.
977 * src/ptp.h: sync to upstream.
978 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000979
Linus Walleijc187cb92006-06-22 17:58:13 +00009802006-06-22 Linus Walleij <triad@df.lth.se>
981
982 * Release libmtp 0.0.9.
983
Linus Walleij8ab54262006-06-21 07:12:28 +00009842006-06-21 Linus Walleij <triad@df.lth.se>
985
986 * src/libmtp.h.in: added function to retrieve supported
987 filetypes.
988 * src/libmtp.c: ditto.
989 * examples/detect.c: use that function.
990
Linus Walleijcf223e62006-06-19 09:31:53 +00009912006-06-19 Linus Walleij <triad@df.lth.se>
992
993 * src/unicode.c: support all endianness, detect
994 byte-order-mark
995 * src/unicode.h: ditto.
996 * src/libmtp.c: ditto.
997 * examples/detect.c: use proper tempfile function.
998 * src/libmtp.h.in: add some more track properties.
999 * src/libmtp.c: ditto.
1000 * examples/tracks.c: ditto.
1001
Linus Walleij2e4b5f92006-06-16 14:00:49 +000010022006-06-16 Linus Walleij <triad@df.lth.se>
1003
1004 * src/libmtp.h.in: new interfaces for single metadata post
1005 retrieveal.
1006 * src/libmtp.c: ditto.
1007 * examples/playlists.c: display track info using the new
1008 individual track metadata retrieveal method.
1009 * examples/getplaylist.c: ditto.
1010
Linus Walleij05ccbe72006-06-13 07:46:58 +000010112006-06-13 Linus Walleij <triad@df.lth.se>
1012
1013 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +00001014 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001015 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +00001016 we can find them. Retrieve device secure time and cert
1017 out of sheer curiosity.
1018 * src/ptp.c: sync to libgphoto2 with my patches.
1019 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +00001020
Linus Walleij438bd7f2006-06-08 11:35:44 +000010212006-06-07 Linus Walleij <triad@df.lth.se>
1022
1023 * src/libmtp.h.in: new playlist API and refactorings.
1024 * src/libmtp.c: ditto, and refactorings.
1025 * src/unicode.h: const correctness.
1026 * src/unicode.c: ditto.
1027 * examples/playlists.c: new example program.
1028 * configure.ac: bump to 0.0.9
1029 * src/Makefile.am: bump library interface.
1030
Linus Walleij52e3ac52006-06-05 10:30:00 +000010312006-06-05 Linus Walleij <triad@df.lth.se>
1032
1033 * examples/sendtr.c: fixed annoying bug that made this
1034 program totally useless.
1035 * src/libmtp.c: cosmetics.
1036 * configure.ac: bump to 0.0.8.
1037
Linus Walleij345a3372006-06-03 20:55:25 +000010382006-06-03 Linus Walleij <triad@df.lth.se>
1039
1040 * src/libmtp.c: metadata bugs, album name and genre
1041 confused. Fixe it and released libmtp 0.0.7.
1042
Linus Walleijdc09dc02006-06-01 14:23:41 +000010432006-06-01 Linus Walleij <triad@df.lth.se>
1044
1045 * Released libmtp 0.0.6.
1046
Linus Walleij549ec4d2006-05-31 19:59:52 +000010472006-05-31 Linus Walleij <triad@df.lth.se>
1048
1049 * src/libmtp.c: fixed mapping for JPEG vs JFIF
1050 * src/libmtp.h.in: added proper type for JPEG
1051 * examples/sendfile.c: send proper JPEG type
1052
Linus Walleijd3fdd972006-05-30 15:51:37 +000010532006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
1054
1055 * src/libmtp.c: fixed a bug in update metadata due to
1056 bad use of return code.
1057 * src/libusb-glue.c: fixed a loop exiting problem with
1058 good 'ol GOTO.
1059
Linus Walleij9b1fcd92006-05-29 08:35:29 +000010602006-05-29 Linus Walleij <triad@df.lth.se>
1061
1062 * src/libusb-glue.c: one more device.
1063 * doc/examples.h: produce correct documentation.
1064 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +00001065 * src/ptp.c: sync to libgphoto2.
1066 * src/ptp.h: ditto.
1067 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +00001068 * src/libmtp.c: fixed all filetype API related functions
1069 not to use any PTP intrinsic defines at all, made all
1070 parameters to functions use the internal libmtp interface
1071 enumerations and definitions. Removed LIBMTP_Release():
1072 we can live with the memory lost during init. You're not
1073 supposed to re-initialize the device. Consequently removed
1074 the delete function that cleaned the filetype assoc list.
1075 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001076
ravelox088180b2006-05-26 23:55:40 +000010772006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
1078
1079 * src/libmtp.c: refactored object handling to be more generic
1080 * src/libmtp.h.in: ditto
1081 * examples/refactortest.c: Added simple example to use refactoring
1082 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001083 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
1084 for playlist handling
1085 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +00001086
Linus Walleij1fd2d272006-05-08 09:22:01 +000010872006-05-08 Linus Walleij <triad@df.lth.se>
1088
1089 * src/libmtp.h.in: add simple detection function.
1090 * src/libusb-glue.c: implement MTP "OS descriptor" for
1091 looking for MTP devices.
1092 * examples/detect.c: make it possible to do very
1093 rudimentary detection with "detect -p".
1094 * configure.ac: bump to 0.0.5.
1095
Linus Walleij685137f2006-05-07 18:09:02 +000010962006-05-07 Linus Walleij <triad@df.lth.se>
1097
1098 * COPYING: since we no longer use any parts of libptp2
1099 and only files from libgphoto2, we switch to the GNU
1100 Lesser General Public License (GNU LGPL). libptp2 is
1101 a derived work from libgphoto2, and so is libmtp, there
1102 are no remnants of libptp2 in libmtp anymore.
1103
Linus Walleij16c51f02006-05-04 13:20:22 +000011042006-05-04 Linus Walleij <triad@df.lth.se>
1105
1106 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +00001107 * src/libmtp.c: respectfully rearranged to use a filetype mapping
1108 table.
1109 * src/ptp-pack.c: real nasty unicode packing bug.
1110 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +00001111
Linus Walleijd6a49972006-05-02 08:24:54 +000011122006-05-02 Linus Walleij <triad@df.lth.se>
1113
1114 * src/libmtp.c: general shaping up for release. All track
1115 and file sending functions now respects a parent ID to be
1116 sent along with files and tracks.
1117 * src/libmtp.h.in: dito.
1118 * src/libusb-glue.c: dito.
1119 * examples/sendfile.c: interface dependency changes.
1120 * examples/sendtr.c: dito.
1121
Linus Walleijc60275a2006-04-30 10:58:11 +000011222006-04-30 Linus Walleij <triad@df.lth.se>
1123
1124 * src/ptp.c: sync upstream.
1125 * src/ptp.h: dito.
1126
Linus Walleij370c68d2006-04-27 14:19:01 +000011272006-04-27 Linus Walleij <triad@df.lth.se>
1128
1129 * examples/sendfile.c: first file sender program based
1130 on API implementation and changes by Chris Allegretta.
1131 * examples/Makefile.am: new program, new entry.
1132 * src/libmtp.c: reflect this new functionality.
1133 * src/libmtp.h.in: dito.
1134
Linus Walleijb02a0662006-04-25 08:05:09 +000011352006-04-25 Linus Walleij <triad@df.lth.se>
1136
1137 * Rebased the sources around libgphoto2 instead.
1138 This was a major revision...
1139 * src/ptp.c: imported libgphoto2 version verbatim.
1140 * src/ptp.h: imported libgphoto2 version, minor patch.
1141 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +00001142 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +00001143 * src/mtp.c: dropped, since all functions are now in ptp.c
1144 * src/mtp-pack.c: dropped, same reason.
1145 * src/mtp.h: dropped, same reason.
1146 * src/mtp-pack.h: dropped, same reason.
1147
Linus Walleije5f3ad42006-04-21 07:44:36 +000011482006-04-21 Linus Walleij <triad@df.lth.se>
1149
Linus Walleij902c0b92006-04-21 10:52:48 +00001150 * Released libmtp 0.0.3
1151 * Bumped source to 0.0.4
1152
11532006-04-21 Linus Walleij <triad@df.lth.se>
1154
Linus Walleije5f3ad42006-04-21 07:44:36 +00001155 * src/ptp-pack.c: GCC 4.x compilation patch from
1156 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001157 * src/libusb-glue.c: New Samsung device and some
1158 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001159 * src/ptp.h: some defines from libgphoto2 to get
1160 a bit more compatible.
1161 * src/libmtp.c: Added a folder API implementation by
1162 Dave "ravelox" Kelly.
1163 * src/libmtp.h.in: dito.
1164 * examples/folders.c: dito.
1165 * examples/newfolder.c: dito.
1166 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001167
Linus Walleij6fd2f082006-03-28 07:19:22 +000011682006-03-28 Linus Walleij <triad@df.lth.se>
1169
1170 * m4/*: updated macros to work with GCC 4.1.0.
1171 * examples/hotplug.c: new program to create device
1172 ID lists.
1173 * libmtp.rules: now an auto-generated file.
1174 * libmtp.usermap: now an auto-generated file.
1175
Linus Walleijf6bc1782006-03-24 15:12:47 +000011762006-03-24 Linus Walleij <triad@df.lth.se>
1177
1178 * Beginning a file API, fixed some example program
1179 names and such.
1180
Linus Walleij6946ac52006-03-21 06:51:22 +000011812006-03-18 Linus Walleij <triad@df.lth.se>
1182
1183 * Fixed up callback interface to a simpler version,
1184 the old one was bloated stuff from libnjb anyway.
1185 Bump to 0.0.2.
1186
Linus Walleij9b28da32006-03-16 13:47:58 +000011872006-03-16 Linus Walleij <triad@df.lth.se>
1188
1189 * Fixed the .h file and implementation so you really only
1190 need this one .h file to interface the library.
1191
Linus Walleij80124062006-03-15 10:26:09 +000011922006-03-15 Linus Walleij <triad@df.lth.se>
1193
1194 * Added three device information retrieval functions.
1195
Linus Walleij15e344f2006-03-06 15:15:00 +000011962006-03-06 Linus Walleij <triad@df.lth.se>
1197
1198 * Moving some things around to structure the source. More
1199 will be needed...
1200
Linus Walleij93218602006-02-27 08:53:38 +000012012006-02-27 Linus Walleij <triad@df.lth.se>
1202
1203 * Release libmtp 0.0.1 so people have something to play with,
1204 what the heck. Probably saves someones day.
1205
Linus Walleij95698cd2006-02-24 10:40:40 +000012062006-02-24 Linus Walleij <triad@df.lth.se>
1207
1208 * Deltr example program to delete tracks, plus corresponding
1209 interface call.
1210
Linus Walleij17e39f72006-02-23 15:54:28 +000012112006-02-23 Linus Walleij <triad@df.lth.se>
1212
1213 * Fixed up sendtr program and metadata tagging function that is
1214 used after sending files.
1215
Linus Walleij394bbbe2006-02-22 16:10:53 +000012162006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001217
Linus Walleij394bbbe2006-02-22 16:10:53 +00001218 * Untested gettr.c and sendtr.c programs to get and send tracks
1219 created.
1220
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000012212006-01-30 Linus Walleij <triad@df.lth.se>
1222
1223 * Created the initial GNU source directory structure.
1224 * Added the most basic files.