profile/ivi/rygel.git
14 years agocore: Introduce SearchExpression.to_string ()
Zeeshan Ali (Khattak) [Tue, 3 Nov 2009 16:09:58 +0000 (18:09 +0200)]
core: Introduce SearchExpression.to_string ()

14 years agocore: SearchExpression is now abstract
Zeeshan Ali (Khattak) [Tue, 3 Nov 2009 16:09:29 +0000 (18:09 +0200)]
core: SearchExpression is now abstract

14 years agocore: Well-document the SearchCriteriaParser logic
Zeeshan Ali (Khattak) [Tue, 3 Nov 2009 15:11:30 +0000 (17:11 +0200)]
core: Well-document the SearchCriteriaParser logic

14 years agocore: Make Dummy expression classes more private
Zeeshan Ali (Khattak) [Tue, 3 Nov 2009 14:37:10 +0000 (16:37 +0200)]
core: Make Dummy expression classes more private

14 years agocore: Update copyright header
Zeeshan Ali (Khattak) [Tue, 3 Nov 2009 14:24:09 +0000 (16:24 +0200)]
core: Update copyright header

14 years agocore: No need for SearchCriteria class
Zeeshan Ali (Khattak) [Tue, 3 Nov 2009 14:23:10 +0000 (16:23 +0200)]
core: No need for SearchCriteria class

In the end, all we need is the search expression tree.

14 years agocore: Basic blocks for search criteria parsing
Zeeshan Ali (Khattak) [Mon, 2 Nov 2009 18:48:17 +0000 (20:48 +0200)]
core: Basic blocks for search criteria parsing

14 years agobuild: Bump-up gupnp-vala and gupnp-av requirements
Zeeshan Ali (Khattak) [Mon, 2 Nov 2009 18:50:23 +0000 (20:50 +0200)]
build: Bump-up gupnp-vala and gupnp-av requirements

Require current git master of gupnp-vala and gupnp-av.

14 years agocore: Dummy Search implementation
Zeeshan Ali (Khattak) [Thu, 29 Oct 2009 00:46:50 +0000 (02:46 +0200)]
core: Dummy Search implementation

Right now it just parses the 'in' arguments and provides an empty list
as the result.

14 years agocore: Specify basic properties in SearchCapabilities
Zeeshan Ali (Khattak) [Wed, 28 Oct 2009 16:06:06 +0000 (18:06 +0200)]
core: Specify basic properties in SearchCapabilities

14 years agocore: search_caps is now a private constant
Zeeshan Ali (Khattak) [Wed, 28 Oct 2009 15:55:09 +0000 (17:55 +0200)]
core: search_caps is now a private constant

ContentDirectory.search_caps is now a private constant.

14 years agodata: Advertise Search functionality
Zeeshan Ali (Khattak) [Wed, 28 Oct 2009 15:12:56 +0000 (17:12 +0200)]
data: Advertise Search functionality

14 years agotracker: Correct icon path RYGEL_0_4_4
Zeeshan Ali (Khattak) [Tue, 27 Oct 2009 13:04:20 +0000 (15:04 +0200)]
tracker: Correct icon path

Load icon from tracker's icon directory rather than Rygel's.

14 years agoRevert "core: Link to gst-interfaces"
Zeeshan Ali (Khattak) [Tue, 27 Oct 2009 14:37:01 +0000 (16:37 +0200)]
Revert "core: Link to gst-interfaces"

This reverts commit fbd10c73142e89d3b2babfbcdf3ac1c3421ade47 and update
NEWS file accordingly.

14 years agogst-renderer: Correct name of module file
Zeeshan Ali (Khattak) [Tue, 27 Oct 2009 14:53:10 +0000 (16:53 +0200)]
gst-renderer: Correct name of module file

14 years agocore: Prepare NEWS file for release 0.4.4
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 23:45:18 +0000 (01:45 +0200)]
core: Prepare NEWS file for release 0.4.4

14 years agodata: Default configuration for GstRenderer
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 21:32:10 +0000 (23:32 +0200)]
data: Default configuration for GstRenderer

14 years agobuild: configure tells if gst-renderer is enabled
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 21:26:13 +0000 (23:26 +0200)]
build: configure tells if gst-renderer is enabled

14 years agocore: Provide separate COPYING file for gst-renderer
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 21:18:37 +0000 (23:18 +0200)]
core: Provide separate COPYING file for gst-renderer

gst-renderer is still GPLv2

