Diferent black points for samsung NX1 high iso
Some more const where possible.
dt_imageio_export_with_flags(): do not leak memory upon error.
Fixes Coverity CID 1260259
Move wb_presets.c to external/
Update beautify_style.sh

Also added "// clang-format {off,on}" to colormatrices.c and
noiseprofiles.h to prevent them from "manual" beautification.
add "// clang-format {off,on}" to nvidia_gpus.h
snapshots: fix drawing offset for new border system. fixes #10228

(cherry picked from commit ab30ec4abd8c1bdf5e0b5e82479f86d1036b3622)
Add the Pentax *ist DL2 do rawspeed
Fix reference of wb_presets.c in POFILES.in.
Updated Catalan translation for master branch
wb_presets: fix 7D Mark II (#10243)

(cherry picked from commit a6ecd88e4f191683ff26101a5f855d41557a3f4a)
Merge pull request #795 from josepvm/master

Updated Catalan translation for master branch
lua : fix event not stacking the right value in some cases

this might help with #10246 but i'm not able to reproduce,so
waiting for houz on that
[l10n] Small update of German translation
lua : add a pure lua implementation of "require"

this allows to call coroutine.yield() from within a required
script.

this is alimitation of lua. fix bug 10246
Update version string after every commit

If you need the vresion in code you have to include version.h. Please
don't do that in .h files since that file changes after every git commit
and would lead to constant rebuilds of the complete project. In .c files
it's just that file and maybe some linking.
[l10n] swedish update
lua : change how lua works at DT exit

two phase

1) tell threads to exit and wait
.. DT kills all secondary jobs
2) close the lua state

this means that a looping thread can prevent DT from finishing
indefinitely
lua : add a field to detect when lua is exiting

This is needed to allow threads to do exit time actions and
terminate properly
lua : add dt.control.dispatch

this function allows running a function "at a later date" to
do background jobs in lua