profile/ivi/rygel.git
12 years agocore: Only request thumbnails on local resources
Jens Georg [Sat, 25 Feb 2012 13:13:14 +0000 (15:13 +0200)]
core: Only request thumbnails on local resources

12 years agocore: Use proper time-out on item creation
Jens Georg [Sat, 25 Feb 2012 10:07:51 +0000 (12:07 +0200)]
core: Use proper time-out on item creation

12 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 23 Feb 2012 19:37:50 +0000 (20:37 +0100)]
Updated Slovenian translation

12 years agoPrepare 0.13.2 RYGEL_0_13_2
Jens Georg [Tue, 21 Feb 2012 14:03:34 +0000 (16:03 +0200)]
Prepare 0.13.2

12 years agotests: Fix ItemCreator test
Jens Georg [Tue, 21 Feb 2012 13:53:50 +0000 (15:53 +0200)]
tests: Fix ItemCreator test

12 years agotracker: Use supplied date when creating an item.
Jens Georg [Tue, 21 Feb 2012 09:36:02 +0000 (11:36 +0200)]
tracker: Use supplied date when creating an item.

12 years agocore: Use date from DIDL in CreateObject
Jens Georg [Tue, 21 Feb 2012 09:36:38 +0000 (11:36 +0200)]
core: Use date from DIDL in CreateObject

12 years agocore: Update documentation in ItemCreator
Jens Georg [Mon, 20 Feb 2012 11:08:16 +0000 (13:08 +0200)]
core: Update documentation in ItemCreator

12 years agocore: Get rid of ItemCreatorError
Jens Georg [Mon, 20 Feb 2012 13:05:53 +0000 (15:05 +0200)]
core: Get rid of ItemCreatorError

12 years agocore: Add DLNA testcase number
Jens Georg [Mon, 20 Feb 2012 11:38:05 +0000 (13:38 +0200)]
core: Add DLNA testcase number

12 years agocore: Make fields private
Jens Georg [Mon, 20 Feb 2012 11:37:47 +0000 (13:37 +0200)]
core: Make fields private

12 years agotodo: Remove ItemCreator task
Jens Georg [Thu, 16 Feb 2012 12:37:05 +0000 (14:37 +0200)]
todo: Remove ItemCreator task

12 years agocore: Extract code to find DLNA.ORG_AnyContainer
Jens Georg [Mon, 20 Feb 2012 10:12:22 +0000 (12:12 +0200)]
core: Extract code to find DLNA.ORG_AnyContainer

12 years agocore: Minor style adjustments
Jens Georg [Thu, 16 Feb 2012 12:04:16 +0000 (14:04 +0200)]
core: Minor style adjustments

12 years agocore: Factor out MediaItem meta-data update
Jens Georg [Thu, 16 Feb 2012 11:57:09 +0000 (13:57 +0200)]
core: Factor out MediaItem meta-data update

12 years agocore: Add can_create function to WritableContainer
Jens Georg [Thu, 16 Feb 2012 11:46:36 +0000 (13:46 +0200)]
core: Add can_create function to WritableContainer

12 years agocore: Split out DIDL parsing in ItemCreator
Jens Georg [Thu, 16 Feb 2012 11:35:40 +0000 (13:35 +0200)]
core: Split out DIDL parsing in ItemCreator

12 years agocore: Assert on regex error
Jens Georg [Thu, 16 Feb 2012 11:35:06 +0000 (13:35 +0200)]
core: Assert on regex error

12 years agocore: Add some comments to check
Jens Georg [Mon, 9 Jan 2012 18:05:09 +0000 (19:05 +0100)]
core: Add some comments to check

12 years agotracker: Revert "Let the miner decide the RDF type"
Jens Georg [Mon, 20 Feb 2012 14:27:10 +0000 (16:27 +0200)]
tracker: Revert "Let the miner decide the RDF type"

This reverts commit 193aff3bd259a1437ee1d243d0dcc49dae645ac2. The
commit broke upload completely.

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 21 Feb 2012 13:04:43 +0000 (14:04 +0100)]
Updated Spanish translation

