134 Commits

Author SHA1 Message Date
Daniel Gao
711f274403 Get rid of relative include paths
* Use target_include_directories to specify include paths
* Specify project root (parent of rtgui and rtengine) as include path
* Replace relative includes with normal includes
2024-11-16 17:20:02 -05:00
Simone Gotti
dcc983331d thumbnail: rename get/setStage to get/setTrashed
Also return a bool in getTrashed since it's already used as a bool in
setTrash and in all the checks.
2024-03-30 09:46:02 +01:00
Lawrence Lee
82dce5fd47
Adapt to real hi-DPI update
Change recursive folder browsing button icon color and size.
2024-03-09 12:47:52 -08:00
Lawrence Lee
3e8ebfef2c
Merge branch 'dev' into browse-subfolder 2024-03-09 12:19:30 -08:00
Pandagrapher
990e9c70a5 Merge with 'Beep6581/dev' 2023-09-05 09:48:43 +02:00
Pandagrapher
bf988ad274 Updates font management for hidpi
Improvements:
- Cleanup of default options files to use OS font by default
- Comments updates
- Simplify font size management as Pango/Gtk directly manage pt/px conversions

Bug fix:
- If Preference panel is closed by "cancel", font size was not reinitialized to previously saved one
- Font size was specified in "RawTherapee.css" theme and so user choice could be ignored
2023-08-23 13:43:07 +02:00
Lawrence Lee
051bbaf322
Listen to changed dirs when browsing recursively
Remove images in removed directories and rescan when new directories are
added.
2023-06-11 18:28:16 -07:00
Lawrence Lee
eef54f0f2d
Add option to disable symlinks in recursive browse 2023-06-11 17:22:40 -07:00
Lawrence Lee
676ab8649b
Add recursive sub-folder image browsing
Add toggle button in the top toolbar of the file browser to activate or
deactivate recursive browsing. Toggle state is saved in options.

Limit recursion depth and explored directory count.
2023-06-10 18:28:17 -07:00
Pandagrapher
89d2bdce5b Initial commit for real hidpi support
Note: This commit has only been tested on MacOS

Changes:
- Icons now use the native hidpi support from Gtk (through Icon Theme)
- Icons are now directly generated from scalable file (i.e. SVG file)
- Widget sizes are scaled based on DPI and scale factor
- Font size is scaled based on DPI and scale factor
2022-08-19 16:47:28 +02:00
Eemil Praks
7534989d9e changed star shortcuts and updated most of the translations
updated magyar shortcuts

added ignoring Ctrl categoryButtonToggled if is mouse click for more consistent shortcut functions

