profile/ivi/rygel.git
15 years agocore: Commandline option to set plugin title
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:48:49 +0000 (18:48 +0300)]
core: Commandline option to set plugin title

15 years agocore: Indentation fixes
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:35:41 +0000 (18:35 +0300)]
core: Indentation fixes

15 years agocore: Add '--disable-plugin' commandline option
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:34:48 +0000 (18:34 +0300)]
core: Add '--disable-plugin' commandline option

15 years agocore: Basic implementation of CmdlineConfig
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:15:07 +0000 (17:15 +0300)]
core: Basic implementation of CmdlineConfig

An implementation of Configuration that gets it's options from commandline
arguments.

15 years agocore: Expose more build options to vala world
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:14:10 +0000 (17:14 +0300)]
core: Expose more build options to vala world

15 years agocore: Initialize the thread system
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:13:32 +0000 (17:13 +0300)]
core: Initialize the thread system

15 years agocore: Catch more generic error
Zeeshan Ali (Khattak) [Wed, 10 Jun 2009 14:41:43 +0000 (17:41 +0300)]
core: Catch more generic error

15 years agocore,plugins: Implement and use MetaConfiguration
Zeeshan Ali (Khattak) [Wed, 10 Jun 2009 14:31:21 +0000 (17:31 +0300)]
core,plugins: Implement and use MetaConfiguration

It abstracts Rygel and it's plugins from different Configuration
implementations. It keeps all real configuration sources in a list and
returns the value provided by the first one. If none of them provides
the value, it emits an error.

15 years agocore,ui: Turn Configuration props into getter/setter
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:49:38 +0000 (17:49 +0300)]
core,ui: Turn Configuration props into getter/setter

This is mainly to allow for throwing errors from getters.

15 years agocore,ui: Error out if value not available in config
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:48:57 +0000 (17:48 +0300)]
core,ui: Error out if value not available in config

15 years agocore: Errors for Configuration
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:43:00 +0000 (17:43 +0300)]
core: Errors for Configuration

15 years agocore: Re-introduce Configuration impl. as UserConfig
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 15:38:12 +0000 (18:38 +0300)]
core: Re-introduce Configuration impl. as UserConfig

Re-introduce old Configuration implementation as UserConfig class.

15 years agocore: Configuration is now an interface
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 15:37:29 +0000 (18:37 +0300)]
core: Configuration is now an interface

15 years agocore: Add 'general/enabled' key to schemas file
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 14:35:50 +0000 (17:35 +0300)]
core: Add 'general/enabled' key to schemas file

15 years agocore: Refactor Configuration.upnp_enabled setter
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 14:04:04 +0000 (17:04 +0300)]
core: Refactor Configuration.upnp_enabled setter

15 years agocore: Remove Rygel from user's autostart list
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:50:38 +0000 (16:50 +0300)]
core: Remove Rygel from user's autostart list

Remove Rygel from user's autostart list if "Enable UPnP/DLNA" flag is
unset.

15 years agocore: Make symlink instead of copying desktop file
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:45:05 +0000 (16:45 +0300)]
core: Make symlink instead of copying desktop file

15 years agocore: Add Rygel to user's autostart list
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:35:13 +0000 (16:35 +0300)]
core: Add Rygel to user's autostart list

Add Rygel to user's autostart list if "Enable UPnP/DLNA" flag is set.

15 years agocore: Expose desktop dir path to source code
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:30:58 +0000 (16:30 +0300)]
core: Expose desktop dir path to source code

15 years agocore: Start/shutdown rygel when upnp is enabled/disabled
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:59:15 +0000 (15:59 +0300)]
core: Start/shutdown rygel when upnp is enabled/disabled

15 years agocore: Explicitly link to dbus-glib
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:58:26 +0000 (15:58 +0300)]
core: Explicitly link to dbus-glib

15 years agocore,ui: Minimal handling of "Enable UPnP/DLNA"
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:31:31 +0000 (15:31 +0300)]
core,ui: Minimal handling of "Enable UPnP/DLNA"

15 years agocore: Provide .desktop file for Rygel
Zeeshan Ali (Khattak) [Sun, 7 Jun 2009 20:19:22 +0000 (23:19 +0300)]
core: Provide .desktop file for Rygel

15 years agoui: Provide .desktop file for rygel-preferences
Zeeshan Ali (Khattak) [Sun, 7 Jun 2009 19:08:02 +0000 (22:08 +0300)]
ui: Provide .desktop file for rygel-preferences

15 years agocore: Provide DBus service file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:04:51 +0000 (02:04 +0300)]
core: Provide DBus service file

15 years agocore: Provide DBus service
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 21:26:20 +0000 (00:26 +0300)]
core: Provide DBus service

