Commit graph

37202 commits

Author SHA1 Message Date
Michael Natterer
6c29429a78 .dir-locals.el: configure emacs to show trailing whitespace 2016-08-24 17:46:57 +02:00
Jehan
451f0b5c78 .dir-locals.el: fixing (hopefully) the emacs config file.
Not tested, but I am told that should fix the warning asking for input
at each buffer opening. Thanks to Roman Lebedev for the fix.
2016-08-24 16:03:20 +02:00
Michael Natterer
9b8009d8c7 Bug 766628 - Preferences window is too tall
Add gimp_prefs_box_set_page_scrollable() which does what it says, and
make the tallest pages of the prefs dialog scrollable. This method
allows the dialog's smaller pages to still enforce a minimum height
for the window.
2016-08-24 12:52:33 +02:00
Michael Natterer
981a1b9c2e Bug 599573 - Remember dialog defaults between Gimp sessions
Remeber the "New Layer" dialog settings in GimpDialogConfig.
2016-08-24 12:33:56 +02:00
Jehan
acfca30899 HACKING: add a comment about the 3 config files for common editors.
We have coding style config files for Emacs, Kate and Vim.
2016-08-23 20:00:13 +02:00
Benoit Touchette
0b7381a822 Bug 759601 - Add/Remove layer masks by clicking the layer preview
Quite heavily modified by Mitch to address the more general issues
mentioned in comment 35 of the bug:

- Remember the added mask's type and the invert boolean in
  GimpDialogConfig
- Add new prefs page "Dialog Defaults" which will contain
  only stuff from GimpDialogConfig and can be reset separately
- Remove static mask variables from layers-commands.c and
  use the new config values for both interactive mask adding
  with the dialog, and for the shortcut based method
- Add a button to the layers dialog which supports add, add
  with last values, delete, apply
- Add modifier-click shortcuts on the layer preview with the
  same modifiers as on the button
2016-08-23 19:18:20 +02:00
Jehan
dabf8de59f Bug 770123 - Add emacs locale settings for GNU coding style.
Taken from: https://gcc.gnu.org/wiki/FormattingCodeForGCC
I assumed it is upstream enough, but since I don't use emacs, I have not
tested and just hope it is good. Do not hesitate to commit better emacs
settings to follow our coding style!
2016-08-23 18:11:53 +02:00
Jehan
cc02ee1160 devel-docs: c.vim to help contributors enforce our coding style in VIM.
The GNU coding standards rules can be found in:
https://gcc.gnu.org/wiki/FormattingCodeForGCC
I added a few rules, like if the file has existing tabs, we want to show
them as 8 columns. Yet typing tabs automatically expands to 2 spaces.

I also added a rule to highlight (in red) trailing whitespaces, but also
tabs (everywhere, not only trailing) making them easy to spot.
This file can be easily sourced from vimrc for the whole GIMP tree, but
I advise against setting VIM to automatic discover a locale .vimrc,
which is possible but a high security risk since a third-party vimrc
could contain random shell commands.
2016-08-23 17:37:10 +02:00
Roman Lebedev
eb94b1e3f7 Add .kateconfig with modelines for Kate
Directly follows GIMP HACKING Hackordnung:
  - 2 characters indentation level
  - no tabs. TAB should not put TAB characters in the file.
  - tab stops at 8 column intervals.
2016-08-23 14:53:38 +02:00
Милош Поповић
c29098e82e Updated Serbian translation 2016-08-22 22:28:01 +00:00
Sveinn í Felli
baf8d8ebfa Updated Icelandic translation 2016-08-22 22:05:51 +00:00
Sveinn í Felli
ab8075fb55 Updated Icelandic translation 2016-08-22 21:56:06 +00:00
Michael Natterer
d13bc78a95 plug-ins: remove accidentially added .orig file 2016-08-22 09:06:25 +02:00
Michael Natterer
73c664ec97 app: fix code duplication in GimpMybrushCore, and clean up coding style
Also fixes a case where converting to the color managed image color
via gimp_pickable_srgb_to_image_color() was forgotten.
2016-08-20 23:46:23 +02:00
Piotr Drąg
618719b3e5 Updated Polish translation 2016-08-19 13:43:51 +02:00
Balázs Meskó
e16215f899 Updated Hungarian translation 2016-08-17 09:30:54 +00:00
Benoit Touchette
05e4c5fe28 Bug 769871 - Adds selection to save exif/xmp when exporting a webp file.
This adds an expander to the webp file plug-in  to select whether
to save or not the exif, and xmp data for webp files. This harmonizes
the plug-in with a similar option to the jpg/png file plug-ins.

https://bugzilla.gnome.org/show_bug.cgi?id=769871
2016-08-16 16:49:57 -04:00
Benoit Touchette
7663ff289f plugin: fix for errors during export of webp animation with file-webp plugin
This fixes an error during export of webp animations when the layer is size smaller than the image size.

