profile/ivi/rygel.git
15 years agoFix build rule for rygel-transcode-src.vala file.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:01:13 +0000 (19:01 +0000)]
Fix build rule for rygel-transcode-src.vala file.

svn path=/trunk/; revision=660

15 years agoAdd TranscodeSrc.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:01:09 +0000 (19:01 +0000)]
Add TranscodeSrc.

A gst source bin that is supposed to transcode any media (uses decodebin2) to
mpeg transport stream. Currently it will just use hard-coded encoders and
muxer.

svn path=/trunk/; revision=659

15 years agoDon't create transcoding resource for images.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:01:04 +0000 (19:01 +0000)]
Don't create transcoding resource for images.

svn path=/trunk/; revision=658

15 years agoCorrect creation of transcode resource.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:01:00 +0000 (19:01 +0000)]
Correct creation of transcode resource.

- Re-use the existing resource struct.
- reset different props.

svn path=/trunk/; revision=657

15 years agoUse vala syntax for concatenating strings.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:56 +0000 (19:00 +0000)]
Use vala syntax for concatenating strings.

svn path=/trunk/; revision=656

15 years agoPut transcoding target mime to http uri rather than a boolean.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:51 +0000 (19:00 +0000)]
Put transcoding target mime to http uri rather than a boolean.

svn path=/trunk/; revision=655

15 years agoHTTPServer.create_http_uri_for_item is now private.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:47 +0000 (19:00 +0000)]
HTTPServer.create_http_uri_for_item is now private.

svn path=/trunk/; revision=654

15 years agoSeparator for HTML query components is '&' rather than '?'.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:43 +0000 (19:00 +0000)]
Separator for HTML query components is '&' rather than '?'.

svn path=/trunk/; revision=653

15 years agoMove get_transcoded_resources() to HTTPServer.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:38 +0000 (19:00 +0000)]
Move get_transcoded_resources() to HTTPServer.

Move get_transcoded_resources() from DIDLLiteWriter to HTTPServer as
create_resources().

svn path=/trunk/; revision=652

15 years agoMediaItem creates res for itself for a given URI.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:34 +0000 (19:00 +0000)]
MediaItem creates res for itself for a given URI.

svn path=/trunk/; revision=651

15 years agoCreate and report transcode URIs as well.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:30 +0000 (19:00 +0000)]
Create and report transcode URIs as well.

svn path=/trunk/; revision=650

15 years agoUse "this" to make it things more explicit and therefore readable.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:25 +0000 (19:00 +0000)]
Use "this" to make it things more explicit and therefore readable.

svn path=/trunk/; revision=649

15 years agoMinor indentation fix.
Zeeshan Ali (Khattak) [Sun, 15 Mar 2009 19:00:20 +0000 (19:00 +0000)]
Minor indentation fix.

svn path=/trunk/; revision=648

15 years agoTell why Search.Query is used instead of Search.GetHitCount.
Zeeshan Ali (Khattak) [Mon, 9 Mar 2009 13:37:02 +0000 (13:37 +0000)]
Tell why Search.Query is used instead of Search.GetHitCount.

svn path=/trunk/; revision=647

15 years agoIt's root container if it's parent is 'null'.
Zeeshan Ali (Khattak) [Mon, 9 Mar 2009 12:54:48 +0000 (12:54 +0000)]
It's root container if it's parent is 'null'.

Fixes bug#574604.

svn path=/trunk/; revision=646

15 years agoPost release version bump.
Zeeshan Ali (Khattak) [Mon, 9 Mar 2009 12:54:45 +0000 (12:54 +0000)]
Post release version bump.

svn path=/trunk/; revision=645

15 years agoRelease announcement of 0.2.2. RYGEL_0_2_2
Zeeshan Ali (Khattak) [Mon, 23 Feb 2009 16:48:14 +0000 (16:48 +0000)]
Release announcement of 0.2.2.

svn path=/trunk/; revision=643

15 years agoRequire latest version (0.5.7) of Vala.
Zeeshan Ali (Khattak) [Mon, 23 Feb 2009 16:48:10 +0000 (16:48 +0000)]
Require latest version (0.5.7) of Vala.

svn path=/trunk/; revision=642

15 years agoDon't use shave for now, lets get back to it in the next release.
Zeeshan Ali (Khattak) [Mon, 23 Feb 2009 16:48:06 +0000 (16:48 +0000)]
Don't use shave for now, lets get back to it in the next release.

