Lawrence Lee
fbed8c761b
Reduce unnecessary directory browser refreshes
...
Ignore more file change events that do not have an effect on what should
be displayed by the directory browser.
2025-02-08 16:43:50 -08:00
Pandagrapher
7e63892628
Merge with 'Beep6581/dev'
2024-03-06 19:10:49 +01:00
Alexander Gruzintsev
de82b9fc7a
Fix warnings: conversion to double/float, unused variables, register keyword
2023-10-30 08:18:33 +01:00
Pandagrapher
990e9c70a5
Merge with 'Beep6581/dev'
2023-09-05 09:48:43 +02:00
Stephen Shkardoon
23f2a2fc9f
Use _WIN32
instead of WIN32
to detect Windows
...
`WIN32` is not defined when building a 64-bit executable on Windows with Clang. `_WIN32` is the more appropriate option here.
http://web.archive.org/web/20191012035921/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system contains a handy table/matrix of the options and why this is best.
2023-08-13 17:09:49 +12:00
Pandagrapher
35ce0d1227
Fixes hi-dpi on Windows
...
- Fixes incorrect install path for icons
- Fixes incorrect font size conversion from "Pango units" (updates some comments)
- Fixes incorrect volume icon in directory browser
2022-08-29 19:26:41 +02:00
Pandagrapher
50e54aa395
Convert remaining RTPixbuf to RTSurface
...
Changes:
- Remove RTPixbuf use in directory browser to use native GTK mechanism
- Replace RTPixbuf by RTSurface for thumbnail icons
- Remove now useless RTPixbuf class
Fixes:
- Elaborate RTSurface width / height based on the type
2022-08-27 11:37:59 +02: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
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
rfranke
3020f7dba4
Expand directories without subdirectories as well
...
This lets the triangle disappear to indicate an expanded state
with no subdirectories.
2019-12-30 06:00:31 +01:00
rfranke
37deb083c5
Expand subfolders in directory browser, see #3198
2019-12-29 16:57:41 +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
Hombre
7ab3893b2b
Merge branch 'dev' into hidpi-icons
2018-12-09 00:13:01 +01:00
Hombre
5ea0bacddd
Icons are resized depending on the current scale/resolution
...
See issue #3547 and #4803
2018-12-08 22:48:15 +01:00
heckflosse
61c84b9ee7
Get rid of windirmonitor
2018-12-02 20:29:11 +01:00
Hombre
434e121f99
Merge branch 'dev' into hidpi-icons
2018-11-29 00:15:57 +01:00
heckflosse
b98f73e51b
Use unsigned int to avoid undefined behaviour when shifting a signed by 31 bits
2018-11-21 15:17:11 +01:00
Hombre
3d7ef4286e
Merging dev into hidpi-icons
2018-11-13 22:37:49 +01:00
heckflosse
b488e207e1
Wrong folder selected when rt is started in verbose mode, fixes #4946
2018-11-10 01:36:35 +01:00
Hombre
4eb8a8f70c
Adding HiDPI support (WIP)
2018-10-25 20:22:33 +02:00
Morgan Hardwood
a0021d3348
Icon tweaks and fixes, #4469
...
Ticks, used for edited image, are now theme-colored.
Missing ticks and missing CD-ROM icons fixed.
2018-07-17 00:00:32 +02:00
Morgan Hardwood
10af344672
Merge branch 'dev' into iconcleanup4
2018-07-13 18:14:48 +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
heckflosse
2faa8ec4f1
Fix windows boot drive folder bug, fixes #4629
2018-06-21 14:39:27 +02:00
heckflosse
92a46e9a3d
Merge branch 'idle_harder' into dev
2017-04-09 02:18:09 +02:00
heckflosse
f9aa67b05e
Fix warning in rtengine/rawimage.cc and rtgui/dirbrowser.cc
2017-04-01 20:59:10 +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
91b44dbd08
Replace all g_idle_add
s with IdleRegister
( #3767 )
2017-03-26 22:03:33 +02:00
Flössie
79ff7f5997
Replace all add_idle()
s with IdleRegister
2017-02-10 21:22:42 +01:00
Hombre
e4e474ca8a
Merge branch 'gtk3' into gtk3-bugfix
2016-10-28 23:48:22 +02:00
heckflosse
b16ef8d1f5
Merge master into gtk3
2016-10-28 17:59:47 +02:00
Hombre
712468197d
Bugfix and style update of RawTherapee.css
...
Still unfinished - Big thank you to DrSlony for his help
2016-10-19 02:20:12 +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
Flössie
162c65e696
Use get_parse_name()
in rtgui/dirbrowser.cc
( #3444 )
...
This will print the full path and is consistent with the gtk3 branch.
2016-10-04 20:36:28 +02:00
Flössie
ca0afa8d5f
Fix incompatibility with glibmm 2.50 ( #3440 )
...
Kudos to @Hombre57 for the suggestion.
2016-10-01 12:38:24 +02:00
Hombre
3bdf38437c
Fix issue #3186 : "Combobox text overflow Gtk3"
...
+ fix a bug that prevent RT from building with gcc6.2
2016-09-27 02:08:23 +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
a04c7706db
Merge branch 'master' into 'gtk3'
2016-03-05 13:11: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
Adam Reichold
a2eea7c265
Finally fully remove the safegtk module.
2016-02-21 10:26:11 +01:00
Adam Reichold
e78d29ef35
Move sub directory listing helper to its only place of use in the directory browser.
2016-02-21 10:07:57 +01:00
Adam Reichold
13ebcb0dd0
Move image loader helper functions from safegtk to RTImage module.
2016-02-21 09:59:12 +01:00
Hombre
a54dd81b1a
Merge branch 'master' into gtk3
2016-01-11 00:54:25 +01:00
Adam Reichold
87016d353a
Replace the DirSelectionListener interface using a typedef'ed signal to increase simplicity and reduce boiler plate.
2016-01-06 20:05:11 +01:00
Morgan Hardwood
56a0805bc7
Gtk3 by Hombre, issue 2807
2015-08-12 16:07:19 +02:00
DrSlony
0e0cfb9b25
Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle
2015-08-11 11:55:03 +02:00
torger
d5ca351c20
Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility)
2015-07-10 12:00:36 +02:00