Commit Graph

37266 Commits

Author SHA1 Message Date
Michael Natterer d78d4ce82b libgimpwidgets: add gtk_label_set,get_x,yalign() to gimp3migration.[ch]
They are deprecated in GTK+ 3.x and cause tons of warnings, now we can
port calls to gtk_misc_set_alignment(label) to the new API and have
the same code in master and gtk3-port.
2016-09-08 18:56:44 +02:00
Balázs Meskó 8952b49142 Updated Hungarian translation 2016-09-07 21:02:54 +00:00
Kristian Rietveld b462418dfc plug-ins: common: fix scripts to generate Makefile.am correctly
This complements the preceding commit "plug-ins: fix the build on OS X".
2016-09-07 22:10:19 +02:00
Timm Bäder f4f7b894ed app: fix position of "inline" keyword in about-dialog.c 2016-09-07 20:23:36 +02:00
Michael Natterer 4033415a79 app, libgimpwidgets, plug-ins: kill gtk_scrolled_window_add_with_viewport()
It's deprecated in GTK+ 3.x, so we get rid of some deprecation
warnings. Also, it has always only been a utility function that hides
what is really going on in the widget hierarchy.
2016-09-07 20:12:28 +02:00
Piotr Drąg 19239c2477 Updated Polish translation 2016-09-07 19:39:55 +02:00
Kristian Rietveld 51d26b06db plug-ins: fix the build on OS X
We need to have -xobjective-c specified only for compile commands
that will perform compilation. Otherwise, for compile commands
that only link the compiler interprets .o files as C source ...
2016-09-07 10:32:15 +02:00
Tiago Santos 0b933a2941 Updated Portuguese translation 2016-09-07 06:16:59 +00:00
Tiago Santos adef990e2a Updated Portuguese translation 2016-09-07 06:10:14 +00:00
Michael Natterer f91a19b1ef libgimpwidgets: merge some GimpColorButton API from gtk3-port 2016-09-07 02:22:57 +02:00
Michael Natterer 308efbb514 Bug 767830 - Help browser does not launch on OS X
Try harder to show help when webkit is missing or the help browser
won't start:

- offer to switch to the web browser when the help browser is
  present, but won't start for some reason
- in prefs, don't bother showing the help browser GUI when webkit
  is missing, otherwise show a warning label if the help browser
  is not installed even though webkit is there. Switch to the web
  browser in both cases (modified patch from lisanet)
- add OS X replacement for gtk_show_uri() in plug-in-web-browser
  (modified patch from lisanet)
2016-09-06 20:51:47 +02:00
Massimo Valentini b7d41c83c6 Bug 770928: Critical warning clicking history color button
(gimp-2.9:3): Gimp-Core-CRITICAL **: gimp_marshal_VOID__OBJECT_POINTER: assertion 'n_param_values == 3' failed

Conflict between signal marshal function
and signal emission.
2016-09-06 18:39:52 +02:00
Massimo Valentini 61530c74a4 app: plug a memory leak
AddressSanitizer output (paths manually shortened)

Direct leak of 96 byte(s) in 1 object(s) allocated from:
     0x7f543247d1d0 in realloc (/lib64/libasan.so.3+0xc71d0)
     0x7f542d3ad02f in g_realloc glib/glib/gmem.c:159
     0x57918d in gimp_color_history_set_property gimp/app/widgets/gimpcolorhistory.c:169
     0x7f542d681ec0 in object_set_property glib/gobject/gobject.c:1423
     0x7f542d681ec0 in g_object_new_internal glib/gobject/gobject.c:1817
     0x7f542d6839ed in g_object_new_valist glib/gobject/gobject.c:2042
     0x7f542d683c73 in g_object_new glib/gobject/gobject.c:1626