This reverts commit 4f253364493e8feebed31c98026d2a7a7185917d.

svn path=/trunk/; revision=641

15 years agoSpecify header files in vapi file.
Zeeshan Ali (Khattak) [Sat, 21 Feb 2009 17:53:27 +0000 (17:53 +0000)]
Specify header files in vapi file.

svn path=/trunk/; revision=640

15 years agoInclude needed header file.
Zeeshan Ali (Khattak) [Sat, 21 Feb 2009 17:52:57 +0000 (17:52 +0000)]
Include needed header file.

svn path=/trunk/; revision=639

15 years agoUse shave to get a linux kernel like build output.
Zeeshan Ali (Khattak) [Sat, 21 Feb 2009 17:52:24 +0000 (17:52 +0000)]
Use shave to get a linux kernel like build output.

svn path=/trunk/; revision=638

15 years agoHTTPServer implements StateMachine interface.
Zeeshan Ali (Khattak) [Sat, 21 Feb 2009 12:03:13 +0000 (12:03 +0000)]
HTTPServer implements StateMachine interface.

svn path=/trunk/; revision=637

15 years agoCreate the cancellable before anything else.
Zeeshan Ali (Khattak) [Sat, 21 Feb 2009 12:03:08 +0000 (12:03 +0000)]
Create the cancellable before anything else.

svn path=/trunk/; revision=636

15 years agoDistribute all VAPI files.
Zeeshan Ali (Khattak) [Fri, 20 Feb 2009 22:25:03 +0000 (22:25 +0000)]
Distribute all VAPI files.

This also fixes the `make distcheck`.

svn path=/trunk/; revision=635

15 years agoTrackerCategory checks for child count, asynchronously.
Zeeshan Ali (Khattak) [Fri, 20 Feb 2009 20:47:53 +0000 (20:47 +0000)]
TrackerCategory checks for child count, asynchronously.

svn path=/trunk/; revision=634

15 years agoWrite 4096 bytes at a time in case of SeekableResponse.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:18:19 +0000 (17:18 +0000)]
Write 4096 bytes at a time in case of SeekableResponse.

svn path=/trunk/; revision=633

15 years agoHTTPRespose unsets accumulate flag on Soup message.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:18:15 +0000 (17:18 +0000)]
HTTPRespose unsets accumulate flag on Soup message.

svn path=/trunk/; revision=632

15 years agoUse libsoup API to set "ContentLength" header.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:18:11 +0000 (17:18 +0000)]
Use libsoup API to set "ContentLength" header.

svn path=/trunk/; revision=631

15 years agoRemove a now redundant method.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:18:07 +0000 (17:18 +0000)]
Remove a now redundant method.

svn path=/trunk/; revision=630

15 years agoNo need to allow subclasses to override browse_cb.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:18:03 +0000 (17:18 +0000)]
No need to allow subclasses to override browse_cb.

If a subclass need to do that, it is better off implementing
ContentDirectory from scratch.

svn path=/trunk/; revision=629

15 years agoMark all internal API as 'internal'.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:59 +0000 (17:17 +0000)]
Mark all internal API as 'internal'.

svn path=/trunk/; revision=628

15 years agoUse VAPI sources directly rather than VAPI.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:54 +0000 (17:17 +0000)]
Use VAPI sources directly rather than VAPI.

This is needed for removing internal API from VAPI.

svn path=/trunk/; revision=627

15 years agoMinor indentation fix.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:50 +0000 (17:17 +0000)]
Minor indentation fix.

svn path=/trunk/; revision=626

15 years agoDeclare error throw.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:45 +0000 (17:17 +0000)]
Declare error throw.

svn path=/trunk/; revision=625

15 years agoAllow multiple URIs to original content in MediaItem.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:41 +0000 (17:17 +0000)]
Allow multiple URIs to original content in MediaItem.

All the other properties (resolution, number of channels, frame rate etc
etc) still need to be exactly the same for each item.

svn path=/trunk/; revision=624

15 years agoSmall refactoring.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:36 +0000 (17:17 +0000)]
Small refactoring.

svn path=/trunk/; revision=623

15 years agoCheck for needed version of gupnp-vala.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:31 +0000 (17:17 +0000)]
Check for needed version of gupnp-vala.

svn path=/trunk/; revision=622

15 years agoBrowse just forwards the Cancellable to async calls.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:27 +0000 (17:17 +0000)]
Browse just forwards the Cancellable to async calls.

