blob: ba18382d9c6107f892528f0e5e7f534862707223 [file] [log] [blame]
Richard Lowb89ea942007-01-02 11:47:19 +000012007-01-02 Richard Low <richard@wentnet.com>
2
3 * src/libmtp.c: another try at split headers/packet sizes
4 * src/ptp.c: ditto
5 * src/libusb-glue.c: ditto
6
Linus Walleijc70a6df2007-01-01 22:19:08 +000072007-01-01 Linus Walleij <triad@df.lth.se>
8
9 * src/libmtp.c: move default setting of split headers
10 off to ptp.c open session.
11 * src/ptp.c: dito.
12
Richard Low021421e2007-01-01 18:08:57 +0000132007-01-01 Richard Low <richard@wentnet.com>
14
15 * src/libmtp.c: split headers/packet size fix
16 * src/ptp.c: ditto
17 * src/ptp.h: ditto
18 * src/libusb-glue.c: ditto
19
Linus Walleijfa2d1d12007-01-01 17:08:13 +0000202007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
21
22 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
23 addition of AAVT error codes.
24 * src/ptp.c: changes to reflect modifications done in ptp.h
25
Linus Walleija5ab8c42006-12-31 09:25:36 +0000262006-12-31 Linus Walleij <triad@df.lth.se>
27
28 * configure.ac: bump to 0.1.2.
29 * src/Makefile.am: bump interface revision. (Compatible.)
30 * RELEASE 0.1.2.
31
Linus Walleij02ee8802006-12-30 17:27:58 +0000322006-12-30 Linus Walleij <triad@df.lth.se>
33
34 * examples/pathutils.c: reflect new filetypes.
35 * examples/sendtr.c: dito.
36
Linus Walleij5fb47132006-12-30 15:35:48 +0000372006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
38
39 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
40 codes. added more format object codes flac, m4a, 3gp, aac,
41 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
42 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
43 Added more device property codes.
44 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
45 * src/ptp.c: added changes to reflect new extensions, object
46 codes, device property codes.
47 * src/libmtp.c: modified mp4 to reflect it is a container format
48 not a codec. Added more descriptions in init_filemap(). mp4
49 container format is ambiguous in
50 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
51 mp4 searched in video by default. Added comments about this.
52 Added support for the new format object types.
53 * src/libmtp.h.in: added constants to reflect changes to
54 init_filemap().
55
Richard Lowedd61832006-12-30 12:38:18 +0000562006-12-30 Richard Low <richard@wentnet.com>
57
58 * src/libusb-glue.c: fixed bug in debug printing
59
Richard Lowa6c924c2006-12-29 17:44:28 +0000602006-12-29 Richard Low <richard@wentnet.com>
61
62 * src/libmtp.c: Made abstract list creation to be more
63 WMP like
64 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +000065 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +000066
Linus Walleij784ac3f2006-12-29 10:36:51 +0000672006-12-29 Marcus Meissner <meissner@suse.de>
68
69 * src/ptp.h: API changes for libgphoto2 to use the file
70 retrieveal functions.
71 * src/ptp.c: dito.
72 * src/libusb-glue.c: changes in libmtp reflecting the new
73 API for libgphoto2.
74
Linus Walleij8609af32006-12-28 21:25:17 +0000752006-12-28 Linus Walleij <triad@df.lth.se>
76
Linus Walleije2e21182006-12-28 22:36:59 +000077 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +000078 * src/Makefile.am: bump interface for release, also autotools.
79 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +000080
Linus Walleijd6735f72006-12-19 13:38:29 +0000812006-12-19 Matthew Wilcox <matthew@wil.cx>
82
83 * src/ptp.c: fix a (serious) short file bug.
84
Richard Lowaf20b5d2006-12-17 18:00:59 +0000852006-12-17 Richard Low <richard@wentnet.com>
86
87 * src/libmtp.c: don't bail out on failures when setting
88 metadata.
89
Linus Walleij037a1252006-12-16 20:36:52 +0000902006-12-16 Linus Walleij <triad@df.lth.se>
91
92 * src/ptp.c: sync to upstream.
93 * src/ptp.h: dito.
94 * src/ptp-pack.c: dito.
95
Linus Walleijf8491912006-12-15 10:23:30 +0000962006-12-15 Linus Walleij <triad@df.lth.se>
97
98 * src/libmtp.h.in: make the format function take a storage as
99 parameter. Add comments to device storage.
100 * src/libmtp.c: dito, fix up some code and docs.
101 * examples/format.c: make the format command comply with
102 the new API.
103
Linus Walleije1ac07e2006-12-14 19:38:59 +00001042006-12-14 Linus Walleij <triad@df.lth.se>
105
106 * src/libmtp.c: make get_first_storage_freespace() always query
107 the first storage when the space is requested. And some other
108 janitorial stuff.
109
Linus Walleijb01d18b2006-12-13 12:49:15 +00001102006-12-13 Linus Walleij <triad@df.lth.se>
111
112 * src/libusb-glue.c: one more device.
113 * examples/detect.c: compilation warnings fixed.
114
rreardon3d583062006-12-13 10:10:27 +00001152006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
116
117 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
118 * src/ptp.h: ditto.
119
Linus Walleijcd849362006-12-13 12:37:58 +00001202006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000121
122 * src/libmtp.h.in: revamped storage API.
123 * src/libmtp.c: dito.
124 * examples/detect.c: dito.
125
rreardon73d02c92006-12-12 16:45:30 +00001262006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000127
128 * src/libmtp.c: Send_Representative_Sample() updated to
129 set image height and width, or audio duration and size.
130
Linus Walleijd0f67702006-12-07 09:56:46 +00001312006-12-07 Linus Walleij <triad@df.lth.se>
132
Linus Walleija05b9802006-12-08 08:50:30 +0000133 * src/libmtp.h.in: support firmware object type. (Dangerous.)
134 * src/libmtp.c: dito.
135
1362006-12-07 Linus Walleij <triad@df.lth.se>
137
Linus Walleijd0f67702006-12-07 09:56:46 +0000138 * src/libmtp.c: default text folder detection (used in Samsung
139 Yepp T9) also add a few "My Foo" folder strings, remove the
140 "remaining directories" kludge.
141 * src/libmtp.h.in: default text folder.
142
Linus Walleijf1b02f22006-12-06 09:03:23 +00001432006-12-06 Linus Walleij <triad@df.lth.se>
144
145 * src/libmtp.h.in: extend the respresentative sample API a bit.
146 * src/libmtp.c: dito.
147 * examples/albumart.c: free memory after use.
148 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000149 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000150
Linus Walleijfdef4ae2006-12-05 16:15:51 +00001512006-12-04 Linus Walleij <triad@df.lth.se>
152
153 * src/ptp.c: enable split headers on sending object lists again.
154
1552006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000156
157 * src/libmtp.c: abstract Send_Representative_Sample() so
158 it can send samples for any format that supports it
159 * src/libmtp.h.in: same as above
160 * examples/albumart.c: altered to use new abstract function above
161 * example/thumb.c: sample program to upload thumbnails
162 * example/Makefile.am: add sample thumbnail program
163
Linus Walleijbdfaac22006-12-03 22:32:19 +00001642006-12-03 Linus Walleij <triad@df.lth.se>
165
166 * src/libmtp.c: check space on disk before sending
167 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000168 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
169 into LIBMTP_Send_Representative_Sample().
170 * src/libmtp.c: dito.
171 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000172
Linus Walleijfa3fbe32006-12-02 20:47:32 +00001732006-12-02 Marcus Meissner <meissner@suse.de>
174
175 * examples/Makefile.am: make sure symlinks really end
176 up in the correct dir.
177
Linus Walleij6eab3b32006-11-30 22:58:21 +00001782006-11-30 Linus Walleij <triad@df.lth.se>
179
180 * src/ptp.c: make Matthews patch thread-safe and fix it
181 so it will handle more than one surplus packet.
182 * src/ptp.h: dito.
183
Richard Lowab0d22d2006-11-30 22:17:49 +00001842006-11-30 Richard Low <richard@wentent.com>
185
186 * src/libmtp.c: memset PTPObjectInfo structs to 0
187
Linus Walleij4bf38dd2006-11-30 21:27:29 +00001882006-11-30 Matthew Wilcox <matthew@wil.cx>
189
190 * src/ptp.c: on some devices, surplus packet data is
191 sometimes returned during read, i.e. a header of the
192 next package is typically attacked to the incoming
193 data, as if someone was sending several packets at
194 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000195 * src/libusb-glue.c: revert my own mistakes by making
196 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000197
Linus Walleij9901e222006-11-30 12:28:19 +00001982006-11-30 Linus Walleij <triad@df.lth.se>
199
Linus Walleij2978f1a2006-11-30 14:00:26 +0000200 * configure.ac: this *is* gonna be libmtp 0.1.0!
201 * src/Makefile.am: age interface to 4-0-0 to indicate that
202 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000203 * src/libmtp.h.in: removed external object interface.
204 * src/libmtp.c: dito. Made all object manipulation functions
205 static.
206
Richard Lowc7d48d22006-11-29 18:24:55 +00002072006-11-29 Richard Low <richard@wentnet.com>
208
209 * src/libusb-glue.c: added new devices
210
Linus Walleij7beba572006-11-29 08:56:12 +00002112006-11-29 Linus Walleij <triad@df.lth.se>
212
213 * src/libusb-glue.c: remove some pointless #include <>
214 clutter, call usb_set_configuration() as needed by
215 Windows.
216 * src/libmtp.c: various fixups to enable use of Windows
217 <io.h> include file.
218 * README.windows.txt: added a quick porting guide for
219 MSVC by Farooq Zaman.
220
Linus Walleijcf42f452006-11-28 08:32:49 +00002212006-11-28 Linus Walleij <triad@df.lth.se>
222
223 * src/libmtp.h.in: removed filetype mapping API. We can handle
224 everything inside of libmtp now so no need for this.
225 * src/libmtp.c: dito.
226
Linus Walleij72e9c2b2006-11-28 08:14:00 +00002272006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000228
229 * examples/files.c: unsigned int sized printout.
230 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000231 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000232
Richard Low6c0a6ce2006-11-26 10:42:08 +00002332006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000234
Richard Low6c0a6ce2006-11-26 10:42:08 +0000235 * src/libmtp.c: object handles for proplists
236 * src/ptp-pack.c: ditto
237 * src/ptp.c: ditto
238 * src/ptp.h: ditto
239
Linus Walleijf73de152006-11-25 21:44:44 +00002402006-11-25 Marcus Meissner <marcus@jet.franken.de>
241
242 * examples/hotplug.c: adding HAL style XML output for
243 the devices.
244 * examples/Makefile.am: fixing a bug in the automake
245 file (pathutils.h missing!)
246 * Makefile.am: fix the problem with re-making sources
247 (you had to run ./autogen.sh before!)
248
Linus Walleijfe677ac2006-11-23 13:35:00 +00002492006-11-23 Linus Walleij <triad@df.lth.se>
250
251 * src/libusb-glue.h: add a new bug flag for devices that
252 have broken PTP_OC_MTP_GetObjPropList implementations.
253 * src/libusb-glue.c: state that all iRivers have this problem.
254 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
255 for these devices.
256
2572006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000258
259 * src/libmtp.c: set handle ids for new objects to 0 when
260 creating new albums and playlists.
261
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00002622006-11-21 Linus Walleij <triad@df.lth.se>
263
264 * src/libmtp.c: enabled enhanced mode for metadata retrieval
265 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000266 * src/libmtp.c: fixed the problem with sending files using
267 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000268
Linus Walleij277cd532006-11-20 14:57:46 +00002692006-11-20 Linus Walleij <triad@df.lth.se>
270
271 * src/ptp.h: sync to upstream libgphoto2
272 * src/ptp.c: dito.
273 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000274 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000275
2762006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000277
278 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
279 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000280 * examples/emptyfolders.c: new example program for pruning empty
281 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000282
Linus Walleij277cd532006-11-20 14:57:46 +00002832006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000284
rreardonbbb4e562006-11-19 22:16:11 +0000285 * src/libmtp.c: use enhanced MTP commands to create playlists and
286 send files
rreardon508705f2006-11-19 21:27:22 +0000287 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000288 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000289
Linus Walleijcd849362006-12-13 12:37:58 +00002902006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000291
292 * src/libusb-glue.c: fix error on reconnect.
293
Linus Walleij277cd532006-11-20 14:57:46 +00002942006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000295
296 * src/ptp.c: tidy up ptp_usb_getdata
297
Linus Walleij277cd532006-11-20 14:57:46 +00002982006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000299
300 * src/libmtp.c: fixed parent handle for uploaded tracks
301
Linus Walleij277cd532006-11-20 14:57:46 +00003022006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000303
304 * src/libmtp.c: fixed up album art using enhanced commands.
305
Linus Walleij277cd532006-11-20 14:57:46 +00003062006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000307
308 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
309 * src/ptp.c: ditto
310 * src/ptp.h: ditto
311 * src/ptp-pack.c: ditto
312
Linus Walleij277cd532006-11-20 14:57:46 +00003132006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000314
Linus Walleijccf28ce2006-11-16 16:06:38 +0000315 * src/libmtp.c: use enhanced MTP commands to create albums and
316 add detection of the default album folder.
317 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000318
Linus Walleij277cd532006-11-20 14:57:46 +00003192006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000320
321 * src/ptp-pack.c: set string buffer to correct size.
322
Linus Walleij277cd532006-11-20 14:57:46 +00003232006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000324
325 * examples/tracks.c: really use undeprecated API entry.
326
Linus Walleij277cd532006-11-20 14:57:46 +00003272006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000328
329 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000330 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000331 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000332 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000333 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000334 * examples/connect.c: ditto.
335 * examples/detect.c: ditto.
336 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000337 * src/ptp.c: working on getting object prop lists.
338 * src/ptp.h: dito.
339
Linus Walleij277cd532006-11-20 14:57:46 +00003402006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000341
342 * src/libusb-glue.c: added Zen Vision W to devices
343
Linus Walleij277cd532006-11-20 14:57:46 +00003442006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000345
346 * src/libmtp.c: added checks for supported properties
347
Linus Walleij277cd532006-11-20 14:57:46 +00003482006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000349
350 * src/libmtp.c: added a check for NULL filenames in
351 LIBMTP_Get_Folder_List.
352
Linus Walleij99310d42006-11-01 08:29:39 +00003532006-11-01 Linus Walleij <triad@df.lth.se>
354
355 * src/libmtp.h.in: set/get uint8 to/from objects
356 * src/libmtp.c: send object property list.
357 * src/ptp.c: dito.
358 * src/ptp.h: dito.
359 * src/ptp-pack.c: dito.
360
mopoke90be30e2006-10-30 08:47:41 +00003612006-10-29 Andy Kelk <andy@mopoke.co.uk>
362
363 * examples/albumart.c: simple tool for adding album art.
364 * src/libmtp.c: graceful handling of players not supporting
365 abstract album objects.
366
Linus Walleij0c33ec02006-10-27 10:15:40 +00003672006-10-27 Linus Walleij <triad@df.lth.se>
368
369 * src/Makefile.am: bump library interface to reflect the new
370 album methods.
371 * configure.ac: bump to 0.0.22 for the next release.
372
3732006-10-27 Andy Kelk <andy@mopoke.co.uk>
374
375 * src/libmtp.c: add support form abstract audio/video albums.
376 * src/libmtp.h.in: dito.
377
Linus Walleij7347d0f2006-10-23 07:23:39 +00003782006-10-23 Linus Walleij <triad@df.lth.se>
379
380 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
381 * src/ptp.c: sync to upstream.
382 * src/ptp.h: dito.
383 * src/ptp-pack.c: dito.
384
Linus Walleij9efe75f2006-10-20 09:09:45 +00003852006-10-20 Linus Walleij <triad@df.lth.se>
386
387 * Release 0.0.21 to get all the new device support out.
388
Linus Walleij501ba4d2006-10-16 06:17:04 +00003892006-10-16 Linus Walleij <triad@df.lth.se>
390
391 * configure.ac: bump to 0.0.21.
392 * src/libusb-glue.c: add code to unload a kernel driver for
393 the primary interface if it is already in use under Linux.
394 * src/libusb-glue.h: add a device flag to make this possible.
395
Linus Walleij37253292006-10-11 08:38:14 +00003962006-10-11 Linus Walleij <triad@df.lth.se>
397
398 * examples/delfile.c: patch from Chris Debenham
399 straingtening out the command-line interface a bit
400 more.
401
Linus Walleij43ff8fc2006-10-10 11:16:53 +00004022006-10-10 Linus Walleij <triad@df.lth.se>
403
Linus Walleij37253292006-10-11 08:38:14 +0000404 * examples/delfile.c: patch from Chris Debenham to make
405 this command take an optional filename as parameter
406 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000407
Linus Walleij955e6ba2006-09-26 16:55:10 +00004082006-09-26 Linus Walleij <triad@df.lth.se>
409
410 * libmtp.pc.in: require libusb instead of just linking it.
411 * configure.ac: bump release to 0.0.20 and release.
412
Linus Walleijb1318d12006-09-25 14:59:26 +00004132006-09-25 Linus Walleij <triad@df.lth.se>
414
415 * examples/evolution-sync.sh: example script to illustrate
416 to to transfer calendar, task and contact information
417 to a device supporting this.
418
Linus Walleij4ef39e62006-09-19 14:11:52 +00004192006-09-19 Linus Walleij <triad@df.lth.se>
420
421 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
422 * src/libmtp.c: dito.
423 * examples/sendfile.c: support vcard3.
424
Linus Walleijf248fdd2006-09-16 20:11:40 +00004252006-09-16 Linus Walleij <triad@df.lth.se>
426
427 * configure.ac: bump to 0.0.19 and release. There are some
428 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000429 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000430
Linus Walleijb8bfcb22006-09-13 12:14:28 +00004312006-09-13 Linus Walleij <triad@df.lth.se>
432
433 * examples/format.c: formatting test program.
434 * examples.Makefile.am: added format.
435
Linus Walleij13374a42006-09-13 11:55:30 +00004362006-09-13 Andy Kelk <andy@mopoke.co.uk>
437
438 * src/libmtp.h.in: added interface to format storage.
439 * src/libmtp.c: dito.
440 * src/ptp.c: dito.
441 * src/ptp.h: dito.
442
Linus Walleijd31e6192006-09-12 07:55:27 +00004432006-09-12 Linus Walleij <triad@df.lth.se>
444
445 * configure.ac: bump release. Released 0.0.18 yesterday.
446 * src/libmtp.c: do not try to read battery max level unless
447 the device supports it. (Bug occurred on Toshiba Gigabeat
448 P10.)
449
Linus Walleijd5d51c82006-09-11 06:57:50 +00004502006-09-11 Linus Walleij <triad@df.lth.se>
451
452 * src/libusb-glue.c: messed around a bit with device descriptor
453 detection so as to bring closer to libgphoto2 detection algorithm.
454 I've seen things that might be false positives, possibly USB mass
455 storage devices with additional MSFT descriptors to indicate they
456 have Janus DRM.
457 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
458 knows that UCS-2 is in machine endianness but Darwin and *BSD does
459 not. Detect C library and switch accordingly.
460 * src/unicode.c: retire old unicode code only keep things we cannot
461 live without. Remove the own internal UCS-2 conversion engine and
462 the internal iconv() engine and use the one already available in
463 PTPParams.
464 * src/unicode.h: dito.
465
Linus Walleij0558ac52006-09-07 06:55:03 +00004662006-09-07 Linus Walleij <triad@df.lth.se>
467
468 * src/libusb-glue.h: added device flags so we can make
469 the code behave differently on certain devices.
470 * src/libusb-glue.c: dito, plus removed some debug prints.
471 * src/libmtp.c: docs.
472 * src/libmtp.h.in: added device_flags to device list struct.
473 * src/Makefile.am: bumped to compatible library interface.
474 * configure.ac: bump version to 0.0.18 (0.0.17 released
475 yesterday).
476
Richard Low6ec2cc12006-09-06 16:59:16 +00004772006-09-06 Richard Low <richard@wentnet.com>
478
479 * src/libusb-glue.c: changed packet sizes to improve
480 transfer speeds.
481 * src/libmtp.c: changed packet sizes to improve transfer
482 transfer speeds. Also stopped extra ptp_getobjectinfo
483 calls when getting directories on connect.
484
Linus Walleij7f0c72e2006-09-06 13:01:58 +00004852006-09-06 Linus Walleij <triad@df.lth.se>
486
487 * src/libusb-glue.c: fixed some endpoint size detection
488 and sending special file sizes stuff. Real hairy bug...
489 Also messed around a bit with the callbacks.
490 * src/libmtp.c: changes for callback size detection.
491
Linus Walleija9310fa2006-09-04 06:47:42 +00004922006-09-04 Linus Walleij <triad@df.lth.se>
493
494 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
495 instead of magic values.
496
Linus Walleijd7aa5b22006-09-02 11:52:31 +00004972006-09-02 Linus Walleij <triad@df.lth.se>
498
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000499 * src/libmtp.c: add some code to have
500 LIBMTP_Send_File_From_File_Descriptor() accept a stream
501 if size is set to (uint64_t) -1, plus documentation fixes.
502 I don't think the streaming code will work but whoever want
503 to experiment with it has a place to start.
504 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000505
Linus Walleijda9500d2006-08-30 13:17:06 +00005062006-08-30 Linus Walleij <triad@df.lth.se>
507
508 * configure.ac: version bump.
509 * src/libmtp.c: more debug prints.
510 * src/libusb-glue.c: new iRiver device called Clix. By
511 the way I released libmtp 0.0.16 yesterday.
512
Linus Walleija823a702006-08-27 21:27:46 +00005132006-08-28 Linus Walleij <triad@df.lth.se>
514
515 * configure.ac: version bump.
516 * src/ptp-pack.c: upstream has committed my patch giving full
517 unicode support in libgphoto2 ptp2 camlib. No need for
518 any more ugly workarounds, plus we now have full unicode
519 filenames!
520 * src/ptp.c: dito.
521 * src/ptp.h: dito.
522 * src/libmtp.c: revamp to use the new unicode support in
523 libgphoto2.
524 * src/unicode.c: remove unused functionality.
525 * src/unicode.h: dito.
526
Linus Walleijee73ef22006-08-27 19:56:00 +00005272006-08-27 Linus Walleij <triad@df.lth.se>
528
529 * configure.ac: version bump. Release all these fixes
530 as 0.0.15.
531 * src/libusb-glue.c: fixed sucky errors. Added callback
532 code when reading files.
533 * src/libusb-glue.h: const correctness.
534 * src/libmtp.h.in: finally fixup the type on the callbacks.
535 * src/libmtp.c: more accurate sending callbacks. Callbacks
536 when getting files also, working correctly. Typeing of
537 callbacks now OK.
538 * examples/getfile.c: some display bar cosmetic fixup.
539 * TODO: lots of the things todo are now done.
540
Linus Walleijd214b9b2006-08-26 22:08:37 +00005412006-08-26 Linus Walleij <triad@df.lth.se>
542
543 * configure.ac: version bump.
544 * src/libmtp.c: fix bug and reinstate callbacks.
545 * src/libusb-glue.h: dito.
546 * src/libusb-glue.c: dito.
547
Linus Walleije7f44be2006-08-25 19:32:29 +00005482006-08-25 Linus Walleij <triad@df.lth.se>
549
550 * src/libmtp.c: use the new file descriptor sender function.
551 Going to release this as 0.0.13.
552 * src/ptp.c: upstream accepted patches synced in.
553 * src/ptp.h: dito.
554
Linus Walleijeab650b2006-08-21 23:26:37 +00005552006-08-22 Linus Walleij <triad@df.lth.se>
556
Linus Walleij80d134a2006-08-22 21:41:37 +0000557 * src/libusb-glue.c: found a real nasty endpoint bug,
558 code from libgphoto2 was assuming max packet size of
559 512 bytes while it is 64 when a USB 2.0 device is
560 plugged into an UHCI hub.
561
5622006-08-22 Linus Walleij <triad@df.lth.se>
563
Linus Walleijeab650b2006-08-21 23:26:37 +0000564 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
565
Linus Walleij924236a2006-08-20 22:17:58 +00005662006-08-21 Linus Walleij <triad@df.lth.se>
567
568 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000569 as result of experiments by Gavin McCullagh. Upstream
570 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000571 Move iconv() converters into device struct for thread
572 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000573 * src/ptp.c: sync to upstream which merges patch to get
574 file directly to file descriptor.
575 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000576 * src/unicode.c: move iconv() converters into the device
577 struct for thread safety.
578 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000579
Linus Walleij30658792006-08-19 22:18:55 +00005802006-08-20 Linus Walleij <triad@df.lth.se>
581
582 * src/libmtp.h.in: set friendly name and sync partner,
583 rename ownername to friendlyname.
584 * src/libmtp.c: dito.
585 * examples/detect.c: reflect changes.
586 * src/Makefile.am: interface is incompatible so age it.
587
Linus Walleijfae27482006-08-19 20:13:25 +00005882006-08-19 Linus Walleij <triad@df.lth.se>
589
590 * src/libmtp.h.in: add function to get syncronization
591 partner for the device.
592 * src/libmtp.c: dito.
593 * examples/detect.c: use that function.
594 * src/Makefile.am: backward-compatible interface bump.
595
Linus Walleij16571dc2006-08-17 20:27:46 +00005962006-08-17 Linus Walleij <triad@df.lth.se>
597
598 * configure.ac: bump to 0.0.12 and require iconv.h.
599
6002006-08-16 Linus Walleij <triad@df.lth.se>
601
602 * src/unicode.c: remove bigendian weirdness and switch
603 to using iconv() instead.
604 * src/unicode.h: dito.
605 * src/libmtp.c: reflect changes.
606
Linus Walleij3e188f12006-08-09 20:46:05 +00006072006-08-09 Linus Walleij <triad@df.lth.se>
608
609 * Release libmtp 0.0.11.
610
Linus Walleij2eb884b2006-08-04 19:17:36 +00006112006-08-04 Linus Walleij <triad@df.lth.se>
612
613 * src/libmtp.c: patch from Dan Aloni to make sendfile
614 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000615 * src/libusb-glue.c: patch from Andy Kelk to avoid
616 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000617 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000618
Linus Walleijaa4b0752006-07-26 22:21:04 +00006192006-07-27 Linus Walleij <triad@df.lth.se>
620
621 * Release libmtp 0.0.10.
622
Linus Walleij17b55ea2006-07-26 13:54:00 +00006232006-07-26 Linus Walleij <triad@df.lth.se>
624
625 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000626 * src/libmtp.c: only set metdata properties supported by
627 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000628 * src/ptp.c: sync to upstream.
629 * src/ptp.h: sync to upstream.
630 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000631
Linus Walleijc187cb92006-06-22 17:58:13 +00006322006-06-22 Linus Walleij <triad@df.lth.se>
633
634 * Release libmtp 0.0.9.
635
Linus Walleij8ab54262006-06-21 07:12:28 +00006362006-06-21 Linus Walleij <triad@df.lth.se>
637
638 * src/libmtp.h.in: added function to retrieve supported
639 filetypes.
640 * src/libmtp.c: ditto.
641 * examples/detect.c: use that function.
642
Linus Walleijcf223e62006-06-19 09:31:53 +00006432006-06-19 Linus Walleij <triad@df.lth.se>
644
645 * src/unicode.c: support all endianness, detect
646 byte-order-mark
647 * src/unicode.h: ditto.
648 * src/libmtp.c: ditto.
649 * examples/detect.c: use proper tempfile function.
650 * src/libmtp.h.in: add some more track properties.
651 * src/libmtp.c: ditto.
652 * examples/tracks.c: ditto.
653
Linus Walleij2e4b5f92006-06-16 14:00:49 +00006542006-06-16 Linus Walleij <triad@df.lth.se>
655
656 * src/libmtp.h.in: new interfaces for single metadata post
657 retrieveal.
658 * src/libmtp.c: ditto.
659 * examples/playlists.c: display track info using the new
660 individual track metadata retrieveal method.
661 * examples/getplaylist.c: ditto.
662
Linus Walleij05ccbe72006-06-13 07:46:58 +00006632006-06-13 Linus Walleij <triad@df.lth.se>
664
665 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000666 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000667 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000668 we can find them. Retrieve device secure time and cert
669 out of sheer curiosity.
670 * src/ptp.c: sync to libgphoto2 with my patches.
671 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000672
Linus Walleij438bd7f2006-06-08 11:35:44 +00006732006-06-07 Linus Walleij <triad@df.lth.se>
674
675 * src/libmtp.h.in: new playlist API and refactorings.
676 * src/libmtp.c: ditto, and refactorings.
677 * src/unicode.h: const correctness.
678 * src/unicode.c: ditto.
679 * examples/playlists.c: new example program.
680 * configure.ac: bump to 0.0.9
681 * src/Makefile.am: bump library interface.
682
Linus Walleij52e3ac52006-06-05 10:30:00 +00006832006-06-05 Linus Walleij <triad@df.lth.se>
684
685 * examples/sendtr.c: fixed annoying bug that made this
686 program totally useless.
687 * src/libmtp.c: cosmetics.
688 * configure.ac: bump to 0.0.8.
689
Linus Walleij345a3372006-06-03 20:55:25 +00006902006-06-03 Linus Walleij <triad@df.lth.se>
691
692 * src/libmtp.c: metadata bugs, album name and genre
693 confused. Fixe it and released libmtp 0.0.7.
694
Linus Walleijdc09dc02006-06-01 14:23:41 +00006952006-06-01 Linus Walleij <triad@df.lth.se>
696
697 * Released libmtp 0.0.6.
698
Linus Walleij549ec4d2006-05-31 19:59:52 +00006992006-05-31 Linus Walleij <triad@df.lth.se>
700
701 * src/libmtp.c: fixed mapping for JPEG vs JFIF
702 * src/libmtp.h.in: added proper type for JPEG
703 * examples/sendfile.c: send proper JPEG type
704
Linus Walleijd3fdd972006-05-30 15:51:37 +00007052006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
706
707 * src/libmtp.c: fixed a bug in update metadata due to
708 bad use of return code.
709 * src/libusb-glue.c: fixed a loop exiting problem with
710 good 'ol GOTO.
711
Linus Walleij9b1fcd92006-05-29 08:35:29 +00007122006-05-29 Linus Walleij <triad@df.lth.se>
713
714 * src/libusb-glue.c: one more device.
715 * doc/examples.h: produce correct documentation.
716 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000717 * src/ptp.c: sync to libgphoto2.
718 * src/ptp.h: ditto.
719 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000720 * src/libmtp.c: fixed all filetype API related functions
721 not to use any PTP intrinsic defines at all, made all
722 parameters to functions use the internal libmtp interface
723 enumerations and definitions. Removed LIBMTP_Release():
724 we can live with the memory lost during init. You're not
725 supposed to re-initialize the device. Consequently removed
726 the delete function that cleaned the filetype assoc list.
727 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000728
ravelox088180b2006-05-26 23:55:40 +00007292006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
730
731 * src/libmtp.c: refactored object handling to be more generic
732 * src/libmtp.h.in: ditto
733 * examples/refactortest.c: Added simple example to use refactoring
734 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000735 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
736 for playlist handling
737 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000738
Linus Walleij1fd2d272006-05-08 09:22:01 +00007392006-05-08 Linus Walleij <triad@df.lth.se>
740
741 * src/libmtp.h.in: add simple detection function.
742 * src/libusb-glue.c: implement MTP "OS descriptor" for
743 looking for MTP devices.
744 * examples/detect.c: make it possible to do very
745 rudimentary detection with "detect -p".
746 * configure.ac: bump to 0.0.5.
747
Linus Walleij685137f2006-05-07 18:09:02 +00007482006-05-07 Linus Walleij <triad@df.lth.se>
749
750 * COPYING: since we no longer use any parts of libptp2
751 and only files from libgphoto2, we switch to the GNU
752 Lesser General Public License (GNU LGPL). libptp2 is
753 a derived work from libgphoto2, and so is libmtp, there
754 are no remnants of libptp2 in libmtp anymore.
755
Linus Walleij16c51f02006-05-04 13:20:22 +00007562006-05-04 Linus Walleij <triad@df.lth.se>
757
758 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000759 * src/libmtp.c: respectfully rearranged to use a filetype mapping
760 table.
761 * src/ptp-pack.c: real nasty unicode packing bug.
762 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000763
Linus Walleijd6a49972006-05-02 08:24:54 +00007642006-05-02 Linus Walleij <triad@df.lth.se>
765
766 * src/libmtp.c: general shaping up for release. All track
767 and file sending functions now respects a parent ID to be
768 sent along with files and tracks.
769 * src/libmtp.h.in: dito.
770 * src/libusb-glue.c: dito.
771 * examples/sendfile.c: interface dependency changes.
772 * examples/sendtr.c: dito.
773
Linus Walleijc60275a2006-04-30 10:58:11 +00007742006-04-30 Linus Walleij <triad@df.lth.se>
775
776 * src/ptp.c: sync upstream.
777 * src/ptp.h: dito.
778
Linus Walleij370c68d2006-04-27 14:19:01 +00007792006-04-27 Linus Walleij <triad@df.lth.se>
780
781 * examples/sendfile.c: first file sender program based
782 on API implementation and changes by Chris Allegretta.
783 * examples/Makefile.am: new program, new entry.
784 * src/libmtp.c: reflect this new functionality.
785 * src/libmtp.h.in: dito.
786
Linus Walleijb02a0662006-04-25 08:05:09 +00007872006-04-25 Linus Walleij <triad@df.lth.se>
788
789 * Rebased the sources around libgphoto2 instead.
790 This was a major revision...
791 * src/ptp.c: imported libgphoto2 version verbatim.
792 * src/ptp.h: imported libgphoto2 version, minor patch.
793 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000794 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000795 * src/mtp.c: dropped, since all functions are now in ptp.c
796 * src/mtp-pack.c: dropped, same reason.
797 * src/mtp.h: dropped, same reason.
798 * src/mtp-pack.h: dropped, same reason.
799
Linus Walleije5f3ad42006-04-21 07:44:36 +00008002006-04-21 Linus Walleij <triad@df.lth.se>
801
Linus Walleij902c0b92006-04-21 10:52:48 +0000802 * Released libmtp 0.0.3
803 * Bumped source to 0.0.4
804
8052006-04-21 Linus Walleij <triad@df.lth.se>
806
Linus Walleije5f3ad42006-04-21 07:44:36 +0000807 * src/ptp-pack.c: GCC 4.x compilation patch from
808 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000809 * src/libusb-glue.c: New Samsung device and some
810 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000811 * src/ptp.h: some defines from libgphoto2 to get
812 a bit more compatible.
813 * src/libmtp.c: Added a folder API implementation by
814 Dave "ravelox" Kelly.
815 * src/libmtp.h.in: dito.
816 * examples/folders.c: dito.
817 * examples/newfolder.c: dito.
818 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000819
Linus Walleij6fd2f082006-03-28 07:19:22 +00008202006-03-28 Linus Walleij <triad@df.lth.se>
821
822 * m4/*: updated macros to work with GCC 4.1.0.
823 * examples/hotplug.c: new program to create device
824 ID lists.
825 * libmtp.rules: now an auto-generated file.
826 * libmtp.usermap: now an auto-generated file.
827
Linus Walleijf6bc1782006-03-24 15:12:47 +00008282006-03-24 Linus Walleij <triad@df.lth.se>
829
830 * Beginning a file API, fixed some example program
831 names and such.
832
Linus Walleij6946ac52006-03-21 06:51:22 +00008332006-03-18 Linus Walleij <triad@df.lth.se>
834
835 * Fixed up callback interface to a simpler version,
836 the old one was bloated stuff from libnjb anyway.
837 Bump to 0.0.2.
838
Linus Walleij9b28da32006-03-16 13:47:58 +00008392006-03-16 Linus Walleij <triad@df.lth.se>
840
841 * Fixed the .h file and implementation so you really only
842 need this one .h file to interface the library.
843
Linus Walleij80124062006-03-15 10:26:09 +00008442006-03-15 Linus Walleij <triad@df.lth.se>
845
846 * Added three device information retrieval functions.
847
Linus Walleij15e344f2006-03-06 15:15:00 +00008482006-03-06 Linus Walleij <triad@df.lth.se>
849
850 * Moving some things around to structure the source. More
851 will be needed...
852
Linus Walleij93218602006-02-27 08:53:38 +00008532006-02-27 Linus Walleij <triad@df.lth.se>
854
855 * Release libmtp 0.0.1 so people have something to play with,
856 what the heck. Probably saves someones day.
857
Linus Walleij95698cd2006-02-24 10:40:40 +00008582006-02-24 Linus Walleij <triad@df.lth.se>
859
860 * Deltr example program to delete tracks, plus corresponding
861 interface call.
862
Linus Walleij17e39f72006-02-23 15:54:28 +00008632006-02-23 Linus Walleij <triad@df.lth.se>
864
865 * Fixed up sendtr program and metadata tagging function that is
866 used after sending files.
867
Linus Walleij394bbbe2006-02-22 16:10:53 +00008682006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000869
Linus Walleij394bbbe2006-02-22 16:10:53 +0000870 * Untested gettr.c and sendtr.c programs to get and send tracks
871 created.
872
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00008732006-01-30 Linus Walleij <triad@df.lth.se>
874
875 * Created the initial GNU source directory structure.
876 * Added the most basic files.