commit 476ca572d53c87f5aba5970921d4fa7bc1d4a052 Author: Juan A. Suarez Romero Date: Fri Jul 1 11:44:44 2011 +0000 Bump to 0.1.16 Signed-off-by: Juan A. Suarez Romero NEWS | 20 ++++++++++++++++++++ configure.ac | 2 +- src/grl-metadata-source.c | 3 +++ src/grl-multiple.c | 1 + src/grl-operation.c | 6 ++++++ 5 files changed, 31 insertions(+), 1 deletions(-) commit 50e4e2b0682bf7fb20f86a86133cbdc86399a9e9 Author: Alberto Garcia Date: Fri Jul 1 17:14:10 2011 +0300 doc: Generate a ChangeLog file from git when running make dist Makefile.am | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) commit 23cf0da1ec493e499194f3b04945d81f005db73e Author: Juan A. Suarez Romero Date: Fri Jul 1 14:36:00 2011 +0000 doc: Move grl-inspect manpage to docs/ subdir Signed-off-by: Juan A. Suarez Romero Makefile.am | 2 - doc/grilo/Makefile.am | 5 +++- doc/grilo/grl-inspect.1 | 51 +++++++++++++++++++++++++++++++++++++++++++++++ grl-inspect.1 | 51 ----------------------------------------------- 4 files changed, 55 insertions(+), 54 deletions(-) commit e6e0f30b2ae29a908f65cfe46eac40a79c4380ac Author: Juan A. Suarez Romero Date: Fri Jul 1 13:58:31 2011 +0000 test-ui: Fix unitialized variable Signed-off-by: Juan A. Suarez Romero tools/grilo-test-ui/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 80ad777b47a838b73fe5d6dcef12cf1064f2272f Author: Juan A. Suarez Romero Date: Fri Jul 1 13:57:01 2011 +0000 grl-net: Fix a couple of WARNINGs Seems the compiler is not able to detect that a variable in a #ifdef block has been initialized in a previous block. So let's merge both blocks. Signed-off-by: Juan A. Suarez Romero libs/net/grl-net-wc.c | 8 +++----- libs/net/wc-test.c | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) commit adba245c71f33eda8ea5ef5a7177aa30d4dd07ff Author: Juan A. Suarez Romero Date: Fri Jul 1 13:56:32 2011 +0000 core: Fix uninitialized variable Signed-off-by: Juan A. Suarez Romero src/grl-plugin-registry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c921c782bd558e00058f4494fdd5f8f3cdf6df31 Author: Juan A. Suarez Romero Date: Fri Jul 1 12:29:38 2011 +0000 build: Disable debug and tests by default If user says nothing, do not build tests nor with debug options. Signed-off-by: Juan A. Suarez Romero configure.ac | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) commit 7ec97af384dfc3885a63718855f75d0801cb68e4 Author: Juan A. Suarez Romero Date: Fri Jul 1 12:28:37 2011 +0000 tests: Fix test_set_metadata Signed-off-by: Juan A. Suarez Romero tests/python/test_metadata_source.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit 5e552accef2719cef81a4f854a88ac2083e4c86f Author: Iago Toral Quiroga Date: Wed Jun 29 10:45:04 2011 +0200 doc: Fix wrong xml header doc/grilo/plugins-media-sources.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7ef8e91beea7b799060dfe2dd78c8dc8b7c61fe3 Author: Alberto Garcia Date: Tue Jun 28 23:11:24 2011 +0200 doc: Add manpage for grl-inspect Signed-off-by: Iago Toral Quiroga Makefile.am | 2 ++ grl-inspect.1 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 0 deletions(-) commit b4b2401d080f9259438ce274d9274435435fe878 Author: Juan A. Suarez Romero Date: Tue Jun 28 11:09:53 2011 +0000 doc: Provide more links in documentation Add cross-references. Signed-off-by: Juan A. Suarez Romero doc/grilo/plugins-media-sources.xml | 206 +++++++++++++++++--------------- doc/grilo/plugins-metadata-sources.xml | 39 ++++--- 2 files changed, 131 insertions(+), 114 deletions(-) commit 9643d1d5cab4db9bb60613789cb2d368029fc746 Author: Juan A. Suarez Romero Date: Wed Jun 29 09:01:59 2011 +0000 doc: Update documentation Document the new way of cancelling operations. Signed-off-by: Juan A. Suarez Romero doc/grilo/Makefile.am | 1 + doc/grilo/grilo-docs.sgml | 1 + doc/grilo/grilo-sections.txt | 8 +++++++- doc/grilo/plugins-metadata-sources.xml | 19 +++++++++++-------- 4 files changed, 20 insertions(+), 9 deletions(-) commit ddc52b54e833ee942f93e8d82a398f54a582c2ac Author: Juan A. Suarez Romero Date: Mon Jun 27 13:16:37 2011 +0000 doc: Fix parameter typo Signed-off-by: Juan A. Suarez Romero src/grl-operation.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a726398d76a1206e5f97e80c44c47bd4e9ff25e3 Author: Iago Toral Quiroga Date: Tue Jun 28 18:31:21 2011 +0200 doc: Fixed typos doc/grilo/environment-setup.xml | 2 +- doc/grilo/writing-apps.xml | 40 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 21 deletions(-) commit 89395f30493c65f89de3df33539a2a516084c4c6 Author: Iago Toral Quiroga Date: Tue Jun 28 18:16:54 2011 +0200 doc: Renamed files with the documentation for plugin developers. doc/grilo/Makefile.am | 6 +- doc/grilo/grilo-docs.sgml | 6 +- doc/grilo/plugins-media-sources.xml | 1157 ++++++++++++++++++++ doc/grilo/plugins-metadata-sources.xml | 392 +++++++ doc/grilo/plugins-testing.xml | 99 ++ doc/grilo/quick-start-plugins-media-sources.xml | 1157 -------------------- doc/grilo/quick-start-plugins-metadata-sources.xml | 392 ------- doc/grilo/quick-start-plugins-testing.xml | 99 -- 8 files changed, 1654 insertions(+), 1654 deletions(-) commit 1e7149c5f25000f57dac8f6be66c4d51736f4139 Author: Iago Toral Quiroga Date: Tue Jun 28 18:10:53 2011 +0200 doc: Added more information to the Quick Start chapter and renamed it to Tutorials. doc/grilo/Makefile.am | 4 +- doc/grilo/environment-setup.xml | 199 ++++++++++ doc/grilo/grilo-docs.sgml | 18 +- doc/grilo/quick-start-using-grilo.xml | 296 --------------- doc/grilo/quick-start.xml | 73 ++++ doc/grilo/writing-apps.xml | 648 +++++++++++++++++++++++++++++++++ 6 files changed, 937 insertions(+), 301 deletions(-) commit 8733c9c14b56cb9edb876cb979b7f3c33d21ed3b Author: Juan A. Suarez Romero Date: Wed Jun 29 08:47:24 2011 +0000 core: introduce grilo operations There are several ways to make requests on grilo at the moment. You can either use the MediaSource API (to find medias) or the MetadataSource API (to find metadatas) or the Multiple API (to find medias on a set of media sources). Currently MediaSource and MetadataSource share the same API to cancel an operation, but the Multiple API remains different. This patch proposes to unify all the operations and allocate their ids at only one place. This benefits the user by making the whole API simpler (you no longer have to remember to how to cancel your operation, there is only one way to do it). This other advantage of this patch is to have a centralized place where to find all the ongoing operations (that led to fix a memory leak earlier), in the future that could help to debug stalled operations. Signed-off-by: Lionel Landwerlin Signed-off-by: Juan A. Suarez Romero src/Makefile.am | 5 +- src/grilo.c | 4 + src/grilo.h | 1 + src/grl-media-source.c | 41 +++++------- src/grl-metadata-source.c | 149 +++++++++++++++++++--------------------- src/grl-metadata-source.h | 13 ++-- src/grl-multiple.c | 88 +++++++++++------------- src/grl-multiple.h | 2 +- src/grl-operation-priv.h | 43 ++++++++++++ src/grl-operation.c | 162 ++++++++++++++++++++++++++++++++++++++++++++ src/grl-operation.h | 42 +++++++++++ tools/grilo-test-ui/main.c | 7 +-- 12 files changed, 392 insertions(+), 165 deletions(-) commit fb8307aaf9b6e77e63f3f5d74db6a4dc10706acc Author: Lionel Landwerlin Date: Thu Jun 16 18:53:49 2011 +0100 core: use current thread to synchronously wait instead of main thread Signed-off-by: Lionel Landwerlin src/grl-sync.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d717b79c34aa6bdd5d0b92dd1efded614197e477 Author: Lionel Landwerlin Date: Thu Jun 16 16:09:24 2011 +0100 grl-media-source: signal finished metadata() operations We were previously leaking metadata() operations by never signalling them as "finished". Signed-off-by: Lionel Landwerlin src/grl-media-source.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit e0ea1c12b49a4a35125b0c6a705b2c6f4970b65e Author: Iago Toral Quiroga Date: Thu Jun 16 13:35:58 2011 +0200 doc: Added a chapter on plugin development. doc/grilo/Makefile.am | 5 +- doc/grilo/grilo-docs.sgml | 19 + doc/grilo/quick-start-plugins-media-sources.xml | 1157 ++++++++++++++++++++ doc/grilo/quick-start-plugins-metadata-sources.xml | 392 +++++++ doc/grilo/quick-start-plugins-testing.xml | 99 ++ 5 files changed, 1671 insertions(+), 1 deletions(-) commit aab5fbd52bca97915622e4407ca15eb922291806 Author: Juan A. Suarez Romero Date: Thu Jun 9 15:11:12 2011 +0000 doc: Split code examples from documentation Put examples in a separated directory, so user can easily compile them, and embed those files in the documentation. Signed-off-by: Juan A. Suarez Romero Makefile.am | 2 +- configure.ac | 1 + doc/grilo/quick-start-using-grilo.xml | 664 ++---------------------------- examples/Makefile.am | 20 + examples/browsing.c | 128 ++++++ examples/configuring-plugins.c | 69 +++ examples/efficient-metadata-resolution.c | 149 +++++++ examples/loading-plugins.c | 71 ++++ examples/multivalues.c | 123 ++++++ examples/searching.c | 105 +++++ 10 files changed, 698 insertions(+), 634 deletions(-) commit 259160f359ffb26ebc59eff4d917475d09efab40 Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 16:57:07 2011 +0200 doc: fix grilo-net documentation Signed-off-by: Víctor Manuel Jáquez Leal doc/libs/grilo-libs-sections.txt | 6 +++--- libs/net/grl-net-wc.c | 1 + libs/net/grl-net-wc.h | 17 +++++++++-------- 3 files changed, 13 insertions(+), 11 deletions(-) commit 1ce53fad0b11451e8aae3eab456d8a13ae549609 Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 14:45:48 2011 +0200 doc: update links in quick start tutorial Signed-off-by: Víctor Manuel Jáquez Leal doc/grilo/quick-start-using-grilo.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit c5bee47107cf09abb3cbf18c4f1115605d953b88 Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 14:45:19 2011 +0200 doc: change #GrlBox to #GrlMediaBox, because box is deprecated Signed-off-by: Víctor Manuel Jáquez Leal src/grl-media-source.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5490e97f80e35b9fae677d9d8941d81883c10a64 Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 14:37:25 2011 +0200 doc: fix gtk-doc type parsing gtk-doc demands that the object structure is declared first and afterwards the class structure Signed-off-by: Víctor Manuel Jáquez Leal src/data/grl-config.h | 19 +++++++++---------- src/data/grl-data.h | 21 ++++++++++----------- src/data/grl-media-audio.h | 16 ++++++++-------- src/data/grl-media-box.h | 16 ++++++++-------- src/data/grl-media-image.h | 16 ++++++++-------- src/data/grl-media-video.h | 16 ++++++++-------- src/data/grl-media.h | 16 ++++++++-------- src/data/grl-related-keys.h | 20 ++++++++++---------- 8 files changed, 69 insertions(+), 71 deletions(-) commit d660c82435ae427aed74dd093bc0ef934ab0d80f Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 13:53:33 2011 +0200 doc: document missing sources files src/grilo.c | 2 +- src/grl-metadata-key.c | 10 ++++++++++ src/grl-util.c | 5 +++++ 3 files changed, 16 insertions(+), 1 deletions(-) commit c231e72d109d3a7150c4c47b94b6680343b692b9 Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 13:52:40 2011 +0200 doc: update grilo-docs.sgml doc/grilo/grilo-docs.sgml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit d529cbb790cfe980b9bdbc201cd4823e947b32d9 Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 12:57:49 2011 +0200 build: ignore generated code for gtk-doc scanner Signed-off-by: Víctor Manuel Jáquez Leal doc/grilo/Makefile.am | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit e854efb1b55682497df12993cc6835f6d6bf091d Author: Víctor Manuel Jáquez Leal Date: Tue Jun 7 12:48:00 2011 +0200 doc: update grilo-sections.txt Signed-off-by: Víctor Manuel Jáquez Leal doc/grilo/grilo-sections.txt | 146 +++++++++++++++++++++--------------------- 1 files changed, 74 insertions(+), 72 deletions(-) commit 9984aa9b8b4bf4165737e27259c51b23be24e837 Author: Juan A. Suarez Romero Date: Wed Jun 8 17:48:01 2011 +0000 doc: silence the gtk-doc scanner Hiding private functions documentation and fixing bad formatted strings. Signed-off-by: Víctor Manuel Jáquez Leal src/grl-metadata-source.c | 204 +++++++++++++++++++++++++------------------- src/grl-plugin-registry.c | 2 +- src/grl-plugin-registry.h | 2 +- 3 files changed, 118 insertions(+), 90 deletions(-) commit 9c3761dcc2638329c3b2550a06560eda6524b465 Author: Iago Toral Quiroga Date: Fri Jun 3 16:31:43 2011 +0200 data: Fixed documentation. src/data/grl-data.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) commit 0f0535e2135e21e6149aee7090ee386a7ea54290 Author: Iago Toral Quiroga Date: Fri Jun 3 16:00:29 2011 +0200 doc: Added API references where appropriate. doc/grilo/quick-start-using-grilo.xml | 37 ++++++++++++++++++++++++++++++++- 1 files changed, 36 insertions(+), 1 deletions(-) commit 3564af5091902c0be7c9927ab22928b0ea5b69a5 Author: Iago Toral Quiroga Date: Fri Jun 3 16:00:16 2011 +0200 doc: cleanup doc/grilo/grilo.types | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0b31270ec82a3e07471c5ace3231fe322bf78115 Author: Iago Toral Quiroga Date: Fri Jun 3 13:14:35 2011 +0200 doc: Reviewed quick start guide. doc/grilo/quick-start-using-grilo.xml | 227 ++++++++++++++++----------------- 1 files changed, 111 insertions(+), 116 deletions(-) commit bae2d8105220bbecf6bccc545a9b00b9f7d33c62 Author: Iago Toral Quiroga Date: Fri Jun 3 10:26:42 2011 +0200 doc: Rewrote some parts of the Overview section. doc/grilo/overview.xml | 91 ++++++++++++++++++++++++++---------------------- 1 files changed, 49 insertions(+), 42 deletions(-) commit 20bbdf98d51e586d671551d5714be8d891a5dd27 Author: Juan A. Suarez Romero Date: Mon May 23 08:23:05 2011 +0000 core: Do not print warning if initializing plugin fails If plugin is perfectly valid, but initializing it fails because no required configuration has been provided, then log it as information instead of warning, as it is a typical use case. Signed-off-by: Juan A. Suarez Romero src/grl-plugin-registry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 161fcd183a4b9f6dfbaeb1b14208aaa74b5a6783 Author: Juan A. Suarez Romero Date: Thu May 19 12:44:36 2011 +0200 build: Really require gtk+-3.0 Check that available gtk+-3.0 package is really >= 3.0 Signed-off-by: Juan A. Suarez Romero configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a5f19ef95a7a5e41de5ad3b5b61ab409100d6052 Author: Guillaume Emont Date: Wed May 11 19:45:39 2011 +0200 core: ensure the default log domain is always set This also avoid the risky #define-ing of GRL_LOG_DOMAIN_DEFAULT in grl-log.c: in this file, GRL_LOG_DOMAIN_DEFAULT now always refers to the actual variable, to avoid confusions. src/grl-log.c | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) commit 343b2d72553cf7196942cc7a575182fba48fde60 Author: Víctor Manuel Jáquez Leal Date: Mon May 2 13:08:34 2011 +0200 test-ui: replace GConf with GKeyFile GConf is a bloated and deprecated dependency to grilo-test-ui. This patch replace its usage with a simple GKeyFile. Signed-off-by: Víctor Manuel Jáquez Leal configure.ac | 2 +- tools/grilo-test-ui/main.c | 89 ++++++++++++++++++++++++++++++++++++++----- 2 files changed, 79 insertions(+), 12 deletions(-) commit 874bb1582525be2b5e69bf401d61f0b537f608a2 Author: Víctor Manuel Jáquez Leal Date: Fri Apr 29 19:55:44 2011 +0200 build: check for gtk+-3.0 The configure script will check for gtk+-3.0 pkg-config. It it is not available, the script will check for gtk+2.0. If both libraries are available, gtk+-3.0 will be used. configure.ac | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) commit cee2c456d7972ea86be7a1a533775869c1593bb5 Author: Víctor Manuel Jáquez Leal Date: Fri Apr 29 19:38:22 2011 +0200 test-ui: disable resize-grip by gtk+ versions On gtk+-3.0 the resize-grip is handled by the window, but in gtk+-2.0 is handled by the statusbar Signed-off-by: Víctor Manuel Jáquez Leal tools/grilo-test-ui/main.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 4b924177baa524f9189b1608eff0b6976385c94d Author: Víctor Manuel Jáquez Leal Date: Fri Apr 29 18:37:20 2011 +0200 test-ui: both gtk+-2.0 and gtk+-3.0 compliant Use accessors and _unref() instead of deprecated _destroy() and unsealed attributes. This patch doesn't make the test-ui gtk+-3.0 compliant, but is a step in between. Signed-off-by: Víctor Manuel Jáquez Leal tools/grilo-test-ui/main.c | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-)