svn path=/trunk/; revision=621

15 years agoReplace StateMachine.cancel by use of GLib.Cancellable.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:22 +0000 (17:17 +0000)]
Replace StateMachine.cancel by use of GLib.Cancellable.

svn path=/trunk/; revision=620

15 years agoAll results inherit from Rygel.SimpleAsyncResult.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:16 +0000 (17:17 +0000)]
All results inherit from Rygel.SimpleAsyncResult.

svn path=/trunk/; revision=619

15 years agoDisconnect from StateMachine.completed before cancelling it.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:11 +0000 (17:17 +0000)]
Disconnect from StateMachine.completed before cancelling it.

svn path=/trunk/; revision=618

15 years agoAll state machines are canceled before their user objects go away.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:17:05 +0000 (17:17 +0000)]
All state machines are canceled before their user objects go away.

svn path=/trunk/; revision=617

15 years agoCommon interface for all state machine classes.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:16:59 +0000 (17:16 +0000)]
Common interface for all state machine classes.

svn path=/trunk/; revision=616

15 years agoSet appliction name.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:16:53 +0000 (17:16 +0000)]
Set appliction name.

This is just the translated PACKAGE_NAME from config.h.

svn path=/trunk/; revision=615

15 years agoInclude config.h in the build.
Zeeshan Ali (Khattak) [Thu, 19 Feb 2009 17:16:47 +0000 (17:16 +0000)]
Include config.h in the build.

svn path=/trunk/; revision=614

15 years agoDecrease needed gconf version to 2.16.
Zeeshan Ali (Khattak) [Tue, 17 Feb 2009 12:01:43 +0000 (12:01 +0000)]
Decrease needed gconf version to 2.16.

svn path=/trunk/; revision=613

15 years agoImplement notification of container updates.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:33:23 +0000 (17:33 +0000)]
Implement notification of container updates.

All plugins need to do to notify clients of changes in a container,
let's say 'some_container' is to call 'some_container.updated()'.

svn path=/trunk/; revision=612

15 years agoCorrect the logic of creating ContainerUpdateIDs value.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:33:19 +0000 (17:33 +0000)]
Correct the logic of creating ContainerUpdateIDs value.

svn path=/trunk/; revision=611

15 years agoFirst param of signal is always the source object.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:33:15 +0000 (17:33 +0000)]
First param of signal is always the source object.

svn path=/trunk/; revision=610

15 years agoBasic skeleton for "ContainerUpdateIDs" state-variable.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:33:11 +0000 (17:33 +0000)]
Basic skeleton for "ContainerUpdateIDs" state-variable.

svn path=/trunk/; revision=609

15 years agoContentDir keeps a system_update_id.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:33:07 +0000 (17:33 +0000)]
ContentDir keeps a system_update_id.

This id is no longer the same as update_id of the root_container.

svn path=/trunk/; revision=608

15 years agoProvide a mechanism for container to signal updates.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:33:03 +0000 (17:33 +0000)]
Provide a mechanism for container to signal updates.

svn path=/trunk/; revision=607

15 years agoAll containers gets an update_id of 0 at creation.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:32:59 +0000 (17:32 +0000)]
All containers gets an update_id of 0 at creation.

svn path=/trunk/; revision=606

15 years agoEach media object gets a weak ref to it's parent container.
Zeeshan Ali (Khattak) [Mon, 16 Feb 2009 17:32:54 +0000 (17:32 +0000)]
Each media object gets a weak ref to it's parent container.

svn path=/trunk/; revision=605

15 years agoRefactor TrackerCategory constructor.
Zeeshan Ali (Khattak) [Sun, 15 Feb 2009 21:58:06 +0000 (21:58 +0000)]
Refactor TrackerCategory constructor.

svn path=/trunk/; revision=604

15 years agoRename (category) container to category.
Zeeshan Ali (Khattak) [Sun, 15 Feb 2009 21:58:00 +0000 (21:58 +0000)]
Rename (category) container to category.

svn path=/trunk/; revision=603

15 years agoDon't assume a requested count if not provided.
Zeeshan Ali (Khattak) [Sun, 15 Feb 2009 19:59:32 +0000 (19:59 +0000)]
Don't assume a requested count if not provided.

svn path=/trunk/; revision=602

15 years agoBump libgee required version to 0.1.5.
Zeeshan Ali (Khattak) [Sun, 15 Feb 2009 19:59:27 +0000 (19:59 +0000)]
Bump libgee required version to 0.1.5.

