commit 24ab6085bd0c00b02101b2b280385372c58a82a9 Author: Juan A. Suarez Romero Date: Mon Jan 10 10:34:29 2011 +0100 Bumped to version 0.1.7 Signed-off-by: Juan A. Suarez Romero AUTHORS | 1 + NEWS | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 3 files changed, 39 insertions(+), 1 deletions(-) commit 096ed59d0bfbbc392a8938a13340a4670b7b761e Author: Fabien Lebaillif - Delamare Date: Wed Jan 5 15:15:32 2011 +0100 doc: fix typos Signed-off-by: Víctor Manuel Jáquez Leal src/grl-metadata-source.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit dfb336a6e5809c33ca28b0fe29483ae024e5bff4 Author: Simon Pena Date: Mon Dec 20 17:30:16 2010 +0100 python: in test-ui, convert to strings when storing media info Since the TreeModel stores strings, we need to get sure that the data types being inserted are the right ones. tools/python/grilo-test-ui.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 07519ba327ff0406786fdc11cdb40d8f223dad38 Author: Simon Pena Date: Mon Dec 20 17:30:11 2010 +0100 python: add trivial error handling to grilo-test-ui Some trivial error handling is added to Python's grilo-test-ui since currently these functions can throw an exception. tools/python/grilo-test-ui.py | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) commit 0aa2111dc0e9fd18bebf14004cac8a41d99f9198 Author: Guillaume Emont Date: Fri Dec 17 17:10:28 2010 +0100 configure: remove unused --enable-uninstalled option configure.ac | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) commit f1cc8367b82bf626ba4818e163e00e63c89df8cd Author: Iago Toral Quiroga Date: Mon Dec 20 10:31:46 2010 +0100 test-ui: Adapted to changes in grl_plugin_registry_add_config tools/grilo-test-ui/main.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 2dd14064adb363d5f6870353af02e428dfe4689f Author: Iago Toral Quiroga Date: Mon Dec 20 10:31:01 2010 +0100 core: Added GError parameter to grl_plugin_registry_add_config src/grl-plugin-registry.c | 22 ++++++++++++++++------ src/grl-plugin-registry.h | 5 +++-- 2 files changed, 19 insertions(+), 8 deletions(-) commit 57b6ba8b987c4132f26b8a2209ce397100087374 Author: Iago Toral Quiroga Date: Mon Dec 20 10:29:49 2010 +0100 core: Added GRL_CORE_ERROR_CONFIG_FAILED src/grl-error.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 876c5317d8f62dc3c635159b0777054e59cba8f9 Author: Iago Toral Quiroga Date: Mon Dec 20 10:14:59 2010 +0100 core: Added GError parameter to grl_plugin_registry_register_metadata_key src/grl-metadata-key.c | 87 ++++++++++++++++++++++++++++++--------------- src/grl-plugin-registry.c | 11 +++++- src/grl-plugin-registry.h | 3 +- 3 files changed, 70 insertions(+), 31 deletions(-) commit 47ddb768595982c56e6fed291cb3267433b14691 Author: Iago Toral Quiroga Date: Mon Dec 20 10:14:31 2010 +0100 core: Added GRL_CORE_ERROR_REGISTER_METADATA_KEY_FAILED src/grl-error.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c453d6cea9d8c0dd148e07eff54982154c2dda03 Author: Iago Toral Quiroga Date: Mon Dec 20 09:52:10 2010 +0100 test-ui: Adapted to changes in grl_plugin_registry_unload tools/grilo-test-ui/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5ba5ee55e8b6301786833e5e9b836d79e7a952ed Author: Iago Toral Quiroga Date: Mon Dec 20 09:51:47 2010 +0100 core: Added GError parameter to grl_plugin_registry_unload src/grl-plugin-registry.c | 21 ++++++++++++++++----- src/grl-plugin-registry.h | 5 +++-- 2 files changed, 19 insertions(+), 7 deletions(-) commit 7368303dedbf50d61b5fb040dbdb0fe732fe0003 Author: Iago Toral Quiroga Date: Mon Dec 20 09:51:27 2010 +0100 core: Added GRL_CORE_ERROR_UNLOAD_PLUGIN_FAILED src/grl-error.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 8ac14da0b014dbcc43c5dd49eb238dfb84b71014 Author: Iago Toral Quiroga Date: Mon Dec 20 09:42:20 2010 +0100 test-ui: Adapted to changes in grl_plugin_registry_load_all tools/grilo-test-ui/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ff048ad258c47ff879319fee1c9ab3a6c08478ac Author: Iago Toral Quiroga Date: Mon Dec 20 09:41:45 2010 +0100 grl-inspect: Adapted to changes in grl_plugin_registry_load_all. tools/grilo-inspect/grl-inspect.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 88a7f5fcebe68fd1b371856f1121d29f5a38b547 Author: Iago Toral Quiroga Date: Mon Dec 20 09:41:24 2010 +0100 tests: Adapted to changes in grl_plugin_registry_load_all tests/metadata_source.c | 2 +- tests/registry.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4d222a457ed04df1a718dcbcd166cc885fa0e2e0 Author: Iago Toral Quiroga Date: Mon Dec 20 09:40:52 2010 +0100 core: Added GError parameter grl_plugin_registry_load_all src/grl-plugin-registry.c | 11 ++++++++--- src/grl-plugin-registry.h | 3 ++- 2 files changed, 10 insertions(+), 4 deletions(-) commit d2b77b297c57f0d86304a8c31004ad51b4ad4b56 Author: Iago Toral Quiroga Date: Mon Dec 20 09:26:10 2010 +0100 core: Added GError parameter to grl_plugin_registry_load_directory src/grl-plugin-registry.c | 17 +++++++++++++---- src/grl-plugin-registry.h | 3 ++- 2 files changed, 15 insertions(+), 5 deletions(-) commit 9d4a9bc0750e57dcee52cb369496940fd2197df6 Author: Iago Toral Quiroga Date: Mon Dec 20 09:10:33 2010 +0100 core: Added GError parameter to grl_plugin_registry_load src/grl-plugin-registry.c | 41 ++++++++++++++++++++++++++++++++++++++--- src/grl-plugin-registry.h | 3 ++- 2 files changed, 40 insertions(+), 4 deletions(-) commit 2f948befc80c995dad9c1f84f4e5d4f978a2c05a Author: Iago Toral Quiroga Date: Mon Dec 20 09:09:39 2010 +0100 core: Added GRL_CORE_ERROR_LOAD_PLUGIN_FAILED src/grl-error.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit d0a0739c74aa825b5f7be8a4c219ce85ef153ed2 Author: Iago Toral Quiroga Date: Mon Dec 20 08:43:56 2010 +0100 tests: Adapted to changes in grl_plugin_registry_unregister_source. tests/registry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 689e6837e2d40ef672b1d840128714030febaaf7 Author: Iago Toral Quiroga Date: Mon Dec 20 08:43:17 2010 +0100 core: Added GError parameter to grl_plugin_registry_unregister_source src/grl-plugin-registry.c | 23 ++++++++++++++++++----- src/grl-plugin-registry.h | 7 ++++--- 2 files changed, 22 insertions(+), 8 deletions(-) commit e591f072d6f336492e03fae05f749da29083e9e6 Author: Iago Toral Quiroga Date: Mon Dec 20 08:42:01 2010 +0100 core: Added GRL_CORE_ERROR_UNREGISTER_SOURCE_FAILED src/grl-error.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 147942a7334c83cabeb6bc843cfda291d341cfc7 Author: Iago Toral Quiroga Date: Mon Dec 20 08:26:19 2010 +0100 core: Added GError parameter to grl_plugin_registry_register_source. src/grl-plugin-registry.c | 6 ++++-- src/grl-plugin-registry.h | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) commit cd7e119849b5af48374c76036f2ebd72fe97709e Author: Guillaume Emont Date: Fri Dec 17 16:09:15 2010 +0100 README: use --enable-uninstalled for grilo-plugins' autogen, not grilo's. README | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 39634193c1dabb0e1a7e7de4ab2c69c16ef574ae Author: Víctor Manuel Jáquez Leal Date: Fri Dec 17 15:15:02 2010 +0100 doc: update grilo core sections Signed-off-by: Víctor Manuel Jáquez Leal doc/grilo/grilo-sections.txt | 44 +++++++++++++++++++++++++---------------- 1 files changed, 27 insertions(+), 17 deletions(-) commit 0f0cd9f36226e8f9f5f2ca3db8c4b0a6c81c64b1 Author: Víctor Manuel Jáquez Leal Date: Wed Dec 15 12:18:20 2010 +0100 doc: grilo-libs documentation Signed-off-by: Víctor Manuel Jáquez Leal https://bugzilla.gnome.org/show_bug.cgi?id=636414 configure.ac | 1 + doc/Makefile.am | 2 +- doc/libs/Makefile.am | 105 ++++++++++++++++++++++++++++++++++++++ doc/libs/grilo-libs-docs.sgml | 51 ++++++++++++++++++ doc/libs/grilo-libs-sections.txt | 26 +++++++++ 5 files changed, 184 insertions(+), 1 deletions(-) commit 86c19ae135ad3072ec234e88209b5c76f92c2bc9 Author: Víctor Manuel Jáquez Leal Date: Wed Dec 15 11:16:49 2010 +0100 doc: rename reference directory to grilo Because gtk-doc 1.14 does not support multiple source directories, the reference subdirectory must be splitted in two: grilo core documentation and grilo libraries documentation. This commit rename the reference directory to grilo, where the core documentation will be processed. Signed-off-by: Víctor Manuel Jáquez Leal https://bugzilla.gnome.org/show_bug.cgi?id=636414 configure.ac | 2 +- doc/Makefile.am | 2 +- doc/grilo/.gitignore | 14 + doc/grilo/Makefile.am | 107 ++++++ doc/grilo/grilo-docs.sgml | 83 ++++ doc/grilo/grilo-sections.txt | 485 ++++++++++++++++++++++++ doc/grilo/grilo.types | 21 + doc/grilo/overview.xml | 98 +++++ doc/grilo/quick-start-using-grilo.xml | 577 +++++++++++++++++++++++++++++ doc/reference/.gitignore | 14 - doc/reference/Makefile.am | 107 ------ doc/reference/grilo-docs.sgml | 83 ---- doc/reference/grilo-sections.txt | 485 ------------------------ doc/reference/grilo.types | 21 - doc/reference/overview.xml | 98 ----- doc/reference/quick-start-using-grilo.xml | 577 ----------------------------- 16 files changed, 1387 insertions(+), 1387 deletions(-) commit 1af17ab2f080e8349280fb9b73b83972014c15fc Author: Víctor Manuel Jáquez Leal Date: Wed Dec 15 11:32:21 2010 +0100 Revert "doc: fix the gtkdoc generation" This reverts commit 09b5bc47eb59d7ce871a443b1c544405e727f5c6. Because gtk-doc 1.14 does not support multiple source directories, the reference subdirectory must be splitted in two: grilo core documentation and grilo libraries documentation. This commit reverts the automake setup removing the grl_net_wc_type from the object scanning. Signed-off-by: Víctor Manuel Jáquez Leal https://bugzilla.gnome.org/show_bug.cgi?id=636414 doc/reference/Makefile.am | 21 +++++++-------------- 1 files changed, 7 insertions(+), 14 deletions(-) commit 389c04158c144fdffaec05dddc8d428aeef3d8a6 Author: Víctor Manuel Jáquez Leal Date: Wed Dec 15 11:26:54 2010 +0100 Revert "doc: add the GrlNetWc definition" This reverts commit 0c8ac155c51bf9c509922a448c1f290daea48740. Because gtk-doc 1.14 does not support multiple source directories, the reference subdirectory must be splitted in two: grilo core documentation and grilo libraries documentation. This commit revert the addition of GrlNetWc in grilo core documentation, as previous step for the documentation split. Signed-off-by: Víctor Manuel Jáquez Leal https://bugzilla.gnome.org/show_bug.cgi?id=636414 doc/reference/grilo-docs.sgml | 5 ----- doc/reference/grilo-sections.txt | 26 -------------------------- doc/reference/grilo.types | 1 - 3 files changed, 0 insertions(+), 32 deletions(-) commit 396a0153c8b53738a88ab778bca35655195b13d5 Author: Juan A. Suarez Romero Date: Wed Dec 1 13:11:44 2010 +0100 core: Add function to load plugin configuration from file grl_plugin_registry_add_config_from_file() loads a .ini-like file containing configurations for one or more plugins. See GKeyFile to know more about this syntax. An example is: [plugin1] key1 = value1 key2 = value2 [plugin2] key1 = value1 key3 = value3 It fixes GB#636064. src/grl-error.h | 2 + src/grl-plugin-registry.c | 68 +++++++++++++++++++++++++++++++++++++++++++++ src/grl-plugin-registry.h | 4 ++ 3 files changed, 74 insertions(+), 0 deletions(-) commit 3962e466cab4bbd9f137e043e2d52cf2e2f0ecd0 Author: Iago Toral Quiroga Date: Mon Dec 13 12:23:49 2010 +0100 core: renamed media_from_site API to media_from_uri. https://bugzilla.gnome.org/show_bug.cgi?id=635394 src/grl-error.h | 2 +- src/grl-media-source.c | 108 ++++++++++++++++++++++---------------------- src/grl-media-source.h | 42 +++++++++--------- src/grl-metadata-source.h | 5 +- src/grl-multiple.c | 90 +++++++++++++++++++------------------- src/grl-multiple.h | 10 ++-- 6 files changed, 129 insertions(+), 128 deletions(-) commit 2c47a7cc3ae7c3058b80673609419fafe0de91e4 Author: Iago Toral Quiroga Date: Fri Dec 3 09:55:41 2010 +0100 core: Added flags input parameter to media_from_site() APIs. https://bugzilla.gnome.org/show_bug.cgi?id=635394 src/grl-media-source.c | 18 +++++++++++++++++- src/grl-media-source.h | 3 +++ src/grl-multiple.c | 3 +++ src/grl-multiple.h | 1 + 4 files changed, 24 insertions(+), 1 deletions(-) commit c6c8b38688091b4ea9f5809a125405291a6516d8 Author: Iago Toral Quiroga Date: Thu Dec 2 19:03:00 2010 +0100 core: Add a list of metadata keys as input parameter for the media_from_site API. https://bugzilla.gnome.org/show_bug.cgi?id=635394 src/grl-media-source.c | 5 +++++ src/grl-media-source.h | 3 +++ src/grl-multiple.c | 4 ++++ src/grl-multiple.h | 1 + 4 files changed, 13 insertions(+), 0 deletions(-) commit 564a55db1abe2bd110c0510ee8c2e8520ea17a20 Author: Iago Toral Quiroga Date: Thu Dec 2 09:11:08 2010 +0100 core: Do not use and idle destroy function for media_from_site, since the implementation on the plugin side is likely to be asynchronous, use a relay callback instead. https://bugzilla.gnome.org/show_bug.cgi?id=635394 src/grl-media-source.c | 52 ++++++++++++++++++++++++++++++++++++----------- 1 files changed, 40 insertions(+), 12 deletions(-) commit b566d3ca4475b87d1f8ce8add55b08b47a6865b0 Author: Iago Toral Quiroga Date: Wed Dec 1 18:52:40 2010 +0100 core: Implemented grl_multiple_get_media_from_site(). This function goes through all sources that implement GRL_OP_MEDIA_FROM_SITE looking for the first one capable of instantiating a GrlMedia object that represents the media resource exposed by certain site URI. Basically, it is a convenience function to exploit grl_media_source_get_media_from_site(). https://bugzilla.gnome.org/show_bug.cgi?id=635394 src/grl-error.h | 2 + src/grl-multiple.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++ src/grl-multiple.h | 4 ++ 3 files changed, 106 insertions(+), 0 deletions(-) commit 93d48590067290d4792f2285e0647df20debb247 Author: Iago Toral Quiroga Date: Wed Dec 1 18:24:05 2010 +0100 core: Add support for two new operations in GrlMediaSource - test_media_from_site - get_media_from_site https://bugzilla.gnome.org/show_bug.cgi?id=635394 src/grl-media-source.c | 97 +++++++++++++++++++++++++++++++++++++++++++++ src/grl-media-source.h | 36 +++++++++++++++++ src/grl-metadata-source.h | 22 ++++++----- 3 files changed, 145 insertions(+), 10 deletions(-) commit bdf9e65e3725f8861cc3bf967337f4396d934928 Author: Iago Toral Quiroga Date: Wed Dec 1 18:18:27 2010 +0100 core: Fix compilation warning because of an unused label. src/grl-metadata-source.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit bcdd81f60eda1e0a9231abef5a2e8891f8afb569 Author: Iago Toral Quiroga Date: Tue Nov 30 13:09:39 2010 +0100 core: Fixed incorrect filtering of writable and supported keys. Bug was introduced in commit c592a85afc7c8538d91bb47b16a54c9dce8d5f46. src/grl-metadata-source.c | 48 ++++++++++++++++++++++++++++++++++++-------- 1 files changed, 39 insertions(+), 9 deletions(-) commit 41724a3e60f18ccbd32d2f40bd7062b377ccb637 Author: Simón Pena Date: Tue Nov 16 00:11:33 2010 +0100 python: updated grilo-test-ui Updated calls to get_iter in TreeStores, as they don't return (success, iter) pairs anymore and now return either an iterator or None. tools/python/grilo-test-ui.py | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) commit d86c8fbc9bae4f4962dc475209675539231499c4 Author: Damien Lespiau Date: Fri Nov 12 15:24:00 2010 +0000 tests: fix compilation warnings in metadata_source Remove the const before the GList *, shutting down the warnings, make the global variables static. Signed-off-by: Damien Lespiau tests/metadata_source.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4780062a780bb4a9d7092295717583ae980531fd Author: Damien Lespiau Date: Fri Nov 12 15:23:59 2010 +0000 wc-test: include unistd.h write (2) needs the inclusion of unistd.h. Signed-off-by: Damien Lespiau libs/net/wc-test.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 8b1d7db1db2567fa7bbae49d9398487deb9cca6d Author: Víctor Manuel Jáquez Leal Date: Tue Nov 9 13:04:18 2010 +0100 vala: remove deprecated --metadata parameter in vapigen Signed-off-by: Víctor Manuel Jáquez Leal bindings/vala/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ca15c987bb73f0051ff9808f881bd48faa728ab1 Author: Damien Lespiau Date: Tue Nov 2 17:10:07 2010 +0000 build: fix parallel build of libs/net Using $(top_builddir)/libs/net breaks automake's dependency between wc-test and libgrlnet. When using recursive builds, Automake automatically tracks the dependencies in the same directory but when using $(top_builddir)/libs/net/libgrlnet.la it assumes the library is in another directoy and is already build (by assuming the other directory is before the current one in the parent's SUBDIRS). By removing the $(top_builddir)/libs/net in wc_test_LDADD Automake now understands that the library is in the same directory and it should be built before wc-test and adds the dependency which fixes parallel builds. Signed-off-by: Damien Lespiau libs/net/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 10612f76bb211b3744f9259850a3c8e05b116c9d Author: Simón Pena Date: Mon Oct 4 19:09:01 2010 +0200 python: added plugin configuration to grilo-test-ui Added a configuration setup for Flickr, Youtube and Vimeo Signed-off-by: Simón Pena tools/python/grilo-test-ui.py | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) commit 74feca1851862e62c8dd45393843bb92393b8e75 Author: Simón Pena Date: Mon Oct 4 19:09:00 2010 +0200 annotations: fixed GrlConfig annotations * grl_config_new now allows NULL sources for a plugin-wide configuration * grl_config_new is annotated as 'transfer none', to avoid freeing the configuration while the plugin is valid. Signed-off-by: Simón Pena src/data/grl-config.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit c6b6d45d0e86f39c1b0e4db76802b279a9e37c91 Author: Víctor Manuel Jáquez Leal Date: Fri Oct 22 18:15:16 2010 +0200 core: rename generic_filter() into filter_key_list() It makes more sense. I would like to name it something like intersect_key_list() but the function parameters doesn't follow a logical structure for that, so I adhered to the filter semantic. Signed-off-by: Víctor Manuel Jáquez Leal src/grl-metadata-source.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 923a0a68cf138f2425b8e8f7546b7df31deda61f Author: Víctor Manuel Jáquez Leal Date: Thu Oct 21 15:34:29 2010 +0200 core: fix when no slow/writable keys available When the source doesn't have slow/writable keys (empty set) the key list is not filtered. Also, that code is repeated in each filter type. This patch set to NULL the filtered key list, and the returned complement is the passed key list. The code is isolated in the generic_filter() too. Finally, added a description of the function. Signed-off-by: Víctor Manuel Jáquez Leal src/grl-metadata-source.c | 31 +++++++++++++++++-------------- 1 files changed, 17 insertions(+), 14 deletions(-) commit 3f42a5f8a523909b74cceea88db1ecf0a19aab3c Author: Víctor Manuel Jáquez Leal Date: Thu Oct 21 14:16:27 2010 +0200 tests: key filter gtests for GrlMetadataSource Signed-off-by: Víctor Manuel Jáquez Leal tests/.gitignore | 1 + tests/Makefile.am | 4 + tests/metadata_source.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 185 insertions(+), 0 deletions(-) commit 4c9ead94b45328c570bf13d9a4692240674009c7 Author: Simón Pena Date: Mon Oct 4 19:19:01 2010 +0200 tests: updated GrlMetadataSource filter tests Updated GrlMetadataSource filter tests so that they assert that the aggregated length of the two lists returned (the one which passes the check and the one which doesn't) equals to the original key list. Signed-off-by: Simón Pena tests/python/test_metadata_source.py | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) commit c592a85afc7c8538d91bb47b16a54c9dce8d5f46 Author: Simón Pena Date: Mon Oct 4 19:19:00 2010 +0200 core: reworked GrlMetadataSource's filter methods grl_metadata_source_filter_{supported, slow, writable} methods have a common filtering part and some specific bits each one. This patch extracts the common code into a generic function so the other ones can do their checks and specific behavior, and then do the filtering. Signed-off-by: Simón Pena src/grl-metadata-source.c | 142 ++++++++++++++------------------------------- 1 files changed, 44 insertions(+), 98 deletions(-) commit 6bbf66e58fabfedadd75203e864c438594a9a7be Author: Juan A. Suarez Romero Date: Mon Oct 18 18:03:17 2010 +0200 build: fix grilo-net building If grilo-net dependencies are not found, it were still trying to build grilo-net. This patch fixes this problem. Signed-off-by: Juan A. Suarez Romero Makefile.am | 8 +++++--- bindings/vala/Makefile.am | 7 ++++++- libs/Makefile.am | 14 +++++++++++++- libs/net/Makefile.am | 2 -- 4 files changed, 24 insertions(+), 7 deletions(-) commit f2dc8784a0560b8977354bfe85e7747a270d1b33 Author: Víctor Manuel Jáquez Leal Date: Wed Oct 13 13:19:18 2010 +0200 vala: add grilo-net library bindings Signed-off-by: Víctor Manuel Jáquez Leal bindings/vala/Makefile.am | 2 +- bindings/vala/grilo-net-0.1-custom.vala | 1 + bindings/vala/grilo-net-0.1.deps | 1 + bindings/vala/grilo-net-0.1.metadata | 6 ++++++ bindings/vala/grilo-net-uninstalled.files.in | 2 ++ bindings/vala/grilo-net-uninstalled.namespace.in | 1 + configure.ac | 2 ++ 7 files changed, 14 insertions(+), 1 deletions(-) commit 09b5bc47eb59d7ce871a443b1c544405e727f5c6 Author: Víctor Manuel Jáquez Leal Date: Mon Oct 4 20:39:35 2010 +0200 doc: fix the gtkdoc generation Signed-off-by: Víctor Manuel Jáquez Leal doc/reference/Makefile.am | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) commit 0c8ac155c51bf9c509922a448c1f290daea48740 Author: Víctor Manuel Jáquez Leal Date: Mon Oct 4 20:38:40 2010 +0200 doc: add the GrlNetWc definition Signed-off-by: Víctor Manuel Jáquez Leal doc/reference/grilo-docs.sgml | 5 +++++ doc/reference/grilo-sections.txt | 26 ++++++++++++++++++++++++++ doc/reference/grilo.types | 1 + 3 files changed, 32 insertions(+), 0 deletions(-) commit 3f9983ab8a0717559cab5a30e9c4d1bbd0961f2e Author: Víctor Manuel Jáquez Leal Date: Mon Oct 4 20:37:57 2010 +0200 wc: gtkdoc documentation Signed-off-by: Víctor Manuel Jáquez Leal libs/net/grl-net-wc.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ libs/net/grl-net-wc.h | 23 ++++++++++++++ 2 files changed, 100 insertions(+), 0 deletions(-) commit 2ae6c9099382b733e10a4a788a966b469b132217 Author: Víctor Manuel Jáquez Leal Date: Tue Sep 28 19:49:39 2010 +0200 build: libgrlnet introspection Signed-off-by: Víctor Manuel Jáquez Leal libs/net/Makefile.am | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) commit abbe7993d388d8df94b93222fa258557074f277e Author: Víctor Manuel Jáquez Leal Date: Thu Sep 16 19:46:17 2010 +0200 grl-net: new header file Signed-off-by: Víctor Manuel Jáquez Leal libs/net/Makefile.am | 3 ++- libs/net/grl-net.h | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletions(-) commit 488cf1195a4d5df4cbfa78d2f8fe09ed7efdb342 Author: Víctor Manuel Jáquez Leal Date: Thu Sep 16 17:42:39 2010 +0200 build: compile libs Signed-off-by: Víctor Manuel Jáquez Leal Makefile.am | 2 +- configure.ac | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletions(-) commit fec83d05b86f2466db48ebafea1b351d8c7b99be Author: Víctor Manuel Jáquez Leal Date: Thu Sep 16 17:41:55 2010 +0200 build: grilo-net pkg-config files Signed-off-by: Víctor Manuel Jáquez Leal Makefile.am | 4 +++- grilo-net-0.1.pc.in | 15 +++++++++++++++ grilo-net-uninstalled.pc.in | 15 +++++++++++++++ 3 files changed, 33 insertions(+), 1 deletions(-) commit 8e3dc779ad6d11531a9128ac2f6fc6de75c78f1c Author: Víctor Manuel Jáquez Leal Date: Mon Sep 20 12:21:53 2010 +0200 build: libgrlnet Signed-off-by: Víctor Manuel Jáquez Leal libs/Makefile.am | 8 +++++++ libs/net/Makefile.am | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 0 deletions(-) commit 020c1846c35ef7cc6c81e776c47e2617b534e0a3 Author: Víctor Manuel Jáquez Leal Date: Mon Sep 20 12:21:28 2010 +0200 wc: test app Signed-off-by: Víctor Manuel Jáquez Leal libs/net/wc-test.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) commit febda43ac9477bf4a35ead6c5092074199e84d4a Author: Víctor Manuel Jáquez Leal Date: Mon Aug 23 10:30:11 2010 +0200 wc: grilo net web client Signed-off-by: Víctor Manuel Jáquez Leal libs/net/grl-net-wc.c | 493 +++++++++++++++++++++++++++++++++++++++++++++++++ libs/net/grl-net-wc.h | 111 +++++++++++ 2 files changed, 604 insertions(+), 0 deletions(-) commit ec2dbaa9e113026decb43b52a140f89a0e51a8c4 Author: Víctor Manuel Jáquez Leal Date: Wed Oct 13 13:16:51 2010 +0200 vala: fixed regression Added a wrong const identifier in callback parameter Signed-off-by: Víctor Manuel Jáquez Leal bindings/vala/grilo-0.1-custom.vala | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5856d6e39bff6d1ece752e707c79c2617c729b1e Author: Víctor Manuel Jáquez Leal Date: Wed Oct 13 13:04:09 2010 +0200 vala: set domain name and fix instance positions Signed-off-by: Víctor Manuel Jáquez Leal bindings/vala/grilo-0.1-custom.vala | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit bfb9b545c8b3fe1b329d0a8ee65af05649d442a3 Author: Víctor Manuel Jáquez Leal Date: Wed Oct 13 13:01:31 2010 +0200 vala: add MetadataSourceSetMetadataCb Signed-off-by: Víctor Manuel Jáquez Leal bindings/vala/grilo-0.1-custom.vala | 2 ++ bindings/vala/grilo-0.1.metadata | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) commit eeefbc017294d6bb234e9cf30690cb5c35414d0a Author: Víctor Manuel Jáquez Leal Date: Mon Oct 4 20:40:13 2010 +0200 vala: check for libvala-0.12 instead of vala-0.12 This is one of the risks to be living on the edge. Signed-off-by: Víctor Manuel Jáquez Leal configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f20e99558ff2f758b2aadfe8ae9dbf6174ce549d Author: Víctor Manuel Jáquez Leal Date: Thu Sep 16 16:56:36 2010 +0200 build: improve path definition in grilo-uninstalled.pc.in Signed-off-by: Víctor Manuel Jáquez Leal grilo-uninstalled.pc.in | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) commit 88a16be2ae60f927209eec093c8f5282bae594b1 Author: Víctor Manuel Jáquez Leal Date: Thu Sep 16 16:51:23 2010 +0200 build: improve gir support in grilo-0.1.pc Signed-off-by: Víctor Manuel Jáquez Leal grilo-0.1.pc.in | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit e90b5bdaada793cf38f0eb58a4a8af3b531c27d2 Author: Simón Pena Date: Tue Sep 28 00:11:33 2010 +0200 annotations: Fixed transfer modes in grl-metadata-source Signed-off-by: Iago Toral Quiroga src/grl-metadata-source.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 7beebbcb8385660a7850cc5a33fb1e980ec6f83d Author: Simón Pena Date: Thu Sep 30 19:53:27 2010 +0200 annotations: removed transfer mode for 'in' args Input arguments don't need 'transfer none' annotations. Signed-off-by: Simón Pena Signed-off-by: Iago Toral Quiroga src/grl-media-source.c | 16 ++++++++-------- src/grl-metadata-source.c | 8 ++++---- src/grl-multiple.c | 8 ++++---- 3 files changed, 16 insertions(+), 16 deletions(-) commit 1bc4f2d22940ac88980a51fa3731c79dcc802dc5 Author: Simón Pena Date: Wed Sep 29 16:31:02 2010 +0200 tests: Removed setUp/tearDown code in python tests setUp/tearDown methods in the tests load and unload the plugins so that each test is run in a clean environment. However, the current plugin mechanism doesn't allow that, and reloading a previously loaded/unloaded plugin produces a crash. This patch removes setUp/tearDown code, adding the plugin load in the tests constructor but leaving the plugins loaded during all the test suite execution. While this is a fix which allows the tests to be run, some of them will fail. Once that the plugin system is reworked to allow unloading/reloading, this commit should be reverted to come back to the original behavior. tests/python/test_metadata_source.py | 9 ++------- tests/python/test_plugin.py | 9 ++------- tests/python/test_registry.py | 22 ++++++++++++++-------- 3 files changed, 18 insertions(+), 22 deletions(-) commit 99ec47cd24a715c366f73d7a449e08c9df653b9e Author: Simón Pena Date: Wed Sep 29 16:31:01 2010 +0200 tests: Tested the MetadataSource class using GI tests/python/Makefile.am | 3 +- tests/python/test_metadata_source.py | 99 ++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 1 deletions(-) commit 7ded0a1190cbee30a04769e2d48c9d8cd3733c52 Author: Simón Pena Date: Wed Sep 29 16:31:00 2010 +0200 tests: Tested the PluginMedia class using GI tests/python/Makefile.am | 3 +- tests/python/test_plugin.py | 77 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 1 deletions(-) commit 648523c697474051ab88091dbff23041427ceaa2 Author: Simón Pena Date: Wed Sep 29 16:30:59 2010 +0200 tests: Tested the PluginRegistry class using GI This patch tests the class' methods from Python using GObject Introspection, checking functionality and bindings at the same time. tests/python/Makefile.am | 3 +- tests/python/constants.py | 50 +++++++++++++ tests/python/test_registry.py | 158 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 210 insertions(+), 1 deletions(-) commit 585dfd314058877afe265eb103894c4bff95047e Author: Simón Pena Date: Wed Sep 29 16:30:58 2010 +0200 tests: Command line arguments can be passed to testrunner Test runner script now accepts command line arguments. That way, it can be used to check individual test suites, instead of running the full test set. While this feature isn't really necessary, it can be helpful when designing the tests. tests/python/testrunner.py | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit a0fb48d0348eaf2eab1cbcf1bca22e75953ebed6 Author: Simón Pena Date: Wed Sep 29 16:30:57 2010 +0200 core: Updated infrastructure to support python tests * Update configure.ac to generate a 'util' Python class * Added a test runner to launch Python unit tests * Added python/ to tests' SUBDIRS * Updated test's Makefile.am to avoid launching Python tests twice when 'make check' is invoked configure.ac | 2 ++ tests/Makefile.am | 10 ++++++---- tests/python/Makefile.am | 22 ++++++++++++++++++++++ tests/python/testrunner.py | 21 +++++++++++++++++++++ tests/python/util.py.in | 9 +++++++++ 5 files changed, 60 insertions(+), 4 deletions(-) commit 50fc74eab57720b34451273c3f00c597cfe5c551 Author: Simón Pena Date: Wed Sep 29 16:30:56 2010 +0200 core: Moved tests infrastructure to /tests As discussed in the mailing list [1, 2, 3], this patch moves the test infrastructure from src/tests/ to tests/ In these discussions there was an agreement about having a python/, js/ etc directory for each language, under tests/. The test/ directory location wasn't agreed, but Edu Lima's reply on [4] seemed quite convincing, and nobody opposed to it. [1] http://mail.gnome.org/archives/grilo-list/2010-May/msg00041.html [2] http://mail.gnome.org/archives/grilo-list/2010-August/msg00074.html [3] http://mail.gnome.org/archives/grilo-list/2010-August/msg00107.html [4] http://mail.gnome.org/archives/grilo-list/2010-August/msg00106.html Makefile.am | 2 +- configure.ac | 2 +- src/Makefile.am | 2 - src/tests/.gitignore | 1 - src/tests/Makefile.am | 63 -------------------- src/tests/registry.c | 150 ------------------------------------------------- tests/.gitignore | 1 + tests/Makefile.am | 65 +++++++++++++++++++++ tests/registry.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 217 insertions(+), 218 deletions(-) commit c9e3c87e5600c0f244217b4ffd7c767664fde205 Author: Víctor Manuel Jáquez Leal Date: Wed Sep 29 21:54:48 2010 +0200 doc: enhance the documentation makefile Signed-off-by: Víctor Manuel Jáquez Leal doc/reference/Makefile.am | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) commit 04ac4ae4c9d906985c398a50bb3fe7f4579588ac Author: Víctor Manuel Jáquez Leal Date: Wed Sep 29 21:54:47 2010 +0200 doc: change the main page layout Signed-off-by: Víctor Manuel Jáquez Leal doc/reference/grilo-docs.sgml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 2c95e36cece2852085e94b22eb07a33f3fc7dfeb Author: Víctor Manuel Jáquez Leal Date: Wed Sep 29 21:54:46 2010 +0200 doc: new gtk-doc files grilo.types defines the GObject types defined in Grilo. grilo-sections.txt defines the sections and their grouping elements. Signed-off-by: Víctor Manuel Jáquez Leal doc/reference/grilo-sections.txt | 485 ++++++++++++++++++++++++++++++++++++++ doc/reference/grilo.types | 21 ++ 2 files changed, 506 insertions(+), 0 deletions(-) commit 29a06294f3fe1fdc959680e7920b6baa84999e9a Author: Víctor Manuel Jáquez Leal Date: Wed Sep 29 21:54:45 2010 +0200 doc: trivial fixes Honor 80 char per line and other small fixes. Signed-off-by: Víctor Manuel Jáquez Leal src/grl-media-source.c | 46 ++++++++++++++++++++++++++++++-------------- src/grl-media-source.h | 10 ++++---- src/grl-plugin-registry.c | 16 +++++++++----- 3 files changed, 46 insertions(+), 26 deletions(-) commit 6db42fbe76eb118ca863b4f8ed4f4ba6fdf86d54 Author: Víctor Manuel Jáquez Leal Date: Wed Sep 29 21:54:44 2010 +0200 doc: add more documentation to multiple search helpers Signed-off-by: Víctor Manuel Jáquez Leal src/grl-multiple.c | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) commit 45cdfe2617998d5dc73e27c6f2aa9346f786a4e0 Author: Víctor Manuel Jáquez Leal Date: Wed Sep 29 21:54:43 2010 +0200 doc: add more documentation to grilo.c Signed-off-by: Víctor Manuel Jáquez Leal src/grilo.c | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) commit 868c291b0dec31d4ea3a4657844cbf98c10941b0 Author: Simón Pena Date: Wed Sep 29 21:40:48 2010 +0200 vala: Improved metadata * Added metadata information for PluginRegistry, MediaPlugin, MediaSource MetadataSource and GrlData. * Organized metadata file in sections to improve readability. bindings/vala/grilo-0.1.metadata | 51 +++++++++++++++++++++++++++++++++++++- 1 files changed, 50 insertions(+), 1 deletions(-) commit a7caf5cb5d25824bbf603fd7fdda40a6076d2486 Author: Simón Pena Date: Wed Sep 22 16:46:01 2010 +0200 build: Fixed gir build rules Updated gir build rules so that they depend on the current version, instead of "0_1". For that, a GRL_MAJORMINOR_NORM has been created. configure.ac | 2 ++ src/Makefile.am | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 2659469115e76a8884e8d4d0bce7d673119e388e Author: Simón Pena Date: Wed Sep 22 16:46:00 2010 +0200 build: Define major, minor and micro version vars Variables storing the major, minor and micro version have been created. grl_version and GRL_MAJORMINOR are generated now using those vars. configure.ac | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit ff67f8492d77656de4b1ffeb2c8d97e2279630e2 Author: Chris Lord Date: Fri Sep 24 09:19:59 2010 +0100 metadata-source: Don't try to free an uninitialised pointer In grl_metadata_source_setup_full_resolution_mode, if the key-list is NULL then it skips to the end of the function - which frees the list and returns. This check happens before the list is assigned (or even, in fact, declare), so just return and avoid running g_list_free on uninitialised memory. https://bugzilla.gnome.org/show_bug.cgi?id=630493 src/grl-metadata-source.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 1eaaa68f4e7132293ddcf6c6706bff3ca8262649 Author: Simón Pena Date: Tue Sep 21 23:49:26 2010 +0200 doc: Fix GrlUtil documentation src/grl-util.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 3221e5b721b2008c473ffd21e658bf659c4e37e5 Author: Simón Pena Date: Tue Sep 21 23:49:25 2010 +0200 doc: Added GrlError documentation src/grl-error.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) commit 7172f75039b79594822587cf8c94bd5d215e5479 Author: Simón Pena Date: Tue Sep 21 23:49:24 2010 +0200 doc: Skip GrlDataSync doc/reference/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 2da2bc1b729876ce5fc11f577ebe41330e05bb8c Author: Simón Pena Date: Tue Sep 21 23:49:23 2010 +0200 doc: Fix GrlMediaVideo typo src/data/grl-media-video.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5a8611480cb435f531fbfd2473937facb224a096 Author: Simón Pena Date: Tue Sep 21 23:49:22 2010 +0200 doc: Add GrlLog documentation src/grl-log.c | 7 +++++++ src/grl-log.h | 12 ++++++++++++ 2 files changed, 19 insertions(+), 0 deletions(-) commit d03468d2489b22dd67fc0fcbae4a62626fe830e6 Author: Simón Pena Date: Tue Sep 21 23:49:21 2010 +0200 doc: Improve GrlMedia documentation src/data/grl-media.c | 1 + src/data/grl-media.h | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletions(-) commit fe42e96b2a51d1c628013a60ebd911d2ca0232c4 Author: Simón Pena Date: Tue Sep 21 23:49:20 2010 +0200 doc: Improve GrlMediaImage documentation src/data/grl-media-image.c | 9 +++++---- src/data/grl-media-image.h | 6 ++++++ 2 files changed, 11 insertions(+), 4 deletions(-) commit 1c3b0166d238eb2091fbf42abb0891ac5867165f Author: Simón Pena Date: Tue Sep 21 23:49:19 2010 +0200 doc: Improve GrlMediaAudio documentation src/data/grl-media-audio.c | 9 +++++---- src/data/grl-media-audio.h | 6 ++++++ 2 files changed, 11 insertions(+), 4 deletions(-) commit 90ac28faeb76fdc10488a6e360cad9a53a9e2dbe Author: Simón Pena Date: Tue Sep 21 20:28:21 2010 +0200 annotations: Fixed grl_init annotations src/grilo.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e80fe473ef640c6577ce32d5fea4964f3f310598 Author: Víctor Manuel Jáquez Leal Date: Fri Sep 17 12:22:57 2010 +0200 build: detect new versions of vala Recently vala has multiversion support, so it would be possible have installed different versions of it. But downstream still using the old setup. So we shall handle both situations. First we check for upstream version and then we go downstream. Signed-off-by: Víctor Manuel Jáquez Leal configure.ac | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) commit 9b619eabd23601f68f1593a3f0d3927de4b1a540 Author: Víctor Manuel Jáquez Leal Date: Tue Sep 7 11:05:15 2010 +0200 core: fix GrlLog gtkdoc documentation Signed-off-by: Víctor Manuel Jáquez Leal src/grl-log.h | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) commit a8f314fdbd9b3196b8a1e89e13da1a686ac3548c Author: Iago Toral Quiroga Date: Thu Sep 16 08:45:52 2010 +0200 core: Fix incorrect sorting of ranked plugins. src/grl-plugin-registry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 723f3a0e8738a3d4a78232eb6c26b459ee3a2497 Author: Simón Pena Date: Tue Sep 14 21:18:29 2010 +0200 core: Make get_sources_by_operations return a GList https://bugzilla.gnome.org/show_bug.cgi?id=629369 Signed-off-by: Iago Toral Quiroga src/grl-metadata-source.c | 28 +++++++++++++---------- src/grl-multiple.c | 24 ++++--------------- src/grl-plugin-registry.c | 45 +++++------------------------------- src/grl-plugin-registry.h | 2 +- tools/grilo-test-ui/main.c | 53 +++++++++++++++++++++++-------------------- 5 files changed, 57 insertions(+), 95 deletions(-) commit 21c8f46cb4b64c852f7d659ad5201fd178e83666 Author: Simón Pena Date: Tue Sep 14 21:18:28 2010 +0200 core: Make get_sources return a GList * GrlPluginRegistry's get_sources now returns a GList * Added a compare_by_rank method to use with g_list_sort * Updated grilo-test-ui, grl-inspect and tests to expect a GList https://bugzilla.gnome.org/show_bug.cgi?id=629369 Signed-off-by: Iago Toral Quiroga src/grl-plugin-registry.c | 50 ++++++++++++++++++++++++------------ src/grl-plugin-registry.h | 2 +- src/tests/registry.c | 19 ++++++++------ tools/grilo-inspect/grl-inspect.c | 17 ++++++++---- tools/grilo-test-ui/main.c | 14 ++++++--- 5 files changed, 65 insertions(+), 37 deletions(-) commit 7c0118224e46682a6cca669d69f568975f2f73e6 Author: Iago Toral Quiroga Date: Tue Sep 14 11:03:29 2010 +0200 doc: various documentation fixes. src/data/grl-media-image.c | 4 ++-- src/data/grl-media.c | 4 +++- src/grl-metadata-source.c | 4 ++-- src/grl-metadata-source.h | 21 +++++++++++---------- src/grl-multiple.c | 2 +- src/grl-plugin-registry.h | 1 + 6 files changed, 20 insertions(+), 16 deletions(-) commit 1f474ff1584b7ce9dbd5420452848c6be97562f9 Author: Simón Pena Date: Mon Sep 13 18:44:59 2010 +0200 doc: Updated examples to use new log system Signed-off-by: Iago Toral Quiroga doc/reference/quick-start-using-grilo.xml | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) commit 73aaec958520ca70097751f2c776cb79bce8026c Author: Simón Pena Date: Thu Sep 9 22:08:57 2010 +0200 annotations: Fixed grl_data_get_keys transfer mode Signed-off-by: Iago Toral Quiroga src/data/grl-data.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit d1efdeb270e3084147ff44c0c1d6a2cc1949b990 Author: Simón Pena Date: Thu Sep 9 22:08:56 2010 +0200 annotations: Media in cb is transfer full Signed-off-by: Iago Toral Quiroga src/grl-media-source.h | 8 ++++---- src/grl-metadata-source.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit 5f91bb9f022e266303a32c4b75e85d348d314293 Author: Simón Pena Date: Thu Sep 9 22:08:55 2010 +0200 annotations: Removed unnecessary annotations Returning "const gchar*" get annotated as (type utf8) (transfer none), so there's no need to annotate them manually. Besides, (allow-none) isn't needed for return values. Signed-off-by: Iago Toral Quiroga src/data/grl-config.c | 8 ++++---- src/data/grl-data.c | 2 +- src/data/grl-media-audio.c | 8 ++++---- src/data/grl-media.c | 32 ++++++++++++++++---------------- src/grl-metadata-source.c | 6 +++--- src/grl-plugin-registry.c | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-) commit 310720223a9cd46da133980677504c6f0da13957 Author: Simón Pena Date: Thu Sep 9 22:08:54 2010 +0200 annotations: Annotated 'register_metadata_key' Signed-off-by: Iago Toral Quiroga src/grl-plugin-registry.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit 50c58eefebd82f0843b8d3cd2a556aa70fb2682f Author: Simón Pena Date: Thu Sep 9 22:08:53 2010 +0200 core: Replaced grl-media-plugin defines with functions Signed-off-by: Iago Toral Quiroga src/grl-media-plugin.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++- src/grl-media-plugin.h | 78 +++++----------------------------------- 2 files changed, 101 insertions(+), 71 deletions(-) commit 5805517df445374ac73e1208930d95e2f647a97d Author: Simón Pena Date: Thu Sep 9 22:08:52 2010 +0200 annotations: Fixed 'get_info_keys' annotation Signed-off-by: Iago Toral Quiroga src/grl-media-plugin.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 4b028ef85a098b9589cf38ef57446fb120425a8a Author: Simón Pena Date: Thu Sep 9 22:08:51 2010 +0200 annotations: Annotated metadata_source cb GErrors as uints Signed-off-by: Iago Toral Quiroga src/grl-metadata-source.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit b14b077888c845475d90a017ac2e49457b006d87 Author: Simón Pena Date: Thu Sep 9 22:08:50 2010 +0200 annotations: Annotated grl-metadata-source Signed-off-by: Iago Toral Quiroga src/grl-metadata-source.c | 66 ++++++++++++++++++++++++++------------------ src/grl-metadata-source.h | 3 +- 2 files changed, 41 insertions(+), 28 deletions(-) commit eb7d8c707f3c43cc474b5d6c9a1beb6240f3752e Author: Simón Pena Date: Thu Sep 9 22:08:49 2010 +0200 annotations: Added missing transfer modes Non-basic types must be annotated with a 'transfer mode', even if it is full, for safety reasons. Signed-off-by: Iago Toral Quiroga src/data/grl-media.c | 2 +- src/grl-media-source.c | 10 +++++----- src/grl-multiple.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) commit 5404705a8d2b9c3b2fde53501f723a574901c308 Author: Simón Pena Date: Thu Sep 9 22:08:48 2010 +0200 core: Made GrlPluginInfo introspectable With the new g-ir-scanner, aliasing a structure must be done before declaring it. Signed-off-by: Iago Toral Quiroga src/grl-plugin-registry.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 246eccca96970bd154506d5c02588c4accfb7fda Author: Simón Pena Date: Thu Sep 9 22:08:47 2010 +0200 annotations: Skipped non introspectable functions Signed-off-by: Iago Toral Quiroga src/grilo.c | 2 +- src/grl-log.c | 6 ++++++ src/grl-util.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit fa8daa2ea879673833f33ae08aa11fe5fd166425 Author: Simón Pena Date: Thu Sep 9 22:08:46 2010 +0200 annotations: Replaced Grl.MediaSource* with Grl.MediaSource Signed-off-by: Iago Toral Quiroga src/grl-multiple.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d7346d982b18f2f56709b98f42c62819a50467f7 Author: Simón Pena Date: Thu Sep 9 22:08:45 2010 +0200 annotations: Replaced Grl.Media* with Grl.Media Signed-off-by: Iago Toral Quiroga src/grl-media-source.c | 6 +++--- src/grl-multiple.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit 3bd379757dea209295608ff1a43ae4e9cfb28c8d Author: Simón Pena Date: Thu Sep 9 22:08:44 2010 +0200 annotations: Replaced GObject.ParamSpec* with GObject.ParamSpec ParamSpecs annotations must be either 'GObject.ParamSpec' or 'GParamSpec*', the former being preferred. Signed-off-by: Iago Toral Quiroga src/data/grl-data.c | 26 +++++++++++++------------- src/grl-media-source.c | 16 ++++++++-------- src/grl-metadata-key.c | 4 ++-- src/grl-multiple.c | 4 ++-- src/grl-plugin-registry.c | 4 ++-- 5 files changed, 27 insertions(+), 27 deletions(-) commit 4fd6f158bff2bb178b0536c8a95470c80b7b9eb9 Author: Simón Pena Date: Thu Sep 9 22:08:43 2010 +0200 annotations: Added missing colon Signed-off-by: Iago Toral Quiroga src/data/grl-data.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3cf151234a93747ebe6806e705cc88b930c311e1 Author: Víctor Manuel Jáquez Leal Date: Fri Sep 10 13:15:25 2010 +0200 core: document the log level mapping Signed-off-by: Víctor Manuel Jáquez Leal src/grl-log.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) commit a5873135582836625259faec2e9350a027badfb2 Author: Víctor Manuel Jáquez Leal Date: Fri Sep 10 13:14:36 2010 +0200 core: a missing info doesn't deserve a warning Signed-off-by: Víctor Manuel Jáquez Leal src/grl-plugin-registry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 04eb6a6a7b6b46343909f260ccbe853a57434c3d Author: Víctor Manuel Jáquez Leal Date: Fri Sep 10 13:13:48 2010 +0200 core: check for supported_keys implementation Signed-off-by: Víctor Manuel Jáquez Leal src/grl-metadata-source.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 5ae56cab0c71f9b1964260e424214fab219d230f Author: Simón Pena Date: Thu Sep 9 22:08:58 2010 +0200 core: check for 'key-depends' implementation src/grl-metadata-source.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit a3b9d3cbd8f74b3e3869e855d9b67483428ecfff Author: Víctor Manuel Jáquez Leal Date: Mon Sep 6 12:14:33 2010 +0200 core: GrlMediaPlugin doesn't need finalize() According to this commit: commit 92de127e655d6c31dbc64c3e5a389b8bc6de12c8 Author: Iago Toral Quiroga Date: Fri Sep 3 10:34:17 2010 +0200 core: Do not free plugin descriptors in GrlMediaPlugin's finalize function, they are const members to be freed by the registry only when plugins are unloaded, they should not be freed when a source spawned by the plugin is unloaded. So there's nothing to do in the GrlMediaPlugin finalize(), then is better remove it and have less lines of code to maintain. Signed-off-by: Víctor Manuel Jáquez Leal src/grl-media-plugin.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) commit 377860ad5c1800b9ae85cdd28c58a49922cf6574 Author: Víctor Manuel Jáquez Leal Date: Sat Sep 4 12:19:58 2010 +0200 build: check hard pkg-config dependencies first As reported by Damien Lespiau : """ PKG_CHECK_MODULES requires PKG_PROG_PKG_CONFIG, see pkg.m4: AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl The expansion of the AC_REQUIRE is done only once, the first time m4 encounters PKG_CHECK_MODULES. Now the real issue is that the first occurrence of PKG_CHECK_MODULES is in the test: if test "x$enable_vala" != no; which means PKG_PROG_PKG_CONFIG is not being executed when --disable-vala is given on the command line and thus I have the following error at configure time. """ Then, this patch makes check first the hard dependencies, and aftwards the optional stuff. Signed-off-by: Víctor Manuel Jáquez Leal configure.ac | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) commit 44391196d7fc9506bce9aecdb9394203a98359e7 Author: Simón Pena Date: Fri Sep 3 19:10:17 2010 +0200 core: Remove value destroy_func from the plugins' hash table Removing a GrlPluginDescriptor from the plugins' hash table fails when plugins are shutdown. Signed-off-by: Iago Toral Quiroga src/grl-plugin-registry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 59502f8a864229f084fdc5270c0349f332e9eb05 Author: Víctor Manuel Jáquez Leal Date: Thu Sep 2 18:53:58 2010 +0200 bindings: add gmodule as link dependency As the commit b23869 modifies the ABI exposing a GModule instance, so we need to communicate the new linkage dependency to the bindings. Signed-off-by: Víctor Manuel Jáquez Leal bindings/vala/Makefile.am | 3 ++- bindings/vala/grilo-0.1.deps | 1 + src/Makefile.am | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit 4ae19da7d5ea231b1cc1641c1eb03b01ee658c79 Author: Iago Toral Quiroga Date: Fri Sep 3 11:07:26 2010 +0200 core: Free plugin data in the registry's plugin unload function. src/grl-plugin-registry.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 523174d1201310643d88d2b098403676a2437888 Author: Iago Toral Quiroga Date: Fri Sep 3 10:55:32 2010 +0200 test-ui: Reset combo boxes also when shutting down the plugins. test-ui: Make sure we only free each plugin once. tools/grilo-test-ui/main.c | 71 ++++++++++++++++++++++++++++++++------------ 1 files changed, 52 insertions(+), 19 deletions(-) commit 92de127e655d6c31dbc64c3e5a389b8bc6de12c8 Author: Iago Toral Quiroga Date: Fri Sep 3 10:34:17 2010 +0200 core: Do not free plugin descriptors in GrlMediaPlugin's finalize function, they are const members to be freed by the registry only when plugins are unloaded, they should not be freed when a source spawned by the plugin is unloaded. src/grl-media-plugin.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) commit 8d29625f88252f809b6ed46d39456616404a592b Author: Iago Toral Quiroga Date: Thu Sep 2 15:27:32 2010 +0200 test-ui: reloading functionality does not work as intended. This commit replaces plugin-reloading functionality by plugin-shutdown. tools/grilo-test-ui/main.c | 31 ++++++++++++++++--------------- 1 files changed, 16 insertions(+), 15 deletions(-) commit 2e3b8fa9dd05bbbf2d1eb3c1a532f712836171d4 Author: Iago Toral Quiroga Date: Thu Sep 2 14:49:00 2010 +0200 core: when unloading a plugin, shutdown any sources it may have spawned. src/grl-plugin-registry.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) commit 48dd489abb7b183bbd41ed64807b025a9aeff62e Author: Iago Toral Quiroga Date: Wed Sep 1 14:43:48 2010 +0200 core: unload plugins properly by calling g_module_close when appropriate. src/grl-plugin-registry.c | 5 +++++ src/grl-plugin-registry.h | 3 +++ 2 files changed, 8 insertions(+), 0 deletions(-) commit 3b504c0c55e0a3dfd2b3bd6b086fd9be3b0dcf75 Author: Damien Lespiau Date: Tue Aug 24 16:48:59 2010 +0100 log: remove grl_log_init() calls from tools grl-inspect: Now that we default to only print warnings, it's actually pretty sane to still show those warning that shows errors one should fix. grl-test-ui: The default verbosity of the test UI make seeing real warnings really hard. It's still possible to recover the verbose mode with GRL_LOG. testGrilo.js: Remove the Grl.log_init() call and add Grl.init() grilo-test.vala: Remove Grl.log_init() https://bugzilla.gnome.org/show_bug.cgi?id=627864 Signed-off-by: Víctor Manuel Jáquez Leal tools/grilo-inspect/grl-inspect.c | 1 - tools/grilo-test-ui/main.c | 1 - tools/js/testGrilo.js | 2 +- tools/vala/grilo-test.vala | 1 - 4 files changed, 1 insertions(+), 4 deletions(-) commit 15a83305ea12c66173db1335f3fcf74b61df25d7 Author: Damien Lespiau Date: Thu Sep 2 14:03:25 2010 +0100 log: rename grl_log_init() to grl_log_configure() You can configure one or several log domains at run time with this API, so it's not an initialization per se, it's closer to a configuration string one gives to the log system. Along with the renaming, properly document the format of the string used to configure log domains. https://bugzilla.gnome.org/show_bug.cgi?id=627864 doc/reference/quick-start-using-grilo.xml | 8 +++--- src/grl-log.c | 42 +++++++++++++++++++++++++--- src/grl-log.h | 2 +- 3 files changed, 42 insertions(+), 10 deletions(-) commit 08805ebfa6e297e7ee369639b6af012d6ebab95d Author: Damien Lespiau Date: Thu Sep 2 10:49:14 2010 +0100 log: rename the environment variable to GRL_DEBUG The log system uses an environment variable to override the verbosity of log domains. Let's use GRL_DEBUG to be closer to what other gnome libraries use (GST_DEBUG, GTK_DEBUG, CLUTTER_DEBUG). https://bugzilla.gnome.org/show_bug.cgi?id=627864 src/grl-log.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 6c71c336c4299e0dd79ad4258ddd2e3d7cca86c3 Author: Víctor Manuel Jáquez Leal Date: Wed Sep 1 20:12:49 2010 +0200 log: handle numeric level assignations Besides the symbolic level recognition, this patch also enable the numeric level setting. Signed-off-by: Víctor Manuel Jáquez Leal https://bugzilla.gnome.org/show_bug.cgi?id=627864 src/grl-log.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 9e958d6c32a6d61bc2947066d6ed4a0c9546a4f1 Author: Damien Lespiau Date: Fri Aug 20 17:54:52 2010 +0100 log: revamp the log system Current log system suffers from a few drawbacks: * It uses Glib's default handler for all the domains, this handler should not be overriden by a library (imagine what can happen if every library depends on being able to override the default log handler), * You can't use the common practice to break on g_log() to trace where warnings come from because the decision of printing the message is taken in the handler itself, * Other gnome libraries tend to define a single glib log domain for the whole library. So, instead, use a GStreamer-like logging system, with "log domains" you have to declare and initialize. This patch tries to keep the original author's intent by keeping: * the glib's debug levels and using them in the final g_logv(), * the same decoding of the string given to grl_log_init(). It also modifies a bit when the GRL_LOG env variable is sampled. Instead of requiring the use to explictely call grl_log_init() to check the GRL_LOG behing the scene, grilo now gets this variable at startup and overrides the default verbosity level of log domains when they are created. grl_log_init() can still be used to set the verbosity, it has to be called after the log domain has been initialized which, for plugins, means after having loaded the plugin. https://bugzilla.gnome.org/show_bug.cgi?id=627864 src/Makefile.am | 5 +- src/data/grl-config.c | 7 +- src/data/grl-data.c | 11 +- src/data/grl-media.c | 14 +- src/grilo.c | 9 +- src/grl-log-priv.h | 46 ++++++ src/grl-log.c | 341 ++++++++++++++++++++++++++++++++++---------- src/grl-log.h | 246 +++++++++++++++++++++++++++++++- src/grl-media-plugin.c | 5 +- src/grl-media-source.c | 159 +++++++++++---------- src/grl-metadata-source.c | 57 ++++---- src/grl-multiple.c | 55 ++++---- src/grl-plugin-registry.c | 53 ++++---- src/tests/registry.c | 14 +- tools/grilo-test-ui/main.c | 59 ++++---- 15 files changed, 785 insertions(+), 296 deletions(-) commit d11d54006e1a119c0d1d3cd3c1d817cc44f161ec Author: Víctor Manuel Jáquez Leal Date: Wed Sep 1 11:58:33 2010 +0200 core: rename the GRL_ERROR quark to GRL_CORE_ERROR In other to avoid name-space collisions with the next logging subsystem, we are renaming grilo's error domain. This change also will allows us to have different kinds of error domains. Signed-off-by: Víctor Manuel Jáquez Leal https://bugzilla.gnome.org/show_bug.cgi?id=628506 bindings/vala/grilo-0.1.metadata | 2 +- src/grl-error.h | 22 +++++++++++----------- src/grl-media-source.c | 12 ++++++------ src/grl-metadata-source.c | 8 ++++---- src/grl-multiple.c | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) commit 16834a072b9bde6a3678049dc9dcde237aa2eb46 Author: Iago Toral Quiroga Date: Wed Sep 1 12:48:22 2010 +0200 Added --enable-uninstalled flag for autogen.sh in the "Examples" section. README | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)