Commit Graph

37116 Commits

Author SHA1 Message Date
Jehan 730547e0bb libgimpwidgets: fix commit e6ba618.
- Missing comma;
- headers from libgimpwidgets can't be included in app/core. So icon
  macros can't be used there.
2016-06-02 20:06:54 +02:00
klausstaedtler 73e6b6fce8 icons: correct gimpicons.h 2016-06-02 18:41:36 +02:00
klausstaedtler 2c05b4288c Merge git://git.gnome.org/gimp 2016-06-02 18:28:00 +02:00
klausstaedtler e6ba618bb9 icons: add new icon gimp-color-palette
patch
gimppalette.c
gimpicons.c
gimpicons.h
2016-06-02 18:24:29 +02:00
Jehan 0a8c322ef8 plug-ins: if --with-sendmail is set with a value, use it. (2)
I should always test my patches thoroughly! Commit 912fcec was not
working as planned. This is!
2016-06-02 18:17:09 +02:00
Jehan 8bd53dc09f INSTALL: typo or agreement fix. s/This options/This option/ 2016-06-02 12:51:39 +02:00
Jehan 2f8467e3a7 icons: s/gimp-char-picker-24.svg/gimp-char-picker.svg/
Small bug in commit 89b163b.
Fixes --enable-vector-icons option.
2016-06-02 12:51:14 +02:00
klausstaedtler 89b163b72c icons: fixes
add forgotten gimp-char-picker-24.svg

other minor fixes
2016-06-02 07:29:03 +02:00
Jehan 8a37c928eb app, plug-ins, libgimp*: clean out all remaining trailing spaces/tabs.
Rather than just discovering them by chance, a simple grep and some
search and replace are much more efficient! :-)
Cleaning only done on C and automake files.
2016-06-02 02:04:26 +02:00
Jehan 2781450c3b configure: minor alignment fix of option description. 2016-06-02 01:24:10 +02:00
Jehan 28942c9843 INSTALL: add description of --enable-vector-icons. 2016-06-02 01:16:17 +02:00
Jehan 912fcec37f plug-ins: if --with-sendmail is set with a value, use it.
Assume sendmail has to be installed in the path which was (optionally)
given at build time. If no path is given at build, simply search in the
$PATH.
2016-06-02 01:14:15 +02:00
Jehan ed8a9c97cf INSTALL: libmypaint doesn't use scons anymore...
... and --with-sendmail option has a slightly different usage.
2016-06-02 00:52:53 +02:00
Jehan 1a36798098 icons: various file extensions (.svg) missing from the icon list. 2016-06-02 00:28:51 +02:00
Michael Natterer 3ed305f6f5 libgimpwidgets, app: have all previews track the monitor they are on
and update their color transforms with the new monitor's color
profile. A widget is considered changing monitors when its toplevel
window's center crosses, in order to let widgets within one window
have consistent colors.
2016-06-01 22:42:00 +02:00
klausstaedtler 4a16a9f714 icons: symbolic-scalable
adding 24px twins is now complete ...

add 'pixel-perfect' 24px vectorial twins (as replacement for 22px)
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-06-01 21:08:32 +02:00
Michael Natterer 71384a4115 app: add gimp_widget_track_monitor()
Which installs a callback that behaves as if GtkWidget had a
"monitor-changed" signal. Additionally, moving widgets around between
windows is handled automatically.
2016-06-01 20:40:42 +02:00
klausstaedtler dfc8488dca icons: add new icons to gimpicons.c too 2016-06-01 20:28:26 +02:00
klausstaedtler 225b9bd3f1 icons:
correct icon-list.mk

gimp-color-palette will be a future patch,  not now
2016-06-01 19:46:06 +02:00
klausstaedtler a91adeb5fb icons:
symbolic-scalable
add 'pixel-perfect' 24px vectorial twins (as replacement for 22px)
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

symbolic-scalable & color-scalable
add new icons
gimp-color-cmyk
gimp-color-water

patch
color-selector-cmyk.c
color-selector-water.c
gimpicons.c

This is the first patch to solve Bug 759904
many more have to follow