12 years agotests: Add missing copyright header
Jens Georg [Mon, 20 Feb 2012 09:35:45 +0000 (11:35 +0200)]
tests: Add missing copyright header

12 years agotests: Add test for ItemCreator class
Jens Georg [Sun, 25 Dec 2011 20:00:57 +0000 (21:00 +0100)]
tests: Add test for ItemCreator class

12 years agodoc: Remove obsolete release plan
Jens Georg [Fri, 17 Feb 2012 20:26:03 +0000 (22:26 +0200)]
doc: Remove obsolete release plan

12 years agotodo: update
Jens Georg [Fri, 17 Feb 2012 20:19:47 +0000 (22:19 +0200)]
todo: update

12 years agocore: Check for duplicate module names
Jens Georg [Fri, 17 Feb 2012 09:07:26 +0000 (11:07 +0200)]
core: Check for duplicate module names

https://bugzilla.gnome.org/show_bug.cgi?id=660477

12 years agocore: Simplify code by using File.get_child
Jens Georg [Fri, 17 Feb 2012 08:20:10 +0000 (10:20 +0200)]
core: Simplify code by using File.get_child

https://bugzilla.gnome.org/show_bug.cgi?id=660477

12 years agoUpdated Czech translation
Marek Černocký [Thu, 16 Feb 2012 12:24:30 +0000 (13:24 +0100)]
Updated Czech translation

12 years agotests: Fix broken tests after d6f83bbe
Jens Georg [Thu, 16 Feb 2012 12:15:44 +0000 (14:15 +0200)]
tests: Fix broken tests after d6f83bbe

12 years agocore: Fix extension for album art URI
Jens Georg [Wed, 15 Feb 2012 21:18:09 +0000 (23:18 +0200)]
core: Fix extension for album art URI

12 years agodata: Drop gconf dependency from .pc file
Jens Georg [Wed, 15 Feb 2012 20:53:05 +0000 (22:53 +0200)]
data: Drop gconf dependency from .pc file

https://bugzilla.gnome.org/show_bug.cgi?id=669858

12 years agocore: Prevent XBox showing songs multiple times
Jens Georg [Fri, 10 Feb 2012 14:34:23 +0000 (16:34 +0200)]
core: Prevent XBox showing songs multiple times

Due to the way we handle the XBox's search requests it might happen
that the search result includes items having a @refID which are
just "aliases" to the real items.

https://bugzilla.gnome.org/show_bug.cgi?id=664184

12 years agocore: Add hack for WMP 12
Jens Georg [Fri, 10 Feb 2012 13:41:54 +0000 (15:41 +0200)]
core: Add hack for WMP 12

12 years agocore: Work around bgo#669166
Jens Georg [Sat, 11 Feb 2012 17:44:49 +0000 (19:44 +0200)]
core: Work around bgo#669166

12 years agoPrepare 0.13.1 RYGEL_0_13_1
Jens Georg [Thu, 9 Feb 2012 18:14:24 +0000 (20:14 +0200)]
Prepare 0.13.1

12 years agoi18n: Update POTFILES.skip
Jens Georg [Thu, 9 Feb 2012 18:18:32 +0000 (20:18 +0200)]
i18n: Update POTFILES.skip

12 years agompris: Allow to disable the whole module
Jens Georg [Thu, 9 Feb 2012 14:15:47 +0000 (16:15 +0200)]
mpris: Allow to disable the whole module

12 years agoexternal: Allow to disable the whole module
Jens Georg [Thu, 9 Feb 2012 14:04:34 +0000 (16:04 +0200)]
external: Allow to disable the whole module

It was only possible to disable servers on a per-peer base; now it is
also possible to disable the whole module.

12 years agoexternal: Prevent critical if DisplayName is empty
Jens Georg [Thu, 9 Feb 2012 13:45:55 +0000 (15:45 +0200)]
external: Prevent critical if DisplayName is empty

