1. 25 Dec, 1999 1 commit
    • Garry R. Osgood's avatar
      Season's Greetings! app/clone.c app/paint_core.c app/paint_core.h Updated · c60db90f
      Garry R. Osgood authored
      1999-12-25 Garry R. Osgood <gosgood@idt.net>
      Season's Greetings!
              * app/clone.c
              * app/paint_core.c
              * app/paint_core.h
              * MAINTAINERS
      MAINTAINERS: Updated my entry (it wasn't there ;)
      app/paint_core.[ch] supplied new PaintTool states to clone_paint_func() so that
      writes of temporary markings made directly to the window are not
      clobbered by buffered writes stemming from gdisplay_flush_xxx()
      routines. clone_tool_paint_func() has been modified to take advantage
      of these new states, retiring bug #2184 in a way that does not change
      user interface semantics. There are small additions to the PaintCore
      interface that do not affect clientele unaware of added semantics.
      These changes are detailed at http://idt.net/~gosgood/gimp-patch/patch03.html.
      c60db90f
  2. 22 Dec, 1999 1 commit
  3. 14 Dec, 1999 1 commit
  4. 22 Nov, 1999 1 commit
  5. 20 Nov, 1999 1 commit
  6. 14 Nov, 1999 2 commits
    • Sven Neumann's avatar
      plugged a memleak · dc3d7403
      Sven Neumann authored
              * app/ink.c: plugged a memleak
      
              * app/xinput_airbrush.c; make it compile w/o patch_xinput_airbrush
      
      --Sven
      dc3d7403
    • Michael Natterer's avatar
      app/airbrush.c app/apptypes.h app/brushes_cmds.c · 0c922cd3
      Michael Natterer authored
      1999-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/airbrush.c
      	* app/apptypes.h
      	* app/brushes_cmds.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/gimpbrushpipe.c
      	* app/paint_core.c
      	* app/patterns.h
      	* app/patterns_cmds.c
      	* tools/pdbgen/pdb/patterns.pdb: removed the GimpBrushP and
      	GPatternP types and use ordinary pointers instead.
      
      	The following stuff makes the "no_data" behaviour consistent. As a
      	side-effect it should make the gimp work when there are _really_ no
      	brushes/patterns/gradients.
      
      	* app/brush_select.c
      	* app/pattern_select.c: set the initial brush/pattern name to "No
      	Brushes/Patterns available" instead of "Active".
      
      	* app/devices.c: set the device contexts' brush/pattern/gradient
      	names if we started with no_data, so we find them on refresh.
      
      	* app/gimpbrushlist.c: set the name of the standard_brush to
      	"Standard".
      
      	* app/gimpcontext.c: don't replace the current
      	brush/pattern/gradient's name if the new one to be set is the
      	standard one. Together with the change in devices.c, this ensures
      	that we get what is set in devicerc. Minor fixes.
      
      	* app/gradient.c: changed gradients_init() to work like the other
      	data init functions. Only insert a default gradient in the
      	gradients list when the editor is opened (this means that the
      	gradients now behave like brushes/patterns when we start with
      	"no_data").
      	New function gradient_update() avoids tons of useless redraws of
      	all clist gradient previews whenever the gradient editor wants to
      	update it's large preview.
      
      	* app/gradient_select.c: don't segfault when the user tries to
      	drag from an empty gradient list.
      
      	* app/patterns.c: set the index of the standard_pattern to -1 to
      	indicate that it's not part of the pattern list.
      0c922cd3
  7. 13 Nov, 1999 1 commit
    • Sven Neumann's avatar
      app/airbrush.c app/convolve.c app/dodgeburn.c app/paint_options.h · d70a75c4
      Sven Neumann authored
              * app/airbrush.c
              * app/convolve.c
              * app/dodgeburn.c
              * app/paint_options.h
              * app/paintbrush.c
              * app/pencil.c
              * app/smudge.c
              * app/tool_options.c: cleaned up pressure sensitivity for paint
              tools. I had to rename Pressure to Rate in a few tools to avoid
              confusion with the Pressure option that applies to the brush.
      
              * app/gimplut.c: indentation, no changes
      
      --Sven
      d70a75c4
  8. 26 Oct, 1999 1 commit
  9. 26 Sep, 1999 1 commit
  10. 24 Sep, 1999 1 commit
  11. 09 Sep, 1999 2 commits
  12. 06 Sep, 1999 1 commit
  13. 02 Sep, 1999 1 commit
    • Manish Singh's avatar
      add gimpmath.h · 9fb081a7
      Manish Singh authored
      * libgimp/Makefile.am: add gimpmath.h
      
      * app/gtkwrapbox.[ch]
      * app/gtkhwrapbox.[ch]: wrapbox widget from gle
      
      * app/Makefile.am: added those files
      
      * app/interface.c: use an hwrapbox for the toolbar. Still not perfect
      yet, working on it.
      
      * app/gimpdrawable.c
      * app/about_dialog.c
      * app/airbrush.c
      * app/blend.c: some minor code cleanup
      
      -Yosh
      9fb081a7
  14. 01 Sep, 1999 3 commits
    • BST 1999 Adam D. Moss's avatar
      app/gradient.c app/color_transfer.c app/free_select.c app/lut_funcs.c · f4f0932d
      BST 1999 Adam D. Moss authored
      Wed Sep  1 22:28:09 BST 1999 Adam D. Moss <adam@gimp.org>
      
      	* app/gradient.c
      	* app/color_transfer.c
      	* app/free_select.c
      	* app/lut_funcs.c
      	* app/blob.c: s/#include <math.h>/#include "libgimp/gimpmath.h"/
      f4f0932d
    • Tor Lillqvist's avatar
      app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc · 6ef23d98
      Tor Lillqvist authored
      1999-09-01  Tor Lillqvist  <tml@iki.fi>
      
      * app/appenv.h
      * libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
      RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
      use them, too. Remove some commented-out old stuff in appenv.h.
      
      * libgimp/gimp.h: Include gimpmath.h.
      
      * libgimp/gimp.c (gimp_main): Win32: Don't install signal
      handlers, we can't do anything useful in the handler ourselves
      anyway (it would be nice to print out a backtrace, but that seems
      pretty hard to do, even if not impossible). Let Windows inform the
      user about the crash. If the plug-in was compiled with MSVC, and
      the user also has it, she is offered a chance to start the
      debugger automatically anyway.
      
      * app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
      <math.h>, as gimpmath.h includes it.
      
      * plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
      Remove all the duplicated definitions of G_PI and rint(). Use
      RINT() instead of rint().
      
      * app/app_procs.[ch]: app_exit() takes a gboolean.
      
      * app/batch.c
      * app/commands.c
      * app/interface.c: Call app_exit() with FALSE or TRUE.
      
      * app/main.c (on_error): Call gimp_fatal_error. (main): Don't
      install any signal handler on Win32 here, either.
      
      * app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
      the message and call MessageBox with it.  g_on_error_query doesn't
      do anything useful on Win32, and printf'ing a message to stdout or
      stderr doesn't do anything, either, in a windowing application.
      6ef23d98
    • EDT 1999 Adrian Likins's avatar
      app/gimpbrushpip.[ch] app/airbrush.c app/pencil.c fix pencil tool for use · 5e64804c
      EDT 1999 Adrian Likins authored
      Wed Sep  1 00:56:37 EDT 1999 Adrian Likins <adrian@gimp.org>
      
              * app/gimpbrushpip.[ch]
              * app/airbrush.c
              * app/pencil.c
              * app/paintbrush.c: fix pencil tool for use with
                 pixmaps again
      5e64804c
  15. 31 Aug, 1999 1 commit
  16. 26 Aug, 1999 2 commits
    • Tor Lillqvist's avatar
      Add a flags field and corresponding type ToolFlags to PaintCore. The only · 387002c0
      Tor Lillqvist authored
      1999-08-27  Tor Lillqvist  <tml@iki.fi>
      
      * app/paint_core.h: Add a flags field and corresponding type
      ToolFlags to PaintCore. The only flag bit defined so far is
      TOOL_CAN_HANDLE_CHANGING_BRUSH, which those tools who don't mind
      if the brush changes while painting (as in the case of pixmap pipe
      brushes).
      
      * app/paint_core.c: Test above flag before calling the brush's
      select_brush method.
      
      * app/airbrush.c
      * app/paintbrush.c
      * app/pencil.c: Set above flag.
      
      * app/makefile.{cygwin,msc}: Add latest additions.
      387002c0
    • Tor Lillqvist's avatar
      Overhaul of pixmap brushes and pipes: No separate pixmap pipe · 868bdfff
      Tor Lillqvist authored
      brush tool any longer. The paintbrush, airbrush and pencil
      tools, which already knew how to handle the single-pixmap
      brushes now also handle the pipes as well.
      
      * app/pixmapbrush.{h,c}
      * app/gimpbrushpixmap.{h,c}: Removed these files.
      
      * app/Makefile.am
      * app/makefile.{cygwin,msc}: Remove from here, too.
      
      * app/gimpbrushpipe.{h,c}: Total overhaul.
      
      * app/paint_core.h
      * app/apptypes.h: Some more types moved to apptypes.h
      
      * app/context_manager.c
      * app/tool_options.c
      * app/tools.c
      * app/toolsF.h: Remove PIXMAPBRUSH tool.
      
      * app/gimpbrush.h: New method: select_brush. Used to change the
      brush in paint_core, for pipe brushes.
      
      * app/gimpbrush.c: Add gimp_brush_select_brush, which is dummy for
      the normal brushes (returns the same brush).
      
      * app/paint_core.c: Call the brush's select_brush method to get a
      potential new brush before calling the paint_func.
      
      * app/gimpbrushlist.c: Various changes related to the pixmap and
      pipe overhaul.
      
      * app/airbrush.c
      * app/pencil.c: Reorder code a bit in the tool motion function to
      avoid executing unnecessary code in the case of a pixmap brush.
      
      Other changes in the same commit:
      
      * app/install.c: Make quote_spaces extern.
      
      * app/appenv.h: Declare it.
      
      * libgimp/gimpui.def: Add missing entry points.
      
      * libgimp/makefile.{cygwin,msc}: Add missing objects to gimpui.
      868bdfff
  17. 22 Aug, 1999 1 commit
  18. 19 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new file containing the dnd data definitions. · 311c83b0
      Michael Natterer authored
      1999-08-19  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/gimpdnd.h: new file containing the dnd data definitions.
      
      	* app/disp_callbacks.[ch]
      	* app/interface.c: drop layers on the toolbox to create a new
      	image and on the display to copy it to the image's layer stack.
      
      	* app/layers_dialog.c: drop layer on the "New" button to create an
      	empty layer with the dropped layer's properties, to "Duplicate" to
      	duplicate it and on the trashcan to delete it.
      	Thanks to Andy for the ultra-cool dnd preview pixmap patch.
      
      	* app/layer.[ch]
      	* app/undo.c: renamed layer_mask() to layer_get_mask(). Prototyped
      	some function headers.
      
      	* app/disp_callbacks.c: Wheelmouse stuff: Shift+wheel scales the
      	display.
      
      	* app/airbrush.c
      	* app/eraser.c
      	* app/paint_options.h
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/tool_options.c: moved the "Incremental" toggle to the
      	PaintOptions structure because it is used more often now.
      311c83b0
  19. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
  20. 13 Aug, 1999 2 commits
    • Manish Singh's avatar
      add pixmaps/dropper.xpm to EXTRA_DIST · 374e55bc
      Manish Singh authored
      * Makefile.am: add pixmaps/dropper.xpm to EXTRA_DIST
      
      * app/appenv.h: minor formatting changes
      
      * app/channel.c: #include "gdisplay.h"
      
      * app/color_transfer.c
      * app/dodgeburn.c
      * app/gdisplay.c
      * app/iscissors.c
      * app/paint_core.c: remove extra SQR and ROUND definitions
      
      * app/flip_tool.c: hackaround the flip tool options constant problem
      
      * app/flip_tool.[ch]: use InternalOrientationType for flip_tool_flip
      prototype
      
      * app/interface.c: use GTK_LABEL case in gtk_label_set_justify
      
      * plug-ins/common/mkgen.pl
      * plug-ins/common/plugin-defs.pl: add @extra EXTRA_DIST processing
      
      -Yosh
      374e55bc
    • Adrian Likins's avatar
      app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c · 29709cb9
      Adrian Likins authored
      Fri Aug 13 16:39:25 1999 Adrian Likins <alikins@redhat.com>
      
              * app/airbrush.c
              * app/paintbrush.c
              * app/pencil.c
              * app/pixmapbrush.c
              * app/pixmapbrush.h
      
              Added support for pixmap brushes to airbrush, pencil,
              and paintbrush. Merging this into paintbrush makes
              the pixmaptool itself kind of useless at the moment,
              but that will change ;->
      
              Still a few rough edges here, but its mostly there.
              I still need to make the "incremental" button for
              the tools to accurately reflect that pixmap always
              uses this mode.
      
              * app/eraser.c
              * app/eraser.h
              * app/tools_cmds.c
              * tools/pdbgen/pdb/tools.pdb
      
              Applied patch from  Shuji Narazaki <narazaki@gimp.org>
              to implement the anti-eraser. Neat.
      29709cb9
  21. 04 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will · 933b8661
      Tor Lillqvist authored
      	* app/appenv.h: Define ROUND(), RINT(), SQR(), G_PI and
      	G_PI_4. The latter two will presumably eventually be in
      	GLib. RINT() calls rint() if we have it, otherwise adds 0.5 and
      	calls floor().
      
      	* app/*.c: Remove the multiple identical definitions of M_PI. Use
      	G_PI instead of M_PI. Remove ROUND() and rint() definitions. Use
      	RINT() instead of rint().
      933b8661
  22. 28 Jul, 1999 1 commit
    • Manish Singh's avatar
      add sample_colorize and curve_bend defs · 7cb07a90
      Manish Singh authored
      * plug-ins/common/plugin-defs.pl: add sample_colorize and
      curve_bend defs
      
      * libgimp/color_selector.h: minor consistency cleanup
      
      * libgimp/gimpchainbutton.[ch]: use new style gtk object helper macros
      
      * libgimp/gimpfileselection.c
      * libgimp/gimpmatrix.h: minor cleanup
      
      * libgimp/gimpintl.h: resync with gnome-i18n.h
      
      
      * libgimp/color_display.h
      * app/gimp.sym
      * app/gdisplay_color.[ch]
      * app/app_procs.c
      * app/gdisplay.h
      * app/image_render.c: color display transformation code. Still
      unfinished, so it's not activated yet.
      
      * app/buildmenu.h: remove unused defines (PULLDOWN, POPUP, OPTION)
      
      * app/colormaps.[ch]
      * app/image_render.c: remove vestigal dithering stuff
      
      * app/convolve.h
      * app/gimpdrawable.h
      * app/gimpimage.h
      * app/lut_funcs.h
      * app/paint_funcs.h
      * app/plug_in.h: enum nick changes from Marc
      
      * app/channel_ops.c
      * app/crop.c
      * app/gdisplay.c
      * app/gimpimage.[ch]
      * app/move.c: s/([A-Z]+)_GUIDE/ORIENTATION_$1/
      
      * app/flip_tool.[ch]
      * app/shear_tool.[ch]: use ORIENTATION_* constants instead of our own
      
      * app/disp_callbacks.c: remove HORIZONTAL and VERTICAL #defines
      
      * app/general.h: enumified TOKEN_* symbols
      
      * app/lc_dialog.c
      * app/paint_funcs.c: remove unused variables
      
      * tools/pdbgen/lib.pl: autogen gimpenums.h (unfinished)
      
      * tools/pdbgen/stddefs.pdb: new std_orientation_enum, remove
      layer_mode shortcut since we've skipped it in app/
      
      * tools/pdbgen/pdb/brush_select.pdb
      * tools/pdbgen/pdb/brushes.pdb
      * tools/pdbgen/pdb/drawable.pdb
      * tools/pdbgen/pdb/gimage.pdb
      * tools/pdbgen/pdb/guides.pdb
      * tools/pdbgen/pdb/layer.pdb
      * tools/pdbgen/pdb/tools.pdb: reflect above enum changes, whitespace
      cleanups
      
      * tools/pdbgen/enums.pl
      * app/brush_select_cmds.c
      * app/brushes_cmds.c
      * app/color_cmds.c
      * app/drawable_cmds.c
      * app/gimage_cmds.c
      * app/layer_cmds.c
      * app/procedural_db_cmds.c
      * app/tools_cmds.c: reflect pdb and enum nick changes above
      
      -Yosh
      7cb07a90
  23. 27 Jul, 1999 2 commits
  24. 24 Jul, 1999 1 commit
    • Michael Natterer's avatar
      set the "preserve" flag to FALSE. This way the tool doesn't have to detect · 9b9f3d10
      Michael Natterer authored
      1999-07-24  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_picker.[ch]: set the "preserve" flag to FALSE. This
      	way the tool doesn't have to detect drawable changes by itself.
      	Misc stuff like below.
      
      	* app/gradient.c: heavily changed the beast:
      
      	- Reviewed the whole ui code and indented it.
      	- Standard ui for all sub-dialogs.
      	- Handle the wm delete event of the sub-dialogs.
      	- "+" and "-" pixmaps instead of "zoom in" and "zoom out".
      	- Made the gradient preview resizable again.
      	- i18n fixes.
      	- Removed some code duplication in the sub-dialogs' cancel/delete
      	  callbacks.
      	- Grouped functions together and commented the groups and their
      	  prototypes.
      	- Didn't change any core functionality (just the ui).
      	- Please don't kill me, but I couldn't resist to indent most
      	  functions ;-)
      
      	* app/info_dialog.c: no need to call gettext() on a string which
      	was passed to a function (it's the job of the caller).
      
      	* app/ink.c: grab the pointer in the blob preview.
      
      	* app/palette.c: standardized the ui of the dialog and all it's
      	sub-dialogs, function header indentation, namespace cleanup.
      9b9f3d10
  25. 22 Jul, 1999 2 commits
    • BST 1999 Andy Thomas's avatar
      ./app/clone.c ./app/airbrush.c ./app/bezier_select.c ./app/paintbrush.c · 954151d6
      BST 1999 Andy Thomas authored
      
      Fri Jul 23 00:01:05 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* ./app/clone.c
      	* ./app/airbrush.c
      	* ./app/bezier_select.c
      	* ./app/paintbrush.c
      	* ./app/eraser.c
      	* ./app/convolve.c
      	* ./app/smudge.c
      	* ./app/dodgeburn.c
      	* ./app/pencil.c
      	* ./app/paint_core.c
      
      	Better stroking of paths.
      	First point in stroke path is now correctly painted (try stroking
      	with a brush spacing of > 100.0 in gimp 1.0.x).
      	Fixed problem in paint_core_interpolate() where points were
      	missed in some cases.
      	(BTW for those who do not know the brush spacing means as follows:-
      	A spacing of 100.0 means brush strokes are placed next to each other
      	exactly with no gaps or overlaps. A spacing of 200.0 means only
      	alternate spaces are filled with the brush paint. A setting of 50.0
      	means the brush paints positions overlap by 50% of the brush width.
      	So 100.0 corresponds to exactly the brush width! It took me
      	ages to figure this simple thing out!)
      954151d6
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      
      	* app/menus.c: reordered <Image>/Select.
      
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/container_border_width/container_set_border_width/g,
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	strlen(x).
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
      a4c1e8a5
  26. 20 Jul, 1999 1 commit
  27. 19 Jul, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c · 6c28319b
      BST 1999 Andy Thomas authored
      
      Mon Jul 19 23:40:56 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/indicator_area.c
      	* app/paths_dialog.c
      	* app/tools_cmds.c
      	* app/airbrush.c
      	* app/airbrush.h
      	* app/bezier_select.c
      	* app/paintbrush.c
      	* app/paintbrush.h
      	* app/clone.c
      	* app/clone.h
      	* app/eraser.c
      	* app/eraser.h
      	* app/convolve.c
      	* app/convolve.h
      	* app/smudge.c
      	* app/smudge.h
      	* app/dodgeburn.c
      	* app/dodgeburn.h
      	* app/internal_procs.c
      	* plug-ins/sel2path/sel2path.c
      	* tools/pdbgen/pdb/tools.pdb
      	* tools/pdbgen/enums.pl
      
      	1) Fixed the brushpreview popup problem where it remained onscreen
                 if the mouse button was released in another GTK window that accepted
      	   mouse events.
      
      	2) Selection to path now works on all types of images (it should have
      	   anyway).
      
      	3) Fixed PDB so you can once again use the PDB interfaces to the clone
      	   and airbrush tools.
      
      	4) PDB Function to add a path to an image now adds it correctly.
      
      	5) airbrush/paintbrush/clone/eraser/convolve New PDB functions that
                 use the options dialogs settings (or sane defaults if option dialog
                 not present)
      
      	6) Added PDB functions for Smudge & DodgeBurn tools.
      
      	7) Path stroke command (from the LCP dialog) can now use any of the
      	   painting tools (airbrush/paintbrush/clone/eraser/convolve/smudge/
                 dodgeburn except ink). Just have the tool selected when you
      	   press the stroke button.
      6c28319b
  28. 14 Jul, 1999 1 commit
  29. 09 Jul, 1999 1 commit
  30. 06 Jul, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/blend.c app/bucket_fill.c app/clone.c app/convolve.c · 1058f41d
      Michael Natterer authored
      1999-07-06  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              * app/airbrush.c
              * app/blend.c
              * app/bucket_fill.c
              * app/clone.c
              * app/convolve.c
              * app/dodgeburn.c
              * app/eraser.c
              * app/ink.c
              * app/paintbrush.c
              * app/pencil.c
              * app/smudge.c: get opacity/paint mode from the current context
              (currently always the user context).
      
              * app/gimage_mask.c: the "stroke" command uses the paintbrush's
              settings if the current context is the user context and we are in
              per-tool paint options mode.
      
              * app/context_manager.[ch]
              * app/paint_options.h
              * app/preferences_dialog.c
              * app/tool_options.c
              * app/tools.c: moved the global/per-tool paint options switching
              to the context manager. The tool options themselves only contain
              the widgets for them now. This should fix the segfaults happening
              in per-tool mode.
      	Removed the disclaimer from the prefs. dlg. as it seems to work
      	now. The impl. in the context manager however is still a hack.
      
              * app/brush_select.c
              * app/brushes_cmds.c
              * tools/pdbgen/pdb/brushes.pdb: same as above.
      
              * app/lc_dialog.c: minimal code reduction. No functionality changed.
      1058f41d
  31. 02 Jul, 1999 2 commits
    • Michael Natterer's avatar
      changed the tool toggle key to <Ctrl>. typo. · 8b50905a
      Michael Natterer authored
      1999-07-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/dodgeburn.c: changed the tool toggle key to <Ctrl>.
      	* app/tools.c: typo.
      8b50905a
    • Michael Natterer's avatar
      the Tool structure is now allocated by a common constructor which sets · a60b2c2f
      Michael Natterer authored
      1999-07-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all tools]: the Tool structure is now allocated by a common
      	constructor which sets default values and provides default tool
      	action functions. To get rid of much code duplication there should
      	be a object hierarchy of tools.
      
      	* app/context_manager.c
      	* app/tools.[ch]: create and destroy private contexts for the
      	paint tools on startup and exit. They are not used yet.
      
      	* app/interface.c
      	* app/menus.c
      	* app/tools.h: num_tools is now exported in tools.h
      
      	* app/commands.c
      	* app/gdisplay.c
      	* app/menus.c: made "Toggle Selection" a toggleable menu item.
      a60b2c2f