blob: fb6e947c21bd25656fd5fbf4130fcc93e5d4905f [file] [log] [blame]
rreardon34511b12007-02-15 14:27:56 +000012006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
2
3 * src/libmtp.c: Fix a segfault in new error handling code.
4
Linus Walleij68b19c02007-02-15 11:50:37 +000052007-02-15 Linus Walleij <triad@df.lth.se>
6
7 * src/libmtp.c: Adding some sanity checks to error stack code.
Linus Walleij3d78c4c2007-02-15 12:18:12 +00008 * examples/newplaylist.c: LGPL boilerplate, crediting Robert.
9 * examples/playlists.c: LGPL boilerplate.
10 * examples/sendfile.c: LGPL boilerplate, crediting me and Chris.
11 * examples/sendtr.c: LGPL boilerplate, crediting me, Chris,
12 Shaun, Enrique.
13 * examples/thumb.c: LGPL boilerplate, crediting Robert.
14 * examples/tracks.c: LGPL boilerplate.
15 * examples/trexist.c: LGPL boilerplate, crediting noone.
Linus Walleij68b19c02007-02-15 11:50:37 +000016
tedbullock69a445b2007-02-15 07:41:04 +0000172007-02-15 Ted Bullock <tbullock@canada.com>
18
19 * examples/folders.c: Updated to use new multi device code
20 * src/libmtp.c: Fixed potential memory leaks
Linus Walleij57c2eff2007-02-15 12:02:04 +000021 * src/libusb-glue.c: Fixed potential memory leaks and fixed device
22 release segfault for multiple devices
tedbullock69a445b2007-02-15 07:41:04 +000023
tedbullock0f033cb2007-02-14 20:56:54 +0000242007-02-14 Ted Bullock <tbullock@canada.com>
25
Linus Walleij57c2eff2007-02-15 12:02:04 +000026 * src/libusb-glue.c: Wrote three new recursive functions to avoid
27 extreme levels of multiple indirection and to clean the code up
28 a bit for multiple devices.
29 * examples/detect.c: Adjusted function calls to use new multiple
30 device code.
tedbullock0f033cb2007-02-14 20:56:54 +000031 * src/libmtp.h.in: Added prototype for LIBMTP_Release_Device_List
32
Linus Walleij2d3f7b82007-02-14 09:24:20 +0000332007-02-12 Ted Bullock <tbullock@canada.com>
34
35 * src/libmtp.c: Two new functions (create_usb_mtp_devices and
Linus Walleij57c2eff2007-02-15 12:02:04 +000036 LIBMTP_Get_Connected_Devices) to add support for multiple devices
37 to client applications
Linus Walleij2d3f7b82007-02-14 09:24:20 +000038 * src/libmtp.h: Added LIBMTP_Get_Connected_Devices as a publicly
Linus Walleij57c2eff2007-02-15 12:02:04 +000039 accessible function
Linus Walleij2d3f7b82007-02-14 09:24:20 +000040 *libusb-glue.c: Renamed connect_mtp_devices to find_usb_devices
41 *libusb-glue.h: Renamed connect_mtp_devices to find_usb_devices
42
Linus Walleij2a1e3a42007-02-12 08:18:31 +0000432007-02-09 Ted Bullock <tbullock@canada.com>
44
45 * src/libusb-glue.c: Addressed a number of potential memory leaks in
Linus Walleij57c2eff2007-02-15 12:02:04 +000046 the new multiple device code
Linus Walleij2a1e3a42007-02-12 08:18:31 +000047
Linus Walleij7b7a0e22007-02-05 18:22:27 +0000482007-02-05 Linus Walleij <triad@df.lth.se>
49
50 * src/libmtp.h.in: LGPL boilerplate.
51 * src/libusb-glue.h: LGPL boilerplate.
52 * src/unicode.h: LGPL boilerplate.
53 * src/util.h: LGPL boilerplate.
Linus Walleij543badf2007-02-05 19:07:38 +000054 * examples/albumart.c: LGPL boilerplate, crediting Andy.
55 * examples/pathutils.h: LGPL boilerplate, crediting Chris.
56 * examples/pathutils.c: LGPL boilerplate, crediting me and Chris.
57 * examples/common.h: LGPL boilerplate.
58 * examples/albums.c: LGPL boilerplate, crediting Chris.
59 * examples/connect.c: LGPL boilerplate, crediting Chris.
60 * examples/delfile.c: LGPL boilerplate, crediting me and Chris.
61 * examples/detect.c: LGPL boilerplate.
62 * examples/emptyfolders.c: LGPL boilerplate, crediting Andy.
63 * examples/files.c: LGPL boilerplate.
64 * examples/folders.c: LGPL boilerplate.
65 * examples/format.c: LGPL boilerplate.
66 * examples/getfile.c: LGPL boilerplate, crediting me and Chris.
67 * examples/getplaylist.c: LGPL boilerplate.
68 * examples/hotplug.c: LGPL boilerplate, crediting me and Marcus.
69 * examples/newfolder.c: LGPL boilerplate, crediting me and Chris.
Linus Walleij7b7a0e22007-02-05 18:22:27 +000070
Linus Walleija8a19cc2007-02-02 22:13:17 +0000712007-02-02 Linus Walleij <triad@df.lth.se>
72
73 * src/ptp.c: sync upstream.
74 * src/ptp.h: dito.
75 * src/ptp-pack.c: dito.
76 * src/libmtp.c: make changes necessary to handle
77 the new iconv(3) code in ptp-pack.c. People will have to
Linus Walleij073c4172007-02-02 22:26:33 +000078 use recent stdlibc, glibc or libiconv. Also call new memory
Linus Walleij2f45d222007-02-02 22:47:39 +000079 clean-up functions. Fix LGPL boilerplate text.
80 * src/unicode.c: Fix LGPL boilerplate text.
81 * src/utils.c: Fix LGPL boilerplate text.
82 * src/libusb-glue.c: Fix LGPL boilerplate text.
Linus Walleija8a19cc2007-02-02 22:13:17 +000083
Linus Walleij550d6d52007-01-24 14:32:51 +0000842007-01-24 Ted Bullock <tbullock@canada.com>
85
86 * src/libusb-glue.c: new function to retrieve multiple device
87 instances.
88 * src/libusb-glue.h: dito.
89 * src/libmtp.h.in: new error codes.
90
Linus Walleij070e9b42007-01-22 08:49:28 +0000912007-01-22 Linus Walleij <triad@df.lth.se>
92
93 * examples/albumart.c: use the new errostack.
94 * examples/delfile.c: dito.
95 * examples/detect.c: dito.
96 * examples/emptyfolders.c: dito.
97 * examples/format.c: dito.
98 * examples/getfile.c: dito.
99 * examples/getplaylist.c: dito.
100 * examples/newfolder.c: dito.
101 * examples/newplaylist.c: dito.
102 * examples/playlists.c: dito.
103 * examples/sendfile.c: dito.
104 * examples/sendtr.c: dito.
105 * examples/thumb.c: dito.
106 * src/libmtp.c: add some errors to the stack so we can
107 see how it's to be used. (Just a first try...)
Linus Walleij552ba322007-01-22 11:49:59 +0000108 * src/libusb-glue.c: move the LIBMTP_Get_Supported_Devices()
109 function into this file cause it only return USB devices
110 anyway and could be renamed LIBMTP_Get_Supported_USB_Devices()
111 (but let's not do that renaming since it would break the API).
112 For now let's understand this is a USB-only function by
113 simply putting it in the libusb-glue.c file.
Linus Walleij070e9b42007-01-22 08:49:28 +0000114
1152007-01-22 Ted Bullock <tbullock@canada.com>
116
117 * src/libusb-glue.c: first hack at creating an interface
118 to retrieve multiple devices.
119 * src/libmtp.h.in: new error codes related to multiple devices.
120
Richard Low7059ed42007-01-21 09:33:34 +00001212007-01-21 Richard Low <richard@wentnet.com>
122
123 * src/libusb-glue.c: more new devices
124
Linus Walleij2715c442007-01-20 22:35:29 +00001252007-01-20 Linus Walleij <triad@df.lth.se>
126
127 * src/libmtp.h.in: error stack handling like in libnjb.
128 just bare bones implementation as of now but the idea
129 should be clearly visible. TODO: add a plethora of
130 errors and adjust examples to make use of the error
131 stack.
132 * src/libmtp.c: dito.
133
Richard Lowa98d0542007-01-20 12:31:07 +00001342007-01-20 Richard Low <richard@wentnet.com>
135
136 * src/libusb-glue.c: new device 'Philips PSA235'
137
Linus Walleij85a4c032007-01-16 20:42:18 +00001382007-01-16 Linus Walleij <triad@df.lth.se>
139
140 * configure.ac: bump and release 0.1.3.
141 * src/Makefile.am: bump interface REVISION. Nothing changed
142 externally really.
143
Linus Walleijd85d2bb2007-01-11 21:32:48 +00001442007-01-11 Linus Walleij <triad@df.lth.se>
145
146 * src/libmtp.sym: updated symbol table for mingw32 but does
147 anyone use this? Also I believe one could auto-generate
148 this some way, just haven't figured out how... Perhaps with
149 a funky script that massage libmtp.h if nothing else.
150
Richard Low4df32f82007-01-11 20:04:39 +00001512007-01-11 Richard Low <richard@wentnet.com>
152
153 * src/libusb-glue.c: a zero read fix
154 * src/libmtp.c: fix spelling mistake
155
Linus Walleijc49c6372007-01-09 00:18:51 +00001562007-01-09 Linus Walleij <triad@df.lth.se>
157
158 * src/libusb-glue.c: repair callbacks, structure the code just
159 a little bit.
160 * src/libmtp.c: don't assign values to writes or reads, use the
161 PTP transport intrinsics instead.
162
Linus Walleij15af8532007-01-07 12:45:20 +00001632007-01-07 Orson Teodoro <orsonteodoro@yahoo.com>
164
165 * src/ptp.h: Encoding profile.
166 * src/ptp.c: Dito.
167
Linus Walleij58b62792007-01-07 12:38:59 +00001682006-01-07 Linus Walleij <triad@df.lth.se>
169
170 * src/libusb-glue.c: (re)introduce de-halting of endpoints
171 as this is needed by VMWare emulation. Must check whether
Linus Walleijb97379b2007-01-07 12:42:20 +0000172 this causes problems for other archs! Problem was reported
173 by Orson Teodoro under i686 Gentoo, with a suggested patch.
Linus Walleij58b62792007-01-07 12:38:59 +0000174
Linus Walleija0323272007-01-07 12:21:30 +00001752006-01-07 Marcus Meissner <meissner@suse.de>
176
177 * src/ptp.c: sync to upstream libgphoto2.
178 * src/ptp.h: dito.
179 * src/ptp-pack.c: dito.
180 * libusb-glue.c: fixes to move low-level functions
181 out of ptp.c and into this libmtp-specific portion.
182 libgphoto2 has been similarly altered to use a usb.c
183 file for the low-level stuff. (This was a long needed
184 split anyway.)
185
Linus Walleij58b62792007-01-07 12:38:59 +00001862007-01-03 Richard Low <richard@wentnet.com>
Richard Low68f45882007-01-03 10:08:31 +0000187
188 * src/libusb-glue.c: fix zero write bug
Richard Lowef05b892007-01-03 21:18:56 +0000189 * src/ptp.c: ditto
Richard Low68f45882007-01-03 10:08:31 +0000190
Linus Walleij99ed83c2007-01-02 18:46:02 +00001912007-01-02 Linus Walleij <triad@df.lth.se>
192
193 * src/libusb-glue.c: fix up comments, remove things
194 refering to stuff we don't have.
195
Richard Lowb89ea942007-01-02 11:47:19 +00001962007-01-02 Richard Low <richard@wentnet.com>
197
198 * src/libmtp.c: another try at split headers/packet sizes
199 * src/ptp.c: ditto
200 * src/libusb-glue.c: ditto
201
Linus Walleijc70a6df2007-01-01 22:19:08 +00002022007-01-01 Linus Walleij <triad@df.lth.se>
203
204 * src/libmtp.c: move default setting of split headers
205 off to ptp.c open session.
206 * src/ptp.c: dito.
207
Richard Low021421e2007-01-01 18:08:57 +00002082007-01-01 Richard Low <richard@wentnet.com>
209
210 * src/libmtp.c: split headers/packet size fix
211 * src/ptp.c: ditto
212 * src/ptp.h: ditto
213 * src/libusb-glue.c: ditto
214
Linus Walleijfa2d1d12007-01-01 17:08:13 +00002152007-01-01 Orson Teodoro <orsonteodoro@yahoo.com>
216
217 * src/ptp.h: changed some WMDRMND def codes to AAVT def codes.
218 addition of AAVT error codes.
219 * src/ptp.c: changes to reflect modifications done in ptp.h
220
Linus Walleija5ab8c42006-12-31 09:25:36 +00002212006-12-31 Linus Walleij <triad@df.lth.se>
222
223 * configure.ac: bump to 0.1.2.
224 * src/Makefile.am: bump interface revision. (Compatible.)
225 * RELEASE 0.1.2.
226
Linus Walleij02ee8802006-12-30 17:27:58 +00002272006-12-30 Linus Walleij <triad@df.lth.se>
228
229 * examples/pathutils.c: reflect new filetypes.
230 * examples/sendtr.c: dito.
231
Linus Walleij5fb47132006-12-30 15:35:48 +00002322006-12-30 Orson Teodoro <orsonteodoro@yahoo.com>
233
234 * src/ptp.h: added WMDRMPD, WMDRMND, WMPPD, WPDWCN extension
235 codes. added more format object codes flac, m4a, 3gp, aac,
236 xml, xls, ppt, etc. 0x9101-0x910B identfiers are infixed
237 with WMDRMPD. Added more object properties codes (0xDCD3-0xDD72).
238 Added more device property codes.
239 Changed PTP_OFC_MTP_WindowsImageFormat to 0xb881 reflect spec.
240 * src/ptp.c: added changes to reflect new extensions, object
241 codes, device property codes.
242 * src/libmtp.c: modified mp4 to reflect it is a container format
243 not a codec. Added more descriptions in init_filemap(). mp4
244 container format is ambiguous in
245 LIBMTP_Send_File_From_File_Descriptor(). Audio? video? both?.
246 mp4 searched in video by default. Added comments about this.
247 Added support for the new format object types.
248 * src/libmtp.h.in: added constants to reflect changes to
249 init_filemap().
250
Richard Lowedd61832006-12-30 12:38:18 +00002512006-12-30 Richard Low <richard@wentnet.com>
252
253 * src/libusb-glue.c: fixed bug in debug printing
254
Richard Lowa6c924c2006-12-29 17:44:28 +00002552006-12-29 Richard Low <richard@wentnet.com>
256
257 * src/libmtp.c: Made abstract list creation to be more
258 WMP like
259 * src/libusb-glue.c: added Philips GoGear SA9200
Richard Lowa679b1c2006-12-29 20:08:14 +0000260 * src/ptp-pack.c: fixed packing bug in ptp_pack_OI
Richard Lowa6c924c2006-12-29 17:44:28 +0000261
Linus Walleij784ac3f2006-12-29 10:36:51 +00002622006-12-29 Marcus Meissner <meissner@suse.de>
263
264 * src/ptp.h: API changes for libgphoto2 to use the file
265 retrieveal functions.
266 * src/ptp.c: dito.
267 * src/libusb-glue.c: changes in libmtp reflecting the new
268 API for libgphoto2.
269
Linus Walleij8609af32006-12-28 21:25:17 +00002702006-12-28 Linus Walleij <triad@df.lth.se>
271
Linus Walleije2e21182006-12-28 22:36:59 +0000272 * configure.ac: making older autotools happy. Bump to 0.1.1.
Linus Walleij3a3d24d2006-12-28 22:35:58 +0000273 * src/Makefile.am: bump interface for release, also autotools.
274 * RELEASE libmtp 0.1.1.
Linus Walleij8609af32006-12-28 21:25:17 +0000275
Linus Walleijd6735f72006-12-19 13:38:29 +00002762006-12-19 Matthew Wilcox <matthew@wil.cx>
277
278 * src/ptp.c: fix a (serious) short file bug.
279
Richard Lowaf20b5d2006-12-17 18:00:59 +00002802006-12-17 Richard Low <richard@wentnet.com>
281
282 * src/libmtp.c: don't bail out on failures when setting
283 metadata.
284
Linus Walleij037a1252006-12-16 20:36:52 +00002852006-12-16 Linus Walleij <triad@df.lth.se>
286
287 * src/ptp.c: sync to upstream.
288 * src/ptp.h: dito.
289 * src/ptp-pack.c: dito.
290
Linus Walleijf8491912006-12-15 10:23:30 +00002912006-12-15 Linus Walleij <triad@df.lth.se>
292
293 * src/libmtp.h.in: make the format function take a storage as
294 parameter. Add comments to device storage.
295 * src/libmtp.c: dito, fix up some code and docs.
296 * examples/format.c: make the format command comply with
297 the new API.
298
Linus Walleije1ac07e2006-12-14 19:38:59 +00002992006-12-14 Linus Walleij <triad@df.lth.se>
300
301 * src/libmtp.c: make get_first_storage_freespace() always query
302 the first storage when the space is requested. And some other
303 janitorial stuff.
304
Linus Walleijb01d18b2006-12-13 12:49:15 +00003052006-12-13 Linus Walleij <triad@df.lth.se>
306
307 * src/libusb-glue.c: one more device.
308 * examples/detect.c: compilation warnings fixed.
309
rreardon3d583062006-12-13 10:10:27 +00003102006-12-13 Robert Reardon <rreardon@monkshatch.vispa.com>
311
312 * src/ptp.c: add 0xD901 flag as BuyNow property of objects.
313 * src/ptp.h: ditto.
314
Linus Walleijcd849362006-12-13 12:37:58 +00003152006-12-12 Daniel Williams <danielw@iinet.net.au>
Linus Walleij9e1b0812006-12-12 19:22:02 +0000316
317 * src/libmtp.h.in: revamped storage API.
318 * src/libmtp.c: dito.
319 * examples/detect.c: dito.
320
rreardon73d02c92006-12-12 16:45:30 +00003212006-12-12 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond2ddb632006-12-12 12:13:21 +0000322
323 * src/libmtp.c: Send_Representative_Sample() updated to
324 set image height and width, or audio duration and size.
325
Linus Walleijd0f67702006-12-07 09:56:46 +00003262006-12-07 Linus Walleij <triad@df.lth.se>
327
Linus Walleija05b9802006-12-08 08:50:30 +0000328 * src/libmtp.h.in: support firmware object type. (Dangerous.)
329 * src/libmtp.c: dito.
330
3312006-12-07 Linus Walleij <triad@df.lth.se>
332
Linus Walleijd0f67702006-12-07 09:56:46 +0000333 * src/libmtp.c: default text folder detection (used in Samsung
334 Yepp T9) also add a few "My Foo" folder strings, remove the
335 "remaining directories" kludge.
336 * src/libmtp.h.in: default text folder.
337
Linus Walleijf1b02f22006-12-06 09:03:23 +00003382006-12-06 Linus Walleij <triad@df.lth.se>
339
340 * src/libmtp.h.in: extend the respresentative sample API a bit.
341 * src/libmtp.c: dito.
342 * examples/albumart.c: free memory after use.
343 * examples/thumb.c: dito.
Linus Walleij8a08c212006-12-06 20:12:30 +0000344 * RELEASE this as libmtp 0.1.0!
Linus Walleijf1b02f22006-12-06 09:03:23 +0000345
Linus Walleijfdef4ae2006-12-05 16:15:51 +00003462006-12-04 Linus Walleij <triad@df.lth.se>
347
348 * src/ptp.c: enable split headers on sending object lists again.
349
3502006-12-04 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardond11473f2006-12-05 10:18:46 +0000351
352 * src/libmtp.c: abstract Send_Representative_Sample() so
353 it can send samples for any format that supports it
354 * src/libmtp.h.in: same as above
355 * examples/albumart.c: altered to use new abstract function above
356 * example/thumb.c: sample program to upload thumbnails
357 * example/Makefile.am: add sample thumbnail program
358
Linus Walleijbdfaac22006-12-03 22:32:19 +00003592006-12-03 Linus Walleij <triad@df.lth.se>
360
361 * src/libmtp.c: check space on disk before sending
362 tracks or files.
Linus Walleij7e3f2762006-12-03 22:52:05 +0000363 * src/libmtp.h.in: refactor LIBMTP_Send_Album_Art()
364 into LIBMTP_Send_Representative_Sample().
365 * src/libmtp.c: dito.
366 * examples/albumart.c: dito.
Linus Walleijbdfaac22006-12-03 22:32:19 +0000367
Linus Walleijfa3fbe32006-12-02 20:47:32 +00003682006-12-02 Marcus Meissner <meissner@suse.de>
369
370 * examples/Makefile.am: make sure symlinks really end
371 up in the correct dir.
372
Linus Walleij6eab3b32006-11-30 22:58:21 +00003732006-11-30 Linus Walleij <triad@df.lth.se>
374
375 * src/ptp.c: make Matthews patch thread-safe and fix it
376 so it will handle more than one surplus packet.
377 * src/ptp.h: dito.
378
Richard Lowab0d22d2006-11-30 22:17:49 +00003792006-11-30 Richard Low <richard@wentent.com>
380
381 * src/libmtp.c: memset PTPObjectInfo structs to 0
382
Linus Walleij4bf38dd2006-11-30 21:27:29 +00003832006-11-30 Matthew Wilcox <matthew@wil.cx>
384
385 * src/ptp.c: on some devices, surplus packet data is
386 sometimes returned during read, i.e. a header of the
387 next package is typically attacked to the incoming
388 data, as if someone was sending several packets at
389 once. If this happens we buffer the surplus packet.
Linus Walleijef1e6352006-11-30 22:07:16 +0000390 * src/libusb-glue.c: revert my own mistakes by making
391 them Windows-only.
Linus Walleij4bf38dd2006-11-30 21:27:29 +0000392
Linus Walleij9901e222006-11-30 12:28:19 +00003932006-11-30 Linus Walleij <triad@df.lth.se>
394
Linus Walleij2978f1a2006-11-30 14:00:26 +0000395 * configure.ac: this *is* gonna be libmtp 0.1.0!
396 * src/Makefile.am: age interface to 4-0-0 to indicate that
397 intefaces have been removed.
Linus Walleij9901e222006-11-30 12:28:19 +0000398 * src/libmtp.h.in: removed external object interface.
399 * src/libmtp.c: dito. Made all object manipulation functions
400 static.
401
Richard Lowc7d48d22006-11-29 18:24:55 +00004022006-11-29 Richard Low <richard@wentnet.com>
403
404 * src/libusb-glue.c: added new devices
405
Linus Walleij7beba572006-11-29 08:56:12 +00004062006-11-29 Linus Walleij <triad@df.lth.se>
407
408 * src/libusb-glue.c: remove some pointless #include <>
409 clutter, call usb_set_configuration() as needed by
410 Windows.
411 * src/libmtp.c: various fixups to enable use of Windows
412 <io.h> include file.
413 * README.windows.txt: added a quick porting guide for
414 MSVC by Farooq Zaman.
415
Linus Walleijcf42f452006-11-28 08:32:49 +00004162006-11-28 Linus Walleij <triad@df.lth.se>
417
418 * src/libmtp.h.in: removed filetype mapping API. We can handle
419 everything inside of libmtp now so no need for this.
420 * src/libmtp.c: dito.
421
Linus Walleij72e9c2b2006-11-28 08:14:00 +00004222006-11-27 Linus Walleij <triad@df.lth.se>
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000423
424 * examples/files.c: unsigned int sized printout.
425 * examples/tracks.c: sort of the same.
Linus Walleij72e9c2b2006-11-28 08:14:00 +0000426 * Makefile.am: HAL style map output by default.
Linus Walleij64ad9ae2006-11-27 11:23:26 +0000427
Richard Low6c0a6ce2006-11-26 10:42:08 +00004282006-11-26 Richard Low <richard@wentnet.com>
Linus Walleijb7426d12006-11-25 23:19:11 +0000429
Richard Low6c0a6ce2006-11-26 10:42:08 +0000430 * src/libmtp.c: object handles for proplists
431 * src/ptp-pack.c: ditto
432 * src/ptp.c: ditto
433 * src/ptp.h: ditto
434
Linus Walleijf73de152006-11-25 21:44:44 +00004352006-11-25 Marcus Meissner <marcus@jet.franken.de>
436
437 * examples/hotplug.c: adding HAL style XML output for
438 the devices.
439 * examples/Makefile.am: fixing a bug in the automake
440 file (pathutils.h missing!)
441 * Makefile.am: fix the problem with re-making sources
442 (you had to run ./autogen.sh before!)
443
Linus Walleijfe677ac2006-11-23 13:35:00 +00004442006-11-23 Linus Walleij <triad@df.lth.se>
445
446 * src/libusb-glue.h: add a new bug flag for devices that
447 have broken PTP_OC_MTP_GetObjPropList implementations.
448 * src/libusb-glue.c: state that all iRivers have this problem.
449 * src/libmtp.c: disable the user of ptp_mtp_getobjectproplist()
450 for these devices.
451
4522006-11-21 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardonbddc0f82006-11-21 13:44:42 +0000453
454 * src/libmtp.c: set handle ids for new objects to 0 when
455 creating new albums and playlists.
456
Linus Walleij2f5ed5c2006-11-21 07:40:29 +00004572006-11-21 Linus Walleij <triad@df.lth.se>
458
459 * src/libmtp.c: enabled enhanced mode for metadata retrieval
460 by default.
Linus Walleij9be685b2006-11-21 09:44:53 +0000461 * src/libmtp.c: fixed the problem with sending files using
462 enhanced commands.
Linus Walleij2f5ed5c2006-11-21 07:40:29 +0000463
Linus Walleij277cd532006-11-20 14:57:46 +00004642006-11-20 Linus Walleij <triad@df.lth.se>
465
466 * src/ptp.h: sync to upstream libgphoto2
467 * src/ptp.c: dito.
468 * src/ptp-pack.c: dito.
Linus Walleij8ae78bb2006-11-20 21:45:52 +0000469 * src/libmtp.c: check for zerolength files/tracks.
Linus Walleij277cd532006-11-20 14:57:46 +0000470
4712006-11-20 Andy Kelk <andy@mopoke.co.uk>
mopoke31364442006-11-20 04:53:04 +0000472
473 * src/libmtp.h.in: add "parent_id" property to LIBMTP_track_struct.
474 * src/libmtp.c: get "parent_id" property when reading tracks.
mopoke33744bb2006-11-20 04:55:32 +0000475 * examples/emptyfolders.c: new example program for pruning empty
476 folders. (does a dummy run by default).
mopoke31364442006-11-20 04:53:04 +0000477
Linus Walleij277cd532006-11-20 14:57:46 +00004782006-11-19 Robert Reardon <rreardon@monkshatch.vispa.com>
rreardon508705f2006-11-19 21:27:22 +0000479
rreardonbbb4e562006-11-19 22:16:11 +0000480 * src/libmtp.c: use enhanced MTP commands to create playlists and
481 send files
rreardon508705f2006-11-19 21:27:22 +0000482 * examples/newplaylist.c: demo program for creating new playlists
rreardona7220ad2006-11-19 21:36:46 +0000483 * examples/Makefile.am: add demo newplaylists program
rreardon508705f2006-11-19 21:27:22 +0000484
Linus Walleijcd849362006-12-13 12:37:58 +00004852006-11-19 Daniel Williams <danielw@iinet.net.au>
Linus Walleij48a2d462006-11-19 14:07:59 +0000486
487 * src/libusb-glue.c: fix error on reconnect.
488
Linus Walleij277cd532006-11-20 14:57:46 +00004892006-11-18 Richard Low <richard@wentnet.com>
Richard Lowef925022006-11-18 09:06:10 +0000490
491 * src/ptp.c: tidy up ptp_usb_getdata
492
Linus Walleij277cd532006-11-20 14:57:46 +00004932006-11-17 Richard Low <richard@wentnet.com>
Richard Low91354812006-11-17 22:44:05 +0000494
495 * src/libmtp.c: fixed parent handle for uploaded tracks
496
Linus Walleij277cd532006-11-20 14:57:46 +00004972006-11-17 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleije6605692006-11-17 09:18:52 +0000498
499 * src/libmtp.c: fixed up album art using enhanced commands.
500
Linus Walleij277cd532006-11-20 14:57:46 +00005012006-11-16 Richard Low <richard@wentnet.com>
Richard Low8d82d2f2006-11-16 20:37:43 +0000502
503 * src/libmtp.c: a crude implementation of ptp_mtp_getobjectproplist
504 * src/ptp.c: ditto
505 * src/ptp.h: ditto
506 * src/ptp-pack.c: ditto
507
Linus Walleij277cd532006-11-20 14:57:46 +00005082006-11-16 Robert Reardon <rreardon@monkshatch.vispa.com>
Linus Walleij9e68bc12006-11-16 15:59:18 +0000509
Linus Walleijccf28ce2006-11-16 16:06:38 +0000510 * src/libmtp.c: use enhanced MTP commands to create albums and
511 add detection of the default album folder.
512 * src/libmtp.h.in: add a holder for album default folder.
Linus Walleij9e68bc12006-11-16 15:59:18 +0000513
Linus Walleij277cd532006-11-20 14:57:46 +00005142006-11-15 Richard Low <richard@wentnet.com>
Richard Low8b42ca32006-11-15 08:52:17 +0000515
516 * src/ptp-pack.c: set string buffer to correct size.
517
Linus Walleij277cd532006-11-20 14:57:46 +00005182006-11-14 Richard Low <richard@wentnet.com>
Richard Lowe1ab2642006-11-14 08:34:49 +0000519
520 * examples/tracks.c: really use undeprecated API entry.
521
Linus Walleij277cd532006-11-20 14:57:46 +00005222006-11-13 Richard Low <richard@wentnet.com>, Linus Walleij <triad@df.lth.se>
Linus Walleij3fcfea52006-11-13 07:07:36 +0000523
524 * src/libmtp.h.in: add LIBMTP_Get_Tracklisting_With_Callback()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000525 and LIBMTP_Get_Filelisting_With_Callback()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000526 * src/libmtp.c: dito, deprecate LIBMTP_Get_Tracklisting()
Richard Lowdc0b6c72006-11-13 09:22:23 +0000527 and LIBMTP_Get_Filelisting()
Linus Walleij3fcfea52006-11-13 07:07:36 +0000528 * examples/tracks.c: use undeprecated API entry.
Richard Lowdc0b6c72006-11-13 09:22:23 +0000529 * examples/connect.c: ditto.
530 * examples/detect.c: ditto.
531 * examples/files.c: ditto.
Linus Walleij3fcfea52006-11-13 07:07:36 +0000532 * src/ptp.c: working on getting object prop lists.
533 * src/ptp.h: dito.
534
Linus Walleij277cd532006-11-20 14:57:46 +00005352006-11-12 Richard Low <richard@wentnet.com>
Richard Lowe1f06922006-11-12 16:38:39 +0000536
537 * src/libusb-glue.c: added Zen Vision W to devices
538
Linus Walleij277cd532006-11-20 14:57:46 +00005392006-11-07 Richard Low <richard@wentnet.com>
Richard Low4c60f6e2006-11-07 20:36:42 +0000540
541 * src/libmtp.c: added checks for supported properties
542
Linus Walleij277cd532006-11-20 14:57:46 +00005432006-11-06 Richard Low <richard@wentnet.com>
Richard Low64fa3992006-11-06 21:24:11 +0000544
545 * src/libmtp.c: added a check for NULL filenames in
546 LIBMTP_Get_Folder_List.
547
Linus Walleij99310d42006-11-01 08:29:39 +00005482006-11-01 Linus Walleij <triad@df.lth.se>
549
550 * src/libmtp.h.in: set/get uint8 to/from objects
551 * src/libmtp.c: send object property list.
552 * src/ptp.c: dito.
553 * src/ptp.h: dito.
554 * src/ptp-pack.c: dito.
555
mopoke90be30e2006-10-30 08:47:41 +00005562006-10-29 Andy Kelk <andy@mopoke.co.uk>
557
558 * examples/albumart.c: simple tool for adding album art.
559 * src/libmtp.c: graceful handling of players not supporting
560 abstract album objects.
561
Linus Walleij0c33ec02006-10-27 10:15:40 +00005622006-10-27 Linus Walleij <triad@df.lth.se>
563
564 * src/Makefile.am: bump library interface to reflect the new
565 album methods.
566 * configure.ac: bump to 0.0.22 for the next release.
567
5682006-10-27 Andy Kelk <andy@mopoke.co.uk>
569
570 * src/libmtp.c: add support form abstract audio/video albums.
571 * src/libmtp.h.in: dito.
572
Linus Walleij7347d0f2006-10-23 07:23:39 +00005732006-10-23 Linus Walleij <triad@df.lth.se>
574
575 * src/libmtp.c: retire opcode rendering (moved to ptp.c)
576 * src/ptp.c: sync to upstream.
577 * src/ptp.h: dito.
578 * src/ptp-pack.c: dito.
579
Linus Walleij9efe75f2006-10-20 09:09:45 +00005802006-10-20 Linus Walleij <triad@df.lth.se>
581
582 * Release 0.0.21 to get all the new device support out.
583
Linus Walleij501ba4d2006-10-16 06:17:04 +00005842006-10-16 Linus Walleij <triad@df.lth.se>
585
586 * configure.ac: bump to 0.0.21.
587 * src/libusb-glue.c: add code to unload a kernel driver for
588 the primary interface if it is already in use under Linux.
589 * src/libusb-glue.h: add a device flag to make this possible.
590
Linus Walleij37253292006-10-11 08:38:14 +00005912006-10-11 Linus Walleij <triad@df.lth.se>
592
593 * examples/delfile.c: patch from Chris Debenham
594 straingtening out the command-line interface a bit
595 more.
596
Linus Walleij43ff8fc2006-10-10 11:16:53 +00005972006-10-10 Linus Walleij <triad@df.lth.se>
598
Linus Walleij37253292006-10-11 08:38:14 +0000599 * examples/delfile.c: patch from Chris Debenham to make
600 this command take an optional filename as parameter
601 instead of file ID.
Linus Walleij43ff8fc2006-10-10 11:16:53 +0000602
Linus Walleij955e6ba2006-09-26 16:55:10 +00006032006-09-26 Linus Walleij <triad@df.lth.se>
604
605 * libmtp.pc.in: require libusb instead of just linking it.
606 * configure.ac: bump release to 0.0.20 and release.
607
Linus Walleijb1318d12006-09-25 14:59:26 +00006082006-09-25 Linus Walleij <triad@df.lth.se>
609
610 * examples/evolution-sync.sh: example script to illustrate
611 to to transfer calendar, task and contact information
612 to a device supporting this.
613
Linus Walleij4ef39e62006-09-19 14:11:52 +00006142006-09-19 Linus Walleij <triad@df.lth.se>
615
616 * src/libmtp.h.in: fixed attribute IDs to be 16bit.
617 * src/libmtp.c: dito.
618 * examples/sendfile.c: support vcard3.
619
Linus Walleijf248fdd2006-09-16 20:11:40 +00006202006-09-16 Linus Walleij <triad@df.lth.se>
621
622 * configure.ac: bump to 0.0.19 and release. There are some
623 new devices as well.
Linus Walleij5b5c7852006-09-16 20:23:37 +0000624 * src/unicode.c: retire unused code.
Linus Walleijf248fdd2006-09-16 20:11:40 +0000625
Linus Walleijb8bfcb22006-09-13 12:14:28 +00006262006-09-13 Linus Walleij <triad@df.lth.se>
627
628 * examples/format.c: formatting test program.
629 * examples.Makefile.am: added format.
630
Linus Walleij13374a42006-09-13 11:55:30 +00006312006-09-13 Andy Kelk <andy@mopoke.co.uk>
632
633 * src/libmtp.h.in: added interface to format storage.
634 * src/libmtp.c: dito.
635 * src/ptp.c: dito.
636 * src/ptp.h: dito.
637
Linus Walleijd31e6192006-09-12 07:55:27 +00006382006-09-12 Linus Walleij <triad@df.lth.se>
639
640 * configure.ac: bump release. Released 0.0.18 yesterday.
641 * src/libmtp.c: do not try to read battery max level unless
642 the device supports it. (Bug occurred on Toshiba Gigabeat
643 P10.)
644
Linus Walleijd5d51c82006-09-11 06:57:50 +00006452006-09-11 Linus Walleij <triad@df.lth.se>
646
647 * src/libusb-glue.c: messed around a bit with device descriptor
648 detection so as to bring closer to libgphoto2 detection algorithm.
649 I've seen things that might be false positives, possibly USB mass
650 storage devices with additional MSFT descriptors to indicate they
651 have Janus DRM.
652 * src/libmtp.c: use UCS-2-INTERNAL if we're not on glibc. glibc
653 knows that UCS-2 is in machine endianness but Darwin and *BSD does
654 not. Detect C library and switch accordingly.
655 * src/unicode.c: retire old unicode code only keep things we cannot
656 live without. Remove the own internal UCS-2 conversion engine and
657 the internal iconv() engine and use the one already available in
658 PTPParams.
659 * src/unicode.h: dito.
660
Linus Walleij0558ac52006-09-07 06:55:03 +00006612006-09-07 Linus Walleij <triad@df.lth.se>
662
663 * src/libusb-glue.h: added device flags so we can make
664 the code behave differently on certain devices.
665 * src/libusb-glue.c: dito, plus removed some debug prints.
666 * src/libmtp.c: docs.
667 * src/libmtp.h.in: added device_flags to device list struct.
668 * src/Makefile.am: bumped to compatible library interface.
669 * configure.ac: bump version to 0.0.18 (0.0.17 released
670 yesterday).
671
Richard Low6ec2cc12006-09-06 16:59:16 +00006722006-09-06 Richard Low <richard@wentnet.com>
673
674 * src/libusb-glue.c: changed packet sizes to improve
675 transfer speeds.
676 * src/libmtp.c: changed packet sizes to improve transfer
677 transfer speeds. Also stopped extra ptp_getobjectinfo
678 calls when getting directories on connect.
679
Linus Walleij7f0c72e2006-09-06 13:01:58 +00006802006-09-06 Linus Walleij <triad@df.lth.se>
681
682 * src/libusb-glue.c: fixed some endpoint size detection
683 and sending special file sizes stuff. Real hairy bug...
684 Also messed around a bit with the callbacks.
685 * src/libmtp.c: changes for callback size detection.
686
Linus Walleija9310fa2006-09-04 06:47:42 +00006872006-09-04 Linus Walleij <triad@df.lth.se>
688
689 * src/libmtp.c: bug in streaming code, use defined USB_BULK_HDR_SIZE
690 instead of magic values.
691
Linus Walleijd7aa5b22006-09-02 11:52:31 +00006922006-09-02 Linus Walleij <triad@df.lth.se>
693
Linus Walleijcd3eb3d2006-09-02 21:33:22 +0000694 * src/libmtp.c: add some code to have
695 LIBMTP_Send_File_From_File_Descriptor() accept a stream
696 if size is set to (uint64_t) -1, plus documentation fixes.
697 I don't think the streaming code will work but whoever want
698 to experiment with it has a place to start.
699 * examples/refactortest.c: removed. Who uses this?
Linus Walleijd7aa5b22006-09-02 11:52:31 +0000700
Linus Walleijda9500d2006-08-30 13:17:06 +00007012006-08-30 Linus Walleij <triad@df.lth.se>
702
703 * configure.ac: version bump.
704 * src/libmtp.c: more debug prints.
705 * src/libusb-glue.c: new iRiver device called Clix. By
706 the way I released libmtp 0.0.16 yesterday.
707
Linus Walleija823a702006-08-27 21:27:46 +00007082006-08-28 Linus Walleij <triad@df.lth.se>
709
710 * configure.ac: version bump.
711 * src/ptp-pack.c: upstream has committed my patch giving full
712 unicode support in libgphoto2 ptp2 camlib. No need for
713 any more ugly workarounds, plus we now have full unicode
714 filenames!
715 * src/ptp.c: dito.
716 * src/ptp.h: dito.
717 * src/libmtp.c: revamp to use the new unicode support in
718 libgphoto2.
719 * src/unicode.c: remove unused functionality.
720 * src/unicode.h: dito.
721
Linus Walleijee73ef22006-08-27 19:56:00 +00007222006-08-27 Linus Walleij <triad@df.lth.se>
723
724 * configure.ac: version bump. Release all these fixes
725 as 0.0.15.
726 * src/libusb-glue.c: fixed sucky errors. Added callback
727 code when reading files.
728 * src/libusb-glue.h: const correctness.
729 * src/libmtp.h.in: finally fixup the type on the callbacks.
730 * src/libmtp.c: more accurate sending callbacks. Callbacks
731 when getting files also, working correctly. Typeing of
732 callbacks now OK.
733 * examples/getfile.c: some display bar cosmetic fixup.
734 * TODO: lots of the things todo are now done.
735
Linus Walleijd214b9b2006-08-26 22:08:37 +00007362006-08-26 Linus Walleij <triad@df.lth.se>
737
738 * configure.ac: version bump.
739 * src/libmtp.c: fix bug and reinstate callbacks.
740 * src/libusb-glue.h: dito.
741 * src/libusb-glue.c: dito.
742
Linus Walleije7f44be2006-08-25 19:32:29 +00007432006-08-25 Linus Walleij <triad@df.lth.se>
744
745 * src/libmtp.c: use the new file descriptor sender function.
746 Going to release this as 0.0.13.
747 * src/ptp.c: upstream accepted patches synced in.
748 * src/ptp.h: dito.
749
Linus Walleijeab650b2006-08-21 23:26:37 +00007502006-08-22 Linus Walleij <triad@df.lth.se>
751
Linus Walleij80d134a2006-08-22 21:41:37 +0000752 * src/libusb-glue.c: found a real nasty endpoint bug,
753 code from libgphoto2 was assuming max packet size of
754 512 bytes while it is 64 when a USB 2.0 device is
755 plugged into an UHCI hub.
756
7572006-08-22 Linus Walleij <triad@df.lth.se>
758
Linus Walleijeab650b2006-08-21 23:26:37 +0000759 * configure.ac: bump to 0.0.13, also released 0.0.12 now.
760
Linus Walleij924236a2006-08-20 22:17:58 +00007612006-08-21 Linus Walleij <triad@df.lth.se>
762
763 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +0000764 as result of experiments by Gavin McCullagh. Upstream
765 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +0000766 Move iconv() converters into device struct for thread
767 safety.
Linus Walleij96c62432006-08-21 10:04:02 +0000768 * src/ptp.c: sync to upstream which merges patch to get
769 file directly to file descriptor.
770 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +0000771 * src/unicode.c: move iconv() converters into the device
772 struct for thread safety.
773 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +0000774
Linus Walleij30658792006-08-19 22:18:55 +00007752006-08-20 Linus Walleij <triad@df.lth.se>
776
777 * src/libmtp.h.in: set friendly name and sync partner,
778 rename ownername to friendlyname.
779 * src/libmtp.c: dito.
780 * examples/detect.c: reflect changes.
781 * src/Makefile.am: interface is incompatible so age it.
782
Linus Walleijfae27482006-08-19 20:13:25 +00007832006-08-19 Linus Walleij <triad@df.lth.se>
784
785 * src/libmtp.h.in: add function to get syncronization
786 partner for the device.
787 * src/libmtp.c: dito.
788 * examples/detect.c: use that function.
789 * src/Makefile.am: backward-compatible interface bump.
790
Linus Walleij16571dc2006-08-17 20:27:46 +00007912006-08-17 Linus Walleij <triad@df.lth.se>
792
793 * configure.ac: bump to 0.0.12 and require iconv.h.
794
7952006-08-16 Linus Walleij <triad@df.lth.se>
796
797 * src/unicode.c: remove bigendian weirdness and switch
798 to using iconv() instead.
799 * src/unicode.h: dito.
800 * src/libmtp.c: reflect changes.
801
Linus Walleij3e188f12006-08-09 20:46:05 +00008022006-08-09 Linus Walleij <triad@df.lth.se>
803
804 * Release libmtp 0.0.11.
805
Linus Walleij2eb884b2006-08-04 19:17:36 +00008062006-08-04 Linus Walleij <triad@df.lth.se>
807
808 * src/libmtp.c: patch from Dan Aloni to make sendfile
809 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +0000810 * src/libusb-glue.c: patch from Andy Kelk to avoid
811 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +0000812 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +0000813
Linus Walleijaa4b0752006-07-26 22:21:04 +00008142006-07-27 Linus Walleij <triad@df.lth.se>
815
816 * Release libmtp 0.0.10.
817
Linus Walleij17b55ea2006-07-26 13:54:00 +00008182006-07-26 Linus Walleij <triad@df.lth.se>
819
820 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +0000821 * src/libmtp.c: only set metdata properties supported by
822 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +0000823 * src/ptp.c: sync to upstream.
824 * src/ptp.h: sync to upstream.
825 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +0000826
Linus Walleijc187cb92006-06-22 17:58:13 +00008272006-06-22 Linus Walleij <triad@df.lth.se>
828
829 * Release libmtp 0.0.9.
830
Linus Walleij8ab54262006-06-21 07:12:28 +00008312006-06-21 Linus Walleij <triad@df.lth.se>
832
833 * src/libmtp.h.in: added function to retrieve supported
834 filetypes.
835 * src/libmtp.c: ditto.
836 * examples/detect.c: use that function.
837
Linus Walleijcf223e62006-06-19 09:31:53 +00008382006-06-19 Linus Walleij <triad@df.lth.se>
839
840 * src/unicode.c: support all endianness, detect
841 byte-order-mark
842 * src/unicode.h: ditto.
843 * src/libmtp.c: ditto.
844 * examples/detect.c: use proper tempfile function.
845 * src/libmtp.h.in: add some more track properties.
846 * src/libmtp.c: ditto.
847 * examples/tracks.c: ditto.
848
Linus Walleij2e4b5f92006-06-16 14:00:49 +00008492006-06-16 Linus Walleij <triad@df.lth.se>
850
851 * src/libmtp.h.in: new interfaces for single metadata post
852 retrieveal.
853 * src/libmtp.c: ditto.
854 * examples/playlists.c: display track info using the new
855 individual track metadata retrieveal method.
856 * examples/getplaylist.c: ditto.
857
Linus Walleij05ccbe72006-06-13 07:46:58 +00008582006-06-13 Linus Walleij <triad@df.lth.se>
859
860 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000861 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000862 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000863 we can find them. Retrieve device secure time and cert
864 out of sheer curiosity.
865 * src/ptp.c: sync to libgphoto2 with my patches.
866 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000867
Linus Walleij438bd7f2006-06-08 11:35:44 +00008682006-06-07 Linus Walleij <triad@df.lth.se>
869
870 * src/libmtp.h.in: new playlist API and refactorings.
871 * src/libmtp.c: ditto, and refactorings.
872 * src/unicode.h: const correctness.
873 * src/unicode.c: ditto.
874 * examples/playlists.c: new example program.
875 * configure.ac: bump to 0.0.9
876 * src/Makefile.am: bump library interface.
877
Linus Walleij52e3ac52006-06-05 10:30:00 +00008782006-06-05 Linus Walleij <triad@df.lth.se>
879
880 * examples/sendtr.c: fixed annoying bug that made this
881 program totally useless.
882 * src/libmtp.c: cosmetics.
883 * configure.ac: bump to 0.0.8.
884
Linus Walleij345a3372006-06-03 20:55:25 +00008852006-06-03 Linus Walleij <triad@df.lth.se>
886
887 * src/libmtp.c: metadata bugs, album name and genre
888 confused. Fixe it and released libmtp 0.0.7.
889
Linus Walleijdc09dc02006-06-01 14:23:41 +00008902006-06-01 Linus Walleij <triad@df.lth.se>
891
892 * Released libmtp 0.0.6.
893
Linus Walleij549ec4d2006-05-31 19:59:52 +00008942006-05-31 Linus Walleij <triad@df.lth.se>
895
896 * src/libmtp.c: fixed mapping for JPEG vs JFIF
897 * src/libmtp.h.in: added proper type for JPEG
898 * examples/sendfile.c: send proper JPEG type
899
Linus Walleijd3fdd972006-05-30 15:51:37 +00009002006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
901
902 * src/libmtp.c: fixed a bug in update metadata due to
903 bad use of return code.
904 * src/libusb-glue.c: fixed a loop exiting problem with
905 good 'ol GOTO.
906
Linus Walleij9b1fcd92006-05-29 08:35:29 +00009072006-05-29 Linus Walleij <triad@df.lth.se>
908
909 * src/libusb-glue.c: one more device.
910 * doc/examples.h: produce correct documentation.
911 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000912 * src/ptp.c: sync to libgphoto2.
913 * src/ptp.h: ditto.
914 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000915 * src/libmtp.c: fixed all filetype API related functions
916 not to use any PTP intrinsic defines at all, made all
917 parameters to functions use the internal libmtp interface
918 enumerations and definitions. Removed LIBMTP_Release():
919 we can live with the memory lost during init. You're not
920 supposed to re-initialize the device. Consequently removed
921 the delete function that cleaned the filetype assoc list.
922 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000923
ravelox088180b2006-05-26 23:55:40 +00009242006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
925
926 * src/libmtp.c: refactored object handling to be more generic
927 * src/libmtp.h.in: ditto
928 * examples/refactortest.c: Added simple example to use refactoring
929 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000930 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
931 for playlist handling
932 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000933
Linus Walleij1fd2d272006-05-08 09:22:01 +00009342006-05-08 Linus Walleij <triad@df.lth.se>
935
936 * src/libmtp.h.in: add simple detection function.
937 * src/libusb-glue.c: implement MTP "OS descriptor" for
938 looking for MTP devices.
939 * examples/detect.c: make it possible to do very
940 rudimentary detection with "detect -p".
941 * configure.ac: bump to 0.0.5.
942
Linus Walleij685137f2006-05-07 18:09:02 +00009432006-05-07 Linus Walleij <triad@df.lth.se>
944
945 * COPYING: since we no longer use any parts of libptp2
946 and only files from libgphoto2, we switch to the GNU
947 Lesser General Public License (GNU LGPL). libptp2 is
948 a derived work from libgphoto2, and so is libmtp, there
949 are no remnants of libptp2 in libmtp anymore.
950
Linus Walleij16c51f02006-05-04 13:20:22 +00009512006-05-04 Linus Walleij <triad@df.lth.se>
952
953 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000954 * src/libmtp.c: respectfully rearranged to use a filetype mapping
955 table.
956 * src/ptp-pack.c: real nasty unicode packing bug.
957 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000958
Linus Walleijd6a49972006-05-02 08:24:54 +00009592006-05-02 Linus Walleij <triad@df.lth.se>
960
961 * src/libmtp.c: general shaping up for release. All track
962 and file sending functions now respects a parent ID to be
963 sent along with files and tracks.
964 * src/libmtp.h.in: dito.
965 * src/libusb-glue.c: dito.
966 * examples/sendfile.c: interface dependency changes.
967 * examples/sendtr.c: dito.
968
Linus Walleijc60275a2006-04-30 10:58:11 +00009692006-04-30 Linus Walleij <triad@df.lth.se>
970
971 * src/ptp.c: sync upstream.
972 * src/ptp.h: dito.
973
Linus Walleij370c68d2006-04-27 14:19:01 +00009742006-04-27 Linus Walleij <triad@df.lth.se>
975
976 * examples/sendfile.c: first file sender program based
977 on API implementation and changes by Chris Allegretta.
978 * examples/Makefile.am: new program, new entry.
979 * src/libmtp.c: reflect this new functionality.
980 * src/libmtp.h.in: dito.
981
Linus Walleijb02a0662006-04-25 08:05:09 +00009822006-04-25 Linus Walleij <triad@df.lth.se>
983
984 * Rebased the sources around libgphoto2 instead.
985 This was a major revision...
986 * src/ptp.c: imported libgphoto2 version verbatim.
987 * src/ptp.h: imported libgphoto2 version, minor patch.
988 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000989 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000990 * src/mtp.c: dropped, since all functions are now in ptp.c
991 * src/mtp-pack.c: dropped, same reason.
992 * src/mtp.h: dropped, same reason.
993 * src/mtp-pack.h: dropped, same reason.
994
Linus Walleije5f3ad42006-04-21 07:44:36 +00009952006-04-21 Linus Walleij <triad@df.lth.se>
996
Linus Walleij902c0b92006-04-21 10:52:48 +0000997 * Released libmtp 0.0.3
998 * Bumped source to 0.0.4
999
10002006-04-21 Linus Walleij <triad@df.lth.se>
1001
Linus Walleije5f3ad42006-04-21 07:44:36 +00001002 * src/ptp-pack.c: GCC 4.x compilation patch from
1003 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +00001004 * src/libusb-glue.c: New Samsung device and some
1005 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +00001006 * src/ptp.h: some defines from libgphoto2 to get
1007 a bit more compatible.
1008 * src/libmtp.c: Added a folder API implementation by
1009 Dave "ravelox" Kelly.
1010 * src/libmtp.h.in: dito.
1011 * examples/folders.c: dito.
1012 * examples/newfolder.c: dito.
1013 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +00001014
Linus Walleij6fd2f082006-03-28 07:19:22 +000010152006-03-28 Linus Walleij <triad@df.lth.se>
1016
1017 * m4/*: updated macros to work with GCC 4.1.0.
1018 * examples/hotplug.c: new program to create device
1019 ID lists.
1020 * libmtp.rules: now an auto-generated file.
1021 * libmtp.usermap: now an auto-generated file.
1022
Linus Walleijf6bc1782006-03-24 15:12:47 +000010232006-03-24 Linus Walleij <triad@df.lth.se>
1024
1025 * Beginning a file API, fixed some example program
1026 names and such.
1027
Linus Walleij6946ac52006-03-21 06:51:22 +000010282006-03-18 Linus Walleij <triad@df.lth.se>
1029
1030 * Fixed up callback interface to a simpler version,
1031 the old one was bloated stuff from libnjb anyway.
1032 Bump to 0.0.2.
1033
Linus Walleij9b28da32006-03-16 13:47:58 +000010342006-03-16 Linus Walleij <triad@df.lth.se>
1035
1036 * Fixed the .h file and implementation so you really only
1037 need this one .h file to interface the library.
1038
Linus Walleij80124062006-03-15 10:26:09 +000010392006-03-15 Linus Walleij <triad@df.lth.se>
1040
1041 * Added three device information retrieval functions.
1042
Linus Walleij15e344f2006-03-06 15:15:00 +000010432006-03-06 Linus Walleij <triad@df.lth.se>
1044
1045 * Moving some things around to structure the source. More
1046 will be needed...
1047
Linus Walleij93218602006-02-27 08:53:38 +000010482006-02-27 Linus Walleij <triad@df.lth.se>
1049
1050 * Release libmtp 0.0.1 so people have something to play with,
1051 what the heck. Probably saves someones day.
1052
Linus Walleij95698cd2006-02-24 10:40:40 +000010532006-02-24 Linus Walleij <triad@df.lth.se>
1054
1055 * Deltr example program to delete tracks, plus corresponding
1056 interface call.
1057
Linus Walleij17e39f72006-02-23 15:54:28 +000010582006-02-23 Linus Walleij <triad@df.lth.se>
1059
1060 * Fixed up sendtr program and metadata tagging function that is
1061 used after sending files.
1062
Linus Walleij394bbbe2006-02-22 16:10:53 +000010632006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00001064
Linus Walleij394bbbe2006-02-22 16:10:53 +00001065 * Untested gettr.c and sendtr.c programs to get and send tracks
1066 created.
1067
Linus Walleijeb8c6fe2006-02-03 09:46:22 +000010682006-01-30 Linus Walleij <triad@df.lth.se>
1069
1070 * Created the initial GNU source directory structure.
1071 * Added the most basic files.