profile/ivi/rygel.git
13 years agotracker: Fix year in copyright headers
Zeeshan Ali (Khattak) [Sun, 28 Nov 2010 16:06:34 +0000 (18:06 +0200)]
tracker: Fix year in copyright headers

13 years agocore,plugins,tests: Change in coding-style
Zeeshan Ali (Khattak) [Sun, 28 Nov 2010 15:36:38 +0000 (17:36 +0200)]
core,plugins,tests: Change in coding-style

If the first argument to a function does not fit on the same line, we now
put the opening '(' on the next line rather than having it at the end of
the first line.

13 years agocore: Minor coding-style fix
Zeeshan Ali (Khattak) [Sun, 28 Nov 2010 15:33:08 +0000 (17:33 +0200)]
core: Minor coding-style fix

13 years agocore: Rename a variable to make everything fit 80-columns
Zeeshan Ali (Khattak) [Fri, 26 Nov 2010 14:09:31 +0000 (16:09 +0200)]
core: Rename a variable to make everything fit 80-columns

13 years agomedia-export: Fix bgo#635598
Jens Georg [Sat, 27 Nov 2010 14:00:41 +0000 (15:00 +0100)]
media-export: Fix bgo#635598

Always use the real root container, otherwise signals do not get
propagated properly

13 years agomedia-export: Minor coding-style fixes
Zeeshan Ali (Khattak) [Thu, 25 Nov 2010 18:21:10 +0000 (20:21 +0200)]
media-export: Minor coding-style fixes

13 years agomedia-export: Remove inline methods from HarvestingTask
Zeeshan Ali (Khattak) [Thu, 25 Nov 2010 18:20:39 +0000 (20:20 +0200)]
media-export: Remove inline methods from HarvestingTask

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Wed, 24 Nov 2010 16:17:20 +0000 (00:17 +0800)]
Update Simplified Chinese translation.

13 years agocore: Fix visibility ItemCreator.create_uri()
Zeeshan Ali (Khattak) [Mon, 22 Nov 2010 12:41:40 +0000 (14:41 +0200)]
core: Fix visibility ItemCreator.create_uri()

13 years agocore: Wait for new item to appear
Zeeshan Ali (Khattak) [Fri, 19 Nov 2010 17:24:15 +0000 (19:24 +0200)]
core: Wait for new item to appear

After adding a new item in a container, wair for it to actually appear
under the container in the hierarchy. This is needed to satisfy DLNA CTT
testcase 7.3.26.4,5.

13 years agocore: Micro coding-style fix
Zeeshan Ali (Khattak) [Fri, 19 Nov 2010 15:50:23 +0000 (17:50 +0200)]
core: Micro coding-style fix

13 years agoAdded UG translation
Gheyret T.Kenji [Sat, 20 Nov 2010 11:58:44 +0000 (12:58 +0100)]
Added UG translation

13 years agocore: Wait for container update after HTTP POST
Zeeshan Ali (Khattak) [Fri, 19 Nov 2010 13:13:20 +0000 (15:13 +0200)]
core: Wait for container update after HTTP POST

Wait for updated signal from the parent container after pushing content
to a child item before returning an 'OK' to the client. This is needed to
satisfy the bogus check at the end of the DLNA CTT testcase 7.3.136.4.

13 years agocore: Minor optimization/re-factor
Zeeshan Ali (Khattak) [Wed, 17 Nov 2010 17:18:16 +0000 (19:18 +0200)]
core: Minor optimization/re-factor

13 years agocore: Don't use expired cache of description doc
Zeeshan Ali (Khattak) [Wed, 17 Nov 2010 17:08:48 +0000 (19:08 +0200)]
core: Don't use expired cache of description doc

If the template device description was modified after cached description
was modified/created, use the template device description. Without this
change, user had to manually remove the cached description documents each
time we modified the templates.

13 years agocore: Remove now redundant vala work-arounds
Zeeshan Ali (Khattak) [Wed, 17 Nov 2010 15:13:04 +0000 (17:13 +0200)]
core: Remove now redundant vala work-arounds

13 years agompris: Simplify DBus related code
Zeeshan Ali (Khattak) [Wed, 17 Nov 2010 14:19:39 +0000 (16:19 +0200)]
mpris: Simplify DBus related code

- Require interface MediaPlayer2 from MediaPlayer2.Player as they are
  always implemented by the same object.
- Create proxy for only MediaPlayer2.Player interface and use that
  everywhere. No need to use Properties.get_all.

