profile/ivi/rygel.git
15 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.

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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!

15 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

15 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.

15 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

15 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

15 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

15 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

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

15 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

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

15 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

15 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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

15 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.

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

15 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.

15 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

15 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

15 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

15 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.

15 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.

15 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.

15 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

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

15 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

15 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.

15 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

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

15 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

15 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

15 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.

15 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

15 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.

15 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

15 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

15 years agomedia-export: Use proper type on queue init
Jens Georg [Fri, 16 Oct 2009 18:41:25 +0000 (20:41 +0200)]
media-export: Use proper type on queue init

15 years agomedia-export: no need for nullable in Queue
Jens Georg [Fri, 16 Oct 2009 18:40:53 +0000 (20:40 +0200)]
media-export: no need for nullable in Queue

15 years agomedia-export: small refactor
Jens Georg [Fri, 16 Oct 2009 18:36:38 +0000 (20:36 +0200)]
media-export: small refactor

Idle.add is always used in conjunction with do_update, so just move it inside

15 years agomedia-export: Use vala's async handling for GIO
Jens Georg [Fri, 16 Oct 2009 18:32:59 +0000 (20:32 +0200)]
media-export: Use vala's async handling for GIO

15 years agomedia-export: Fix "unhandled error" warnings
Jens Georg [Tue, 13 Oct 2009 11:41:54 +0000 (13:41 +0200)]
media-export: Fix "unhandled error" warnings

15 years agotracker: Handle item creation error
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 14:18:42 +0000 (17:18 +0300)]
tracker: Handle item creation error

15 years agocore: Remove now redundant class
Zeeshan Ali (Khattak) [Fri, 16 Oct 2009 14:24:38 +0000 (17:24 +0300)]
core: Remove now redundant class

I doubt we'll need this class anymore now that we can use vala's async
support and closures.

15 years agocore,plugins: Asynchronous MediaContainer & StateMachine
Zeeshan Ali (Khattak) [Thu, 15 Oct 2009 22:01:45 +0000 (01:01 +0300)]
core,plugins: Asynchronous MediaContainer & StateMachine

Make MediaContainer and StateMachine interfaces asynchronouse again but
this time using the new cool vala async syntax. This implies D-Bus
interfaces used by plugins are now also async.

15 years agotracker: Remove now redundant constants
Zeeshan Ali (Khattak) [Thu, 15 Oct 2009 16:23:03 +0000 (19:23 +0300)]
tracker: Remove now redundant constants

15 years agocore,plugins,build: Synchronous MediaContainer
Zeeshan Ali (Khattak) [Thu, 15 Oct 2009 16:20:41 +0000 (19:20 +0300)]
core,plugins,build: Synchronous MediaContainer

Turn the MediaContainer interface synchronous only to later convert
it to asynchronous again using the new async vala syntax. Ironic, isn't
it? :)

15 years agotracker: Use static client D-Bus syntax
Zeeshan Ali (Khattak) [Wed, 14 Oct 2009 17:33:12 +0000 (20:33 +0300)]
tracker: Use static client D-Bus syntax

This also implies that we now use multidimensional arrays to deal with
search results. This combination of static D-Bus and multidimensional
arrays gives us quite a speed boost.

15 years agoexternal: Use async support for plugin loading
Zeeshan Ali (Khattak) [Wed, 14 Oct 2009 16:18:05 +0000 (19:18 +0300)]
external: Use async support for plugin loading

15 years agoexternal: Use static client D-Bus syntax
Zeeshan Ali (Khattak) [Wed, 14 Oct 2009 14:38:39 +0000 (17:38 +0300)]
external: Use static client D-Bus syntax

15 years agoRevert "tracker: Don't use default parameters for arrays"
Zeeshan Ali (Khattak) [Mon, 5 Oct 2009 16:06:38 +0000 (19:06 +0300)]
Revert "tracker: Don't use default parameters for arrays"

This reverts commit 8ade721ee6e2fff152f93e42b71a59eada17e1df.

15 years agobuild: Require valac 0.7.8
Zeeshan Ali (Khattak) [Fri, 16 Oct 2009 16:18:50 +0000 (19:18 +0300)]
build: Require valac 0.7.8

15 years agogst-launch: Some cosmetic name changes
Thijs Vermeir [Tue, 13 Oct 2009 23:23:20 +0000 (01:23 +0200)]
gst-launch: Some cosmetic name changes

- gstlaunch = gst-launch
- GSTLAUNCH = GST_LAUNCH

15 years agomedia-export: Fix a potential crasher
Jens Georg [Mon, 12 Oct 2009 22:22:59 +0000 (00:22 +0200)]
media-export: Fix a potential crasher

This bug was triggered by a misconfiguration of XDG on Karmic which was
mapping Pictures, Videos and Music to $HOME. Now checking if a directory
is already scheduled for extraction.

15 years agomedia-export: Comment on expensive statement
Jens Georg [Mon, 28 Sep 2009 08:30:34 +0000 (10:30 +0200)]
media-export: Comment on expensive statement

15 years agotracker: Don't use default parameters for arrays
Zeeshan Ali (Khattak) [Mon, 5 Oct 2009 15:01:53 +0000 (18:01 +0300)]
tracker: Don't use default parameters for arrays

This is a work-around for bug#597426.

15 years agocore: Introducing SourceConnectionManager
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 17:58:17 +0000 (20:58 +0300)]
core: Introducing SourceConnectionManager

Separate ConnectionManager implemenation for MediaServer usage.

15 years agocore,plugins: More ease for MediaServer implementors
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 17:30:21 +0000 (20:30 +0300)]
core,plugins: More ease for MediaServer implementors

15 years agocore,ui: Handle some previously unhandled errors
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 00:35:38 +0000 (03:35 +0300)]
core,ui: Handle some previously unhandled errors

15 years agocore: Better error handling
Zeeshan Ali (Khattak) [Sun, 4 Oct 2009 00:33:04 +0000 (03:33 +0300)]
core: Better error handling

- HTTPRequestHandler.add_resource should throw generic error.
- Nicely handle (translate to HTTPRequestError) all generic errors.

15 years agocore: Correct a mistake in release announcement
Zeeshan Ali (Khattak) [Sat, 3 Oct 2009 19:13:56 +0000 (22:13 +0300)]
core: Correct a mistake in release announcement