svn path=/trunk/; revision=601

15 years agoRefactor DVBRootContainer constructor.
Zeeshan Ali (Khattak) [Sun, 15 Feb 2009 00:01:13 +0000 (00:01 +0000)]
Refactor DVBRootContainer constructor.

Somehow this fixes the crash in case of error.

svn path=/trunk/; revision=600

15 years agoReturn in case of error.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 23:06:39 +0000 (23:06 +0000)]
Return in case of error.

Should fix the segfault in case of errors on async dbus calls.

svn path=/trunk/; revision=599

15 years agoreturn a empty list rather than null.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:33:51 +0000 (15:33 +0000)]
return a empty list rather than null.

Fixes a crash in case of items providing HTTP URIs.

svn path=/trunk/; revision=598

15 years agoCatch the error thrown by Search.Query.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:33:26 +0000 (15:33 +0000)]
Catch the error thrown by Search.Query.

svn path=/trunk/; revision=597

15 years agoAdd complete_in_idle to TrackerSearchResult.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:33:10 +0000 (15:33 +0000)]
Add complete_in_idle to TrackerSearchResult.

svn path=/trunk/; revision=596

15 years agoPut the result object to list as soon as it is created.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:33:01 +0000 (15:33 +0000)]
Put the result object to list as soon as it is created.

svn path=/trunk/; revision=595

15 years agoPut TrackerGetMetadataResult in separate file.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:32:44 +0000 (15:32 +0000)]
Put TrackerGetMetadataResult in separate file.

svn path=/trunk/; revision=594

15 years agoPut Browse into Rygel namespace.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:32:20 +0000 (15:32 +0000)]
Put Browse into Rygel namespace.

svn path=/trunk/; revision=593

15 years agoCall Metadata.Get asynchronously.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:31:58 +0000 (15:31 +0000)]
Call Metadata.Get asynchronously.

svn path=/trunk/; revision=592

15 years agoMake get_item_path public.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:31:37 +0000 (15:31 +0000)]
Make get_item_path public.

svn path=/trunk/; revision=591

15 years agoresults list should be able to container any AsyncResult.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:31:21 +0000 (15:31 +0000)]
results list should be able to container any AsyncResult.

svn path=/trunk/; revision=590

15 years agoRename fetch_item_by_path to create_item.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:31:05 +0000 (15:31 +0000)]
Rename fetch_item_by_path to create_item.

svn path=/trunk/; revision=589

15 years agoPut TrackerSearchResult in separate file.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:30:50 +0000 (15:30 +0000)]
Put TrackerSearchResult in separate file.

svn path=/trunk/; revision=588

15 years agoRename search_result_ready method to ready.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:30:29 +0000 (15:30 +0000)]
Rename search_result_ready method to ready.

svn path=/trunk/; revision=587

15 years agoNo need to delay the completion of search result.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:30:14 +0000 (15:30 +0000)]
No need to delay the completion of search result.

svn path=/trunk/; revision=586

15 years agoTrackerSearchResult doesn't inherit from SimpleAsyncResult.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:29:59 +0000 (15:29 +0000)]
TrackerSearchResult doesn't inherit from SimpleAsyncResult.

This is a temporary hack (hopefully) till bug#567319 is fixed.

svn path=/trunk/; revision=585

15 years agoAdd/Remove the search results to the list at the correct time.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:28:05 +0000 (15:28 +0000)]
Add/Remove the search results to the list at the correct time.

svn path=/trunk/; revision=584

15 years agoKeep the results in an ArrayList.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:27:43 +0000 (15:27 +0000)]
Keep the results in an ArrayList.

svn path=/trunk/; revision=583

15 years agocall Search.Query asynchronously.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:27:22 +0000 (15:27 +0000)]
call Search.Query asynchronously.

This currently doesn't build due to bug#567319.

svn path=/trunk/; revision=582

15 years agoGive subclasses of SimpleAsyncResult access to it's fields.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:27:03 +0000 (15:27 +0000)]
Give subclasses of SimpleAsyncResult access to it's fields.

svn path=/trunk/; revision=581

15 years agoItem constructor don't need to throw signals anymore.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:26:36 +0000 (15:26 +0000)]
Item constructor don't need to throw signals anymore.

svn path=/trunk/; revision=580

15 years agoRemove TrackerContainer.fetch_item method.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:26:14 +0000 (15:26 +0000)]
Remove TrackerContainer.fetch_item method.