13 years agompris: Remove bogus comment resulting from C&P
Zeeshan Ali (Khattak) [Wed, 17 Nov 2010 14:18:45 +0000 (16:18 +0200)]
mpris: Remove bogus comment resulting from C&P

13 years agocore,mpris: Make use of GDBus prop change API
Zeeshan Ali (Khattak) [Wed, 17 Nov 2010 13:33:28 +0000 (15:33 +0200)]
core,mpris: Make use of GDBus prop change API

No need for using FreeDesktop.Properties.properties_changed when GDBus
provides us an API to hook to property changes.

13 years agompris: Require DBusProxy for all proxy interfaces
Zeeshan Ali (Khattak) [Wed, 17 Nov 2010 13:42:03 +0000 (15:42 +0200)]
mpris: Require DBusProxy for all proxy interfaces

13 years agoexternal,mpris: Prefer async D-Bus proxies creation
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 15:47:59 +0000 (17:47 +0200)]
external,mpris: Prefer async D-Bus proxies creation

13 years agocore,plugins: Load D-Bus properties only when needed
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:59:20 +0000 (15:59 +0200)]
core,plugins: Load D-Bus properties only when needed

Don't load properties on D-Bus proxy creation if not needed.

13 years agocore: Remove work-around for bug#631044
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:35:16 +0000 (15:35 +0200)]
core: Remove work-around for bug#631044

13 years agoRequire vala 0.11.2
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:27:19 +0000 (15:27 +0200)]
Require vala 0.11.2

13 years agocore: Only set dlnaManaged flags if non-zero
Zeeshan Ali (Khattak) [Tue, 16 Nov 2010 14:42:24 +0000 (16:42 +0200)]
core: Only set dlnaManaged flags if non-zero

Only set dlnaManaged flags if any of the contained flag is set. This is
needed to comply with DLNA requirements 7.3.118.2-3.

13 years agocore: Correct resolution for MPEG_TS_SD_EU_ISO
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 20:09:45 +0000 (22:09 +0200)]
core: Correct resolution for MPEG_TS_SD_EU_ISO

13 years agotracker: Keep only one hierarchy
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:17:27 +0000 (15:17 +0200)]
tracker: Keep only one hierarchy

13 years agoUpdated Thai Translation.
Akom Chotiphantawanon [Mon, 15 Nov 2010 12:50:32 +0000 (19:50 +0700)]
Updated Thai Translation.

13 years agoUpdated Romanian translation
Daniel Șerbănescu [Sun, 14 Nov 2010 11:15:12 +0000 (13:15 +0200)]
Updated Romanian translation

13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Sun, 14 Nov 2010 11:11:57 +0000 (13:11 +0200)]
Updated Romanian translation

13 years agoAdded UG translation
Gheyret T.Kenji [Sat, 13 Nov 2010 23:08:10 +0000 (00:08 +0100)]
Added UG translation

13 years agoAdded UG translation
Gheyret T.Kenji [Sat, 13 Nov 2010 21:55:38 +0000 (22:55 +0100)]
Added UG translation

13 years agoUpdated Galician translations
Fran Diéguez [Sat, 13 Nov 2010 00:58:55 +0000 (01:58 +0100)]
Updated Galician translations

13 years agotracker: Handle updates in CategoryAllContainer
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 15:51:53 +0000 (17:51 +0200)]
tracker: Handle updates in CategoryAllContainer

Handle graph updates in CategoryAllContainer instead of MetadataValues. In
CategoryAllContainer we can easily know if the update affect the container or
not, which is not true for MetadataValues and we end-up launching a lot of
redundant Tracker queries and network traffic.

13 years agotracker: SearchContainer.get_children_count now protected
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 15:51:05 +0000 (17:51 +0200)]
tracker: SearchContainer.get_children_count now protected

13 years agotracker: Adapt to new Tracker update API
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 13:38:22 +0000 (15:38 +0200)]
tracker: Adapt to new Tracker update API

13 years agotracker: Micro code-readability improvement
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 13:37:05 +0000 (15:37 +0200)]
tracker: Micro code-readability improvement

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Thu, 11 Nov 2010 07:14:32 +0000 (09:14 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 11 Nov 2010 05:35:42 +0000 (07:35 +0200)]
Updated Hebrew translation.

13 years agoAnnounement for release 0.9.3
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 14:21:08 +0000 (16:21 +0200)]
Announement for release 0.9.3

13 years agoui,data: Port UI to gtk-3
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 14:11:38 +0000 (16:11 +0200)]
ui,data: Port UI to gtk-3

