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

14 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

14 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

14 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

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

14 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

14 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

14 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

14 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

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

14 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

14 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

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

14 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

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

14 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

14 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

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

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

14 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

14 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

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

14 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

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

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

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

14 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

14 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

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

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

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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

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

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

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

14 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

14 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

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

14 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

14 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

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

14 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

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

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

14 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

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

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

14 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

14 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

14 years agomedia-export: Use a custom container for DBus
Jens Georg [Mon, 21 Sep 2009 12:28:17 +0000 (14:28 +0200)]
media-export: Use a custom container for DBus

All uris added via DBus are now persisted by making them children of this
container.

14 years agocore: make arguments signed
Jens Georg [Mon, 21 Sep 2009 12:07:39 +0000 (14:07 +0200)]
core: make arguments signed

This is to allow to get all children (-1, -1)

14 years agocore,plugins: Add add_child & remove_child to SimpleContainer
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 13:18:14 +0000 (16:18 +0300)]
core,plugins: Add add_child & remove_child to SimpleContainer

Add add_child and remove_child to SimpleContainer. They automatically
increment and decrement child_count respectively.

14 years agogstlaunch: Refactor and beautify!
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 13:01:57 +0000 (16:01 +0300)]
gstlaunch: Refactor and beautify!

14 years agoplugins: Make use of SimpleContainer
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 12:40:30 +0000 (15:40 +0300)]
plugins: Make use of SimpleContainer

Derive as many containers from SimpleContainer as possible.

14 years agomedia-export: Adapt to delete_ to remove_ rename
Jens Georg [Mon, 21 Sep 2009 11:05:17 +0000 (13:05 +0200)]
media-export: Adapt to delete_ to remove_ rename

14 years agomedia-export: persist the uris added via DBus
Jens Georg [Thu, 17 Sep 2009 10:35:45 +0000 (12:35 +0200)]
media-export: persist the uris added via DBus

The uris are added to the root container which is persisted in the MediaDB

14 years agocore: use playbin2 for meta-data if available
Jens Georg [Fri, 18 Sep 2009 13:48:11 +0000 (15:48 +0200)]
core: use playbin2 for meta-data if available

14 years agocore: Remove warning on unusable input
Jens Georg [Thu, 17 Sep 2009 18:33:55 +0000 (20:33 +0200)]
core: Remove warning on unusable input

14 years agomedia-export: Do not try to re-add container to db
Jens Georg [Thu, 17 Sep 2009 10:44:59 +0000 (12:44 +0200)]
media-export: Do not try to re-add container to db

14 years agomedia-export: Clarify which queue we want
Jens Georg [Thu, 17 Sep 2009 08:47:04 +0000 (10:47 +0200)]
media-export: Clarify which queue we want

Seems libgee now features a queue as well; this fixes compilation error due
to name clash

14 years agocore: Fix wrongly bound SQL for containers
Jens Georg [Mon, 21 Sep 2009 10:06:18 +0000 (12:06 +0200)]
core: Fix wrongly bound SQL for containers

14 years agocore: Rethrow database errors
Jens Georg [Mon, 21 Sep 2009 10:01:19 +0000 (12:01 +0200)]
core: Rethrow database errors

14 years agocore: fix signal emission on added container
Jens Georg [Mon, 21 Sep 2009 09:21:42 +0000 (11:21 +0200)]
core: fix signal emission on added container

14 years agocore: Use INVALID_TYPE error instead of GENERAL_ERROR
Jens Georg [Thu, 17 Sep 2009 07:45:16 +0000 (09:45 +0200)]
core: Use INVALID_TYPE error instead of GENERAL_ERROR

14 years agocore: create_with_factory always used default factory
Jens Georg [Thu, 17 Sep 2009 07:43:46 +0000 (09:43 +0200)]
core: create_with_factory always used default factory

14 years agocore: Complete API of media-db
Jens Georg [Thu, 17 Sep 2009 07:34:13 +0000 (09:34 +0200)]
core: Complete API of media-db

14 years agocore: Add general signals for objects
Jens Georg [Wed, 16 Sep 2009 21:12:28 +0000 (23:12 +0200)]
core: Add general signals for objects

14 years agotracker: Don't list items in descending order
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 22:55:34 +0000 (01:55 +0300)]
tracker: Don't list items in descending order

14 years agotracker: Make use of default value magic in Vala
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 22:49:48 +0000 (01:49 +0300)]
tracker: Make use of default value magic in Vala