svn path=/trunk/; revision=579

15 years agoRefactor fetch_item* implementations.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:26:05 +0000 (15:26 +0000)]
Refactor fetch_item* implementations.

svn path=/trunk/; revision=578

15 years agoUse Tracker.Search.Query for getting total items in a category as well.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:25:43 +0000 (15:25 +0000)]
Use Tracker.Search.Query for getting total items in a category as well.

svn path=/trunk/; revision=577

15 years agoStart using Tracker.Search.Query.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:25:29 +0000 (15:25 +0000)]
Start using Tracker.Search.Query.

This method has a horrible api and moreover vala dbus api is currently
not really capable of handling the return value of this method.
Nevertheless, it does improve performance a lot since now we get all the
metadata for all items at once rather than making a dbus call for each
item separately.

svn path=/trunk/; revision=576

15 years agocontainer classes also provide get_metadata_keys().
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:25:16 +0000 (15:25 +0000)]
container classes also provide get_metadata_keys().

svn path=/trunk/; revision=575

15 years agoContainer classes fetch the metadata.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:24:53 +0000 (15:24 +0000)]
Container classes fetch the metadata.

svn path=/trunk/; revision=574

15 years agofetch_metadata doesn't need to be implemented by every item class.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:24:37 +0000 (15:24 +0000)]
fetch_metadata doesn't need to be implemented by every item class.

svn path=/trunk/; revision=573

15 years agoEach container class implements fetch_item_by_path().
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:24:24 +0000 (15:24 +0000)]
Each container class implements fetch_item_by_path().

svn path=/trunk/; revision=572

15 years agoRename find_item* to fetch_item*.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:24:04 +0000 (15:24 +0000)]
Rename find_item* to fetch_item*.

svn path=/trunk/; revision=571

15 years agoItem constructors take an optional metadata argument.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:23:49 +0000 (15:23 +0000)]
Item constructors take an optional metadata argument.

This is to avoid each item having to fetch it's metadata from Tracker on
creation if the creator of the item already has it's metadata at hand.

svn path=/trunk/; revision=570

15 years agoRefactor: Separate function for retreiving the metadata keys.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:23:31 +0000 (15:23 +0000)]
Refactor: Separate function for retreiving the metadata keys.

svn path=/trunk/; revision=569

15 years agoRefactor: put initialization from metadata into a separate func.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:23:16 +0000 (15:23 +0000)]
Refactor: put initialization from metadata into a separate func.

svn path=/trunk/; revision=568

15 years agoUse Filename.to_string ().
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:23:02 +0000 (15:23 +0000)]
Use Filename.to_string ().

Bastian should be happier now. :)

svn path=/trunk/; revision=567

15 years agoTurn find_item*() methods private.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:22:43 +0000 (15:22 +0000)]
Turn find_item*() methods private.

svn path=/trunk/; revision=566

15 years agoSeparate classes for all categories.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:22:27 +0000 (15:22 +0000)]
Separate classes for all categories.

svn path=/trunk/; revision=565

15 years agoNo need to keep DBus proxy objects 'static'.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:22:11 +0000 (15:22 +0000)]
No need to keep DBus proxy objects 'static'.

svn path=/trunk/; revision=564

15 years agoPrefix items' IDs with parent container's ID.
Zeeshan Ali (Khattak) [Sat, 14 Feb 2009 15:21:45 +0000 (15:21 +0000)]
Prefix items' IDs with parent container's ID.

This is to recognise the parent of the item without having to ask anything
from Tracker over DBus.

svn path=/trunk/; revision=563

15 years agoDon't continue handling the browse if parsing of arguments fail.
Zeeshan Ali (Khattak) [Mon, 9 Feb 2009 22:29:35 +0000 (22:29 +0000)]
Don't continue handling the browse if parsing of arguments fail.

svn path=/trunk/; revision=562

15 years agoUtilize generics in AsyncResult so it can hold any type of data.
Zeeshan Ali (Khattak) [Mon, 9 Feb 2009 22:29:30 +0000 (22:29 +0000)]
Utilize generics in AsyncResult so it can hold any type of data.

svn path=/trunk/; revision=561

15 years agoMake MediaContainer.get_children async.
Zeeshan Ali (Khattak) [Mon, 9 Feb 2009 22:29:25 +0000 (22:29 +0000)]
Make MediaContainer.get_children async.

A GIO-based API divided in two methods get_children and
get_children_finish.

svn path=/trunk/; revision=560