blob: 79ee7fe6df093edfb04b9968a9c12dce68eab9f1 [file] [log] [blame]
Richard Low68f45882007-01-03 10:08:31 +000012007-01-03 Richard Low
2
3 * src/libusb-glue.c: fix zero write bug
4
Linus Walleij99ed83c2007-01-02 18:46:02 +000052007-01-02 Linus Walleij <triad@df.lth.se>
6
7 * src/libusb-glue.c: fix up comments, remove things
8 refering to stuff we don't have.
9
Richard Lowb89ea942007-01-02 11:47:19 +0000102007-01-02 Richard Low <richard@wentnet.com>
11
12 * src/libmtp.c: another try at split headers/packet sizes
13 * src/ptp.c: ditto
14 * src/libusb-glue.c: ditto
15
Linus Walleijc70a6df2007-01-01 22:19:08 +0000162007-01-01 Linus Walleij <triad@df.lth.se>
17
18 * src/libmtp.c: move default setting of split headers
19 off to ptp.c open session.
20 * src/ptp.c: dito.
21
Richard Low021421e2007-01-01 18:08:57 +0000222007-01-01 Richard Low <richard@wentnet.com>
23
24 * src/libmtp.c: split headers/packet size fix
25 * src/ptp.c: ditto
26 * src/ptp.h: ditto
27 * src/libusb-glue.c: ditto
28
Linus Walleijfa2d1d12007-01-01 17:08:13 +0000292007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
30
31 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
32 addition of AAVT error codes.
33 * src/ptp.c: changes to reflect modifications done in ptp.h
34
Linus Walleija5ab8c42006-12-31 09:25:36 +0000352006-12-31 Linus Walleij <triad@df.lth.se>
36
37 * configure.ac: bump to 0.1.2.
38 * src/Makefile.am: bump interface revision. (Compatible.)
39 * RELEASE 0.1.2.
40
Linus Walleij02ee8802006-12-30 17:27:58 +0000412006-12-30 Linus Walleij <triad@df.lth.se>
42
43 * examples/pathutils.c: reflect new filetypes.
44 * examples/sendtr.c: dito.
45
Linus Walleij5fb47132006-12-30 15:35:48 +0000462006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
47
48 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
49 codes. added more format object codes flac, m4a, 3gp, aac,
50 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
51 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
52 Added more device property codes.
53 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
54 * src/ptp.c: added changes to reflect new extensions, object
55 codes, device property codes.
56 * src/libmtp.c: modified mp4 to reflect it is a container format
57 not a codec. Added more descriptions in init_filemap(). mp4
58 container format is ambiguous in
59 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
60 mp4 searched in video by default. Added comments about this.
61 Added support for the new format object types.
62 * src/libmtp.h.in: added constants to reflect changes to
63 init_filemap().
64
Richard Lowedd61832006-12-30 12:38:18 +0000652006-12-30 Richard Low <richard@wentnet.com>
66
67 * src/libusb-glue.c: fixed bug in debug printing
68
Richard Lowa6c924c2006-12-29 17:44:28 +0000692006-12-29 Richard Low <richard@wentnet.com>
70
71 * src/libmtp.c: Made abstract list creation to be more
72 WMP like
73 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +000074 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +000075
Linus Walleij784ac3f2006-12-29 10:36:51 +0000762006-12-29 Marcus Meissner <meissner@suse.de>
77
78 * src/ptp.h: API changes for libgphoto2 to use the file
79 retrieveal functions.
80 * src/ptp.c: dito.
81 * src/libusb-glue.c: changes in libmtp reflecting the new
82 API for libgphoto2.
83
Linus Walleij8609af32006-12-28 21:25:17 +0000842006-12-28 Linus Walleij <triad@df.lth.se>
85
Linus Walleije2e21182006-12-28 22:36:59 +000086 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +000087 * src/Makefile.am: bump interface for release, also autotools.
88 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +000089
Linus Walleijd6735f72006-12-19 13:38:29 +0000902006-12-19 Matthew Wilcox <matthew@wil.cx>
91
92 * src/ptp.c: fix a (serious) short file bug.
93
Richard Lowaf20b5d2006-12-17 18:00:59 +0000942006-12-17 Richard Low <richard@wentnet.com>
95
96 * src/libmtp.c: don't bail out on failures when setting
97 metadata.
98
Linus Walleij037a1252006-12-16 20:36:52 +0000992006-12-16 Linus Walleij <triad@df.lth.se>
100
101 * src/ptp.c: sync to upstream.
102 * src/ptp.h: dito.
103 * src/ptp-pack.c: dito.
104
Linus Walleijf8491912006-12-15 10:23:30 +00001052006-12-15 Linus Walleij <triad@df.lth.se>
106
107 * src/libmtp.h.in: make the format function take a storage as
108 parameter. Add comments to device storage.
109 * src/libmtp.c: dito, fix up some code and docs.
110 * examples/format.c: make the format command comply with
111 the new API.
112
Linus Walleije1ac07e2006-12-14 19:38:59 +00001132006-12-14 Linus Walleij <triad@df.lth.se>
114
115 * src/libmtp.c: make get_first_storage_freespace() always query
116 the first storage when the space is requested. And some other
117 janitorial stuff.
118
Linus Walleijb01d18b2006-12-13 12:49:15 +00001192006-12-13 Linus Walleij <triad@df.lth.se>
120
121 * src/libusb-glue.c: one more device.
122 * examples/detect.c: compilation warnings fixed.
123
rreardon3d583062006-12-13 10:10:27 +00001242006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
125
126 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
127 * src/ptp.h: ditto.
128
Linus Walleijcd849362006-12-13 12:37:58 +00001292006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000130
131 * src/libmtp.h.in: revamped storage API.
132 * src/libmtp.c: dito.
133 * examples/detect.c: dito.
134
rreardon73d02c92006-12-12 16:45:30 +00001352006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000136
137 * src/libmtp.c: Send_Representative_Sample() updated to
138 set image height and width, or audio duration and size.
139
Linus Walleijd0f67702006-12-07 09:56:46 +00001402006-12-07 Linus Walleij <triad@df.lth.se>
141
Linus Walleija05b9802006-12-08 08:50:30 +0000142 * src/libmtp.h.in: support firmware object type. (Dangerous.)
143 * src/libmtp.c: dito.
144
1452006-12-07 Linus Walleij <triad@df.lth.se>
146
Linus Walleijd0f67702006-12-07 09:56:46 +0000147 * src/libmtp.c: default text folder detection (used in Samsung
148 Yepp T9) also add a few "My Foo" folder strings, remove the
149 "remaining directories" kludge.
150 * src/libmtp.h.in: default text folder.
151
Linus Walleijf1b02f22006-12-06 09:03:23 +00001522006-12-06 Linus Walleij <triad@df.lth.se>
153
154 * src/libmtp.h.in: extend the respresentative sample API a bit.
155 * src/libmtp.c: dito.
156 * examples/albumart.c: free memory after use.
157 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000158 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000159
Linus Walleijfdef4ae2006-12-05 16:15:51 +00001602006-12-04 Linus Walleij <triad@df.lth.se>
161
162 * src/ptp.c: enable split headers on sending object lists again.
163
1642006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000165
166 * src/libmtp.c: abstract Send_Representative_Sample() so
167 it can send samples for any format that supports it
168 * src/libmtp.h.in: same as above
169 * examples/albumart.c: altered to use new abstract function above
170 * example/thumb.c: sample program to upload thumbnails
171 * example/Makefile.am: add sample thumbnail program
172
Linus Walleijbdfaac22006-12-03 22:32:19 +00001732006-12-03 Linus Walleij <triad@df.lth.se>
174
175 * src/libmtp.c: check space on disk before sending
176 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000177 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
178 into LIBMTP_Send_Representative_Sample().
179 * src/libmtp.c: dito.
180 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000181
Linus Walleijfa3fbe32006-12-02 20:47:32 +00001822006-12-02 Marcus Meissner <meissner@suse.de>
183
184 * examples/Makefile.am: make sure symlinks really end
185 up in the correct dir.
186
Linus Walleij6eab3b32006-11-30 22:58:21 +00001872006-11-30 Linus Walleij <triad@df.lth.se>
188
189 * src/ptp.c: make Matthews patch thread-safe and fix it
190 so it will handle more than one surplus packet.
191 * src/ptp.h: dito.
192
Richard Lowab0d22d2006-11-30 22:17:49 +00001932006-11-30 Richard Low <richard@wentent.com>
194
195 * src/libmtp.c: memset PTPObjectInfo structs to 0
196
Linus Walleij4bf38dd2006-11-30 21:27:29 +00001972006-11-30 Matthew Wilcox <matthew@wil.cx>
198
199 * src/ptp.c: on some devices, surplus packet data is
200 sometimes returned during read, i.e. a header of the
201 next package is typically attacked to the incoming
202 data, as if someone was sending several packets at
203 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000204 * src/libusb-glue.c: revert my own mistakes by making
205 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000206
Linus Walleij9901e222006-11-30 12:28:19 +00002072006-11-30 Linus Walleij <triad@df.lth.se>
208
Linus Walleij2978f1a2006-11-30 14:00:26 +0000209 * configure.ac: this *is* gonna be libmtp 0.1.0!
210 * src/Makefile.am: age interface to 4-0-0 to indicate that
211 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000212 * src/libmtp.h.in: removed external object interface.
213 * src/libmtp.c: dito. Made all object manipulation functions
214 static.
215
Richard Lowc7d48d22006-11-29 18:24:55 +00002162006-11-29 Richard Low <richard@wentnet.com>
217
218 * src/libusb-glue.c: added new devices
219
Linus Walleij7beba572006-11-29 08:56:12 +00002202006-11-29 Linus Walleij <triad@df.lth.se>
221
222 * src/libusb-glue.c: remove some pointless #include <>
223 clutter, call usb_set_configuration() as needed by
224 Windows.
225 * src/libmtp.c: various fixups to enable use of Windows
226 <io.h> include file.
227 * README.windows.txt: added a quick porting guide for
228 MSVC by Farooq Zaman.
229
Linus Walleijcf42f452006-11-28 08:32:49 +00002302006-11-28 Linus Walleij <triad@df.lth.se>
231
232 * src/libmtp.h.in: removed filetype mapping API. We can handle
233 everything inside of libmtp now so no need for this.
234 * src/libmtp.c: dito.
235
Linus Walleij72e9c2b2006-11-28 08:14:00 +00002362006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000237
238 * examples/files.c: unsigned int sized printout.
239 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000240 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000241
Richard Low6c0a6ce2006-11-26 10:42:08 +00002422006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000243
Richard Low6c0a6ce2006-11-26 10:42:08 +0000244 * src/libmtp.c: object handles for proplists
245 * src/ptp-pack.c: ditto
246 * src/ptp.c: ditto
247 * src/ptp.h: ditto
248
Linus Walleijf73de152006-11-25 21:44:44 +00002492006-11-25 Marcus Meissner <marcus@jet.franken.de>
250
251 * examples/hotplug.c: adding HAL style XML output for
252 the devices.
253 * examples/Makefile.am: fixing a bug in the automake
254 file (pathutils.h missing!)
255 * Makefile.am: fix the problem with re-making sources
256 (you had to run ./autogen.sh before!)
257
Linus Walleijfe677ac2006-11-23 13:35:00 +00002582006-11-23 Linus Walleij <triad@df.lth.se>
259
260 * src/libusb-glue.h: add a new bug flag for devices that
261 have broken PTP_OC_MTP_GetObjPropList implementations.
262 * src/libusb-glue.c: state that all iRivers have this problem.
263 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
264 for these devices.
265
2662006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000267
268 * src/libmtp.c: set handle ids for new objects to 0 when
269 creating new albums and playlists.
270
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00002712006-11-21 Linus Walleij <triad@df.lth.se>
272
273 * src/libmtp.c: enabled enhanced mode for metadata retrieval
274 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000275 * src/libmtp.c: fixed the problem with sending files using
276 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000277
Linus Walleij277cd532006-11-20 14:57:46 +00002782006-11-20 Linus Walleij <triad@df.lth.se>
279
280 * src/ptp.h: sync to upstream libgphoto2
281 * src/ptp.c: dito.
282 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000283 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000284
2852006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000286
287 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
288 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000289 * examples/emptyfolders.c: new example program for pruning empty
290 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000291
Linus Walleij277cd532006-11-20 14:57:46 +00002922006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000293
rreardonbbb4e562006-11-19 22:16:11 +0000294 * src/libmtp.c: use enhanced MTP commands to create playlists and
295 send files
rreardon508705f2006-11-19 21:27:22 +0000296 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000297 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000298
Linus Walleijcd849362006-12-13 12:37:58 +00002992006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000300
301 * src/libusb-glue.c: fix error on reconnect.
302
Linus Walleij277cd532006-11-20 14:57:46 +00003032006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000304
305 * src/ptp.c: tidy up ptp_usb_getdata
306
Linus Walleij277cd532006-11-20 14:57:46 +00003072006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000308
309 * src/libmtp.c: fixed parent handle for uploaded tracks
310
Linus Walleij277cd532006-11-20 14:57:46 +00003112006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000312
313 * src/libmtp.c: fixed up album art using enhanced commands.
314
Linus Walleij277cd532006-11-20 14:57:46 +00003152006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000316
317 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
318 * src/ptp.c: ditto
319 * src/ptp.h: ditto
320 * src/ptp-pack.c: ditto
321
Linus Walleij277cd532006-11-20 14:57:46 +00003222006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000323
Linus Walleijccf28ce2006-11-16 16:06:38 +0000324 * src/libmtp.c: use enhanced MTP commands to create albums and
325 add detection of the default album folder.
326 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000327
Linus Walleij277cd532006-11-20 14:57:46 +00003282006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000329
330 * src/ptp-pack.c: set string buffer to correct size.
331
Linus Walleij277cd532006-11-20 14:57:46 +00003322006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000333
334 * examples/tracks.c: really use undeprecated API entry.
335
Linus Walleij277cd532006-11-20 14:57:46 +00003362006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000337
338 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000339 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000340 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000341 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000342 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000343 * examples/connect.c: ditto.
344 * examples/detect.c: ditto.
345 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000346 * src/ptp.c: working on getting object prop lists.
347 * src/ptp.h: dito.
348
Linus Walleij277cd532006-11-20 14:57:46 +00003492006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000350
351 * src/libusb-glue.c: added Zen Vision W to devices
352
Linus Walleij277cd532006-11-20 14:57:46 +00003532006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000354
355 * src/libmtp.c: added checks for supported properties
356
Linus Walleij277cd532006-11-20 14:57:46 +00003572006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000358
359 * src/libmtp.c: added a check for NULL filenames in
360 LIBMTP_Get_Folder_List.
361
Linus Walleij99310d42006-11-01 08:29:39 +00003622006-11-01 Linus Walleij <triad@df.lth.se>
363
364 * src/libmtp.h.in: set/get uint8 to/from objects
365 * src/libmtp.c: send object property list.
366 * src/ptp.c: dito.
367 * src/ptp.h: dito.
368 * src/ptp-pack.c: dito.
369
mopoke90be30e2006-10-30 08:47:41 +00003702006-10-29 Andy Kelk <andy@mopoke.co.uk>
371
372 * examples/albumart.c: simple tool for adding album art.
373 * src/libmtp.c: graceful handling of players not supporting
374 abstract album objects.
375
Linus Walleij0c33ec02006-10-27 10:15:40 +00003762006-10-27 Linus Walleij <triad@df.lth.se>
377
378 * src/Makefile.am: bump library interface to reflect the new
379 album methods.
380 * configure.ac: bump to 0.0.22 for the next release.
381
3822006-10-27 Andy Kelk <andy@mopoke.co.uk>
383
384 * src/libmtp.c: add support form abstract audio/video albums.
385 * src/libmtp.h.in: dito.
386
Linus Walleij7347d0f2006-10-23 07:23:39 +00003872006-10-23 Linus Walleij <triad@df.lth.se>
388
389 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
390 * src/ptp.c: sync to upstream.
391 * src/ptp.h: dito.
392 * src/ptp-pack.c: dito.
393
Linus Walleij9efe75f2006-10-20 09:09:45 +00003942006-10-20 Linus Walleij <triad@df.lth.se>
395
396 * Release 0.0.21 to get all the new device support out.
397
Linus Walleij501ba4d2006-10-16 06:17:04 +00003982006-10-16 Linus Walleij <triad@df.lth.se>
399
400 * configure.ac: bump to 0.0.21.
401 * src/libusb-glue.c: add code to unload a kernel driver for
402 the primary interface if it is already in use under Linux.
403 * src/libusb-glue.h: add a device flag to make this possible.
404
Linus Walleij37253292006-10-11 08:38:14 +00004052006-10-11 Linus Walleij <triad@df.lth.se>
406
407 * examples/delfile.c: patch from Chris Debenham
408 straingtening out the command-line interface a bit
409 more.
410
Linus Walleij43ff8fc2006-10-10 11:16:53 +00004112006-10-10 Linus Walleij <triad@df.lth.se>
412
Linus Walleij37253292006-10-11 08:38:14 +0000413 * examples/delfile.c: patch from Chris Debenham to make
414 this command take an optional filename as parameter
415 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000416
Linus Walleij955e6ba2006-09-26 16:55:10 +00004172006-09-26 Linus Walleij <triad@df.lth.se>
418
419 * libmtp.pc.in: require libusb instead of just linking it.
420 * configure.ac: bump release to 0.0.20 and release.
421
Linus Walleijb1318d12006-09-25 14:59:26 +00004222006-09-25 Linus Walleij <triad@df.lth.se>
423
424 * examples/evolution-sync.sh: example script to illustrate
425 to to transfer calendar, task and contact information
426 to a device supporting this.
427
Linus Walleij4ef39e62006-09-19 14:11:52 +00004282006-09-19 Linus Walleij <triad@df.lth.se>
429
430 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
431 * src/libmtp.c: dito.
432 * examples/sendfile.c: support vcard3.
433
Linus Walleijf248fdd2006-09-16 20:11:40 +00004342006-09-16 Linus Walleij <triad@df.lth.se>
435
436 * configure.ac: bump to 0.0.19 and release. There are some
437 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000438 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000439
Linus Walleijb8bfcb22006-09-13 12:14:28 +00004402006-09-13 Linus Walleij <triad@df.lth.se>
441
442 * examples/format.c: formatting test program.
443 * examples.Makefile.am: added format.
444
Linus Walleij13374a42006-09-13 11:55:30 +00004452006-09-13 Andy Kelk <andy@mopoke.co.uk>
446
447 * src/libmtp.h.in: added interface to format storage.
448 * src/libmtp.c: dito.
449 * src/ptp.c: dito.
450 * src/ptp.h: dito.
451
Linus Walleijd31e6192006-09-12 07:55:27 +00004522006-09-12 Linus Walleij <triad@df.lth.se>
453
454 * configure.ac: bump release. Released 0.0.18 yesterday.
455 * src/libmtp.c: do not try to read battery max level unless
456 the device supports it. (Bug occurred on Toshiba Gigabeat
457 P10.)
458
Linus Walleijd5d51c82006-09-11 06:57:50 +00004592006-09-11 Linus Walleij <triad@df.lth.se>
460
461 * src/libusb-glue.c: messed around a bit with device descriptor
462 detection so as to bring closer to libgphoto2 detection algorithm.
463 I've seen things that might be false positives, possibly USB mass
464 storage devices with additional MSFT descriptors to indicate they
465 have Janus DRM.
466 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
467 knows that UCS-2 is in machine endianness but Darwin and *BSD does
468 not. Detect C library and switch accordingly.
469 * src/unicode.c: retire old unicode code only keep things we cannot
470 live without. Remove the own internal UCS-2 conversion engine and
471 the internal iconv() engine and use the one already available in
472 PTPParams.
473 * src/unicode.h: dito.
474
Linus Walleij0558ac52006-09-07 06:55:03 +00004752006-09-07 Linus Walleij <triad@df.lth.se>
476
477 * src/libusb-glue.h: added device flags so we can make
478 the code behave differently on certain devices.
479 * src/libusb-glue.c: dito, plus removed some debug prints.
480 * src/libmtp.c: docs.
481 * src/libmtp.h.in: added device_flags to device list struct.
482 * src/Makefile.am: bumped to compatible library interface.
483 * configure.ac: bump version to 0.0.18 (0.0.17 released
484 yesterday).
485
Richard Low6ec2cc12006-09-06 16:59:16 +00004862006-09-06 Richard Low <richard@wentnet.com>
487
488 * src/libusb-glue.c: changed packet sizes to improve
489 transfer speeds.
490 * src/libmtp.c: changed packet sizes to improve transfer
491 transfer speeds. Also stopped extra ptp_getobjectinfo
492 calls when getting directories on connect.
493
Linus Walleij7f0c72e2006-09-06 13:01:58 +00004942006-09-06 Linus Walleij <triad@df.lth.se>
495
496 * src/libusb-glue.c: fixed some endpoint size detection
497 and sending special file sizes stuff. Real hairy bug...
498 Also messed around a bit with the callbacks.
499 * src/libmtp.c: changes for callback size detection.
500
Linus Walleija9310fa2006-09-04 06:47:42 +00005012006-09-04 Linus Walleij <triad@df.lth.se>
502
503 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
504 instead of magic values.
505
Linus Walleijd7aa5b22006-09-02 11:52:31 +00005062006-09-02 Linus Walleij <triad@df.lth.se>
507
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000508 * src/libmtp.c: add some code to have
509 LIBMTP_Send_File_From_File_Descriptor() accept a stream
510 if size is set to (uint64_t) -1, plus documentation fixes.
511 I don't think the streaming code will work but whoever want
512 to experiment with it has a place to start.
513 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000514
Linus Walleijda9500d2006-08-30 13:17:06 +00005152006-08-30 Linus Walleij <triad@df.lth.se>
516
517 * configure.ac: version bump.
518 * src/libmtp.c: more debug prints.
519 * src/libusb-glue.c: new iRiver device called Clix. By
520 the way I released libmtp 0.0.16 yesterday.
521
Linus Walleija823a702006-08-27 21:27:46 +00005222006-08-28 Linus Walleij <triad@df.lth.se>
523
524 * configure.ac: version bump.
525 * src/ptp-pack.c: upstream has committed my patch giving full
526 unicode support in libgphoto2 ptp2 camlib. No need for
527 any more ugly workarounds, plus we now have full unicode
528 filenames!
529 * src/ptp.c: dito.
530 * src/ptp.h: dito.
531 * src/libmtp.c: revamp to use the new unicode support in
532 libgphoto2.
533 * src/unicode.c: remove unused functionality.
534 * src/unicode.h: dito.
535
Linus Walleijee73ef22006-08-27 19:56:00 +00005362006-08-27 Linus Walleij <triad@df.lth.se>
537
538 * configure.ac: version bump. Release all these fixes
539 as 0.0.15.
540 * src/libusb-glue.c: fixed sucky errors. Added callback
541 code when reading files.
542 * src/libusb-glue.h: const correctness.
543 * src/libmtp.h.in: finally fixup the type on the callbacks.
544 * src/libmtp.c: more accurate sending callbacks. Callbacks
545 when getting files also, working correctly. Typeing of
546 callbacks now OK.
547 * examples/getfile.c: some display bar cosmetic fixup.
548 * TODO: lots of the things todo are now done.
549
Linus Walleijd214b9b2006-08-26 22:08:37 +00005502006-08-26 Linus Walleij <triad@df.lth.se>
551
552 * configure.ac: version bump.
553 * src/libmtp.c: fix bug and reinstate callbacks.
554 * src/libusb-glue.h: dito.
555 * src/libusb-glue.c: dito.
556
Linus Walleije7f44be2006-08-25 19:32:29 +00005572006-08-25 Linus Walleij <triad@df.lth.se>
558
559 * src/libmtp.c: use the new file descriptor sender function.
560 Going to release this as 0.0.13.
561 * src/ptp.c: upstream accepted patches synced in.
562 * src/ptp.h: dito.
563
Linus Walleijeab650b2006-08-21 23:26:37 +00005642006-08-22 Linus Walleij <triad@df.lth.se>
565
Linus Walleij80d134a2006-08-22 21:41:37 +0000566 * src/libusb-glue.c: found a real nasty endpoint bug,
567 code from libgphoto2 was assuming max packet size of
568 512 bytes while it is 64 when a USB 2.0 device is
569 plugged into an UHCI hub.
570
5712006-08-22 Linus Walleij <triad@df.lth.se>
572
Linus Walleijeab650b2006-08-21 23:26:37 +0000573 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
574
Linus Walleij924236a2006-08-20 22:17:58 +00005752006-08-21 Linus Walleij <triad@df.lth.se>
576
577 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000578 as result of experiments by Gavin McCullagh. Upstream
579 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000580 Move iconv() converters into device struct for thread
581 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000582 * src/ptp.c: sync to upstream which merges patch to get
583 file directly to file descriptor.
584 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000585 * src/unicode.c: move iconv() converters into the device
586 struct for thread safety.
587 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000588
Linus Walleij30658792006-08-19 22:18:55 +00005892006-08-20 Linus Walleij <triad@df.lth.se>
590
591 * src/libmtp.h.in: set friendly name and sync partner,
592 rename ownername to friendlyname.
593 * src/libmtp.c: dito.
594 * examples/detect.c: reflect changes.
595 * src/Makefile.am: interface is incompatible so age it.
596
Linus Walleijfae27482006-08-19 20:13:25 +00005972006-08-19 Linus Walleij <triad@df.lth.se>
598
599 * src/libmtp.h.in: add function to get syncronization
600 partner for the device.
601 * src/libmtp.c: dito.
602 * examples/detect.c: use that function.
603 * src/Makefile.am: backward-compatible interface bump.
604
Linus Walleij16571dc2006-08-17 20:27:46 +00006052006-08-17 Linus Walleij <triad@df.lth.se>
606
607 * configure.ac: bump to 0.0.12 and require iconv.h.
608
6092006-08-16 Linus Walleij <triad@df.lth.se>
610
611 * src/unicode.c: remove bigendian weirdness and switch
612 to using iconv() instead.
613 * src/unicode.h: dito.
614 * src/libmtp.c: reflect changes.
615
Linus Walleij3e188f12006-08-09 20:46:05 +00006162006-08-09 Linus Walleij <triad@df.lth.se>
617
618 * Release libmtp 0.0.11.
619
Linus Walleij2eb884b2006-08-04 19:17:36 +00006202006-08-04 Linus Walleij <triad@df.lth.se>
621
622 * src/libmtp.c: patch from Dan Aloni to make sendfile
623 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000624 * src/libusb-glue.c: patch from Andy Kelk to avoid
625 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000626 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000627
Linus Walleijaa4b0752006-07-26 22:21:04 +00006282006-07-27 Linus Walleij <triad@df.lth.se>
629
630 * Release libmtp 0.0.10.
631
Linus Walleij17b55ea2006-07-26 13:54:00 +00006322006-07-26 Linus Walleij <triad@df.lth.se>
633
634 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000635 * src/libmtp.c: only set metdata properties supported by
636 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000637 * src/ptp.c: sync to upstream.
638 * src/ptp.h: sync to upstream.
639 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000640
Linus Walleijc187cb92006-06-22 17:58:13 +00006412006-06-22 Linus Walleij <triad@df.lth.se>
642
643 * Release libmtp 0.0.9.
644
Linus Walleij8ab54262006-06-21 07:12:28 +00006452006-06-21 Linus Walleij <triad@df.lth.se>
646
647 * src/libmtp.h.in: added function to retrieve supported
648 filetypes.
649 * src/libmtp.c: ditto.
650 * examples/detect.c: use that function.
651
Linus Walleijcf223e62006-06-19 09:31:53 +00006522006-06-19 Linus Walleij <triad@df.lth.se>
653
654 * src/unicode.c: support all endianness, detect
655 byte-order-mark
656 * src/unicode.h: ditto.
657 * src/libmtp.c: ditto.
658 * examples/detect.c: use proper tempfile function.
659 * src/libmtp.h.in: add some more track properties.
660 * src/libmtp.c: ditto.
661 * examples/tracks.c: ditto.
662
Linus Walleij2e4b5f92006-06-16 14:00:49 +00006632006-06-16 Linus Walleij <triad@df.lth.se>
664
665 * src/libmtp.h.in: new interfaces for single metadata post
666 retrieveal.
667 * src/libmtp.c: ditto.
668 * examples/playlists.c: display track info using the new
669 individual track metadata retrieveal method.
670 * examples/getplaylist.c: ditto.
671
Linus Walleij05ccbe72006-06-13 07:46:58 +00006722006-06-13 Linus Walleij <triad@df.lth.se>
673
674 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000675 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000676 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000677 we can find them. Retrieve device secure time and cert
678 out of sheer curiosity.
679 * src/ptp.c: sync to libgphoto2 with my patches.
680 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000681
Linus Walleij438bd7f2006-06-08 11:35:44 +00006822006-06-07 Linus Walleij <triad@df.lth.se>
683
684 * src/libmtp.h.in: new playlist API and refactorings.
685 * src/libmtp.c: ditto, and refactorings.
686 * src/unicode.h: const correctness.
687 * src/unicode.c: ditto.
688 * examples/playlists.c: new example program.
689 * configure.ac: bump to 0.0.9
690 * src/Makefile.am: bump library interface.
691
Linus Walleij52e3ac52006-06-05 10:30:00 +00006922006-06-05 Linus Walleij <triad@df.lth.se>
693
694 * examples/sendtr.c: fixed annoying bug that made this
695 program totally useless.
696 * src/libmtp.c: cosmetics.
697 * configure.ac: bump to 0.0.8.
698
Linus Walleij345a3372006-06-03 20:55:25 +00006992006-06-03 Linus Walleij <triad@df.lth.se>
700
701 * src/libmtp.c: metadata bugs, album name and genre
702 confused. Fixe it and released libmtp 0.0.7.
703
Linus Walleijdc09dc02006-06-01 14:23:41 +00007042006-06-01 Linus Walleij <triad@df.lth.se>
705
706 * Released libmtp 0.0.6.
707
Linus Walleij549ec4d2006-05-31 19:59:52 +00007082006-05-31 Linus Walleij <triad@df.lth.se>
709
710 * src/libmtp.c: fixed mapping for JPEG vs JFIF
711 * src/libmtp.h.in: added proper type for JPEG
712 * examples/sendfile.c: send proper JPEG type
713
Linus Walleijd3fdd972006-05-30 15:51:37 +00007142006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
715
716 * src/libmtp.c: fixed a bug in update metadata due to
717 bad use of return code.
718 * src/libusb-glue.c: fixed a loop exiting problem with
719 good 'ol GOTO.
720
Linus Walleij9b1fcd92006-05-29 08:35:29 +00007212006-05-29 Linus Walleij <triad@df.lth.se>
722
723 * src/libusb-glue.c: one more device.
724 * doc/examples.h: produce correct documentation.
725 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000726 * src/ptp.c: sync to libgphoto2.
727 * src/ptp.h: ditto.
728 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000729 * src/libmtp.c: fixed all filetype API related functions
730 not to use any PTP intrinsic defines at all, made all
731 parameters to functions use the internal libmtp interface
732 enumerations and definitions. Removed LIBMTP_Release():
733 we can live with the memory lost during init. You're not
734 supposed to re-initialize the device. Consequently removed
735 the delete function that cleaned the filetype assoc list.
736 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000737
ravelox088180b2006-05-26 23:55:40 +00007382006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
739
740 * src/libmtp.c: refactored object handling to be more generic
741 * src/libmtp.h.in: ditto
742 * examples/refactortest.c: Added simple example to use refactoring
743 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000744 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
745 for playlist handling
746 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000747
Linus Walleij1fd2d272006-05-08 09:22:01 +00007482006-05-08 Linus Walleij <triad@df.lth.se>
749
750 * src/libmtp.h.in: add simple detection function.
751 * src/libusb-glue.c: implement MTP "OS descriptor" for
752 looking for MTP devices.
753 * examples/detect.c: make it possible to do very
754 rudimentary detection with "detect -p".
755 * configure.ac: bump to 0.0.5.
756
Linus Walleij685137f2006-05-07 18:09:02 +00007572006-05-07 Linus Walleij <triad@df.lth.se>
758
759 * COPYING: since we no longer use any parts of libptp2
760 and only files from libgphoto2, we switch to the GNU
761 Lesser General Public License (GNU LGPL). libptp2 is
762 a derived work from libgphoto2, and so is libmtp, there
763 are no remnants of libptp2 in libmtp anymore.
764
Linus Walleij16c51f02006-05-04 13:20:22 +00007652006-05-04 Linus Walleij <triad@df.lth.se>
766
767 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000768 * src/libmtp.c: respectfully rearranged to use a filetype mapping
769 table.
770 * src/ptp-pack.c: real nasty unicode packing bug.
771 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000772
Linus Walleijd6a49972006-05-02 08:24:54 +00007732006-05-02 Linus Walleij <triad@df.lth.se>
774
775 * src/libmtp.c: general shaping up for release. All track
776 and file sending functions now respects a parent ID to be
777 sent along with files and tracks.
778 * src/libmtp.h.in: dito.
779 * src/libusb-glue.c: dito.
780 * examples/sendfile.c: interface dependency changes.
781 * examples/sendtr.c: dito.
782
Linus Walleijc60275a2006-04-30 10:58:11 +00007832006-04-30 Linus Walleij <triad@df.lth.se>
784
785 * src/ptp.c: sync upstream.
786 * src/ptp.h: dito.
787
Linus Walleij370c68d2006-04-27 14:19:01 +00007882006-04-27 Linus Walleij <triad@df.lth.se>
789
790 * examples/sendfile.c: first file sender program based
791 on API implementation and changes by Chris Allegretta.
792 * examples/Makefile.am: new program, new entry.
793 * src/libmtp.c: reflect this new functionality.
794 * src/libmtp.h.in: dito.
795
Linus Walleijb02a0662006-04-25 08:05:09 +00007962006-04-25 Linus Walleij <triad@df.lth.se>
797
798 * Rebased the sources around libgphoto2 instead.
799 This was a major revision...
800 * src/ptp.c: imported libgphoto2 version verbatim.
801 * src/ptp.h: imported libgphoto2 version, minor patch.
802 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000803 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000804 * src/mtp.c: dropped, since all functions are now in ptp.c
805 * src/mtp-pack.c: dropped, same reason.
806 * src/mtp.h: dropped, same reason.
807 * src/mtp-pack.h: dropped, same reason.
808
Linus Walleije5f3ad42006-04-21 07:44:36 +00008092006-04-21 Linus Walleij <triad@df.lth.se>
810
Linus Walleij902c0b92006-04-21 10:52:48 +0000811 * Released libmtp 0.0.3
812 * Bumped source to 0.0.4
813
8142006-04-21 Linus Walleij <triad@df.lth.se>
815
Linus Walleije5f3ad42006-04-21 07:44:36 +0000816 * src/ptp-pack.c: GCC 4.x compilation patch from
817 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000818 * src/libusb-glue.c: New Samsung device and some
819 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000820 * src/ptp.h: some defines from libgphoto2 to get
821 a bit more compatible.
822 * src/libmtp.c: Added a folder API implementation by
823 Dave "ravelox" Kelly.
824 * src/libmtp.h.in: dito.
825 * examples/folders.c: dito.
826 * examples/newfolder.c: dito.
827 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000828
Linus Walleij6fd2f082006-03-28 07:19:22 +00008292006-03-28 Linus Walleij <triad@df.lth.se>
830
831 * m4/*: updated macros to work with GCC 4.1.0.
832 * examples/hotplug.c: new program to create device
833 ID lists.
834 * libmtp.rules: now an auto-generated file.
835 * libmtp.usermap: now an auto-generated file.
836
Linus Walleijf6bc1782006-03-24 15:12:47 +00008372006-03-24 Linus Walleij <triad@df.lth.se>
838
839 * Beginning a file API, fixed some example program
840 names and such.
841
Linus Walleij6946ac52006-03-21 06:51:22 +00008422006-03-18 Linus Walleij <triad@df.lth.se>
843
844 * Fixed up callback interface to a simpler version,
845 the old one was bloated stuff from libnjb anyway.
846 Bump to 0.0.2.
847
Linus Walleij9b28da32006-03-16 13:47:58 +00008482006-03-16 Linus Walleij <triad@df.lth.se>
849
850 * Fixed the .h file and implementation so you really only
851 need this one .h file to interface the library.
852
Linus Walleij80124062006-03-15 10:26:09 +00008532006-03-15 Linus Walleij <triad@df.lth.se>
854
855 * Added three device information retrieval functions.
856
Linus Walleij15e344f2006-03-06 15:15:00 +00008572006-03-06 Linus Walleij <triad@df.lth.se>
858
859 * Moving some things around to structure the source. More
860 will be needed...
861
Linus Walleij93218602006-02-27 08:53:38 +00008622006-02-27 Linus Walleij <triad@df.lth.se>
863
864 * Release libmtp 0.0.1 so people have something to play with,
865 what the heck. Probably saves someones day.
866
Linus Walleij95698cd2006-02-24 10:40:40 +00008672006-02-24 Linus Walleij <triad@df.lth.se>
868
869 * Deltr example program to delete tracks, plus corresponding
870 interface call.
871
Linus Walleij17e39f72006-02-23 15:54:28 +00008722006-02-23 Linus Walleij <triad@df.lth.se>
873
874 * Fixed up sendtr program and metadata tagging function that is
875 used after sending files.
876
Linus Walleij394bbbe2006-02-22 16:10:53 +00008772006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000878
Linus Walleij394bbbe2006-02-22 16:10:53 +0000879 * Untested gettr.c and sendtr.c programs to get and send tracks
880 created.
881
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00008822006-01-30 Linus Walleij <triad@df.lth.se>
883
884 * Created the initial GNU source directory structure.
885 * Added the most basic files.