1. 11 Dec, 2000 1 commit
    • Sven Neumann's avatar
      app/edit_selection.c app/gimpimage.c app/layer_select.c when computing a · ed707bea
      Sven Neumann authored
      2000-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/edit_selection.c
      	* app/gimpimage.c
      	* app/layer_select.c
      	* app/layers_dialog.c: when computing a preview, limit the scale ratio
      	to a maximum of 1.0. By doing so we avoid to scale drawables up if the
      	image (canvas) size becomes larger than the drawable. Fixes bug #31098.
      
      	* app/gimppreviewcache.[ch]: indented
      ed707bea
  2. 03 Dec, 2000 2 commits
    • Sven Neumann's avatar
      do not set the layer mode of the bottom layer to NORMAL_MODE if it is · 1edd8235
      Sven Neumann authored
      2000-12-03  Sven Neumann  <sven@gimp.org>
      
      	* app/gimpimage.c: do not set the layer mode of the bottom layer to
      	NORMAL_MODE if it is DISSOLVE_MODE since the latter does not work
      	on the projection with the lower layer but on the layers alpha
      	channel. Fixes bug #7829.
      1edd8235
    • Sven Neumann's avatar
      app/layer.c app/layers_dialog.c reviewed code in an attempt to fix the · 0d9382fb
      Sven Neumann authored
      2000-12-03  Sven Neumann  <sven@gimp.org>
      
      	* app/layer.c
      	* app/layers_dialog.c
      	* plug-ins/common/jpeg.c: reviewed code in an attempt to fix the
      	crash-on-jpeg-save. The only thing that I have changed (despite
      	lots of indentation) is that we now connect the preview rewdraw
      	using gtk_signal_connect_while_alive() which should keep gimp from
      	trying to create previews of nonexistant drawables.
      
      Updated german translation.
      0d9382fb
  3. 20 Nov, 2000 1 commit
    • Sven Neumann's avatar
      changed the logic that sets the default for "Custom Palette" so it goes · 54f243d7
      Sven Neumann authored
      2000-11-20  Sven Neumann  <sven@gimp.org>
      
      	* app/convert.c (build_palette_button): changed the logic that sets
      	the default for "Custom Palette" so it goes through the whole list
      	instead of stopping at the "Web" palette. The Indexed-Conversion
      	dialog now also remembers palettes appearing after the "Web" palette.
      54f243d7
  4. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  5. 11 Nov, 2000 1 commit
    • Garry R. Osgood's avatar
      2000-11-11 Garry R. Osgood <gosgood>@idt.net * · c24b37e5
      Garry R. Osgood authored
      app/gimpbrushpipe.c
      Double frees due to dangling pointers [gimpbrushpipe.c
      CVS-1.27 Lines 396 ff]. Upon failure to load an n-th
      pixmap, a GPattern holding the dangling pointers would
      be released first, also releasing n-1 pixmap's name and
      RGB mask. These would again be freed in pipe and GTK
      deconstruction.
      c24b37e5
  6. 28 Oct, 2000 1 commit
  7. 26 Oct, 2000 1 commit
    • Sven Neumann's avatar
      avoid modulo operation on negative values. · 8cfac64a
      Sven Neumann authored
      2000-10-26  Sven Neumann  <sven@gimp.org>
      
      	* app/channel_ops.c (offset_ok_callback): avoid modulo operation on
      	negative values.
      
      	* app/channel_ops.c
      	* app/crop.c
      	* app/file_new_dialog.c
      	* app/layers_dialog.c
      	* app/preferences_dialog.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: use RINT() when assigning the result of
      	gimp_size_entry_get_refval() to an integer.
      8cfac64a
  8. 23 Oct, 2000 1 commit
    • Sven Neumann's avatar
      plugged memleak (similar to the one that was present in · 27a4faa0
      Sven Neumann authored
      2000-10-22  Sven Neumann  <sven@gimp.org>
      
      	* app/edit_selection.[ch]: plugged memleak (similar to the one that
      	was present in gtkutil_compress_motion()) in the key snooper.
      
      	Round moves to nearest integer instead of truncating the value.
      	This seems to fix the reported redraw problems when moving
      	selections at low zoom levels.
      
      	Cleaned up the code a little and converted enum values to uppercase.
      
      	* app/bezier_select.c
      	* app/free_select.c
      	* app/fuzzy_select.c
      	* app/move.c
      	* app/rect_select.c
      	* app/text_tool.c: updated to use the new EditType enum values.
      
      	* app/gimprc.c: minor optimization in the GList handling.
      
      	* app/layer.[ch]: removed unused functions.
      
      	* app/menus.c: removed "Dump Items (Debug)" menu entry.
      27a4faa0
  9. 04 Oct, 2000 1 commit
  10. 01 Oct, 2000 2 commits
    • Michael Natterer's avatar
      resize the cursor label if the shrink_wrap flag is set. Closes #21936. · b0cd835d
      Michael Natterer authored
      2000-10-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/undo.c: resize the cursor label if the shrink_wrap flag is
      	set. Closes #21936.
      b0cd835d
    • Michael Natterer's avatar
      app/gimpbrush.c app/gimpbrushpipe.c app/pattern_header.h fixed #8150. · 4eeb8759
      Michael Natterer authored
      2000-10-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrush.c
      	* app/gimpbrushpipe.c
      	* app/pattern_header.h
      	* app/patterns.c: (Hopefully) fixed #8150.
      
      	- If something goes wrong during loading, free the resp. object
      	  immediately and close it's FD.
      	- When destroying, check each pointer before freeing it.
      	- Never use if (!gimp_brush_load_brush() || !pattern_load())
      	  but check the return values of both calls separately.
      	  (the original code tried to free an already destroyed temp_buf).
      	- stuff like below (s/sz_PatternHeader/sizeof(PatternHeader)/g etc.)
      4eeb8759
  11. 29 Sep, 2000 2 commits
    • Michael Natterer's avatar
      app/brush_edit.[ch] app/brush_header.h app/gimpbrush.[ch] · f38cdf12
      Michael Natterer authored
      2000-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_edit.[ch]
      	* app/brush_header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.h
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/gimpsignal.[ch]
      	* app/parasitelist.h: Lotsa fixes in the brush referencing code
      	and cleanups in many GtkObjects:
      
      	- Reference brushes correctly (call gtk_object_sink() after adding
      	  them to the brush list). Don't crash when renaming a brush
      	  multiple times.
      	- Replaced all gtk_object_destroy() with gtk_object_unref|sink().
      	- Removed the "Fake Gimp object system" (gimp_object_destroy() et.al.)
      	  all over the place (while it's a good idea to have a common Gimp
      	  base object, it's totally useless to try to imitate Gtk's object
      	  system).
      	- s/sz_BrushHeader/sizeof(BrushHeader)/g
      	- And of course various indentation and coding style paranoia changes
      	  in all files I visited.
      f38cdf12
    • Daniel Egger's avatar
      New dialog_hide functions which are utilised from convert.c to hide · b07c7184
      Daniel Egger authored
      
      
       New dialog_hide functions which are utilised from convert.c to hide
       dialogs before converting an image to indexed. Bug #23104.
      b07c7184
  12. 27 Sep, 2000 2 commits
  13. 26 Sep, 2000 1 commit
  14. 28 Aug, 2000 1 commit
    • Michael Natterer's avatar
      added -DGTK_DISABLE_COMPAT_H to CPPFLAGS. · b9413eb0
      Michael Natterer authored
      2000-08-28  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/layers_dialog.c
      	* app/menus.c
      	* app/tips_dialog.c
      	* libgimp/gimpcolorbutton.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/glasstile.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/pixelize.c
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/png.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/common/sel_gauss.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tileit.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/wmf.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/gap/gap_arr_dialog.c
      	* plug-ins/gap/gap_dbbrowser_utils.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gap/gap_resi_dialog.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/gimp_main_window.c
      	* plug-ins/rcm/rcm_callback.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sel2path/sel2path_adv_dialog.c
      	* plug-ins/xjt/xjt.c: removed COMPAT_CRUFT.
      b9413eb0
  15. 24 Aug, 2000 1 commit
  16. 23 Aug, 2000 1 commit
    • Sven Neumann's avatar
      make the file_save dialog sensitive again if the user clicked "No" when · 5b205f17
      Sven Neumann authored
      2000-08-23  Sven Neumann  <sven@gimp.org>
      
      	* app/fileops.c: make the file_save dialog sensitive again if the
      	user clicked "No" when asked if he wishes to overwrite a file.
      
      	* app/gimpimage.c: when saving an undoable parasite, just do it
      	without calling undo_push_cantundo(). Undoable parasites are used
      	by many save plug-ins to attach a comment, but this operation
      	shouldn't prevent the user from using the undo_stack afterwards.
      	The JPEG plug-in has an additional bug that I couldn't solve, so
      	undoing after a Save As JPEG is still impossible.
      
      	* app/undo_history.c: lame attempt to draw the clean symbol at the
      	correct undo step. Not perfect but much better as before...
      5b205f17
  17. 17 Aug, 2000 1 commit
    • Garry R. Osgood's avatar
      app/gdisplay.c app/image_map.c · 43ff0cdf
      Garry R. Osgood authored
      2000-08-16  Garry R. Osgood <gosgood@idt.net>
      * app/gdisplay.c
      * app/image_map.c
      
      Addresses Bug Report #14704, and an
      undisclosed undo system bug. Freezes
      undo stack before interactive tools
      commence idle rendering; thaws stack
      on cleanup and immediately sets menu
      sensitivity.
      
      Not an image lock, but Yet Another UI
      Lock. Oh well; merrilly we patch along...
      See http://bugs.gnome.org/db/14/14704.html
      for gory details. Closes #14704.
      43ff0cdf
  18. 08 Aug, 2000 1 commit
  19. 18 Jul, 2000 1 commit
    • BST 2000  Austin Donnelly's avatar
      The gif save plugin normally asks the user if it's ok to crop the image if · 1218b2bb
      BST 2000 Austin Donnelly authored
      Tue Jul 18 23:34:34 BST 2000  Austin Donnelly  <austin@gimp.org>
      
      	* plugs-ins/common/gif.c: The gif save plugin normally asks the
      	    user if it's ok to crop the image if there are layers larger
          	    than the image size.  This isn't a good idea if we're running
          	    with run_mode == NON_INTERACTIVE.  Fix similar to that
          	    suggested by Bryan Livingston <bryan@cooltext.com> on
          	    gimp-developer mailing list.
      
         	* app/layer.c: Fix for Bug#17347: Scale Layer leaves artifacts.
      	    Basic problem is that scaling a layer when there's a selection
          	    active (eg there's a floating selection) doesn't invalidate
          	    the layer bounds.  Same problem with resizing a layer,
          	    although the bug report didn't mention that.  Fixed by changing
          	    layer_resize() and layer_scale_lowlevel() to call
          	    layer_invalidate_boundary() once done changing the layer.
      1218b2bb
  20. 23 Jun, 2000 1 commit
    • Matt Wilson's avatar
      allocate the tool's paint_core with g_new0. This prevents us from having · 74fdc62e
      Matt Wilson authored
      2000-06-22  Matt Wilson  <msw@redhat.com>
      
      	* app/paint_core.c (paint_core_new): allocate the tool's
      	paint_core with g_new0.  This prevents us from having cruft in
      	unused tools.  Systems with sensitive FPUs (Alpha) will raise
      	exception in the paint_core_cursor_update if paint_core->last{x,y}
      	are messy.
      
      	* app/bezier_select.c (tools_new_bezier_select)
      	* app/blend.c (blend_options_new)
      	* app/brightness_contrast.c (tools_new_brightness_contrast)
      	* app/bucket_fill.c (tools_new_bucket_fill)
      	* app/by_color_select.c (tools_new_by_color_select)
      	* app/color_balance.c (tools_new_color_balance)
      	* app/color_panel.c (color_panel_new)
      	* app/color_picker.c (tools_new_color_picker)
      	* app/crop.c (tools_new_crop)
      	* app/curves.c (tools_new_curves)
      	* app/ellipse_select.c (tools_new_ellipse_select)
      	* app/free_select.c (tools_new_free_select)
      	* app/fuzzy_select.c (tools_new_fuzzy_select)
      	* app/histogram_tool.c (tools_new_histogram_tool)
      	* app/hue_saturation.c (tools_new_hue_saturation)
      	* app/ink.c (tools_new_ink)
      	* app/iscissors.c (tools_new_iscissors)
      	* app/levels.c (tools_new_levels)
      	* app/magnify.c (tools_new_magnify)
      	* app/measure.c (tools_new_measure_tool)
      	* app/move.c (tools_new_move_tool)
      	* app/path_tool.c (tools_new_path_tool)
      	* app/posterize.c (tools_new_posterize)
      	* app/rect_select.c (tools_new_rect_select)
      	* app/resize.c (resize_widget_new)
      	* app/threshold.c (tools_new_threshold)
      	* app/transform_core.c (transform_core_new)
      	* app/xinput_airbrush.c (tools_new_xinput_airbrush): likewise (it
      	can only help and it really isn't slow.)
      
      	* app/color_area.c: #include <string.h> for memcpy declaration
      
      	* app/gimphelp.c: #include <string.h> for strlen declaration
      74fdc62e
  21. 14 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and · b8ee0c8c
      Michael Natterer authored
      2000-06-14  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* app/cursorutil.[ch]
      	* app/tools.c
      	* cursors/*: added lots of new cursors and removed old ones.
      
      	* app/gdisplay.[ch]: enabled the cursor setting parameters in
      	gdisplay_install_tool_cursor().
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.c
      	* app/color_picker.c
      	* app/crop.c
      	* app/disp_callbacks.c
      	* app/edit_selection.c
      	* app/eraser.c
      	* app/flip_tool.c
      	* app/ink.c
      	* app/iscissors.c
      	* app/magnify.c
      	* app/measure.c
      	* app/move.c
      	* app/paint_core.c
      	* app/rect_select.c
      	* app/text_tool.c
      	* app/transform_core.c: use the new cursors. Only the transform
      	tools are still using old cursors.
      
      	* app/layers_dialog.c: a tooltip for "Keep Trans."
      
      	* app/user_install.c: set the ctree's selection mode to BROWSE.
      b8ee0c8c
  22. 09 Jun, 2000 2 commits
    • Michael Natterer's avatar
      app/gdisplay.[ch] oops, my last commit caused a segfault. · 6fddfc29
      Michael Natterer authored
      2000-06-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.[ch]
      	* app/scroll.c: oops, my last commit caused a segfault.
      6fddfc29
    • Michael Natterer's avatar
      Cursor patch II: This is only the logic inside the cursor system and not · d0a551bb
      Michael Natterer authored
      2000-06-09  Michael Natterer  <mitch@gimp.org>
      
      	Cursor patch II:
      	This is only the logic inside the cursor system and not yet used.
      
      	* app/cursorutil.[ch]: [gimp]_change_win_cursor() take lots of
      	parameters now and compose cursors from up to three cursor
      	bitmaps/masks.
      
      	* app/gdisplay.[ch]: As a test, create a hardcoded example cursor
      	if "Cursor Mode" is set to "Tool Icon with Crosshair" in prefs.
      
      	* app/curves.c
      	* app/dialog_handler.c
      	* app/scroll.c: changed the calls to the win_cursor function.
      
      	* app/tools.[ch]: added a cursor and a toggle cursor to the ToolInfo
      	structure of all tools.
      
      	* app/toolsF.h: new ToolType TOOL_TYPE_NONE.
      
      	* app/gimpdnd.c
      	* app/interface.c: check for silly filenames in the file dnd
      	callback. Closes #13733.
      
      	* Makefile.am
      	* cursors/bucket_fill_small.xbm
      	* cursors/bucket_fill_small_mask.xbm
      	* cursors/crop_small.xbm
      	* cursors/crop_small_mask.xbm
      	* cursors/crosshair_small.xbm
      	* cursors/crosshair_small_mask.xbm
      	* cursors/ellipse_select_small.xbm
      	* cursors/ellipse_select_small_mask.xbm
      	* cursors/eraser_small.xbm
      	* cursors/eraser_small_mask.xbm
      	* cursors/free_select_small.xbm
      	* cursors/free_select_small_mask.xbm
      	* cursors/fuzzy_select_small.xbm
      	* cursors/fuzzy_select_small_mask.xbm
      	* cursors/intersect.xbm
      	* cursors/intersect_mask.xbm
      	* cursors/minus.xbm
      	* cursors/minus_mask.xbm
      	* cursors/move.xbm
      	* cursors/move_mask.xbm
      	* cursors/paintbrush_small.xbm
      	* cursors/paintbrush_small_mask.xbm
      	* cursors/pencil_small.xbm
      	* cursors/pencil_small_mask.xbm
      	* cursors/plus.xbm
      	* cursors/plus_mask.xbm
      	* cursors/rect_select_small.xbm
      	* cursors/rect_select_small_mask.xbm
      	* cursors/resize_small.xbm
      	* cursors/resize_small_mask.xbm
      	* cursors/zoom.xbm
      	* cursors/zoom_mask.xbm
      	* cursors/zoom_small.xbm
      	* cursors/zoom_small_mask.xbm: new files extracted from Tigert's
      	gimp-tool-cursors.xcf created at GimpCon.
      
      	Tigert, I'll commit the xcf as soon as I've added empty layers
      	with the names of the cursors that are missing.
      
      	* cursors/mouse.xbm
      	* cursors/mouse_mask.xbm: made it 32x32 to allow for cursor
      	composition.
      d0a551bb
  23. 07 Jun, 2000 2 commits
    • Sven Neumann's avatar
      call undo_push_qmask() before removing the channel since the callback will · fd4355bc
      Sven Neumann authored
      2000-06-08  Sven Neumann  <sven@gimp.org>
      
              * app/qmask.c: call undo_push_qmask() before removing the
              channel since the callback will set the qmask_state
              incorrectly otherwise. Fixes bug #13472.
      
              * app/undo.[ch]: code cleanup
      
              * plug-ins/common/gif.c: put save_comment into the values
              that are stored between calls to the GIF plug-in, so it
              remembers if the user wants to save the comment. Fixes
              bug #12755.
      fd4355bc
    • Manish Singh's avatar
      [patches from Daniel Egger] · 01577384
      Manish Singh authored
      * app/layers_dialog.c: Disable the "Add Layermask" menuentry
      for indexed images.
      
      * app/gimpimage.c: Leave gimp_image_add_layer_mask(...) after
      spitting out messages when trying to add a layermask to an
      indexed image.
      
      -Yosh
      01577384
  24. 06 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Makefile.am cursors/crosshair.xbm new files. · 5d43ca6c
      Michael Natterer authored
      2000-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* cursors/crosshair.xbm
      	* cursors/crosshair_mask.xbm: new files.
      
      	* app/cursorutil.[ch]
      	* app/gdisplay.[ch]
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: Started to add the new set of
      	consistent tool cursors. The crosshair one is the easy part
      	but I wanted to see a result :) The other two options in
      	the pref's cursor menu are still dummys.
      5d43ca6c
  25. 03 Jun, 2000 1 commit
  26. 30 May, 2000 1 commit
  27. 29 May, 2000 1 commit
    • Sven Neumann's avatar
      app/Makefile.am app/paint_core.c moved brush subsampling kernels into its · 9529e1e6
      Sven Neumann authored
      2000-05-29  Sven Neumann  <sven@gimp.org>
      
              * app/Makefile.am
              * app/paint_core.c
              * app/paint_core_kernels.h: moved brush subsampling kernels
              into its own header file and generated a slightly different
              kernel (using the new kernelgen tool, see below). The new
              kernel simulates a circular brush instead of a rectangular
              one and gives slightly different (lighter) results.
      
              * app/gimage_mask.c: when stroking a selection, offset the
              points by 0.5 to align the brushes with the pixel grid. This
              lets you create 1-pixel wide rectangles and ellipses.
      
              * tools/Makefile.am
              * tools/kernelgen.c: simple hack to generate subsampling
              kernels.
      9529e1e6
  28. 27 May, 2000 2 commits
    • People doing a 16 bpc version of gimp's avatar
      Sat May 27 04:27:36 EDT 2000 calvinw@mindspring.com · b09291f0
              * app/gimpimage.c
      	--Fixed Fujita Yuji's bug (reported 27May2000 to
      	gimp-developer) -larger than 64x64 brush and
      	selection mask crashes smudge/dodgeburn/convolve
      	This was a rowstrides bug in gimp_image_replace_image.
      b09291f0
    • Michael Natterer's avatar
      Libgimp cleanup part II (with a little help from Yosh who moved the CVS · 6fa33d68
      Michael Natterer authored
      2000-05-27  Michael Natterer  <mitch@gimp.org>
      
      	Libgimp cleanup part II (with a little help from Yosh
      	who moved the CVS files).
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdisplay_pdb.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimphelp_pdb.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimpparasite_pdb.c
      	* libgimp/gimpselection_pdb.c
      	* libgimp/gimpunit_pdb.c: new names of all files which contain
      	PDB wrappers.
      
      	* modules/Makefile.am
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h
      	* modules/gimpmodregister.[ch]: renamed.
      
      	* libgimp/gimpparasiteF.h
      	* libgimp/gimpparasiteP.h: removed because gimp.h had to include
      	the private header anyway.
      
      	* app/color_notebook.c
      	* app/color_select.c
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.c
      	* app/gimpbrushpipe.c
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.c
      	* app/gimpimage.h
      	* app/gimpparasite.[ch]
      	* app/gimprc.c
      	* app/image_new.c
      	* app/layer.c
      	* app/parasite_cmds.c
      	* app/parasitelist.[ch]
      	* app/plug_in.c
      	* app/procedural_db.c
      	* app/undo.c
      	* app/xcf.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpparasite.[ch]
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/common/gpb.c
      	* plug-ins/common/psp.c
      	* plug-ins/sel2path/sel2path.c
      	* po-libgimp/POTFILES.in
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
      6fa33d68
  29. 26 May, 2000 1 commit
    • Michael Natterer's avatar
      Final (1.2) libgimp namespace cleanup part I: · 863f7e1c
      Michael Natterer authored
      2000-05-26  Michael Natterer  <mitch@gimp.org>
      
      	Final (1.2) libgimp namespace cleanup part I:
      
      	* app/gimpbrushpipe.c
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.[ch]
      	* app/gimpparasite.[ch]
      	* app/gimprc.c
      	* app/image_new.c
      	* app/parasite_cmds.c
      	* app/parasitelist.[ch]
      	* app/parasitelistP.h
      	* app/plug_in.c
      	* app/undo.c
      	* app/xcf.c
      	* libgimp/color_display.h
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.c
      	* libgimp/gimpimage.c
      	* libgimp/gimpparasite.c
      	* libgimp/gimpprotocol.c
      	* libgimp/parasite.[ch]
      	* libgimp/parasiteF.h
      	* libgimp/parasiteP.h
      	* libgimp/parasiteio.[ch]
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gpb.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/xbm.c
      	* plug-ins/gap/gap_exchange_image.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/xjt/xjt.c: s/Parasite/GimpParasite/g,
      	                      s/parasite_*/gimp_parasite_*/g
      
      	* libgimp/gimpcompat.h: added the old names.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/parasite.pdb: dito and an ugly perl hack to work
      	around a substitution clash. Perl gurus, feel free to fix it.
      863f7e1c
  30. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  31. 12 May, 2000 2 commits
    • Sven Neumann's avatar
      enabled the (commented out) signal "invalidate_preview". · b101e7bc
      Sven Neumann authored
      2000-05-12  Sven Neumann  <sven@gimp.org>
      
      * gimpdrawable.c: enabled the (commented out) signal
        "invalidate_preview".
      
      * app/layers_dialog.c: connect to the "invalidate_preview"
        signal to catch changes that need to be shown in the layer
        previews. Synthetize an expose event when a layer changes.
      
        Expose events are optimzed away by GTK+ if the widget is not
        visible. Therefore, previews not visible in the layers_dialog
        are not redrawn when they invalidate. Later the preview gets
        validated by the image_preview in lc_dialog but is never
        propagated to the layer_pixmap. We work around this by using an
        additional flag "layer_pixmap_valid" so that the pixmap gets
        updated once the preview scrolls into sight.
      
        Fixes bugs #10549, #10300 and #8787.
      
      * app/channel.[ch]
      * app/layer.[ch]: code review and indentation
      
      
      --Sven
      b101e7bc
    • jaycox's avatar
      Copy the name, tatto and parasites of the bottom layer to the new merged · e2b33819
      jaycox authored
      
      
      	* app/gimpimage.c: Copy the name, tatto and parasites of the
      	bottom layer to the new merged layer in gimp_image_merge_layers.
      e2b33819
  32. 09 May, 2000 1 commit
    • jaycox's avatar
      new function image_map_clear that removes the preview without freeing the · af0c94ab
      jaycox authored
      
      	* app/image_map.[ch]: new function image_map_clear that removes
      	the preview without freeing the image_map.
      
      	* app/brightness_contrast.c
      	* app/color_balance.c
      	* app/curves.c
      	* app/hue_saturation.c
      	* app/levels.c
      	* app/posterize.c
      	* app/threshold.c: Add a call to image_map_clear in the
      	preview toggle button callback.  This makes the preview toggle
      	button behave as expected.
      
      	* app/histogram_tool: remove an unnecessary include.
      af0c94ab