profile/ivi/rygel.git
12 years agocore: Prevent crash if User-Agent is not in UTF-8
Lukasz Pawlik [Thu, 23 Feb 2012 14:58:12 +0000 (15:58 +0100)]
core: Prevent crash if User-Agent is not in UTF-8

Based on Lukasz's Harmattan patch.

12 years agoRevert "core: Do not treat 'npt=0-' as seek request"
Jens Georg [Mon, 19 Mar 2012 19:13:17 +0000 (20:13 +0100)]
Revert "core: Do not treat 'npt=0-' as seek request"

This reverts commit 15d7783f850a28a221bca49eac118d6744c8d9b6.

12 years agocore: Set X_DLNACAP according to configuration
Jens Georg [Sun, 18 Mar 2012 21:02:10 +0000 (22:02 +0100)]
core: Set X_DLNACAP according to configuration

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

12 years agomedia-export: Really set proper UPnP class
Jens Georg [Sun, 18 Mar 2012 17:09:00 +0000 (18:09 +0100)]
media-export: Really set proper UPnP class

Commit baa6f4c4 used a wrong asumption so the class was still
.storageFolder instead of .musicAlbum.

12 years agocore: Prevent crash on missing element
Jens Georg [Sun, 18 Mar 2012 13:19:52 +0000 (14:19 +0100)]
core: Prevent crash on missing element

12 years agobuild: Drop max version requirements
Jens Georg [Sat, 17 Mar 2012 17:19:47 +0000 (18:19 +0100)]
build: Drop max version requirements

12 years agoUpdated Latvian translation.
Rudolfs Mazurs [Sat, 17 Mar 2012 10:16:01 +0000 (12:16 +0200)]
Updated Latvian translation.

12 years agompris: Don't abort if client uses wrong type
Jens Georg [Sat, 17 Mar 2012 09:09:02 +0000 (10:09 +0100)]
mpris: Don't abort if client uses wrong type

Check that we always get a{sv} for property changes.

12 years agoUpdated Polish translation
Piotr Drąg [Fri, 16 Mar 2012 20:05:02 +0000 (21:05 +0100)]
Updated Polish translation

12 years agocore: Return 404 on missing thumbnail
Jens Georg [Thu, 15 Mar 2012 07:56:59 +0000 (08:56 +0100)]
core: Return 404 on missing thumbnail

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

12 years agocore: Do not abort on invalid indices
Jens Georg [Wed, 14 Mar 2012 16:01:42 +0000 (17:01 +0100)]
core: Do not abort on invalid indices

Check if the thumbnail or subtitle a client requestes actually exists.
Otherwise libgee just aborts.

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

12 years agotracker: Clean-up alternative property keys
Jens Georg [Sat, 17 Dec 2011 13:06:25 +0000 (14:06 +0100)]
tracker: Clean-up alternative property keys

12 years agoplaybin: Emit LastChange when duration is known
Jens Georg [Tue, 13 Mar 2012 12:03:32 +0000 (13:03 +0100)]
playbin: Emit LastChange when duration is known

12 years agomediathek: Use debug instead of warning
Jens Georg [Sat, 10 Mar 2012 11:27:51 +0000 (13:27 +0200)]
mediathek: Use debug instead of warning

Just skip the item, if any of those nodes is missing it's not a video
item so we're not interested in it. There is no need to display a scary
warning for this.

12 years agodata: Use new logo
Jens Georg [Thu, 8 Mar 2012 12:08:44 +0000 (14:08 +0200)]
data: Use new logo

12 years agoPrepare 0.13.3 RYGEL_0_13_3
Jens Georg [Wed, 7 Mar 2012 07:32:49 +0000 (09:32 +0200)]
Prepare 0.13.3

12 years agobuild: Bump libsoup max version to next stable
Jens Georg [Wed, 7 Mar 2012 07:26:53 +0000 (09:26 +0200)]
build: Bump libsoup max version to next stable

12 years agocore: Fix XBox music browsing
Jens Georg [Mon, 5 Mar 2012 11:07:54 +0000 (13:07 +0200)]
core: Fix XBox music browsing

9aff5d6 was filtering out everything on Album/Artist view on Tracker plugin.

12 years agoRevert "core: Add pupnp-based clients to V1 downgrade"
Jens Georg [Sat, 3 Mar 2012 08:40:47 +0000 (10:40 +0200)]
Revert "core: Add pupnp-based clients to V1 downgrade"

This reverts commit e20944a983caa11314ffd280ab7ee2a8b73d5957.

VLC 2.0 fixes this, no need for this crude work-around for obsolete versions

12 years agocore: Add pupnp-based clients to V1 downgrade
Jens Georg [Fri, 2 Mar 2012 20:57:50 +0000 (22:57 +0200)]
core: Add pupnp-based clients to V1 downgrade

Fixes VLC 1.1.x UPnP support

12 years agoUpdated Serbian translation
Мирослав Николић [Thu, 1 Mar 2012 09:58:10 +0000 (10:58 +0100)]
Updated Serbian translation

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