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

15 years agocore: Micro indentation fix
Zeeshan Ali (Khattak) [Sat, 3 Oct 2009 17:47:02 +0000 (20:47 +0300)]
core: Micro indentation fix

15 years agocore: Explicit use of mutable iterators
Zeeshan Ali (Khattak) [Sat, 3 Oct 2009 16:26:16 +0000 (19:26 +0300)]
core: Explicit use of mutable iterators

Make use of mutable iterator to simplify addition/removal to/from lists.

15 years agocore,media-export: Port to libgee-0.5
Jens Georg [Sat, 3 Oct 2009 11:00:31 +0000 (13:00 +0200)]
core,media-export: Port to libgee-0.5

15 years agocore: Release 0.4.2 announcement. RYGEL_0_4_2
Zeeshan Ali (Khattak) [Fri, 2 Oct 2009 14:15:15 +0000 (17:15 +0300)]
core: Release 0.4.2 announcement.

15 years agobuild: Be more verbose at the end of configure
Jens Georg [Fri, 2 Oct 2009 11:56:25 +0000 (13:56 +0200)]
build: Be more verbose at the end of configure

15 years agobuild: Fix helpstring for AC_WITH_VAL
Jens Georg [Fri, 2 Oct 2009 11:56:05 +0000 (13:56 +0200)]
build: Fix helpstring for AC_WITH_VAL

15 years agocore: Make use of Uri.parse_scheme()
Zeeshan Ali (Khattak) [Fri, 2 Oct 2009 11:32:08 +0000 (14:32 +0300)]
core: Make use of Uri.parse_scheme()

15 years agocore: Provide duration to HTTPSeek.add_response_header
Zeeshan Ali (Khattak) [Thu, 1 Oct 2009 22:05:09 +0000 (01:05 +0300)]
core: Provide duration to HTTPSeek.add_response_header

15 years agocore: Unknown length/duration is "*"
Zeeshan Ali (Khattak) [Thu, 1 Oct 2009 21:54:12 +0000 (00:54 +0300)]
core: Unknown length/duration is "*"

Unknown length/duration is specified as "*" in HTTP response. Refer to
DLNA guidelines section 7.4.40.3 for details.

15 years agocore: Clamp the stop between start and length
Zeeshan Ali (Khattak) [Thu, 1 Oct 2009 21:49:49 +0000 (00:49 +0300)]
core: Clamp the stop between start and length

Instead of setting stop to be the maximum of stop and length, it should
instead be clamped between start and length.

15 years agocore: Refactor HTTPSeek.add_response_headers
Zeeshan Ali (Khattak) [Thu, 1 Oct 2009 21:37:32 +0000 (00:37 +0300)]
core: Refactor HTTPSeek.add_response_headers

15 years agocore: Add a missing curly brace
Zeeshan Ali (Khattak) [Thu, 1 Oct 2009 17:02:10 +0000 (20:02 +0300)]
core: Add a missing curly brace

15 years agocore: Add a FIXME comment
Zeeshan Ali (Khattak) [Thu, 1 Oct 2009 16:58:48 +0000 (19:58 +0300)]
core: Add a FIXME comment

15 years agocore: Spit more debug output for HTTP requests
Zeeshan Ali (Khattak) [Thu, 1 Oct 2009 15:15:55 +0000 (18:15 +0300)]
core: Spit more debug output for HTTP requests

15 years agocore: Micro refactor
Zeeshan Ali (Khattak) [Wed, 30 Sep 2009 19:37:18 +0000 (22:37 +0300)]
core: Micro refactor

15 years agocore: move try-catch block where it belongs
Jens Georg [Wed, 30 Sep 2009 11:50:11 +0000 (13:50 +0200)]
core: move try-catch block where it belongs

15 years agocore: UserConfig doesn't bail-out on D-Bus unavailability
Zeeshan Ali (Khattak) [Wed, 30 Sep 2009 12:39:32 +0000 (15:39 +0300)]
core: UserConfig doesn't bail-out on D-Bus unavailability

15 years agomedia-export: handle DBus registration failure
Jens Georg [Wed, 30 Sep 2009 12:21:37 +0000 (14:21 +0200)]
media-export: handle DBus registration failure

15 years agocore: Only query parent once
Jens Georg [Wed, 30 Sep 2009 11:50:11 +0000 (13:50 +0200)]
core: Only query parent once

