blob: 30f4cbefca8ae7d18663ae18f5565f85e3acf548 [file] [log] [blame]
Linus Walleijfa2d1d12007-01-01 17:08:13 +000012007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
2
3 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
4 addition of AAVT error codes.
5 * src/ptp.c: changes to reflect modifications done in ptp.h
6
Linus Walleija5ab8c42006-12-31 09:25:36 +000072006-12-31 Linus Walleij <triad@df.lth.se>
8
9 * configure.ac: bump to 0.1.2.
10 * src/Makefile.am: bump interface revision. (Compatible.)
11 * RELEASE 0.1.2.
12
Linus Walleij02ee8802006-12-30 17:27:58 +0000132006-12-30 Linus Walleij <triad@df.lth.se>
14
15 * examples/pathutils.c: reflect new filetypes.
16 * examples/sendtr.c: dito.
17
Linus Walleij5fb47132006-12-30 15:35:48 +0000182006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
19
20 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
21 codes. added more format object codes flac, m4a, 3gp, aac,
22 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
23 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
24 Added more device property codes.
25 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
26 * src/ptp.c: added changes to reflect new extensions, object
27 codes, device property codes.
28 * src/libmtp.c: modified mp4 to reflect it is a container format
29 not a codec. Added more descriptions in init_filemap(). mp4
30 container format is ambiguous in
31 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
32 mp4 searched in video by default. Added comments about this.
33 Added support for the new format object types.
34 * src/libmtp.h.in: added constants to reflect changes to
35 init_filemap().
36
Richard Lowedd61832006-12-30 12:38:18 +0000372006-12-30 Richard Low <richard@wentnet.com>
38
39 * src/libusb-glue.c: fixed bug in debug printing
40
Richard Lowa6c924c2006-12-29 17:44:28 +0000412006-12-29 Richard Low <richard@wentnet.com>
42
43 * src/libmtp.c: Made abstract list creation to be more
44 WMP like
45 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +000046 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +000047
Linus Walleij784ac3f2006-12-29 10:36:51 +0000482006-12-29 Marcus Meissner <meissner@suse.de>
49
50 * src/ptp.h: API changes for libgphoto2 to use the file
51 retrieveal functions.
52 * src/ptp.c: dito.
53 * src/libusb-glue.c: changes in libmtp reflecting the new
54 API for libgphoto2.
55
Linus Walleij8609af32006-12-28 21:25:17 +0000562006-12-28 Linus Walleij <triad@df.lth.se>
57
Linus Walleije2e21182006-12-28 22:36:59 +000058 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +000059 * src/Makefile.am: bump interface for release, also autotools.
60 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +000061
Linus Walleijd6735f72006-12-19 13:38:29 +0000622006-12-19 Matthew Wilcox <matthew@wil.cx>
63
64 * src/ptp.c: fix a (serious) short file bug.
65
Richard Lowaf20b5d2006-12-17 18:00:59 +0000662006-12-17 Richard Low <richard@wentnet.com>
67
68 * src/libmtp.c: don't bail out on failures when setting
69 metadata.
70
Linus Walleij037a1252006-12-16 20:36:52 +0000712006-12-16 Linus Walleij <triad@df.lth.se>
72
73 * src/ptp.c: sync to upstream.
74 * src/ptp.h: dito.
75 * src/ptp-pack.c: dito.
76
Linus Walleijf8491912006-12-15 10:23:30 +0000772006-12-15 Linus Walleij <triad@df.lth.se>
78
79 * src/libmtp.h.in: make the format function take a storage as
80 parameter. Add comments to device storage.
81 * src/libmtp.c: dito, fix up some code and docs.
82 * examples/format.c: make the format command comply with
83 the new API.
84
Linus Walleije1ac07e2006-12-14 19:38:59 +0000852006-12-14 Linus Walleij <triad@df.lth.se>
86
87 * src/libmtp.c: make get_first_storage_freespace() always query
88 the first storage when the space is requested. And some other
89 janitorial stuff.
90
Linus Walleijb01d18b2006-12-13 12:49:15 +0000912006-12-13 Linus Walleij <triad@df.lth.se>
92
93 * src/libusb-glue.c: one more device.
94 * examples/detect.c: compilation warnings fixed.
95
rreardon3d583062006-12-13 10:10:27 +0000962006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
97
98 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
99 * src/ptp.h: ditto.
100
Linus Walleijcd849362006-12-13 12:37:58 +00001012006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000102
103 * src/libmtp.h.in: revamped storage API.
104 * src/libmtp.c: dito.
105 * examples/detect.c: dito.
106
rreardon73d02c92006-12-12 16:45:30 +00001072006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000108
109 * src/libmtp.c: Send_Representative_Sample() updated to
110 set image height and width, or audio duration and size.
111
Linus Walleijd0f67702006-12-07 09:56:46 +00001122006-12-07 Linus Walleij <triad@df.lth.se>
113
Linus Walleija05b9802006-12-08 08:50:30 +0000114 * src/libmtp.h.in: support firmware object type. (Dangerous.)
115 * src/libmtp.c: dito.
116
1172006-12-07 Linus Walleij <triad@df.lth.se>
118
Linus Walleijd0f67702006-12-07 09:56:46 +0000119 * src/libmtp.c: default text folder detection (used in Samsung
120 Yepp T9) also add a few "My Foo" folder strings, remove the
121 "remaining directories" kludge.
122 * src/libmtp.h.in: default text folder.
123
Linus Walleijf1b02f22006-12-06 09:03:23 +00001242006-12-06 Linus Walleij <triad@df.lth.se>
125
126 * src/libmtp.h.in: extend the respresentative sample API a bit.
127 * src/libmtp.c: dito.
128 * examples/albumart.c: free memory after use.
129 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000130 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000131
Linus Walleijfdef4ae2006-12-05 16:15:51 +00001322006-12-04 Linus Walleij <triad@df.lth.se>
133
134 * src/ptp.c: enable split headers on sending object lists again.
135
1362006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000137
138 * src/libmtp.c: abstract Send_Representative_Sample() so
139 it can send samples for any format that supports it
140 * src/libmtp.h.in: same as above
141 * examples/albumart.c: altered to use new abstract function above
142 * example/thumb.c: sample program to upload thumbnails
143 * example/Makefile.am: add sample thumbnail program
144
Linus Walleijbdfaac22006-12-03 22:32:19 +00001452006-12-03 Linus Walleij <triad@df.lth.se>
146
147 * src/libmtp.c: check space on disk before sending
148 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000149 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
150 into LIBMTP_Send_Representative_Sample().
151 * src/libmtp.c: dito.
152 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000153
Linus Walleijfa3fbe32006-12-02 20:47:32 +00001542006-12-02 Marcus Meissner <meissner@suse.de>
155
156 * examples/Makefile.am: make sure symlinks really end
157 up in the correct dir.
158
Linus Walleij6eab3b32006-11-30 22:58:21 +00001592006-11-30 Linus Walleij <triad@df.lth.se>
160
161 * src/ptp.c: make Matthews patch thread-safe and fix it
162 so it will handle more than one surplus packet.
163 * src/ptp.h: dito.
164
Richard Lowab0d22d2006-11-30 22:17:49 +00001652006-11-30 Richard Low <richard@wentent.com>
166
167 * src/libmtp.c: memset PTPObjectInfo structs to 0
168
Linus Walleij4bf38dd2006-11-30 21:27:29 +00001692006-11-30 Matthew Wilcox <matthew@wil.cx>
170
171 * src/ptp.c: on some devices, surplus packet data is
172 sometimes returned during read, i.e. a header of the
173 next package is typically attacked to the incoming
174 data, as if someone was sending several packets at
175 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000176 * src/libusb-glue.c: revert my own mistakes by making
177 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000178
Linus Walleij9901e222006-11-30 12:28:19 +00001792006-11-30 Linus Walleij <triad@df.lth.se>
180
Linus Walleij2978f1a2006-11-30 14:00:26 +0000181 * configure.ac: this *is* gonna be libmtp 0.1.0!
182 * src/Makefile.am: age interface to 4-0-0 to indicate that
183 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000184 * src/libmtp.h.in: removed external object interface.
185 * src/libmtp.c: dito. Made all object manipulation functions
186 static.
187
Richard Lowc7d48d22006-11-29 18:24:55 +00001882006-11-29 Richard Low <richard@wentnet.com>
189
190 * src/libusb-glue.c: added new devices
191
Linus Walleij7beba572006-11-29 08:56:12 +00001922006-11-29 Linus Walleij <triad@df.lth.se>
193
194 * src/libusb-glue.c: remove some pointless #include <>
195 clutter, call usb_set_configuration() as needed by
196 Windows.
197 * src/libmtp.c: various fixups to enable use of Windows
198 <io.h> include file.
199 * README.windows.txt: added a quick porting guide for
200 MSVC by Farooq Zaman.
201
Linus Walleijcf42f452006-11-28 08:32:49 +00002022006-11-28 Linus Walleij <triad@df.lth.se>
203
204 * src/libmtp.h.in: removed filetype mapping API. We can handle
205 everything inside of libmtp now so no need for this.
206 * src/libmtp.c: dito.
207
Linus Walleij72e9c2b2006-11-28 08:14:00 +00002082006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000209
210 * examples/files.c: unsigned int sized printout.
211 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000212 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000213
Richard Low6c0a6ce2006-11-26 10:42:08 +00002142006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000215
Richard Low6c0a6ce2006-11-26 10:42:08 +0000216 * src/libmtp.c: object handles for proplists
217 * src/ptp-pack.c: ditto
218 * src/ptp.c: ditto
219 * src/ptp.h: ditto
220
Linus Walleijf73de152006-11-25 21:44:44 +00002212006-11-25 Marcus Meissner <marcus@jet.franken.de>
222
223 * examples/hotplug.c: adding HAL style XML output for
224 the devices.
225 * examples/Makefile.am: fixing a bug in the automake
226 file (pathutils.h missing!)
227 * Makefile.am: fix the problem with re-making sources
228 (you had to run ./autogen.sh before!)
229
Linus Walleijfe677ac2006-11-23 13:35:00 +00002302006-11-23 Linus Walleij <triad@df.lth.se>
231
232 * src/libusb-glue.h: add a new bug flag for devices that
233 have broken PTP_OC_MTP_GetObjPropList implementations.
234 * src/libusb-glue.c: state that all iRivers have this problem.
235 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
236 for these devices.
237
2382006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000239
240 * src/libmtp.c: set handle ids for new objects to 0 when
241 creating new albums and playlists.
242
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00002432006-11-21 Linus Walleij <triad@df.lth.se>
244
245 * src/libmtp.c: enabled enhanced mode for metadata retrieval
246 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000247 * src/libmtp.c: fixed the problem with sending files using
248 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000249
Linus Walleij277cd532006-11-20 14:57:46 +00002502006-11-20 Linus Walleij <triad@df.lth.se>
251
252 * src/ptp.h: sync to upstream libgphoto2
253 * src/ptp.c: dito.
254 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000255 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000256
2572006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000258
259 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
260 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000261 * examples/emptyfolders.c: new example program for pruning empty
262 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000263
Linus Walleij277cd532006-11-20 14:57:46 +00002642006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000265
rreardonbbb4e562006-11-19 22:16:11 +0000266 * src/libmtp.c: use enhanced MTP commands to create playlists and
267 send files
rreardon508705f2006-11-19 21:27:22 +0000268 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000269 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000270
Linus Walleijcd849362006-12-13 12:37:58 +00002712006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000272
273 * src/libusb-glue.c: fix error on reconnect.
274
Linus Walleij277cd532006-11-20 14:57:46 +00002752006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000276
277 * src/ptp.c: tidy up ptp_usb_getdata
278
Linus Walleij277cd532006-11-20 14:57:46 +00002792006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000280
281 * src/libmtp.c: fixed parent handle for uploaded tracks
282
Linus Walleij277cd532006-11-20 14:57:46 +00002832006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000284
285 * src/libmtp.c: fixed up album art using enhanced commands.
286
Linus Walleij277cd532006-11-20 14:57:46 +00002872006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000288
289 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
290 * src/ptp.c: ditto
291 * src/ptp.h: ditto
292 * src/ptp-pack.c: ditto
293
Linus Walleij277cd532006-11-20 14:57:46 +00002942006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000295
Linus Walleijccf28ce2006-11-16 16:06:38 +0000296 * src/libmtp.c: use enhanced MTP commands to create albums and
297 add detection of the default album folder.
298 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000299
Linus Walleij277cd532006-11-20 14:57:46 +00003002006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000301
302 * src/ptp-pack.c: set string buffer to correct size.
303
Linus Walleij277cd532006-11-20 14:57:46 +00003042006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000305
306 * examples/tracks.c: really use undeprecated API entry.
307
Linus Walleij277cd532006-11-20 14:57:46 +00003082006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000309
310 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000311 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000312 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000313 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000314 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000315 * examples/connect.c: ditto.
316 * examples/detect.c: ditto.
317 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000318 * src/ptp.c: working on getting object prop lists.
319 * src/ptp.h: dito.
320
Linus Walleij277cd532006-11-20 14:57:46 +00003212006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000322
323 * src/libusb-glue.c: added Zen Vision W to devices
324
Linus Walleij277cd532006-11-20 14:57:46 +00003252006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000326
327 * src/libmtp.c: added checks for supported properties
328
Linus Walleij277cd532006-11-20 14:57:46 +00003292006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000330
331 * src/libmtp.c: added a check for NULL filenames in
332 LIBMTP_Get_Folder_List.
333
Linus Walleij99310d42006-11-01 08:29:39 +00003342006-11-01 Linus Walleij <triad@df.lth.se>
335
336 * src/libmtp.h.in: set/get uint8 to/from objects
337 * src/libmtp.c: send object property list.
338 * src/ptp.c: dito.
339 * src/ptp.h: dito.
340 * src/ptp-pack.c: dito.
341
mopoke90be30e2006-10-30 08:47:41 +00003422006-10-29 Andy Kelk <andy@mopoke.co.uk>
343
344 * examples/albumart.c: simple tool for adding album art.
345 * src/libmtp.c: graceful handling of players not supporting
346 abstract album objects.
347
Linus Walleij0c33ec02006-10-27 10:15:40 +00003482006-10-27 Linus Walleij <triad@df.lth.se>
349
350 * src/Makefile.am: bump library interface to reflect the new
351 album methods.
352 * configure.ac: bump to 0.0.22 for the next release.
353
3542006-10-27 Andy Kelk <andy@mopoke.co.uk>
355
356 * src/libmtp.c: add support form abstract audio/video albums.
357 * src/libmtp.h.in: dito.
358
Linus Walleij7347d0f2006-10-23 07:23:39 +00003592006-10-23 Linus Walleij <triad@df.lth.se>
360
361 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
362 * src/ptp.c: sync to upstream.
363 * src/ptp.h: dito.
364 * src/ptp-pack.c: dito.
365
Linus Walleij9efe75f2006-10-20 09:09:45 +00003662006-10-20 Linus Walleij <triad@df.lth.se>
367
368 * Release 0.0.21 to get all the new device support out.
369
Linus Walleij501ba4d2006-10-16 06:17:04 +00003702006-10-16 Linus Walleij <triad@df.lth.se>
371
372 * configure.ac: bump to 0.0.21.
373 * src/libusb-glue.c: add code to unload a kernel driver for
374 the primary interface if it is already in use under Linux.
375 * src/libusb-glue.h: add a device flag to make this possible.
376
Linus Walleij37253292006-10-11 08:38:14 +00003772006-10-11 Linus Walleij <triad@df.lth.se>
378
379 * examples/delfile.c: patch from Chris Debenham
380 straingtening out the command-line interface a bit
381 more.
382
Linus Walleij43ff8fc2006-10-10 11:16:53 +00003832006-10-10 Linus Walleij <triad@df.lth.se>
384
Linus Walleij37253292006-10-11 08:38:14 +0000385 * examples/delfile.c: patch from Chris Debenham to make
386 this command take an optional filename as parameter
387 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000388
Linus Walleij955e6ba2006-09-26 16:55:10 +00003892006-09-26 Linus Walleij <triad@df.lth.se>
390
391 * libmtp.pc.in: require libusb instead of just linking it.
392 * configure.ac: bump release to 0.0.20 and release.
393
Linus Walleijb1318d12006-09-25 14:59:26 +00003942006-09-25 Linus Walleij <triad@df.lth.se>
395
396 * examples/evolution-sync.sh: example script to illustrate
397 to to transfer calendar, task and contact information
398 to a device supporting this.
399
Linus Walleij4ef39e62006-09-19 14:11:52 +00004002006-09-19 Linus Walleij <triad@df.lth.se>
401
402 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
403 * src/libmtp.c: dito.
404 * examples/sendfile.c: support vcard3.
405
Linus Walleijf248fdd2006-09-16 20:11:40 +00004062006-09-16 Linus Walleij <triad@df.lth.se>
407
408 * configure.ac: bump to 0.0.19 and release. There are some
409 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000410 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000411
Linus Walleijb8bfcb22006-09-13 12:14:28 +00004122006-09-13 Linus Walleij <triad@df.lth.se>
413
414 * examples/format.c: formatting test program.
415 * examples.Makefile.am: added format.
416
Linus Walleij13374a42006-09-13 11:55:30 +00004172006-09-13 Andy Kelk <andy@mopoke.co.uk>
418
419 * src/libmtp.h.in: added interface to format storage.
420 * src/libmtp.c: dito.
421 * src/ptp.c: dito.
422 * src/ptp.h: dito.
423
Linus Walleijd31e6192006-09-12 07:55:27 +00004242006-09-12 Linus Walleij <triad@df.lth.se>
425
426 * configure.ac: bump release. Released 0.0.18 yesterday.
427 * src/libmtp.c: do not try to read battery max level unless
428 the device supports it. (Bug occurred on Toshiba Gigabeat
429 P10.)
430
Linus Walleijd5d51c82006-09-11 06:57:50 +00004312006-09-11 Linus Walleij <triad@df.lth.se>
432
433 * src/libusb-glue.c: messed around a bit with device descriptor
434 detection so as to bring closer to libgphoto2 detection algorithm.
435 I've seen things that might be false positives, possibly USB mass
436 storage devices with additional MSFT descriptors to indicate they
437 have Janus DRM.
438 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
439 knows that UCS-2 is in machine endianness but Darwin and *BSD does
440 not. Detect C library and switch accordingly.
441 * src/unicode.c: retire old unicode code only keep things we cannot
442 live without. Remove the own internal UCS-2 conversion engine and
443 the internal iconv() engine and use the one already available in
444 PTPParams.
445 * src/unicode.h: dito.
446
Linus Walleij0558ac52006-09-07 06:55:03 +00004472006-09-07 Linus Walleij <triad@df.lth.se>
448
449 * src/libusb-glue.h: added device flags so we can make
450 the code behave differently on certain devices.
451 * src/libusb-glue.c: dito, plus removed some debug prints.
452 * src/libmtp.c: docs.
453 * src/libmtp.h.in: added device_flags to device list struct.
454 * src/Makefile.am: bumped to compatible library interface.
455 * configure.ac: bump version to 0.0.18 (0.0.17 released
456 yesterday).
457
Richard Low6ec2cc12006-09-06 16:59:16 +00004582006-09-06 Richard Low <richard@wentnet.com>
459
460 * src/libusb-glue.c: changed packet sizes to improve
461 transfer speeds.
462 * src/libmtp.c: changed packet sizes to improve transfer
463 transfer speeds. Also stopped extra ptp_getobjectinfo
464 calls when getting directories on connect.
465
Linus Walleij7f0c72e2006-09-06 13:01:58 +00004662006-09-06 Linus Walleij <triad@df.lth.se>
467
468 * src/libusb-glue.c: fixed some endpoint size detection
469 and sending special file sizes stuff. Real hairy bug...
470 Also messed around a bit with the callbacks.
471 * src/libmtp.c: changes for callback size detection.
472
Linus Walleija9310fa2006-09-04 06:47:42 +00004732006-09-04 Linus Walleij <triad@df.lth.se>
474
475 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
476 instead of magic values.
477
Linus Walleijd7aa5b22006-09-02 11:52:31 +00004782006-09-02 Linus Walleij <triad@df.lth.se>
479
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000480 * src/libmtp.c: add some code to have
481 LIBMTP_Send_File_From_File_Descriptor() accept a stream
482 if size is set to (uint64_t) -1, plus documentation fixes.
483 I don't think the streaming code will work but whoever want
484 to experiment with it has a place to start.
485 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000486
Linus Walleijda9500d2006-08-30 13:17:06 +00004872006-08-30 Linus Walleij <triad@df.lth.se>
488
489 * configure.ac: version bump.
490 * src/libmtp.c: more debug prints.
491 * src/libusb-glue.c: new iRiver device called Clix. By
492 the way I released libmtp 0.0.16 yesterday.
493
Linus Walleija823a702006-08-27 21:27:46 +00004942006-08-28 Linus Walleij <triad@df.lth.se>
495
496 * configure.ac: version bump.
497 * src/ptp-pack.c: upstream has committed my patch giving full
498 unicode support in libgphoto2 ptp2 camlib. No need for
499 any more ugly workarounds, plus we now have full unicode
500 filenames!
501 * src/ptp.c: dito.
502 * src/ptp.h: dito.
503 * src/libmtp.c: revamp to use the new unicode support in
504 libgphoto2.
505 * src/unicode.c: remove unused functionality.
506 * src/unicode.h: dito.
507
Linus Walleijee73ef22006-08-27 19:56:00 +00005082006-08-27 Linus Walleij <triad@df.lth.se>
509
510 * configure.ac: version bump. Release all these fixes
511 as 0.0.15.
512 * src/libusb-glue.c: fixed sucky errors. Added callback
513 code when reading files.
514 * src/libusb-glue.h: const correctness.
515 * src/libmtp.h.in: finally fixup the type on the callbacks.
516 * src/libmtp.c: more accurate sending callbacks. Callbacks
517 when getting files also, working correctly. Typeing of
518 callbacks now OK.
519 * examples/getfile.c: some display bar cosmetic fixup.
520 * TODO: lots of the things todo are now done.
521
Linus Walleijd214b9b2006-08-26 22:08:37 +00005222006-08-26 Linus Walleij <triad@df.lth.se>
523
524 * configure.ac: version bump.
525 * src/libmtp.c: fix bug and reinstate callbacks.
526 * src/libusb-glue.h: dito.
527 * src/libusb-glue.c: dito.
528
Linus Walleije7f44be2006-08-25 19:32:29 +00005292006-08-25 Linus Walleij <triad@df.lth.se>
530
531 * src/libmtp.c: use the new file descriptor sender function.
532 Going to release this as 0.0.13.
533 * src/ptp.c: upstream accepted patches synced in.
534 * src/ptp.h: dito.
535
Linus Walleijeab650b2006-08-21 23:26:37 +00005362006-08-22 Linus Walleij <triad@df.lth.se>
537
Linus Walleij80d134a2006-08-22 21:41:37 +0000538 * src/libusb-glue.c: found a real nasty endpoint bug,
539 code from libgphoto2 was assuming max packet size of
540 512 bytes while it is 64 when a USB 2.0 device is
541 plugged into an UHCI hub.
542
5432006-08-22 Linus Walleij <triad@df.lth.se>
544
Linus Walleijeab650b2006-08-21 23:26:37 +0000545 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
546
Linus Walleij924236a2006-08-20 22:17:58 +00005472006-08-21 Linus Walleij <triad@df.lth.se>
548
549 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000550 as result of experiments by Gavin McCullagh. Upstream
551 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000552 Move iconv() converters into device struct for thread
553 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000554 * src/ptp.c: sync to upstream which merges patch to get
555 file directly to file descriptor.
556 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000557 * src/unicode.c: move iconv() converters into the device
558 struct for thread safety.
559 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000560
Linus Walleij30658792006-08-19 22:18:55 +00005612006-08-20 Linus Walleij <triad@df.lth.se>
562
563 * src/libmtp.h.in: set friendly name and sync partner,
564 rename ownername to friendlyname.
565 * src/libmtp.c: dito.
566 * examples/detect.c: reflect changes.
567 * src/Makefile.am: interface is incompatible so age it.
568
Linus Walleijfae27482006-08-19 20:13:25 +00005692006-08-19 Linus Walleij <triad@df.lth.se>
570
571 * src/libmtp.h.in: add function to get syncronization
572 partner for the device.
573 * src/libmtp.c: dito.
574 * examples/detect.c: use that function.
575 * src/Makefile.am: backward-compatible interface bump.
576
Linus Walleij16571dc2006-08-17 20:27:46 +00005772006-08-17 Linus Walleij <triad@df.lth.se>
578
579 * configure.ac: bump to 0.0.12 and require iconv.h.
580
5812006-08-16 Linus Walleij <triad@df.lth.se>
582
583 * src/unicode.c: remove bigendian weirdness and switch
584 to using iconv() instead.
585 * src/unicode.h: dito.
586 * src/libmtp.c: reflect changes.
587
Linus Walleij3e188f12006-08-09 20:46:05 +00005882006-08-09 Linus Walleij <triad@df.lth.se>
589
590 * Release libmtp 0.0.11.
591
Linus Walleij2eb884b2006-08-04 19:17:36 +00005922006-08-04 Linus Walleij <triad@df.lth.se>
593
594 * src/libmtp.c: patch from Dan Aloni to make sendfile
595 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000596 * src/libusb-glue.c: patch from Andy Kelk to avoid
597 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000598 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000599
Linus Walleijaa4b0752006-07-26 22:21:04 +00006002006-07-27 Linus Walleij <triad@df.lth.se>
601
602 * Release libmtp 0.0.10.
603
Linus Walleij17b55ea2006-07-26 13:54:00 +00006042006-07-26 Linus Walleij <triad@df.lth.se>
605
606 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000607 * src/libmtp.c: only set metdata properties supported by
608 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000609 * src/ptp.c: sync to upstream.
610 * src/ptp.h: sync to upstream.
611 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000612
Linus Walleijc187cb92006-06-22 17:58:13 +00006132006-06-22 Linus Walleij <triad@df.lth.se>
614
615 * Release libmtp 0.0.9.
616
Linus Walleij8ab54262006-06-21 07:12:28 +00006172006-06-21 Linus Walleij <triad@df.lth.se>
618
619 * src/libmtp.h.in: added function to retrieve supported
620 filetypes.
621 * src/libmtp.c: ditto.
622 * examples/detect.c: use that function.
623
Linus Walleijcf223e62006-06-19 09:31:53 +00006242006-06-19 Linus Walleij <triad@df.lth.se>
625
626 * src/unicode.c: support all endianness, detect
627 byte-order-mark
628 * src/unicode.h: ditto.
629 * src/libmtp.c: ditto.
630 * examples/detect.c: use proper tempfile function.
631 * src/libmtp.h.in: add some more track properties.
632 * src/libmtp.c: ditto.
633 * examples/tracks.c: ditto.
634
Linus Walleij2e4b5f92006-06-16 14:00:49 +00006352006-06-16 Linus Walleij <triad@df.lth.se>
636
637 * src/libmtp.h.in: new interfaces for single metadata post
638 retrieveal.
639 * src/libmtp.c: ditto.
640 * examples/playlists.c: display track info using the new
641 individual track metadata retrieveal method.
642 * examples/getplaylist.c: ditto.
643
Linus Walleij05ccbe72006-06-13 07:46:58 +00006442006-06-13 Linus Walleij <triad@df.lth.se>
645
646 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000647 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000648 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000649 we can find them. Retrieve device secure time and cert
650 out of sheer curiosity.
651 * src/ptp.c: sync to libgphoto2 with my patches.
652 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000653
Linus Walleij438bd7f2006-06-08 11:35:44 +00006542006-06-07 Linus Walleij <triad@df.lth.se>
655
656 * src/libmtp.h.in: new playlist API and refactorings.
657 * src/libmtp.c: ditto, and refactorings.
658 * src/unicode.h: const correctness.
659 * src/unicode.c: ditto.
660 * examples/playlists.c: new example program.
661 * configure.ac: bump to 0.0.9
662 * src/Makefile.am: bump library interface.
663
Linus Walleij52e3ac52006-06-05 10:30:00 +00006642006-06-05 Linus Walleij <triad@df.lth.se>
665
666 * examples/sendtr.c: fixed annoying bug that made this
667 program totally useless.
668 * src/libmtp.c: cosmetics.
669 * configure.ac: bump to 0.0.8.
670
Linus Walleij345a3372006-06-03 20:55:25 +00006712006-06-03 Linus Walleij <triad@df.lth.se>
672
673 * src/libmtp.c: metadata bugs, album name and genre
674 confused. Fixe it and released libmtp 0.0.7.
675
Linus Walleijdc09dc02006-06-01 14:23:41 +00006762006-06-01 Linus Walleij <triad@df.lth.se>
677
678 * Released libmtp 0.0.6.
679
Linus Walleij549ec4d2006-05-31 19:59:52 +00006802006-05-31 Linus Walleij <triad@df.lth.se>
681
682 * src/libmtp.c: fixed mapping for JPEG vs JFIF
683 * src/libmtp.h.in: added proper type for JPEG
684 * examples/sendfile.c: send proper JPEG type
685
Linus Walleijd3fdd972006-05-30 15:51:37 +00006862006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
687
688 * src/libmtp.c: fixed a bug in update metadata due to
689 bad use of return code.
690 * src/libusb-glue.c: fixed a loop exiting problem with
691 good 'ol GOTO.
692
Linus Walleij9b1fcd92006-05-29 08:35:29 +00006932006-05-29 Linus Walleij <triad@df.lth.se>
694
695 * src/libusb-glue.c: one more device.
696 * doc/examples.h: produce correct documentation.
697 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000698 * src/ptp.c: sync to libgphoto2.
699 * src/ptp.h: ditto.
700 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000701 * src/libmtp.c: fixed all filetype API related functions
702 not to use any PTP intrinsic defines at all, made all
703 parameters to functions use the internal libmtp interface
704 enumerations and definitions. Removed LIBMTP_Release():
705 we can live with the memory lost during init. You're not
706 supposed to re-initialize the device. Consequently removed
707 the delete function that cleaned the filetype assoc list.
708 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000709
ravelox088180b2006-05-26 23:55:40 +00007102006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
711
712 * src/libmtp.c: refactored object handling to be more generic
713 * src/libmtp.h.in: ditto
714 * examples/refactortest.c: Added simple example to use refactoring
715 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000716 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
717 for playlist handling
718 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000719
Linus Walleij1fd2d272006-05-08 09:22:01 +00007202006-05-08 Linus Walleij <triad@df.lth.se>
721
722 * src/libmtp.h.in: add simple detection function.
723 * src/libusb-glue.c: implement MTP "OS descriptor" for
724 looking for MTP devices.
725 * examples/detect.c: make it possible to do very
726 rudimentary detection with "detect -p".
727 * configure.ac: bump to 0.0.5.
728
Linus Walleij685137f2006-05-07 18:09:02 +00007292006-05-07 Linus Walleij <triad@df.lth.se>
730
731 * COPYING: since we no longer use any parts of libptp2
732 and only files from libgphoto2, we switch to the GNU
733 Lesser General Public License (GNU LGPL). libptp2 is
734 a derived work from libgphoto2, and so is libmtp, there
735 are no remnants of libptp2 in libmtp anymore.
736
Linus Walleij16c51f02006-05-04 13:20:22 +00007372006-05-04 Linus Walleij <triad@df.lth.se>
738
739 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000740 * src/libmtp.c: respectfully rearranged to use a filetype mapping
741 table.
742 * src/ptp-pack.c: real nasty unicode packing bug.
743 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000744
Linus Walleijd6a49972006-05-02 08:24:54 +00007452006-05-02 Linus Walleij <triad@df.lth.se>
746
747 * src/libmtp.c: general shaping up for release. All track
748 and file sending functions now respects a parent ID to be
749 sent along with files and tracks.
750 * src/libmtp.h.in: dito.
751 * src/libusb-glue.c: dito.
752 * examples/sendfile.c: interface dependency changes.
753 * examples/sendtr.c: dito.
754
Linus Walleijc60275a2006-04-30 10:58:11 +00007552006-04-30 Linus Walleij <triad@df.lth.se>
756
757 * src/ptp.c: sync upstream.
758 * src/ptp.h: dito.
759
Linus Walleij370c68d2006-04-27 14:19:01 +00007602006-04-27 Linus Walleij <triad@df.lth.se>
761
762 * examples/sendfile.c: first file sender program based
763 on API implementation and changes by Chris Allegretta.
764 * examples/Makefile.am: new program, new entry.
765 * src/libmtp.c: reflect this new functionality.
766 * src/libmtp.h.in: dito.
767
Linus Walleijb02a0662006-04-25 08:05:09 +00007682006-04-25 Linus Walleij <triad@df.lth.se>
769
770 * Rebased the sources around libgphoto2 instead.
771 This was a major revision...
772 * src/ptp.c: imported libgphoto2 version verbatim.
773 * src/ptp.h: imported libgphoto2 version, minor patch.
774 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000775 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000776 * src/mtp.c: dropped, since all functions are now in ptp.c
777 * src/mtp-pack.c: dropped, same reason.
778 * src/mtp.h: dropped, same reason.
779 * src/mtp-pack.h: dropped, same reason.
780
Linus Walleije5f3ad42006-04-21 07:44:36 +00007812006-04-21 Linus Walleij <triad@df.lth.se>
782
Linus Walleij902c0b92006-04-21 10:52:48 +0000783 * Released libmtp 0.0.3
784 * Bumped source to 0.0.4
785
7862006-04-21 Linus Walleij <triad@df.lth.se>
787
Linus Walleije5f3ad42006-04-21 07:44:36 +0000788 * src/ptp-pack.c: GCC 4.x compilation patch from
789 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000790 * src/libusb-glue.c: New Samsung device and some
791 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000792 * src/ptp.h: some defines from libgphoto2 to get
793 a bit more compatible.
794 * src/libmtp.c: Added a folder API implementation by
795 Dave "ravelox" Kelly.
796 * src/libmtp.h.in: dito.
797 * examples/folders.c: dito.
798 * examples/newfolder.c: dito.
799 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000800
Linus Walleij6fd2f082006-03-28 07:19:22 +00008012006-03-28 Linus Walleij <triad@df.lth.se>
802
803 * m4/*: updated macros to work with GCC 4.1.0.
804 * examples/hotplug.c: new program to create device
805 ID lists.
806 * libmtp.rules: now an auto-generated file.
807 * libmtp.usermap: now an auto-generated file.
808
Linus Walleijf6bc1782006-03-24 15:12:47 +00008092006-03-24 Linus Walleij <triad@df.lth.se>
810
811 * Beginning a file API, fixed some example program
812 names and such.
813
Linus Walleij6946ac52006-03-21 06:51:22 +00008142006-03-18 Linus Walleij <triad@df.lth.se>
815
816 * Fixed up callback interface to a simpler version,
817 the old one was bloated stuff from libnjb anyway.
818 Bump to 0.0.2.
819
Linus Walleij9b28da32006-03-16 13:47:58 +00008202006-03-16 Linus Walleij <triad@df.lth.se>
821
822 * Fixed the .h file and implementation so you really only
823 need this one .h file to interface the library.
824
Linus Walleij80124062006-03-15 10:26:09 +00008252006-03-15 Linus Walleij <triad@df.lth.se>
826
827 * Added three device information retrieval functions.
828
Linus Walleij15e344f2006-03-06 15:15:00 +00008292006-03-06 Linus Walleij <triad@df.lth.se>
830
831 * Moving some things around to structure the source. More
832 will be needed...
833
Linus Walleij93218602006-02-27 08:53:38 +00008342006-02-27 Linus Walleij <triad@df.lth.se>
835
836 * Release libmtp 0.0.1 so people have something to play with,
837 what the heck. Probably saves someones day.
838
Linus Walleij95698cd2006-02-24 10:40:40 +00008392006-02-24 Linus Walleij <triad@df.lth.se>
840
841 * Deltr example program to delete tracks, plus corresponding
842 interface call.
843
Linus Walleij17e39f72006-02-23 15:54:28 +00008442006-02-23 Linus Walleij <triad@df.lth.se>
845
846 * Fixed up sendtr program and metadata tagging function that is
847 used after sending files.
848
Linus Walleij394bbbe2006-02-22 16:10:53 +00008492006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000850
Linus Walleij394bbbe2006-02-22 16:10:53 +0000851 * Untested gettr.c and sendtr.c programs to get and send tracks
852 created.
853
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00008542006-01-30 Linus Walleij <triad@df.lth.se>
855
856 * Created the initial GNU source directory structure.
857 * Added the most basic files.