commit 8b08c0fc7f0dd5ae0450730059d6a4f4b5c79456 (HEAD -> master) Author: Bastien Nocera Date: Tue Mar 22 11:22:51 2016 +0100 0.3.1 NEWS | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 3b61064b7b2284667d12015ac40c031e76abd43f (origin/master, origin/HEAD) Author: Victor Toso Date: Mon Mar 21 16:47:44 2016 +0100 lua-factory: make grl and grl.lua read-only By using the metamethod __new_index to trigger an error in case Lua source try to use it. https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/grl-lua-library-operations.c | 13 ++++++++++++- src/lua-factory/grl-lua-library.c | 2 ++ 2 files changed, 14 insertions(+), 1 deletion(-) commit e473ad9d8e3f043ed28b13e8b77ea3e2a1b4a581 Author: Victor Toso Date: Tue Mar 8 23:29:46 2016 +0100 Revert "lua-factory: port grl-lastfm-cover.lua to the new lua system" This reverts commit fbb244ee962ddcf483dc4c6adec30de6c2616436. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-lastfm-cover.lua | 33 ++++++++++++++-------------- 1 file changed, 17 insertions(+), 16 deletions(-) commit 2e0d1c87812865434e5c549b2c1824b5b8bf500d Author: Victor Toso Date: Tue Mar 8 23:28:10 2016 +0100 Revert "lua-factory: port grl-radiofrance.lua to the new lua system" This reverts commit 93547ac94797cdea6670b0d458e838bcdb578f77. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-radiofrance.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit cee1083cbbb1f98a3156e6c0a410148296e0177e Author: Victor Toso Date: Tue Mar 8 23:28:09 2016 +0100 Revert "lua-factory: port grl-spotify-cover.lua to the new lua system" This reverts commit 9b329f3e5246477f039a1fb2b129706370237c89. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-spotify-cover.lua | 31 ++++++++++++++------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit ccc3b1b05930d4aac4eb4dd2366242a66c4c8f46 Author: Victor Toso Date: Tue Mar 8 23:28:07 2016 +0100 Revert "lua-factory: port grl-pocket.lua to the new lua system" This reverts commit 368693b7a8599941d5bfe3b73f440e16ff115a24. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-pocket.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 1310c86b58ca2268e1a48d94665c1502546735bd Author: Victor Toso Date: Tue Mar 8 23:28:06 2016 +0100 Revert "lua-factory: port grl-video-title-parsing.lua to the new lua system" This reverts commit 46b127a9ccee3a01f95bee47e81305238ab17f3a. https://bugzilla.gnome.org/show_bug.cgi?id=763046 .../sources/grl-video-title-parsing.lua | 27 +++++++++++++--------- 1 file changed, 16 insertions(+), 11 deletions(-) commit c3c5462e8fd07093151686394396a265eb0a355a Author: Victor Toso Date: Tue Mar 8 23:28:04 2016 +0100 Revert "lua-factory: port grl-metrolyrics.lua to the new lua system" This reverts commit 0e71278f1616a55e4e0a3b719abbe978a4ad71af. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-metrolyrics.lua | 35 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 18 deletions(-) commit a789a5b4ee9f9bbbb53e439b17c49752d6122445 Author: Victor Toso Date: Tue Mar 8 23:28:03 2016 +0100 Revert "lua-factory: port grl-appletrailers.lua to the new lua system" This reverts commit bea8e082da513d90660de84f9213a4fd9552d2eb. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-appletrailers.lua | 37 ++++++++++++++------------- 1 file changed, 19 insertions(+), 18 deletions(-) commit 6b7e154d3ba8fa7912a801b3cc087a4b1e73853f Author: Victor Toso Date: Tue Mar 8 23:28:02 2016 +0100 Revert "lua-factory: port grl-euronews.lua to the new lua system" This reverts commit 592bb1c7a5315e4f2582dad415e03e42f5a43cad. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-euronews.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 1934fe43fd8702b4e4b7cb052fbba7e3b8a0585f Author: Victor Toso Date: Tue Mar 8 23:27:59 2016 +0100 Revert "lua-factory: port grl-guardianvideos.lua to the new lua system" This reverts commit ccfa70cfe911129c8bdb936fda99dd11cc60bff4. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/sources/grl-guardianvideos.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 2fd5ceeca739fa4aa00bc8a80b23b72e00ccdf67 Author: Victor Toso Date: Tue Mar 8 23:27:55 2016 +0100 Revert "tests: port lua-factory fake sources to new API" This reverts commit d322e89e6e78ac7810b7eaf314421659b77d5ca7. But keeps grl.fetch callback as function instead of string https://bugzilla.gnome.org/show_bug.cgi?id=763046 tests/lua-factory/data/test-source-grl-media.lua | 18 +++++++++--------- tests/lua-factory/data/test-source-xml-parser.lua | 21 +++++++++++---------- 2 files changed, 20 insertions(+), 19 deletions(-) commit c55a863cc4f9ffa4de470a89634c65a94315d346 Author: Victor Toso Date: Sun Mar 13 00:34:56 2016 +0100 tests: include tests for errors in lua sources Three tests were introduced at this time: * grl.callback is never called; * grl.callback is called when operation is finished; * grl.callback is not called after an async operation https://bugzilla.gnome.org/show_bug.cgi?id=763046 tests/lua-factory/Makefile.am | 13 ++ tests/lua-factory/data/test-source-lua-errors.lua | 136 +++++++++++++++ tests/lua-factory/test_lua_factory_source_errors.c | 189 +++++++++++++++++++++ 3 files changed, 338 insertions(+) commit f2860cd6db83158c47a07d46d7b24f2218cd9d13 Author: Victor Toso Date: Sun Mar 13 17:09:47 2016 +0100 lua-factory: watchdog for lua-sources This commit allow us to track broken sources such as: * sources that never call for grl.callback() * sources that might call grl.callback() after the operation is already finished This is done by using a userdata in the top of the stack as a watchdog for the current operation. We always push this userdata in grl_lua_library_pcall function and it will be always freed by Lua's garbage collection. By attaching a finalize function into this userdata, we can check at the time that lua_gc is called if the state of Operation is correct. This idea was introduced by Morse in d809be39ed2bb so I modify those functions to work as the watchdog we need instead of grl_l_callback closure. https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/grl-lua-library-operations.c | 143 ++++++++++++++++++++++++++- src/lua-factory/grl-lua-library.c | 82 --------------- 2 files changed, 142 insertions(+), 83 deletions(-) commit a1379194e5189534c819a02ebd292f3748a45abc Author: Victor Toso Date: Tue Mar 8 23:26:22 2016 +0100 Revert "lua-factory: change grl.get_options() into the static table" In order to keep the previous API between Lua sources and Lua-Factory. This reverts commit 2bfcff90d589d4335105a6423616c7de61cf4c71. After applying this patch, it will break the lua sources due the API change. We are not passing an static table with all operation options to the source anymore. Lua sources should use grl.get_options() and grl.get_requested_keys(). The main goal of reverted patch was to provide a table with all options for the operation handler. https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/grl-lua-common.h | 5 +- src/lua-factory/grl-lua-factory.c | 23 +- src/lua-factory/grl-lua-library-operations.c | 6 + src/lua-factory/grl-lua-library.c | 535 ++++++++++----------------- 4 files changed, 227 insertions(+), 342 deletions(-) commit 500935d069fb622946d2e67f7a2882757e2e4456 Author: Victor Toso Date: Tue Mar 8 22:56:35 2016 +0100 Revert "lua-factory: change grl.get_media_keys() into the static table" In order to keep the previous API between Lua sources and Lua-Factory. This reverts commit 3e409b7727f803e2be4427c7544c679373a7d926. This breaks the current plugins by changing the static table passed as argument back grl.get_media_keys() After applying this patch, it will break the lua sources due the API change. We are not passing an static table as GrlMedia anymore. Lua sources should use grl.get_media_keys(). This is not 100% revert. We are keeping some fixes that was introduced together with the api change for grilo-0.3 on grl.get_media_keys such as using GrlMedia instead of specific types for audio, video, image and box (which is now container) https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/grl-lua-common.h | 1 - src/lua-factory/grl-lua-factory.c | 9 ++++++--- src/lua-factory/grl-lua-library.c | 22 ++++++++++++---------- 3 files changed, 18 insertions(+), 14 deletions(-) commit fd58add90946a2677d26c352dc1d6e962bf5ab94 Author: Victor Toso Date: Tue Mar 8 22:41:51 2016 +0100 Revert "lua-factory: change grl.callback(), grl.fetch() and grl.unzip()" In order to keep the previous API between Lua sources and Lua-Factory. This reverts commit d809be39ed2bbd4c410be7aa527b36902362511a. After applying this patch, it will break the lua sources due the API change. We are not passing callback as argument anymore. Lua sources should use grl.callback(). This is not 100% revert as we are keeping a few changes to grl.fetch and to grl.unzip: * Both those functions are still using a lua function as callback which was a string before d809be39; * Both this functions now can handle userdata as the last argument; * For grl.fetch, the second argument is still an optional table for GrlNetWc; https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/grl-lua-common.h | 2 -- src/lua-factory/grl-lua-factory.c | 12 ++++------ src/lua-factory/grl-lua-library.c | 47 +++++++++------------------------------ 3 files changed, 14 insertions(+), 47 deletions(-) commit 89add4837aa4578abadaf06151e6d0ef2582e122 Author: Victor Toso Date: Tue Mar 8 12:32:59 2016 +0100 lua-factory: set state of all operations This commit uses the functions introduced in previous commit in order to track the state of each operation and save its state https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/grl-lua-library-operations.c | 26 ++++++++++++++++++++++++-- src/lua-factory/grl-lua-library.c | 21 +++++++++++++++++++-- 2 files changed, 43 insertions(+), 4 deletions(-) commit 1074349f2f6ca3edc939313c7ff7d8ff2f5ae53b Author: Victor Toso Date: Sun Mar 6 07:42:08 2016 +0100 lua-factory: introduce source state table The major point is being able to track and retrieve ongoing Grilo operations data under the same Lua Source. Before d809be39ed2bbd4c410be we were using the global env in lua (_G) in order to store the operation and retrieve it but the design of the code was lacking improvements. e.g. grl.fetch() and grl.unzip() were bounded to OperationSpec After d809be39ed2bbd4c410be we removed the the OperationSpec opaque from othe global context and utilities functions but the API changed for that. From now on, we will be able to move back to the former API by storing again the operation details but without losing the benefits from d809be39ed2bbd4c410be. The specifics from each operation will now be stored into our lua-library table: grl * grl.__priv_state.current_operation hold the operation being executed; * grl.__priv_state.operations hole a table of all ongoing operations; The operation is defined by a state table which has three fields at the moment: * op_id: the unique operation id given by Grilo * data: an userdata which points to our opaque (OperationSpec) * state: holds a string related to the Operation state - running: The current ongoing operation - waiting: An async call is being performed - finalized: Callback was called and this will soon be removed by garbage collector https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/Makefile.am | 1 + src/lua-factory/grl-lua-common.h | 11 + src/lua-factory/grl-lua-library-operations.c | 431 +++++++++++++++++++++++++++ src/lua-factory/grl-lua-library-operations.h | 38 +++ src/lua-factory/grl-lua-library.c | 2 + 5 files changed, 483 insertions(+) commit 7c9315e7bb7bf7c572663e002c321d53d76d25cf Author: Victor Toso Date: Fri Mar 4 16:30:50 2016 +0100 lua-factory: Create a proxy for grl and grl.lua By creating a proxy table with custom metatable in order to have more control into changes make in grl and grl.lua by Lua sources. At the moment, the proxy redirects read access (__index metamethod) and write access (__newindex metamethod) to the original table but later on we can remove write access from Lua sources to our library. Internally we are should be using the __call metamethod in order to retrieve the original table. https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/grl-lua-common.h | 1 + src/lua-factory/grl-lua-library-operations.c | 100 +++++++++++++++++++++++++++ src/lua-factory/grl-lua-library.c | 5 ++ 3 files changed, 106 insertions(+) commit 311600c07463721c61b639a510fddaa18574ef95 Author: Victor Toso Date: Mon Mar 7 22:54:26 2016 +0100 lua-factory: use wrapper for lua_pcall Due improvements later in the patch series, it becomes useful to have such wrapper. We always call the lua_gc after lua_pcall as current logic flow expects it. https://bugzilla.gnome.org/show_bug.cgi?id=763046 src/lua-factory/Makefile.am | 1 + src/lua-factory/grl-lua-common.h | 3 ++ src/lua-factory/grl-lua-factory.c | 50 +++++++++++++------------- src/lua-factory/grl-lua-library-operations.c | 52 ++++++++++++++++++++++++++++ src/lua-factory/grl-lua-library.c | 18 +++++----- 5 files changed, 92 insertions(+), 32 deletions(-) commit cacc7c4ca0fedf507d8f8328b2cfead3ebcfdd1f Author: Bastien Nocera Date: Tue Mar 15 14:33:06 2016 +0100 tracker: Fix type of media when it has multiple types To avoid a Video application receiving an audio file, when a file is tagged in Tracker as having both types, and possibly shifting the problem to another type if we were to have a simple "priority" list, check what the application wants through the GrlTypeFilter it sets, and prefer creating a video file if the app prefers videos. This should stop totem receiving GrlMediaAudios when it only ever expects GrlMediaVideo or containers. https://bugzilla.gnome.org/show_bug.cgi?id=730028 src/tracker/grl-tracker-request-queue.h | 1 + src/tracker/grl-tracker-source-api.c | 8 ++++-- src/tracker/grl-tracker-source-notif.c | 2 +- src/tracker/grl-tracker-utils.c | 47 ++++++++++++++++++++++++--------- src/tracker/grl-tracker-utils.h | 3 ++- 5 files changed, 45 insertions(+), 16 deletions(-) commit 263a7c2c0a1065431484ecd3a5d410bb1c62a509 Author: Ask Hjorth Larsen Date: Sun Mar 20 23:40:02 2016 +0100 Updated Danish translation po/da.po | 262 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 134 insertions(+), 128 deletions(-) commit 116ceb373fa6174bdd62877e4527780f823c6941 Author: Inaki Larranaga Murgoitio Date: Sun Mar 20 20:11:33 2016 +0100 Updated Basque language po/eu.po | 261 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 133 insertions(+), 128 deletions(-) commit 723b0fd09d8ef276980748fb776c30060dbcbe73 Author: Gianvito Cavasoli Date: Fri Mar 18 17:05:37 2016 +0000 Updated Italian translation po/it.po | 69 ++++++++++++++++++++++------------------------------------------ 1 file changed, 24 insertions(+), 45 deletions(-) commit 6b58766064e5e0acfb036be7531a7493bcbabea5 Author: Yuri Myasoedov Date: Thu Mar 17 21:53:17 2016 +0300 Updated Russian translation po/ru.po | 175 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 88 insertions(+), 87 deletions(-) commit f4f899346342976e86ad16dc38ae4965c0bd7e44 Author: Tom Tryfonidis Date: Fri Mar 11 19:51:25 2016 +0000 Updated Greek translation po/el.po | 86 +++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 42 deletions(-) commit 72a4e9d1924de741d66b4b5e4ed45e726db3913a Author: Victor Toso Date: Thu Mar 3 01:17:43 2016 +0100 lua-factory: use requested-keys as keys for lua api We always provided the requested-keys to the lua source as an array with the metadata-keys as values. That's not so interesting as the source will need to walk in the array to check which keys were requested. As from commit 2bfcff90d589d43351 we started introducing the requested-keys as an argument, it would be good to use this moment and improve it. A table with the metadata-keys as key could be easily accessed in the source e.g if requested_keys.artist then media.artist = my_artist end https://bugzilla.gnome.org/show_bug.cgi?id=732879 src/lua-factory/grl-lua-library.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit fc9cfe1dc167c6a7b843b91786e9d94b3d0b94a5 Author: Victor Toso Date: Wed Mar 2 22:54:13 2016 +0100 lua-factory: warn on certain mistakes in the source table This is a good way to pinpoint simple mistakes when creating the global source table https://bugzilla.gnome.org/show_bug.cgi?id=732879 src/lua-factory/grl-lua-factory.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit fa5539b92f4df721f24edff0da3c8bed17892fcc Author: Victor Toso Date: Wed Mar 2 22:21:23 2016 +0100 lua-factory: not warn for unknown keys in source table At load time, lua-sources may rely on metadata-keys created in another plugin. The warning would cause any test on lua sources to fail unless it loads all necessary plugins for its metadata-keys. e.g. (test_local_metadata:9549): Grilo-WARNING **: [lua-factory] grl-lua-factory.c:895: Unknown key 'acoustid-fingerprint' in property 'required' for source 'grl-acoustid' https://bugzilla.gnome.org/show_bug.cgi?id=732879 src/lua-factory/grl-lua-factory.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 471b7820cb168142a461bec407deac22d48dffa4 Author: Victor Toso Date: Tue Mar 1 22:28:00 2016 +0100 tests: one lyric was changed in the metrolyrics https://bugzilla.gnome.org/show_bug.cgi?id=732879 .../sources/data/lyrics_ring_of_fire.txt | 39 +++++++++++----------- 1 file changed, 19 insertions(+), 20 deletions(-) commit 00fd2bec84b506b22847805df85ee6a617f7ca8c Author: Victor Toso Date: Wed Feb 24 22:52:17 2016 +0100 remove option: --enable-apple-trailers Since 8e3135b41f73e0 the C plugin does not exist anymore. https://bugzilla.gnome.org/show_bug.cgi?id=732879 Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8b4e54242baf479c7ecc19659975ac17255422cf Author: Cédric Valmary Date: Fri Mar 4 12:53:11 2016 +0000 Added Occitan translation po/LINGUAS | 1 + po/oc.po | 649 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 650 insertions(+) commit ef2c35b77175cd41add8a15ba990b4ed8fb9c22a Author: Seong-ho Cho Date: Thu Mar 3 15:58:12 2016 +0000 Updated Korean translation po/ko.po | 63 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 30 insertions(+), 33 deletions(-) commit 6ed643971816ade4547ff39dc7e658fe753af1c0 Author: Dušan Kazik Date: Tue Mar 1 19:49:57 2016 +0000 Updated Slovak translation po/sk.po | 53 +++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) commit 6027a46574f6b3954d3bec62098555d44e9f6981 Author: fosero Date: Wed Jan 27 11:06:38 2016 +0100 tracker: map key names to SPARQL variables The Grilo tracker plugin maps grilo key names to SPARQL variables. Key names can contains dashes for multipart key names, SPARQL variables cannot. This adds an extra mapping to the key lookup that converts the dashes to underscores that can be used as SPARQL variable names. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=761168. src/tracker/grl-tracker-utils.c | 23 +++++++++++++++++------ src/tracker/grl-tracker-utils.h | 1 + 2 files changed, 18 insertions(+), 6 deletions(-) commit 8a201734b4276845a59c20a91d34c2aec7fe513b Author: Fran Dieguez Date: Tue Feb 23 19:48:31 2016 +0100 Updated Galician translations po/gl.po | 357 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 179 insertions(+), 178 deletions(-) commit 15023e0137e5ed99ecc262747db313ef2f8695a0 Author: fosero Date: Mon Feb 22 18:20:57 2016 +0100 lastfm-cover: don't return an empty table In case no thumbnails are found we should just call the callback without the empty table as it is consider valid GrlMedia for Lua-Factory. Related: https://bugzilla.gnome.org/show_bug.cgi?id=761852 Related: https://bugzilla.gnome.org/show_bug.cgi?id=761694 src/lua-factory/sources/grl-lastfm-cover.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit ae252b6580037da6493734a34ce3738b02ca14b9 Author: fosero Date: Mon Feb 8 00:12:36 2016 +0100 lastfm-cover: thumbnails ordered from large to small This makes the plugin return the largest cover first as was previously the behaviour with the standalone plugin and is expected by consumer applications. https://bugzilla.gnome.org/show_bug.cgi?id=761694 src/lua-factory/sources/grl-lastfm-cover.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 3c8493627cd0539f7c6a3dc0a1af288b0e4cb686 Author: Мирослав Николић Date: Thu Feb 18 21:32:31 2016 +0100 Updated Serbian translation po/sr.po | 276 ++++++++++++++++++++++----------------------- po/sr@latin.po | 351 +++++++++++++++++++++++++++++---------------------------- 2 files changed, 314 insertions(+), 313 deletions(-) commit c8227f152ca2030bc8311ac3e2d3b27013c5ffe2 Author: Anders Jonsson Date: Tue Feb 16 22:35:49 2016 +0000 Updated Swedish translation po/sv.po | 79 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 40 insertions(+), 39 deletions(-) commit 1ccc1b712dfb7076aa7f7165fc7c13a82f0615f8 Author: Chao-Hsiung Liao Date: Sat Feb 13 06:57:48 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 173 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 87 insertions(+), 86 deletions(-) commit 2bf6a118df8d0bb5d99615a9d3c5b54b503d437b Author: Rūdolfs Mazurs Date: Sat Feb 6 19:33:06 2016 +0200 Update Latvian translation po/lv.po | 274 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 130 insertions(+), 144 deletions(-) commit 7ea23b819e119d5336ad530f64fcdb2afa38b524 Author: Matej Urbančič Date: Tue Feb 2 20:41:38 2016 +0100 Updated Slovenian translation po/sl.po | 250 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 125 insertions(+), 125 deletions(-) commit 87445decbc3220c028f8c6e3fcc3e623a6af5ff6 Author: Matej Urbančič Date: Tue Feb 2 17:53:29 2016 +0100 Updated Slovenian translation po/sl.po | 269 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 135 insertions(+), 134 deletions(-) commit 61d083d2627c02463d57205d85ab789a9182b644 Author: Alexandre Franke Date: Tue Feb 2 16:23:05 2016 +0000 Updated French translation (cherry picked from commit 4fc78841c49280f3bb4a997410292b1bd4a8ddab) po/fr.po | 81 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 41 insertions(+), 40 deletions(-) commit d322e89e6e78ac7810b7eaf314421659b77d5ca7 Author: Victor Toso Date: Sat Jan 9 23:27:12 2016 +0100 tests: port lua-factory fake sources to new API https://bugzilla.gnome.org/show_bug.cgi?id=753141 tests/lua-factory/data/test-source-grl-media.lua | 18 +++++++++--------- tests/lua-factory/data/test-source-xml-parser.lua | 21 ++++++++++----------- 2 files changed, 19 insertions(+), 20 deletions(-) commit ccfa70cfe911129c8bdb936fda99dd11cc60bff4 Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-guardianvideos.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-guardianvideos.lua | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 592bb1c7a5315e4f2582dad415e03e42f5a43cad Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-euronews.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-euronews.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit bea8e082da513d90660de84f9213a4fd9552d2eb Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-appletrailers.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-appletrailers.lua | 37 +++++++++++++-------------- 1 file changed, 18 insertions(+), 19 deletions(-) commit 0e71278f1616a55e4e0a3b719abbe978a4ad71af Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-metrolyrics.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-metrolyrics.lua | 35 +++++++++++++++-------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit 46b127a9ccee3a01f95bee47e81305238ab17f3a Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-video-title-parsing.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso .../sources/grl-video-title-parsing.lua | 27 +++++++++------------- 1 file changed, 11 insertions(+), 16 deletions(-) commit 368693b7a8599941d5bfe3b73f440e16ff115a24 Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-pocket.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-pocket.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 9b329f3e5246477f039a1fb2b129706370237c89 Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-spotify-cover.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-spotify-cover.lua | 31 +++++++++++++-------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 93547ac94797cdea6670b0d458e838bcdb578f77 Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-radiofrance.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-radiofrance.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit fbb244ee962ddcf483dc4c6adec30de6c2616436 Author: George Sedov Date: Wed Dec 16 18:26:56 2015 +0300 lua-factory: port grl-lastfm-cover.lua to the new lua system https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/sources/grl-lastfm-cover.lua | 29 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit d809be39ed2bbd4c410be7aa527b36902362511a Author: George Sedov Date: Fri Nov 27 15:46:24 2015 +0300 lua-factory: change grl.callback(), grl.fetch() and grl.unzip() This commit removes grl.callback() and changes the behavior of the grl.fetch() and grl.unzip(). The grl.callback function is now provided as a parameter to all the operations, and grl.fetch and grl.unzip now require callback as a lua function, not a string. Also, they now accept userdata. This commit finishes the work of removing the OperationSpec from the global scope. functions grl_lua_library_save/load/remove_operation_data and functions grl_lua_library_set/get_current_operation were removed functions grl_util_operation_spec_gc push_operation_spec_userdata and grl_lua_library_push_grl_callback were added https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/grl-lua-common.h | 9 +- src/lua-factory/grl-lua-factory.c | 34 ++-- src/lua-factory/grl-lua-library.c | 376 +++++++++++++++++++------------------- 3 files changed, 199 insertions(+), 220 deletions(-) commit 3e409b7727f803e2be4427c7544c679373a7d926 Author: George Sedov Date: Fri Nov 27 14:36:01 2015 +0300 lua-factory: change grl.get_media_keys() into the static table It's part of the work aimed at removing the OperationSpec from the global scope. grl_l_media_get_keys was replaced by grl_lua_library_push_grl_media Although the GrlMedia is now a parameter for the lua source, Grilo expects that the same GrlMedia object will be returned in the callback for the Resolve operation [0]; For that reason we still keep track of GrlMedia and merge it with the resulting GrlMedia from Lua source. [0] see https://bugzilla.gnome.org/show_bug.cgi?id=760382#c3 https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/grl-lua-common.h | 1 + src/lua-factory/grl-lua-factory.c | 9 +++----- src/lua-factory/grl-lua-library.c | 47 +++++++++++++++++++++++++++++---------- 3 files changed, 39 insertions(+), 18 deletions(-) commit 2bfcff90d589d4335105a6423616c7de61cf4c71 Author: George Sedov Date: Fri Nov 27 13:56:54 2015 +0300 lua-factory: change grl.get_options() into the static table It's part of the work aimed at removing the OperationSpec from the global scope. grl_l_operation_get_keys was replced by push_operation_requested_keys grl_l_operation_get_options was split and replaced by push_operation_type_filter push_operation_range_filters push_operation_filters grl_lua_library_push_grl_options https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/grl-lua-common.h | 5 +- src/lua-factory/grl-lua-factory.c | 27 +- src/lua-factory/grl-lua-library.c | 527 +++++++++++++++++++++++--------------- 3 files changed, 340 insertions(+), 219 deletions(-) commit 66abb77948744d09722c503c029b4c458beb19d0 Author: George Sedov Date: Thu Nov 26 11:39:03 2015 +0300 lua-factory: remove dependency on GrlSource from plaintext verification It's part of the work aimed at removing the OperationSpec from the global scope. https://bugzilla.gnome.org/show_bug.cgi?id=753141 Acked-by: Victor Toso src/lua-factory/grl-lua-library.c | 39 ++++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) commit 27b5ca64bbcc89f10f43decf88bdc92d31c543c9 Author: Balázs Meskó Date: Mon Jan 25 00:32:38 2016 +0000 Updated Hungarian translation po/hu.po | 59 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 29 insertions(+), 30 deletions(-) commit 26217f97e9ca2bba4a8b2210d4e747b54ae378e3 Author: Tim Lunn Date: Fri Jan 15 10:51:01 2016 +1100 lua-factory: Fix memory leak of list https://bugzilla.gnome.org/show_bug.cgi?id=760565 src/lua-factory/grl-lua-factory.c | 1 + 1 file changed, 1 insertion(+) commit 78cf2dd5158049174e61fddff3130542032553d5 Author: Tim Lunn Date: Wed Jan 13 18:38:55 2016 +1100 lua-factory: avoid double free of GOA data This fixes test suite failure under Ubuntu buildd's where there is not running X session, so goa_client_new_finish() fails with an error. https://bugzilla.gnome.org/show_bug.cgi?id=760565 src/lua-factory/grl-lua-factory.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 18fb1cd65b7afbf0892ce538e85d9950fb545437 Author: Aurimas Černius Date: Tue Jan 12 22:38:19 2016 +0200 Updated Lithuanian translation po/lt.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3570801c9c619dccbc2cdac0b0f24444aac3aed3 Author: Kjartan Maraas Date: Sun Jan 10 20:04:51 2016 +0100 Updated Norwegian bokmål translation. po/nb.po | 364 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 180 insertions(+), 184 deletions(-) commit 56f96c04533d9879583c5cf8314ceb1a1ce80b96 Author: Carlos Garnacho Date: Sat Jan 9 23:25:03 2016 +0100 lua-factory: Make containers match any supported_media Individually, containers are not likely to represent all 3 of images/audio/video types at once, it feels a bit backwards that lua plugins must use "all" in order to provide information for containers. Fixes album cover fetching on gnome-music after the port to grilo 0.3. https://bugzilla.gnome.org/show_bug.cgi?id=760378 src/lua-factory/grl-lua-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b55d0c7a7f579ac97d7dfba4ad8a41319dd2da64 Author: Rafael Fontenelle Date: Sat Jan 2 06:59:02 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 349 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 184 insertions(+), 165 deletions(-) commit 784e1a633bcc07c09320c6a9376bf163e63b14cf Author: Yosef Or Boczko Date: Thu Dec 31 17:31:27 2015 +0200 Updated Hebrew translation po/he.po | 251 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 128 insertions(+), 123 deletions(-) commit 7b3dded80c8fb084ea3d43983a2af1572d236f12 Author: Mario Blättermann Date: Tue Dec 29 13:30:50 2015 +0100 Updated German translation po/de.po | 397 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 187 insertions(+), 210 deletions(-) commit 2b979abb7d64c974ae8248bd88a2c9fbd2c7b67f Author: Bastien Nocera Date: Sat Dec 26 19:03:50 2015 +0100 thetvdb: Bump gom requirements This ensures that the version of gom supports creating new tables in subsequent database versions. https://bugzilla.gnome.org/show_bug.cgi?id=759835 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1aa8eebc8914c76ab391c28828fe4c3aced6688f Author: Marek Černocký Date: Wed Dec 23 11:04:36 2015 +0100 Updated Czech translation po/cs.po | 248 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 126 insertions(+), 122 deletions(-) commit 32a7034f556718a6704e6abb9be4959d5f5b3b43 Author: Andika Triwidada Date: Tue Dec 22 02:14:45 2015 +0000 Updated Indonesian translation (cherry picked from commit 6073ef6f8c54c41821b472d1a91b692b90bc9c6d) po/id.po | 47 +++++++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 26 deletions(-) commit 3b707eb4e6142749033edb60c5cee92f43cc7f66 Author: Aurimas Černius Date: Sun Dec 20 15:11:03 2015 +0200 Updated Lithuanian translation po/lt.po | 263 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 131 insertions(+), 132 deletions(-) commit d252adc4df86ea95428b0696629cc5e89abf9ff2 Author: Pedro Albuquerque Date: Sat Dec 19 07:44:41 2015 +0000 Updated Portuguese translation po/pt.po | 55 +++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 28 deletions(-) commit 7a02cb26d38d5403a553c886ddd6e62992293575 Author: Daniel Mustieles Date: Thu Dec 17 19:14:22 2015 +0100 Updated Spanish translation po/es.po | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit af8a0a4b786f5e4b1454e0e58c24af8b6a0b36ae Author: Piotr Drąg Date: Thu Dec 17 02:04:35 2015 +0100 Updated Polish translation po/pl.po | 255 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 125 insertions(+), 130 deletions(-) commit 8781a2ebac51689db70d7bbc5f185456a72647a7 Author: Juan A. Suarez Romero Date: Wed Dec 16 22:03:29 2015 +0000 Post-release version bump to 0.3.1 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 85455365888ef7e62b5f8a2261c43176d3fa4ba5 (tag: grilo-plugins-0.3.0)