12 years agoexternal: Update child-count after D-Bus signal
Jens Georg [Thu, 9 Feb 2012 11:38:18 +0000 (13:38 +0200)]
external: Update child-count after D-Bus signal

https://bugzilla.gnome.org/show_bug.cgi?id=669680

12 years agotests: Extend rygel-http-post-test.vala
Marcin Kazmierczak [Wed, 8 Feb 2012 13:49:56 +0000 (14:49 +0100)]
tests: Extend rygel-http-post-test.vala

12 years agocore: Add env variable to change plugin timeout
Jens Georg [Thu, 9 Feb 2012 08:54:39 +0000 (10:54 +0200)]
core: Add env variable to change plugin timeout

Especially when running inside valgrind the 5 second timeout is too
short and often rygel fails to load its plugins in time and terminates
itself.

12 years agoexternal: Remove references to MediaServer1
Jens Georg [Thu, 9 Feb 2012 07:43:34 +0000 (09:43 +0200)]
external: Remove references to MediaServer1

There were still two references to the old spec, one causing Icons not
to work.

https://bugzilla.gnome.org/show_bug.cgi?id=669677

12 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 7 Feb 2012 10:29:34 +0000 (11:29 +0100)]
Updated Spanish translation

12 years agoui: Fix minor issues with toolbar
Jens Georg [Mon, 6 Feb 2012 19:03:55 +0000 (20:03 +0100)]
ui: Fix minor issues with toolbar

12 years agoui: Improve preferences dialog, bug 663631
David King [Tue, 8 Nov 2011 14:34:10 +0000 (15:34 +0100)]
ui: Improve preferences dialog, bug 663631

Add tooltips to the widgets in the preferences dialog. Add +/-
ToolButtons for adding and removing shared directories. Update the
sensitivity of the remove toolbutton, based on whether a row in the URI
model is selected, or if the model is empty. Remove the GtkAlignments
and use padding on containers. Set the correct response ID on the close
button. Set the entry text column in the GtkBuilder file.

12 years agogst-launch: Sink element returned from parse_bin
Jens Georg [Mon, 30 Jan 2012 19:58:10 +0000 (20:58 +0100)]
gst-launch: Sink element returned from parse_bin

Work around bgo#669060 with valac >= 0.15.1

12 years agobuild: Drop --strict-valac due to glib deprecation
Jens Georg [Sun, 29 Jan 2012 15:25:16 +0000 (16:25 +0100)]
build: Drop --strict-valac due to glib deprecation

12 years agogst-launch,test: Use new API
Jens Georg [Sun, 29 Jan 2012 14:28:23 +0000 (15:28 +0100)]
gst-launch,test: Use new API

vala-0.14 didn't complain about this so it wasn't caught.

12 years agotests: Add test for simple_search
Jens Georg [Sat, 28 Jan 2012 23:55:06 +0000 (00:55 +0100)]
tests: Add test for simple_search

https://bugzilla.gnome.org/show_bug.cgi?id=653120

12 years agocore: Fix simple search for offset > 0
Jens Georg [Sat, 28 Jan 2012 14:19:06 +0000 (15:19 +0100)]
core: Fix simple search for offset > 0

On a search request where offset was > 0 and limit was 0 due to
limiting the result set to offset the result was always a set of one.

Also total_matches was set to 0 in this case although we know the
number of total matches since using a start offset doesn't limit the
results.

https://bugzilla.gnome.org/show_bug.cgi?id=653120

12 years agocore: Properly replace @ADDRESS@ template
Jens Georg [Sat, 28 Jan 2012 13:41:54 +0000 (14:41 +0100)]
core: Properly replace @ADDRESS@ template

Replacing of the template was forgotten for proxy urls and transcoded
resources while moving the functionality from external plugin to core.

https://bugzilla.gnome.org/show_bug.cgi?id=663826

12 years agomedia-export: Delay virtual folder creation
Jens Georg [Sun, 16 Oct 2011 12:08:27 +0000 (14:08 +0200)]
media-export: Delay virtual folder creation