2016-09-06 18:39:45 +02:00
Jehan ab328ec79a libgimpwidgets: bring back GIMP_STOCK_EDIT as "gtk-edit".
Commit c6f1761 deletes a stock item id. But this is also part of our API
and cannot be deleted. Yet since the associated label ("_Edit") is
identical to the one for GTK_STOCK_EDIT, we can simply redefine it
to "gtk-edit".
Ideally we would also add a deprecation warning when this macro is used,
but I can't find a good way to add deprecation on macros.
2016-09-06 03:17:09 +02:00
Tiago Santos 3f3e385c4b Updated Portuguese translation 2016-09-05 20:26:49 +00:00
Michael Natterer ee49c0b700 plug-ins: latest perl or whatever seems to need "require './plugin-defs.pl';"
instead of just "require 'plugin-defs.pl';".
2016-09-05 19:35:35 +02:00
Balázs Meskó 0856c71b85 Updated Hungarian translation 2016-09-05 07:33:20 +00:00
Jehan c6f1761af7 icons, app, libgimpwidgets: replace GIMP_STOCK_EDIT with GTK_STOCK_EDIT. 2016-09-05 02:53:51 +02:00
Michael Natterer e404e6ba93 Bug 770853 - Opening and overwriting a linear gamma png produces wrong colors
Add support for writing linear PNGs. But only if we also save a color
profile, otherwise we would get loaders confused. Please test, I might
have a knot in my brain...

Also clean up some formatting and fix compile warnings, now let's wait
for bugs about shit libpng versions which break the build.
2016-09-05 01:04:09 +02:00
Jehan 8bff597c6f icons: install the new Freedesktop/GTK+ icons. 2016-09-05 00:45:15 +02:00
Klaus Staedtler 0eeee33c70 icons: many new icons.
These icons were massively renamed by Jehan, from a feature branch, in
order to fit either into Freedesktop's "Icon Naming Specification", or
as standard GTK+ icons.
2016-09-05 00:45:15 +02:00
Klaus Staedtler a440f6cbff icons: updated icons.
As squashed by Jehan from the work of Klaus Staedtler in a feature
branch.
2016-09-05 00:45:14 +02:00
Pascal Massimino 252da1bdd5 Bug 769960 - animated WebP loader is not properly handling blending...
...and transparency

Use most recent API for decoding WebP animation. WebPAnimDecoder
handles transparency and blending automatically.
2016-09-04 18:56:57 +02:00
Michael Natterer e4ecba584a plug-ins: lots of cleanup and fixes in file-webp
- handle all sorts of image types, gegl_buffer_get() will convert to u8
- specify GIMP_EXPORT_CAN_HANDLE_LAYERS_AS_ANIMATION
- modify the export duplicate, not the original image
- fix handling of the drawable type and only save "R'G'B'A u8"
  or "R'G'B' u8", fixes bug 770664.
- completely redo run(SAVE_PROC) to deal with export correctly
- turn global variables into the standard SAVE_PROC, PLUG_IN_BINARY etc
  defines
- simplify the save dialog
2016-09-04 17:57:52 +02:00
Mihail Zenkov 3ab1389b9b Bug 770600 - Fix broken export to PBM
Use the drawable's (indexed bitmap) format instead of "Y' u8" when
exporting to PBM, this got broken when porting to GEGL.
2016-09-04 17:20:52 +02:00
Michael Natterer f222a08e26 libgimp: gimpexport.c: default to saving as animation
if the plug-in specifies GIMP_EXPORT_CAN_HANDLE_LAYERS_AS_AMINATION
(instead of defaulting to flattening or merging visible layers).
2016-09-04 17:12:34 +02:00
Piotr Drąg 598def517d Updated Polish translation 2016-09-04 16:38:27 +02:00
Michael Natterer 42647ec6d6 libgimpconfig: forgot debug output in gimp_config_path_unexpand_only() 2016-09-04 15:25:45 +02:00
Michael Natterer 7ce538b85f libgimpwidgets: store profile locations as config paths in profilerc
so we can potentially ship profiles and they will be found reliably,
and users can store profiles in their gimpdir. Still parses the old
uri-based locations.
2016-09-04 15:12:38 +02:00
Jehan f0bd6e7da3 etc: s/gtk-cdrom/media-optical/ and s/gtk-floppy/media-floppy/
Use Freedesktop standard names in priority when possible.
2016-09-04 02:06:19 +02:00
Michael Natterer eee7b556bd app: fix typo in GimpGeglConfig 2016-09-04 00:29:14 +02:00
Jehan 6f0be266a2 icons: forgot to rename some "gimp-open" icons into "document-open".
Argh! I should always test both the vectorial and raster icons before
pushing!
2016-09-03 17:58:24 +02:00
Jehan 6c674e973c app, libgimp*, plug-ins, icons: revert icon names into freedesktop...
... standard icon names and GTK+ icon names as second choice.
We should only use GIMP specific icon names as last resort, when there
is no standard or GTK+ names dedicated to the function.
This is made possible thanks to commit 3cc77b0.

