Commit Graph

27685 Commits

Author SHA1 Message Date
Michael Natterer 17961941fc app: use gegl:scale for scaling if use-gegl is TRUE 2010-06-06 19:54:44 +02:00
Michael Natterer 301b990a46 app: add gimp_drawable_apply_operation_to_tiles()
which uses a passed-in tile manager instead of
the drawable's shadow tiles as sink.
2010-06-06 19:52:39 +02:00
Michael Natterer 6e9796850b app: more g_strcmp0() 2010-06-06 19:50:59 +02:00
Michael Natterer 8cefb2913e app: use g_strcmp0() where strings can be NULL instead of checking manually 2010-06-06 19:15:49 +02:00
Michael Natterer 6d67ffd6f0 app: some cleanup in GimpFilteredContainer 2010-06-06 18:55:07 +02:00
Michael Natterer 6cdf63cc71 app: add gimp_interpolation_to_gegl_filter() 2010-06-06 17:41:31 +02:00
Xandru Armesto 9ebc3b11b9 updated asturian translation 2010-06-06 17:06:49 +02:00
Xandru Armesto e5562ab83c Updated asturian translation 2010-06-06 17:04:49 +02:00
Xandru Armesto 96a5c558b5 Added asturian language 2010-06-06 17:04:49 +02:00
Michael Natterer 3c8baf6c28 app: make sure scale and resize progress is shown in the statusbar again
The action data passed to callbacks is now a GimpImageWindow, not
a GimpDisplay, so adapt the code to take that into account.
2010-06-06 16:44:36 +02:00
Michael Natterer 72bcb72c44 app: rename gimp_template_create_image() to gimp_image_new_from_template()
and move it from gimptemplate.c to gimpimage-new.c
2010-06-05 22:42:00 +02:00
Michael Natterer 9dd373d86e Bug 620604 - Description of "histogram" procedure is slightly inaccurate
Fix totally broken value ranges of integer PDB parameters. Magically,
the bug was affecting only exactly the two cases mentioned in above
bug report.

* tools/pdbgen/pdb.pl (arg_parse): return <, <=, > and >= literally
  instead of applying a mapping that was originally meant for
  generated C code that would e.g. transform "0 <= int32 < 10" into
  "if (value < 0 || value >= 10) fail". This inversion of all
  operators is now wrong because PDB parameters have been turned into
  GParamSpecs which always need inclusive ranges as min and max
  values.

* tools/pdbgen/pdbgen.pl (arrayexpand): generated array length type
  specs must be "0 <= int32", not "0 < int32".

* tools/pdbgen/app.pl: when generating integer param specs, check if
  the value range is specified in terms of < instead of <=, and
  add/subtract 1, resuting in the inclusive range needed for integer
  GParamSpecs.

* app/pdb/color-cmds.c: regenerated, fixing the two broken ranges
  mentioned in the bug report.
2010-06-05 19:26:06 +02:00
Michael Natterer 2e08321691 tools: remove redundant type "int32" from some array length params
because they are int32 be default in the absence of an explicit type.
2010-06-05 18:28:50 +02:00
Sira Nokyoongtong 2e9b58d985 Updated Thai translation. 2010-06-04 20:25:15 +07:00
Michael Natterer 434bfbd6fa app: rename GimpToolOverlay to GimpOverlayDialog
because it's only used by tools currently, but not related to them in
any way.
2010-06-03 22:32:30 +02:00
Michael Natterer e6983567f2 app: add GimpContainerIconView, a new GimpContainerView based on GtkIconView
This is supposed to finally replace GimpContainerGridView along with
GtkWrapBox. The code is experimental and currently even crashes
without a modified GTK+, so it's disabled. Keeping it in GIT makes
developing easier though.
2010-06-03 22:19:09 +02:00
Michael Natterer a3b93151aa app: some #if 0'ed testing code I occasionally need for debugging
(so I don't have to constantly add/remove it, will get rid of it
before 2.8)
2010-06-03 22:16:08 +02:00
Michael Natterer 15906be4d9 app: pull more code into GimpContainerTreeStore
Keep a list of GimpCellRendererViewable around and add API to add
them. When items are removed or the store is cleared, set the
renderers' "viewable" property to NULL so they don't keep refing the
viewable.

This is not really "model" code but needs to be done for all container
views that have viewable cell renderers.