https://bugzilla.gnome.org/show_bug.cgi?id=769872
2016-08-16 16:34:09 -04:00
Jehan
7725f1dc0e INSTALL: libwebp must be built with --enable-libwebpmux...
... and --enable-libwebpdemux.
2016-08-16 21:04:58 +02:00
skal
e4a2f220e0 Bug 769959 - crash during WebP file loading
WebPDataClear() was called on already-free'd data.
2016-08-16 03:11:26 +02:00
Jehan
9e9cd496f7 INSTALL: adding libwebp in optional dependency list. 2016-08-16 02:41:34 +02:00
Michael Natterer
87f14fbdbc libgimpwidgets: support enums with mnemonics in GimpEnumStrore
Strip the '_' away, combo boxes don't have mnemonics.
2016-08-15 21:57:34 +02:00
Jehan
0652cd016b tools: invert-svg needs glib and GIO dependencies. 2016-08-15 15:06:35 +02:00
Piotr Drąg
ad0a98848e Updated Polish translation 2016-08-15 00:01:55 +02:00
Michael Natterer
3a14a646f5 app: add new config class GimpDialogConfig
which will keep all settings of the "don't ask me again" kind. For
now, moved the "color-profile-policy" there.
2016-08-14 22:21:59 +02:00
Michael Natterer
1027c71f36 app: rename variable in preferences-dialog.c (irrelevant nitpicking) 2016-08-14 15:52:46 +02:00
Jehan
c83ee61c07 Bug 729765 - remove focusability of various widgets...
... starting with toolbox buttons.
This is particularly a problem in single window mode (and sometimes in
multi-window mode) where canvas easily loses focus, hence key events.
2016-08-14 01:47:56 +02:00
Michael Natterer
381d9e9b7a plug-ins: clean up the file-webp loading code 2016-08-13 20:54:09 +02:00
Massimo Valentini
52b6eaa11a tools: 2 typos
one prevented a successfull make distcheck
on my platform
2016-08-13 11:30:13 +02:00
Christian Kirbach
5ea8cdc909 Updated German translation 2016-08-12 18:04:35 +00:00
Michael Natterer
183183effd AUTHORS: commit generated changes 2016-08-12 19:02:06 +02:00
Tiago Santos
683540d763 Updated Portuguese translation 2016-08-10 20:25:16 +00:00
Christian Kirbach
3a5338dd40 Updated German translation 2016-08-10 20:09:46 +00:00
Michael Natterer
f2ff74c08c plug-ins: cleanup in file-webp, mostly simplify the save dialog 2016-08-10 21:49:23 +02:00
Michael Natterer
a9c436ea0b plug-ins: disable the WebP loader/saver in file-gegl
so the new dedicated WebP plug-in is used.
2016-08-10 21:49:23 +02:00
Jehan
8d78a9ad9f authors.xml: adding Nathan Osman.
Commit c1021a3 was co-authored.
2016-08-10 15:12:23 +02:00
Ell
26b978d2a8 app: avoid expensive rotated scale calculation when scale_x == scale_y
Ditto for the rulers' resolution calculation.
2016-08-09 22:28:21 +00:00
Ell
5663daa6e7 app: code layout/typo fixes
The sort of things that only become visible *after* pushing.
2016-08-09 21:55:19 +00:00
Ell
5bdb20c839 app: make rulers rotation aware
Place the rulers' origin at the top-left corner of the canvas
(screen space) bounding box, and set their scale to the image-
space scale along the screen-space horizontal/vertical directions
(in other words, measuring a distance using the rulers should
give the same results as the measure tool; note that rotation
comes into play here only when the horizontal and vertical
image or screen resolutions are different, since otherwise the
scale is direction invariant.)

Make scrollbar step match ruler step under the new behavior.
2016-08-09 21:31:07 +00:00
Ell
720b73ca86 app: fix a few canvas scroll/scale rounding inconsistencies
Apply rounding more consistently across some of the scroll/scale
functions, to avoid annoying one-pixel-off scrollbar size/position
issues.
2016-08-09 21:31:06 +00:00
Ell
e384d533e7 app: don't round results of gimp_display_shell_transform_bounds()
The rounding causes some one-pixel-off errors in the canvas scaling
code; the rest of its callers shouldn't be affected.
2016-08-09 21:31:06 +00:00
Piotr Drąg
2808384363 Updated POTFILES.skip 2016-08-09 22:44:11 +02:00
Benoit Touchette
c1021a3e3a Bug 769651 - Add webp file format support to gimp master
Patch to add webp file format support. Includes supports for
loading/saving, icc profiles, exif, and xmp data.
Co-authored with Nathan Osman.
2016-08-09 21:21:52 +02:00
Balázs Meskó
98e43b9452 Updated Hungarian translation 2016-08-08 22:57:55 +00:00
Jehan
8493711f21 devel-docs: update the icons doc with some of Mitch explanations.
This explains a little better why some systems (i.e. GNOME…) would show
no icons in menus whereas other (i.e. Linux Mint, Windows…) would show
them. GIMP_ICONS_LIKE_A_BOSS environment variable is a developer trick
to show icons in menus anyway to see how things render on such systems.
2016-08-06 02:16:59 +02:00
Jehan
562404f52d devel-docs: information about the icon themes. 2016-08-05 23:43:02 +02:00
Tiago Santos
a047e9a06f Updated Portuguese translation 2016-08-05 10:26:29 +00:00
Michael Natterer
8d902b8df5 Bug 768966 - Keyboard Shortcut hint disappears from tooltips...
...after entering single window mode

This commit fixes dangling pointers in GimpDockColumns, it doesn't fix
the bug but it's a prerequisite. Original patch by Massimo.
2016-08-03 23:44:14 +02:00
Michael Natterer
45922c71c7 plug-ins: fix some formatting in border-average.c 2016-08-03 23:42:37 +02:00
Massimo Valentini
060291c34e Bug 768934: Invisible main menu bar menu...
...items except File menu item in Mint Cinnamon 18

set GtkMenuItem::horizontal-padding = 4
2016-08-03 18:38:03 +02:00