blob: 1194a8736364c077842d08a2202b522ee0ed3b3a [file] [log] [blame]
Linus Walleij58b62792007-01-07 12:38:59 +000012006-01-07 Linus Walleij <triad@df.lth.se>
2
3 * src/libusb-glue.c: (re)introduce de-halting of endpoints
4 as this is needed by VMWare emulation. Must check whether
5 this causes problems for other archs!
6
Linus Walleija0323272007-01-07 12:21:30 +000072006-01-07 Marcus Meissner <meissner@suse.de>
8
9 * src/ptp.c: sync to upstream libgphoto2.
10 * src/ptp.h: dito.
11 * src/ptp-pack.c: dito.
12 * libusb-glue.c: fixes to move low-level functions
13 out of ptp.c and into this libmtp-specific portion.
14 libgphoto2 has been similarly altered to use a usb.c
15 file for the low-level stuff. (This was a long needed
16 split anyway.)
17
Linus Walleij58b62792007-01-07 12:38:59 +0000182007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +000019
20 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +000021 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +000022
Linus Walleij99ed83c2007-01-02 18:46:02 +0000232007-01-02 Linus Walleij <triad@df.lth.se>
24
25 * src/libusb-glue.c: fix up comments, remove things
26 refering to stuff we don't have.
27
Richard Lowb89ea942007-01-02 11:47:19 +0000282007-01-02 Richard Low <richard@wentnet.com>
29
30 * src/libmtp.c: another try at split headers/packet sizes
31 * src/ptp.c: ditto
32 * src/libusb-glue.c: ditto
33
Linus Walleijc70a6df2007-01-01 22:19:08 +0000342007-01-01 Linus Walleij <triad@df.lth.se>
35
36 * src/libmtp.c: move default setting of split headers
37 off to ptp.c open session.
38 * src/ptp.c: dito.
39
Richard Low021421e2007-01-01 18:08:57 +0000402007-01-01 Richard Low <richard@wentnet.com>
41
42 * src/libmtp.c: split headers/packet size fix
43 * src/ptp.c: ditto
44 * src/ptp.h: ditto
45 * src/libusb-glue.c: ditto
46
Linus Walleijfa2d1d12007-01-01 17:08:13 +0000472007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
48
49 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
50 addition of AAVT error codes.
51 * src/ptp.c: changes to reflect modifications done in ptp.h
52
Linus Walleija5ab8c42006-12-31 09:25:36 +0000532006-12-31 Linus Walleij <triad@df.lth.se>
54
55 * configure.ac: bump to 0.1.2.
56 * src/Makefile.am: bump interface revision. (Compatible.)
57 * RELEASE 0.1.2.
58
Linus Walleij02ee8802006-12-30 17:27:58 +0000592006-12-30 Linus Walleij <triad@df.lth.se>
60
61 * examples/pathutils.c: reflect new filetypes.
62 * examples/sendtr.c: dito.
63
Linus Walleij5fb47132006-12-30 15:35:48 +0000642006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
65
66 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
67 codes. added more format object codes flac, m4a, 3gp, aac,
68 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
69 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
70 Added more device property codes.
71 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
72 * src/ptp.c: added changes to reflect new extensions, object
73 codes, device property codes.
74 * src/libmtp.c: modified mp4 to reflect it is a container format
75 not a codec. Added more descriptions in init_filemap(). mp4
76 container format is ambiguous in
77 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
78 mp4 searched in video by default. Added comments about this.
79 Added support for the new format object types.
80 * src/libmtp.h.in: added constants to reflect changes to
81 init_filemap().
82
Richard Lowedd61832006-12-30 12:38:18 +0000832006-12-30 Richard Low <richard@wentnet.com>
84
85 * src/libusb-glue.c: fixed bug in debug printing
86
Richard Lowa6c924c2006-12-29 17:44:28 +0000872006-12-29 Richard Low <richard@wentnet.com>
88
89 * src/libmtp.c: Made abstract list creation to be more
90 WMP like
91 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +000092 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +000093
Linus Walleij784ac3f2006-12-29 10:36:51 +0000942006-12-29 Marcus Meissner <meissner@suse.de>
95
96 * src/ptp.h: API changes for libgphoto2 to use the file
97 retrieveal functions.
98 * src/ptp.c: dito.
99 * src/libusb-glue.c: changes in libmtp reflecting the new
100 API for libgphoto2.
101
Linus Walleij8609af32006-12-28 21:25:17 +00001022006-12-28 Linus Walleij <triad@df.lth.se>
103
Linus Walleije2e21182006-12-28 22:36:59 +0000104 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000105 * src/Makefile.am: bump interface for release, also autotools.
106 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000107
Linus Walleijd6735f72006-12-19 13:38:29 +00001082006-12-19 Matthew Wilcox <matthew@wil.cx>
109
110 * src/ptp.c: fix a (serious) short file bug.
111
Richard Lowaf20b5d2006-12-17 18:00:59 +00001122006-12-17 Richard Low <richard@wentnet.com>
113
114 * src/libmtp.c: don't bail out on failures when setting
115 metadata.
116
Linus Walleij037a1252006-12-16 20:36:52 +00001172006-12-16 Linus Walleij <triad@df.lth.se>
118
119 * src/ptp.c: sync to upstream.
120 * src/ptp.h: dito.
121 * src/ptp-pack.c: dito.
122
Linus Walleijf8491912006-12-15 10:23:30 +00001232006-12-15 Linus Walleij <triad@df.lth.se>
124
125 * src/libmtp.h.in: make the format function take a storage as
126 parameter. Add comments to device storage.
127 * src/libmtp.c: dito, fix up some code and docs.
128 * examples/format.c: make the format command comply with
129 the new API.
130
Linus Walleije1ac07e2006-12-14 19:38:59 +00001312006-12-14 Linus Walleij <triad@df.lth.se>
132
133 * src/libmtp.c: make get_first_storage_freespace() always query
134 the first storage when the space is requested. And some other
135 janitorial stuff.
136
Linus Walleijb01d18b2006-12-13 12:49:15 +00001372006-12-13 Linus Walleij <triad@df.lth.se>
138
139 * src/libusb-glue.c: one more device.
140 * examples/detect.c: compilation warnings fixed.
141
rreardon3d583062006-12-13 10:10:27 +00001422006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
143
144 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
145 * src/ptp.h: ditto.
146
Linus Walleijcd849362006-12-13 12:37:58 +00001472006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000148
149 * src/libmtp.h.in: revamped storage API.
150 * src/libmtp.c: dito.
151 * examples/detect.c: dito.
152
rreardon73d02c92006-12-12 16:45:30 +00001532006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000154
155 * src/libmtp.c: Send_Representative_Sample() updated to
156 set image height and width, or audio duration and size.
157
Linus Walleijd0f67702006-12-07 09:56:46 +00001582006-12-07 Linus Walleij <triad@df.lth.se>
159
Linus Walleija05b9802006-12-08 08:50:30 +0000160 * src/libmtp.h.in: support firmware object type. (Dangerous.)
161 * src/libmtp.c: dito.
162
1632006-12-07 Linus Walleij <triad@df.lth.se>
164
Linus Walleijd0f67702006-12-07 09:56:46 +0000165 * src/libmtp.c: default text folder detection (used in Samsung
166 Yepp T9) also add a few "My Foo" folder strings, remove the
167 "remaining directories" kludge.
168 * src/libmtp.h.in: default text folder.
169
Linus Walleijf1b02f22006-12-06 09:03:23 +00001702006-12-06 Linus Walleij <triad@df.lth.se>
171
172 * src/libmtp.h.in: extend the respresentative sample API a bit.
173 * src/libmtp.c: dito.
174 * examples/albumart.c: free memory after use.
175 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000176 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000177
Linus Walleijfdef4ae2006-12-05 16:15:51 +00001782006-12-04 Linus Walleij <triad@df.lth.se>
179
180 * src/ptp.c: enable split headers on sending object lists again.
181
1822006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000183
184 * src/libmtp.c: abstract Send_Representative_Sample() so
185 it can send samples for any format that supports it
186 * src/libmtp.h.in: same as above
187 * examples/albumart.c: altered to use new abstract function above
188 * example/thumb.c: sample program to upload thumbnails
189 * example/Makefile.am: add sample thumbnail program
190
Linus Walleijbdfaac22006-12-03 22:32:19 +00001912006-12-03 Linus Walleij <triad@df.lth.se>
192
193 * src/libmtp.c: check space on disk before sending
194 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000195 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
196 into LIBMTP_Send_Representative_Sample().
197 * src/libmtp.c: dito.
198 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000199
Linus Walleijfa3fbe32006-12-02 20:47:32 +00002002006-12-02 Marcus Meissner <meissner@suse.de>
201
202 * examples/Makefile.am: make sure symlinks really end
203 up in the correct dir.
204
Linus Walleij6eab3b32006-11-30 22:58:21 +00002052006-11-30 Linus Walleij <triad@df.lth.se>
206
207 * src/ptp.c: make Matthews patch thread-safe and fix it
208 so it will handle more than one surplus packet.
209 * src/ptp.h: dito.
210
Richard Lowab0d22d2006-11-30 22:17:49 +00002112006-11-30 Richard Low <richard@wentent.com>
212
213 * src/libmtp.c: memset PTPObjectInfo structs to 0
214
Linus Walleij4bf38dd2006-11-30 21:27:29 +00002152006-11-30 Matthew Wilcox <matthew@wil.cx>
216
217 * src/ptp.c: on some devices, surplus packet data is
218 sometimes returned during read, i.e. a header of the
219 next package is typically attacked to the incoming
220 data, as if someone was sending several packets at
221 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000222 * src/libusb-glue.c: revert my own mistakes by making
223 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000224
Linus Walleij9901e222006-11-30 12:28:19 +00002252006-11-30 Linus Walleij <triad@df.lth.se>
226
Linus Walleij2978f1a2006-11-30 14:00:26 +0000227 * configure.ac: this *is* gonna be libmtp 0.1.0!
228 * src/Makefile.am: age interface to 4-0-0 to indicate that
229 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000230 * src/libmtp.h.in: removed external object interface.
231 * src/libmtp.c: dito. Made all object manipulation functions
232 static.
233
Richard Lowc7d48d22006-11-29 18:24:55 +00002342006-11-29 Richard Low <richard@wentnet.com>
235
236 * src/libusb-glue.c: added new devices
237
Linus Walleij7beba572006-11-29 08:56:12 +00002382006-11-29 Linus Walleij <triad@df.lth.se>
239
240 * src/libusb-glue.c: remove some pointless #include <>
241 clutter, call usb_set_configuration() as needed by
242 Windows.
243 * src/libmtp.c: various fixups to enable use of Windows
244 <io.h> include file.
245 * README.windows.txt: added a quick porting guide for
246 MSVC by Farooq Zaman.
247
Linus Walleijcf42f452006-11-28 08:32:49 +00002482006-11-28 Linus Walleij <triad@df.lth.se>
249
250 * src/libmtp.h.in: removed filetype mapping API. We can handle
251 everything inside of libmtp now so no need for this.
252 * src/libmtp.c: dito.
253
Linus Walleij72e9c2b2006-11-28 08:14:00 +00002542006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000255
256 * examples/files.c: unsigned int sized printout.
257 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000258 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000259
Richard Low6c0a6ce2006-11-26 10:42:08 +00002602006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000261
Richard Low6c0a6ce2006-11-26 10:42:08 +0000262 * src/libmtp.c: object handles for proplists
263 * src/ptp-pack.c: ditto
264 * src/ptp.c: ditto
265 * src/ptp.h: ditto
266
Linus Walleijf73de152006-11-25 21:44:44 +00002672006-11-25 Marcus Meissner <marcus@jet.franken.de>
268
269 * examples/hotplug.c: adding HAL style XML output for
270 the devices.
271 * examples/Makefile.am: fixing a bug in the automake
272 file (pathutils.h missing!)
273 * Makefile.am: fix the problem with re-making sources
274 (you had to run ./autogen.sh before!)
275
Linus Walleijfe677ac2006-11-23 13:35:00 +00002762006-11-23 Linus Walleij <triad@df.lth.se>
277
278 * src/libusb-glue.h: add a new bug flag for devices that
279 have broken PTP_OC_MTP_GetObjPropList implementations.
280 * src/libusb-glue.c: state that all iRivers have this problem.
281 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
282 for these devices.
283
2842006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000285
286 * src/libmtp.c: set handle ids for new objects to 0 when
287 creating new albums and playlists.
288
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00002892006-11-21 Linus Walleij <triad@df.lth.se>
290
291 * src/libmtp.c: enabled enhanced mode for metadata retrieval
292 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000293 * src/libmtp.c: fixed the problem with sending files using
294 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000295
Linus Walleij277cd532006-11-20 14:57:46 +00002962006-11-20 Linus Walleij <triad@df.lth.se>
297
298 * src/ptp.h: sync to upstream libgphoto2
299 * src/ptp.c: dito.
300 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000301 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000302
3032006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000304
305 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
306 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000307 * examples/emptyfolders.c: new example program for pruning empty
308 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000309
Linus Walleij277cd532006-11-20 14:57:46 +00003102006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000311
rreardonbbb4e562006-11-19 22:16:11 +0000312 * src/libmtp.c: use enhanced MTP commands to create playlists and
313 send files
rreardon508705f2006-11-19 21:27:22 +0000314 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000315 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000316
Linus Walleijcd849362006-12-13 12:37:58 +00003172006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000318
319 * src/libusb-glue.c: fix error on reconnect.
320
Linus Walleij277cd532006-11-20 14:57:46 +00003212006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000322
323 * src/ptp.c: tidy up ptp_usb_getdata
324
Linus Walleij277cd532006-11-20 14:57:46 +00003252006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000326
327 * src/libmtp.c: fixed parent handle for uploaded tracks
328
Linus Walleij277cd532006-11-20 14:57:46 +00003292006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000330
331 * src/libmtp.c: fixed up album art using enhanced commands.
332
Linus Walleij277cd532006-11-20 14:57:46 +00003332006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000334
335 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
336 * src/ptp.c: ditto
337 * src/ptp.h: ditto
338 * src/ptp-pack.c: ditto
339
Linus Walleij277cd532006-11-20 14:57:46 +00003402006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000341
Linus Walleijccf28ce2006-11-16 16:06:38 +0000342 * src/libmtp.c: use enhanced MTP commands to create albums and
343 add detection of the default album folder.
344 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000345
Linus Walleij277cd532006-11-20 14:57:46 +00003462006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000347
348 * src/ptp-pack.c: set string buffer to correct size.
349
Linus Walleij277cd532006-11-20 14:57:46 +00003502006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000351
352 * examples/tracks.c: really use undeprecated API entry.
353
Linus Walleij277cd532006-11-20 14:57:46 +00003542006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000355
356 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000357 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000358 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000359 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000360 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000361 * examples/connect.c: ditto.
362 * examples/detect.c: ditto.
363 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000364 * src/ptp.c: working on getting object prop lists.
365 * src/ptp.h: dito.
366
Linus Walleij277cd532006-11-20 14:57:46 +00003672006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000368
369 * src/libusb-glue.c: added Zen Vision W to devices
370
Linus Walleij277cd532006-11-20 14:57:46 +00003712006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000372
373 * src/libmtp.c: added checks for supported properties
374
Linus Walleij277cd532006-11-20 14:57:46 +00003752006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000376
377 * src/libmtp.c: added a check for NULL filenames in
378 LIBMTP_Get_Folder_List.
379
Linus Walleij99310d42006-11-01 08:29:39 +00003802006-11-01 Linus Walleij <triad@df.lth.se>
381
382 * src/libmtp.h.in: set/get uint8 to/from objects
383 * src/libmtp.c: send object property list.
384 * src/ptp.c: dito.
385 * src/ptp.h: dito.
386 * src/ptp-pack.c: dito.
387
mopoke90be30e2006-10-30 08:47:41 +00003882006-10-29 Andy Kelk <andy@mopoke.co.uk>
389
390 * examples/albumart.c: simple tool for adding album art.
391 * src/libmtp.c: graceful handling of players not supporting
392 abstract album objects.
393
Linus Walleij0c33ec02006-10-27 10:15:40 +00003942006-10-27 Linus Walleij <triad@df.lth.se>
395
396 * src/Makefile.am: bump library interface to reflect the new
397 album methods.
398 * configure.ac: bump to 0.0.22 for the next release.
399
4002006-10-27 Andy Kelk <andy@mopoke.co.uk>
401
402 * src/libmtp.c: add support form abstract audio/video albums.
403 * src/libmtp.h.in: dito.
404
Linus Walleij7347d0f2006-10-23 07:23:39 +00004052006-10-23 Linus Walleij <triad@df.lth.se>
406
407 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
408 * src/ptp.c: sync to upstream.
409 * src/ptp.h: dito.
410 * src/ptp-pack.c: dito.
411
Linus Walleij9efe75f2006-10-20 09:09:45 +00004122006-10-20 Linus Walleij <triad@df.lth.se>
413
414 * Release 0.0.21 to get all the new device support out.
415
Linus Walleij501ba4d2006-10-16 06:17:04 +00004162006-10-16 Linus Walleij <triad@df.lth.se>
417
418 * configure.ac: bump to 0.0.21.
419 * src/libusb-glue.c: add code to unload a kernel driver for
420 the primary interface if it is already in use under Linux.
421 * src/libusb-glue.h: add a device flag to make this possible.
422
Linus Walleij37253292006-10-11 08:38:14 +00004232006-10-11 Linus Walleij <triad@df.lth.se>
424
425 * examples/delfile.c: patch from Chris Debenham
426 straingtening out the command-line interface a bit
427 more.
428
Linus Walleij43ff8fc2006-10-10 11:16:53 +00004292006-10-10 Linus Walleij <triad@df.lth.se>
430
Linus Walleij37253292006-10-11 08:38:14 +0000431 * examples/delfile.c: patch from Chris Debenham to make
432 this command take an optional filename as parameter
433 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000434
Linus Walleij955e6ba2006-09-26 16:55:10 +00004352006-09-26 Linus Walleij <triad@df.lth.se>
436
437 * libmtp.pc.in: require libusb instead of just linking it.
438 * configure.ac: bump release to 0.0.20 and release.
439
Linus Walleijb1318d12006-09-25 14:59:26 +00004402006-09-25 Linus Walleij <triad@df.lth.se>
441
442 * examples/evolution-sync.sh: example script to illustrate
443 to to transfer calendar, task and contact information
444 to a device supporting this.
445
Linus Walleij4ef39e62006-09-19 14:11:52 +00004462006-09-19 Linus Walleij <triad@df.lth.se>
447
448 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
449 * src/libmtp.c: dito.
450 * examples/sendfile.c: support vcard3.
451
Linus Walleijf248fdd2006-09-16 20:11:40 +00004522006-09-16 Linus Walleij <triad@df.lth.se>
453
454 * configure.ac: bump to 0.0.19 and release. There are some
455 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000456 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000457
Linus Walleijb8bfcb22006-09-13 12:14:28 +00004582006-09-13 Linus Walleij <triad@df.lth.se>
459
460 * examples/format.c: formatting test program.
461 * examples.Makefile.am: added format.
462
Linus Walleij13374a42006-09-13 11:55:30 +00004632006-09-13 Andy Kelk <andy@mopoke.co.uk>
464
465 * src/libmtp.h.in: added interface to format storage.
466 * src/libmtp.c: dito.
467 * src/ptp.c: dito.
468 * src/ptp.h: dito.
469
Linus Walleijd31e6192006-09-12 07:55:27 +00004702006-09-12 Linus Walleij <triad@df.lth.se>
471
472 * configure.ac: bump release. Released 0.0.18 yesterday.
473 * src/libmtp.c: do not try to read battery max level unless
474 the device supports it. (Bug occurred on Toshiba Gigabeat
475 P10.)
476
Linus Walleijd5d51c82006-09-11 06:57:50 +00004772006-09-11 Linus Walleij <triad@df.lth.se>
478
479 * src/libusb-glue.c: messed around a bit with device descriptor
480 detection so as to bring closer to libgphoto2 detection algorithm.
481 I've seen things that might be false positives, possibly USB mass
482 storage devices with additional MSFT descriptors to indicate they
483 have Janus DRM.
484 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
485 knows that UCS-2 is in machine endianness but Darwin and *BSD does
486 not. Detect C library and switch accordingly.
487 * src/unicode.c: retire old unicode code only keep things we cannot
488 live without. Remove the own internal UCS-2 conversion engine and
489 the internal iconv() engine and use the one already available in
490 PTPParams.
491 * src/unicode.h: dito.
492
Linus Walleij0558ac52006-09-07 06:55:03 +00004932006-09-07 Linus Walleij <triad@df.lth.se>
494
495 * src/libusb-glue.h: added device flags so we can make
496 the code behave differently on certain devices.
497 * src/libusb-glue.c: dito, plus removed some debug prints.
498 * src/libmtp.c: docs.
499 * src/libmtp.h.in: added device_flags to device list struct.
500 * src/Makefile.am: bumped to compatible library interface.
501 * configure.ac: bump version to 0.0.18 (0.0.17 released
502 yesterday).
503
Richard Low6ec2cc12006-09-06 16:59:16 +00005042006-09-06 Richard Low <richard@wentnet.com>
505
506 * src/libusb-glue.c: changed packet sizes to improve
507 transfer speeds.
508 * src/libmtp.c: changed packet sizes to improve transfer
509 transfer speeds. Also stopped extra ptp_getobjectinfo
510 calls when getting directories on connect.
511
Linus Walleij7f0c72e2006-09-06 13:01:58 +00005122006-09-06 Linus Walleij <triad@df.lth.se>
513
514 * src/libusb-glue.c: fixed some endpoint size detection
515 and sending special file sizes stuff. Real hairy bug...
516 Also messed around a bit with the callbacks.
517 * src/libmtp.c: changes for callback size detection.
518
Linus Walleija9310fa2006-09-04 06:47:42 +00005192006-09-04 Linus Walleij <triad@df.lth.se>
520
521 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
522 instead of magic values.
523
Linus Walleijd7aa5b22006-09-02 11:52:31 +00005242006-09-02 Linus Walleij <triad@df.lth.se>
525
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000526 * src/libmtp.c: add some code to have
527 LIBMTP_Send_File_From_File_Descriptor() accept a stream
528 if size is set to (uint64_t) -1, plus documentation fixes.
529 I don't think the streaming code will work but whoever want
530 to experiment with it has a place to start.
531 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000532
Linus Walleijda9500d2006-08-30 13:17:06 +00005332006-08-30 Linus Walleij <triad@df.lth.se>
534
535 * configure.ac: version bump.
536 * src/libmtp.c: more debug prints.
537 * src/libusb-glue.c: new iRiver device called Clix. By
538 the way I released libmtp 0.0.16 yesterday.
539
Linus Walleija823a702006-08-27 21:27:46 +00005402006-08-28 Linus Walleij <triad@df.lth.se>
541
542 * configure.ac: version bump.
543 * src/ptp-pack.c: upstream has committed my patch giving full
544 unicode support in libgphoto2 ptp2 camlib. No need for
545 any more ugly workarounds, plus we now have full unicode
546 filenames!
547 * src/ptp.c: dito.
548 * src/ptp.h: dito.
549 * src/libmtp.c: revamp to use the new unicode support in
550 libgphoto2.
551 * src/unicode.c: remove unused functionality.
552 * src/unicode.h: dito.
553
Linus Walleijee73ef22006-08-27 19:56:00 +00005542006-08-27 Linus Walleij <triad@df.lth.se>
555
556 * configure.ac: version bump. Release all these fixes
557 as 0.0.15.
558 * src/libusb-glue.c: fixed sucky errors. Added callback
559 code when reading files.
560 * src/libusb-glue.h: const correctness.
561 * src/libmtp.h.in: finally fixup the type on the callbacks.
562 * src/libmtp.c: more accurate sending callbacks. Callbacks
563 when getting files also, working correctly. Typeing of
564 callbacks now OK.
565 * examples/getfile.c: some display bar cosmetic fixup.
566 * TODO: lots of the things todo are now done.
567
Linus Walleijd214b9b2006-08-26 22:08:37 +00005682006-08-26 Linus Walleij <triad@df.lth.se>
569
570 * configure.ac: version bump.
571 * src/libmtp.c: fix bug and reinstate callbacks.
572 * src/libusb-glue.h: dito.
573 * src/libusb-glue.c: dito.
574
Linus Walleije7f44be2006-08-25 19:32:29 +00005752006-08-25 Linus Walleij <triad@df.lth.se>
576
577 * src/libmtp.c: use the new file descriptor sender function.
578 Going to release this as 0.0.13.
579 * src/ptp.c: upstream accepted patches synced in.
580 * src/ptp.h: dito.
581
Linus Walleijeab650b2006-08-21 23:26:37 +00005822006-08-22 Linus Walleij <triad@df.lth.se>
583
Linus Walleij80d134a2006-08-22 21:41:37 +0000584 * src/libusb-glue.c: found a real nasty endpoint bug,
585 code from libgphoto2 was assuming max packet size of
586 512 bytes while it is 64 when a USB 2.0 device is
587 plugged into an UHCI hub.
588
5892006-08-22 Linus Walleij <triad@df.lth.se>
590
Linus Walleijeab650b2006-08-21 23:26:37 +0000591 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
592
Linus Walleij924236a2006-08-20 22:17:58 +00005932006-08-21 Linus Walleij <triad@df.lth.se>
594
595 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000596 as result of experiments by Gavin McCullagh. Upstream
597 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000598 Move iconv() converters into device struct for thread
599 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000600 * src/ptp.c: sync to upstream which merges patch to get
601 file directly to file descriptor.
602 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000603 * src/unicode.c: move iconv() converters into the device
604 struct for thread safety.
605 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000606
Linus Walleij30658792006-08-19 22:18:55 +00006072006-08-20 Linus Walleij <triad@df.lth.se>
608
609 * src/libmtp.h.in: set friendly name and sync partner,
610 rename ownername to friendlyname.
611 * src/libmtp.c: dito.
612 * examples/detect.c: reflect changes.
613 * src/Makefile.am: interface is incompatible so age it.
614
Linus Walleijfae27482006-08-19 20:13:25 +00006152006-08-19 Linus Walleij <triad@df.lth.se>
616
617 * src/libmtp.h.in: add function to get syncronization
618 partner for the device.
619 * src/libmtp.c: dito.
620 * examples/detect.c: use that function.
621 * src/Makefile.am: backward-compatible interface bump.
622
Linus Walleij16571dc2006-08-17 20:27:46 +00006232006-08-17 Linus Walleij <triad@df.lth.se>
624
625 * configure.ac: bump to 0.0.12 and require iconv.h.
626
6272006-08-16 Linus Walleij <triad@df.lth.se>
628
629 * src/unicode.c: remove bigendian weirdness and switch
630 to using iconv() instead.
631 * src/unicode.h: dito.
632 * src/libmtp.c: reflect changes.
633
Linus Walleij3e188f12006-08-09 20:46:05 +00006342006-08-09 Linus Walleij <triad@df.lth.se>
635
636 * Release libmtp 0.0.11.
637
Linus Walleij2eb884b2006-08-04 19:17:36 +00006382006-08-04 Linus Walleij <triad@df.lth.se>
639
640 * src/libmtp.c: patch from Dan Aloni to make sendfile
641 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000642 * src/libusb-glue.c: patch from Andy Kelk to avoid
643 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000644 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000645
Linus Walleijaa4b0752006-07-26 22:21:04 +00006462006-07-27 Linus Walleij <triad@df.lth.se>
647
648 * Release libmtp 0.0.10.
649
Linus Walleij17b55ea2006-07-26 13:54:00 +00006502006-07-26 Linus Walleij <triad@df.lth.se>
651
652 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000653 * src/libmtp.c: only set metdata properties supported by
654 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000655 * src/ptp.c: sync to upstream.
656 * src/ptp.h: sync to upstream.
657 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000658
Linus Walleijc187cb92006-06-22 17:58:13 +00006592006-06-22 Linus Walleij <triad@df.lth.se>
660
661 * Release libmtp 0.0.9.
662
Linus Walleij8ab54262006-06-21 07:12:28 +00006632006-06-21 Linus Walleij <triad@df.lth.se>
664
665 * src/libmtp.h.in: added function to retrieve supported
666 filetypes.
667 * src/libmtp.c: ditto.
668 * examples/detect.c: use that function.
669
Linus Walleijcf223e62006-06-19 09:31:53 +00006702006-06-19 Linus Walleij <triad@df.lth.se>
671
672 * src/unicode.c: support all endianness, detect
673 byte-order-mark
674 * src/unicode.h: ditto.
675 * src/libmtp.c: ditto.
676 * examples/detect.c: use proper tempfile function.
677 * src/libmtp.h.in: add some more track properties.
678 * src/libmtp.c: ditto.
679 * examples/tracks.c: ditto.
680
Linus Walleij2e4b5f92006-06-16 14:00:49 +00006812006-06-16 Linus Walleij <triad@df.lth.se>
682
683 * src/libmtp.h.in: new interfaces for single metadata post
684 retrieveal.
685 * src/libmtp.c: ditto.
686 * examples/playlists.c: display track info using the new
687 individual track metadata retrieveal method.
688 * examples/getplaylist.c: ditto.
689
Linus Walleij05ccbe72006-06-13 07:46:58 +00006902006-06-13 Linus Walleij <triad@df.lth.se>
691
692 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000693 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000694 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000695 we can find them. Retrieve device secure time and cert
696 out of sheer curiosity.
697 * src/ptp.c: sync to libgphoto2 with my patches.
698 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000699
Linus Walleij438bd7f2006-06-08 11:35:44 +00007002006-06-07 Linus Walleij <triad@df.lth.se>
701
702 * src/libmtp.h.in: new playlist API and refactorings.
703 * src/libmtp.c: ditto, and refactorings.
704 * src/unicode.h: const correctness.
705 * src/unicode.c: ditto.
706 * examples/playlists.c: new example program.
707 * configure.ac: bump to 0.0.9
708 * src/Makefile.am: bump library interface.
709
Linus Walleij52e3ac52006-06-05 10:30:00 +00007102006-06-05 Linus Walleij <triad@df.lth.se>
711
712 * examples/sendtr.c: fixed annoying bug that made this
713 program totally useless.
714 * src/libmtp.c: cosmetics.
715 * configure.ac: bump to 0.0.8.
716
Linus Walleij345a3372006-06-03 20:55:25 +00007172006-06-03 Linus Walleij <triad@df.lth.se>
718
719 * src/libmtp.c: metadata bugs, album name and genre
720 confused. Fixe it and released libmtp 0.0.7.
721
Linus Walleijdc09dc02006-06-01 14:23:41 +00007222006-06-01 Linus Walleij <triad@df.lth.se>
723
724 * Released libmtp 0.0.6.
725
Linus Walleij549ec4d2006-05-31 19:59:52 +00007262006-05-31 Linus Walleij <triad@df.lth.se>
727
728 * src/libmtp.c: fixed mapping for JPEG vs JFIF
729 * src/libmtp.h.in: added proper type for JPEG
730 * examples/sendfile.c: send proper JPEG type
731
Linus Walleijd3fdd972006-05-30 15:51:37 +00007322006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
733
734 * src/libmtp.c: fixed a bug in update metadata due to
735 bad use of return code.
736 * src/libusb-glue.c: fixed a loop exiting problem with
737 good 'ol GOTO.
738
Linus Walleij9b1fcd92006-05-29 08:35:29 +00007392006-05-29 Linus Walleij <triad@df.lth.se>
740
741 * src/libusb-glue.c: one more device.
742 * doc/examples.h: produce correct documentation.
743 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000744 * src/ptp.c: sync to libgphoto2.
745 * src/ptp.h: ditto.
746 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000747 * src/libmtp.c: fixed all filetype API related functions
748 not to use any PTP intrinsic defines at all, made all
749 parameters to functions use the internal libmtp interface
750 enumerations and definitions. Removed LIBMTP_Release():
751 we can live with the memory lost during init. You're not
752 supposed to re-initialize the device. Consequently removed
753 the delete function that cleaned the filetype assoc list.
754 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000755
ravelox088180b2006-05-26 23:55:40 +00007562006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
757
758 * src/libmtp.c: refactored object handling to be more generic
759 * src/libmtp.h.in: ditto
760 * examples/refactortest.c: Added simple example to use refactoring
761 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000762 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
763 for playlist handling
764 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000765
Linus Walleij1fd2d272006-05-08 09:22:01 +00007662006-05-08 Linus Walleij <triad@df.lth.se>
767
768 * src/libmtp.h.in: add simple detection function.
769 * src/libusb-glue.c: implement MTP "OS descriptor" for
770 looking for MTP devices.
771 * examples/detect.c: make it possible to do very
772 rudimentary detection with "detect -p".
773 * configure.ac: bump to 0.0.5.
774
Linus Walleij685137f2006-05-07 18:09:02 +00007752006-05-07 Linus Walleij <triad@df.lth.se>
776
777 * COPYING: since we no longer use any parts of libptp2
778 and only files from libgphoto2, we switch to the GNU
779 Lesser General Public License (GNU LGPL). libptp2 is
780 a derived work from libgphoto2, and so is libmtp, there
781 are no remnants of libptp2 in libmtp anymore.
782
Linus Walleij16c51f02006-05-04 13:20:22 +00007832006-05-04 Linus Walleij <triad@df.lth.se>
784
785 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000786 * src/libmtp.c: respectfully rearranged to use a filetype mapping
787 table.
788 * src/ptp-pack.c: real nasty unicode packing bug.
789 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000790
Linus Walleijd6a49972006-05-02 08:24:54 +00007912006-05-02 Linus Walleij <triad@df.lth.se>
792
793 * src/libmtp.c: general shaping up for release. All track
794 and file sending functions now respects a parent ID to be
795 sent along with files and tracks.
796 * src/libmtp.h.in: dito.
797 * src/libusb-glue.c: dito.
798 * examples/sendfile.c: interface dependency changes.
799 * examples/sendtr.c: dito.
800
Linus Walleijc60275a2006-04-30 10:58:11 +00008012006-04-30 Linus Walleij <triad@df.lth.se>
802
803 * src/ptp.c: sync upstream.
804 * src/ptp.h: dito.
805
Linus Walleij370c68d2006-04-27 14:19:01 +00008062006-04-27 Linus Walleij <triad@df.lth.se>
807
808 * examples/sendfile.c: first file sender program based
809 on API implementation and changes by Chris Allegretta.
810 * examples/Makefile.am: new program, new entry.
811 * src/libmtp.c: reflect this new functionality.
812 * src/libmtp.h.in: dito.
813
Linus Walleijb02a0662006-04-25 08:05:09 +00008142006-04-25 Linus Walleij <triad@df.lth.se>
815
816 * Rebased the sources around libgphoto2 instead.
817 This was a major revision...
818 * src/ptp.c: imported libgphoto2 version verbatim.
819 * src/ptp.h: imported libgphoto2 version, minor patch.
820 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000821 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000822 * src/mtp.c: dropped, since all functions are now in ptp.c
823 * src/mtp-pack.c: dropped, same reason.
824 * src/mtp.h: dropped, same reason.
825 * src/mtp-pack.h: dropped, same reason.
826
Linus Walleije5f3ad42006-04-21 07:44:36 +00008272006-04-21 Linus Walleij <triad@df.lth.se>
828
Linus Walleij902c0b92006-04-21 10:52:48 +0000829 * Released libmtp 0.0.3
830 * Bumped source to 0.0.4
831
8322006-04-21 Linus Walleij <triad@df.lth.se>
833
Linus Walleije5f3ad42006-04-21 07:44:36 +0000834 * src/ptp-pack.c: GCC 4.x compilation patch from
835 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000836 * src/libusb-glue.c: New Samsung device and some
837 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000838 * src/ptp.h: some defines from libgphoto2 to get
839 a bit more compatible.
840 * src/libmtp.c: Added a folder API implementation by
841 Dave "ravelox" Kelly.
842 * src/libmtp.h.in: dito.
843 * examples/folders.c: dito.
844 * examples/newfolder.c: dito.
845 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000846
Linus Walleij6fd2f082006-03-28 07:19:22 +00008472006-03-28 Linus Walleij <triad@df.lth.se>
848
849 * m4/*: updated macros to work with GCC 4.1.0.
850 * examples/hotplug.c: new program to create device
851 ID lists.
852 * libmtp.rules: now an auto-generated file.
853 * libmtp.usermap: now an auto-generated file.
854
Linus Walleijf6bc1782006-03-24 15:12:47 +00008552006-03-24 Linus Walleij <triad@df.lth.se>
856
857 * Beginning a file API, fixed some example program
858 names and such.
859
Linus Walleij6946ac52006-03-21 06:51:22 +00008602006-03-18 Linus Walleij <triad@df.lth.se>
861
862 * Fixed up callback interface to a simpler version,
863 the old one was bloated stuff from libnjb anyway.
864 Bump to 0.0.2.
865
Linus Walleij9b28da32006-03-16 13:47:58 +00008662006-03-16 Linus Walleij <triad@df.lth.se>
867
868 * Fixed the .h file and implementation so you really only
869 need this one .h file to interface the library.
870
Linus Walleij80124062006-03-15 10:26:09 +00008712006-03-15 Linus Walleij <triad@df.lth.se>
872
873 * Added three device information retrieval functions.
874
Linus Walleij15e344f2006-03-06 15:15:00 +00008752006-03-06 Linus Walleij <triad@df.lth.se>
876
877 * Moving some things around to structure the source. More
878 will be needed...
879
Linus Walleij93218602006-02-27 08:53:38 +00008802006-02-27 Linus Walleij <triad@df.lth.se>
881
882 * Release libmtp 0.0.1 so people have something to play with,
883 what the heck. Probably saves someones day.
884
Linus Walleij95698cd2006-02-24 10:40:40 +00008852006-02-24 Linus Walleij <triad@df.lth.se>
886
887 * Deltr example program to delete tracks, plus corresponding
888 interface call.
889
Linus Walleij17e39f72006-02-23 15:54:28 +00008902006-02-23 Linus Walleij <triad@df.lth.se>
891
892 * Fixed up sendtr program and metadata tagging function that is
893 used after sending files.
894
Linus Walleij394bbbe2006-02-22 16:10:53 +00008952006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000896
Linus Walleij394bbbe2006-02-22 16:10:53 +0000897 * Untested gettr.c and sendtr.c programs to get and send tracks
898 created.
899
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00009002006-01-30 Linus Walleij <triad@df.lth.se>
901
902 * Created the initial GNU source directory structure.
903 * Added the most basic files.