1. 31 Oct, 2001 1 commit
  2. 22 Oct, 2001 1 commit
    • Michael Natterer's avatar
      General cleanup of the selection tools and their PDB wrappers: · 99e78c70
      Michael Natterer authored
      2001-10-22  Michael Natterer  <mitch@gimp.org>
      
      	General cleanup of the selection tools and their PDB wrappers:
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-contiguous-region.[ch]
      	* app/core/gimpimage-mask-select.[ch]: new files providing a clean,
      	uniform API for the selection functionalities. Changed order of
      	parameters to be consistent, removed code duplication.
      
      	The region returned by the "by_color" function is not really
      	contiguous but the API is so similar to "by_seed" and it's used
      	in the same context so it's fair enough to put them together.
      
      	Also, I'm not sure if the two is_pixel_sufficiently_different()
      	I've optimized away were meant to do *exactly* the same. Added
      	a comment there to remember the former difference.
      
      	* app/core/gimpchannel.[ch] (gimp_channel_feather): removed the
      	"output" channel parameter and made it optionally push an undo
      	(like the other channel operations do).
      
      	* app/core/gimpimage-mask.c: call gimp_channel_feather() with
      	"push_undo == TRUE", removed some useless comments.
      
      	* app/tools/gimpbycolorselecttool.[ch]
      	* app/tools/gimpellipseselecttool.[ch]
      	* app/tools/gimpfreeselecttool.[ch]
      	* app/tools/gimpfuzzyselecttool.[ch]
      	* app/tools/gimprectselecttool.[ch]: removed all the actual
      	selection functionality and call the new gimp_image_mask_select_*()
      	and gimp_image_contiguous_region_*() functions instead.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpiscissorstool.c: use new function
      	gimp_image_mask_select_channel() instead of doing the same manually.
      
      	* app/tools/gimpbucketfilltool.c: find_contiguous_region() ->
      	gimp_image_contiguous_region_by_seed().
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/selection_tools.pdb: added new group "Selection
      	Tools" which depends only on "core/" stuff (not on "tools/" any
      	more, brrrr).
      
      	* tools/pdbgen/pdb/text_tool.pdb: don't include "appenv.h"
      
      	* tools/pdbgen/pdb/tools.pdb: removed the selection tools.
      
      	* app/pdb/Makefile.am
      	* app/pdb/selection_tools_cmds.c: new file.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpselectiontools_pdb.[ch]: new files.
      
      	* libgimp/gimptools_pdb.[ch]: regenerated
      
      	Misc cleanups:
      
      	* app/app_procs.c: call splash_create() with "no_splash_image"
      	as parameter.
      
      	* app/display/gimpdisplay-render.c
      	* app/display/gximage.c: don't include "appenv.h".
      
      	* app/gui/gui.c: call session_restore() only if "restore_session"
      	is TRUE.
      
      	* app/gui/session.c: don't "if(restore_session)" here and don't
      	include "appenv.h"
      
      	* app/gui/splash.[ch]: added "gboolean show_image" parameter to
      	splash_create(), don't include "appenv.h"
      
      	* app/tools/gimppainttool.[ch]: added a "GimpGradient" parameter
      	to gimp_paint_tool_get_color_from_gradient().
      
      	* app/tools/gimppaintbrushtool.c: pass the gradient.
      
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c: s/GDisplay/GimpDisplay/.
      
      	* app/widgets/gimpcontainergridview.[ch]: removed the "white_style"
      	class variable and don't fiddle around with colors and styles...
      
      	* themes/Default/gtkrc: ...do the same here with a simple rc style.
      99e78c70
  3. 17 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ · 18dd0728
      Michael Natterer authored
      2001-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.[ch]
      	* app/undo.c: s/GDisplay/GimpDisplay/
      
      	* app/plug_in.[ch]: removed unused boolean "destroy" field of
      	the PlugIn struct.
      
      	* app/core/gimpedit.c: don't include "app_procs.h"
      
      	* app/display/gimpdisplay-callbacks.c: moved the "grab_abd_scroll"
      	stuff from gimpdisplay-scroll.* here (less complicated and easier
      	to cleanup...)
      
      	* app/display/gimpdisplay-scroll.[ch]: removed here.
      
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplayshell.c: s/GDisplay/GimpDisplay/g
      
      	* app/display/gimpdisplay.[ch]: ditto, removed gdisplay_active()
      	which was just a wrapper around
      	"gimp_context_get_display (gimp_get_user_context (the_gimp))"
      	(which is more to type but makes the use of the global
      	"the_gimp" variable more obvious).
      
      	* app/gui/color-area.h
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.h
      	* app/gui/paths-dialog.h
      	* app/gui/select-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: s/GDisplay/GimpDisplay/, gdisplay_active()
      	removal, include "app_procs.h" for "the_gimp".
      
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimpeditselectiontool.h
      	* app/tools/gimphistogramtool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpmovetool.h
      	* app/tools/gimpperspectivetool.h
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimprotatetool.h
      	* app/tools/gimpscaletool.h
      	* app/tools/gimpsheartool.h
      	* app/tools/gimptexttool.h
      	* app/tools/gimpthresholdtool.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptransformtool.h
      	* app/tools/tool_manager.[ch]: lots of s/GDisplay/GimpDisplay/, made
      	all *_dialog_hide() functions private, cleanup.
      
      	* app/widgets/*: removed GtkType and gtk_type_* stuff entirely and
      	use GObject functions, removed lots of empty "destroy" methods and
      	use more type checking class cast macros instead of casting
      	directly.
      
      	* app/widgets/gimpcontainermenu.c: fixed item insert order.
      
      	* app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
      	functions.
      
      	* app/widgets/gimpwidgets-utils.[ch]: removed gimp_dialog_hide() as
      	Gtk+ does the right thing (TM) now.
      
      	* tools/pdbgen/pdb/color.pdb: implemented "histogram" without
      	digging into tools/ and widgets/ (needs to be done for all
      	color PDB functions).
      
      	* tools/pdbgen/pdb/gimprc.pdb: no need to use "the_gimp" in a PDB
      	function as a "Gimp" pointer is passed to them all.
      
      	* tools/pdbgen/pdb/image.pdb: don't include "app_procs.h"
      
      	* app/pdb/color_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/pdb/procedural_db.c: don't include "app_procs.h"
      18dd0728
  4. 25 Sep, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] · f235eabb
      Michael Natterer authored
      2001-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/disp_callbacks.[ch]
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/gximage.[ch]
      	* app/image_render.[ch]
      	* app/interface.[ch]
      	* app/marching_ants.h
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/selection.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-ops.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gximage.[ch]: added here.
      
      	* app/[many files]
      	* app/gui/[many files]
      	* app/tools/*
      	* app/widgets/[many files]: changed accordingly. Still very
      	incomplete separation of the display stuff but it at least
      	compiles.
      
      	* tools/pdbgen/pdb.pl:
      	* tools/pdbgen/pdb/display.pdb: s/GDisplay/GimpDisplay/,
      	s/"gdisplay.h"/"display/gimpdisplay.h"/.
      
      	* app/pdb/display_cmds.c: regenerated.
      f235eabb
  5. 16 May, 2001 1 commit
    • Michael Natterer's avatar
      removed search_in_path() and the unused xstrsep(). · 7dacaa1d
      Michael Natterer authored
      2001-05-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/general.[ch]: removed search_in_path() and the unused
      	xstrsep().
      
      	* app/plug_in.c: added plug_in_search_in_path(), don't include
      	"general.h".
      
      	* app/gimprc.c
      	* app/image_render.c
      	* app/gui/convert-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/paths-dialog.c
      	* app/pdb/paths_cmds.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* tools/pdbgen/pdb/paths.pdb: removed useless includes.
      7dacaa1d
  6. 15 May, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/base/ · d240f623
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/base/
      
      	* app/Makefile.am
      	* app/boundary.[ch]
      	* app/brush_scale.[ch]
      	* app/gimpchecks.h
      	* app/gimplut.[ch]
      	* app/pixel_processor.[ch]
      	* app/pixel_region.[ch]
      	* app/pixel_surround.[ch]
      	* app/temp_buf.[ch]
      	* app/tile.[ch]
      	* app/tile_cache.[ch]
      	* app/tile_manager.[ch]
      	* app/tile_manager_pvt.h
      	* app/tile_pvt.h
      	* app/tile_swap.[ch]: moved to base/
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/*: new directory for the sub-object pixel maniplation
      	and storage stuff. Does not include Gtk+ or anything outside
      	base/. Did some cleanup in all files.
      
      	* app/appenums.h
      	* app/apptypes.h
      	* app/core/gimpimage.h: removed types which are now in
      	base/base-types.h.
      
      	* app/base/base-config.[ch]
      	* app/gimprc.[ch]: put the config variables for base/ to their own
      	file so base/ doesn not have to include gimprc.h (does not yet
      	work, i.e. the variables are un-configurable right now)
      
      	* app/main.c: set a log handler for "Gimp-Base".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs.[ch]: removed the color hash which
      	maps RGB to color indices because it's a totally standalone system
      	which has nothing to do with the paint-funcs and introduced a
      	GimpImage dependency.
      
      	paint-funcs/ should be considered on the same sub-object
      	(glib-only) level as base/, only in a different directory.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colorhash.[ch]: put the color hash here.
      
      	* app/gimage.c: don't invalidate the color hash here...
      
      	* app/core/gimpimage.c: ... but in the colormap_changed() default
      	inplementation. Initialize the hash in class_init().
      
      	* tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/pdb/[all]
      	* app/tools/[over]
      	* app/widgets/[the]
      	* tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
      	base_config->value instead of the stuff from gimprc.h.
      d240f623
  7. 09 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · d1022c34
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/asupsample.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h: new files.
      
      	* app/tools/gimptoolinfo.[ch]: removed.
      	* app/core/gimptoolinfo.[ch]: added here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: removed here...
      
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]: ..and added here.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/paths.pdb
      
      	* app/*.c: changed tons of #include's
      d1022c34
    • Michael Natterer's avatar
      configure.in added new directory app/core/ for the core object system. · 8985b107
      Michael Natterer authored
      2001-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/core/ for the core
      	object system.
      
      	* app/gimage_mask.[ch]
      	* app/gimpbrush-header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpchannel.[ch]
      	* app/gimpcontainer.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdata.[ch]
      	* app/gimpdatafactory.[ch]
      	* app/gimpdatalist.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]
      	* app/gimpdrawable-offset.[ch]
      	* app/gimpdrawable-preview.[ch]
      	* app/gimpdrawable.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimpimage-convert.[ch]
      	* app/gimpimage-duplicate.[ch]
      	* app/gimpimage-undo.[ch]
      	* app/gimpimage.[ch]
      	* app/gimplayer.[ch]
      	* app/gimplayermask.[ch]
      	* app/gimplist.[ch]
      	* app/gimpmarshal.[ch]
      	* app/gimpobject.[ch]
      	* app/gimppalette-import.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern-header.h
      	* app/gimppattern.[ch]
      	* app/gimpundo.[ch]
      	* app/gimpundostack.[ch]
      	* app/gimpviewable.[ch]: removed these files...
      
      	* app/core/*: ...and added them here.
      
      	* app/*.c
      	* app/gui/*.c
      	* app/pdb/*.c
      	* app/tools/*.c
      	* app/widgets/*.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/*.pdb: changed accordingly.
      8985b107
  8. 05 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am some new files and data types: · be0e7d11
      Michael Natterer authored
      2001-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h: some new files and data types:
      
      	* app/gimppreview.[ch]: new widgets which provides a view
      	of a GimpViewable.
      
      	* app/gimpcontainerview.[ch]: new abstract widget base class for
      	views of GimpContainers of GimpViewables
      
      	* app/gimpcontainerlistview.[ch]: (still) simple implementation of
      	a list view of the container.
      
      	* app/gimpbrush.[ch]
      	* app/gimppattern.[ch]: provide dumb implementations of the
      	GimpViewable's "preview" method.
      
      	* app/image_render.c: quick bad hack to enable preview sizes which
      	are != "preview_size": Always allocate data chunks for previews up
      	to 256 pixels width.
      
      	* app/drawable.c: emit the "incalidate_preview" signal from
      	drawable_update(). This may cause useless updates at the moment
      	but as we want to move from explicit updates to signal-driven
      	model-view stuff it's the right thing (TM).
      
      	* app/commands.[ch]
      	* app/interface.c
      	* app/menus.c: Added a "Test dialogs" menu to the Toolbox.
      
      	* app/pdb/image_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: propagated the new alpha channel stuff
      	to the autogenerated files.
      be0e7d11
  9. 30 Jan, 2001 1 commit
  10. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  11. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  12. 25 Oct, 2000 2 commits
  13. 27 Apr, 2000 1 commit
    • Michael Natterer's avatar
      app/color_select.c app/colormaps.[ch] removed unused global variables · c73b233f
      Michael Natterer authored
      2000-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_select.c
      	* app/colormaps.[ch]
      	* app/context_manager.c: removed unused global variables
      	[foreground|background]_pixel and [old|new]_color_pixel.
      
      	Initialize the colormap and visual stuff with GdkRGB instead of
      	GtkPreview functions (which are deprecated).
      
      	* app/[62 files]: removed #include's (started with colormaps.h and
      	couldn't stop). Also ordered them consistently and did some small
      	unrelated cleanups.
      	Removed variuos <stdlib.h> et.al. but checked the files carefully
      	before doing so. If I was too radical and you get warnings on your
      	platform, please flame me or just put them back :)
      c73b233f
  14. 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
      	    available.
      	* app/undo_types.h: broken out of undo.h to fix circular includes.
      
      	MODIFIED FILES:
      	* app/Makefile.am: compile undo_history.c
      	* app/channel.h: use enum for channel undo type, not just magic
      	    numbers.
      	* 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
      	    properly.
      
      	* app/paths_dialog.c: bad idea to call gimp_image_dirty()
      	    directly.  Even though it's currently commented out.
      bf8db4ad
  15. 27 Aug, 1999 1 commit
    • Manish Singh's avatar
      user_install added gimpressionist, levels, and curves dirs · 4a9ae946
      Manish Singh authored
      * user_install
      * user_install.bat: added gimpressionist, levels, and curves dirs
      
      * app/color_panel.c
      * app/color_select.c
      * app/colormaps.[ch]
      * app/palette.c
      * app/selection.c: remove vestigal colormap code; use get_color
      directly now
      
      * libgimp/color_display.h
      * app/gdisplay_color.c: bugfixes, added state load/save hooks,
      redid the interface to work on blocks, removed dummy default
      handler, work on gamma correction stuff
      
      * app/gimpbrushpipe.c: #include <stdlib.h>
      
      * app/gximage.c: minor cleanups
      
      * app/levels.c: default to ~/.gimp-1.1/levels for load/save; minor
      gui prettification
      
      * app/main.c
      * app/menus.c: plug-in menu translation patch from SHIRASAKI Yasuhiro
      <yasuhiro@awa.tohoku.ac.jp>
      
      * libgimp/stdplugins-intl.h: add INIT_I18N_UI() for calling
      gtk_set_locale()
      
      * plug-ins/Lighting/lightin_main.c: use INIT_I18N_UI()
      
      -Yosh
      4a9ae946
  16. 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
  17. 07 Feb, 1999 1 commit
    • GMT 1999 Adam D. Moss's avatar
      More robust and kickin' thumbnail support. · 32675c44
      GMT 1999 Adam D. Moss authored
      Sun Feb  7 15:04:23 GMT 1999 Adam D. Moss <adam@gimp.org>
      
              * app/fileops.c: More robust and kickin' thumbnail support.
      
              * app/edit_selection.c app/layer.c app/layer.h: Working
              on lazy opaque layer moves.  Disabled for now.
      
              * app/gdisplay.c
              * app/gimage.h
              * app/gimpimage.c
              * app/gimpimage.h
              * app/image_render.c
              * app/tile_manager.c: Errr, I don't remember.  No, seriously.
              Nothing of consequence.
      32675c44
  18. 05 Dec, 1998 1 commit
    • GMT 1998  Austin Donnelly's avatar
      app/commands.[ch] app/edit_selection.c app/gdisplay.[ch] · ccfeb254
      GMT 1998 Austin Donnelly authored
      Sat Dec  5 21:31:57 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
      
      	* app/commands.[ch]
      	* app/edit_selection.c
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/image_render.c
      	* app/info_window.c
      	* app/magnify.c
      	* app/menus.c
      	* app/scale.c: image rendering now happens with float scale
      	factors, independent in X and Y axes.  Turning on dot-for-dot in view
      	menu does what gimp always used to do (ie one image pixel becomes
      	one monitor pixel).  Dot-for-dot is on by default so people
      	shouldn't notice any difference unless they load an image that's
      	not at 72 dpi and also turn off dot-for-dot.
      
      	* app/app_procs.c
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: new gimprc options
      	(monitor-xresolution <float>) and corresponding
       	(monitor-yresolution <float>).  Uglyness in preferences dialog to
      	add a "Monitor" page to the notebook, allowing user to set their
      	monitor's resolution or take it from the X server instead.  This
      	badly needs cleaned up :(
      
      	* plug-ins/newsprint/newsprint.c: oops - this hasn't been working
      	for grayscale images since my last checkin.  Now fixed.
      ccfeb254
  19. 20 Aug, 1998 2 commits
  20. 15 Aug, 1998 1 commit
    • scott's avatar
      Another tile tweak. This one eliminates tile levels (which add · 85393964
      scott authored
      bookkeeping without being used).  Made copy_region more intelligent on
      when to use tile sharing; some changes made to pixel_regions to
      facilitate this.  Fixed a refcount problem with xcf load and probably
      a few other bugs that I've forgotten about.  Added a sanity check in
      set_undo_tiles to help with a problem larry is reporting with airbrush
      and xinput.  --sg
      85393964
  21. 11 Aug, 1998 1 commit
  22. 10 Jul, 1998 1 commit
  23. 08 Jul, 1998 1 commit
    • scott's avatar
      Makefile.am blend.c boundary.c by_color_select.c channel.c color_picker.c · 217b494f
      scott authored
      
      * Makefile.am blend.c boundary.c by_color_select.c channel.c
      * color_picker.c drawable_cmds.c fuzzy_select.c gimpimage.c
      * image_render.c ink.c layer.c main.c paint_core.c paint_funcs.c
      * pixel_region.c plug_in.c tile.c tile.h tile_cache.c tile_manager.c
      * tile_swap.c transform_core.c undo.c xcf.c: split off tile_pvt.h
      from tile.h so changes in the tile implementation don't force a
      complete recompile.
      --sg
      217b494f
  24. 02 Jul, 1998 1 commit
  25. 30 May, 1998 1 commit
    • Manish Singh's avatar
      more g_message changes · 6ddbb705
      Manish Singh authored
      * more g_message changes
      
      * CEL plugin update
      
      * INSTALL: info on why plugins don't get built
      
      -Yosh
      6ddbb705
  26. 13 Apr, 1998 1 commit
  27. 18 Mar, 1998 1 commit
    • Adrian Likins's avatar
      appied most of gimp-hpux-980316-0.patch from ???? Mostly added static's · 9132cbb6
      Adrian Likins authored
               * blend.c brightness_contrast.c brush_select.c brushes.c
                bucket_fill.c by_color_select.c channels_dialog.c
                color_balance.c convolve.c crop.c curves.c eraser.c fileops.c
                frac.c gradient.c histogram_tool.c hue_saturation.c
                image_render.c indexed_palette.c layers_dialog.c levels.c
                move.c paintbrush.c pattern_select.c pencil.c
                perspective_tool.c posterize.c rect_select.c scale_tool.c
                threshold.c tips_dialog.c:
                       appied most of gimp-hpux-980316-0.patch
              from ???? Mostly added static's here and there
               and casting stuff.
      
              * app/indexed_palette.c: made dialog non-resizeable
      
      -adrian
      9132cbb6
  28. 13 Mar, 1998 1 commit
  29. 24 Nov, 1997 1 commit