13 years agobuild: Build against gtk-3 only
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 13:19:40 +0000 (15:19 +0200)]
build: Build against gtk-3 only

At this point in unstable cycle, we can simply forget about gtk-2.

13 years agodata: Default config for upload and deletion
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 13:03:42 +0000 (15:03 +0200)]
data: Default config for upload and deletion

13 years agocore: Configuration for (dis)allowing deletion
Zeeshan Ali (Khattak) [Tue, 9 Nov 2010 17:49:41 +0000 (19:49 +0200)]
core: Configuration for (dis)allowing deletion

Enable user to choose if she wants to (dis)allowing media object deletion.

13 years agocore: Configuration for (dis)allowing upload
Zeeshan Ali (Khattak) [Wed, 3 Nov 2010 11:45:45 +0000 (13:45 +0200)]
core: Configuration for (dis)allowing upload

Enable user to choose if she wants to (dis)allowing media object upload.

13 years agoUpdated Spanish translation
Jorge González [Tue, 9 Nov 2010 09:27:06 +0000 (10:27 +0100)]
Updated Spanish translation

13 years agoAnnouncement for release 0.9.2 RYGEL_0_9_2
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 13:58:36 +0000 (15:58 +0200)]
Announcement for release 0.9.2

13 years agocore: Make use of new gupnp-av 'createClass' API
Zeeshan Ali (Khattak) [Sun, 7 Nov 2010 22:42:11 +0000 (00:42 +0200)]
core: Make use of new gupnp-av 'createClass' API

13 years agocore: MediaObject handles 'restricted' prop on its own
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 18:02:19 +0000 (20:02 +0200)]
core: MediaObject handles 'restricted' prop on its own

There is no need for inheriting classes to provides it's value as MediaObject
can do that based on the value of abstract property 'ocm_flags' provided by
inheriting classes.

13 years agodata: Advertize support for creation of destroyable objects
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 18:00:09 +0000 (20:00 +0200)]
data: Advertize support for creation of destroyable objects

13 years agocore: Set dlnaManaged attribute on DIDL-Lite objects
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 15:45:18 +0000 (17:45 +0200)]
core: Set dlnaManaged attribute on DIDL-Lite objects

This helps us pass the following DLNA CTT testcases:

* 7.3.118.2,3
* 7.3.121.1
* 7.3.139.1

This change should also satisfy 7.3.118.4 but that seems to have some "known
issue": performs some invalid checks and ends up failing.

13 years agocore: Make use of new OCM flags API in gupnp-av
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 15:43:45 +0000 (17:43 +0200)]
core: Make use of new OCM flags API in gupnp-av

Make use of new DLNA OCM flags API in gupnp-av for access-writes.

13 years agobuild: Require git master of gupnp-av & gupnp-vala
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 15:16:33 +0000 (17:16 +0200)]
build: Require git master of gupnp-av & gupnp-vala

13 years agocore: Add access-writes to MediaObject
Zeeshan Ali (Khattak) [Wed, 3 Nov 2010 11:46:27 +0000 (13:46 +0200)]
core: Add access-writes to MediaObject

MediaItem and MediaContainer now provides boolean properties specifying
different access writes.

13 years agocore: Port to vala 0.11.2
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:59:26 +0000 (22:59 +0200)]
core: Port to vala 0.11.2

Do so without breaking the build against 0.11.2.

13 years agotests: Update test cases as per latest changes
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:55:01 +0000 (22:55 +0200)]
tests: Update test cases as per latest changes

13 years agotests: Correct visibility of a constant
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:52:23 +0000 (22:52 +0200)]
tests: Correct visibility of a constant

13 years agotests: Port to vala 0.11.1
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:48:16 +0000 (22:48 +0200)]
tests: Port to vala 0.11.1

13 years agocore: Remove redundant arg from a method
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:44:24 +0000 (22:44 +0200)]
core: Remove redundant arg from a method

Remove now redundant 'length' argument of SeekableResponse.push_data().

13 years agocore: Only push read bytes, not the whole buffer
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:39:03 +0000 (22:39 +0200)]
core: Only push read bytes, not the whole buffer

This corrects a serious regression in seekable HTTP GET handling
introduced by commit c398c26.

13 years agoi18n: Update ignored & translated files list
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:23:38 +0000 (22:23 +0200)]
i18n: Update ignored & translated files list