The parent node was queried for each child which was totally useless.
Code now at least twice as fast

15 years agocore: Don't mind D-Bus service initialization failure
Zeeshan Ali (Khattak) [Tue, 29 Sep 2009 21:58:05 +0000 (00:58 +0300)]
core: Don't mind D-Bus service initialization failure

15 years agocore: Don't register object on service registration failure
Zeeshan Ali (Khattak) [Tue, 29 Sep 2009 21:55:54 +0000 (00:55 +0300)]
core: Don't register object on service registration failure

Don't register D-Bus object on service registration failure.

15 years agocore: Throw more specific error
Zeeshan Ali (Khattak) [Tue, 29 Sep 2009 21:48:24 +0000 (00:48 +0300)]
core: Throw more specific error

15 years agocore: Add dbus-glib-1 vapi to deps
Zeeshan Ali (Khattak) [Tue, 29 Sep 2009 21:43:50 +0000 (00:43 +0300)]
core: Add dbus-glib-1 vapi to deps

15 years agocore: Put query parsing in separate method
Zeeshan Ali (Khattak) [Tue, 29 Sep 2009 12:09:56 +0000 (15:09 +0300)]
core: Put query parsing in separate method

15 years agobuild: Correct desktop file location
Zeeshan Ali (Khattak) [Tue, 29 Sep 2009 11:45:32 +0000 (14:45 +0300)]
build: Correct desktop file location

15 years agocore: No need for custom log domain
Zeeshan Ali (Khattak) [Mon, 28 Sep 2009 22:18:55 +0000 (01:18 +0300)]
core: No need for custom log domain

No need to have our own domain. Just override the default log handler.

15 years agodata: Set log-level in the default configuration
Zeeshan Ali (Khattak) [Mon, 28 Sep 2009 16:32:32 +0000 (19:32 +0300)]
data: Set log-level in the default configuration

15 years agocore: Ability to specify log level at runtime
Zeeshan Ali (Khattak) [Mon, 28 Sep 2009 16:24:37 +0000 (19:24 +0300)]
core: Ability to specify log level at runtime

15 years agocore: Introducing LogLevel enumerator
Zeeshan Ali (Khattak) [Mon, 28 Sep 2009 16:22:36 +0000 (19:22 +0300)]
core: Introducing LogLevel enumerator

An enum type to represent the log levels and a method in LogHander to
map this type to GLib.LogLevelFlags.

15 years agocore: More log levels in the defaults
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 13:04:54 +0000 (16:04 +0300)]
core: More log levels in the defaults

15 years agocore: Use default handler & Rygel domain
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 12:51:38 +0000 (15:51 +0300)]
core: Use default handler & Rygel domain

Directly call default handler instead of 'log' and use Rygel domain instead
of default.

15 years agocore: Handle message with all flags
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 12:48:16 +0000 (15:48 +0300)]
core: Handle message with all flags

15 years agocore: Initialize LogHander at start-up
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 11:57:47 +0000 (14:57 +0300)]
core: Initialize LogHander at start-up

15 years agocore: Only forward allowed log levels
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 11:46:23 +0000 (14:46 +0300)]
core: Only forward allowed log levels

LogHandler can now be told which log levels are allowed.

15 years agocore: A simple log handler
Zeeshan Ali (Khattak) [Thu, 24 Sep 2009 15:34:45 +0000 (18:34 +0300)]
core: A simple log handler

For now it just registers a domain and a handler for it that only
forwards the messages to glib default log domain.

15 years agodata: Add GstLaunch to maemo configuration
Zeeshan Ali (Khattak) [Mon, 28 Sep 2009 12:51:39 +0000 (15:51 +0300)]
data: Add GstLaunch to maemo configuration

15 years agodata: Mediathek and GstLaunch disabled by default
Zeeshan Ali (Khattak) [Mon, 28 Sep 2009 12:50:13 +0000 (15:50 +0300)]
data: Mediathek and GstLaunch disabled by default

15 years agobuild: More proper english :)
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 23:25:33 +0000 (02:25 +0300)]
build: More proper english :)

15 years agoui: Keep the title label ref in the widget list
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 23:19:28 +0000 (02:19 +0300)]
ui: Keep the title label ref in the widget list

15 years agoui: Don't forget the "URIs" label
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 23:13:20 +0000 (02:13 +0300)]
ui: Don't forget the "URIs" label

Don't forget to put "URIs" label of MediaExport to widget list.