1. 06 Sep, 2002 1 commit
    • Manish Singh's avatar
      emptied · 97cb7b6d
      Manish Singh authored
      2002-09-05  Manish Singh  <yosh@gimp.org>
      
              * acinclude.m4: emptied
      
              * autogen.sh: support for automake version special casing, error
              out on aclocal failure.
      
              * m4compat/1.4/pysupport.m4
              * m4compat/1.6/pysupport.m4
              * configure.in
              * plug-ins/Makefile.am: pygimp autoconf support, just to get it
              some testing. We'll figure out policy later.
      97cb7b6d
  2. 05 Sep, 2002 3 commits
  3. 04 Sep, 2002 4 commits
    • Maurits Rijk's avatar
      Fixed #72896. Fixed small typo. · e44bd6ec
      Maurits Rijk authored
      e44bd6ec
    • Dave Neary's avatar
      Small patch to modify the behaviour of the bucket fill tool if there is an · 738993fb
      Dave Neary authored
      
      2002-09-04  Dave Neary  <bolsh@gimp.org>
              * app/core/gimpdrawable-bucket-fill.c: Small patch to
              modify the behaviour of the bucket fill tool if there
              is an active selection. Question: Should the bucket fill
              only work if clicked inside the selection? Currently a
              click anywhere works, and stuff gets drawn if the region
              intersects the selection. This patch closes bug #72896.
      738993fb
    • Michael Natterer's avatar
      More color correction stuff cleanup: · 163a3f41
      Michael Natterer authored
      2002-09-04  Michael Natterer  <mitch@gimp.org>
      
      	More color correction stuff cleanup:
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/levels.[ch]: new files containing levels_lut_func(), a
      	new "Levels" parameter struct and the "auto levels" stuff.
      
      	* app/base/lut-funcs.[ch]: removed the levels stuff here, added
      	lots of g_return_if_fail().
      
      	* app/base/color-balance.[ch]
      	* app/base/hue-saturation.[ch]: added init() and reset() functions
      	so we don't need to duplicate this code in the tool and the pdb
      	wrappers.
      
      	* app/base/curves.[ch]: s/gint/GimpHistogramChannel/g, made
      	curves_channel_reset() initialize the curves array.
      
      	* app/tools/gimpcolorbalancetool.[ch]: use the new functions,
      	moved the "Range" frame to the top, added a per-range "Reset"
      	button, made the global "Reset" button reset all ranges and
      	the "Preserve Luminosity" toggle.
      
      	* app/tools/gimpcurvestool.[ch]: don't initialize the curves
      	array manually, as curves_channel_reset() does that,
      	s/gint/GimpHistogramChannel/g.
      
      	* app/tools/gimphuesaturationtool.c: use the new functions, added
      	a per-channel "Reset" button and made the global "Reset" button
      	reset all channels, cleaned up the GUI update function.
      
      	* app/tools/gimplevelstool.[ch]: changed to use the new Levels
      	parameter struct and it's utility functions. Removed stuff
      	which now lives in base/levels.c
      
      	* app/tools/gimpimagemaptool.c: align the "Preview" button
      	bottom-left, not bottom-right.
      
      	* tools/pdbgen/pdb/color.pdb: use the new stuff and removed
      	uglyness because using the "Levels" struct makes the code more
      	straightforward.
      
      	* app/pdb/color_cmds.c: regenerated.
      163a3f41
    • Michael Natterer's avatar
      app/gui/color-select.c app/widgets/gimpselectioneditor.c removed some · 53930815
      Michael Natterer authored
      2002-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-select.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox.c: removed some leftover GtkTargetEntry
      	arrays.
      53930815
  4. 03 Sep, 2002 2 commits
  5. 02 Sep, 2002 7 commits
    • Michael Natterer's avatar
      small speedup: use g_object_[get|set]_qdata() instead of · 0d91f5a8
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.c: small speedup: use
      	g_object_[get|set]_qdata() instead of g_object_[set|set]_data().
      0d91f5a8
    • Michael Natterer's avatar
      remove the attached preview pixbuf just as the preview temp_buf. · b830a9cf
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.c (gimp_viewable_real_invalidate_preview):
      	remove the attached preview pixbuf just as the preview temp_buf.
      b830a9cf
    • Michael Natterer's avatar
      DND cleanup part 1: · c5d4b702
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	DND cleanup part 1:
      
      	* app/widgets/gimpdnd.[ch]: changed all gimp_dnd_*_dest_set() and
      	_unset() functions to _dest_add() and _dest_remove(). Switch from
      	using static arrays of GtkTargetEntries to dynamic GtkTargetLists.
      	The _add() and _remove() functions configure the drag dest
      	automatically if not already done, so there is no need to call
      	gtk_drag_dest_set() on the widget any more. Drag source cleanup
      	will follow...
      
      	Renamed silly function names gimp_gtk_* to gimp_dnd_*
      
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpblendtool.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/gui/about-dialog.c
      	* app/gui/color-select.c
      	* app/gui/device-status-dialog.c
      	* app/gui/tool-options-dialog.c: changed accordingly. Removed
      	all calls to gtk_drag_dest_set() and their GtkTargetEntry tables.
      
      	* app/widgets/gimpchannellistitem.c: enabled some commented out
      	dnd code (which will not work since dnd needs more love...)
      
      	* app/widgets/gimpitemlistview.[ch]: added a third
      	"gboolean interactive" parameter to GimpItemNewFunc.
      
      	* app/gui/channels-commands.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/vectors-commands.[ch]: if the new_item_func is called
      	with "interactive == FALSE", don't pop up a dialog but silently
      	create a new item of the image's size.
      
      	* app/widgets/gimpdrawablelistview.c: use the new feature to allow
      	color and pattern drops to the "New" button, which creates a new
      	layer/channel filled with the color/pattern.
      	(special feature for drc ;-)
      
      	* app/widgets/gimppaletteeditor.c: fixed event handling so we see
      	the context menu again. Also, don't redraw on "expose", since
      	GtkPreview does that for us.
      c5d4b702
    • Michael Natterer's avatar
      use GimpContainerView's get_name_func utility stuff instead of reinventing · e6a9cc4d
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewabledialog.c: use GimpContainerView's
      	get_name_func utility stuff instead of reinventing the wheel.
      	(They should probably be renamed because they are not at all
      	GimpContainerView related).
      e6a9cc4d
    • Michael Natterer's avatar
      don't display Alpha twice, more cleanup. · ca078457
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/info-window.c: don't display Alpha twice, more cleanup.
      ca078457
    • Michael Natterer's avatar
      manually add the src_drawable's offsets instead of implicitly using the · 8ab7bfb3
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_tool_draw): manually add
      	the src_drawable's offsets instead of implicitly using the
      	offsets of the active_drawable (fixes #92311).
      8ab7bfb3
    • Christian Neumair's avatar
      Updated German translation. · d8fed540
      Christian Neumair authored
      d8fed540
  6. 01 Sep, 2002 5 commits
    • Michael Natterer's avatar
      GimpViewableDialogs everywhere, cleanup: · ce956702
      Michael Natterer authored
      2002-09-01  Michael Natterer  <mitch@gimp.org>
      
      	GimpViewableDialogs everywhere, cleanup:
      
      	* libgimpwidgets/gimpstock.c: added texts for the RESIZE, SCALE
      	and CROP stock items.
      
      	* app/widgets/gimpviewabledialog.c: update the title when the
      	viewable's name changes.
      
      	* app/gui/color-notebook.[ch]: added color_notebook_viewable_new()
      	which creates a GimpViewableDialog.
      
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/gui/colormap-editor-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/palette-editor-commands.c
      	* app/undo_history.c: use GimpViewableDialogs and the new
      	color_notebook constructor.
      
      	* app/gui/convert-dialog.c: #include "widgets/gimpviewabledialog.h"
      
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.c
      	* app/gui/resize-dialog.c: minor cleanups.
      
      	* app/gui/info-window.c: cleaned up the whole thing, esp. the
      	"Extended" page. Added HSV color display to the color picker
      	frame.  Set the icons as frame titles, stuff...
      
      	* app/tools/gimpimagemaptool.[ch]: removed "shell_title",
      	"shell_name" and "stock_id" from the GimpImageMapTool struct
      	because they can be obtained from the tool's GimpToolInfo object.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      
      	* app/tools/gimphistogramtool.c: same here: take values from
      	tool->tool_info instead of hardcoding them.
      
      	* app/tools/gimpcroptool.[ch]: removed the static crop dialog
      	variables and added them to the GimpCropTool struct. Feels safer
      	and makes the callback code much simpler. Use stock items for the
      	dialog's "Resize" and "Crop" buttons.
      
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimprotatetool.c: for consistency don't name the tools
      	"Blah Tool", also the dialog titles need to match the menu
      	entries.
      
      	Unrelated:
      
      	* libgimpwidgets/gimpwidgets.c: the recently changed, gtk-doc
      	comment was correct, as gtk-doc takes the parameter names from
      	the header, not the .c file.
      
      	* app/tools/gimptransformtool.c: set the transform tool's state to
      	TRANSFORM_CREATING after changing displays, so the initial matrix
      	components are saved correctly for the "Reset" function.
      ce956702
    • Manish Singh's avatar
      use AM_CPPFLAGS instead of CPPFLAGS · 97427f3f
      Manish Singh authored
      2002-09-01  Manish Singh  <yosh@gimp.org>
      
              * modules/Makefile.am: use AM_CPPFLAGS instead of CPPFLAGS
      
              * modules/cdisplay_gamma.c
              * modules/cdisplay_highcontrast.c: changed deprecated calls
      
              * modules/colorsel_triangle.c: #undef GTK_DISABLE_DEPRECATED,
              still needs to be fixed for use of GtkPreview
      97427f3f
    • Michael Natterer's avatar
      oops, the callback's name has changed too :) · f81c1362
      Michael Natterer authored
      2002-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-commands.[ch]: oops, the callback's name has
      	changed too :)
      f81c1362
    • Michael Natterer's avatar
      HIG compliance: changed "Save a Copy as..." to "Save a Copy...". · 003062de
      Michael Natterer authored
      2002-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/menus.c: HIG compliance: changed "Save a Copy as..."
      	to "Save a Copy...".
      
      	* app/gui/file-dialog-utils.c
      	* app/display/gimpdisplayshell.c: changed accordingly.
      003062de
    • Michael Natterer's avatar
      Refcount layer masks correctly. Fixes layer mask undo. · f4e1ec97
      Michael Natterer authored
      2002-09-01  Michael Natterer  <mitch@gimp.org>
      
      	Refcount layer masks correctly. Fixes layer mask undo.
      
      	* app/core/gimplayer.c (gimp_layer_add_mask): ref the mask.
      
      	* app/xcf/xcf-load.c
      	* app/gui/layers-commands.c
      	* tools/pdbgen/pdb/image.pdb: unref layer masks after adding them.
      
      	* app/pdb/image_cmds.c: regenerated.
      f4e1ec97
  7. 31 Aug, 2002 3 commits
  8. 30 Aug, 2002 8 commits
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new dialog widget · cc3bdec2
      Michael Natterer authored
      2002-08-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpviewabledialog.[ch]: new dialog widget featuring
      	a title bar containing a stock icon, a description, the viewable's
      	name and a preview. Will be used for all viewable related dialogs
      	and serves as a common place to control their look & feel.
      
      	* app/tools/gimpimagemaptool.[ch]: removed the code which did
      	almost the same and use GimpViewableDialog.
      
      	* app/gui/info-dialog.[ch]: extended the API so it has enough
      	information to create a GimpViewableDialog.
      
      	* app/gui/channels-commands.c
      	* app/gui/convert-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: use GimpViewableDialogs
      
      	* themes/Default/gtkrc: apply the dialog style to "*Gimp*Dialog*",
      	not only "*GimpDialog*" so it covers GimpViewableDialog.
      cc3bdec2
    • James Henstridge's avatar
    • James Henstridge's avatar
      add PF_RADIO support to gimpfu based on Yosh's patch. · d6b394e1
      James Henstridge authored
      2002-08-31  James Henstridge  <james@daa.com.au>
      
          * gimpfu.py (RadioEntry): add PF_RADIO support to gimpfu based on
          Yosh's patch.
      d6b394e1
    • James Henstridge's avatar
      handle GIMP_PDB_COLOR correctly. This fixes · dd87d9f1
      James Henstridge authored
      2002-08-31  James Henstridge  <james@daa.com.au>
      
          * libgimp/gimp.c (gimp_run_procedure): handle GIMP_PDB_COLOR
          correctly.  This fixes gimp_palette_set_{back,fore}ground.
      dd87d9f1
    • James Henstridge's avatar
      some plugin fixes. · fe65e90a
      James Henstridge authored
      fe65e90a
    • James Henstridge's avatar
      update to list all methods. Convert no arg functions to METH_NOARG (slight · e7d1c4fa
      James Henstridge authored
      2002-08-30  James Henstridge  <james@daa.com.au>
      
          * pygimp-*.c: update to list all methods.  Convert no arg
          functions to METH_NOARG (slight code size reduction).
      e7d1c4fa
    • James Henstridge's avatar
      add getsets for common drawable attributes. (PyGimpLayer_Type): convert · 29aa6f50
      James Henstridge authored
      2002-08-30  James Henstridge  <james@daa.com.au>
      
          * pygimp-drawable.c (PyGimpDrawable_Type): add getsets for common
          drawable attributes.
          (PyGimpLayer_Type): convert getattr and setattr to getsets.
          (PyGimpChannel_Type): convert to getsets.
      
          * gimpmodule.c (new_parasite): remove.  Superceded by
          gimp.Parasite constructor.
          (pygimp_image_list): rename to match actual API.
      
          * pygimp-parasite.c (PyGimpParasite_Type): switch to getsets.
          (para_init): add constructor.
      29aa6f50
    • James Henstridge's avatar
      convert to use getsets. (PyGimpTile_Type): convert to use getsets. · 430a9f5d
      James Henstridge authored
      2002-08-30  James Henstridge  <james@daa.com.au>
      
          * pygimp-tile.c (PyGimpPixelRgn_Type): convert to use getsets.
          (PyGimpTile_Type): convert to use getsets.
      
          * pygimp-image.c (PyGimpImage_Type): convert getattr and setattr
          routines into getsets.
      430a9f5d
  9. 29 Aug, 2002 7 commits