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