GimpContainerComboBox and GimpContainerEntry lacked that clearing, so
this change might fix some cases where objects (even images) were
removed but still stuck in memory until the model changed again.
2010-06-03 22:09:02 +02:00
Michael Natterer 6571759c43 app: make sure tool overlay dialogs close on Escape when they are focussed 2010-06-03 22:04:54 +02:00
Ulf-D. Ehlert 2f6800c9d4 po: Minor fixes to German translations 2010-06-02 14:15:17 +02:00
Martin Nordholts 7b4c731192 app: Add gimp_dockbook_get_tab_icon_size() 2010-06-02 07:56:25 +02:00
Thorsten Vollmer 264c04198a correct some inconsistencies and typos in INSTALL
1 files changed, 13 insertions(+), 13 deletions(-)
2010-06-01 22:07:59 +02:00
Thorsten Vollmer 5d8a9b156b allow to disable libXpm
2 files changed, 10 insertions(+), 2 deletions(-)
2010-06-01 22:07:59 +02:00
Barak Itkin 3f66808584 Added a function to export the Pango markup of a text layer
This is required for the PDF export plugin.
2010-06-01 21:21:40 +02:00
Martin Nordholts bc54cbfd57 Add --without-mac-twain to configure 2010-06-01 20:48:23 +02:00
Michael Natterer 5ab6495350 app: say "Reset All Tool Options" in the confirm dialog
and not just "Reset Tool Options".
2010-05-31 23:06:52 +02:00
Sven Neumann 7ed3998870 script-fu: clean up coding style and translatable messages 2010-05-31 21:36:36 +02:00
Sven Neumann e745ad94e4 script-fu: menu path should not be marked for translation 2010-05-31 21:10:46 +02:00
Michael Natterer 356d2fb88c app: remove #include "gimpcontainergridview.h" 2010-05-30 18:10:35 +02:00
Michael Natterer c75bab37d3 app: remove useless #includes 2010-05-30 18:08:55 +02:00
Michael Natterer 7cdf66a9a1 app: remove GtkVWrapBox because it's unused 2010-05-30 17:22:30 +02:00
Michael Natterer 6429c3de1b app: #undef GSEAL_ENABLE to build against the gtk-2-22 branch
GDK structs and objects have been sealed in gtk-2-22, but we can't
use the newly introduced accessors yet.
2010-05-30 17:19:47 +02:00
Martin Nordholts c67a8c7546 app/tests: Don't have toolbox in sessionrc in session-management test
Enable it again when we have a way to handle that the toolbox size is
likely to change due to the use of GDK_HINT_RESIZE_INC.
2010-05-29 15:46:38 +02:00
Sven Neumann 0d66ff0a31 plug-ins: move variables to local scope 2010-05-28 22:31:15 +02:00
Sven Neumann 754b556ea6 Bug 619189 - Add support for RGB565 in csource export filter
Apply patch from bug-report that adds support for RGB16 (RGB565).
Changed UI code to set the toggle buttons insensitive instead of
showing a warning.
2010-05-28 22:20:35 +02:00
Martin Nordholts e942d1e913 plug-ins: Remove bogus ) in file-xmc.c 2010-05-27 19:53:48 +02:00
Martin Nordholts a68963ab16 etc: Explicitly set 'tab-style icon' on "gimp-tool-options"
Explicitly set 'tab-style icon' on "gimp-tool-options", it is just a
coincidence that 'icon' has the value 0, the default value when no
tab-style is specified in sessionrc.
2010-05-26 17:21:10 +02:00
Michael Natterer 3a1c319c91 app: disable double buffering on all offscreen widgets
They are rendered only after being completely drawn anyway, so there
is no use in wasting an additional buffer for them.
2010-05-26 11:47:52 +02:00
Roman Joost a4ccfcee72 Default XMP_TYPE_LANG_ALT to "x-default" according to spec.
To prevent a crash of the meta-data plug-in during export, the encoding
process now falls back to x-default for XMP_TYPE_LANG_ALT properties.
2010-05-24 21:44:51 +10:00
Martin Nordholts 064c3f661a app: Add gimp_dockable_convert_tab_style() 2010-05-22 20:11:43 +02:00
Martin Nordholts 6efcab2e51 app: Add gimp_dockbook_recreate_tab_widgets() 2010-05-22 19:31:27 +02:00
Barak Itkin 9cd68579e4 Bug 618961 - Bad escape character in script-fu palette-export prevents parsing
Fix a bad string escape character in palette-export.scm which prevents
the file from being parsed.
2010-05-22 12:48:38 +02:00
Sven Neumann ed6fa8d3f3 plug-ins: adjust user-visible strings for consistency 2010-05-21 22:19:24 +02:00
Sven Neumann c3f1d0c33b plug-ins: improve error messages 2010-05-20 21:08:57 +02:00
Michael Natterer 649bd8f678 Bug 619131 - Attempting to flip FG/BG hard-edge gradient locks up GIMP
Don't have the "prev" pointer of the right gradient segment point to
itself, causing an infinite loop when iterating the gradient reversed.
2010-05-20 10:11:18 +02:00
Michael Natterer 788ba611af app: base multiple selection API on the GtkSelectionMode enum
change get,set_multiple_selection(gboolean) to
get,set_selection_mode(GtkSelectionMode) so the APIs are consistent
with GTK+.
2010-05-19 20:07:31 +02:00
Martin Nordholts 899fbb94b7 Update POTFILES.in 2010-05-19 07:07:14 +02:00
Michael Natterer ae7449a81b app: use a GimpContainerTreeStore for GimpContainerEntry
again results in lots of removal of duplicated code.
2010-05-17 22:35:12 +02:00
Michael Natterer 0d659b0496 app: add "use-name" property and API to GimpContainerTreeStore
to allow using GimpObject::name instead of GimpViewable::description
2010-05-17 22:34:09 +02:00
Michael Natterer 998b906dcd app: use a GimpContainerTreeStore for GimpContainerComboBox
which results almost only in code removal :)
2010-05-17 22:05:08 +02:00