Remove the unused commented-out code.
[profile/ivi/rygel.git] / ChangeLog
1 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
2
3         * src/gupnp-connection-manager.vala:
4
5         - Swap the sink and source ProtocolInfo.
6         - Use Vala's syntax for connecting signals with details.
7         - Remove the unused commented-out code.
8
9 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
10
11         * data/xml/Makefile.am:
12         * data/xml/description.xml:
13         * src/gupnp-media-server.vala:
14
15         Enable the ConnectionManager service.
16
17 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
18
19         * src/Makefile.am:
20         * src/gupnp-connection-manager.vala:
21
22         Copy the ConnectionManager code from gupnp-media-renderer.
23
24 2008-07-04  Zeeshan Ali Khattak  <zeenix@gmail.com>
25
26         * README:
27
28         Put some description in README file.
29
30 2008-07-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
31
32         * src/gupnp-content-directory.vala:
33
34         Return an error on getting invalid arguments for 'Browse'.
35
36 2008-07-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
37
38         * src/gupnp-content-directory.vala:
39
40         Argument 'value' of query_variable signal should now be declared 'ref'.
41
42 2008-07-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
43
44         * src/gupnp-media-tracker.vala:
45
46         Provide the 'creator' tag in DIDL xml for all items. The same value is
47         provided in 'author' and 'artist' tags for music and video items
48         respectively.
49
50 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
51
52         * data/xml/ContentDirectory.xml:
53
54         Hide the optional "GetSortExtensionCapabilities" action as well.
55
56 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
57
58         * src/gupnp-content-directory.vala:
59
60         - Initialize "SystemUpdateID" variable and implement related query and
61           action.
62         - Implement "SearchCapabilities" and "SortCapabilities" related
63           queries and actions.
64         - Implement "FeatureList" related queries and actions.
65
66 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
67
68         * data/xml/ContentDirectory.xml:
69
70         - List the required actions/variable before the optional.
71         - Comment out the optional actions and variables.
72
73 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
74
75         * data/xml/Makefile.am:
76         * data/xml/description-xbox360.xml:
77         * data/xml/description.xml:
78
79         Disable the distribution and advertisement of the yet unimplemented
80         ConnectionManager service.
81
82 2008-07-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
83
84         * src/gupnp-media-tracker.vala:
85
86         A temporary hack to make Vala compiler free string in structs. We need
87         this untill GB#526552 is fixed.
88
89 2008-07-01  Zeeshan Ali Khattak  <zeenix@gmail.com>
90
91         * src/gupnp-media-tracker.vala:
92
93         - Refactor: separate functions for adding music, image and video items
94           to DIDL.
95         - Put the actual "album" in the DIDL when available.
96         - Put "dc:date" in the DIDL when available.
97         - No need to check for null on values returned from tracker.
98
99 2008-07-01  Zeeshan Ali Khattak  <zeenix@gmail.com>
100
101         * src/gupnp-media-tracker.vala:
102
103         - Include the author, creator or artist in the DIDL when available.
104         - Include "originalTrackNumber" in the DIDL for Music track objects.
105         - Indentation fix.
106
107 2008-06-30  Zeeshan Ali Khattak  <zeenix@gmail.com>
108
109         * configure.ac:
110
111         Export the "abs_top_builddir" explicitly. Some installations need it.
112
113 2008-06-30  Zeeshan Ali Khattak  <zeenix@gmail.com>
114
115         * src/gupnp-media-tracker.vala:
116
117         - Include the title instead of filename in the DIDL when it's available.
118         - tracker gives us empty string rather than null for each unavailable
119           metadata.
120
121 2008-06-26  Zeeshan Ali Khattak  <zeenix@gmail.com>
122
123         * src/gupnp-media-server.vala:
124
125         Correct the logic in MediaServer.set_friendly_name_and_udn (). The
126         values for UDN and FriendlyName were not set in the description doc if
127         not already present in the corresponding gconf keys.
128
129 2008-06-24  Zeeshan Ali Khattak  <zeenix@gmail.com>
130
131         * src/gupnp-content-directory.vala:
132         * src/gupnp-media-receiver-registrar.vala:
133         * src/gupnp-media-server.vala:
134         * src/gupnp-media-tracker.vala:
135
136         Remove the now redundant 'using GLib' from all sources.
137
138 2008-06-24  Zeeshan Ali Khattak  <zeenix@gmail.com>
139
140         * src/gupnp-content-directory.vala:
141         * src/gupnp-media-receiver-registrar.vala:
142
143         Start using the new Vala syntax for connecting signals with details.
144
145 2008-06-23  Zeeshan Ali Khattak  <zeenix@gmail.com>
146
147         * src/gupnp-media-tracker.vala:
148
149         A small fix to setisfy the latest Vala compiler.
150
151 2008-06-16  Zeeshan Ali Khattak  <zeenix@gmail.com>
152
153         * src/gupnp-media-tracker.vala:
154
155         Make all constants all CAPS.
156
157 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
158
159         * configure.ac:
160
161         Check for gupnp-media-server.vala file rather than now removed main.c
162         file.
163
164 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
165
166         * src/Makefile.am:
167
168         Add the vala stamp file to CLEANFILES.
169
170 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
171
172         * src/Makefile.am:
173         * src/gupnp-media-server.vala:
174         * src/main.c:
175
176         Re-write the main module in Vala. The main module's code now resides
177         in MediaServer class as static methods. This marks the completion of
178         re-write of code in Vala. Yay!
179
180 2008-06-15  Zeeshan Ali Khattak  <zeenix@gmail.com>
181
182         * src/Makefile.am:
183         * src/cstuff.c:
184         * src/cstuff.h:
185         * src/cstuff.vapi:
186
187         Put all low-level stuff into a separate module. This module will be
188         the only one kept in C and all the code that currently can't be
189         written (easily) in Vala, will go there.
190
191 2008-06-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
192
193         * configure.ac:
194         * src/Makefile.am:
195
196         Check for gconf-2.0 Vala bindings and add it to the Vala compiler
197         flags.
198
199 2008-06-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
200
201         * configure.ac:
202
203         Introduce a separate configure option for a strict C compiler.
204
205 2008-06-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
206
207         * src/Makefile.am:
208         * src/gupnp-media-server.c:
209         * src/gupnp-media-server.h:
210         * src/gupnp-media-server.vala:
211
212         Re-write the MediaServer class in Vala.
213
214 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
215
216         * src/gupnp-media-receiver-registrar.vala:
217
218         Add the copyright header.
219
220 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
221
222         * src/gupnp-media-tracker.vala:
223
224         - Use the nice and clean DBus API that Vala provides us.
225         - Enable the commented out code of get_container_children_count() now
226           that it's working against the latest Vala (svn trunk). MediaTracker
227           is fully functional again, yay!
228         - Correct a warning message (copy&paste mistake).
229
230 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
231
232         * src/gupnp-media-tracker.vala:
233
234         Correct the types of two parameters of MediaTracker.browse().
235
236 2008-06-12  Zeeshan Ali Khattak  <zeenix@gmail.com>
237
238         * src/Makefile.am:
239         * src/gupnp-content-directory.c:
240         * src/gupnp-content-directory.h:
241         * src/gupnp-content-directory.vala:
242
243         Re-write ContentDirectory implementation in Vala.
244
245 2008-06-11  Zeeshan Ali Khattak  <zeenix@gmail.com>
246
247         * configure.ac:
248
249         Require Vala >= 0.3.4.
250
251 2008-06-11  Zeeshan Ali Khattak  <zeenix@gmail.com>
252
253         * configure.ac:
254         * src/Makefile.am:
255         * src/gupnp-content-directory.c:
256         * src/gupnp-media-tracker.c:
257         * src/gupnp-media-tracker.h:
258         * src/gupnp-media-tracker.vala:
259
260         Re-write MediaTracker in Vala. Doesn't really work. Thanks to
261         dbus-glib bindings for Vala and tracker API.
262
263 2008-06-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
264
265         * src/Makefile.am:
266         * src/gupnp-media-receiver-registrar.c:
267         * src/gupnp-media-receiver-registrar.h:
268         * src/gupnp-media-receiver-registrar.vala:
269
270         Re-write X_MS_MediaReceiverRegistrar implementation in Vala.
271
272 2008-06-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
273
274         * configure.ac:
275
276         Check for Vala and GUPnP bindings.
277
278 2008-05-14  Zeeshan Ali Khattak  <zeenix@gmail.com>
279
280         * src/Makefile.am:
281         * src/gupnp-content-directory.c:
282         * src/gupnp-content-directory.h:
283         * src/gupnp-media-receiver-registrar.c:
284         * src/gupnp-media-receiver-registrar.h:
285         * src/gupnp-media-server.c:
286
287         Put the services implementations into separate objects.
288
289 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
290
291         * src/gupnp-media-tracker.c:
292
293         - Report the correct UPnP class of the items.
294         - Xbox wants Images container to have ID of '16'.
295         - Provide 'res@resultion' in DIDL XML for audio and video items.
296
297 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
298
299         * src/gupnp-media-tracker.c:
300
301         Quick security fix: only host the user's home dir. This should be OK
302         with most tracker setups since by default tracker only indexes user's
303         home dir.
304
305 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
306
307         * src/gupnp-media-tracker.c:
308
309         - Introduce a structure to hold container info: ID, title and
310           associated tracker category.
311         - Don't escape '/' in the path before putting it in HTTP URI.
312
313 2008-05-08  Zeeshan Ali Khattak  <zeenix@gmail.com>
314
315         * src/gupnp-media-server.c:
316
317         Xbox 360 uses 'ContainerID' instead of 'ObjectID' for cotainers.
318
319 2008-05-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
320
321         * data/xml/Makefile.am:
322
323         Add the newly added xbox 360 specific xml files to build.
324
325 2008-05-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
326
327         * data/xml/description-xbox360.xml:
328         * src/main.c:
329
330         Use a separate description document for Xbox 360 to keep the code
331         simple.
332
333 2008-05-07  Zeeshan Ali Khattak  <zeenix@gmail.com>
334
335         * src/gupnp-media-server.c:
336
337         Retrieve the services in version agnostic way.
338
339 2008-05-06  Zeeshan Ali Khattak  <zeenix@gmail.com>
340
341         * data/xml/X_MS_MediaReceiverRegistrar1.xml:
342         * data/xml/description.xml:
343         * src/gupnp-media-server.c:
344         * src/main.c:
345
346         Add basic support for Xbox.
347
348 2008-05-05  Zeeshan Ali Khattak  <zeenix@gmail.com>
349
350         * data/xml/description.xml:
351
352         Steal some more DLNA bits from rhythmbox GUPnP plugin.
353
354 2008-05-03  Zeeshan Ali Khattak  <zeenix@gmail.com>
355
356         * src/gupnp-media-tracker.c:
357
358         Adapt to latest didl writer API. We put a fake 'MP3' for all items in
359         the DLNA's PN field for each item. This should fix the playback of mp3
360         contents on DLNA-compliant MRs and CPs without breaking the playback of
361         non-mp3 contents on non-DLNA compliant MRs/CPs.
362
363 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
364
365         * src/gupnp-media-tracker.c:
366
367         In Browse() implementation,
368         - respect 'StartingIndex' and 'RequestedCount' params.
369         - Never return more than 128 items in a single reply.
370
371 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
372
373         * src/gupnp-media-tracker.c:
374
375         - Use tracker to get the number of items in a category.
376         - offset param to Files.GetByServiceType method is zero-based.
377
378 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
379
380         * src/gupnp-media-tracker.c:
381
382         - Host the root directory rather than user's home directory since the
383           tracker URI's are absolute file paths and it could be tracking other
384           directories as well.
385         - Escape the path before making a URI from it.
386         - Remove an unneeded param from a function.
387
388 2008-05-02  Zeeshan Ali Khattak  <zeenix@gmail.com>
389
390         * src/gupnp-media-tracker.c:
391
392         Start using tracker for fetching the list of media files.
393
394 2008-04-29  Zeeshan Ali Khattak  <zeenix@gmail.com>
395
396         * src/gupnp-media-tracker.c:
397
398         Fix a small typo.
399
400 2008-04-29  Zeeshan Ali Khattak  <zeenix@gmail.com>
401
402         * configure.ac:
403         * src/Makefile.am:
404         * src/gupnp-media-tracker.c:
405
406         Start using tracker for fetching the metadata.
407
408 2008-04-28  Zeeshan Ali Khattak  <zeenix@gmail.com>
409
410         * src/Makefile.am:
411         * src/gupnp-media-server.c:
412         * src/gupnp-media-tracker.c:
413         * src/gupnp-media-tracker.h:
414
415         Add skeleton for tracker-based media provider.
416
417 2008-04-23  Zeeshan Ali Khattak  <zeenix@gmail.com>
418
419         * TODO:
420         * doc/design.txt:
421
422         Remove first goal from TODO and update the design/plan.
423
424 2008-04-23  Zeeshan Ali Khattak  <zeenix@gmail.com>
425
426         * src/main.c:
427
428         - Fetch the UDN and friendlyname from gconf and set them to default
429           values if gconf keys aren't already set.
430         - No need to load the modified description document anymore.
431
432 2008-04-22  Zeeshan Ali Khattak  <zeenix@gmail.com>
433
434         * src/main.c:
435
436         Let the context choose the hostname/IP and port for us if not
437         specified in gconf.
438
439 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
440
441         * src/gupnp-media-server.c:
442
443         - Implement 'BrowseMetadata'.
444         - Mime-type of mp3 files should be 'audio/mpeg' rather than
445         'audio/mp3'.
446         - Host user's home directory as '/media' and update paths accordingly.
447
448 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
449
450         * configure.ac:
451         * data/Makefile.am:
452         * data/xml/Makefile.am:
453         * src/Makefile.am:
454
455         Update/fix the build system for our dummy MS.
456
457 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
458
459         * src/gupnp-media-server.c:
460         * src/gupnp-media-server.h:
461         * src/main.c:
462
463         Implement a dummy MS.
464
465 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
466
467         * src/gupnp-media-server.c:
468         * src/gupnp-media-server.h:
469
470         Update the copyright/licence header.
471
472 2008-04-21  Zeeshan Ali Khattak  <zeenix@gmail.com>
473
474         * data/xml/ConnectionManager.xml:
475         * data/xml/ContentDirectory.xml:
476         * data/xml/description.xml:
477
478         - Advertise version 2 of MS and AV services.
479         - Some minor updates.
480
481 2008-04-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
482
483         * doc/design.txt:
484
485         Simpler design:
486         - Rename MediaDb to MediaProvider.
487         - Replace MediaDbGroup and MediaDbPlugin by a single MediaDb.
488
489         * TODO:
490
491         Add TODO file and put the general plan in there.
492
493 2008-04-13  Zeeshan Ali Khattak  <zeenix@gmail.com>
494
495         * doc/design.txt:
496
497         Add some more objects and description to design doc.
498