Add a way to control style handling in the export module.

It is now possible to select whether the style module are to be
appended to the current picture history or as before just replacing
the corresponding module in the history.
Properly disconnect from the mipmap signal when leaving tethering mode.
Two last(?) PATH_MAX
ensure that quick acces preset menu is display correctly
spots: rounded correction. fix bug #10045
OSX HiDPI: revert for icons drawn using GdkPixbuf, can't scale them
Basic structure for NX1 decoding
Get the basic NX1 decoder working
Basics of NX1 pixel initialization (still broken)
Implement rest of NX1 refpixels, still broken
Finally make the NX1 decoder work properly
Finally make it work properly. I also had to change the bayer pattern as the one we got from the DNG has red and blue swapped. There's a simple reason for this. Adobe seems to be doing the red/blue swap that's needed for the NX3000 on the NX1 as well. This is broken and generates color fringing in the DNG that isn't there when the file is correctly processed.
Add final acknowledgments in the NX1 code
wb_presets: Canon EOS 7D Mark II. Fixes #10236

Data by Alexander Steffen
dt_dev_pixelpipe_process_rec(): avoid integer overflow on big images
Initially reported by frogs (@IRC). Thanks!

Fixes a crash on 135MP+ images when zooming in (100%) on bottom right corner of image.

TODO: find a way to automatically check ALL the similar code and make sure that all of it handles this situation correctly.
Add support for Canon 7DMkII sRaw/mRaw modes
Spots IOP: legacy_params(): adapt for latest mask changes

Shame on me, this should have landed before 1.6,
it was lying in load-raw-raw-data branch (PR #619) since at least Aug 5,
but i totally forgot about this particular commit...

Consequences:
for an image with spot v1, opened from mid summer until now:
	upgrade to v2 = results in broken mask
Now:
	upgrade to v2 = ok...
ImageIO Format TIFF: use scanline-based I/O. Fixes #10230

Also do check for TIFFWriteScanline return code and abort on first error.

As for TIFFTAG_ROWSPERSTRIP: (from specs)
Choose RowsPerStrip such that each strip is about 8K bytes, even if the data is not compressed, since it makes buffering simpler for readers. The 8K value is fairly arbitrary, but seems to work well.
That means,
	StripSize = 8 Kbyte
	RowSize = WIDTH pixels * 3 * X bit/pixel
	RowsPerStrip = roundf(StripSize / RowSize)
And in 99%, RowsPerStrip is 1.
noise profile: fuji x100 by captain siff
Merge branch 'master' of https://github.com/jakeprobst/darktable into importexif