13 years agocore: Sort by title by default
Zeeshan Ali (Khattak) [Sun, 7 Nov 2010 22:57:51 +0000 (00:57 +0200)]
core: Sort by title by default

Sort Search and Browse results alphabetically (in descending order) by title
when no sort criteria is specified by the client.

13 years agoAdded Thai translation.
Akom C [Fri, 5 Nov 2010 13:01:50 +0000 (20:01 +0700)]
Added Thai translation.

13 years agocore: Remove redundant call to Gst.init()
Zeeshan Ali (Khattak) [Wed, 3 Nov 2010 12:32:51 +0000 (14:32 +0200)]
core: Remove redundant call to Gst.init()

13 years agocore: Unique short arg for disabling WMV transcoding
Zeeshan Ali (Khattak) [Tue, 2 Nov 2010 18:14:13 +0000 (20:14 +0200)]
core: Unique short arg for disabling WMV transcoding

13 years agocore: Implement DLNA's 'auto-destroy'
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 21:50:07 +0000 (00:50 +0300)]
core: Implement DLNA's 'auto-destroy'

If an item has been created using DLNA's AnyContainer feature, we are required
to destroy it:

* If no content are pushed to it after 35 seconds of it's creation.
* If content transfer to newly created item fails.

13 years agocore: Only allow importing to our own items
Zeeshan Ali (Khattak) [Tue, 2 Nov 2010 14:40:17 +0000 (16:40 +0200)]
core: Only allow importing to our own items

Only allow importing contents to URIs belonging to our own items.

13 years agocore: No need for modifying value of 'ContainerID'
Zeeshan Ali (Khattak) [Tue, 2 Nov 2010 13:20:49 +0000 (15:20 +0200)]
core: No need for modifying value of 'ContainerID'

Keep the original values of all 'in' arguments.

13 years agocore: Fix visibility of ItemDestroyer.remove_object
Zeeshan Ali (Khattak) [Fri, 29 Oct 2010 14:23:37 +0000 (17:23 +0300)]
core: Fix visibility of ItemDestroyer.remove_object

13 years agoRevert "core: Use Signal.connect* for connecting dynamic signals"
Zeeshan Ali (Khattak) [Mon, 18 Oct 2010 12:55:20 +0000 (15:55 +0300)]
Revert "core: Use Signal.connect* for connecting dynamic signals"

This reverts commit 565c72bba0bb5f6ff60fa587a78a02cfed4e5ca9.

Conflicts:

src/rygel/rygel-live-response.vala
src/rygel/rygel-mp2ts-transcoder-bin.vala
src/rygel/rygel-wmv-transcoder-bin.vala

13 years agocore: Correct visibility of a few fields
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 22:41:29 +0000 (01:41 +0300)]
core: Correct visibility of a few fields

13 years agocore: No need to pass dummy args to Gst.init()
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 22:37:47 +0000 (01:37 +0300)]
core: No need to pass dummy args to Gst.init()

I'm not exactly sure why I was doing that.

13 years agocore,plugins: Port to vala 0.11.1
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 22:36:14 +0000 (01:36 +0300)]
core,plugins: Port to vala 0.11.1

13 years agobuild: Require vala 0.11.1
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 21:59:01 +0000 (00:59 +0300)]
build: Require vala 0.11.1

13 years agoAdded Catalan (Valencian) translation
Carles Ferrando [Fri, 29 Oct 2010 20:57:53 +0000 (21:57 +0100)]
Added Catalan (Valencian) translation

13 years agocore: Document WritableContainer some more
Zeeshan Ali (Khattak) [Fri, 29 Oct 2010 12:33:39 +0000 (15:33 +0300)]
core: Document WritableContainer some more

Provide more information on what exactly is expected and not expected from
WritableContainer implementations.

13 years agocore,data: Implement ContentDirecotory's DestroyObject
Zeeshan Ali (Khattak) [Thu, 28 Oct 2010 11:59:16 +0000 (14:59 +0300)]
core,data: Implement ContentDirecotory's DestroyObject

13 years agocore: Add MediaObject.get_writables()
Zeeshan Ali (Khattak) [Thu, 28 Oct 2010 14:43:05 +0000 (17:43 +0300)]
core: Add MediaObject.get_writables()

Add a method that fetches File objects for all its writable URIs.

13 years agocore,plugins: Add WritableContainer.remove_item()
Zeeshan Ali (Khattak) [Wed, 27 Oct 2010 17:55:23 +0000 (20:55 +0300)]
core,plugins: Add WritableContainer.remove_item()

