1. 27 Jan, 2004 2 commits
    • Michael Natterer's avatar
      themes/Default/images/Makefile.am · d0c75eb5
      Michael Natterer authored
      2004-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-layer-mask-16.png
      	* themes/Default/images/stock-layer-mask-24.png
      	* themes/Default/images/stock-layer-mask-32.png
      	* themes/Default/images/stock-layer-mask-48.png
      	* themes/Default/images/stock-selection-border-16.png
      	* libgimpwidgets/gimpstock.[ch]: added forgotten layer mask and
      	new "border selection" icons from Jimmac (-32 and -48 ones to be
      	updated, they are currently copies of the channel icons).
      
      	* app/core/gimplayermask.c (gimp_layer_mask_class_init)
      	* app/gui/image-menu.c (image_menu_entries): use them.
      d0c75eb5
    • Sven Neumann's avatar
      plug-ins/gimpressionist/brush.c plug-ins/gimpressionist/gimp.c · e753735a
      Sven Neumann authored
      2004-01-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/gimpressionist/gimp.c
      	* plug-ins/gimpressionist/gimpressionist.[ch]
      	* plug-ins/gimpressionist/paper.c
      	* plug-ins/gimpressionist/presets.c: fixed a crash (bug #132027),
      	got rid of some possible buffer overflows and fixed platform issues
      	like hardcoding '/' as the path separator.
      e753735a
  2. 26 Jan, 2004 12 commits
    • Michael Natterer's avatar
      use GIMP_STOCK_FLOATING_SELECTION for "Select->Float". · 4801e3ac
      Michael Natterer authored
      2004-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/image-menu.c (image_menu_entries): use
      	GIMP_STOCK_FLOATING_SELECTION for "Select->Float".
      
      	(image_menu_update): set "Layer->Merge Down" insensitive for the
      	bottom layer.
      4801e3ac
    • Alastair McKinstry's avatar
      Updated Irish translation · bee76977
      Alastair McKinstry authored
      bee76977
    • Simon Budig's avatar
      use the modern libart way to uncross/rewind a libart SVP. This time really · fcc88b29
      Simon Budig authored
      2004-01-26  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.c: use the modern libart way
      	to uncross/rewind a libart SVP. This time really fixes
      	bug #132036 (please test it though...).
      fcc88b29
    • Sven Neumann's avatar
      don't draw the outbounds selection when the selection is hidden (bug · 86f96739
      Sven Neumann authored
      2004-01-26  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-selection.c: don't draw the
      	outbounds selection when the selection is hidden (bug #132595).
      86f96739
    • Sven Neumann's avatar
      account for the fact that XLFD stores point sizes in decipoints. · 2af9dfb5
      Sven Neumann authored
      2004-01-26  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext-xlfd.c (gimp_text_font_size_from_xlfd):
      	account for the fact that XLFD stores point sizes in decipoints.
      
      	* app/text/gimptext-vectors.c: s/TEXT_DEBUG/GIMP_TEXT_DEBUG/
      2af9dfb5
    • Sven Neumann's avatar
      app/tools/gimpcurvestool.c use dark_gc instead of text_aa_gc to draw the · 0fd56699
      Sven Neumann authored
      2004-01-26  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimphistogramview.c: use dark_gc instead of
      	text_aa_gc to draw the histogram and curves grid lines. dark_gc is
      	slightly lighter, looks better and fixes bug #132565.
      0fd56699
    • Michael Natterer's avatar
      removed gimp_image_owns_item() again. · 748d432f
      Michael Natterer authored
      2004-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: removed gimp_image_owns_item() again.
      
      	* app/core/gimpitem.[ch]: instead, added new virtual function
      	GimpItem::is_attached().
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: implement it.
      
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimplayer-floating-sel.c
      	* app/text/gimptext-compat.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb_ changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      748d432f
    • Michael Natterer's avatar
      add the layer to the image before pasting to it. Fixes bug #132504. · dc3ac419
      Michael Natterer authored
      2004-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/unsharp-mask.scm: add the layer to
      	the image before pasting to it. Fixes bug #132504.
      
      	Fixed the underlying problem: make it impossible to attach
      	floating selections to drawables which are not currently part of
      	the image's layer or channel stacks.
      	Also cleaned up image <-> floating_sel interaction:
      
      	* app/core/gimplayer-floating-sel.[ch] (floating_sel_attach):
      	added assertion that the drawable is part of the image (see below).
      	Don't call gimp_image_floating_selection_changed(), it's emitted
      	by gimp_image_add_layer() now.
      
      	(floating_sel_remove)
      	(floating_sel_anchor): don't emit "floating_selection_changed",
      	it's emitted by gimp_image_remove_layer() now.
      
      	(floating_sel_anchor): removed the fix for bug #132162 because
      	gimp_image_remove_layer() behaves correctly now (see below).
      
      	Renamed floating_sel_reset() to floating_sel_activate_drawable().
      	Added g_return_if_fail() all over the place.
      
      	* app/core/gimpimage.[ch]: added new function gimp_image_owns_item()
      	which return TRUE if the passed item is part of the image.
      
      	(gimp_image_add_layer): emit "floating_selection_changed" here if
      	needed.
      
      	(gimp_image_remove_layer): emit "floating_selection_changed" if
      	needed, don't try to activate a layer if we called
      	floating_sel_activate_drawable().
      	This is the real fix for bug #132162.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer): apply the same
      	fixes as to gimp_image_add,remove_layer(). Don't call
      	gimp_drawable_invalidate_preview() on the previously active layer
      	because that's done by gimp_image_set_active_layer() now.
      
      	* app/xcf/xcf-load.c: remember the "floating_sel_drawable" in the
      	XcfInfo struct and attach it *after* all layers and channels are
      	loaded to avoid attaching the floating selection to an
      	out-of-image drawable.
      
      	* app/core/gimp-edit.c (gimp_edit_paste)
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_affine,
      	gimp_drawable_transform_flip, gimp_drawable_transform_rotate)
      	* app/core/gimpselection.c (gimp_selection_float)
      	* app/text/gimptext-compat.c (text_render): added checks for
      	gimp_image_owns_item() in all functions which can produce
      	floating selections.
      
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: added checks for
      	gimp_item_owns_image() and return an execution error if invoked
      	with a drawable which is not part of the image.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      dc3ac419
    • Michael Natterer's avatar
      store the correct offset of the floating selection's drawable. This bug · 71c94006
      Michael Natterer authored
      2004-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/xcf/xcf-save.c (xcf_save_channel): store the correct offset
      	of the floating selection's drawable. This bug has been around
      	since 1.2 (!!!) and made it impossible to save images correctly
      	where the floating selection's drawable was a channel or layer
      	mask.
      71c94006
    • Marco Ciampa's avatar
      Updated italian translation · 56b451e2
      Marco Ciampa authored
      56b451e2
    • Sven Neumann's avatar
      prefer automake-1.7 over 1.8 since there are issues with the latter. · 6055d812
      Sven Neumann authored
      2004-01-26  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh: prefer automake-1.7 over 1.8 since there are issues
      	with the latter.
      6055d812
    • Manish Singh's avatar
      use memcpy instead of casted assignment for storing HSV values in · d3c82f39
      Manish Singh authored
      2004-01-26  Manish Singh  <yosh@gimp.org>
      
              * app/core/gimpdrawable-blend.c (gradient_fill_region): use memcpy
              instead of casted assignment for storing HSV values in rbd.fg/bg,
              for C99 aliasing compliance.
      
              * app/xcf/xcf-load.c (xcf_load_layer_mask): use a GimpChannel *
              explictly for xcf_load_channel_props, for the above reason.
      
              * app/xcf/xcf-save.c (xcf_save_prop): use a temporary guint32 for
              saving property types, for the above reason.
      
              * app/core/gimpparasitelist.c (gimp_parasite_list_deserialize): plug
              a memory leak, since data is copied on parasite creation.
      d3c82f39
  3. 25 Jan, 2004 8 commits
  4. 24 Jan, 2004 2 commits
    • Michael Natterer's avatar
      fiddle with the passed channel index only for GRAYA drawables, not for all · 00c525ab
      Michael Natterer authored
      2004-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/color.pdb (levels, curves): fiddle with the
      	passed channel index only for GRAYA drawables, not for all GRAY
      	drawables. Fixes bug #132322.
      
      	* tools/pdbgen/pdb/color.pdb: regenerated.
      
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimplevelstool.[ch]: fixed the same bug here. It never
      	occured because the "channel" field was accidentially initialized
      	with the correct value and never changed after.
      00c525ab
    • Jan Morén's avatar
      Updated Swedish translation. · 8c622bcd
      Jan Morén authored
      2004-01-24  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      8c622bcd
  5. 23 Jan, 2004 11 commits
  6. 22 Jan, 2004 5 commits