commit 253a03c2950c36ff44e99c08e648c38d008290d3 Author: Juan A. Suarez Romero Date: Thu Feb 10 16:38:38 2011 +0100 Bump to version 0.1.9 Signed-off-by: Juan A. Suarez Romero AUTHORS | 1 + NEWS | 19 +++++++++++++++++++ configure.ac | 2 +- src/data/grl-config.c | 4 ++++ src/data/grl-media.c | 4 ++++ src/grl-media-source.c | 8 ++++++++ 6 files changed, 37 insertions(+), 1 deletions(-) commit af4d843e59add89244777c4d8d1844bb0c1575bc Author: Juan A. Suarez Romero Date: Thu Feb 10 17:03:36 2011 +0000 build: Include new files in EXTRA_DIST. Signed-off-by: Juan A. Suarez Romero src/Makefile.am | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 5f2c1d3a5b112663ff8a0fba42b1c347357ec2aa Author: Juan A. Suarez Romero Date: Tue Feb 8 09:36:24 2011 +0000 test-ui: notify changes Signed-off-by: Juan A. Suarez Romero tools/grilo-test-ui/main.c | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) commit 9b10a74236f3b0343686efd4934e37b8720eb039 Author: Guillaume Emont Date: Thu Feb 10 12:29:00 2011 +0100 core: fix potential segfault in metadata_full_resolution_done_cb() When introducing the cancel notification patch, it was assumed that the source passed to metadata_full_resolution_done_cb() is the original media source that triggered the full resolution. This is generally wrong, and can cause a segfault. The original source is available in cb_info->source. Signed-off-by: Iago Toral Quiroga src/grl-media-source.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e8f9752dd903e1ac61025e5cd26d33e0953b79f7 Author: Juan A. Suarez Romero Date: Wed Feb 9 09:34:52 2011 +0100 core: Use g_set_error() when appropriate Increases code readability. Signed-off-by: Juan A. Suarez Romero src/grl-plugin-registry.c | 105 ++++++++++++++++++++------------------------ 1 files changed, 48 insertions(+), 57 deletions(-) commit fab98beb8e3417b911d1d24a67d1ddaa913970cb Author: Guillaume Emont Date: Mon Feb 7 20:58:36 2011 +0100 core: fix comments cancelation->cancellation Signed-off-by: Juan A. Suarez Romero src/grl-media-source.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 7ea87b044f5ff047e9ea81a174765f086627aa82 Author: Juan A. Suarez Romero Date: Tue Feb 8 16:46:44 2011 +0100 core: Bump up required glib version So we can use G_TYPE_BYTE_ARRAY. Signed-off-by: Juan A. Suarez Romero configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 482a779ac5b7bd81953bf48136d078dd5500a36c Author: Juan A. Suarez Romero Date: Tue Feb 8 12:49:19 2011 +0000 test-ui: Inform about cancelled operations Signed-off-by: Juan A. Suarez Romero tools/grilo-test-ui/main.c | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) commit 66d81b3591f597541be331572fbec9117794d068 Author: Guillaume Emont Date: Mon Feb 7 20:58:35 2011 +0100 core: ensure correct cancel notification This commit ensures that the callback (or the last callback in the case of browse, search and query) is always called with GRL_CORE_ERROR_OPERATION_CANCELLED set if the operation has been cancelled (both in the cases where the source implements ->cancel() and where it doesn't). Signed-off-by: Juan A. Suarez Romero src/grl-media-source.c | 103 ++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 95 insertions(+), 8 deletions(-) commit b61cad7f2f4cafb548065617b5a0502c9416c29c Author: Guillaume Emont Date: Mon Feb 7 20:58:34 2011 +0100 core: added operation id in MetadataFullResolutionCtlCb Signed-off-by: Juan A. Suarez Romero src/grl-media-source.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 2ee06ab11b1db30bf41197603238436cf662f113 Author: Guillaume Emont Date: Mon Feb 7 20:58:33 2011 +0100 core: updated grl_media_source_cancel() documentation Signed-off-by: Juan A. Suarez Romero src/grl-media-source.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) commit 4b2da639f807a0b6a8c517d99cfc472b2e47ae1f Author: Guillaume Emont Date: Mon Feb 7 20:58:32 2011 +0100 core: added GRL_CORE_ERROR_OPERATION_CANCELLED Signed-off-by: Juan A. Suarez Romero src/grl-error.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 158953bed375168fd6c253d0388b3ed364df1580 Author: Juan A. Suarez Romero Date: Tue Feb 8 14:37:34 2011 +0100 core: Get rid of content_changed method This default handler is not used in any place. Signed-off-by: Juan A. Suarez Romero src/grl-media-source.c | 2 +- src/grl-media-source.h | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) commit 02688fe8f32a512a1872e71e32865b2e21f04f1c Author: Juan A. Suarez Romero Date: Wed Feb 2 21:17:57 2011 +0100 test-ui: Support search all If search text entry is empty, perform a search all. Signed-off-by: Juan A. Suarez Romero tools/grilo-test-ui/main.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit d16ca2c10b67d770aee346c41a67ebba7e6e0384 Author: Juan A. Suarez Romero Date: Wed Feb 2 08:47:39 2011 +0100 core: Allow NULL text search() Searching for a NULL text returns all non-boxes elements in the source. Basically, it is equal as "search all elements" with no restriction. Signed-off-by: Juan A. Suarez Romero src/grl-error.h | 2 ++ src/grl-media-source.c | 11 ++++++++++- src/grl-multiple.c | 4 +++- 3 files changed, 15 insertions(+), 2 deletions(-) commit cf1ab2425d9f4da3b5dfeb3050e2dda7cac3a2f0 Author: Víctor Manuel Jáquez Leal Date: Thu Feb 3 16:41:06 2011 +0100 wc: raise an error when the operation is cancelled Signed-off-by: Víctor Manuel Jáquez Leal libs/net/grl-net-wc.c | 3 +++ libs/net/grl-net-wc.h | 2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) commit 81972d8db63df0608abf39df099019807524593f Author: Fabien Lebaillif - Delamare Date: Thu Jan 20 12:39:08 2011 +0100 core: Add support for binary thumbnails Add a new property, "thumbnail-binary", to directly store thumbnails. Signed-off-by: Juan A. Suarez Romero src/data/grl-media.c | 32 ++++++++++++++++++++++++++++++++ src/data/grl-media.h | 4 ++++ src/grl-metadata-key.c | 11 +++++++++++ src/grl-metadata-key.h | 1 + 4 files changed, 48 insertions(+), 0 deletions(-) commit 3277b84188f9725adcbe456a82ff046d4560ec39 Author: Fabien Lebaillif - Delamare Date: Thu Jan 20 12:37:52 2011 +0100 core: Add support for binary data in GrlData Sometimes it is interested to handle binary data in the grilo medias. This add support for making it easy to take care of it. Signed-off-by: Juan A. Suarez Romero src/data/grl-data.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++- src/data/grl-data.h | 4 +++ 2 files changed, 60 insertions(+), 1 deletions(-) commit 2af67ac6606487c044eb51e9df51359e1775da5a Author: Juan A. Suarez Romero Date: Thu Jan 20 11:23:05 2011 +0000 core: Add binary API key to GrlConfig Add "api-key-blob" to store binary API keys. Signed-off-by: Juan A. Suarez Romero src/data/grl-config.c | 26 ++++++++++++++++++++++++++ src/data/grl-config.h | 5 +++++ 2 files changed, 31 insertions(+), 0 deletions(-) commit b0a0c883a436f4367472b6c143053110e40d5e6f Author: Juan A. Suarez Romero Date: Thu Jan 20 11:11:53 2011 +0000 core: Add binary support in GrlConfig Add grl_config_get/set_binary so configurations allow binary data. Based on work by Fabien Lebaillif. Signed-off-by: Juan A. Suarez Romero src/data/grl-config.c | 42 ++++++++++++++++++++++++++++++++++++++++++ src/data/grl-config.h | 3 +++ 2 files changed, 45 insertions(+), 0 deletions(-) commit d41e8dfc5060e4611dda5598085e75072e072b91 Author: Juan A. Suarez Romero Date: Tue Feb 1 17:55:14 2011 +0100 core: Add a default root media in notify_change() If plugin use a NULL-media in notify_change(), replace it by the GrlBox that represents the root. Signed-off-by: Juan A. Suarez Romero src/grl-media-source.c | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) commit 130263c57dd0b2ae1748617c1f479711abefb673 Author: Juan A. Suarez Romero Date: Tue Feb 1 17:49:51 2011 +0100 core: rename notify_changed by notify_change Signed-off-by: Juan A. Suarez Romero src/grl-media-source.c | 40 ++++++++++++++++++++-------------------- src/grl-media-source.h | 26 +++++++++++++------------- src/grl-metadata-source.h | 4 ++-- 3 files changed, 35 insertions(+), 35 deletions(-) commit 26b5996c5487c026d5e72bfb460d4b134702b2e4 Author: Juan A. Suarez Romero Date: Tue Feb 1 17:19:14 2011 +0100 core: Add API to handle "content-changed" signal Add notify_changed_start() and notify_changed_stop() functions so sources know when they can emit the signal and when not. Sources that are able to emit "content-changed" signal must re-implement notify_changed_start() and notify_changed_stop() functions. Added a notify_changed() function too that sources can use to send the signal. Signed-off-by: Juan A. Suarez Romero src/grl-error.h | 4 ++- src/grl-media-source.c | 83 +++++++++++++++++++++++++++++++++++++++++++++ src/grl-media-source.h | 21 +++++++++++- src/grl-metadata-source.h | 2 + 4 files changed, 108 insertions(+), 2 deletions(-) commit 90ea9dbda671a2127353036b0fffcfb5e2097225 Author: Juan A. Suarez Romero Date: Tue Feb 1 16:45:31 2011 +0100 core: Add "content-changed" signal This signal is emitted by media sources (if they handle it) to notify a change has happened in the source content. Depending on the source, it can provide more specific information like where the change happened, or the kind of change (content added or content removed). Signed-off-by: Juan A. Suarez Romero configure.ac | 5 ++++ src/Makefile.am | 23 ++++++++++++++++++++- src/grl-marshal.list | 1 + src/grl-media-source.c | 40 ++++++++++++++++++++++++++++++++++++++ src/grl-media-source.h | 24 +++++++++++++++++++++- src/grl-type-builtins.c.template | 35 +++++++++++++++++++++++++++++++++ src/grl-type-builtins.h.template | 24 ++++++++++++++++++++++ 7 files changed, 150 insertions(+), 2 deletions(-) commit ee0e6a573eca3d429c24880c48ed805f70a8aebb Author: Lionel Landwerlin Date: Tue Feb 1 15:17:42 2011 +0000 test-ui: make metadata cells editable So users can copy their content (useful for debug). Signed-off-by: Lionel Landwerlin tools/grilo-test-ui/main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit ef3286e57efeb36801da2097fe6d75526a794561 Author: Juan A. Suarez Romero Date: Tue Feb 1 08:49:33 2011 +0000 test-ui: Do not unref NULL icon Check icon before unreffing it. Signed-off-by: Juan A. Suarez Romero tools/grilo-test-ui/main.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 990a486432cdf16f7b74846eb7715d081388e72a Author: Juan A. Suarez Romero Date: Thu Jan 27 21:24:11 2011 +0100 vala: Fix typo tools/vala/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)