12 years agomedia-export: Fix endless loop
Jens Georg [Fri, 20 Jan 2012 21:16:45 +0000 (22:16 +0100)]
media-export: Fix endless loop

If a file is added in a directory tree that didn't contain anything
sharable before, the code would loop endlessly marching up the
filesystem hierarchy.

https://bugzilla.gnome.org/show_bug.cgi?id=668335

12 years agocore: Add missing }
Jens Georg [Fri, 20 Jan 2012 10:46:17 +0000 (11:46 +0100)]
core: Add missing }

12 years agocore: Don't append extension on error
Jens Georg [Thu, 19 Jan 2012 18:46:19 +0000 (19:46 +0100)]
core: Don't append extension on error

https://bugzilla.gnome.org/show_bug.cgi?id=644538

12 years agocore: Fix suffix for PNG thumbnails
Jens Georg [Thu, 19 Jan 2012 18:32:35 +0000 (19:32 +0100)]
core: Fix suffix for PNG thumbnails

12 years agocore: Append extensions to served files
Krzesimir Nowak [Mon, 12 Dec 2011 15:02:01 +0000 (16:02 +0100)]
core: Append extensions to served files

12 years agodoc: Clarify uris option of MediaExport
Jens Georg [Thu, 19 Jan 2012 17:56:26 +0000 (18:56 +0100)]
doc: Clarify uris option of MediaExport

https://bugzilla.gnome.org/show_bug.cgi?id=666363

12 years agocore: Prevent crash on back-end misbehaviour
Jens Georg [Mon, 9 Jan 2012 18:11:12 +0000 (19:11 +0100)]
core: Prevent crash on back-end misbehaviour

If the backend declares the OCMFlag.UPLOAD in a non-writable container,
bail out instead of crashing.

12 years agocore: Use correct error in CreateObject
Jens Georg [Mon, 9 Jan 2012 18:05:38 +0000 (19:05 +0100)]
core: Use correct error in CreateObject

If CreateObject is called with an id that describes an item instead of
a container ContentDirectory:2 spec says that the error should be 701
(No such object) instead of 713 (Restricted parent)

12 years agoexternal: Don't crash on hierarchical update
Jens Georg [Wed, 18 Jan 2012 16:37:47 +0000 (17:37 +0100)]
external: Don't crash on hierarchical update

If a MediaServer2 provider sends an update for /foo/bar/baz and
/foo/bar chances are that the update for /foo/bar invalidates the
parent pointer in /foo/bar/baz causing a crash of various sorts.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=759206

12 years agoUpdated Japanese translation
Jiro Matsuzawa [Sun, 8 Jan 2012 04:14:20 +0000 (13:14 +0900)]
Updated Japanese translation

12 years agobuild: Add option to generate coverage report
Jens Georg [Tue, 3 Jan 2012 20:10:04 +0000 (21:10 +0100)]
build: Add option to generate coverage report

12 years agotests: Extend rygel-http-get-test.vala
Marcin Kazmierczak [Fri, 23 Dec 2011 11:36:52 +0000 (12:36 +0100)]
tests: Extend rygel-http-get-test.vala

12 years agocore: Fix error handling in item creator
Jens Georg [Sun, 25 Dec 2011 13:06:49 +0000 (14:06 +0100)]
core: Fix error handling in item creator

Method was needlessly declared async, so the throwing of the exception
was not propagated properly in an case of error.

12 years agocore: Do not treat 'npt=0-' as seek request
Krzesimir Nowak [Wed, 26 Oct 2011 14:16:56 +0000 (16:16 +0200)]
core: Do not treat 'npt=0-' as seek request

'TimeSeekRange.dlna.org: npt=0-' means that whole item is requested,
so actually no seek is needed here.

https://bugzilla.gnome.org/show_bug.cgi?id=659432

12 years agocore: Always disconnect handler
Jens Georg [Fri, 18 Nov 2011 08:55:40 +0000 (09:55 +0100)]
core: Always disconnect handler