Provide DBus service with one method: org.gnome.Rygel.Shutdown.

15 years agocore: Set bitrate of mpeg2 video encoder to 30Mbps
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 20:16:12 +0000 (23:16 +0300)]
core: Set bitrate of mpeg2 video encoder to 30Mbps

Thanks Henrique Ferreiro García for pointing it out. Quality of
transcoded videos should be much better now.

15 years agocore: Update description in doap file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:09:23 +0000 (02:09 +0300)]
core: Update description in doap file

15 years agocore: Correct foaf:mbox in doap file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:14:18 +0000 (02:14 +0300)]
core: Correct foaf:mbox in doap file

15 years agocore: Fix a typo in gconf schema file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:07:43 +0000 (02:07 +0300)]
core: Fix a typo in gconf schema file

15 years agoui: Tooltips for plugin title entries.
Zeeshan Ali (Khattak) [Fri, 5 Jun 2009 15:02:36 +0000 (18:02 +0300)]
ui: Tooltips for plugin title entries.

15 years agoui: Don't set width of GtkNotebook
Zeeshan Ali (Khattak) [Fri, 5 Jun 2009 14:36:43 +0000 (17:36 +0300)]
ui: Don't set width of GtkNotebook

15 years agomedia-export: Add forgotten custom item class
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:44:23 +0000 (02:44 +0300)]
media-export: Add forgotten custom item class

15 years agocore,ui,media-export: No more specific to folders
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:10:26 +0000 (02:10 +0300)]
core,ui,media-export: No more specific to folders

The FileChooser dialog however still only lets you choose folders. I have
no idea how to make it let user be able to choose both folder and files.

15 years agocore: Nice default title for Tracker and MediaExport
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:05:30 +0000 (02:05 +0300)]
core: Nice default title for Tracker and MediaExport

15 years agocore,ui: Updates based on renaming of Folder plugin
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:03:30 +0000 (02:03 +0300)]
core,ui: Updates based on renaming of Folder plugin

15 years agomedia-export: Asynchronously populate root container
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 17:06:28 +0000 (20:06 +0300)]
media-export: Asynchronously populate root container

15 years agomedia-export: Remove redundant 'using' statements
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:58:25 +0000 (19:58 +0300)]
media-export: Remove redundant 'using' statements

15 years agomedia-export: Root container should handle items
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 17:12:36 +0000 (20:12 +0300)]
media-export: Root container should handle items

15 years agomedia-export: Provide a custom MediaItem class
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:40:28 +0000 (19:40 +0300)]
media-export: Provide a custom MediaItem class

15 years agomedia-export: Use generic types/names
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:02:24 +0000 (19:02 +0300)]
media-export: Use generic types/names

15 years agomedia-export: More use of 'this' keyword.
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 15:36:28 +0000 (18:36 +0300)]
media-export: More use of 'this' keyword.

15 years agomedia-export: Update docs for Container constructor
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:55:27 +0000 (17:55 +0300)]
media-export: Update docs for Container constructor

15 years agomedia-export: Rename a local variable
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:36:02 +0000 (17:36 +0300)]
media-export: Rename a local variable

Rename 'dir*' to 'uri*'.

15 years agomedia-export: Correct the RootContainer docs
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:17:57 +0000 (17:17 +0300)]
media-export: Correct the RootContainer docs

15 years agomedia-export: Rename 'items' to 'children'
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:14:13 +0000 (17:14 +0300)]
media-export: Rename 'items' to 'children'

Rename 'items' field of MediaExportRootContainer to 'children'.

15 years agomedia-export: Cast the list to match return value
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:30:17 +0000 (16:30 +0300)]
media-export: Cast the list to match return value

15 years agomedia-export: Minor indentation fix
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:29:55 +0000 (16:29 +0300)]
media-export: Minor indentation fix

15 years agocore: autogen.sh enables build for all plugins
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:19:47 +0000 (16:19 +0300)]
core: autogen.sh enables build for all plugins

15 years agomedia-export: Remove trailing whitespaces
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:16:39 +0000 (16:16 +0300)]
media-export: Remove trailing whitespaces

15 years agofolder: Rename to MediaExport
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:13:46 +0000 (16:13 +0300)]
folder: Rename to MediaExport

15 years agoui: Don't use signal autoconnection magic
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 11:42:23 +0000 (14:42 +0300)]
ui: Don't use signal autoconnection magic

Vala currently doesn't support automatic signal connection to handlers in
multiple classes.

15 years agoui: Beautification
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 16:21:27 +0000 (19:21 +0300)]
ui: Beautification

Don't let Folders buttons take more space than they should.

15 years agoui: More like a GNOME preferences dialog
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 16:01:39 +0000 (19:01 +0300)]
ui: More like a GNOME preferences dialog