14 years agocore: Use new async syntax in PluginLoader code
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 17:32:06 +0000 (19:32 +0200)]
core: Use new async syntax in PluginLoader code

14 years agocore: Use 'message()' for plugin availability
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 17:15:37 +0000 (19:15 +0200)]
core: Use 'message()' for plugin availability

14 years agocore: Early ignorance of disabled plugins
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 17:11:22 +0000 (19:11 +0200)]
core: Early ignorance of disabled plugins

If a plugin is disabled in the config, the PluginLoader simply
ignores it's request to attach itself to Rygel.

14 years agocore: Load config before setting log handler
Zeeshan Ali (Khattak) [Mon, 26 Oct 2009 14:49:17 +0000 (16:49 +0200)]
core: Load config before setting log handler

Setting log handler before loading the config was suppressing all
debug messages. However now we have the problem that ALL messages
are printed even if they are of the level that is not allowed by the
config. Hopefully this problem is much more tolerable than the problem
this commit solves since there are not many messages printed before
config is loaded.

14 years agocore,external: Move string substitution to core
Zeeshan Ali (Khattak) [Sun, 25 Oct 2009 15:07:16 +0000 (17:07 +0200)]
core,external: Move string substitution to core

Now internal plugins can use the string substitution magic in title
strings as well.

14 years agocore: Simpler buffer processing
Zeeshan Ali (Khattak) [Sun, 25 Oct 2009 02:43:35 +0000 (04:43 +0200)]
core: Simpler buffer processing

No need to keep a queue of buffers. Just use closure to pass the
buffer to the idle handler.

14 years agoexternal: Remove redundant part from FIXME comment
Zeeshan Ali (Khattak) [Sat, 24 Oct 2009 23:14:32 +0000 (02:14 +0300)]
external: Remove redundant part from FIXME comment

14 years agoexternal: Micro refactoring
Zeeshan Ali (Khattak) [Sat, 24 Oct 2009 23:11:50 +0000 (02:11 +0300)]
external: Micro refactoring

14 years agoexternal: Turn ExternalItem class into a factory
Zeeshan Ali (Khattak) [Sat, 24 Oct 2009 23:10:51 +0000 (02:10 +0300)]
external: Turn ExternalItem class into a factory

14 years agoexternal: Turn Thumbnail class into a factory
Zeeshan Ali (Khattak) [Sat, 24 Oct 2009 22:51:44 +0000 (01:51 +0300)]
external: Turn Thumbnail class into a factory

14 years agocore: Defer creation of device to mainloop
Zeeshan Ali (Khattak) [Sat, 24 Oct 2009 22:25:26 +0000 (01:25 +0300)]
core: Defer creation of device to mainloop

14 years agoexternal: No need to pass D-Bus connection around
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 21:28:15 +0000 (00:28 +0300)]
external: No need to pass D-Bus connection around

14 years agoexternal: Put ExternalPluginFactory in Rygel namespace
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 21:27:22 +0000 (00:27 +0300)]
external: Put ExternalPluginFactory in Rygel namespace

14 years agoexternal: Separate factory for icon info fetching
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 21:11:08 +0000 (00:11 +0300)]
external: Separate factory for icon info fetching

14 years agoexternal: Prefer factory usage over static methods
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 20:21:29 +0000 (23:21 +0300)]
external: Prefer factory usage over static methods

14 years agoexternal: Micro indentation fix
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 20:21:02 +0000 (23:21 +0300)]
external: Micro indentation fix

14 years agoexternal: Use Freedesktop.GetAll to get properties
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 16:53:48 +0000 (19:53 +0300)]
external: Use Freedesktop.GetAll to get properties

Use Freedesktop.GetAll to get properties of root container

14 years agoexternal: Use icon if provided by the service
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 15:29:50 +0000 (18:29 +0300)]
external: Use icon if provided by the service

14 years agocore,tracker: Plugin provide URIs for icons
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 14:02:55 +0000 (17:02 +0300)]
core,tracker: Plugin provide URIs for icons

Plugin provide URIs for icons rather than path

14 years agoexternal: Async creation of plugin instance
Zeeshan Ali (Khattak) [Tue, 20 Oct 2009 11:46:12 +0000 (14:46 +0300)]
external: Async creation of plugin instance

14 years agoexternal: Support pixel-aspect-ratio properties
Zeeshan Ali (Khattak) [Mon, 19 Oct 2009 22:46:57 +0000 (01:46 +0300)]
external: Support pixel-aspect-ratio properties

