1. 10 Dec, 1999 1 commit
    • Garry R. Osgood's avatar
      app/gimpimage.c app/undo.c app/undo_types.h docs/undo.txt Changed sanity · fe6ee9d1
      Garry R. Osgood authored
      1999-12-10 Garry R. Osgood <gosgood@idt.net>
      	* app/gimpimage.c
      	* app/undo.c
              * app/undo_types.h
              * docs/undo.txt
              Changed sanity checks in undo_pop/free_layer_mask() to LAYER_MASK_ADD_UNDO
      	and LAYER_MASK_REMOVE_UNDO to be consistent with undo_push_layer_mask()
      	These now nvoke proper cleanup and release of GimpLayerMasks.
      	* docs/undo.txt: New file, an overview of undo logic written by
      	Austin Donnelly
      	* app/undo.c
      	* app/undo_types.h
      	* app/gimpimage.c : Introduced a new UndoType, UNDO_NULL, which maps
      	to zero, introducing that value into the enumerated types. Use the
              type to signal type unknown/error/untyped conditions.
      	Full patch documentation at
  2. 30 Nov, 1999 1 commit
  3. 24 Nov, 1999 1 commit
  4. 05 Nov, 1999 1 commit
    • Sven Neumann's avatar
      when moving layers/masks freeze the undo after the first move to avoid · 558271ff
      Sven Neumann authored
              * app/edit_selection.c: when moving layers/masks freeze the undo
              after the first move to avoid that each and every small movements
              puts an undo on the stack. Significantly speeds up layer moves
              and especially the undo of a layer move.
              * app/gdisplay.h: correct rounding errors
              * app/gimpimage.c: correctly display floating selections in the
              composite_preview instead of ignoring them
              * app/channels_dialog.c
              * app/layers_dialog.c
              * app/lc_dialog.c: s/gtk_widget_draw/gtk_widget_queue_draw/
  5. 28 Oct, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/gimpimage.c · e5528e6c
      BST 1999 Andy Thomas authored
      Thu Oct 28 23:22:34 BST 1999 Andy Thomas <alt@gimp.org>
      	* app/gimpimage.c
      	Fixed memory leak with image is deleted.
      	* plug-ins/common/jpeg.c
      	Fixed the way the plugin added layers. Preview stuff does not now
      	get corrupted.
  6. 26 Oct, 1999 1 commit
  7. 25 Oct, 1999 1 commit
  8. 17 Oct, 1999 1 commit
  9. 13 Oct, 1999 1 commit
  10. 01 Oct, 1999 3 commits
    • EDT 1999  Austin Donnelly's avatar
      Factored out common code from gimp_image_{raise,lower}_layer and · 97140d8f
      EDT 1999 Austin Donnelly authored
      Fri Oct  1 19:05:04 EDT 1999  Austin Donnelly  <austin@gimp.org>
      	* app/gimpimage.c: Factored out common code from
      	    gimp_image_{raise,lower}_layer and
      	    gimp_image_{raise_layer_to_top,lower_layer_to_bottom}.  They
      	    now call gimp_image_position_layer() to do the real work.
      	* app/gimpimage.h: gimp_image_position_layer() takes extra arg to
      	    tell whether an undo should be pushed.
      	* app/layers_dialog.c: reposition layer with undo.
      	* app/undo.c: new undo type for layer reposition.  Layer rename
      	    shouldn't dirty and clean the image twice!
      	* app/undo.h: prototype for undo_push_layer_reposition().
      	* app/undo_types.h: LAYER_REPOSITION_UNDO type.
    • Austin Donnelly's avatar
      don't want sub-undo type undo_push_channel() takes ADD or REMOVE type · 4b4d3934
      Austin Donnelly authored
      Fri Oct  1 15:18:34 1999  Austin Donnelly  <and1000@research.att.com>
      	* app/channel.h: don't want sub-undo type
      	* app/gimpimage.c: undo_push_channel() takes ADD or REMOVE type
      	* app/undo.c: undo_push_channel() takes type.  More specific
      	    CHANNEL_{ADD,REMOVE}_UNDO types.
      	* app/undo.h: undo_push_channel() prototype.
      	* app/undo_types.h: More specific CHANNEL_{ADD,REMOVE}_UNDO types.
    • Austin Donnelly's avatar
      comment typo fix, plus add %D* to default image-title-format string, so · 11409e97
      Austin Donnelly authored
      Fri Oct  1 12:46:12 1999  Austin Donnelly  <austin@gimp.org>
      	* gimprc.in: comment typo fix, plus add %D* to default
      	    image-title-format string, so people get a '*' in the titlebar
      	    if their image is dirty.
      	* app/fileops.c: initialise filename before using it.
      	* app/gdisplay.c: empty parameter list () is K&R - should be
      	    stronger (void) in ANSI C.
      	* app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions
      	    removed - no one uses them anyway.  Parasite undo type is
      	    proper parasite undo type, not MISC_UNDO.
      	* app/gimpdrawableP.h: drawable dirty bit removed.
      	* app/gimpimage.c: don't change the resolution if there's no
      	    difference from the old one.  Call gdisplay_shrink_wrap() to
      	    re-calculate scale factors and refresh the display on
      	    resolution change.  Layer undo doesn't have sub-types
      	    anymore, uses main UndoType instead.
      	* app/layer.h: Remove LayerUndoType
      	* app/qmask.c: fix qmask undo so it actually works.
      	* app/undo.h: new types for undo_push_layer{,_mask} and
      	* app/undo.c: change way group boundaries are represented:
      	    each Undo has a group_boundary boolean set to TRUE if this is
      	    the start or the end of a group, and the type of the Undo is
      	    the group's type.  Within a group, each Undo keeps its own
      	    type.  This allows pop funcs and free funcs to do
      	    type-specific things (eg needed by layer and channel stuff).
      	    Don't maintain per-drawable dirty flags anymore.   Floating
      	    sel to layer and layer rename now uses meaningful undo types.
      	* app/undo_types.h: more specific undo types:
      	* app/undo_history.c: oops - undo stack was being placed into gtk
      	    list in wrong order.
      	* app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO
      	    rather than MISC_UNDO.
      	* app/layers_dialog.c: better tagging of undo types
  11. 29 Sep, 1999 1 commit
  12. 23 Sep, 1999 1 commit
  13. 20 Sep, 1999 1 commit
    • EDT 1999  Austin Donnelly's avatar
      Honest, guv, it's not a feature - it's a tightly integrated package of · bf8db4ad
      EDT 1999 Austin Donnelly authored
      Mon Sep 20 12:51:30 EDT 1999  Austin Donnelly  <austin@gimp.org>
      	Honest, guv, it's not a feature - it's a tightly integrated
      	package of undo system cleanups and fixes.
      	NEW FILES:
      	* app/undo_history.c: window showing recent undo (and redo) steps
      	* app/undo_types.h: broken out of undo.h to fix circular includes.
      	* app/Makefile.am: compile undo_history.c
      	* app/channel.h: use enum for channel undo type, not just magic
      	* app/layer.h: same for layer undos.
      	* app/commands.c: edit_show_undo_history_cmd_callback() function to
      	    pull up undo history window.
      	* app/commands.h: prototype for above.
      	* app/gdisplay.c: make undo / redo menu items sensitive according
      	    to whether they would do anything.  Would be easy to change
      	    the text to say what would be undone/redone, but I don't know
      	    the GTK.
      	* app/gimpimage.c: new signal emitted by gimage:
      	    UNDO_EVENT. gimp_image_undo_event() function to emit it.
      	* app/gimpimage.h: prototype for above.
      	* app/gimpimageP.h: pushing_undo_group member is now an undo_type,
      	    not an int.  Keep undo history widget here too (if created).
      	* app/menus.c: add "Edit/Undo history..." to image menu.
      	* app/undo.c: new types: enums undo_type and undo_state rather than
      	    ints and magic numbers.  All undo_pop_* and undo_free_*
      	    functions made static.  New static function
      	    undo_type_to_name().  Issue undo event signals on various
      	    important events (eg undo pushed, undo popped etc).
      	    undo_push() now takes a "dirties_image" arg to say whether
      	    image should be dirtied.  Layer moves now dirty the image.  A
      	    couple of g_return_if_fails () on undo_pop and undo_redo to
      	    assert we're not in the middle of an undo group.
      	    undo_get_{undo,redo}_name() to peek at names of top items on
      	    undo and redo stacks resp.   undo_map_over_{undo,redo}_stack()
      	    to run a function for each item or group on stack.  Layer and
      	    channel undos use symbolic names rather than 0 or 1.  Array
      	    mapping undo types to names.
      	* app/undo.h: split out undo types to undo_types.h.  Prototypes
      	    for functions described above.  undo_event_t enum.
      	    undo_history_new() prototype lives here too.
      	Random other fixes:
      	* app/gimpdrawable.c
      	* app/image_render.c: default labels in switches to keep egcs happy.
      	* app/nav_window.c: some fixes to (sort of) cope with image res !=
      	    screen res.  Still needs work to handle non-square pixels
      	* app/paths_dialog.c: bad idea to call gimp_image_dirty()
      	    directly.  Even though it's currently commented out.
  14. 26 Aug, 1999 1 commit
    • CDT 1999 Shawn T. Amundson's avatar
      Added new files, the UI independant part of new image dialog. · c6eec632
      CDT 1999 Shawn T. Amundson authored
      Wed Aug 25 02:40:39 CDT 1999 Shawn T. Amundson <amundson@gimp.org>
              * app/image_new.[ch]: Added new files, the UI independant part of
                new image dialog.
              * app/file_new_dialog.[ch]: uses image_new stuff now.  Alot
                changed.  No UI changed.  Different behavior is a bug, as
                this is only for UI separation.
              * app/gimpimage.[ch]: Added gimp_image_get_width () and
                gimp_image_get_height ().
              * app/global_edit.c: Call a function in image_new instead of
                file_new_dialog for updating the status of the cut buffe.
  15. 23 Aug, 1999 1 commit
    • EDT 1999  Austin Donnelly's avatar
      Dirty flag now correct in all cases. Can be displayed in image window · 0a7dca91
      EDT 1999 Austin Donnelly authored
      Mon Aug 23 10:15:32 EDT 1999  Austin Donnelly  <austin@gimp.org>
      	Dirty flag now correct in all cases.  Can be displayed in image
      	window title too.  See NOTE near gimp_image_dirty() for details.
      	* app/fileops.c: gimp_image_clean_all() after reverting an image.
      	* app/gdisplay.c: register handlers for gimage dirty and clean
      	    signals to update image title.  New image-title-format
      	    expansion: %Dx expands to x if the image is dirty.
      	* app/gdisplay_ops.c: gimage->dirty flags != 0 is the correct
      	    condition to test to see if an image is dirty.
      	* app/gimpdrawable.c: gimp_image_dirty() should never be called
      	    except from an undo_push_* function.  Call
      	    undo_push_cantundo() if you want to dirty the image but can't
      	    be bothered writing an undo handler (be ashamed of yourself!).
      	* app/gimpimage.c: new gimage signal: clean.  Emitted when an undo
      	    operation takes place.  Gimage changes when either dirty or
      	    clean is emitted, so if you need to update previews etc, look
      	    for both!  Move group_count into gimage structure, since
      	    leaving it as a static in undo.c is bad if two undo groups are
      	    started on different images at the same time.  More changes
      	    of gimp_image_dirty() to undo_push_cantundo()
      	    (parasite-related, plus layer moves).  See the NOTE on dirty
      	    counter near gimp_image_dirty() for the full story.
      	    gimp_image_dirty() and gimp_image_clean() simplified - counter
      	    can go negative.
      	* app/gimpimageP.h: group_count moved from undo.c
      	* app/layers_dialog.c: push undo for layer name change, rather
      	    than dirtying the image.
      	* app/undo.c: layer rename undo functions
      	    added. undo_push_cantundo() convenience functions added.
      	    group_count made per-gimage since everything else is.  When
      	    blowing away redo stack, make image infinitely dirty if redo
      	    info contained file save point.
      	* app/undo.h: added undo_push_layer_rename() and
      	* TODO: added idea for undo history window.
  16. 22 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/color_area.[ch] app/color_panel.[ch] enabled dnd for colors · 1e08aa1e
      Michael Natterer authored
      1999-08-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/color_area.[ch]
      	* app/color_panel.[ch]
      	* app/gimpdnd.[ch]: enabled dnd for colors (compatible with the
      	standard gtk/gnome color dnd). The color selection is now invoked
      	on a real click, not on button_down to avoid confusion with dnd.
      	* app/channels_dialog.c
      	* app/disp_callbacks.c
      	* app/interface.c
      	* app/layers_dialog.c: minor dnd updates/fixes.
      	* app/channel.[ch]
      	* app/channel_pvt.h
      	* app/docindex.[ch]
      	* app/docindexif.[ch]
      	* app/drawable.[ch]
      	* app/floating_sel.c
      	* app/gimage.[ch]
      	* app/gimage_mask.c
      	* app/gimpdrawable.[ch]
      	* app/gimpdrawableP.h
      	* app/gimpimage.[ch]
      	* app/gimpimageP.h
      	* app/layer.[ch]
      	* app/layer_pvt.h
      	* app/undo.c
      	* app/xcf.c: wanted to do some s/int/gboolean/ in the layer files
      	where appropriate and found myself spending the whole night doing
      	a big code review for layers/channels/drawables/images:
      	s/int/gboolean/, s/<type>/g<type>/, lots of indentation, removed
      	some old global variables and deprecated functions, #include
      	cleanups, proper prototypes, copyright headers, ...
  17. 21 Aug, 1999 1 commit
    • BST 1999  Adam D. Moss's avatar
      Preview layers need to be alpha-padded, since they're not on the bottom of · 24032473
      BST 1999 Adam D. Moss authored
      Sat Aug 21 16:53:17 BST 1999  Adam D. Moss  <adam@gimp.org>
      	* plug-ins/common/jpeg.c:  Preview layers need to be alpha-padded,
      	since they're not on the bottom of the stack.  That's a GIMP rule.
      	Plus... use new API functions gimp_image_{freeze,thaw}_undo() to avoid
      	the dilemma of either consuming a squillion superfluous tiles or
      	clobbering the whole undo stack.
      	* app/gimage.h
      	* app/gimage_cmds.c
      	* app/gimpimage.c
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c: New API functions
      	gimp_image_{freeze,thaw}_undo()	to avoid the above twin	evils.
      	Similar to gimp_image_{disable,enable}_undo() but without
      	clobbering the undo stack (I would have simply changed the latter,
      	but too many plugins seem to rely on that behaviour).  See the PDB
      	docs for slightly more information.
  18. 20 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new file. Contains a function which creates dnd preview · 70407d28
      Michael Natterer authored
      1999-08-20  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/Makefile.am
      	* app/gimpdnd.c: new file. Contains a function which creates dnd
      	preview icons for all kinds of drawables.
      	* app/gimpdnd.h: added the new dnd types.
      	* app/channels_dialog.c: same dnd functions as in the layers
      	dialog. Fixed channels_dialog_flush(). Code cleanup.
      	* app/layers_dialog.c: enabled dnd for layer masks.
      	* app/disp_callbacks.c
      	* app/interface.c: dnd code generalization. The toolbox and the
      	display accept drop of any kind of drawable now.
      	* app/gimage.h
      	* app/gimpimage.[ch]: new function gimp_image_position_channel().
      	* app/layer.[ch]: new function layer_mask_get_layer().
  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
      	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.)
  20. 07 Aug, 1999 1 commit
  21. 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
      * 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
  22. 27 Jul, 1999 1 commit
    • Michael Natterer's avatar
      app/commands.c app/desaturate.[ch] no need to pass the image as a void · acffb96f
      Michael Natterer authored
      1999-07-27  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/commands.c
      	* app/desaturate.[ch]
      	* app/equalize.[ch]: no need to pass the image as a void pointer
      	to desaturate and equalize.
      	* app/gimage.h
      	* app/gimpimage.[ch]: new function gimp_image_position_layer().
      	* app/layers_dialog.c: move layers with drag'n'drop.
  23. 19 Jul, 1999 1 commit
  24. 14 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin · fe1cc678
      Tor Lillqvist authored
      	* app/makefile.cygwin
      	* app/makefile.msc
      	* plug-ins/makefile.cygwin
      	* plug-ins/makefile.msc
      	* modules/makefile.cygwin
      	* modules/makefile.msc
      	* tools/gcg/makefile.cygwin: Various updates. GCC-compiled DLL
      	name change.
      	* app/context_manager.c: Include paint_options.h for prototype.
      	* app/gimpimage.c (gimp_image_initialize_projection): Break out of
       	loop as soon as possible.
      	* app/menus.c (menus_last_opened_cmd_callback): Check if referring
       	to entry not in list.
      	* app/module_db.c (valid_module_name): (Win32) Require module DLL
       	names to include name of compiler built with.
      	* app/paths_dialog.c (paths_draw_segment_points): No use to draw
       	lines if we have less that two points.
      	* app/qmask.c: Include stdio.h and floating_sel.h.
      	* libgimp/makefile.cygwin: New file.
      	* libgimp/Makefile.am:  Distribute above file.
      	* libgimp/gimp.def: Update.
      	* libgimp/gimpenv.c (gimp_directory): Don't warn about missing
       	home directory on Win32, it is perfectly natural.
      	* plug-ins/sel2path/global.h: Bypass unused declarations, some
      	of which clash with functions in MSVCRT.
      	* plug-ins/sel2path/math.c
      	* modules/colorsel_water.c: Define M_PI if necessary.
      	* plug-ins/sel2path/sel2path.c: Include config.h and
       	glib.h. Define rint() if needed.
      	* plug-ins/sel2path/vector.c: Include glib.h (for hypot() renaming
       	on Win32; In the MS C runtime, as hypot() is non-ANSI, it's called
       	_hypot(), sigh).
      	* plug-ins/sinus/sinus_logo.h: Use indexed format, it is easier on
       	some compilers than the huge string.
  25. 09 Jul, 1999 1 commit
  26. 07 Jul, 1999 1 commit
    • Seth Burgess's avatar
      Added Qmasks 7-6-99 <sjburges@gimp.org> · 7058d4c6
      Seth Burgess authored
       	* pixmaps/qmasknosel.xpm
              * pixmaps/qmasksel.xpm: Ugly pixmaps that tigert promised to replace
              * app/channel.[ch]
              * app/channel_cmds.c : made some of the private structures accessible
                through exported functions to keep things a bit clean
              * app/interface.c
              * app/gdisplay.[ch]
              * app/gimpimageP.h
              * app/gimpimage.[ch]
              * app/undo.[ch]: added qmasks
              * app/Makefile.am
              * app/qmask.[ch]: added new files for qmask support
              * tools/pdbgen/pdb/channel.pdb: changed some channel stuff to keep
                things a bit more private
  27. 29 May, 1999 1 commit
    • Manish Singh's avatar
      configure.in removed tips files, AC_SUBST GIMP_PLUGINS and GIMP_MODULES so · f2622e54
      Manish Singh authored
      * configure.in
      * Makefile.am: removed tips files, AC_SUBST GIMP_PLUGINS and
      GIMP_MODULES so you can easily skip those parts of the build
      * acinclude.m4
      * config.sub
      * config.guess
      * ltconfig
      * ltmain.sh: libtool 1.3.2
      * app/fileops.c: shuffle #includes to avoid warning about MIN and
      [ The following is a big i18n patch from David Monniaux
        <david.monniaux@ens.fr> ]
      * tips/gimp_conseils.fr.txt
      * tips/gimp_tips.txt
      * tips/Makefile.am
      * configure.in: moved tips to separate dir
      * po-plugins: new dir for plug-in translation files
      * configure.in: add po-plugins dir and POTFILES processing
      * app/boundary.c
      * app/brightness_contrast.c
      * app/by_color_select.c
      * app/color_balance.c
      * app/convert.c
      * app/curves.c
      * app/free_select.c
      * app/gdisplay.c
      * app/gimpimage.c
      * app/gimpunit.c
      * app/gradient.c
      * app/gradient_select.c
      * app/install.c
      * app/session.c: various i18n tweaks
      * app/tips_dialog.c: localize tips filename
      * libgimp/gimpunit.c
      * libgimp/gimpunitmenu.c: #include "config.h"
      * plug-ins/CEL
      * plug-ins/CML_explorer
      * plug-ins/Lighting
      * plug-ins/apply_lens
      * plug-ins/autostretch_hsv
      * plug-ins/blur
      * plug-ins/bmp
      * plug-ins/borderaverage
      * plug-ins/bumpmap
      * plug-ins/bz2
      * plug-ins/checkerboard
      * plug-ins/colorify
      * plug-ins/compose
      * plug-ins/convmatrix
      * plug-ins/cubism
      * plug-ins/depthmerge
      * plug-ins/destripe
      * plug-ins/gif
      * plug-ins/gifload
      * plug-ins/jpeg
      * plug-ins/mail
      * plug-ins/oilify
      * plug-ins/png
      * plug-ins/print
      * plug-ins/ps
      * plug-ins/xbm
      * plug-ins/xpm
      * plug-ins/xwd: plug-in i18n stuff
  28. 27 May, 1999 1 commit
    • jaycox's avatar
      new mouse cursor for intersection operations. · 4faeeaeb
      jaycox authored
      	* cursors/{mouse1_u,mouse1_umsk}: new mouse cursor for intersection
      	* app/cursorutil.[ch], app/rect_select.c: use the new cursor.
      	* app/gimpimage.c:  Applied layer removal bug fix from
      	David Le Corfec, <lecorfec@etudiant.univ-mlv.fr>
      	* plug-ins/gdyntext/{font_selection.c, gdyntext.c, gdyntext_ui.c}:
      	replaced snprintf with g_snprintf.
      	* plug-ins/jpeg/jpeg.c: updated to work with the double precision
  29. 22 May, 1999 1 commit
    • Michael Natterer's avatar
      app/[all files with resolution info] libgimp/gimp.h libgimp/gimpimage.c · dcfb450b
      Michael Natterer authored
      1999-05-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/[all files with resolution info]
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/pgn/png.c
      	* plug-ins/tiff/tiff.c: double instead of float for all resolution
      	and unit-factor variables.
      	* app/commands.c
      	* app/crop.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/move_tool.c
      	* app/resize.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
      	to all functions which create sizeentries. Never create a
      	sizeentry with UNIT_PIXEL but with the image's unit and set it's
      	unit to UNIT_PIXEL after creation if dot_for_dot is on.
      	This way the image's unit can always be picked from the menu
      	without selecting "More...".
      	* app/interface.c: made the query_*_box() functions use the
      	* plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
      	selection dialog.
  30. 27 Apr, 1999 1 commit
    • Manish Singh's avatar
      app/gimage_cmds.c pdbgenned files · 80de6ea7
      Manish Singh authored
      * app/gimage_cmds.c
      * app/guides_cmds.c: pdbgenned files
      * app/parasite_cmds.c: added image parasite cmds
      * app/gimpimage.h: capitalized ChannelType and MergeType enums,
      * app/layer.h: made APPLY and DISCARD an enum
      * app/internal_procs.[ch]: finally pdbgenned
      * app/channels_dialog.c
      * app/fileops.c
      * app/gimpimage.c
      * app/layers_dialog.c: ChannelType, MergeType enum changes
      * app/commands.c: remove gimage_cmds.h #include
      * app/cursorutil.h: #include <gdk/gdktypes.h>
      * app/paint_funcs.h: cosmetic change for PDB help
      * app/brush_select_cmds.c
      * app/brushes_cmds.c
      * app/layer_cmds.c
      * app/tools_cmds.c: pdbgen updates
      * app/Makefile.am: removed gimage_cmds.h, added guides_cmds.c
      * plug-ins/Lighting/lighting_main.c
      * plug-ins/MapObject/mapobject_main.c
      * plug-ins/rcm/rcm.c
      * plug-ins/xbm/xbm.c: removed trailing ";" from MAIN ()
  31. 23 Apr, 1999 1 commit
    • jaycox's avatar
      removed some nonfunctional code. · d996031a
      jaycox authored
      	* app/edit_selection.c: removed some nonfunctional code.
      	* app/paint_core.c: remove the alt toggles perfectmouse behaviour.
      	* app/paintbrush.c: when ctl (or alt) is held set the fg (or bg) color.
      	* app/gimpparasite.[ch]: made char *name parameters const.
      	* app/parasitelist.c: removed unused static variable.
      	* app/gimpdrawable.c, app/gimpimage.c, app/undo.[ch]: added
       	support for undoing parasite changes.
      	* libgimp/gimp.h, libgimp/gimpimage.c: added
       	gimp_undo_push_group_start and gimp_undo_push_group_end
      	* libgimp/parasite.[ch]: added undoable flag.
      	* plug-ins/gdyntext/font_selection.c: fixed c++ style comment.
      	* plug-ins/gdyntext/gdyntext.c: use the new undoable parasites.
      	* plug-ins/rcm/rcm_misc.c: arctg can't be inline because it is
       	used in other .c files
      	* plug-ins/waterselect/waterselect.c,
      	* plug-ins/rotators/rotators.c, app/tips_dialog.c, app/plug_in.c:
       	fixed some warnings
  32. 09 Apr, 1999 1 commit
    • jaycox's avatar
      build color_cmds, lut_funcs, and pixel_processor feedback in the splash · dde36031
      jaycox authored
      	* app/Makefile.am: build color_cmds, lut_funcs, and pixel_processor
      	* app/app_procs.c: feedback in the splash screen when loading
      	* app/boundary.c: Optimized find_empty_segs.
      	* app/brightness_contrast.[ch]
      	* app/levels.[ch]
      	* app/posterize.[ch]:
       	moved pdb and lut calculation code.  These files now contain only
      	GUI functions.
      	* app/channel.c: Optimized channel_bounds (fewer compares, better
       	use of registers).  Use color_region instead of channel_*_segment
       	in channel_combine_rect.  Optimized channel_combine_ellipse by
       	skipping pixels inside of the ellipse.  Use
       	pixel_region_process_parallel in channel_combine_mask.  Use a
       	GimpLut in channel_invert, and channel_sharpen.
      	* app/invert.c
      	* app/equalize.c: moved the lut functions to lut_funcs.c
      	* app/gimpdrawable.c, app/gimpdrawableP.h
      	* app/gimpimage.c, app/gimpimageP.h: removed unused gimpmatrix
      	* app/gimplut.[ch]: added new function gimp_lut_process_inline
       	that operates on a single PixelRegion.
      	* app/gimpparasite.[ch]: new functions to save/load parasiterc
      	* app/parasitelist.[ch]: new functions to save/load ParasiteLists
       	in/from files.
      	* libgimp/parasite.[ch]: new functions to load/save parasites.
      	* app/internal_procs.c: get some procs from new location in
      	* app/pixel_region.[ch]: moved pixel_regions_process_parallel
       	related functions to a new file.
      	* app/color_cmds.[ch]: new files for PDB
       	definitions/implementations of color correction functions.
      	* app/lut_funcs.[ch]: new files to hold lut creation functions.
      	* app/pixel_processor.[ch]: new files that contain the
       	pixel_regions_process_parallel routines.  Added some new
       	capabilities that are currently unused.
  33. 05 Mar, 1999 1 commit
    • GMT 1999 Andy Thomas's avatar
      This is a bit of a biggy. Added paths to layers & channels dialog. This is · 2252863e
      GMT 1999 Andy Thomas authored
      Fri Mar  5 21:45:39 GMT 1999 Andy Thomas <alt@picnic.demon.co.uk>
      	This is a bit of a biggy. Added paths to layers & channels
      	dialog. This is not complete yet (it still has some rough edges ;-)
      	* paths_dialog.c
      	* paths_dialog.h
      	* pathsP.h
      	These are the core parts of the paths dialog & interaction.
      	* tools/penadd.xpm
      	* tools/pendel.xpm
      	* tools/pennorm.xpm
      	* tools/penedit.xpm
      	* tools/penstroke.xpm
      	New images found in the dialog. Maybe someone with a better
      	artistic flair could replace these?
      	* Makefile.am
      	Added new files for build
      	* layers_dialog.c
      	Added new tab for paths.
      	* bezier_select.h
      	* bezier_selectP.h
      	* bezier_select.c
      	Rearrangement & fixes. Not finished yet.
      	* iscissors.c
      	Header file changes. (Need to include more headers).
      	* gdisplay.c
      	* gdisplay.h
      	Hmmm... Added a function that did a mapping from gimage to gdisp.
      	This is a little bit of a "hack", but it was needed.. really.
      	* ops_buttons.h
      	* ops_buttons.c
      	Enhanced to create more types of button ops. Used in the paths dialog.
      	* channels_dialog.c
      	Header file changes?
      	* xcf.c
      	Paths stored in new PROP. Yosh.. I did as you and Adam suggested.
      	* gimpimage.c
      	* gimpimage.h
      	* gimpimageP.h
      	Added paths items to the image structures.
  34. 03 Mar, 1999 1 commit
  35. 01 Mar, 1999 1 commit
    • jaycox's avatar
      added gimphistogram*, histogramwidget*, removed histogram.[ch] · 6ae2a9bc
      jaycox authored
      	* app/Makefile.am: added gimphistogram*, histogramwidget*,
      	removed histogram.[ch]
      	* app/histogram.[ch]: removed.  replaced with histogramwidget.[ch].
      	* app/{gimphistogramP.h, gimphistogram.h, gimphistogram.c}: new
       	functions that calculate histograms in parallel and perform
       	calculations on them.
      	* app/histogramwidget.[ch]: Same as old histogram.[ch], only it is
       	now a real widget, and it uses GimpHistograms instead of arrays of
      	* app/curves.c: #include gimphistogram.h instead of histogram.h.
      	* app/equalize.c: use GimpHistogram and GimpLut.
      	* app/gimpbrush.c, app/gimpimage.c, app/gimpset.c: use
      	GTK_RUN_FIRST in calls to gimp_signal_new.
      	* app/histogram_tool.c, app/levels.c, app/threshold.c: modified to
       	use the new HistogramWidget.
      	* app/paint_funcs.c: removed some unused variables.
      	* app/preferences_dialog.c: only display the num-processor field
       	if we are configured --with-mp
      	* plug-ins/gee/gee.c: removed a couple of c++ style comments.
  36. 21 Feb, 1999 1 commit
    • CST 1999 Shawn T. Amundson's avatar
      Add default to Cancel button, remove unset GTK_RECEIVES_DEFAULT from · df051bd3
      CST 1999 Shawn T. Amundson authored
      Sat Feb 20 16:12:33 CST 1999 Shawn T. Amundson <amundson@gimp.org>
              * app/tips_dialog.c: Add default to Cancel button, remove
                unset GTK_RECEIVES_DEFAULT from prev/next buttons (they
                are like toolbar buttons), changed abreviated prev to
                previous, prev/next button are now same size, cancel button
                is in a button box.  Added vboxes where necessary to prevent
                prev/next and check button from filling vertically.
              * app/app_procs.c: when splashscreen dialog is larger than the
                logo, (due to huge font), center logo.
              * app/file_new_dialog.c: patch from Marco Lamb <lm@geocities.com>
                disallows resizing, changes vertical expanding of widgets to
                not occur
              * app/palette.c: patch from Marco Lamb <lm@geocities.com>.  Makes
                +/- buttons for zoom pixmaps (eventually, these can be replaced
                with a magnifying glass with a little +/- I think), so that they
                no longer expand as they did before.  I modified his patch so it
                did not create a misused toolbar.  I did some other stuff here too,
                moved Close button to the left, made it the window's default,
                and unset GTK_RECEIVES_DEFAULT off of the non-bottom buttons.
              * app/actionarea.c: another patch from Marco Lamb <lm@geocities.com>.
                This one changes buttons to be put in a button box which is right
                justified.  If we decide later that spread is better, we can
                change this easy enough.
              * app/tools/zoom_in.xpm, app/tools/zoom_out.xpm: + and - graphics.
              * libgimp/gimpunit.h
                libgimp/gimpunit.c: New files from Michael Natterer
                <mitschel@cs.tu-berlin.de>, gimp_unit_* routines.
              * app/gimage.h
                app/xcf.c: Patches from Michael Natterer <mitschel@cs.tu-berlin.de>,
                which keep a unit assocated with an image.
  37. 16 Feb, 1999 1 commit
    • jaycox's avatar
      new source files that implement pixel Look Up Table functions. · a26f8d3f
      jaycox authored
      	* app/gimplut.[ch]: new source files that implement pixel Look Up
       	Table functions.
      	* app/Makefile.am: build gimplut.[ch]
      	* app/brightness_contrast.c
      	* app/curves.c
      	* app/invert.c
      	* app/levels.c
      	* app/posterize.c: Use the new lut functions.  Use
       	pixel_region_process_parallel in the PDB versions of these routines.
      	* libgimp/parasite.h
      	* libgimp/parasite.c: new functions parasite_name and
      	* app/gimpdrawable.c:
      	* app/gimpdrawable.h: new function
       	gimp_drawable_get_color_at(...) returns the RGBA[color index]
       	value at a specified position in the drawable.  Don't set the dirty
       	bit on the image if a new parasite is the same as the old.
      	* app/gimpimage.c
      	* app/gimpimage.h new function
       	gimp_image_get_color_at(...) returns the RGBA[color index]
       	value at a specified position in the drawable.  Don't set the dirty
       	bit on the image if a new parasite is the same as the old.
      	* app/by_color_select.c
      	* app/color_picker.c: use the new gimp_*_get_color_at
       	functions instead of messing with the tiles.
      	* app/layer.c: fixed a minor warning.
      	* app/commands.c:
      	don't scale the image if the new size == the old size
      	* app/channel.c: optimized channel_bounds by only checking the
       	pixels in a tile if it is not already entirely within the
       	currently computed bounds.
  38. 14 Feb, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      don't #include resize.h - it's not needed ditto. · f45dfe17
      GMT 1999 Austin Donnelly authored
      Sun Feb 14 20:43:55 GMT 1999  Austin Donnelly  <austin@gimp.org>
      	* app/channels_dialog.c: don't #include resize.h - it's not needed
      	* app/preferences_dialog.c: ditto.
      	* app/resize.c: do all dialog creation here to factor out lots of
      	     common code in commands.c and layers_dialog.c.  Also cancel
      	     resize/scale dialog on destruction/removal of images/layers -
      	     proper fix for Peter Teichman's bug.
      	* app/resize.h: new prototype for resize_widget_new() - beginnings
      	     of resolution-aware scaling.
      	* app/commands.c: pull all the resize/scale dialog creation stuff
      	     out to resize.c
      	* app/layers_dialog.c: same again.
      	* app/layer.c: add REMOVED signal, sent when a layer is removed
      	     from an image.  Layers typically aren't destroyed until their
      	     undo info expires.
      	* app/layer.h: prototype for layer_removed() call.
      	* app/gimpimage.c: send out removed signal.