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

15 years agoui: Initialize the sensitivity of plugin widgets
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 23:08:04 +0000 (02:08 +0300)]
ui: Initialize the sensitivity of plugin widgets

Initialize the sensitivity of plugin widgets at startup.

15 years agoui: Separate method to reset sensitivity
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 23:06:49 +0000 (02:06 +0300)]
ui: Separate method to reset sensitivity

Separate method to reset sensitivity of plugin widgets.

15 years agoui: Set sensitivity of plugin title label as well
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 22:56:41 +0000 (01:56 +0300)]
ui: Set sensitivity of plugin title label as well

15 years agoui: Keep a ref to plugin's title label
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 22:54:23 +0000 (01:54 +0300)]
ui: Keep a ref to plugin's title label

15 years agoui: Better way of setting plugin widgets' sensitivity
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 22:37:38 +0000 (01:37 +0300)]
ui: Better way of setting plugin widgets' sensitivity

Instead of PluginPref implementations overriding a handler, they just
provide a list of all widgets.

15 years agoui: Set sensitivity of buttons too
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 21:50:22 +0000 (00:50 +0300)]
ui: Set sensitivity of buttons too

Sensitivity of buttons should be attached to status of MediaExport checkbox.

15 years agoui: Keep a list of media-export buttons
Zeeshan Ali (Khattak) [Sun, 27 Sep 2009 21:48:09 +0000 (00:48 +0300)]
ui: Keep a list of media-export buttons

Keep a list of buttons related to media-export treeview.

15 years agomedia-export: Fix updating of changed files
Jens Georg [Sun, 27 Sep 2009 11:51:09 +0000 (13:51 +0200)]
media-export: Fix updating of changed files

15 years agomedia-export: Improve guessing of UPnP class
Jens Georg [Sun, 27 Sep 2009 11:15:52 +0000 (13:15 +0200)]
media-export: Improve guessing of UPnP class

This fixes bug #596500, although getting a video codec from gstreamer would be
nice as well

15 years agomedia-export: rework media item creation
Jens Georg [Sun, 27 Sep 2009 10:28:30 +0000 (12:28 +0200)]
media-export: rework media item creation

This fixes missing duration and date from #596330

15 years agoRevert "build: Use static string for version"
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 14:27:31 +0000 (17:27 +0300)]
Revert "build: Use static string for version"

This reverts commit 25f011d99e99129dc24b4da39ecd662ec2eccec7.

15 years agobuild: Use static string for version RYGEL_0_4_1
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 14:21:20 +0000 (17:21 +0300)]
build: Use static string for version

Seems Marc-Andre's magic to generate version from tags doesn't work
against mirco versions.

15 years agocore: Prepare NEW file for release 0.4.1
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 13:49:28 +0000 (16:49 +0300)]
core: Prepare NEW file for release 0.4.1

15 years agoui: Ignore two ignorable errors
Zeeshan Ali (Khattak) [Fri, 25 Sep 2009 13:33:16 +0000 (16:33 +0300)]
ui: Ignore two ignorable errors

15 years agocore,media-export: correct license to LGPL
Jens Georg [Fri, 25 Sep 2009 13:05:50 +0000 (15:05 +0200)]
core,media-export: correct license to LGPL

Files were previously licensed GPL due to copy&paste error

15 years agolive-response: fix first seek always failing
René Stadler [Thu, 24 Sep 2009 20:30:22 +0000 (23:30 +0300)]
live-response: fix first seek always failing

State change messages are signalled also for all child elements. If they are
not filtered out, the initial seek is issued way too early.

15 years agoui: Initialize sensitivity of trancoding checkboxes
Zeeshan Ali (Khattak) [Thu, 24 Sep 2009 17:28:28 +0000 (20:28 +0300)]
ui: Initialize sensitivity of trancoding checkboxes

Initialize sensitivity of trancoding checkboxes to the same value
as that of "Transcoding Support" checkbox.

15 years agocore,data: Forgotten update to Rygel D-Bus paths
Zeeshan Ali (Khattak) [Thu, 24 Sep 2009 17:07:18 +0000 (20:07 +0300)]
core,data: Forgotten update to Rygel D-Bus paths

Oops, had forgotten to update the D-Bus paths everywhere after the
versioning change.

15 years agodata: No need for DVB config
Zeeshan Ali (Khattak) [Thu, 24 Sep 2009 14:26:10 +0000 (17:26 +0300)]
data: No need for DVB config

15 years agocore: More corrections to release log RYGEL_0_4
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 19:33:31 +0000 (22:33 +0300)]
core: More corrections to release log

15 years agocore: update news file
Jens Georg [Wed, 23 Sep 2009 16:22:43 +0000 (18:22 +0200)]
core: update news file

15 years agocore: be more robust while scanning metadata
Jens Georg [Wed, 23 Sep 2009 13:35:43 +0000 (15:35 +0200)]
core: be more robust while scanning metadata

 - Add a timeout to check for stuck/aborted scannings
 - Don't reuse playbin, this seems to be problematic

15 years agocore: Prepare NEW file for release 0.4
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 15:58:41 +0000 (18:58 +0300)]
core: Prepare NEW file for release 0.4

15 years agocore: Update the project description
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 12:14:07 +0000 (15:14 +0300)]
core: Update the project description

Update the project description according to changes since last release.

15 years agomedia-export: Some code cleanup
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 11:14:41 +0000 (14:14 +0300)]
media-export: Some code cleanup

15 years agomedia-export: Keep const in the associated class
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 10:49:30 +0000 (13:49 +0300)]
media-export: Keep const in the associated class

Keep constant in the associated class.

15 years agomedia-export: Title starts with capital letter
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 10:47:05 +0000 (13:47 +0300)]
media-export: Title starts with capital letter

Title for dynamic container should start with a capital letter.

15 years agomedia-export: Minor indentation fixes
Zeeshan Ali (Khattak) [Tue, 22 Sep 2009 15:53:19 +0000 (18:53 +0300)]
media-export: Minor indentation fixes

15 years agobuild: Supress all CC warnings by default
Zeeshan Ali (Khattak) [Tue, 22 Sep 2009 14:01:34 +0000 (17:01 +0300)]
build: Supress all CC warnings by default

Supress all warnings from C compiler unless told to be strict.

15 years agodata: Use hostname on maemo
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 15:17:49 +0000 (18:17 +0300)]
data: Use hostname on maemo

Use hostname by default on maemo instead of user's realname.

15 years agomedia-export: No need for a separate D-Bus service
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 14:47:37 +0000 (17:47 +0300)]
media-export: No need for a separate D-Bus service

Re-use the D-Bus service run by Rygel

15 years agomedia-export: Add GetUris DBus command
Jens Georg [Mon, 21 Sep 2009 13:12:30 +0000 (15:12 +0200)]
media-export: Add GetUris DBus command