Thanks to Jehan for the assistance
2016-06-01 19:41:47 +02:00
Jehan cd641fa14f app: create separate tag lists for IME preedit colors.
In particular, I don't want the preedit foreground colors to be
displayed in the text style editor UI. They are only temporary hints
and should not be taken into account as user-chosen style.
2016-06-01 17:44:03 +02:00
Jehan a86b0cf0a2 app: create a different tag for underlined text during preedit.
It still shows up as underlined during preedit, but does not toggle the
underline button in the style editor.
2016-06-01 17:43:56 +02:00
Jehan e7b754087c app: clean out tag indentation.
Trying to protect Mitch's mental health!
2016-06-01 17:43:45 +02:00
Jehan 2cfed0cb52 app: IM preedit displayed as expected.
When gtk_im_context_get_preedit_string(), we have to inspect the
returned Pango attributes, so that the preedit string can be displayed
in the expected fashion (i.e. as in other programs).
Some input methods in particular would even break the preedit strings
in several chunks of text displayed differently (for instance Japanese),
depending on the cursor position within the preedit string.
2016-06-01 17:43:38 +02:00
Jehan f1dbd57d49 app: GimpText can be set background colors.
There is nothing in our UI to set background color to text, but this
can be used internally, for instance to display input method's preedit
texts with specific colors.
2016-06-01 17:43:25 +02:00
Piotr Drąg e15d1e397b Updated Polish translation 2016-06-01 15:35:10 +02:00
Jonathan Tait 6e900c5bbb Bug 755005 - Align Tool > Distribute - vertical offset is missing 2016-06-01 00:31:03 +02:00
Michael Natterer bf9b14e40d app: tiny indentation fix in view-commands.c 2016-05-31 23:12:42 +02:00
Michael Natterer f67100f554 plug-ins: attach the default comment to all screenshots
not only to screenshots made with the X11 backend.
2016-05-31 22:29:49 +02:00
Michael Natterer 790cde3dd8 app: don't validate the terminating \0 of a gimp-comment parasite
Valid UTF-8 doesn't contain nul bytes.
2016-05-31 22:28:44 +02:00
Michael Natterer 44f918af2d libgimpwidgets: always ask the toplevel window for its color profile
so all a window's widgets get their profile from the same monitor.
2016-05-31 21:57:31 +02:00
klausstaedtler a5d9419aef icons:symbolic-scalalable
symbolic-scalable
add 'pixel-perfect' 24px vectorial twins (as replacement for 22px)
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
2016-05-31 18:46:58 +02:00
Michael Natterer ca990287a7 app: set the color config on the color picker tool dialog's color area 2016-05-31 12:51:14 +02:00
Michael Natterer 4ad2493283 libgimpwidgets, modules: improve set_color_config() functions a bit
Don't do anything if the config doesn't change.
2016-05-31 12:27:15 +02:00
Tiago Santos 77aedefc9d Updated Portuguese translation 2016-05-31 09:39:57 +00:00
Jehan df8fded8f7 configure: output the list of missing dependencies at the end...
... on configuration failure. This makes the failure as well as the list
of errors more visible.
2016-05-31 01:23:32 +02:00
Michael Natterer bb9b899f37 plug-ins: set SCREENSHOT_CAN_SHOOT_REGION on backends that support it 2016-05-31 01:19:12 +02:00
Jehan 4d23939c3d plug-ins: make "filename" accessible to the loop of "with-files" macro.
The filename of the current bash file being processed is a pretty useful
data to access in a script.
2016-05-30 19:37:22 +02:00
Jehan ce2e187b08 plug-ins: script-fu bash processing should not finish with gimp-quit.
This is not the macro business to quit GIMP. The user may still have
processing to do after looping over images.
2016-05-30 19:37:22 +02:00
saul b6611b94ad Simplify command line processing by adding a 'with-files' macro. 2016-05-30 19:37:22 +02:00
Michael Natterer cf3b6903c0 Bug 766824 - Invalid comment string causes export crash
UTF-8 validate the "gimp-comment" parasite and reject it on failure.
2016-05-30 18:56:29 +02:00
Tiago Santos 74c0df76a5 Updated Portuguese translation 2016-05-30 14:45:50 +00:00
Michael Natterer 726552b085 libgimpcolor: return a NULL transform if cmsCreate[Proofing]Transform() fails
It doesn't really "fail", we check if an error was logged during
transform creation and get rid of the transform even if lcms returned
a pointer. This totally sucks but is better than crashing on a corrupt
transform.
2016-05-30 12:48:54 +02:00
Michael Natterer 70463a74fa libgimpwidgets: don't unref a NULL transforms from the transform cache 2016-05-30 12:48:10 +02:00
Michael Natterer d8271ed33f libgimpcolor: return NULL GimpColorTransform if creating cmsHTRANSFORM fails 2016-05-30 10:58:48 +02:00
Michael Natterer be8146d529 app: don't invalidate all images on color config changes
Now all previews and the display shell connect to the color config
itself, there is no need any longer to connect to the global color
config's "notify" any longer from GimpImage. Also, the settings there
are for display purposes only, so nothing in the image itself needs
to be notified of the config change.
2016-05-30 10:51:18 +02:00
Michael Natterer e33b2e77a7 app: remove gimp_display_shell_profile_convert_buffer()
It's exactly the same as calling gimp_color_transform_process_buffer()
directly.
2016-05-30 01:26:50 +02:00
Michael Natterer 710ba9bef3 app: make display color management work with the transform cache
Need to connect_after() to the shell's GimpColorConfig "notify" so the
profile transform cache in gimp_widget_get_color_transform() is
already invalidated when we call gimp_color_managed_profile_changed()
in the shell's notify callback.

This is a hack. Actually the shell should create its transform only on
demand, and a config change should simply get rid of the previous
transform, just as all other widgets are doing it.
2016-05-30 01:16:07 +02:00
Ell 513446a85b app: fix initial display state when dot-for-dot is off by default
... and image_resolution != screen_resolution.

Partially revert commit 26ea7a3530.

Also, reset shell->dot_for_dot in gimp_display_shell_fill(), so that new
images that use the first display don't inherit the dot-for-dot state of the
previous image that used the same display.
2016-05-29 19:57:35 +00:00
Michael Natterer 729c1edd45 app: color manage GimpColorPanel and its color dialog
if a context is set on the panel.
2016-05-29 21:54:39 +02:00