111 Commits

Author SHA1 Message Date
Flössie
b08fb04dae Convert almost all IdleRegister::add() calls to add(std::function<>) 2019-01-01 15:53:39 +01:00
Flössie
5af3f64a9d Merge branch 'dev' into review-idle_register-calls 2018-12-31 14:58:26 +01:00
Pandagrapher
39c53119eb Improve batch mode with Locallab
Batch mode is now correctly managed by Locallab. It works only if the
pictures have the same control spot number with coherent id

Other improvements:
- If there is no control spot, all Locallab tools are now disabled
2018-12-26 10:31:57 +01:00
heckflosse
ab2593cf93 Fix 2 coverity issues 2018-11-20 00:10:38 +01:00
Flössie
5906329485 Review IdleRegister (#4892)
This turns `IdleRegister::add()` into a template function to make the
provided function pointers type safe. It also adds a `delete_data`
parameter to manage the provided data pointer even in `destroy()`.
2018-10-28 13:12:01 +01:00
heckflosse
415772254f 'processing profile -> reset to default' and 'processing profile -> clear' seem broken, fixes #4874 2018-10-18 11:41:00 +02:00
Flössie
2125f42116 Turn almost all Listeners into abstract interfaces 2018-10-09 20:32:40 +02:00
Morgan Hardwood
659901212a Icon tweaks and cleanup
- Color-unranked icons tweaked for lighter themes, closes #4704
- Star-unranked icons smaller to increase contrast, #4469
- Deleted old icons which snuck back in with the ICC geneartor merge.
2018-07-29 15:13:35 +02:00
Morgan Hardwood
bb6282fad3 Icons tweaked #4469
- The "light" icon theme is now a little lighter, to increase contrast.
- Toolbox icons are now small.
- Buttons:
  - Buttons without labels which use icons as their only source of info regarding what the button does (e.g. the white-balance pipette button) use normal-sized icons.
  - Labeled buttons which use icons as an auxiliary source of information (e.g. Auto-Crop) now use small icons. Curve type icons are also small even though they have no labels.
- Colored circles are smaller.
- Curve type icons redesigned and small.
- Hand icons (when panning the preview) redesigned to have a clear outline regardless of background color.
- Magnifier icons redesigned to have a thinner magnifier frame and larger inner parts.
- Perspective, distortion and crop icons redesigned.
- Some small icons were missing the `-small` suffix, now renamed.
2018-07-16 12:41:40 +02:00
Morgan Hardwood
522495f4eb Icon cleanup #4469 #3547
Rebased in new branch to cleanup commit history.
2018-07-13 18:13:35 +02:00
Morgan Hardwood
9cecad02f9 Icon cleanup WIP1 2018-05-23 00:37:12 +02:00
Morgan Hardwood
318c92a475 #ifdef win32 for openDefaultViewer, fixes #4543 2018-05-10 10:43:07 +02:00
heckflosse
dfdf4bf39d Fix Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. when selecting Open with windows default viewer (queue processed) and file is not queue processes (Windows only), fixes #4539 2018-05-09 22:28:59 +02:00
Flössie
0eb3969279 Make PartialProfile non-copyable 2017-11-21 18:11:26 +01:00
Morgan Hardwood
c39a054eab Added keyboard shortcuts for "Copy to" and "Move to", closes #3271 2017-10-29 18:31:18 +01:00
Hombre57
180912df0f Merge branch 'dev' into multiframe-handling 2017-10-04 23:34:28 +02:00
heckflosse
76a77865ea O(n²) when using clear from cache in file browser, fixes #4110 2017-09-28 16:34:42 +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
heckflosse
c30683f5f6 Cleanup for b1dd97d, thanks to Flössie 2017-07-07 12:39:52 +02:00
heckflosse
29be023a8c Small speedup for file browser, #3951 2017-07-06 20:10:49 +02:00
heckflosse
b1dd97dac5 Speedup for filebrowser when opening folders with a lot of files, #3951 2017-07-06 15:26:12 +02:00
heckflosse
642b4cc86c Fix some coverity issues 2017-06-16 21:21:22 +02:00
Alberto Griggio
2edd677d1a Fixed various memory leaks as reported by AddressSanitizer 2017-06-07 10:36:28 +02:00
Hombre
fb5466bc8c Code reorganization to enable Dynamic profile with rt-cli (#3691) 2017-04-25 00:50:18 +02:00
Ingo Weyrich
3ff2519302 Merge pull request #3816 from Beep6581/cppcheck3
Merged to get more tests. Additional fixes will follow.
2017-04-09 23:58:07 +02:00
heckflosse
92a46e9a3d Merge branch 'idle_harder' into dev 2017-04-09 02:18:09 +02:00
heckflosse
6e55f6bab5 Fixed a lot of issues reported by cppcheck 1.78 2017-04-08 22:41:46 +02:00
Alberto Griggio
27e822fdae fixed more warnings in rtgui (reported by gcc but not clang) 2017-04-01 16:43:32 +02:00
Flössie
f114b1151f Merge branch 'dev' into idle_harder 2017-03-30 21:44:31 +02:00
Alberto Griggio
518d51e839 merge 'simpleprocess-fast-export-test' into dev 2017-03-28 15:02:10 +02:00
Flössie
91b44dbd08 Replace all g_idle_adds with IdleRegister (#3767) 2017-03-26 22:03:33 +02:00
Alberto Griggio
c8a6253e43 save fast export options also when clicking on the "fast export" menu item 2017-03-16 09:06:47 +01:00
Alberto Griggio
e0d9090420 Changed "Processing profile operations -> Custom Profile Builder" to "Reset to default profile"
The behaviour has changed slightly, so that clicking the menu item now resets
to the default processing profile specified in the preferences. If this
involves calling the custom profile builder, the behaviour is the same as
before. But this is a bit more general, in that it might also simply reapply
the static default profile, or regenerate the dynamic one (depending on the
user's settings)
2017-03-13 23:24:12 +01:00
Alberto Griggio
93296cff17 continuing with my experiments on an alternative "fast export" 2017-03-08 00:50:50 +01:00
Hombre
373e93ad4a Merge remote-tracking branch 'origin/master' into gtk3 2017-01-31 00:30:48 +01:00
Hombre
9ce41d8e91 Fix deprecated Glib::RecMutex on Windows + remove useless GThreadEnter
(no issue)
2017-01-31 00:22:54 +01:00
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Flössie
aeaff29ac0 Apply readability-simplify-boolean-expr 2016-10-12 20:01:30 +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
Morgan Hardwood
0dbea030cb Merge branch 'master' into gtk3-merge-master-b8eb349 2016-10-10 23:07:41 +02:00
heckflosse
566d4c9822 Cppcheck: Fixed most issued in rtgui/* 2016-10-04 23:28:19 +02:00
Morgan Hardwood
040962c1b7 Merge branch 'master' into gtk3 2016-07-09 23:49:31 +02:00
heckflosse
c8779c04f5 Fix all - 2 cppcheck performance hints 2016-07-06 13:04:24 +02:00
Adam Reichold
f0611fe9ba Merge branch 'master' into 'gtk3' to fix modal dialogs without a parent 2016-03-28 13:49:56 +02:00
Adam Reichold
4b9bc5be88 Try to fix #3132 by making sure every file chooser dialog is given an appropriate parent window. 2016-03-28 13:32:30 +02:00
Adam Reichold
a04c7706db Merge branch 'master' into 'gtk3' 2016-03-05 13:11:00 +01:00
Adam Reichold
e853629854 Move the external command helper into the external program store singleton. 2016-02-21 10:12:56 +01:00
Beep6581
f5d5083be6 Merged master into gtk3, manually copied rtgui/threadutils.h over from master 2016-01-31 00:00:28 +01:00
Adam Reichold
17d9309f1c Remove PROTECT_VECTORS option since either program is correct without locking or it is not, especially since std::vector is definitely not thread-safe on all major platforms. 2016-01-30 20:39:54 +01:00
Adam Reichold
1a9121714a Close #3075 by merging branch which parents preferences, save-as and partial-paste dialogs. 2016-01-11 19:18:10 +01:00