summaryrefslogtreecommitdiff
path: root/src/eom-image.c
AgeCommit message (Collapse)AuthorFilesLines
2021-11-20Use a blank line at mostrbuj1-4/+0
2021-01-28Remove cppcheck warning knownConditionTrueFalserbuj1-1/+1
2021-01-20Remove unnecessary casts on signal function callsrbuj1-5/+3
2021-01-07Remove warning -Wshadowrbuj1-8/+4
2020-12-11eom-image: warning -Wexpansion-to-definedrbuj1-1/+1
2020-09-02Remove unused macrosPablo Barciela1-3/+0
2020-03-10Remove warnings: cast between incompatible function typesrbuj1-4/+2
2020-01-09enable wayland supportWu Xiaotian1-7/+13
2019-07-14Allow color correcting images with alpha channelVictor Kareh1-10/+9
This is mostly useful for PNG images for now but could also help with TIFF files in the future. LittleCMS will still ignore the alpha channel, so this should be harmless. https://bugzilla.gnome.org/show_bug.cgi?id=725357 upstream commit: https://gitlab.gnome.org/GNOME/eog/commit/80b536bc
2019-07-14EomImage: Check GdkPixbuf for an ICC profile before falling back to sRGBVictor Kareh1-4/+26
If an image's ICC profile cannot be extracted check whether GdkPixbuf was able to extract one before falling back to sRGB. This makes it possible to color correct TIFF images. https://bugzilla.gnome.org/show_bug.cgi?id=727467 upstream commit: https://gitlab.gnome.org/GNOME/eog/commit/48e971cb
2019-07-14Assume sRGB when image doesn't have an ICC profile attachedVictor Kareh1-1/+8
This seems to be no problem with other image viewers and is apparently also recommended by W3C. https://bugzilla.gnome.org/show_bug.cgi?id=554498 upstream commit: https://gitlab.gnome.org/GNOME/eog/commit/dfdc1874
2019-07-02Remove trailing whitespacesLaurent Napias1-4/+4
2018-08-24Reduce the number of g_file_query_info calls at start-upDebarshi Ray1-1/+2
https://bugzilla.gnome.org/show_bug.cgi?id=764139 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/65e61ccc
2018-08-24EomImage: Remove unused constructorDebarshi Ray1-12/+0
https://bugzilla.gnome.org/show_bug.cgi?id=764139 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/14401d33
2018-08-05Fix build without XMP supportraveit651-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=737213 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/037affa
2018-07-23EomImage: Make sure to emit size-prepared after applying orientationFelix Riemann1-1/+4
Even if the orientation didn't occur by Exif data. https://bugzilla.gnome.org/show_bug.cgi?id=748598 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/abe8912
2018-07-23EomImage: Fix too early size-prepared emissionFelix Riemann1-2/+0
If an image without metadata support is loaded it could happen that the size-prepared signal was emitted without knowing the actual image size. That resulted in a smaller than necessary window size. Remove unneeded emission since the loader will make sure to emit the signal once the size is known. https://bugzilla.gnome.org/show_bug.cgi?id=748598 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/5ae0b28
2018-07-23EomImage: Slight optimization of private data structureFelix Riemann1-1/+0
- Remove/Disable unused members - Close memory hole on 64-bit origin commit: https://gitlab.gnome.org/GNOME/eog/commit/08a8460
2018-07-17Convert to G_DEFINE_TYPE_WITH_PRIVATE part 3Felix Riemann1-7/+2
origin commits: https://gitlab.gnome.org/GNOME/eog/commit/d7317d2 https://gitlab.gnome.org/GNOME/eog/commit/756dc07 https://gitlab.gnome.org/GNOME/eog/commit/c485fb8 https://gitlab.gnome.org/GNOME/eog/commit/77be951 https://gitlab.gnome.org/GNOME/eog/commit/007273d https://gitlab.gnome.org/GNOME/eog/commit/a545274 https://gitlab.gnome.org/GNOME/eog/commit/e0f99fb https://gitlab.gnome.org/GNOME/eog/commit/1222978
2018-07-14Use GdkPixbuf's "orientation" feature as fallback for autorotationFelix Riemann1-11/+34
Useful for formats where we don't support extracting the needed data ourselves (e.g TIFF) and if eog is compiled without libexif. https://bugzilla.gnome.org/show_bug.cgi?id=548474 https://bugzilla.gnome.org/show_bug.cgi?id=615114 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/8ac825b
2017-04-26A bunch of instrospection warning fixesEmmanuel Pacaud1-0/+18
taken from: https://git.gnome.org/browse/eog/commit/?id=1b22c52
2017-04-23Avoid recompressing JPEGs as PNG when printingFelix Riemann1-0/+17
Use cairo's feature to simply attach the source file data to the printing surface. This reduces the file size of the resulting PDF file pretty much to the source file size. https://bugzilla.gnome.org/show_bug.cgi?id=394260 taken from: https://git.gnome.org/browse/eog/commit/?id=7029dfe
2017-03-22Bring eom-image.c's SVG handling up to date, properly recognize svgz filetypesScott Balneaves1-29/+65
2017-01-26fix indent a bitmonsta1-11/+10
2017-01-26fix leak of GError when loading SVG failsmonsta1-1/+4
ported from: https://git.gnome.org/browse/eog/commit/?id=55036c6d55b06e82a480b559d59f5effae26399d
2015-12-03remove ancient workaround for non-threadsafe pixbuf loadersmonsta1-65/+6
from https://git.gnome.org/browse/eog/commit/?id=a9c9d81405e31443ab51713f6a0712f9bb10e11b
2015-09-06Gtk3: Don't call gdk_threads_init()raveit651-3/+3
taken from: https://git.gnome.org/browse/eog/commit/?id=757128b
2015-09-06A bunch of annotation fixes from Eoginfirit1-0/+40
2015-06-04don't change file permissions when saving the modified imageMonsta1-0/+108
adapted from: https://git.gnome.org/browse/eog/commit/?id=4626596c2c179bfe35c4212efced15c38d7337d6
2015-03-15some fixes from upstream:Monsta1-4/+5
https://git.gnome.org/browse/eog/commit/?id=ffd057a0be9610b49f2dc718060c82c4ee1065be https://git.gnome.org/browse/eog/commit/?id=40919ebb2ce1fd70edae61c7b578c6a7ce8ef432 https://git.gnome.org/browse/eog/commit/?id=a3b769506abbbf7b24547b95c9c99349e99d44c0 Closes https://github.com/mate-desktop/eom/pull/67
2014-12-23use guint for signals arrays, and zero-initialize themMonsta1-1/+1
2014-07-28Dont use EomExifData in the C apiinfirit1-2/+2
Eog bug https://bugzilla.gnome.org/show_bug.cgi?id=626257 Based on eog commit f457e6cd2f9b25194145681109ae4bd7f3b4ee7f From Claudio Saavedra <[email protected]>
2014-07-26Small code fixinfirit1-3/+1
Based on eog commit 2def5c1918f1e59647b161b8991bc67a2127f63f From Claudio Saavedra <[email protected]>
2014-07-26Fix build without libexifinfirit1-3/+3
Based on eog commits: ebb9e525a84fb169c79908ff646288550f7e480a aa1ceac427d99e70bc2747b4503f6307f4f841e3 From Felix Riemann <[email protected]>
2014-07-25Wrap ExifData in a EogExifData boxed typeinfirit1-2/+2
This is for better interaction with bindings Based on eog commit b88d3713fe45a4bab1bd24ac8ff60551c5c31d49 From Claudio Saavedra <[email protected]>
2014-07-25Workaround concurrency issue with statusbar-date plugininfirit1-2/+4
Make sure that only an image loading job does autorotation. A metadata loading job has no use for this. Works around lost signals when the statusbar-date plugin is activated. Eog bug http://bugzilla.gnome.org/show_bug.cgi?id=622161 Based on eog commit 46b027696fd73c115efe6d13421105750a0bf86c From Felix Riemann <[email protected]>
2014-07-25Add eom_image_is_file_changed()infirit1-0/+8
Based on eog commit 50390e87fe4f14f3a68ca93b3048127c15244750 From Claudio Saavedra <[email protected]>
2014-07-25Store the changed status of an image fileinfirit1-1/+6
Based on oeg commit c1cc23e3c776c9b05b255c7127b4932d2d076b4e From Claudio Saavedra <[email protected]>
2014-07-24Use new GLib threading APIinfirit1-21/+18
Based on eog commit by Felix Riemann <[email protected]> Url: https://git.gnome.org/browse/eog/commit/?id=b5f61d90d0478378cf7cf21bf5ade9eded0ae9f2
2013-09-26Migration to lcms2Stefano Karapetsas1-3/+3
Closes #25 https://github.com/mate-desktop/mate-image-viewer/issues/25 See https://git.gnome.org/browse/eog/commit/?id=3c3a835
2012-09-04Fixed incorrect fsf addresses. Closes #4.Steve Zesch1-1/+1
2011-11-06inicialPerberos1-0/+2237