265 Commits

Author SHA1 Message Date
Alberto Griggio
c166e0a7ed added a more flexible way of managing ProcEvents
modifying the global ProcEvent enum and refreshmap array is not needed
anymore. You can now register new events dynamically, using a ProcEventMapper
instance. See rtgui/localcontrast.cc for an example.

Hopefully this solves the problem of recurring merge conflicts when different
devs add different proc events
2017-12-19 13:46:19 +01:00
Alberto Griggio
b8777b3d87 added simple local contrast tool
Borrowed from G'MIC
2017-12-19 01:03:52 +01:00
Desmis
5e93f6ba5d Improve Inverse Color Light and fixed some bugs 2017-11-26 09:21:39 +01:00
Hombre
20a0fb7af9 Merge branch 'dev' into spot-removal-tool (see #2239) 2017-11-25 23:30:52 +01:00
Desmis
75cec00e95 merge with dev 2017-11-19 09:08:45 +01:00
Hombre
b64707bea6 Adding ADD/SET mechanism to Fattal HDR tool + PartialPaste dialog gui
+ range of Beta limited to 0.7 <> 1.3.

ADD/SET mechanism was missing for EPD tool too, so it's included in this
commit.

see #4168
2017-11-04 21:27:11 +01:00
Alberto Griggio
77b4ad497b Integrated "Fattal02" tone-mapping operator from Luminance HDR 2017-11-02 22:34:49 +01:00
Desmis
74cc88ff2f merge with dev 2017-10-14 08:34:38 +02:00
Hombre57
02463995af Merge branch 'dev' into multiframe-handling 2017-10-13 22:51:42 +02:00
heckflosse
b6bf4aba05 Don't create Metadata panel for batch editor, #4140 2017-10-13 20:54:03 +02:00
Hombre57
0905294bda Merge branch 'dev' into multiframe-handling, with some merge bugfix 2017-09-17 01:15:51 +02:00
Desmis
9786ec0687 merge with dev 2017-09-14 09:09:18 +02:00
Alberto Griggio
f630309909 Merge pull request #4070 from Beep6581/lensfun
Lensfun integration
2017-09-13 15:35:26 +02:00
Alberto Griggio
e4ba4d19f5 made lensfun-based correction compatible with auto fill mode 2017-09-10 22:02:43 +02:00
Desmis
7bbecdf50c merge with dev 2017-09-08 13:40:29 +02:00
Hombre57
bfe24ab195 BatchToolPanelCoordinator::initSession fixed (issue #4014) 2017-09-02 18:21:12 +02:00
Desmis
0cab4bee3c merge with Dev 2017-08-23 09:30:15 +02:00
Alberto Griggio
f70ba32c9d run through astyle 2017-08-22 08:48:33 +02:00
Alberto Griggio
610f3e4853 added option to manually save the collapsed/expanded state of tools 2017-08-21 18:42:15 +02:00
Hombre57
f75bed1bfa Merge branch 'dev' into spot-removal-tool 2017-08-20 21:06:09 +02:00
Hombre57
f23be9345c Add multi-frame handling.
- Exif of all frames are displayed in the Editor's Exif tab (without
separator)
- isHDR and isPixelShift is added to the data files stored in cache
- In the Editor panel, the QuickInfo frame display the HDR and
PixelShift information, as well as the number of frame and bit-depth for
HDR image
- the number of frame is provided by dcraw. If not set, it is provided
by the Exif's main IFD count
- the PixelShift information (for Pentax as of now) is provided by
looking at the Exif informations
- the HDR information is provided by the Exif information of the first
frame for Pentax raw files, or by the bitspersample, sampleformat and
compression tags for other files

TODO: add icons to the thumbnails to tag HDR and PixelShift files.
2017-08-08 23:42:05 +02:00
Desmis
2f90675ba1 merge with dev 2017-07-17 09:58:06 +02:00
heckflosse
0e01162318 Fixes #3969, Retinex tool does not remember the status of its settings subtool 2017-07-14 00:02:53 +02:00
Desmis
acd715dd44 merge with dev... 2017-06-19 12:30:20 +02:00
heckflosse
18076077c0 Fix some coverity issues 2017-06-14 13:50:46 +02:00
Desmis
398e862b2b merge with dev - all warnings are not delete - come soon 2017-04-08 19:28:04 +02:00
heckflosse
de64d21b37 Crash when switching between raw and tif, fixes #3797. Thanks to Flössie for the patch! 2017-04-03 13:58:15 +02:00
heckflosse
52e8668aee Hide some raw tools for predemosaiced raw files (mraw, sraw, predemosaiced DNG) 2017-03-27 15:31:32 +02:00
heckflosse
0e2502a2d2 Merged dev into locallab_dev 2017-03-26 00:49:44 +01:00
heckflosse
9bb5164cce allow translation of demosaic methods; hide Sub-Image selector for files with onyl 1 raw file; ... 2017-03-22 14:13:51 +01:00
Desmis
13c161429b Move Locallab from Exposure panel to Locallab panel 2017-02-24 18:25:02 +01:00
Desmis
1f7ad78e25 merge with dev - I hope no error 2017-02-21 18:02:48 +01:00
heckflosse
54d1533a7d Fix autowb issues, fixes #3690 2017-02-15 01:30:41 +01:00
Desmis
273e1cb3b2 Init locallabgtk3 2017-01-21 15:34:40 +01:00
Hombre
3eeeb151ec Merge branch 'master' into spot-removal-tool 2016-12-28 01:57:46 +01:00
Hombre
c7be386c3a Solving issue #3531, assign classes to Gtk::Window and MyWidget
- Curve editor buttons are set to expand by default, but they are set to
shrink as soon as an accompagnying widget is set to expand
- White Balance's method button now has a centered ellipse ("...")
- White Balance's buttons are now aligned on their right
- A "withScrollbar" class is added to MyExpander if the ToolPanel's
vertical scrollbar is visible. This can let you add padding space for
the scrollbar (see #MyExpander.withScrollbar in RT default theme)
- A "maximized" and "fullscreen" class is added to the RTWindow whenever
it change state ; BEWARE: if you maximize the window then make it
fullscreen, Gtk says that the window is in a "maximized & fullscreen"
state, which mean that both class can be added at the same time to the
window.

One Gtk oddity (at least on Windows) is that you can make your window
fullscreen and still drag it around by its header bar... That's not very
practical to click on the unfullscreen button if in Single Editor mode
with vertical Tab.

I also managed to see the window in a Inconified + Maximized state. This
part of Gtk doesn't seem very robust, on Windows at least.
2016-12-20 01:58:37 +01:00
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Flössie
0731975ff0 Apply modernize-use-nullptr
Setup:
- `mkdir tidy; cd tidy`
- `cmake .. -DCMAKE_BUILD_TYPE=debug -DPROC_TARGET_NUMBER=1 -DCACHE_NAME_SUFFIX=4 -DBINDIR=. -DDATADIR=. -DBUILD_BUNDLE=ON -DWITH_LTO=OFF -DOPTION_OMP=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
- `cd ..`
- `find -name '*.cc' -exec clang-tidy-3.8 -header-filter=.* -p=tidy -fix-errors -checks=modernize-use-nullptr {} \;`
2016-10-12 17:48:40 +02:00
Hombre
6b22cbd831 Merge branch 'master' into spot-removal-tool 2016-10-07 13:55:59 +02:00
Beep6581
ca71a0b7d2 Merge branch 'master' into gtk3 2016-06-09 23:36:02 +02:00
Beep6581
3da7d84ba9 Revert "Merged master into gtk3, fixed three conflicts."
This reverts commit c857bba95effed2bba4c69d7b072c0dce2ee64ad.
2016-06-09 23:24:55 +02:00
Beep6581
c857bba95e Merged master into gtk3, fixed three conflicts. 2016-06-09 22:36:59 +02:00
Beep6581
9fccdd6ca5 Automatically disable Auto-Fill when enabling LCP Disortion Correction, #1791 2016-05-30 23:47:13 +02:00
Hombre
56dafcf8c1 Spot Removal tool
It is not working yet, but the GUI is (almost) done.
See issue #2239.
2016-04-23 00:46:01 +02:00
heckflosse
8e35deb9c9 Fix uninitialized variable in toolpanelcoord.cc 2016-03-16 19:34:31 +01:00
heckflosse
4979c0c836 Crash when clicking on the hand tool button, fixes #3222 2016-03-16 19:12:00 +01:00
Hombre
3577d87862 Removed set_border_width from the code, padding and margin values still
to be set in CSS file
2016-02-23 21:36:00 +01:00
Hombre
34734350be Merge branch 'master' into gtk3 2016-02-20 18:41:33 +01:00
Hombre
de7c6d773a Updated code taking into account Adam's comments + bugfix 2016-02-13 17:54:47 +01:00
Hombre
4665b88788 Modified Preview Canvas
- Now the Preview can show free space around the image (the image's
corner will coincide with the center of the preview area)
- Editing objects can now be manipulated in this free space
- The editing mechanism has been split : it was completely handled in
rtengine before, now rtengine still handle the pipette's data provider,
but rtgui now handle the objects data provider.
- Bugfix: when using coarse rotate in the Editor panel, the Gradient
widgets are now correctly displayed
2016-02-05 01:40:31 +01:00