s/gimp-document-recent/document-open-recent/
s/gimp-indent/format-indent-more/
s/gimp-next/go-next/
s/gimp-previous/go-previous/
s/gimp-save/document-save/
s/gimp-save-as/document-save-as/
s/gimp-revert/document-revert/
s/gimp-open/document-open/
s/gimp-document-recent/document-open-recent/
s/gimp-quit/window-close/ ou s/gimp-quit/application-exit/
s/gimp-warning/dialog-warning/
s/gimp-edit-clear/edit-clear/

s/gimp-justify-.*/gtk-justify-.*/
s/gimp-font/gtk-select-font/
s/gimp-color-palette/gtk-select-color/
s/gimp-cancel/gtk-cancel/
2016-09-03 15:49:29 +02:00
Michael Natterer f40e36ffab Bug 770171 - Mypaint eraser won't work unless there is an alpha channel
In eraser mode, paint with the background color on layers without alpha.
2016-09-03 15:48:02 +02:00
Michael Natterer 44010beaed libgimpwidgets: use gimp_config_path_unexpand() in gimp_prop_file_choose_button
instead of a plain g_filename_to_utf8(), so special paths like
${gimp_dir}, ${gimp_plug_in_dir} etc get substituted correctly.
2016-09-02 20:47:51 +02:00
Michael Natterer 9317952375 libgimpwidgets: call gimp_file_entry_set_filename() with filename encoding
GimpPathEditor wass passing an UTF-8 string.
2016-09-02 20:44:43 +02:00
Massimo Valentini 3cc77b03bf Bug 759904: Some icons can't be set from the icon theme
make it possible to use themed standard named icons
so to have also gtk dialogs show icons in the same style
as GIMP ui.
2016-09-02 12:30:49 +02:00
Michael Natterer 12ac114f71 app: use gimp_config_path_unexpand() when writing pluginrc
instead of the previous ad-hoc hack.
2016-09-01 00:44:19 +02:00
Michael Natterer 6b391156be libgimpconfig: add gimp_config_path_unexpand()
which is the opposite of gimp_config_path_expand() and replaces all
occurances of well-known gimprc paths with their respective
identifiers such as ${gimp_data_directory}, ${gimp_directory} etc.
2016-09-01 00:39:34 +02:00
Christian Kirbach d15101382f Updated German translation 2016-08-31 20:38:47 +00:00
Michael Natterer 9f343f25eb app: try to store plug-in paths in terms of ${gimp_plug_in_dir}
so they get found without re-querying by relocatable GIMP packages.
2016-08-31 22:04:46 +02:00
Balázs Meskó d6a3cc2818 Updated Hungarian translation 2016-08-31 05:54:57 +00:00
Michael Natterer 0b054f00f4 app: simplify preferences-dialog.c by adding prefs_entry_add()
also add a GimpContext* parameter to prefs_color_button_add()
and call gimp_color_panel_set_context() for the caller.
2016-08-29 17:38:33 +02:00
Michael Natterer d0263efd80 app: minor cleanup in gimpoperationblend.c 2016-08-29 17:38:06 +02:00
Alexandre Prokoudine 78db28a717 Update Russian translation 2016-08-29 09:59:59 +03:00
Martin Srebotnjak f65429eee7 Updated Slovenian translation 2016-08-27 22:47:29 +02:00
Martin Srebotnjak 2c3448d558 Updated Slovenian translation 2016-08-27 22:43:13 +02:00
Martin Srebotnjak fb0bcc4401 Updated Slovenian translation 2016-08-27 22:35:22 +02:00
Martin Srebotnjak 16d8fac2ef Updated Slovenian translation 2016-08-27 22:35:12 +02:00
Tiago Santos d20eb19292 Updated Portuguese translation 2016-08-27 17:54:09 +00:00