xmp tags: compress bigger binary fields
Merge branch 'master' into zxmp
Added missing file src/imageio/format/webp.c
[l10n] Partial swedish update of WebP strings.
Use a quite faster SQL query, down from 0.02" to something not mesurable.

Help a bit fixing the lighttable slowness when displaying images based
on tag.
Add index on meta_data.

Speed-up the lighttable as we are doing lot of queries on meta_data table.
Update French translation.
Merge branch 'lighttable-perfs'

* lighttable-perfs:
  Add index on meta_data.
  Use a quite faster SQL query, down from 0.02" to something not mesurable.
Add explicit imgid to query to be more resilient to changes.
usermanual: add warning re #9621
Merge branch 'master' of ssh://github.com/darktable-org/darktable
Create an in-memory table to keep the collected images.

This is to speed-up the lighttable when based on collection with slow
somewhat queries like the ones on tags. The rowid into the table is
used to keep the ordering from the initial SQL query.
The main query is now based on the collected images cache.

This gives a large speed-up of the lighttable for some queries. The
lighttable is now responding fast for all kind of collections.
Merge pull request #329 from darktable-org/fast-lighttable

Fast lighttable
make XMP tag compression a config option
add italian descriptions to darktable.desktop
One more fix for the fix of the OpenCL fix

Credits go to Wolfgang Goetz for reporting and having a patch. This is
his mail:

> Might be fixed now. Please check. Sorry for the inconvenience.

Partly solved, but you pointed me to the correct place..
looks like the tokenizer of g_strsplit_set () doesn't sum up the
whitespaces.

patch attached: quick/dirty fix is to limit the token count from 3 to 2.
(consumes one whitespace and assembles the remaining string to last
token)

the string 'programnumber' has leading spaces, doesnt affect the strtol.

printf("WG %s..%s..%d\n",programname,programnumber,prog);

$darktable
WG demosaic_ppg.cl..    0..0
WG atrous.cl..          1..1
WG basic.cl..           2..2
WG blendop.cl..         3..3
WG highpass.cl..        4..4
WG nlmeans.cl..         5..5
WG gaussian.cl..        6..6
WG sharpen.cl..         7..7
WG extended.cl..        8..8
WG soften.cl..          9..9
WG bilateral.cl..       10..10
WG denoiseprofile.cl..  11..11
Lua enabled

kind regards
Wolfgang

maybe calling g_strfreev (tokens), but its only allocated once
and discarded at end of program...
Update the query after loading a filmroll

... since this also updates the cached count which can only be updated
reliably AFTER the asynchronous import is done. The being done from
dt_film_set_query() being called from dt_film_open() happens too early
to take effect.
local contrast: fix discrepancy dr vs export
Italian translation updated