14 years agoexternal: Make use of thumbnails
Zeeshan Ali (Khattak) [Mon, 19 Oct 2009 22:28:38 +0000 (01:28 +0300)]
external: Make use of thumbnails

Now external plugins can provide thumbnails too, yay!

14 years agocore: Fix LiveResponse wrt latest async changes
Zeeshan Ali (Khattak) [Sat, 24 Oct 2009 15:46:17 +0000 (18:46 +0300)]
core: Fix LiveResponse wrt latest async changes

14 years agocore: Workaround bug in sqlite 3.6.12
Jens Georg [Wed, 21 Oct 2009 15:23:55 +0000 (17:23 +0200)]
core: Workaround bug in sqlite 3.6.12

Apparently select count(*) on an empty sqlite_master table triggers bug #3774.
Used another query to check if there is data in that table which won't make
sqlite 3.6.12 crash.

14 years agocore: Fix Content-Length: for partial requests
Jens Georg [Sat, 24 Oct 2009 00:45:50 +0000 (02:45 +0200)]
core: Fix Content-Length: for partial requests

14 years agocore,media-export: Check for playbin
Jens Georg [Wed, 21 Oct 2009 12:06:33 +0000 (14:06 +0200)]
core,media-export: Check for playbin

Properly check for playbin[2] availability upon creation and react more nicely
with a message to the user to check his/her setup

14 years agomedia-export: Remove warnings from refactoring
Jens Georg [Wed, 30 Sep 2009 12:59:58 +0000 (14:59 +0200)]
media-export: Remove warnings from refactoring

14 years agocore: Add compile time option for SQL debugging
Jens Georg [Thu, 1 Oct 2009 16:32:42 +0000 (18:32 +0200)]
core: Add compile time option for SQL debugging

14 years agocore: small formatting update
Jens Georg [Thu, 22 Oct 2009 22:33:49 +0000 (00:33 +0200)]
core: small formatting update

14 years agocore: Make @null static in Database class
Jens Georg [Tue, 20 Oct 2009 17:02:12 +0000 (19:02 +0200)]
core: Make @null static in Database class

There is no need for an instance of Database to generate a null pointer

14 years agocore: update formatting
Jens Georg [Tue, 20 Oct 2009 16:54:02 +0000 (18:54 +0200)]
core: update formatting

14 years agocore: Use closure table to delete object
Jens Georg [Sat, 3 Oct 2009 11:17:41 +0000 (13:17 +0200)]
core: Use closure table to delete object

This rids us of the sweeper in Idle and possible database inconsistency

14 years agocore: get rid off "get_table" function
Jens Georg [Thu, 1 Oct 2009 17:08:41 +0000 (19:08 +0200)]
core: get rid off "get_table" function

14 years agocore: Add closure table to speed up object lookup
Jens Georg [Thu, 1 Oct 2009 16:47:22 +0000 (18:47 +0200)]
core: Add closure table to speed up object lookup

14 years agocore: use index on Object.parent
Jens Georg [Wed, 30 Sep 2009 15:53:37 +0000 (17:53 +0200)]
core: use index on Object.parent

14 years agocore: add sqlite pragmas
Jens Georg [Wed, 30 Sep 2009 14:57:46 +0000 (16:57 +0200)]
core: add sqlite pragmas

14 years agocore: Fix remaining warnings
Jens Georg [Wed, 30 Sep 2009 12:52:30 +0000 (14:52 +0200)]
core: Fix remaining warnings

14 years agocore: Use Rygel.Database at remaining places
Jens Georg [Wed, 30 Sep 2009 12:34:24 +0000 (14:34 +0200)]
core: Use Rygel.Database at remaining places

14 years agocore: make Database.rollback() non-throwing
Jens Georg [Wed, 30 Sep 2009 11:37:48 +0000 (13:37 +0200)]
core: make Database.rollback() non-throwing

14 years agocore: port database upgrade to new api
Jens Georg [Wed, 30 Sep 2009 11:23:10 +0000 (13:23 +0200)]
core: port database upgrade to new api

14 years agocore: add assert to enforce null-pointer only
Jens Georg [Wed, 30 Sep 2009 11:22:31 +0000 (13:22 +0200)]
core: add assert to enforce null-pointer only

14 years agocore: port schema creation to new database class
Jens Georg [Wed, 30 Sep 2009 11:09:28 +0000 (13:09 +0200)]
core: port schema creation to new database class

