Commit graph

1745 commits

Author SHA1 Message Date
Michael Natterer
85bd6b0dd9 app: pass a format, not bpp, to gimp_viewable_get_dummy_pixbuf()
and add tons of <gegl.h> includes.
2012-05-02 17:51:08 +02:00
Michael Natterer
bacf1abac2 app: don't use GIMP_IMAGE_TYPE_IS_FOO() in drawable_actions_update() 2012-05-02 17:50:57 +02:00
Michael Natterer
c14738806e app: use gimp_image_get_layer_format() instead of dealing with image_type 2012-05-02 17:50:57 +02:00
Michael Natterer
95b1c0617b Replace the value-invert plug-in by its GEGL counterpart 2012-05-02 17:50:52 +02:00
Michael Natterer
609e2d8cda Replace the color-to-alpha plug-in by GEGL filter dialog 2012-05-02 17:50:49 +02:00
Michael Natterer
cf37aa7dba app: add a GimpSettingsBox to all GEGL operation filter dialogs
so they store all recently used settings, and explicitly added ones,
just like the color tools.
2012-05-02 17:50:49 +02:00
Michael Natterer
b956707c51 app: follow gegl:pixelize's name change, set gaussing blur's sensitivity 2012-05-02 17:50:48 +02:00
Michael Natterer
1921fa7de3 app: always create a new tool in filters_filter_cmd_callback()
Things will get more complicated in GimpOperationTool soon, and we
don't want to mess around with reconfiguring *everything* in the tool.
2012-05-02 17:50:43 +02:00
Michael Natterer
867da8f293 app: add gimp_context_get_foreground,background_pixel()
which takes a Babl format to convert from/to.
Include <gegl.h> in a million places.
2012-05-02 17:50:41 +02:00
Michael Natterer
f5e1dc5bf5 app: clean up includes in filters-commands.c 2012-05-02 17:46:16 +02:00
Michael Natterer
96357dbfd3 app: add infrastructure to invoke GEGL filters from a menu item
and for fun add pixelize and gaussian blur to Filters -> Blur.
2012-05-02 17:46:16 +02:00
Michael Natterer
be853cd239 app: remove "gboolean linear" from all apply_operation APIs
thes were all unused and we want to get rid of that anyway.
2012-05-02 17:46:13 +02:00
Michael Natterer
579d894778 app: turn GimpDrawable::apply_region() into ::apply_buffer()
and GimpDrawableUndo.src2_tiles into applied_buffer.
2012-05-02 17:46:11 +02:00
Michael Natterer
765c2cfea2 app: replace GimpDraable's type by a Babl format
and change gimp_drawable_new() and all gimp_layer_new() variants to
take formats instead of types.
2012-05-02 17:46:06 +02:00
Michael Natterer
e01189ca77 app: remove checks from stuff that now works on indexed layers 2012-05-02 17:46:04 +02:00
Michael Natterer
3ec245a991 app: add opacity and paint_mode to gimp_edit_fill[_full]()
and use it instead of bucket-fill in the non-seed-fill case.
2012-05-02 17:46:01 +02:00
Michael Natterer
88388467cc app: move the layer mask show, edit, apply API from GimpLayerMask to GimpLayer
because it would require really evil hacks to honor these properties
in the gegl projection if they were on the mask, and because they
actually belong to the layer.
2012-05-02 17:45:56 +02:00
Michael Natterer
7c3a796dfc app: added GimpPickable::get_buffer()
Add cached buffers to GimpProjection and GimpImageMap, and use
the new API where possible.
2012-05-02 17:45:50 +02:00
Øyvind Kolås
830b49993b app: set GeglBuffer directly in show image-graph 2012-05-02 17:45:48 +02:00
Michael Natterer
d771249466 app: completely port GimpBuffer to using GeglBuffer not TileManager 2012-05-02 17:45:47 +02:00
Michael Natterer
63bd108afb app: always use GEGL to invert drawables
and remove the now useless gimpdrawable-invert.[ch].
2012-05-02 17:45:46 +02:00
Michael Natterer
0623c7f365 app: remove the pointless core wrappers for the below simplified color stuff
Instead, provide gimp_drawable_apply_operation_with_config() and call
that from the PDB wrappers directly.
2012-05-02 17:45:45 +02:00
Richard Bowers
e507f406d7 Bug 589229 - Keyboard shortcuts for zoom do not work as expected
Add extra actions for KP_1 ... KP_5 because they are separate keys.
2012-02-23 20:17:35 +01:00
Martin Nordholts
f7aa27a7e8 app: Remove "Far from completely implemented!" in SWM action
Unfortunately this is a string change, but we simply can't not let it
say "Far from completely implemented!". Single-window mode works fine
now.
2012-02-23 19:29:56 +01:00
Michael Natterer
fbd746f95a app: don't rely on gtk_container_remove() to always destroy the child
Instead, either destroy the child instead of removing it, or remove
*and* destroy it in cases where the remove() api on the "parent"
doesn't match GTK+'s parent/child relation (like with all our dock
widgets). We can't rely on remove() to implicitly detstroy, because
there might be arbitrary other code holding references, such as
accessibility modules and whatnot. Most likely fixes unclear crashes
in accessibility code and other crashes we blamed GTK+ for.
2012-02-21 00:36:18 +01:00
Michael Natterer
c63f34ff17 Bug 670352 - Tool tip for "Zoom Out" and "Zoom In" are not translated
Apply patch from Kiyotaka NISHIBORI that makes the actions use the
right translation context.
2012-02-19 12:15:41 +01:00
Michael Natterer
7f5a43f3e1 app: rename GimpToolInfo::menu_path to ::menu_label
"path" is a really ancient pre-GtkAction terminology here.
2012-02-14 10:00:26 +01:00
Michael Natterer
f70bc837fa app: remove gimpdisplay-utils.[ch], move its only function to gimpdisplay.[ch] 2012-02-11 17:57:27 +01:00
Michael Natterer
2414301799 Review the last few commits and apply some style fanaticism
some completely unrelated,
2012-02-07 20:36:55 +01:00
Massimo Valentini
7cf2ee6397 Bug 586451: Alpha Logo scripts incorrectly become...
sensitive after "Refresh Scripts"
2012-02-07 17:32:02 +01:00
Massimo Valentini
39368a410d plugged memory leaks 2012-02-07 17:32:02 +01:00
Michael Natterer
4f61e58bb8 app: set the sensitivity of the tool options' preset menu items
based on "editable" and "deletable".
2012-02-06 22:04:34 +01:00
Michael Natterer
0a68527edc app: move the GimpWindowStrategy interface from display/ to widgets/ 2012-01-30 23:33:21 +01:00
Michael Natterer
325bce54a7 app: port dockable showing to using GimpWindowStrategy API
so it works right in SWM. Fixed actions/, tools/, and app/ for now.
2012-01-30 23:24:44 +01:00
Michael Natterer
79a66d36d2 app: rename GimpWindowStrategy::create_dockable_dialog()
to ::show_dockable_dialog() because that's what it wlays does, no
matter if the dialog has to be created or now.
2012-01-30 22:59:09 +01:00
Martin Nordholts
64d2dc122a app: Add and use gimp_dialog_factory_find_widget() 2012-01-10 19:47:52 +01:00
Michael Natterer
056e09a6cb Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
Michael Natterer
fde82c64b8 Bug 666308 - Can't leave fullscreen-mode when are no opened images
Allow to toggle View->Fullscreen of the empty image window. This
should probably be integrated in session management, but better a fix
that makes it somewhat work than leaving users stuck with a fullscreen
empty window.
2011-12-15 22:37:00 +01:00
Alexandre Prokoudine
3227744f5c Marked "View > Use GEGL" for translation, spotted by Cristian Secară.
Apparently we are not commenting this out as discussed before, so it's a tiny break of the strings freeze.
2011-12-05 17:59:07 +04:00
Michael Natterer
9781aa65ea Bug 658467 - Replace g_format_size_for_display() by g_format_size()
Use g_format_size() instead of g_format_size_for_display() because
the latter is deprecated.
2011-11-30 23:37:55 +01:00
Michael Natterer
fb87cd1c5d app: don't leak the list returned by gimp_get_image_windows() 2011-11-04 01:30:40 +01:00
Mukund Sivaraman
fb4747b832 app (actions): Rewrite code to conditionally declare vars 2011-10-11 10:08:59 +05:30
Mukund Sivaraman
e18430e118 app (actions): Remove dead variables and code 2011-10-10 09:53:24 +05:30
Michael Natterer
b3db7e6c4e app: rename all tool-preset dialog related things to "tool presets"
not just "tool preset". It's also "brushes", "patterns" etc. and not
just "brush" or "pattern".
2011-10-09 21:55:58 +02:00
Mukund Sivaraman
b7c303e5c2 app (fonts-actions): Delete dead variables and code 2011-10-08 18:10:09 +05:30
Michael Natterer
6d1b5c4241 app: pull virtual modifier replacement into gimp_get_mod_string()
and remove it from all other places. We only want to have the virtual
modifiers when displaying a modifier string (and in some other cases,
but these are all handled internally by GTK+).
2011-10-06 22:56:05 +02:00
Mukund Sivaraman
c9e7186a35 app: Conditionally assign show_menu 2011-10-06 19:45:32 +05:30
Michael Natterer
ad27b30525 app: get the "add" and "subtract" modifiers from the new portable API
instead of hardcoding SHIFT and CONTROL. Also replace virtual modifiers
before showing them as tooltips.
2011-10-05 19:26:54 +02:00
Mukund Sivaraman
f9cebd40a7 app (tool-preset-editor): Delete dead code and variables 2011-10-04 14:37:36 +05:30
Michael Natterer
19b9bfd189 libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch]
and use it all over the place. Also change some GtkObject* variables
to GtkAdjustment*.
2011-10-02 14:36:41 +02:00