1. 30 Jun, 2004 6 commits
    • Michael Natterer's avatar
      app/widgets/gimpdnd.[ch] app/widgets/gimpselectiondata.[ch] changed · cc6aa186
      Michael Natterer authored
      2004-06-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpselectiondata.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]: changed "files" and "uris"
      	to "uri_list" in all function names, parameters and typedefs.
      
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/display/gimpdisplayshell-dnd.[ch]
      	* app/display/gimpdisplayshell.c: changed accordingly.
      cc6aa186
    • Sven Neumann's avatar
      made the dialog look a little less clumsy. · 8040a22a
      Sven Neumann authored
      2004-06-30  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/maze/maze_face.c: made the dialog look a little less
      	clumsy.
      8040a22a
    • Sven Neumann's avatar
      tools/pdbgen/pdb/drawable.pdb raised the maximum size for thumbnails from · adab09fd
      Sven Neumann authored
      2004-06-30  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* libgimp/gimppixbuf.c: raised the maximum size for thumbnails
      	from 256 to 512 pixels.
      
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.c: regenerated.
      
      	* plug-ins/gfig/gfig-preview.c
      	* plug-ins/gfig/gfig.c: redone Bill's fix using
      	gimp_image_get_thumbnail(). A lot simpler, renders the alpha
      	checkerboard and also works for grayscale images.
      adab09fd
    • Michael Natterer's avatar
      Fixed a 1.2 -> 2.0 regression that was forgotten: · 40229803
      Michael Natterer authored
      2004-06-30  Michael Natterer  <mitch@gimp.org>
      
      	Fixed a 1.2 -> 2.0 regression that was forgotten:
      
      	* app/widgets/widgets-enums.[ch]: added enum GimpColorPickState
      	which can be one of { NEW, UPDATE }.
      
      	* app/widgets/gimppaletteeditor.[ch]: changed #if 0'ed function
      	gimp_palette_editor_update_color() to
      	gimp_palette_editor_pick_color() and restored the functionality of
      	creating/updating colors via this API
      
      	Changed button_press handler to only edit the color on double
      	click if it's really a double click on the same color.
      	Fixes bug #141381.
      
      	* app/tools/gimpcolorpickeroptions.[ch]: added boolean property
      	"add-to-palette" and a GUI for it.
      
      	* app/core/gimpmarshal.list
      	* app/tools/gimpcolortool.[ch]: added a GimpColorPickState
      	parameter to the "color_picked" signal. Pass NEW on button_press
      	and UPDATE on motion.
      
      	* app/tools/gimpcurvestool.c (gimp_curves_tool_color_picked)
      	* app/tools/gimplevelstool.c (gimp_levels_tool_color_picked)
      	* app/tools/gimppainttool.c (gimp_paint_tool_color_picked):
      	changed accordingly
      
      	* app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_picked):
      	If "add-to-palette" is TRUE, get the palette editor and call
      	gimp_palette_editor_pick_color().
      40229803
    • Sven Neumann's avatar
      renamed the SVG related functions so that they deal with an anonymous data · 114f747f
      Sven Neumann authored
      2004-06-30  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpselectiondata.[ch]: renamed the SVG related
      	functions so that they deal with an anonymous data stream that
      	could as well be a PNG image.
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpcontainertreeview-dnd.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-dnd.[ch]
      	* app/vectors/gimpvectors-import.[ch]
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpvectorstreeview.c: use gsize for the length of
      	the buffer.
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/widgets-enums.[ch]: added GIMP_DND_TYPE_PNG which isn't
      	used yet.
      114f747f
    • Michael Natterer's avatar
      take const GimpRGB* instead of just GimpRGB*. Converted tabs to spaces. · 12355969
      Michael Natterer authored
      2004-06-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppalette.[ch] (gimp_palette_add_entry): take
      	const GimpRGB* instead of just GimpRGB*.
      	Converted tabs to spaces.
      12355969
  2. 29 Jun, 2004 8 commits
  3. 28 Jun, 2004 14 commits
    • Michael Natterer's avatar
      fix typo in last commit. · d61cc35e
      Michael Natterer authored
      d61cc35e
    • Michael Natterer's avatar
      added new function gimp_get_mod_string() which takes a GdkModifierType and · 6cd57372
      Michael Natterer authored
      2004-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added new function
      	gimp_get_mod_string() which takes a GdkModifierType and returns
      	correctly formated strings for all shift,control,alt combinations.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c: use the new function instead
      	of gimp_get_mod_name_shift(),control(),alt(),separator(). This
      	kindof addresses the issue of configurable modifier keys but is
      	actually indended to ease translation of format strings ("%s" is
      	easier to get right than "%s%s%s").
      6cd57372
    • Michael Natterer's avatar
      Allow all sorts of things to be dropped on or in between the items of a · 6a5e68c9
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	Allow all sorts of things to be dropped on or in between the
      	items of a GimpContainerTreeView:
      
      	* app/widgets/gimpcontainertreeview.[ch]: added more parameters to
      	GimpContainerTreeView::drop_possible() to specify where ecactly
      	the drop should take place (between or into items) and to support
      	dropping all sorts of things.
      
      	Renamed ::drop() to ::drop_viewable() and added ::drop_color(),
      	::drop_files() and ::drop_svg(), which cover all possible drop
      	types.
      
      	* app/widgets/gimpcontainertreeview-dnd.[ch]: changed accordingly.
      	Dispatch all kinds of drops to the resp. virtual functions.
      
      	* app/widgets/gimpitemtreeview.c: changed accordingly.
      
      	* app/widgets/gimplayertreeview.c: allow to drop URIs, colors
      	and patterns to the layers dialog. Fixes bugs #119506 and #139246.
      6a5e68c9
    • Michael Natterer's avatar
      new utility function which opens an image, flattens it if needed and · c5c63f31
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-open.[ch] (file_open_layer): new utility function
      	which opens an image, flattens it if needed and returns the only
      	layer, converted for a passed destination image.
      
      	* app/display/gimpdisplayshell-dnd.c
      	(gimp_display_shell_drop_files): use the new function.
      c5c63f31
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files containing the code which · 667de3c9
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpselectiondata.[ch]: new files containing the
      	code which encodes/decodes all sorts of stuff to/from its
      	GtkSelectionData representation. Used to live in gimpdnd.c
      
      	* app/widgets/gimpdnd.c: use the new functions (unclutters the
      	file quite a bit), converted tabs to spaces.
      667de3c9
    • Michael Natterer's avatar
      #include "libgimpwidgets/gimpwidgets.h" · d45a6b23
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c:
      	#include "libgimpwidgets/gimpwidgets.h"
      d45a6b23
    • Michael Natterer's avatar
      Fixed bug #141930 while keeping bug #132322 fixed: · a2850f6d
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #141930 while keeping bug #132322 fixed:
      
      	* app/base/curves.c (curves_lut_func)
      	* app/base/levels.c (levels_lut_func): changed meaning of channel
      	slots for GRAYA images: just as for GRAY images, expect the value
      	channel in slot 0 and the alpha channel in slot 1, so it matches
      	the meaning of slots of GimpHistogram (before this change, only
      	GRAY images had their value in slot 0 and GRAYA images had it in
      	slot 1, whereas the histogram had the value channel in slot 0,
      	which was breaking auto levels for GRAYA images).
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* tools/pdbgen/pdb/color.pdb: adjusted channel fiddling for GRAY
      	and GRAYA images accordingly.
      
      	* app/tools/gimpcurvestool.c (curves_update)
      	* app/tools/gimplevelstool.c (levels_update): call
      	gimp_color_bar_set_buffers() with the right buffers.
      
      	* app/pdb/color_cmds.c: regenerated.
      a2850f6d
    • Sven Neumann's avatar
      select the standard tool. · b9c23cac
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/gui.c (gui_initialize_after_callback): select the
      	standard tool.
      
      	* app/tools/tool_manager.c: cosmetics.
      b9c23cac
    • Michael Natterer's avatar
      reverted fix for bug #141930. These hacks are there because the enum used · 3ec1647d
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimplevelstool.c: reverted fix for bug #141930. These
      	hacks are there because the enum used in levels doesn't match
      	the enum used by the combo box and the histogram widget.
      3ec1647d
    • Michael Natterer's avatar
      removed again (tools must not draw outside GimpDrawTool::draw()). · c1861260
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_tool_button_release):
      	removed again (tools must not draw outside GimpDrawTool::draw()).
      
      	(gimp_clone_tool_draw): removed check for gimp_draw_tool_is_active()
      	because the draw function would not be called if the draw tool was
      	inactive. Simplified check for whether or not to draw the src
      	location.
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_button_release):
      	pause/resume the draw tool across all button_release actions so
      	tools (clone) have a chance to draw different things depending on
      	gimp_tool_control_is_active(tool->control). Fixes bug #145022.
      c1861260
    • Sven Neumann's avatar
      added missing return value. · 33fb67bc
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/actions.c (action_select_object): added missing
      	return value.
      33fb67bc
    • Sven Neumann's avatar
      applied HIG rules to the GUI and slightly rearranged it to get a more · a0a77115
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/dog.c: applied HIG rules to the GUI and slightly
      	rearranged it to get a more compact layout. Applied GIMP coding style.
      a0a77115
    • Sven Neumann's avatar
      removed wrong note about using _gimp_tile_cache_flush_drawable() from the · dd7b550d
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpdrawable.c: removed wrong note about using
      	_gimp_tile_cache_flush_drawable() from the API docs.
      dd7b550d
    • Sven Neumann's avatar
      ifdef'ed out calls to _gimp_tile_cache_flush_drawable() since it can't be · 6d4d1d2f
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/dog.c (dog): ifdef'ed out calls to
      	_gimp_tile_cache_flush_drawable() since it can't be used from a
      	plug-in. Removed trailing whitespace and redundant includes.
      
      	* libgimp/gimp.def: removed _gimp_tile_cache_flush_drawable again.
      6d4d1d2f
  4. 27 Jun, 2004 4 commits
  5. 26 Jun, 2004 5 commits
  6. 25 Jun, 2004 3 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 48095ce3
      William Skaggs authored
      	* plug-ins/common/dog.c: added Difference of Gaussians edge
      	detect plug-in.
      
      	* plug-ins/common/plugin-defs.pl:
      	* plug-ins/common/Makefile.am: added dog and regenerated
      	Makefile.
      48095ce3
    • Michael Natterer's avatar
      added GIMP_ACTION_SELECT_SET actions which set a generated brush's · fe14fa1d
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/context-actions.c: added GIMP_ACTION_SELECT_SET
      	actions which set a generated brush's properties directly.
      
      	* app/actions/context-commands.c: adjust the range of possible
      	brush radius and aspect_ratio values to be actually usable.
      fe14fa1d
    • Michael Natterer's avatar
      reordered parameters and members to be consistent with other places where · 140d3d5c
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated.[ch]: reordered parameters and
      	members to be consistent with other places where generated
      	brushes are used. Check for errors when loading a brush and
      	utf8-validate its name. Cleanup.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c: cleanup.
      140d3d5c