Writable containers now support removal of (direct) child item, given its
ID.

13 years agotracker: SearchContainer.get_item_info() now protected
Zeeshan Ali (Khattak) [Wed, 27 Oct 2010 17:58:03 +0000 (20:58 +0300)]
tracker: SearchContainer.get_item_info() now protected

13 years agocore: Don't allow uploading to non-place-holder items
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 23:39:49 +0000 (02:39 +0300)]
core: Don't allow uploading to non-place-holder items

ImportResource and HTTP POST now error out on requests for
non-place-holder items.

13 years agocore: MediaItem.place_holder is now a property
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 23:36:17 +0000 (02:36 +0300)]
core: MediaItem.place_holder is now a property

This is to make it visible to all (core) classes, while not allowing them
to write to it.

13 years agocore: Only provide 'importUri' for place-holder items
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 17:19:05 +0000 (20:19 +0300)]
core: Only provide 'importUri' for place-holder items

13 years agocore: Remove redundant string conversions
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 17:08:17 +0000 (20:08 +0300)]
core: Remove redundant string conversions

13 years agocore,plugins: Special interface for writable containers
Zeeshan Ali (Khattak) [Wed, 20 Oct 2010 14:40:45 +0000 (17:40 +0300)]
core,plugins: Special interface for writable containers

Containers that allow creation, editing and/or removal of new items under them
are now supposed to implement this new interface.

13 years agomedia-export,tracker: Minor clean-ups
Zeeshan Ali (Khattak) [Wed, 20 Oct 2010 14:38:11 +0000 (17:38 +0300)]
media-export,tracker: Minor clean-ups

13 years agotracker: Update container upon adding item
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 17:01:38 +0000 (20:01 +0300)]
tracker: Update container upon adding item

13 years agotracker: Save title when adding item to store
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 16:37:13 +0000 (19:37 +0300)]
tracker: Save title when adding item to store

13 years agocore,plugins: Don't create files for new items
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 14:54:22 +0000 (17:54 +0300)]
core,plugins: Don't create files for new items

There is no need to actually create the file for new items. The file will
automatically be created when/if contents are copied to the new empy item. This
change also turns MediaContainer.add_item() into an abstract method.

13 years agocore,media-export: Micro coding-style fixes
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 14:57:51 +0000 (17:57 +0300)]
core,media-export: Micro coding-style fixes

13 years agotracker: No need for special item creation class
Zeeshan Ali (Khattak) [Sat, 16 Oct 2010 17:46:53 +0000 (20:46 +0300)]
tracker: No need for special item creation class

13 years agocore: Remove redundant item size initialization
Zeeshan Ali (Khattak) [Fri, 15 Oct 2010 17:18:32 +0000 (20:18 +0300)]
core: Remove redundant item size initialization

13 years agocore,tracker: CreateObject should use URI when provided
Zeeshan Ali (Khattak) [Fri, 15 Oct 2010 16:56:43 +0000 (19:56 +0300)]
core,tracker: CreateObject should use URI when provided

13 years agotracker: Put size in store only if its > 0
Zeeshan Ali (Khattak) [Fri, 15 Oct 2010 14:22:38 +0000 (17:22 +0300)]
tracker: Put size in store only if its > 0

Tracker keeps the size set by us originally even after the size changes. A
simple work-around is to just not set the size if its an empty file.

13 years agoUpdate Simplified Chinese translation
Aron Xu [Mon, 25 Oct 2010 09:21:12 +0000 (17:21 +0800)]
Update Simplified Chinese translation

14 years agompris: Fix wrong service destination
Jens Georg [Sat, 23 Oct 2010 22:04:43 +0000 (00:04 +0200)]
mpris: Fix wrong service destination

Left-over from dbus-glib to GDBus conversion

14 years agoUpdated British English translation
Bruce Cowan [Sat, 23 Oct 2010 15:12:02 +0000 (16:12 +0100)]
Updated British English translation

14 years agomedia-export: Print enum name for debug
Jens Georg [Fri, 22 Oct 2010 21:32:20 +0000 (23:32 +0200)]
media-export: Print enum name for debug

14 years agomedia-export: Fix indent
Jens Georg [Tue, 19 Oct 2010 11:30:57 +0000 (13:30 +0200)]
media-export: Fix indent

14 years agomedia-export: Use simple mode fallback
Jens Georg [Tue, 19 Oct 2010 11:27:54 +0000 (13:27 +0200)]
media-export: Use simple mode fallback

If files are not discoverable, use simple mode for that file