- One "Close" button rather than "Apply", "OK" and "Cancel".
- Just run the dialog, no need for mainloops and signal connections.

15 years agoui: Connect signals from UI description as much as possible
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 15:16:06 +0000 (18:16 +0300)]
ui: Connect signals from UI description as much as possible

15 years agoui: Hint the window is a Dialog
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 14:42:06 +0000 (17:42 +0300)]
ui: Hint the window is a Dialog

15 years agoui: Implement adding of Folder URIs
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 14:38:05 +0000 (17:38 +0300)]
ui: Implement adding of Folder URIs

Implement adding of Folder URIs to the treeview using a
GtkFileChooserDialog.

15 years agofolder: save implementation should chain-up
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 12:25:07 +0000 (15:25 +0300)]
folder: save implementation should chain-up

Folder title wasn't getting saved to user config because of this bug.

15 years agoui: Implement removal of folder paths
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 16:35:08 +0000 (19:35 +0300)]
ui: Implement removal of folder paths

15 years agoui: Treeview to handle 'folders' option
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 14:32:02 +0000 (17:32 +0300)]
ui: Treeview to handle 'folders' option

Instead of providing a text area to put the paths, provide a treeview
and buttons to interact with it. For now only clear button works.

15 years agoui: Pass '-export-dynamic' flag to linker
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 14:30:22 +0000 (17:30 +0300)]
ui: Pass '-export-dynamic' flag to linker

This is to make automatic signal connection magic of GtkBuilder, work.

15 years agomediathek: Forgotten API update
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 22:04:52 +0000 (01:04 +0300)]
mediathek: Forgotten API update

15 years agofolder: No need to escape the URIs
Ole André Vadla Ravnås [Tue, 2 Jun 2009 21:17:30 +0000 (00:17 +0300)]
folder: No need to escape the URIs

15 years agoui: Change the name/title of an option
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 15:47:40 +0000 (18:47 +0300)]
ui: Change the name/title of an option

Change "Enable Media Server" to "Enable UPnP/DLNA".

15 years agoUpdate README to reflect the Rygel homepage
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 14:47:58 +0000 (17:47 +0300)]
Update README to reflect the Rygel homepage

15 years agocore: Rename description.xml to MediaServer2.xml
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 12:12:59 +0000 (15:12 +0300)]
core: Rename description.xml to MediaServer2.xml

15 years agocore,plugins: Support all types of devices
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 12:00:09 +0000 (15:00 +0300)]
core,plugins: Support all types of devices

Allow plugins to implement any kind of device rather than just MediaServer.
To not complicate the lives of plugin developers for this change, provide
a special constructor to easy create Plugin object for MediaServer.

15 years agocore: Rename create_root_device() to create()
Zeeshan Ali (Khattak) [Sun, 31 May 2009 19:00:16 +0000 (22:00 +0300)]
core: Rename create_root_device() to create()

Rename RootDeviceFactory.create_root_device() to create().

15 years agocore: *MediaServer* -> *RootDevice*
Zeeshan Ali (Khattak) [Sun, 31 May 2009 18:56:59 +0000 (21:56 +0300)]
core: *MediaServer* -> *RootDevice*

Rygel won't just be a MediaServer anymore soon, hence the renaming.

15 years agoPrepare release notes for 0.3. RYGEL_0_3
Zeeshan Ali (Khattak) [Fri, 29 May 2009 10:50:49 +0000 (13:50 +0300)]
Prepare release notes for 0.3.

15 years agoDon't put empty string to 'folders' config
Zeeshan Ali (Khattak) [Thu, 28 May 2009 14:21:03 +0000 (17:21 +0300)]
Don't put empty string to 'folders' config

15 years agoClear the existing service list first
Zeeshan Ali (Khattak) [Thu, 28 May 2009 13:54:52 +0000 (16:54 +0300)]
Clear the existing service list first

Services were getting accumulated in the description files each time
rygel was started. This change is to fix that.

15 years agoTake user transcoding configuration into account
Zeeshan Ali (Khattak) [Thu, 28 May 2009 13:39:03 +0000 (16:39 +0300)]
Take user transcoding configuration into account

15 years agoRygel.Configuration is now a singleton
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:53 +0000 (15:59 +0300)]
Rygel.Configuration is now a singleton

15 years agoRygel.Configuration should inherit GLib.Object
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:29 +0000 (15:59 +0300)]
Rygel.Configuration should inherit GLib.Object

15 years agoUse GLib.warning() for displaying warnings
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:40:46 +0000 (14:40 +0300)]
Use GLib.warning() for displaying warnings

15 years agoMediathek plugin should be enabled in the config
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:29:14 +0000 (14:29 +0300)]
Mediathek plugin should be enabled in the config

