1. 07 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 1bcd3e18
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/context_manager.[ch]: removed.
      
      	* app/app_procs.c: call tool_mananger instead of context_manager
      	functions, pass "the_gimp" to some more functions.
      
      	* app/drawable.[ch]: pass a GimpContext to drawable_fill().
      
      	* app/errors.c: behave according to "stack_trace_mode" when using
      	the debugging signal handler.
      
      	* app/gimprc.[ch]: removed the core/ config variables.
      
      	* app/selection.c: set the selection's state to INVISIBLE in
      	selection_pause().
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: new files (the configuration
      	variables used by core/).
      
      	* app/core/gimpcontext.[ch]: removed the global contexts (user,
      	default, ...) and their functions. It's no longer possible to pass
      	NULL to the context functions to manipulate the current context
      	(gimpcontext.c doesn't know the current context any more).
      
      	* app/core/gimp.[ch]: added them here. The functions are now called
      	gimp_[set|get]_*_context(). Added gimp_create_context() which is
      	the only function to create contexts now.
      
      	* app/gui/dialogs.[ch]
      	* app/gui/gui.[ch]: pass "gimp" to all functions.
      
      	* app/tools/tool_manager.[ch]
      	* app/tools/tools.[ch]: pass "gimp" to lots of functions. Added
      	the "global_tool_context" logic and the global/non-global paint
      	options switching from the context_manager. Pass "gimp" to all
      	tools' "register" functions.
      
      	* app/tools/*: changed accordingly.
      
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/file-open.[ch]
      	* app/file-save.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/qmask.c
      	* app/undo.c
      	* app/base/base-config.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c
      	* app/core/gimptoolinfo.[ch]
      	* app/core/gimpundo.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage
      	of gimp_context_[get|set]_*(NULL), create contexts with
      	gimp_create_context(). Get the user/current context with
      	gimp_get_[user|current]_context(). Added/removed access to the
      	global "the_gimp" variable in some places. Get the core's config
      	variables from "core_config".
      1bcd3e18
  2. 24 May, 2001 2 commits
    • Michael Natterer's avatar
      All tools are back :) · 170a9cbc
      Michael Natterer authored
      2001-05-25  Michael Natterer  <mitch@gimp.org>
      
      	All tools are back :)
      
      	* app/tools/Makefile.am
      	* app/tools/brightness_contrast.[ch]
      	* app/tools/color_balance.[ch]
      	* app/tools/curves.[ch]
      	* app/tools/histogram_tool.[ch]
      	* app/tools/hue_saturation.[ch]
      	* app/tools/levels.[ch]
      	* app/tools/posterize.[ch]
      	* app/tools/threshold.[ch]: removed...
      
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimphistogramtool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimpthresholdtool.[ch]: ...and ported to the new tool
      	system. Yes, the toolbox looks strange right now.
      
      	* app/tools/gimpimagemaptool.[ch]: base class for all image_map
      	tools. Does nothing at all right now.
      
      	* app/tools/gimpbucketfilltool.h: removed _new() function
      	declaration.
      
      	* app/tools/gimptool.c: removed obsolete stuff and STUB()s.
      
      	* app/tools/tools.c: register the new tools.
      
      	* app/menus.c: removed the #if 0 around the code which reorders
      	the color tool menu entries.
      
      	* app/app_procs.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/color.pdb
      	* app/pdb/color_cmds.c
      	* po/POTFILES.in: changed accordingly.
      170a9cbc
    • Michael Natterer's avatar
      config.guess new versions from CVS (at least that's what my debian package · 6a5242c0
      Michael Natterer authored
      2001-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* config.guess
      	* config.sub: new versions from CVS (at least that's what my
      	debian package says...)
      
      	* app/Makefile.am
      	* app/gimppreviewcache.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/gimppreviewcache.c: added.
      
      	* app/core/gimpdrawable.c: reordered #includes
      
      	* app/apptypes.h: make ImageMap a proper opaque typedef, not
      	simply a gpointer.
      
      	* app/image_map.[ch]: changed accordingly. cleanup.
      
      	* app/tools/color_balance.h
      	* app/tools/curves.h
      	* app/tools/gimptool.c
      	* app/tools/histogram_tool.h
      	* app/tools/hue_saturation.h
      	* app/tools/threshold.h: changed here too.
      
      	* libgimpbase/gimpbasetypes.h: /*< skip >*/ GIMP_UNIT_PERCENT as
      	it's a UI convenience thing and no unit.
      
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpwidgets/gimpbutton.c: maybe this change makes GimpButton
      	behave even more careful when changing GtkButton's private stuff.
      6a5242c0
  3. 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
  4. 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
  5. 29 Sep, 2000 1 commit
  6. 20 Jan, 2000 1 commit
  7. 22 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/brightness_contrast.[ch] app/by_color_select.[ch] · 3711f558
      Michael Natterer authored
      1999-11-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brightness_contrast.[ch]
      	* app/by_color_select.[ch]
      	* app/color_balance.[ch]
      	* app/curves.[ch]
      	* app/histogram_tool.[ch]
      	* app/hue_saturation.[ch]
      	* app/levels.[ch]
      	* app/posterize.[ch]
      	* app/threshold.[ch]: spinbuttons and cleaned up ui for all
      	dialog-tools. Added a "Reset" button to all dialogs.
      
      	* app/color_notebook.c: fixed a compiler warning.
      
      	* app/gimpui.[ch]: made gimp_radio_group_new() more general.
      
      	* app/menus.c: removed the <Toolbox>/File/Help submenu.
      
      	* app/tools.c: restored the old behaviour of "tools_initialize()"
      	(force the emission of the "tool_changed" signal)
      3711f558
  8. 03 Sep, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/curves.c app/curves.h · eff3e1b8
      BST 1999 Andy Thomas authored
      
      Fri Sep  3 22:52:26 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/curves.c
      	* app/curves.h
      
      	Added indicators (x,y of mouse & x for the line) to the curves
      	dialog.
      eff3e1b8
  9. 21 Apr, 1999 1 commit
    • Manish Singh's avatar
      moved a bunch of PDB stuff here · 993089b8
      Manish Singh authored
      * app/color_cmds.c: moved a bunch of PDB stuff here
      
      * app/color_balance.[ch]: removed PDB proc, exported TransferMode
      enum, ColorBalanceDialog, color_balance_create_lookup_tables, and
      color_balance
      
      * app/curves.[ch]: removed PDB procs, exported SMOOTH and GFREE
      #defines, CurvesDialog, curves_lut_func and curves_calculate_curve
      
      * app/desaturate.[ch]: removed PDB proc, exported desaturate
      
      * app/equalize.[ch]: removed PDB proc, exported equalize
      
      * app/histogram_tool.[ch]: removed PDB proc, exported HISTOGRAM_WIDTH
      and HISTOGRAM_HEIGHT #defines, HistogramToolDialog,
      histogram_tool_histogram_range
      
      * app/hue_saturation.[ch]: removed PDB proc, exported HueRange enum,
      HueSaturationDialog, hue_saturation_calculate_transfers,
      hue_saturation
      
      * app/invert.[ch]: remove PDB proc, export invert
      
      * app/threshold.[ch]: remove PDB proc, export ThresholdDialog and
      threshold_2
      
      * internal_procs.c: changes for pdbgen
      
      * app/gimprc.c: removed leftover declaration
      
      * app/image_map.h: add #include "gimpdrawableF.h"
      
      * app/lut_funcs.h: add ALPHA_LUT to ChannelLutType
      
      -Yosh
      993089b8
  10. 21 Jun, 1998 1 commit
    • CDT 1998 Larry Ewing's avatar
      app/bezier_select.c app/commands.[ch] app/devices.c app/disp_callbacks.c · db79dc64
      CDT 1998 Larry Ewing authored
      Sun Jun 21 15:16:46 CDT 1998 Larry Ewing <lewing@gimp.org>
      
      	* app/bezier_select.c
      	* app/commands.[ch]
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/interface.c
      	* app/menus.c
      	* app/pixmaps.h
      	* app/tools.[ch]
      	* app/undo.c: Lots of changes to the way tools are intialized and
      	accessed.  All information about a tool type is now contained in a
      	single ToolInfo array.  There are still some small issues to
      	adress about tool groups and we need some way of getting menu
      	ordering/grouping to work better (plug-ins need this too).  There
      	is still much to be done, but this is the next in cleaning up the
      	tools.
      
      	* app/posterize.[ch]
      	* app/threshold.[ch]
      	* app/histogram_tool.[ch]
      	* app/hue_saturation.[ch]
      	* app/levels.[ch]
      	* app/brightness_contrast.[ch]
      	* app/by_color_select.[ch]
      	* app/color_balance.[ch]
      	* app/curves.[ch]: Changed the *_initalize function prototypes from
      	gpointer to GDisplay, to allow better type chacking and provide a
      	uniform interface for all the dialog tools.
      db79dc64
  11. 13 Apr, 1998 1 commit
  12. 24 Nov, 1997 1 commit