14 years agocore: delegate exec in special cases
Jens Georg [Wed, 30 Sep 2009 11:04:51 +0000 (13:04 +0200)]
core: delegate exec in special cases

if there's nothing to bind and noone to callback, just forward to SQLite

14 years agocore: add begin, commit and rollback methods
Jens Georg [Wed, 30 Sep 2009 10:34:22 +0000 (12:34 +0200)]
core: add begin, commit and rollback methods

14 years agocore: Move basic database access into own class
Jens Georg [Sat, 3 Oct 2009 15:51:14 +0000 (17:51 +0200)]
core: Move basic database access into own class

14 years agocore: Fix another unhandled error
Jens Georg [Mon, 19 Oct 2009 19:07:46 +0000 (21:07 +0200)]
core: Fix another unhandled error

14 years agocore: Add missing throws clause
Jens Georg [Mon, 19 Oct 2009 19:13:08 +0000 (21:13 +0200)]
core: Add missing throws clause

14 years agocore: Fix SeekableResponse wrt latest async changes
Zeeshan Ali (Khattak) [Fri, 23 Oct 2009 17:07:29 +0000 (20:07 +0300)]
core: Fix SeekableResponse wrt latest async changes

We were returning from an async call when waiting for signal
'wrote-chunk' from soup message and this was unrefing both request
and response too early.

14 years agocore: Chain-up construction method
Zeeshan Ali (Khattak) [Fri, 23 Oct 2009 16:00:07 +0000 (19:00 +0300)]
core: Chain-up construction method

Use new vala syntax for chaining-up construction method

14 years agobuild: Build with no optimizations in debug mode
Zeeshan Ali (Khattak) [Fri, 23 Oct 2009 15:59:25 +0000 (18:59 +0300)]
build: Build with no optimizations in debug mode

14 years agogst-renderer: Add Nokia and myself to copyrights
Zeeshan Ali (Khattak) [Wed, 14 Oct 2009 12:37:55 +0000 (15:37 +0300)]
gst-renderer: Add Nokia and myself to copyrights

14 years agogst-renderer: Rename VideoWindow to Player
Zeeshan Ali (Khattak) [Wed, 14 Oct 2009 12:25:34 +0000 (15:25 +0300)]
gst-renderer: Rename VideoWindow to Player

14 years agogst-renderer: Use 'this' for methods as well
Zeeshan Ali (Khattak) [Wed, 14 Oct 2009 12:05:45 +0000 (15:05 +0300)]
gst-renderer: Use 'this' for methods as well

14 years agogst-renderer: Use new syntax to connect signals
Zeeshan Ali (Khattak) [Wed, 14 Oct 2009 11:15:51 +0000 (14:15 +0300)]
gst-renderer: Use new syntax to connect signals

14 years agobuild: Remove now redundant deps/linkage
Zeeshan Ali (Khattak) [Tue, 13 Oct 2009 22:55:59 +0000 (01:55 +0300)]
build: Remove now redundant deps/linkage

14 years agobuild: Option to not build gst-renderer
Zeeshan Ali (Khattak) [Tue, 13 Oct 2009 22:48:57 +0000 (01:48 +0300)]
build: Option to not build gst-renderer

14 years agogst-renderer: Correctly handle EOS
Zeeshan Ali (Khattak) [Tue, 13 Oct 2009 22:06:11 +0000 (01:06 +0300)]
gst-renderer: Correctly handle EOS

14 years agogst-renderer: Make use of 'this' and 'using' keywords
Zeeshan Ali (Khattak) [Tue, 13 Oct 2009 21:44:33 +0000 (00:44 +0300)]
gst-renderer: Make use of 'this' and 'using' keywords

14 years agogst-renderer: ChangeLog spits more debug info
Zeeshan Ali (Khattak) [Tue, 13 Oct 2009 15:46:49 +0000 (18:46 +0300)]
gst-renderer: ChangeLog spits more debug info

14 years agogst-renderer: Correct namespace on LastChange events
Zeeshan Ali (Khattak) [Tue, 13 Oct 2009 15:43:02 +0000 (18:43 +0300)]
gst-renderer: Correct namespace on LastChange events

14 years agogst-renderer: URI and metadata are always escaped
Zeeshan Ali (Khattak) [Mon, 12 Oct 2009 22:09:03 +0000 (01:09 +0300)]
gst-renderer: URI and metadata are always escaped

GstAVTransport provides props for these fields whose getter always
provides the markup escaped value rather than the raw value.

