Commit graph

36909 commits

Author SHA1 Message Date
Michael Natterer
fc2a4cd589 app: add gimp_fill_options_create_buffer()
Which creates a buffer from GimpFillOptions that can be applied to a
drawable. Eliminates three slightly different copies of the same
code. Also adds to the color history for each color fill, we missed
two places before.
2016-05-29 18:25:14 +02:00
Michael Natterer
4fefc3817c Bug 766988 - Colors applied to images are not color managed
Color manage colors applied when painting, and when filling, merging,
resizing and transforming drawables.
2016-05-29 17:51:06 +02:00
Jehan
d13ed2a42b Bug 575043 - GIMP ignores 'Maximized' windows hints on startup.
Now the max parameter from Windows is taken into account and takes
precedence over the saved session state if set.
This can be applied either through the "run" property of a shortcut,
or by command line: `start /max gimp-2.9.exe`.
There is a start for min handling as well but I can clearly see the
window being minimized and immediately re-raised. There must be a call
later which deiconifies the window. This will have to be fixed.
2016-05-29 17:48:09 +02:00
klausstaedtler
9e4b9628f2 icons:symbolic-scalalable & color-scalable
symbolic-scalable
add 'pixel-perfect' 24px vectorial twins (as replacement for 22px)
gimp-prefs-color-management
gimp-prefs-controllers
gimp-prefs-default-comment
gimp-prefs-default-grid
gimp-prefs-display
gimp-prefs-help-system
gimp-prefs-icon-theme
gimp-prefs-image-title
gimp-prefs-image-windows
gimp-prefs-input-devices
gimp-prefs-interface