Prevents reference leaks on the container searched in.

12 years agocore: Remove reference cycle in HTTP request
Jens Georg [Mon, 19 Dec 2011 07:14:55 +0000 (08:14 +0100)]
core: Remove reference cycle in HTTP request

12 years agotests: Extend rygel-http-item-uri-test.vala
Marcin Kazmierczak [Thu, 22 Dec 2011 09:52:34 +0000 (10:52 +0100)]
tests: Extend rygel-http-item-uri-test.vala

New test case with incorrect url.

12 years agotests: Fix bug in HTTPItemUri test
Marcin Kazmierczak [Thu, 22 Dec 2011 09:22:05 +0000 (10:22 +0100)]
tests: Fix bug in HTTPItemUri test

test_construction_with_subtitle: Add default -1 Thumbnail index in
HTTPItemUri constructor call.

Previously test create HTTPItemURI object with Thumbnail index instead of
subtitle index.

12 years agocore: Simplify RTP depayloader guessing
Jens Georg [Fri, 16 Dec 2011 21:13:03 +0000 (22:13 +0100)]
core: Simplify RTP depayloader guessing

https://bugzilla.gnome.org/show_bug.cgi?id=663497

12 years agobuild: Bump vala requirement to 0.14.1
Jens Georg [Fri, 16 Dec 2011 20:43:42 +0000 (21:43 +0100)]
build: Bump vala requirement to 0.14.1

Needed for GStreamer VAPI fixes

12 years agocore: Prevent critical when device is not a DMS
Jens Georg [Thu, 15 Dec 2011 20:02:54 +0000 (21:02 +0100)]
core: Prevent critical when device is not a DMS

12 years agocore: Reuse description file saving
Jens Georg [Thu, 8 Dec 2011 18:22:34 +0000 (19:22 +0100)]
core: Reuse description file saving

12 years agocore: Refactor description document manipulation
Jens Georg [Sun, 27 Nov 2011 11:57:37 +0000 (12:57 +0100)]
core: Refactor description document manipulation

Move basic document manipulation inside a new class and use it in V1
and XBox hacks to eliminate the code duplication introduced when
splitting these two classes.

12 years agocore: Hide XBox album art handling
Jens Georg [Thu, 8 Dec 2011 18:37:18 +0000 (19:37 +0100)]
core: Hide XBox album art handling

Simply check the request in the hack constructor and rewrite the URL
to our thumbnail request format.

12 years agocore: Refactor client hacks
Jens Georg [Thu, 8 Dec 2011 18:30:58 +0000 (19:30 +0100)]
core: Refactor client hacks

Unify both constructors to operate on SoupMessage.

12 years agocore: Add configuration option for V1 downgrade
Jens Georg [Thu, 24 Nov 2011 12:54:48 +0000 (13:54 +0100)]
core: Add configuration option for V1 downgrade

12 years agocore: Separate V1 hacks from XBox 360 hacks
Jens Georg [Thu, 24 Nov 2011 12:07:22 +0000 (13:07 +0100)]
core: Separate V1 hacks from XBox 360 hacks

12 years agoTODO: Add some comments
Jens Georg [Wed, 14 Dec 2011 12:53:01 +0000 (13:53 +0100)]
TODO: Add some comments

12 years agodoc: Update URLs and tools for DBus interfaces
Jens Georg [Tue, 13 Dec 2011 09:24:32 +0000 (10:24 +0100)]
doc: Update URLs and tools for DBus interfaces

12 years agocore: Filter unsupported sort criterias from XBox
Jens Georg [Sun, 27 Nov 2011 18:10:01 +0000 (19:10 +0100)]
core: Filter unsupported sort criterias from XBox

This fixes the "Slideshow" option when selected from top-level picture
browsing dialog.

12 years agocore: Add hacks for XBMC
Jens Georg [Thu, 24 Nov 2011 09:14:42 +0000 (10:14 +0100)]
core: Add hacks for XBMC