If the user built it, she knows that she needs it.

15 years agoMinor indentation fix
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:18:59 +0000 (14:18 +0300)]
Minor indentation fix

15 years agoUse Configuration class instead of raw gconf
Jens Georg [Wed, 27 May 2009 22:24:20 +0000 (00:24 +0200)]
Use Configuration class instead of raw gconf

15 years agoRemove MediaItem subclass
Jens Georg [Sun, 10 May 2009 15:30:20 +0000 (17:30 +0200)]
Remove MediaItem subclass

A special media item is no longer needed since commit
5da6e0be3c9d1162b9a39802157b1fd4facce86c

15 years agoSimply use basename everywhere
Jens Georg [Tue, 5 May 2009 20:09:33 +0000 (22:09 +0200)]
Simply use basename everywhere

There's no need to calculate the relative path to the parent
folder; that's exactly what basename does

15 years agoFix missing return value
Jens Georg [Wed, 27 May 2009 21:31:33 +0000 (23:31 +0200)]
Fix missing return value

15 years agoFix exception handling
Jens Georg [Wed, 27 May 2009 21:13:33 +0000 (23:13 +0200)]
Fix exception handling

15 years agoAdd get_int_list method to Configuration class
Jens Georg [Wed, 27 May 2009 21:07:54 +0000 (23:07 +0200)]
Add get_int_list method to Configuration class

15 years agoUse configuration class
Jens Georg [Wed, 27 May 2009 20:38:04 +0000 (22:38 +0200)]
Use configuration class

Use rygel's configuration class to access configuration.
Pay attention to the return value of get_user_special_dir ()

15 years agoFix schema file
Jens Georg [Wed, 27 May 2009 20:24:44 +0000 (22:24 +0200)]
Fix schema file

 - Missing </schema> tag
 - Wrong plugin name used

15 years agoRename gconf key from folder to folders
Jens Georg [Wed, 27 May 2009 13:05:50 +0000 (15:05 +0200)]
Rename gconf key from folder to folders

Folder was a legacy from when the plugin was meant
to only export a single folder; this is not true anymore
and the key has been renamed to reflect this

15 years agoAdd Readme for Mediathek plugin configuration
Jens Georg [Tue, 26 May 2009 20:20:55 +0000 (22:20 +0200)]
Add Readme for Mediathek plugin configuration

15 years agoUpdate schemafile for Folder and Mediathek
Jens Georg [Tue, 26 May 2009 20:20:31 +0000 (22:20 +0200)]
Update schemafile for Folder and Mediathek

15 years agoAlign the label to corresponding textview
Zeeshan Ali (Khattak) [Wed, 27 May 2009 17:01:25 +0000 (20:01 +0300)]
Align the label to corresponding textview

15 years agoOK button is the default button
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:21:28 +0000 (19:21 +0300)]
OK button is the default button

15 years agoPut plugins pref table in an alignment
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:13:14 +0000 (19:13 +0300)]
Put plugins pref table in an alignment

15 years agoProvide mnemonics
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:06:55 +0000 (19:06 +0300)]
Provide mnemonics

15 years agoEqually align the text labels
Zeeshan Ali (Khattak) [Wed, 27 May 2009 15:33:49 +0000 (18:33 +0300)]
Equally align the text labels

15 years agoHandle 'Folders' textview
Zeeshan Ali (Khattak) [Wed, 27 May 2009 14:56:51 +0000 (17:56 +0300)]
Handle 'Folders' textview

Get/Set folders from/to configuration to/from 'Folders' textview

15 years agoMethods to get/set list of strings configuration
Zeeshan Ali (Khattak) [Wed, 27 May 2009 14:54:02 +0000 (17:54 +0300)]
Methods to get/set list of strings configuration

Provide convenience methods to get/set list of strings from configuration

15 years agoAdd widgets to UI for specifying folders to export
Zeeshan Ali (Khattak) [Wed, 27 May 2009 12:51:10 +0000 (15:51 +0300)]
Add widgets to UI for specifying folders to export

15 years agoDBus MediaServer spec update
Zeeshan Ali (Khattak) [Wed, 27 May 2009 11:22:14 +0000 (14:22 +0300)]
DBus MediaServer spec update

Namespace renamed from "org.Rygel" to "org.gnome.UPnP"

15 years agoBetter handling of Module.symbol() failure
Zeeshan Ali (Khattak) [Wed, 27 May 2009 11:09:40 +0000 (14:09 +0300)]
Better handling of Module.symbol() failure

15 years agoShow exact error on module load failure
Zeeshan Ali (Khattak) [Wed, 27 May 2009 10:53:40 +0000 (13:53 +0300)]
Show exact error on module load failure