fixed missing windows shortcut
2022-01-04 21:32:23 +02:00
Lawrence Lee
d3b67c1e22 Fix empty dialog messages
Escape ampersands and angle brackets in some Gtk::MessageDialogs.
Closes #6306.
2021-08-15 12:23:29 -07:00
Bezierr
d86888e93f
Add resizing options "long edge" and "short edge" (#6263)
Introduces "long edge" and "short edge" options to resize an image. The GUI is made such that the relevant spinboxes only appear for the selected option. Unrelated values (e.g. for box-mode) are not updated.
2021-06-05 07:37:09 +02:00
Lawrence Lee
36cb32b31b Make inspector window size consistent 2021-05-08 11:48:18 -07:00
Lawrence Lee
4811f92c39 Add missing return statement 2021-05-02 12:35:05 -07:00
Lawrence Lee
b99b9302cc Fix inspector window scaling with caps lock
When launched with the accelerator key, the inspector window initially
scales the image without respecting the state of the caps lock. This
commit fixes the bug.
2021-05-02 12:31:33 -07:00
Lawrence Lee
67e18b5c53 Fix inspector window sometimes not hiding
When the f shortcut is quickly pressed, the inspector window will
sometimes open and remain open even though it should automatically
close. This commit ensures the window closes by capturing the f key
release event from the main window in addition to the inspector window.
2021-04-25 17:05:02 -07:00
Thanatomanic
fc031ccb5a
Remove deprecated GTK3 code, fixes #6103 (#6113)
Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
2021-02-17 11:44:25 +01:00
Floessie
1318935a87
Better handle thumbnail generation of extreme aspect ratio images (fixes #3794)
* Backport fix taken from ART
* Enforce minimal thumbnail size of 1x1 px in two places, prevents divison by zero and empty image generation
2020-10-25 18:24:30 +01:00
Ingo Weyrich
6c9c603ab8
Merge pull request #5593 from rfranke/issue1474
Open inspector fullscreen and exploit monitor resolution, see #1474, #5591
2020-07-28 18:24:50 +02:00
Ingo Weyrich
41675913d6 Cleanups and also some speedups for RT 5.9, to be continued 2020-05-31 17:27:44 +02:00
rfranke
fe09f8587d Merge branch 'dev' into issue1474 2020-02-23 11:24:56 +01:00
Ingo Weyrich
8f291c3ff2 Be -Wunused-macros clean 2020-02-07 20:18:35 +01:00
rfranke
7238db4d70 Merge branch 'dev' into issue1474 2020-01-31 07:14:21 +01:00
rfranke
2dc66e81e1 Create progress tab label only once, see #5596 2020-01-25 15:58:26 +01:00
rfranke
c4e21438a1 Open inspector fullscreen and exploit monitor resolution, see #1474, #5591
- filecatalog.cc: add shortcuts
    'f' for image on full screen
    'Shift' 'f' for 100% crop on full screen
    (synchronization with mouse move as before with dual monitors)
- filepanel.cc: don't create inspector tab
- inspector.cc, inspector.h:
    create separate window for inspector
    scale image if requested
    exploit device scaling for full monitor resolution under macOS
2020-01-03 10:37:22 +01:00
Ingo Weyrich
04b08741ee Further cleanups 2019-11-27 18:55:20 +01:00
Ingo Weyrich
2a4891827d Some cleanups 2019-11-26 15:25:11 +01:00
Ingo Weyrich
587652283d further reduction of include dependencies, also finalised some classes 2019-11-09 16:51:54 +01:00
Ingo Weyrich
b3b1008270 Further reduction of include dependencies 2019-11-02 17:29:26 +01:00
Ingo Weyrich
c1f9120ef4 Further reduction of include dependencies 2019-11-01 21:20:52 +01:00
Ingo Weyrich
cac2eb53ef Further reduction of include dependencies 2019-10-31 20:41:08 +01:00
Ingo Weyrich
6935faa258 Further cleanup of include dependencies 2019-10-30 22:12:06 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Ingo Weyrich
2accd75bd0
Merge pull request #5396 from Beep6581/cppcheck
Cppcheck fixes
2019-08-07 18:28:20 +02:00
Ingo Weyrich
41fc34c5c6 Do not assign empty strings on creation of std::string or Glib::ustring 2019-07-31 20:21:16 +02:00
Ingo Weyrich
4e4106b4e7 Minor cleanups 2019-07-29 14:41:36 +02:00
Ingo Weyrich
de963c54de Further speedups for filebrowser/catalog 2019-07-27 17:39:16 +02:00
Ingo Weyrich
d9c93e77ae filecatalog/filebrowser: further optimizations 2019-07-19 23:45:02 +02:00
Ingo Weyrich
d68b33effc filecatalog: further speedups; also remember last copy/move destination 2019-07-16 20:07:29 +02:00
Ingo Weyrich
67e94e41c8 FileCatalog::getFileList(): speedup 2019-07-14 15:23:28 +02:00
Ingo Weyrich
72ae120bd1 FileCatalog::reparseDirectory(): speedup 2019-07-14 15:03:08 +02:00
Morgan Hardwood
853b198b1e Clarify what is being deleted in Trash, fixes #5337
The message shown when deleting items in trash was ambiguous.
2019-05-24 16:46:51 +02:00
Oleg Koncevoy
d2e6a3a44a Fixed file overwite from queued items 2019-03-21 19:32:31 +02:00
Flössie
0cbc4923bc Relax dependency from procparams.h 2019-02-28 20:44:50 +01:00
Flössie
732bbf1a55 Convert BatchQueue::cancelItems() to functional IdleRegister::add() 2019-01-01 17:55:36 +01:00
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
Flössie
0051e8f2ac Fix SEGV in FileCatalog::(show|hide)ToolBar() (fixes #4916) 2018-12-11 21:48:14 +01:00
heckflosse
61c84b9ee7 Get rid of windirmonitor 2018-12-02 20:29:11 +01:00