XBMC fails to recognize DLNA mime-types as AAC for AAC files.

12 years agodoc: Update Mediathek docs and include in tarball
Jens Georg [Sun, 11 Dec 2011 16:56:54 +0000 (17:56 +0100)]
doc: Update Mediathek docs and include in tarball

https://bugzilla.gnome.org/show_bug.cgi?id=665946

12 years agocore: Override resource resolution for AVC
Jens Georg [Fri, 9 Dec 2011 11:47:50 +0000 (12:47 +0100)]
core: Override resource resolution for AVC

12 years agotracker: Refactor query triplets
Lukasz Pawlik [Tue, 8 Nov 2011 14:42:17 +0000 (15:42 +0100)]
tracker: Refactor query triplets

Use add method from base class.

12 years agoUpdated Polish translation
Piotr Drąg [Sun, 11 Dec 2011 16:24:48 +0000 (17:24 +0100)]
Updated Polish translation

12 years agocore: Change wording for profiles debugging
Jens Georg [Tue, 6 Dec 2011 12:26:58 +0000 (13:26 +0100)]
core: Change wording for profiles debugging

12 years agocore: Video framerate is a restriction, not format
Jens Georg [Tue, 6 Dec 2011 17:55:31 +0000 (18:55 +0100)]
core: Video framerate is a restriction, not format

12 years agotests: Fix build
Jens Georg [Mon, 5 Dec 2011 22:00:41 +0000 (23:00 +0100)]
tests: Fix build

12 years agocore: Dump encodebin profile in transcoder
Jens Georg [Sun, 4 Dec 2011 11:01:31 +0000 (12:01 +0100)]
core: Dump encodebin profile in transcoder

12 years agocore: Fix typo in MPEG2 TS container profile
Jens Georg [Sun, 4 Dec 2011 11:00:07 +0000 (12:00 +0100)]
core: Fix typo in MPEG2 TS container profile

12 years agoUpdate French translation
Alexandre Franke [Thu, 24 Nov 2011 09:55:22 +0000 (10:55 +0100)]
Update French translation

12 years agomedia-export: Fix regression in file monitor
Jens Georg [Thu, 24 Nov 2011 07:38:45 +0000 (08:38 +0100)]
media-export: Fix regression in file monitor

Changeset 05024f6e4e688a40629573eb0401f83421d32209 accidently removed
the support for _CREATED events.

12 years agoPrepare 0.13.0 RYGEL_0_13_0
Jens Georg [Sat, 22 Oct 2011 06:31:06 +0000 (08:31 +0200)]
Prepare 0.13.0

12 years agotests: Fix HTTPGet and HTTPResponse tests
Jens Georg [Wed, 23 Nov 2011 08:51:56 +0000 (09:51 +0100)]
tests: Fix HTTPGet and HTTPResponse tests

12 years agocore: Set all headers in RygelHTTPGet
Jens Georg [Tue, 22 Nov 2011 21:21:39 +0000 (22:21 +0100)]
core: Set all headers in RygelHTTPGet

Don't set Content-Length header in HEAD request for transcoded
resources. This was previously caused by the message encoding being
set to CONTENT_LENGTH by default. Moving the code sets the encoding
to EOF causing libsoup to not set the Content-Length header.

Also adds a proper Range header for byte-seek HEAD requests.

This fixes the random fails of test-case 7.4.28.2,3,4,6

12 years agocore: Error handling of upload file writing
Grzegorz Grabowski [Thu, 27 Oct 2011 12:56:00 +0000 (14:56 +0200)]
core: Error handling of upload file writing

If stream.write_all method threw an exception Rygel crashed.
It happened because on_got_body and on_got_chunk signals came after
HTTPPost object transitioned to finished state.
The fix disconnects from these signals after file writing errors occurs
since there is no recovery from such situation which in real
happens only when there is no disk space or max file size is limited.

12 years agoUpdated Spanish translation
Jorge González [Sun, 20 Nov 2011 09:39:20 +0000 (10:39 +0100)]
Updated Spanish translation