14 years agogst-renderer: Correct playback logic
Zeeshan Ali (Khattak) [Mon, 12 Oct 2009 20:46:21 +0000 (23:46 +0300)]
gst-renderer: Correct playback logic

I was pausing when asked to play and viceversa.

14 years agogst-renderer: More debug output from video window
Zeeshan Ali (Khattak) [Mon, 12 Oct 2009 20:45:13 +0000 (23:45 +0300)]
gst-renderer: More debug output from video window

14 years agogst-renderer: Replace OwlVideoWidget by use of playbin2
Zeeshan Ali (Khattak) [Mon, 12 Oct 2009 15:27:41 +0000 (18:27 +0300)]
gst-renderer: Replace OwlVideoWidget by use of playbin2

14 years agogst-renderer: Better names for variables & parameters
Zeeshan Ali (Khattak) [Sun, 11 Oct 2009 13:23:16 +0000 (16:23 +0300)]
gst-renderer: Better names for variables & parameters

14 years agogst-renderer: Remove now redundant arguments
Zeeshan Ali (Khattak) [Sun, 11 Oct 2009 13:06:09 +0000 (16:06 +0300)]
gst-renderer: Remove now redundant arguments

We don't need to pass functions for hashing and equality check to Gee
constructors for common types anymore.

14 years agogst-renderer: Window shouldn't be fullscreen by default
Zeeshan Ali (Khattak) [Sun, 11 Oct 2009 13:01:24 +0000 (16:01 +0300)]
gst-renderer: Window shouldn't be fullscreen by default

Video window shouldn't be fullscreen by default.

14 years agogst-renderer: ChangeLog keeps unowned ref to service
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 22:44:17 +0000 (01:44 +0300)]
gst-renderer: ChangeLog keeps unowned ref to service

ChangeLog keeps an unowned ref to service to avoid cyclic references.

14 years agogst-renderer: Micro style fix
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 22:34:11 +0000 (01:34 +0300)]
gst-renderer: Micro style fix

14 years agogst-renderer: Initialize Gtk
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 21:08:40 +0000 (00:08 +0300)]
gst-renderer: Initialize Gtk

14 years agogst-renderer: Gtk.Window is top-level by default
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 20:49:47 +0000 (23:49 +0300)]
gst-renderer: Gtk.Window is top-level by default

14 years agogst-renderer: Create widget before connecting signals
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 18:43:17 +0000 (21:43 +0300)]
gst-renderer: Create widget before connecting signals

Create the widget before connecting handlers to it's signals.

14 years agogst-renderer: Adapt to new libgee API
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 17:59:49 +0000 (20:59 +0300)]
gst-renderer: Adapt to new libgee API

14 years agogst-renderer: Fix dependencies
Jens Georg [Sat, 3 Oct 2009 10:44:03 +0000 (12:44 +0200)]
gst-renderer: Fix dependencies

14 years agogst-render: Port to automake-1.11
Jens Georg [Fri, 2 Oct 2009 21:13:37 +0000 (23:13 +0200)]
gst-render: Port to automake-1.11

14 years agocore: Update MR desc file to suit Rygel
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 11:17:48 +0000 (14:17 +0300)]
core: Update MR desc file to suit Rygel

14 years agoplugins: Respect 'uninstalled' flag
Zeeshan Ali (Khattak) [Tue, 16 Jun 2009 20:22:24 +0000 (23:22 +0300)]
plugins: Respect 'uninstalled' flag

Plugins should load xml files from source tree when built with
'--enable-uninstalled' configure flag.

14 years agocore: Link to gst-interfaces
Zeeshan Ali (Khattak) [Tue, 16 Jun 2009 20:08:02 +0000 (23:08 +0300)]
core: Link to gst-interfaces

14 years agocore,plugins: Add gst-based MediaRenderer
Zeeshan Ali (Khattak) [Tue, 16 Jun 2009 19:33:32 +0000 (22:33 +0300)]
core,plugins: Add gst-based MediaRenderer

This is mostly code stolen (and heavily addapted) from
gupnp-media-renderer and libowl-av.

14 years agocore: Async handling of seekable response
Zeeshan Ali (Khattak) [Mon, 19 Oct 2009 13:30:07 +0000 (16:30 +0300)]
core: Async handling of seekable response

14 years agomedia-export: Update formatting and doc
Jens Georg [Fri, 16 Oct 2009 18:45:04 +0000 (20:45 +0200)]
media-export: Update formatting and doc