blob: ff4e6dca49cb4f1586ce682a9db91de2a91fa90f [file] [log] [blame]
Linus Walleij924236a2006-08-20 22:17:58 +000012006-08-21 Linus Walleij <triad@df.lth.se>
2
3 * src/libmtp.c: fixup mmap() usage and add madvise()
Linus Walleij96c62432006-08-21 10:04:02 +00004 as result of experiments by Gavin McCullagh. Upstream
5 accept patch to get files directly to file descriptor.
Linus Walleij3ec86312006-08-21 13:25:24 +00006 Move iconv() converters into device struct for thread
7 safety.
Linus Walleij96c62432006-08-21 10:04:02 +00008 * src/ptp.c: sync to upstream which merges patch to get
9 file directly to file descriptor.
10 * src/ptp.h: dito.
Linus Walleij3ec86312006-08-21 13:25:24 +000011 * src/unicode.c: move iconv() converters into the device
12 struct for thread safety.
13 * src/unicode.h: dito.
Linus Walleij924236a2006-08-20 22:17:58 +000014
Linus Walleij30658792006-08-19 22:18:55 +0000152006-08-20 Linus Walleij <triad@df.lth.se>
16
17 * src/libmtp.h.in: set friendly name and sync partner,
18 rename ownername to friendlyname.
19 * src/libmtp.c: dito.
20 * examples/detect.c: reflect changes.
21 * src/Makefile.am: interface is incompatible so age it.
22
Linus Walleijfae27482006-08-19 20:13:25 +0000232006-08-19 Linus Walleij <triad@df.lth.se>
24
25 * src/libmtp.h.in: add function to get syncronization
26 partner for the device.
27 * src/libmtp.c: dito.
28 * examples/detect.c: use that function.
29 * src/Makefile.am: backward-compatible interface bump.
30
Linus Walleij16571dc2006-08-17 20:27:46 +0000312006-08-17 Linus Walleij <triad@df.lth.se>
32
33 * configure.ac: bump to 0.0.12 and require iconv.h.
34
352006-08-16 Linus Walleij <triad@df.lth.se>
36
37 * src/unicode.c: remove bigendian weirdness and switch
38 to using iconv() instead.
39 * src/unicode.h: dito.
40 * src/libmtp.c: reflect changes.
41
Linus Walleij3e188f12006-08-09 20:46:05 +0000422006-08-09 Linus Walleij <triad@df.lth.se>
43
44 * Release libmtp 0.0.11.
45
Linus Walleij2eb884b2006-08-04 19:17:36 +0000462006-08-04 Linus Walleij <triad@df.lth.se>
47
48 * src/libmtp.c: patch from Dan Aloni to make sendfile
49 use mmap and avoid memory drainage.
Linus Walleij9eb3d312006-08-04 19:25:59 +000050 * src/libusb-glue.c: patch from Andy Kelk to avoid
51 exit():ing when the interface cannot be claimed.
Linus Walleij232943d2006-08-04 19:26:53 +000052 * configure.ac: version bump.
Linus Walleij2eb884b2006-08-04 19:17:36 +000053
Linus Walleijaa4b0752006-07-26 22:21:04 +0000542006-07-27 Linus Walleij <triad@df.lth.se>
55
56 * Release libmtp 0.0.10.
57
Linus Walleij17b55ea2006-07-26 13:54:00 +0000582006-07-26 Linus Walleij <triad@df.lth.se>
59
60 * src/libusb-glue.c: new SanDisk devices.
Linus Walleij00cf0642006-07-26 20:40:59 +000061 * src/libmtp.c: only set metdata properties supported by
62 the device, duh.
Linus Walleijaa4b0752006-07-26 22:21:04 +000063 * src/ptp.c: sync to upstream.
64 * src/ptp.h: sync to upstream.
65 * configure.ac: bump to 0.0.10.
Linus Walleij17b55ea2006-07-26 13:54:00 +000066
Linus Walleijc187cb92006-06-22 17:58:13 +0000672006-06-22 Linus Walleij <triad@df.lth.se>
68
69 * Release libmtp 0.0.9.
70
Linus Walleij8ab54262006-06-21 07:12:28 +0000712006-06-21 Linus Walleij <triad@df.lth.se>
72
73 * src/libmtp.h.in: added function to retrieve supported
74 filetypes.
75 * src/libmtp.c: ditto.
76 * examples/detect.c: use that function.
77
Linus Walleijcf223e62006-06-19 09:31:53 +0000782006-06-19 Linus Walleij <triad@df.lth.se>
79
80 * src/unicode.c: support all endianness, detect
81 byte-order-mark
82 * src/unicode.h: ditto.
83 * src/libmtp.c: ditto.
84 * examples/detect.c: use proper tempfile function.
85 * src/libmtp.h.in: add some more track properties.
86 * src/libmtp.c: ditto.
87 * examples/tracks.c: ditto.
88
Linus Walleij2e4b5f92006-06-16 14:00:49 +0000892006-06-16 Linus Walleij <triad@df.lth.se>
90
91 * src/libmtp.h.in: new interfaces for single metadata post
92 retrieveal.
93 * src/libmtp.c: ditto.
94 * examples/playlists.c: display track info using the new
95 individual track metadata retrieveal method.
96 * examples/getplaylist.c: ditto.
97
Linus Walleij05ccbe72006-06-13 07:46:58 +0000982006-06-13 Linus Walleij <triad@df.lth.se>
99
100 * src/libmtp.h.in: added default folders to device struct.
Linus Walleij545c7792006-06-13 15:22:30 +0000101 Add some new function prototypes.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000102 * src/libmtp.c: discover and use the default folders if
Linus Walleij545c7792006-06-13 15:22:30 +0000103 we can find them. Retrieve device secure time and cert
104 out of sheer curiosity.
105 * src/ptp.c: sync to libgphoto2 with my patches.
106 * src/ptp.h: ditto.
Linus Walleij05ccbe72006-06-13 07:46:58 +0000107
Linus Walleij438bd7f2006-06-08 11:35:44 +00001082006-06-07 Linus Walleij <triad@df.lth.se>
109
110 * src/libmtp.h.in: new playlist API and refactorings.
111 * src/libmtp.c: ditto, and refactorings.
112 * src/unicode.h: const correctness.
113 * src/unicode.c: ditto.
114 * examples/playlists.c: new example program.
115 * configure.ac: bump to 0.0.9
116 * src/Makefile.am: bump library interface.
117
Linus Walleij52e3ac52006-06-05 10:30:00 +00001182006-06-05 Linus Walleij <triad@df.lth.se>
119
120 * examples/sendtr.c: fixed annoying bug that made this
121 program totally useless.
122 * src/libmtp.c: cosmetics.
123 * configure.ac: bump to 0.0.8.
124
Linus Walleij345a3372006-06-03 20:55:25 +00001252006-06-03 Linus Walleij <triad@df.lth.se>
126
127 * src/libmtp.c: metadata bugs, album name and genre
128 confused. Fixe it and released libmtp 0.0.7.
129
Linus Walleijdc09dc02006-06-01 14:23:41 +00001302006-06-01 Linus Walleij <triad@df.lth.se>
131
132 * Released libmtp 0.0.6.
133
Linus Walleij549ec4d2006-05-31 19:59:52 +00001342006-05-31 Linus Walleij <triad@df.lth.se>
135
136 * src/libmtp.c: fixed mapping for JPEG vs JFIF
137 * src/libmtp.h.in: added proper type for JPEG
138 * examples/sendfile.c: send proper JPEG type
139
Linus Walleijd3fdd972006-05-30 15:51:37 +00001402006-05-30 Flavien Lebarbe <flavien+libmtp@lebarbe.net>
141
142 * src/libmtp.c: fixed a bug in update metadata due to
143 bad use of return code.
144 * src/libusb-glue.c: fixed a loop exiting problem with
145 good 'ol GOTO.
146
Linus Walleij9b1fcd92006-05-29 08:35:29 +00001472006-05-29 Linus Walleij <triad@df.lth.se>
148
149 * src/libusb-glue.c: one more device.
150 * doc/examples.h: produce correct documentation.
151 * configure.ac: bump to 0.0.6.
Linus Walleijf67bca92006-05-29 09:33:39 +0000152 * src/ptp.c: sync to libgphoto2.
153 * src/ptp.h: ditto.
154 * src/ptp-pack.c: ditto.
Linus Walleijf0f3d482006-05-29 14:10:21 +0000155 * src/libmtp.c: fixed all filetype API related functions
156 not to use any PTP intrinsic defines at all, made all
157 parameters to functions use the internal libmtp interface
158 enumerations and definitions. Removed LIBMTP_Release():
159 we can live with the memory lost during init. You're not
160 supposed to re-initialize the device. Consequently removed
161 the delete function that cleaned the filetype assoc list.
162 * examples/refactortest.c: reflect changes.
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000163
ravelox088180b2006-05-26 23:55:40 +00001642006-05-26 Dave Kelly <libmtp@ravelox.co.uk>
165
166 * src/libmtp.c: refactored object handling to be more generic
167 * src/libmtp.h.in: ditto
168 * examples/refactortest.c: Added simple example to use refactoring
169 * examples/getplaylist.c: Added example to extract playlist data
Linus Walleij9b1fcd92006-05-29 08:35:29 +0000170 * src/ptp.c: Re-added ptp_get/set_objectreferences to allow
171 for playlist handling
172 * src/ptp.h: ditto
ravelox088180b2006-05-26 23:55:40 +0000173
Linus Walleij1fd2d272006-05-08 09:22:01 +00001742006-05-08 Linus Walleij <triad@df.lth.se>
175
176 * src/libmtp.h.in: add simple detection function.
177 * src/libusb-glue.c: implement MTP "OS descriptor" for
178 looking for MTP devices.
179 * examples/detect.c: make it possible to do very
180 rudimentary detection with "detect -p".
181 * configure.ac: bump to 0.0.5.
182
Linus Walleij685137f2006-05-07 18:09:02 +00001832006-05-07 Linus Walleij <triad@df.lth.se>
184
185 * COPYING: since we no longer use any parts of libptp2
186 and only files from libgphoto2, we switch to the GNU
187 Lesser General Public License (GNU LGPL). libptp2 is
188 a derived work from libgphoto2, and so is libmtp, there
189 are no remnants of libptp2 in libmtp anymore.
190
Linus Walleij16c51f02006-05-04 13:20:22 +00001912006-05-04 Linus Walleij <triad@df.lth.se>
192
193 * examples/sendfile.c: fixes some more filetypes.
Linus Walleij453813c2006-05-04 19:46:43 +0000194 * src/libmtp.c: respectfully rearranged to use a filetype mapping
195 table.
196 * src/ptp-pack.c: real nasty unicode packing bug.
197 * Release libmtp 0.0.4.
Linus Walleij16c51f02006-05-04 13:20:22 +0000198
Linus Walleijd6a49972006-05-02 08:24:54 +00001992006-05-02 Linus Walleij <triad@df.lth.se>
200
201 * src/libmtp.c: general shaping up for release. All track
202 and file sending functions now respects a parent ID to be
203 sent along with files and tracks.
204 * src/libmtp.h.in: dito.
205 * src/libusb-glue.c: dito.
206 * examples/sendfile.c: interface dependency changes.
207 * examples/sendtr.c: dito.
208
Linus Walleijc60275a2006-04-30 10:58:11 +00002092006-04-30 Linus Walleij <triad@df.lth.se>
210
211 * src/ptp.c: sync upstream.
212 * src/ptp.h: dito.
213
Linus Walleij370c68d2006-04-27 14:19:01 +00002142006-04-27 Linus Walleij <triad@df.lth.se>
215
216 * examples/sendfile.c: first file sender program based
217 on API implementation and changes by Chris Allegretta.
218 * examples/Makefile.am: new program, new entry.
219 * src/libmtp.c: reflect this new functionality.
220 * src/libmtp.h.in: dito.
221
Linus Walleijb02a0662006-04-25 08:05:09 +00002222006-04-25 Linus Walleij <triad@df.lth.se>
223
224 * Rebased the sources around libgphoto2 instead.
225 This was a major revision...
226 * src/ptp.c: imported libgphoto2 version verbatim.
227 * src/ptp.h: imported libgphoto2 version, minor patch.
228 * src/ptp-pack.c: imported libgphoto2 version, minor patch.
Linus Walleij9a96f0b2006-04-25 08:46:59 +0000229 * src/ptp-pack.h: dropped, libgphoto2 does not use it.
Linus Walleijb02a0662006-04-25 08:05:09 +0000230 * src/mtp.c: dropped, since all functions are now in ptp.c
231 * src/mtp-pack.c: dropped, same reason.
232 * src/mtp.h: dropped, same reason.
233 * src/mtp-pack.h: dropped, same reason.
234
Linus Walleije5f3ad42006-04-21 07:44:36 +00002352006-04-21 Linus Walleij <triad@df.lth.se>
236
Linus Walleij902c0b92006-04-21 10:52:48 +0000237 * Released libmtp 0.0.3
238 * Bumped source to 0.0.4
239
2402006-04-21 Linus Walleij <triad@df.lth.se>
241
Linus Walleije5f3ad42006-04-21 07:44:36 +0000242 * src/ptp-pack.c: GCC 4.x compilation patch from
243 Diego Pettenò.
Linus Walleija06a2792006-04-21 07:52:26 +0000244 * src/libusb-glue.c: New Samsung device and some
245 from libgphoto2.
Linus Walleij9c6ca022006-04-21 10:24:15 +0000246 * src/ptp.h: some defines from libgphoto2 to get
247 a bit more compatible.
248 * src/libmtp.c: Added a folder API implementation by
249 Dave "ravelox" Kelly.
250 * src/libmtp.h.in: dito.
251 * examples/folders.c: dito.
252 * examples/newfolder.c: dito.
253 * examples/trexist.c: dito.
Linus Walleije5f3ad42006-04-21 07:44:36 +0000254
Linus Walleij6fd2f082006-03-28 07:19:22 +00002552006-03-28 Linus Walleij <triad@df.lth.se>
256
257 * m4/*: updated macros to work with GCC 4.1.0.
258 * examples/hotplug.c: new program to create device
259 ID lists.
260 * libmtp.rules: now an auto-generated file.
261 * libmtp.usermap: now an auto-generated file.
262
Linus Walleijf6bc1782006-03-24 15:12:47 +00002632006-03-24 Linus Walleij <triad@df.lth.se>
264
265 * Beginning a file API, fixed some example program
266 names and such.
267
Linus Walleij6946ac52006-03-21 06:51:22 +00002682006-03-18 Linus Walleij <triad@df.lth.se>
269
270 * Fixed up callback interface to a simpler version,
271 the old one was bloated stuff from libnjb anyway.
272 Bump to 0.0.2.
273
Linus Walleij9b28da32006-03-16 13:47:58 +00002742006-03-16 Linus Walleij <triad@df.lth.se>
275
276 * Fixed the .h file and implementation so you really only
277 need this one .h file to interface the library.
278
Linus Walleij80124062006-03-15 10:26:09 +00002792006-03-15 Linus Walleij <triad@df.lth.se>
280
281 * Added three device information retrieval functions.
282
Linus Walleij15e344f2006-03-06 15:15:00 +00002832006-03-06 Linus Walleij <triad@df.lth.se>
284
285 * Moving some things around to structure the source. More
286 will be needed...
287
Linus Walleij93218602006-02-27 08:53:38 +00002882006-02-27 Linus Walleij <triad@df.lth.se>
289
290 * Release libmtp 0.0.1 so people have something to play with,
291 what the heck. Probably saves someones day.
292
Linus Walleij95698cd2006-02-24 10:40:40 +00002932006-02-24 Linus Walleij <triad@df.lth.se>
294
295 * Deltr example program to delete tracks, plus corresponding
296 interface call.
297
Linus Walleij17e39f72006-02-23 15:54:28 +00002982006-02-23 Linus Walleij <triad@df.lth.se>
299
300 * Fixed up sendtr program and metadata tagging function that is
301 used after sending files.
302
Linus Walleij394bbbe2006-02-22 16:10:53 +00003032006-02-22 Linus Walleij <triad@df.lth.se>
Linus Walleijeb8c6fe2006-02-03 09:46:22 +0000304
Linus Walleij394bbbe2006-02-22 16:10:53 +0000305 * Untested gettr.c and sendtr.c programs to get and send tracks
306 created.
307
Linus Walleijeb8c6fe2006-02-03 09:46:22 +00003082006-01-30 Linus Walleij <triad@df.lth.se>
309
310 * Created the initial GNU source directory structure.
311 * Added the most basic files.