Use default value for query_condition param of SearchContainer
construction method.

14 years agotracker: Add TrackerKeywords
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 21:39:48 +0000 (00:39 +0300)]
tracker: Add TrackerKeywords

A new container that lists all the available tags in the Tracker DB. For
each tag, it creates a container that lists all items with that tag.

14 years agotracker: SearchContainer takes keywords
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 22:24:37 +0000 (01:24 +0300)]
tracker: SearchContainer takes keywords

SearchContainer allows users to limit the search by keywords.

14 years agotracker: Ignore empty metadata values
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 20:45:01 +0000 (23:45 +0300)]
tracker: Ignore empty metadata values

14 years agotracker: Use 'equals' as op in RDF query
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 20:08:04 +0000 (23:08 +0300)]
tracker: Use 'equals' as op in RDF query

Use 'equals' as the operator in the RDF query instead of 'contains'.

14 years agotracker: Rename a constant
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 19:50:55 +0000 (22:50 +0300)]
tracker: Rename a constant

Rename TrackerMetadataValues.CATEGORY to SERVICE.

14 years agotracker: Be more specific about error thrown
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 18:51:26 +0000 (21:51 +0300)]
tracker: Be more specific about error thrown

14 years agotracker: Add missing return statement
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 23:48:00 +0000 (02:48 +0300)]
tracker: Add missing return statement

14 years agotracker: Correct a typo
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 22:20:39 +0000 (01:20 +0300)]
tracker: Correct a typo

14 years agocore: Check if ArrayList is empty
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 22:10:19 +0000 (01:10 +0300)]
core: Check if ArrayList is empty

Check if ArrayList is empty before trying to fetch it's elements.

14 years agotracker,external: Don't errors out object not found
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 20:33:13 +0000 (23:33 +0300)]
tracker,external: Don't errors out object not found

14 years agocore: AsyncReadyCallback.source_object is nullable
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 16:43:58 +0000 (19:43 +0300)]
core: AsyncReadyCallback.source_object is nullable

source_object param of AsyncReadyCallback is now nullable.

14 years agobuild: Require vala trunk
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 16:43:18 +0000 (19:43 +0300)]
build: Require vala trunk

14 years agotracker: Populate MetadataContainer children
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 01:21:29 +0000 (04:21 +0300)]
tracker: Populate MetadataContainer children

14 years agotracker: SearchContainer() takes query as argument
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 01:17:50 +0000 (04:17 +0300)]
tracker: SearchContainer() takes query as argument

SearchContainer construction method now takes RDF query as argument.

14 years agotracker: Remove now redundant classes
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 23:09:29 +0000 (02:09 +0300)]
tracker: Remove now redundant classes

14 years agotracker: SearchContainer is not abstract anymore
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 23:04:00 +0000 (02:04 +0300)]
tracker: SearchContainer is not abstract anymore

14 years agotracker: MediaItem provides metadata keys
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 22:55:56 +0000 (01:55 +0300)]
tracker: MediaItem provides metadata keys

14 years agotracker: Add SearchContainer.query_condition
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 15:07:05 +0000 (18:07 +0300)]
tracker: Add SearchContainer.query_condition

14 years agotracker: item's ID keeps the service
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 14:56:39 +0000 (17:56 +0300)]
tracker: item's ID keeps the service

Keep the service an item belongs to in it's ID so we can ask that
service for metadata when needed rather than SearchContainer.service,
as that could be the generic "Files" service for some SearchContainer
implementations.

14 years agotracker: Minor refactoring
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 13:21:39 +0000 (16:21 +0300)]
tracker: Minor refactoring

14 years agotracker: create_item implemented by SearchContainer
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 12:21:43 +0000 (15:21 +0300)]
tracker: create_item implemented by SearchContainer

create_item should be implemented by SearchContainer.

14 years agotracker: Items should know their service
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 12:00:09 +0000 (15:00 +0300)]
tracker: Items should know their service

14 years agotracker: TrackerCategory -> TrackerSearchContainer
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:51:53 +0000 (18:51 +0300)]
tracker: TrackerCategory -> TrackerSearchContainer

Rename TrackerCategory to TrackerSearchContainer.

14 years agotracker: Rename TrackerCategory.category to service
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:37:02 +0000 (18:37 +0300)]
tracker: Rename TrackerCategory.category to service