Commit graph

36984 commits

Author SHA1 Message Date
Michael Natterer
2e9733859c modules: hardcode the CMYK selector's conversion parameters
Always use intent=PERCEPTUAL and bpc=TRUE, taking the settings from
the global GimpColorConfig is wrong.
2016-06-05 21:32:42 +02:00
Jehan
acc570d929 app: code reorganization in gimptexttool.c.
Since commit b593462, gimp_text_tool_apply() is a semi-public function
(only to be used from gimptexttool-editor.c). Therefore move it to the
"public functions" section.
2016-06-05 21:06:29 +02:00
Jehan
b5934625de Bug 751333 - Crash when moving cursor with ibus "Hangul" input method.
Commit cd147a4 reintroduced the crash. The culprit was the idle function
gimp_text_tool_apply_idle() which may not have been processed when
gimp_text_tool_move_cursor() is called, resulting in inconsistencies
between the text in the text tool's pango layout and its buffer.
Force any pending text commits to be applied before moving the cursor.
2016-06-05 21:04:18 +02:00
Massimo Valentini
ffd97c0eb8 Bug 766886: the save bar keeps saving even whit a full bar
get_file_info is copied from plug-ins/common/file-raw-data.c
2016-06-05 18:52:47 +02:00
Michael Natterer
fcf5b708e5 libgimpwidgets: rename gimp_color_config_get_printer_color_profile()
to gimp_color_config_get_simulation_color_profile(), along with
various internal "printer" strings. Also reduce the number of
user-visible "print" stuff from the preferences color management page.
2016-06-05 18:00:24 +02:00
Michael Natterer
b4f34375b7 Bug 767062 - Lags when zooming or dragging zoomed image (cmsFLAGS_NOOPTIMIZE)
Use cmsFLAGS_NOOPTIMIZE only for actual image buffer or single color
transforms, but not for previews or the image display. Makes things a
lot more responsive again.
2016-06-05 16:50:02 +02:00
Michael Natterer
cd147a4a48 app: fix various undo- and preedit-related text tool issues
In the text tool editor code, connect to GtkIMContext::preedit-start
and introduce a boolean text_tool->preedit_active which indicates that
a preedit is going on.

Remove the new preedit-removal code from gimp_text_tool_reset_im_context()
because it was not reflecting the IM's internal state and made things
worse. Instead, added gimp_text_tool_abort_im_context() which really
gets rid of any ongoing preedit by force.

In the main text tool code, check for preedit_active and if TRUE,
apply any edits directly widhout pushing undo steps. Factored out
gimp_text_tool_apply_list() for that purpose in order not do
duplicate a lot of code.

On undo and on button_press, force-abort any ongoing preedit. This is
the right thing to do on undo, but not really on button_press, but I
don't see another way to keep states consistent.
2016-06-05 16:36:56 +02:00
Michael Henning
2d71da0703 build/win: Disable webkitgtk. 2016-06-04 21:33:42 -04:00
Michael Henning
296dc590c6 modules: Add missing libraries to color_selector_libadd. 2016-06-04 19:23:35 -04:00
Michael Natterer
fe12bc8ed1 app: factor out a bunch of code in gimptexttool-editor.c
The new gimp_text_tool_im_delete_preedit() also makes sure that
text_tool->preedit_string is non-NULL when modifying the buffer,
so it can be used as indication whether or not a preedit is
going on (in order to skip undo stuff while preediting).
2016-06-05 00:04:01 +02:00
Michael Henning
c52ec55f3a build/win: Clear DISPLAY before building. 2016-06-04 13:29:42 -04:00
Michael Henning
e8d523ed63 build/win: Upgrade exiv2 to 0.25 2016-06-04 13:17:10 -04:00
Michael Henning
cb02b22db2 build/win: Add pcre and upgrade glib2 to 2.48.1 2016-06-04 13:17:10 -04:00
Michael Henning
508b883c1e build/win: Start building libmypaint. 2016-06-04 13:17:10 -04:00
Kevin Cozens
3ef6033276 Make various limits configurable (from TinyScheme SVN r109) 2016-06-02 15:32:04 -04:00
Kevin Cozens
7297ace6bf Added "tinyscheme" to the features list. From SVN version 106 of offical version of TinyScheme. 2016-06-02 15:32:03 -04:00
Kevin Cozens
4b55c551f3 Removed redundant 'break;' statement. Based on SVN version 105 of offical version of TinyScheme. 2016-06-02 15:32:00 -04:00
Jehan
2fae5d7d8b libgimpwidgets: fix some "incompatible pointer type" warnings on Win32.
Thanks nmat for reporting the warning.
2016-06-02 20:38:20 +02:00
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