summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-09-03remove warnings: incorrect usage of abs() [-Wabsolute-value]rbuj1-2/+2
eom-transform.c:135:15: warning: using integer absolute value function ‘abs’ when argument is of floating point type ‘gdouble’ {aka ‘double’} [-Wabsolute-value] eom-transform.c:136:16: warning: using integer absolute value function ‘abs’ when argument is of floating point type ‘gdouble’ {aka ‘double’} [-Wabsolute-value]
2019-09-03remove warnings: redundant redeclaration [-Wredundant-decls]rbuj1-2/+0
egg-toolbars-model.h:113:10: warning: redundant redeclaration of ‘egg_tb_model_flags_get_type’ [-Wredundant-decls] eggtypebuiltins.h:13:23: warning: redundant redeclaration of ‘egg_tb_model_flags_get_type’ [-Wredundant-decls] eom-thumb-view.c:91:40: warning: redundant redeclaration of ‘eom_thumb_view_init’ [-Wredundant-decls]
2019-09-03remove warning: variable ‘priv’ set but not usedrbuj1-3/+0
eom-window.c:3153:20: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable]
2019-07-24properties-dialog: suppress GtkAction warningsraveit651-0/+2
2019-07-24eom-window: suppress GtkAction warningsraveit651-5/+100
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-14EomMetadataReaderPng: Use built-in SRGB profile for matching cHRM/gAMAVictor Kareh1-5/+40
The values used for sRGB in cHRM and gAMA chunks do not compute to a profile that exactly matches the built-in profile. Catch this case and use the built-in profile instead to avoid color differences. upstream commit: https://gitlab.gnome.org/GNOME/eog/commit/9589430c
2019-07-14EomMetadataReaderPNG: Only build profile from cHRM if gAMA is presentVictor Kareh1-9/+4
It's more likely that such an image had a (stripped) sRGB profile or chunk. And thus rather than trying to build a profile from only half the necessary information, eom should not. https://bugzilla.gnome.org/show_bug.cgi?id=725359 upstream commit: https://gitlab.gnome.org/GNOME/eog/commit/78c0153e
2019-07-14Assume sRGB if no display profile is setVictor Kareh1-6/+9
Gimp and Firefox make this assumption as well. https://bugzilla.gnome.org/show_bug.cgi?id=563760 upstream commit: https://gitlab.gnome.org/GNOME/eog/commit/b2b3aa26
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 Napias15-88/+88
2019-06-11Update FSF addressLaurent Napias1-1/+1
Update FSF address
2019-05-29Disconnect callbacks for "Open with" menu items before connecting new ones.Saffith1-0/+5
2019-05-29Unref GtkUIManager so "Open with" menu is freed.Saffith1-0/+1
2019-04-12store: Add any image file in the current directory to the storeVictor Kareh1-2/+3
This allows eom to navigate through all image files in a directory without having to manually load them into the store.
2019-03-08Use persistent page setupVictor Kareh1-2/+3
2019-02-18Read authors (updated) and documenters (updated) from eom.about gresourcerbuj2-35/+34
2019-02-16Ensure proper translation of the about dialog titlerbuj1-0/+1
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
2019-02-15Make translatable the copyright in about dialogrbuj1-3/+3
2018-08-24Reduce the number of g_file_query_info calls at start-upDebarshi Ray3-13/+33
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 Ray2-14/+0
https://bugzilla.gnome.org/show_bug.cgi?id=764139 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/14401d33
2018-08-21fix a memory leaklukefromdc1-1/+1
Apply https://gitlab.gnome.org/GNOME/eog/commit/8032c8a0c6700966afbe77632c03a00ae9a878d0
2018-08-15EomMetadataSidebar: Make header include guard actually workFelix Riemann1-3/+3
The include guard had a typo which prevented it from working. Also strip the possibly reserved double underscores from it. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/dca5139
2018-08-15EomWindow: Switch keyboard shortcuts for sidebar and galleryraveit651-2/+2
This makes eom behave the same as other MATE apps, like Caja and pluma. inspired by: https://gitlab.gnome.org/GNOME/eog/commit/af2c96
2018-08-15Tweak sidebar uiTrinh Anh Ngoc2-3/+5
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/fff55c6
2018-08-15EomPropertiesDialog: Use standard::display-name when showing the parentFelix Riemann1-5/+40
This simply adapts the changes from commit fff55c6a to the properties dialog, which shares some code with the EogMetadataSidebar. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/68a5a0
2018-08-15EomMetadataSidebar: Use standard::display-name when showing the parentDebarshi Ray1-14/+45
https://bugzilla.gnome.org/show_bug.cgi?id=754731 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/fff55c
2018-08-13Fix GResource dependency calculation for out-of-tree buildsFelix Riemann1-1/+3
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/f8d3623
2018-08-13Make sure the libpeas-gtk dependency isn't optimized awayFelix Riemann1-0/+4
Aggressive linkers could drop the dependency which would cause problems using during runtime. Based on a patch for the same problem for gedit by Garret Regier. https://bugzilla.gnome.org/show_bug.cgi?id=739618 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/46c38b7
2018-08-13Remove EomDialog helper classFelix Riemann5-311/+0
EomDialog has become obsolete with the switch to GtkBuilder templates. origin commits: https://gitlab.gnome.org/GNOME/eog/commit/9a60071
2018-08-13EomPreferencesDialog: Convert to GtkBuilder templateFelix Riemann4-184/+163
Also embed the plugin manager into the template directly. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/f96947c
2018-08-13EomThumbnail: Load thumbnail frame from a GResourceFelix Riemann2-1/+4
Also optimize the frame's filesize. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/65720c0
2018-08-13Load EomMultipleSaveAsDialog from GResourceFelix Riemann2-9/+2
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/a2defa1
2018-08-11eom-window: fix deprecated GtkStock usageraveit651-1/+1
2018-08-05Fix build without XMP supportraveit652-7/+7
https://bugzilla.gnome.org/show_bug.cgi?id=737213 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/037affa
2018-08-01Load eom-image-properties-dialog.ui with a gresourceraveit652-6/+5
2018-08-01properties-dialog: Port to gtk_show_uri_on_windowTimm Bäder1-3/+3
https://bugzilla.gnome.org/show_bug.cgi?id=792923 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/ac4f44b
2018-08-01EomPropertiesDialog: Convert to GtkBuilder templateFelix Riemann5-112/+147
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/a8343a6
2018-08-01EomPropertiesDialog: Remove unused private membersFelix Riemann1-4/+0
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/4221e41
2018-08-01Fix metadata sidebar with libexif disabledFelix Riemann1-6/+21
Otherwise there would be several labels with the text "label". https://bugzilla.gnome.org/show_bug.cgi?id=751007 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/b4b80db
2018-08-01EomMetadataSidebar: fix --without-libexif buildAlexandre Rostovtsev1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=751007 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/36d2cba
2018-08-01EomMetadataSidebar: Clear folder label if no image is setFelix Riemann1-0/+1
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/254989
2018-08-01EomSidebar: Increase margin at the sides of the sidebarFelix Riemann1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=746105 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/4afa1a3
2018-08-01EomSidebar: Center and reformat page selectorFelix Riemann1-3/+20
origin comit: https://gitlab.gnome.org/GNOME/eog/commit/5b9f6f5
2018-08-01EomMetadataSidebar: Fix leaked stringsFelix Riemann1-2/+8
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/fec0939
2018-08-01metadata-sidebar: add the details button againraveit651-0/+32
2018-08-01EogMetadataSidebar: Try to unclutter and improve the sidebar's lookFelix Riemann2-305/+69
Based on a design by Allan Day. Plus adding previous tooltip for the folder label origin commits: https://gitlab.gnome.org/GNOME/eog/commit/2e5b065 https://gitlab.gnome.org/GNOME/eog/commit/83bf6c4 https://gitlab.gnome.org/GNOME/eog/commit/c0a51e5
2018-07-27GResource: free css_fileraveit651-0/+1
2018-07-27Initial GResource migrationraveit654-7/+27
Embedding UI data files as GResource makes several things easier. The compiled resources need to be linked directly with the binary as they won't be available if linked with the embedded libeom. Starting with eom.css and eom-ui.xml inspired from: https://gitlab.gnome.org/GNOME/eog/commit/94004b4