symbolic-scalalable & color-scalable
sync gimp-prefs-color-management with gnome-color-manager
2016-05-29 17:41:20 +02:00
Piotr Drąg
34c5d90982 Updated Polish translation 2016-05-29 14:44:56 +02:00
Pedro Gimeno
f665e4cfa9 Bug 738951 - (modulo n m) may fail for m >= 46342 (in 32-bit) or m >= 3037000501 (in 64-bit) 2016-05-29 13:48:44 +02:00
Jehan
48b8df2f14 Indentation (tabs) cleanup. 2016-05-29 02:37:32 +02:00
Jehan
2bb0f1b1c9 app: fix "_WIN32_WINNT" redefined when cross-compiling with mingw-w64.
It was already defined in _mingw.h, provided with mingw-w64 headers.
2016-05-29 02:26:04 +02:00
klausstaedtler
0236bbdb76 icons: symbolic-scalable
add 'pixel-perfect' 24px vectorial twins (as replacement for 22px)
gimp-dynamics
gimp-histogram
gimp-input-device
gimp-landscape
gimp-letter-spacing
gimp-line-spacing
gimp-path
gimp-paths
gimp-portrait
gimp-prefs-folders
gimp-tool-preset
gimp-wilber
2016-05-28 18:26:31 +02:00
Hartmut Kuhse
4a7d1e59f9 plug-ins: convert screenshot-win32 to gegl
and do some repairs.
2016-05-28 17:56:14 +02:00
klausstaedtler
49c81ffc44 icons: color-scalable
add 'pixel-perfect' 24px vectorial twins (as replacement for 22px)
gimp-prefs-folders-brushes
gimp-prefs-folders-dynamics
gimp-prefs-folders-environ
gimp-prefs-folders-fonts
gimp-prefs-folders-gradients
gimp-prefs-folders-icon-themes
gimp-prefs-folders-interp
gimp-prefs-folders-modules
gimp-prefs-folders-palettes
gimp-prefs-folders-patterns
gimp-prefs-folders-plug-ins
gimp-prefs-folders-scripts
gimp-prefs-folders-themes
gimp-prefs-folders-tool-plug-ins
gimp-prefs-folders-tool-presets
gimp-prefs-folders-tools
2016-05-28 16:39:30 +02:00
klausstaedtler
4b4ebe9fc2 icons: color-scalable
add 'pixel-perfect' 24px vectorial twins (as replacement for 22px)
gimp-dynamics
gimp-histogram
gimp-input-device
gimp-landscape
gimp-letter-spacing
gimp-line-spacing
gimp-path
gimp-paths
gimp-portrait
gimp-prefs-color-management
gimp-prefs-controllers
gimp-prefs-default-comment
gimp-prefs-default-grid
gimp-prefs-display
gimp-prefs-folders
gimp-prefs-help-system
gimp-prefs-icon-theme
gimp-prefs-image-title
gimp-prefs-image-windows
gimp-prefs-input-devices
gimp-prefs-interface
gimp-prefs-new-image
gimp-prefs-playground
gimp-prefs-session
gimp-prefs-system-resources
gimp-prefs-theme
gimp-prefs-toolbox
gimp-prefs-tool-options
gimp-prefs-window-management
gimp-tool-preset
gimp-wilber
2016-05-28 13:35:19 +02:00
Hartmut Kuhse
93d1161950 plug-ins: remove obsolete win-snap, because its functionality is in plug-ins/screenshot 2016-05-28 11:38:02 +02:00
Michael Natterer
0f98eda5a5 app: remove gimp_context_[get|set]_[foreground|background]_pixel()
Artifacts from early GEGL posting.
2016-05-28 09:35:25 +02:00
Michael Natterer
ef78897c67 app: set a color config on color areas created from menu actions
and set a GimpContext on the actions so they can find the config.
2016-05-28 03:01:37 +02:00
Alexandre Prokoudine
9225176ce3 Merge branch 'undo-preview-size' 2016-05-28 03:05:20 +03:00
Alexandre Prokoudine
e494779509 Add configuration for undo preview size 2016-05-28 02:53:28 +03:00
Michael Natterer
dbb96f57bb Bug 467930 - color selectors are not color managed
Color manage GimpFgBgView.
2016-05-28 01:41:46 +02:00
Jehan
2a7ee53273 INSTALL: adding list of runtime dependencies.
As far as I know: darktable and xdg-email/sendmail.
2016-05-28 01:01:41 +02:00
Jehan
0d8d5a0cfe plug-ins: sendmail is also a runtime dependency.
Such as `xdg-email`, if --with-sendmail is set, sendmail presence should
actually be checked at runtime and not be a blocker during build.
2016-05-28 00:52:38 +02:00
Michael Natterer
ee0c51a43e Bug 467930 - color selectors are not color managed
Color manage the water color selector.
2016-05-28 00:38:57 +02:00
Michael Natterer
9a871f6262 app: color manage palette and gradient previews 2016-05-27 23:59:07 +02:00
Michael Natterer
a35276ed91 app: make all GimpViewRenderers color manage themselves
Automatically connect to the global GimpColorConfig unless a different
one is set manually (like for previews that belong to a
GimpDisplayShell and should follow its color management settings.  Add
public API for subclasses to get to the renderer's color
transform. Automatically color manage rendered pixbufs, just as we
already manage temp_bufs.
2016-05-27 23:54:46 +02:00
Jehan
c0aff6b0f0 plug-ins: enter in the filename field activates email sending. 2016-05-27 22:09:18 +02:00
Jehan
22905e7174 plug-ins: fix sendmail alternative.
Oups! I should have retested --with-sendmail before pushing, after the
changes in commit 05f7726.
2016-05-27 22:09:18 +02:00
Michael Natterer
d6ee1dc5cf libgimpwidgets: cache gimp_widget_get_color_transform()'s GimpColorTransforms
Now that more and more widgets are color managed, we need transforms
for all of them. Creating them is very expensive.

The new cache returns the same transform for a combination of (config,
src_profile, src_format, dest_format) and invalidates itself
automatically on config changes. The number of transforms goes down
from potentially hundreds to a handful, and the cost of a config
change from many seconds to virtually instant.
2016-05-27 21:58:46 +02:00
Michael Natterer
984e3d8f5a libgimpcolor: small optimization in gimp_color_transform_process_pixels()
no need to copy the alpha channel separately if src and dest are the
same.
2016-05-27 21:58:46 +02:00
Jehan
cef26867c5 plug-ins: redirect stdout to /dev/null when checking xdg-email presence. 2016-05-27 21:45:19 +02:00
Jehan
59f1b18a93 plug-ins: do not show all fields in dialog for xdg-email.
xdg-email would usually open an email client where you can edit all
fields, like recipients, mail title, etc. Setting it first in GIMP
is redundant.
Of course, these fields can still be set in non-interactive mode (in
which case, maybe xdg-email could be set to some non-interactive email
client as well).
2016-05-27 21:45:05 +02:00
Jehan
05f7726eab plug-ins: xdg-email is a runtime dependency. 2016-05-27 21:44:52 +02:00
Jehan
8c4d03ada8 plug-ins: email plugin brought back from the dead.
By default, it will now use xdg-email to select the user's preferred
email client, which means it only works on platforms with xdg-email.
The sendmail implementation is still available if requested explicitly
with --with-sendmail.
2016-05-27 21:44:45 +02:00
Cédric Valmary
b8b9f8a3c3 Updated Occitan translation 2016-05-27 19:41:04 +00:00
Cédric Valmary
34982a5b95 Updated Occitan translation 2016-05-27 19:40:10 +00:00
Cédric Valmary
ddf6db022e Updated Occitan translation 2016-05-27 19:39:22 +00:00
Cédric Valmary
78fb78b270 Updated Occitan translation 2016-05-27 19:38:34 +00:00
Cédric Valmary
f9d0479f72 Updated Occitan translation 2016-05-27 19:38:24 +00:00
Cédric Valmary
cd453597aa Updated Occitan translation 2016-05-27 19:38:16 +00:00
Cédric Valmary
09dbcc6995 Updated Occitan translation 2016-05-27 19:33:44 +00:00
Massimo Valentini
062cf1a5ab Bug 766895: The --dump-pdb-procedures-deprecated...
argument triggers a segmentation fault

Initialize babl so that, when gimp is unreffed,
using a babl_format to destroy a std brush does
not crash.
2016-05-27 19:30:49 +02:00
Yolanda Álvarez Pérez
0637074743 Updated Spanish translation 2016-05-27 06:19:55 +00:00
Michael Natterer
0d8b8c2f99 Bug 467930 - color selectors are not color managed
Color manage the wheel/triangle color selector.
2016-05-27 01:12:35 +02:00
Michael Natterer
9014fbeb32 Bug 467930 - color selectors are not color managed
Color manage GimpColorScale and GimpColorScales.
2016-05-27 00:51:32 +02:00
Michael Natterer
ff3e9d76ac libgimpcolor: add CMYK formats to gimp_color_profile_get_format()
Makes the CMYK color selector not crash.
2016-05-27 00:33:56 +02:00
Michael Natterer
ca349f88cd libgimpcolor: add gimp_color_transform_can_gegl_copy()
Which takes two profiles and returns TRUE if converting between
them works correctly without a GimpColorTransform. Use it in
gimp_color_transform_new() to return a NULL transform if none
is needed. Took the code from gimp-gegl-loops.c.
2016-05-26 23:14:57 +02:00
Cédric Valmary
365f4e417e Updated Occitan translation 2016-05-26 20:46:14 +00:00
Cédric Valmary
1a09bb0f2b Updated Occitan translation 2016-05-26 20:40:13 +00:00
Michael Natterer
e6d4053567 app: don't forget to ref GimpOperationProfileTransform's profiles 2016-05-26 22:26:07 +02:00
Michael Natterer
0cd3d7aa7b app: color manage GimpFgBgEditor, as used e.g. in the toolbox 2016-05-26 22:25:03 +02:00
Michael Natterer
0acff06465 app: color manage the color buttons of GimpColorHistory 2016-05-26 22:24:35 +02:00
Michael Natterer
bd38b7b9fd libgimpwidgets: set the color config on the "GIMP" page of color selectors 2016-05-26 22:23:29 +02:00