1. 11 Jul, 2018 1 commit
  2. 12 May, 2018 1 commit
  3. 26 Nov, 2016 1 commit
  4. 11 Oct, 2014 1 commit
  5. 30 Sep, 2010 1 commit
  6. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  7. 30 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files implementing new(), ref() and unref() and · 11b1d24a
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpsamplepoint.[ch]: new files implementing new(),
      	ref() and unref() and the new GIMP_TYPE_SAMPLE_TYPE boxed type.
      
      	* app/core/gimpimage-sample-points.[ch]: removed ref() and unref()
      	functions here.
      
      	* app/core/gimpimage.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/xcf/xcf-save.c: changed accordingly.
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate_sample_points):
      	added missing call to gimp_image_undo_push_sample_point().
      
      
      svn path=/trunk/; revision=21812
      11b1d24a
  8. 09 Dec, 2006 1 commit
  9. 11 May, 2004 1 commit
    • Michael Natterer's avatar
      added action_data_get_context() and macro return_if_no_context(). · 11fa0925
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.[ch]: added action_data_get_context() and
      	macro return_if_no_context().
      
      	* app/actions/brushes-actions.c
      	* app/actions/buffers-actions.c
      	* app/actions/buffers-commands.c
      	* app/actions/data-commands.c
      	* app/actions/fonts-actions.c
      	* app/actions/fonts-commands.c
      	* app/actions/gradients-actions.c
      	* app/actions/images-actions.c
      	* app/actions/images-commands.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/templates-commands.[ch]
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.c: moved lots of code from widgets/
      	to the resp. action callbacks.
      
      	* app/widgets/gimpeditor.[ch]: added gimp_editor_add_action_button()
      	which creates a GtkButton connected to the resp. action.
      
      	* app/widgets/gimpdatafactoryview.[ch]: added "action_group"
      	parameters so we can distinguish brushes, patterns etc. actions.
      
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppatternfactoryview.c
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptoolview.c: removed tons of GtkButton::clicked()
      	callbacks and use gimp_editor_add_action_button() instead
      	of simply _add_button().
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: changed accordingly.
      11fa0925
  10. 29 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Switch from GtkItemFactory to GtkUIManager. The migration is almost · 46542801
      Michael Natterer authored
      2004-04-29  Michael Natterer  <mitch@gimp.org>
      
      	Switch from GtkItemFactory to GtkUIManager. The migration is
      	almost complete, still stuff missing/incomplete, definitely added
      	a bunch of new bugs...
      
      	* app/actions/*-commands.[ch]: converted all callback from
      	GtkItemFactory callbacks to GtkAction callbacks.
      
      	* app/actions/debug-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/help-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/qmask-actions.c
      	* app/actions/tool-options-actions.c: various fixes.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: move everything from
      	GtkItemFactory to GtkUIManager.
      
      	* app/gui/dialogs.[ch]: added new function dialogs_get_toolbox().
      	Needed because the action callbacks don't have a widget parameter
      	and sometimes we need a parent window for showing dialogs.
      
      	* app/gui/Makefile.am
      	* app/gui/brushes-menu.[ch]
      	* app/gui/buffers-menu.[ch]
      	* app/gui/channels-menu.[ch]
      	* app/gui/colormap-editor-menu.[ch]
      	* app/gui/dialogs-menu.[ch]
      	* app/gui/documents-menu.[ch]
      	* app/gui/error-console-menu.[ch]
      	* app/gui/fonts-menu.[ch]
      	* app/gui/gradient-editor-menu.[ch]
      	* app/gui/gradients-menu.[ch]
      	* app/gui/images-menu.[ch]
      	* app/gui/layers-menu.[ch]
      	* app/gui/palette-editor-menu.[ch]
      	* app/gui/palettes-menu.[ch]
      	* app/gui/patterns-menu.[ch]
      	* app/gui/qmask-menu.[ch]
      	* app/gui/templates-menu.[ch]
      	* app/gui/vectors-menu.[ch]: removed these files.
      
      	* app/gui/gui.c: create a global UI manager for the image popup
      	menu and the toolbox menubar.
      
      	* app/gui/menus.[ch]: removed all GtkItemFactory code.
      
      	* app/gui/image-menu.[ch]
      	* app/gui/toolbox-menu.[ch]: removed everything except the trivial
      	setup_funcs.
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/tool-options-menu.c: don't use the macros from menus.h
      	any more, they are gone.
      
      	* app/gui/gui-vtable.c
      	* app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in
      	menu entries.
      
      	* app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/
      	gimp_ui_manager_update/g
      
      	* app/widgets/gimpuimanager.[ch]: added API to get an action
      	group by name.
      
      	* app/widgets/gimpmenufactory.c: don't choke on the item_factory
      	entries being NULL.
      
      	* app/widgets/gimpactiongroup.c: make sure booleans set using
      	g_object_set() only have TRUE or FALSE values.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory
      	code and enable the #if 0'ed UI manager stuff.
      
      	* menus/gradient-editor-menu.xml: fixed typos.
      
      	* menus/image-menu.xml: duplicate everything so we have both
      	an image menubar and an image popup menu. Badly cries for an
      	XSL processor.
      
      	* menus/toolbox-menu.xml: added an "Extensions" placeholder.
      46542801
  11. 20 Apr, 2004 1 commit
    • Michael Natterer's avatar
      removed... · 661f6dde
      Michael Natterer authored
      2004-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/*-commands.[ch]: removed...
      
      	* app/actions/*-commands.[ch]: ...and added here.
      
      	* app/gui/Makefile.am
      	* app/gui/*-menu.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/actions/Makefile.am
      	* app/actions/*-actions.c: changed accordingly.
      
      	* app/actions/plug-in-actions.[ch]
      	* app/actions/tools-actions.[ch]: new files.
      
      	* app/Makefile.am: had to add more -u evilness because gui/
      	and actions/ have cyclic dependencies.
      
      	* menus/image-menu.xml: added some more items.
      661f6dde
  12. 18 Oct, 2003 1 commit
    • Michael Natterer's avatar
      added gimp_container_freeze() / _thaw() around font list reloading. · 78b61533
      Michael Natterer authored
      2003-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/text/gimp-fonts.c (gimp_fonts_load): added
      	gimp_container_freeze() / _thaw() around font list reloading.
      
      	* app/tools/gimp-tools.c (gimp_tools_init): added missing
      	gimp_container_freeze().
      
      	* app/widgets/gimpcontainerview.c: connect to the container's
      	"freeze" and "thaw" signals and empty / refill the view
      	accordingly. Ignore "add", "remove" and "reorder" signals while
      	the container is frozen. Fixes font list sorting after refresh and
      	speeds up refreshing of fonts, brushes, patterns etc.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpfontview.[ch]: new widget for the font list/grid.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_FONT_REFRESH.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      	* app/gui/Makefile.am
      	* app/gui/fonts-commands.[ch]
      	* app/gui/fonts-menu.[ch]: new files: a menu for the font view.
      
      	* app/gui/menus.c (menus_init): register the new <Fonts> menu.
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): removed the
      	fonts refreshing hack from the "Environment" page.
      78b61533
  13. 23 Aug, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const · ba70ce9a
      Michael Natterer authored
      2003-08-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgetstypes.h: changed GimpHelpFunc typedef:
      	- renamed "const gchar *help_data" to "const gchar *help_id".
      	- added "gpointer help_data".
      
      	* libgimpwidgets/gimphelpui.[ch]: added "gpointer help_data" to
      	gimp_help_connect(). Removed all fiddling with html links and
      	treat all help IDs as opaque identifiers.
      
      	* app/core/gimptoolinfo.[ch]: changed "help_data" member to
      	"help_id".
      
      	* app/widgets/gimpitemfactory.[ch]: removed the "help_path"
      	parameter from gimp_item_factory_new() since we don't fiddle with
      	html file paths any more. Simplifies menu item help a lot.
      	Renamed "help_data" member of struct GimpItemFactoryEntry to
      	"help_id".
      
      	* app/gui/plug-in-menus.c: changed accordingly. 3rd party
      	plug-ins' menu item help IDs are now encoded as
      	"help_path:help_id".
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c: when constructing the <Load> and
      	<Save> menus, take the resp. procedures' locale_domain and
      	help_path into account. Fixes translation of 3rd party menu items.
      	Also do the right thing for load/save procs which are implemented
      	as temporary procedures (they are impossible to implement
      	currently but it's nice to do the right thing anyway...).
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_MAIN identifier.
      
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimp/gimpui.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/gui.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimphelp.[ch]
      	* app/widgets/gimpmenufactory.[ch]
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gee_zoom.c
      	* plug-ins/common/gqbist.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/imap_main.c: changed accordingly. Removed
      	trailing whitespace all over the place.
      ba70ce9a
  14. 03 May, 2002 1 commit
    • Michael Natterer's avatar
      devel-docs/Makefile.am new file documenting the core's include policy. · a74a8997
      Michael Natterer authored
      2002-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* devel-docs/Makefile.am
      	* devel-docs/includes.txt: new file documenting the core's
      	include policy.
      
      	* HACKING: mention it here.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptions here.
      
      	* app/core/core-types.h: and added it here. This is a temp hack
      	needed because GimpToolInfo needs to know the GimpToolOptions
      	type.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
      	* libgimptool/gimptoolmodule.c: ...but here.
      
      	* app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
      	entirely, not single files from it.
      
      	* app/core/gimp.c
      	* app/core/gimpcontext.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimpmodules.c
      	* app/core/gimppaintinfo.c
      	* app/core/gimpparasite.c
      	* app/core/gimppreviewcache.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpunit.c: include "core-types.h" and no other types file.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: include "tools/tools-types.h"
      	instead of "libgimptool/gimptooltypes.h", warn about inclusion
      	on "gui/gui-types.h"
      
      	* app/file/file-open.c
      	* app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
      
      	* app/gui/about-dialog.c
      	* app/gui/brush-select.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-select.c
      	* app/gui/data-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs.c
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/info-window.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c: include "gui-types.h" and no
      	other types file.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint.c: include "paint-types.h" and no other types file.
      
      	* app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
      
      	* app/plug-in/plug-in-progress.c: warn about inclusion of
      	"display/display-types.h"
      
      	* app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptoolcontrol.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tools.c: include "tools-types.h" and no other types file,
      	warn about inclusion of "gui/gui-types.h".
      
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: warn about inclusion of
      	"gui/gui-types.h".
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
      
      	Split tool-safe-mode up in two files, one including libgimpproxy,
      	one libgimp.
      
      	* plug-ins/tools/Makefile.am
      	* plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
      	libgimp/ stuff only.
      
      	* plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
      	libgimptool/ but don't include libgimp/ because of conflicting
      	declarations.
      
      	Unrelated:
      
      	* app/tools/gimpclonetool.c: create the clone core so we don't crash.
      
      	* app/gui/file-open-dialog.c: changed the way we create previews
      	so that only out-of-date previews are created on a click in the
      	preview area. Unconditional creation can still be forced by
      	<Ctrl>+click. Changed the tooltip to document this.
      a74a8997
  15. 20 Mar, 2002 2 commits
    • Michael Natterer's avatar
      app/gui/Makefile.am removed... · 6ce08f3c
      Michael Natterer authored
      2002-03-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/Makefile.am
      	* app/gui/commands.[ch]: removed...
      
      	* app/gui/help-commands.[ch]: ...and added here.
      
      	* app/gui/menus.c: changed accordingly and added the mem_profile
      	debug callback so all debug stuff is in one place.
      6ce08f3c
    • Michael Natterer's avatar
      badly chopped into the new files below. Pass around much more "PlugIn" and · 47c5473e
      Michael Natterer authored
      2002-03-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in.[ch]: badly chopped into the new files below.
      	Pass around much more "PlugIn" and "Gimp" pointers instead of
      	using "current_plug_in" and "the_gimp". Needs much more hacking
      	though... :(
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-def.[ch]
      	* app/plug-in/plug-in-params.[ch]
      	* app/plug-in/plug-in-progress.[ch]
      	* app/plug-in/plug-ins.[ch]: new files.
      
      	* app/gui/Makefile.am
      	* app/gui/plug-in-commands.[ch]
      	* app/gui/plug-in-menus.[ch]: ditto.
      
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in-types.h: changed accordingly.
      
      	* app/pdb/procedural_db.c: changed procedural_db_destroy_args()
      	so it can be used from plug_in_args_destroy(). Fixed a parasite
      	memory leak (or introduced a new SEGV, we'll see...).
      
      	* app/display/Makefile.am: another "truly ugly hack" until the
      	plug-in menu stuff is chopped even more...
      
      	* app/gui/commands.[ch]: removed filters_repeat_cmd_callback() here,
      	it is now in plug-in-commands.[ch].
      
      	* app/widgets/gimpitemfactory.[ch]: removed all gimp_menu_item_*()
      	hacks. We have a GimpItemFactory available in most cases we used
      	to call this functions, and can use gimp_item_factors_from_path()
      	in all other cases. The item factory stuff needs more work
      	anyway...
      
      	* app/app_procs.c
      	* app/gimphelp.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly (includes,
      	renamed functions and gimp_menu_item_*() removal).
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      47c5473e
  16. 07 Feb, 2002 1 commit
    • Michael Natterer's avatar
      made the gimp_object_get_memsize() debugging output configurable by a · 758de05b
      Michael Natterer authored
      2002-02-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.c: made the gimp_object_get_memsize()
      	debugging output configurable by a global "gimp_debug_memsize"
      	boolean.
      
      	* app/display/gimpdisplay.c: removed duplicated prototype.
      
      	* app/display/gimpdisplayshell.[ch]: renamed the various cursor
      	functions to be more consistent and shorter. Compress window title
      	updates by adding a "gboolean title_dirty" and updating the title
      	in gimp_display_shell_flush().  Added "%m" (memory size) to the
      	possible title string substitutions.
      
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptool.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-callbacks.c: forgot to grab the
      	pointer when dragging guides from the rulers. Coincidentially,
      	this also fixes the buggy offset between guide and mouse
      	pointer...
      	Cleaned up the main tool event callback a but more.
      
      	* app/widgets/gimppreview.c
      	* app/gui/commands.c: set the new global "gimp_debug_memsize"
      	toggle to TRUE while calling gimp_object_get_memsize().
      
      	* app/gui/preferences-dialog.c: added a image title example
      	containing the new "%m" feature.
      
      	* docs/gimprc-1.3.5.in: document "%m" in the manpage.
      
      	* app/tools/gimpbezierselecttool.c: reordered some statements.
      
      	* app/tools/gimpdrawtool.[ch]: store the GimpDisplay passed to
      	gimp_draw_tool_start() in draw_tool->gdisp and use it for
      	coordinate transfomration. This way we can paint on a display
      	which is not tool->gdisp.
      
      	* app/tools/gimppainttool.c: changed the gimp_draw_tool_foo()
      	calls needed to make the straight_line preview work in a way
      	that does not interfere with paint_tool subclasses which want
      	to do their own drawing (like the clone tool).
      
      	Also changed the paint_tools PRETRACE_PAINT and POSTTRACE_PAINT
      	flags usage in a way that subclasses can use them without major
      	hackery: don't simply wrap gimp_display_flush_now() with
      	PRETRACE/POSTTRACE calls, but wrap the actual painting calls, so
      	subclasses are able to do useful things with paint_tool->*_coords.
      
      	* app/tools/gimpclonetool.c: removed poking around in draw_tool
      	internals and simply suspend()/resume() it in
      	PRETRACE_PAINT/POSTTRACE_PAINT to get the clone_src indicator
      	drawn correctly.
      758de05b
  17. 31 Jan, 2002 1 commit
    • Michael Natterer's avatar
      app/core/gimp.c app/core/gimpdocuments.c app/core/gimpmodules.c fixed some · 4ecccfe9
      Michael Natterer authored
      2002-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpmodules.c
      	* app/core/gimppalette.c: fixed some get_memsize()
      	implementations, give useful names to some global objects so the
      	new mem profile of "the_gimp" looks nicer.
      
      	* app/gui/menus.c
      	* app/gui/commands.[ch]: added a "Debug" menu to the toolbox,
      	offer a mem profile of the global "Gimp" instance.
      4ecccfe9
  18. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · 77863d88
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/plug_in.[ch]: removed...
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/plug-in.[ch]: ...and added here.
      
      	* app/appenv.h: removed StackTraceMode and MessageHandlerType...
      
      	* libgimpbase/gimpbasetypes.h: ...and added them here.
      
      	* tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.
      
      	* tools/pdbgen/enumcode.pl: added a general check to prevent
      	enums which are defined in libgimp* from being written to
      	"libgimp/gimpenums.c".
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/core-types.h: include "pdb/pdb-types.h" so including
      	"core/core-types.h" gets the whole core type space.
      
      	* app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
      	constructor and store it in the Gimp struct because the value is
      	also passed to plug-ins and nobody should include "appenv.h".
      
      	* app/gimprc.[ch]: pass the alternate_system_gimprc and
      	alternate_gimprc filenames from the command line to gimprc_prase()
      	so we don't need to include "appenv.h".
      
      	* app/batch.[ch]: pass the "batch_cmds" as parameter, don't
      	include "append.h".
      
      	* app/app_procs.c: pass more parameters around.
      
      	* app/devices.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/core/gimpgradient.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gui/commands.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/xinput_airbrush.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly:
      
      	- changed "plug-in.h" include where needed.
      	- don't call gimp_fatal_error() directly, it's called via the log
      	  handler when calling g_error().
      	- don't incude "errors.h" except from main.c.
      	- changed stack_trace and message_handler enum names.
      	- get "stack_trace_mode" from Gimp.
      	- removed many inclusions of "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db.c: regenerated.
      77863d88
  19. 03 Aug, 2001 1 commit
    • Michael Natterer's avatar
      set style properties for dockables. · a824143b
      Michael Natterer authored
      2001-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* gtkrc: set style properties for dockables.
      
      	* app/main.c: some #if 0'ed code for mem profiling.
      
      	* app/gui/commands.[ch]
      	* app/gui/menus.c: added a mem profiling menu entry + callback.
      
      	* app/gui/palette-editor.c: added a #warning as reminder, use
      	gtk_dialog_set_has_separator().
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdrawablelistview.[ch]: added some style
      	properties to set GimpDockable and friends' borders and spacings.
      
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]: GObject stuff, cleanup.
      
      	* app/docindex.c
      	* app/errorconsole.c
      	* app/gdisplay_color_ui.c
      	* app/gimpprogress.c
      	* app/module_db.c
      	* app/undo_history.c
      	* app/user_install.c
      	* app/gui/channels-commands.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-window.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/widgets/gimpdatafactoryview.c
      	* libgimp/gimpexport.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* plug-ins/[lots of files]:
      
      	Some perl mass processing applying s/_("Foo")/GTK_STOCK_FOO/g,
      	minor manual cleanup in some files.
      a824143b
  20. 29 Jun, 2001 1 commit
    • Michael Natterer's avatar
      removed GimpFillType. · d81b47ce
      Michael Natterer authored
      2001-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: removed GimpFillType.
      
      	* app/gimprc.c: parse the session-info's new "aux-info" field.
      
      	* app/global_edit.[ch]: removed the old "Paste Named" dialog and
      	prefixed all functions with "gimp_".
      
      	* app/core/core-types.h: added GimpFillType.
      
      	* app/core/gimpbrush.[ch]: new signal "spacing_changed".
      
      	* app/gui/Makefile.am
      	* app/gui/tools-commands.[ch]: one more file cut out of commands.[ch].
      
      	* app/gui/commands.[ch]: removed the tools stuff here.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/dialogs-constructors.c: use the new GimpBrushFactoryView
      	(see below).
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/menus.[ch]:
      
      	- Made it 64bit safe again by passing the dialog factory's
      	  identifiers as GQuarks, not as guints created by GPOINTER_TO_UINT().
      	- Added a "gchar *quark_string" field to GimpItemFactoryEntry
      	  which gets transformed into a GQuark by menus_create_item().
      	- Added SEPARATOR() and BRANCH() macros which make the *_entries[]
      	  arrays more readable.
      	- Added a menu item to show/hide GimpImageDock's image menu.
      	- Removed file_last_opened_cmd_callback().
      
      	* app/gui/edit-commands.c: the global_edit functions are "gimp_"
      	prefixed now.
      
      	* app/gui/file-commands.[ch]: added file_last_opened_cmd_callback()
      	here.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpbrushfactoryview.[ch]: new widget: a
      	GimpDataFactory subclass with a "spacing" scale.
      
      	* app/widgets/gimpcontainereditor.[ch]:
      
      	- Connect to the GimpContainerView's "select_item",
      	  "activate_item" and "context_item" signals here once instead of
      	  in each subclass and dispatch them via new virtual functions.
      	- Added a convenience function which makes DND to the buttons much
      	  less painful for subclasses.
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpdatafactoryview.[ch]: changed accordingly.
      
      	* app/widgets/gimpdialogfactory.[ch]:
      
      	- Added gimp_dialog_factory_dialog_raise() which can raise
      	  toplevel dialogs _and_ dockables (and creates them if they are
      	  not open yet).
      	- Keep track of all created dialogs (not only toplevels).
      	- Added an "aux_info" field to GimpSessionInfo which is a GList of
      	  gchar* and is saved in sessionrc.
      	- Remember if GimpImageDock's image menu is visible by using an
      	  aux_info string.
      	- The code did not become nicer with all those new constraints. I
      	  have to add comments before I forget how it works.
      
      	* app/widgets/gimpdockbook.c: set the state of the "Show Image Menu"
      	menu item before popping up the item factory.
      
      	* app/widgets/gimpimagedock.[ch]: added
      	gimp_image_dock_set_show_image_meu().
      
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/perl/examples/fit-text
      	* plug-ins/perl/examples/terral_text
      	* plug-ins/perl/examples/tex-to-float: register all text rendering
      	plug-ins under <Image>/Filters/Text
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/enums.pl
      	* po/POTFILES.in: changed according to all the stuff above.
      d81b47ce
  21. 26 Jun, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d26c2668
      Michael Natterer authored
      2001-06-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/color_transfer.[ch]: removed.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpcolorbalancetool-transfer.[ch]: added.
      
      	* app/tools/gimpcolorbalancetool.c: changed accordingly.
      
      	* app/base/Makefile.am
      	* app/base/tile-manager-crop.[ch]: formerly known as crop_buffer().
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/context_manager.[ch]: added the global clipboard and the
      	named buffer list here.
      
      	* app/app_procs.c: don't call color_transfer_init() and don't free
      	the buffer stuff (done by the context manager now).
      
      	* app/errorconsole.c: don't #include "gui/commands.h"
      
      	* app/global_edit.[ch]: removed lots of stuff which is now done by
      	gui/edit-commands.* or the new GimpBuffer object. The "paste
      	named" dialog will go away and this file will be moved to core/
      	soon.
      
      	* app/image_new.c: no need to declare the global_buffer extern any
      	more.
      
      	* app/qmask.c: don't #include "global_edit.h"
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpbuffer.[ch]: new object (aka named buffer)
      
      	* app/core/gimpcontext.[ch]: added a GimpBuffer attribute.
      
      	* app/core/gimpimage.[ch]: one s/int/gboolean/.
      
      	* app/core/gimppattern.c: hmm...
      
      	* app/gui/commands.[ch]: split up in small files:
      
      	* app/gui/Makefile.am
      	* app/gui/edit-commands.[ch]
      	* app/gui/file-commands.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/select-commands.[ch]
      	* app/gui/view-commands.[ch]: new files.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added the named buffer list & grid.
      
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/test-commands.c: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* tools/pdbgen/pdb/edit.pdb: changed for the global_edit stuff.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpbufferpreview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]: new widgets.
      
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/widgets-types.h: changed accordingly for the new
      	GimpBuffer object and it's views, misc. cleanups.
      
      	* pixmaps/Makefile.am
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm: new pixmaps (they all look the same... Tigert? ;-)
      
      	* po/POTFILES.in: added the new files.
      d26c2668
  22. 18 Jun, 2001 1 commit
    • Michael Natterer's avatar
      major cleanup. After being finished, I decided that it needs to be · 3ef20cd8
      Michael Natterer authored
      2001-06-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/nav_window.[ch]: major cleanup. After being finished, I
      	decided that it needs to be factored out to a widget (see below),
      	so like 90% of this file will go away soon.
      
      	* app/apptypes.h: added opaque NavigationDialog typedef.
      
      	* app/gdisplay.[ch]: Added gdisplay_selection_visibility() which
      	is called from gdisplays_selection_visibility(). Capitalized the
      	SelectionControl enum values. Cleaned up the GDisplay struct and
      	it's initialisation while i was on it.
      
      	* app/gimage.c: gimage_size_changed_handler(): removed stuff which
      	is now done by GimpImage itself.
      
      	* app/scale.c
      	* app/scroll.c: also update the navigation popup, not only the
      	dialog.
      
      	* app/selection.[ch]: major indentation & cleanup attack. Maybe
      	found the "Selection vanishes" bug (the timeout id was assinged to
      	a gint, not a _guint_).
      
      	* app/undo.c: s/gimp_image_size_changed/gimp_viweable_size_changed/
      
      	* app/core/gimpdrawable.c: invalidate the image's preview from our
      	"invalidate_preview" implementation. This means that the image's
      	preview is invalidated way too often currently, which cries for
      	some general freeze/thaw mechanism on the GimpViewable level.
      	(Note that previews are rendered in the idle loop, so this is not
      	really a major performance impact, it's just ugly).
      
      	* app/core/gimpimage.[ch]: removed the "size_changed" signal...
      
      	* app/core/gimpviewable.[ch]: ...and added it here.
      
      	* app/core/gimplayer.c: invalidate_preview(): always chain up,
      	also if it's a floating selection.
      
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.c: minor cleanups.
      
      	* app/gui/preferences-dialog.c: no need to invalidate the image
      	after we have invalidated all it's layers.
      
      	* app/core/gimpimage-mask.c
      	* app/gui/commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: capitalized the SelectionCommand enum
      	values.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpnavigationpreview.[ch]: new widget.
      
      	* app/widgets/gimppreview.[ch]: added a non-working
      	non-dot-for-dot mode. Added xres/yres params to the
      	gimp_preview_calc_size() helper function.
      
      	Cache the "size" value which was passed to the simple function
      	variants (gimp_preview_new() and gimp_preview_set_size()) so we
      	can re-calculate the preview's extents on the underlying
      	viewable's "size_changed" signal and on gimp_preview_set_viewable().
      
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.c: changed accordingly.
      3ef20cd8
  23. 05 Jun, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 615d892d
      Michael Natterer authored
      2001-06-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/authors.h: removed.
      
      	* app/gui/Makefile.am
      	* app/gui/authors.h: added.
      
      	* tools/authorsgen/authorsgen.pl: generate it in the new place.
      
      	* app/gui/about-dialog.c
      	* app/gui/commands.c
      	* app/interface.c: don't #include "gimphelp.h"
      615d892d
  24. 04 Jun, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 4184ebaf
      Michael Natterer authored
      2001-06-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/resize.[ch]: removed.
      
      	* app/gui/Makefile.am
      	* app/gui/resize-dialog.[ch]: added.
      
      	* app/gui/commands.c
      	* app/gui/layers-commands.c: changed accordingly.
      4184ebaf
    • Michael Natterer's avatar
      some s/0/FALSE/ · 80dad0fc
      Michael Natterer authored
      2001-06-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/global_edit.c: some s/0/FALSE/
      
      	* app/resize.[ch]: removed resize_scale_implement() and
      	resize_check_layer_scaling(), cleanup.
      
      	* app/core/gimpimage.[ch]: added gimp_image_check_scaling().
      
      	* app/gui/commands.c: added image_scale_implement() as static
      	function.
      
      	* app/gui/tool-options-dialog.[ch]: add the tool options widgets
      	to the dialog when they are first needed. Removed
      	tool_options_dialog_add().
      
      	* app/tools/tool_manager.c: don't call tool_options_dialog_add().
      80dad0fc
  25. 03 Jun, 2001 1 commit
  26. 25 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 746fc519
      Michael Natterer authored
      2001-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpui.[ch]: removed.
      
      	* app/tools/paint_options.[ch]: removed paint_mode_menu_new().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/widgets/gimpwidgets-utils.[ch]: added here.
      
      	* app/disp_callbacks.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/interface.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      746fc519
  27. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added new directory libgimpbase/ · 7d1375e9
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool-1.4.in: added new directory libgimpbase/
      
      	* app/Makefile.am: link against the new lib.
      
      	* app/appenums.h: removed the PDB enums which are in
      	libgimpbase/gimpbasetypes.h now. They are all "Gimp" prefixed.
      
      	* app/apptypes.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/tools/: changed includes and all PDB types.
      
      	* app/pdb/*: regenerated.
      
      	* libgimp/Makefile.am: don't build libgimpi.a uglyness any more.
      
      	* libgimp/gimpenv.[ch]
      	* libgimp/gimplimits.[hh]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimpparasiteio.[ch]
      	* libgimp/gimpprotocol.[ch]
      	* libgimp/gimpsignal.[ch]
      	* libgimp/gimpunit.h
      	* libgimp/gimputils.[ch]
      	* libgimp/gimpwire.[ch]: removed...
      
      	* libgimpbase/*: ...and added here as new library.
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimpenums.h
      	* libgimp/gimpimage.[ch]
      	* libgimp/gimptile.c
      	* libgimp/gimptypes.h
      	* libgimp/gimpunit.c: changed accordingly. Added the
      	gimp_*_add_new_parasite to gimp.[ch], gimpdrawable.[ch] and
      	gimpimage.[ch].
      
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c
      	* libgimpwidgets/gimpwidgetstypes.h: changed includes accordingly.
      
      	* plug-ins/*/Makefile.am
      	* plug-ins/common/mkgen.pl: link against libgimpbase.
      
      	* tools/pdbgen/Makefile.am: scan libgimpbase/gimpbasetypes.h, so
      	the enums are known to pdbgen...
      
      	* tools/pdbgen/enumcode.pl: ...but don't write them out to
      	libgimp/gimpenums.h
      
      	* tools/pdbgen/app.pl: include libgimp/gimpbase.h in all *_cmds.c
      	files. Added GIMP_ to the type names ganerated in app/.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed includes.
      7d1375e9
  28. 11 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am taken behind the curtain and shot. (famous words of Seth · 3bd0b97e
      Michael Natterer authored
      2001-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/lc_dialog.[ch]: taken behind the curtain and shot.
      	(famous words of Seth Burgess on #gimp)
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gui/commands.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c: don't #include it or call it's
      	functions any more.
      
      	* app/gui/dialogs-commands.[ch]: added a constructor for a dock
      	which looks like the old L&C dialog (taken from test-commands.*)
      
      	* app/gui/test-commands.[ch]: removed here.
      
      	* app/gui/dialogs-constructors.[ch]: wrapped the old
      	paths-dialog.* stuff in a dockable which can be created only
      	once. Will go away as soon as the new path stuff is there.
      
      	* app/gui/dialogs.c: added the paths dockable, removed lc_dialog.
      
      	* app/gui/paths-dialog.c: some changes to make it work without the
      	lc_dialog around it. Will probably crash randomly and refuse to
      	update it's contents properly (scheduled for removal).
      3bd0b97e
  29. 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
  30. 28 Apr, 2001 1 commit
    • Michael Natterer's avatar
      added RunModeType. removed RunModeType. don't scan app/plug_in.h for · 06f63a44
      Michael Natterer authored
      2001-04-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: added RunModeType.
      	* app/plug_in.h: removed RunModeType.
      	* tools/pdbgen/Makefile.am: don't scan app/plug_in.h for enums.
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/file-open.[ch]
      	* app/file-save.[ch]
      	* app/file-utils.[ch]: removed all GUI specific code.
      
      	* app/gui/Makefile.am
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: new files.
      	Renamed file_open() to 	file_open_with_display().
      
      	* app/app_procs.c
      	* app/docindex.c
      	* app/gimpdnd.c
      	* app/gui/commands.c
      	* app/gui/gui.c
      	* app/gui/menus.c: changed accordingly.
      06f63a44
  31. 20 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · c1e2f4e2
      Michael Natterer authored
      2001-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/layers_dialogP.h: removed.
      
      	* app/gimpui.[ch]: new function gimp_menu_position().
      
      	* app/disp_callbacks.c
      	* app/interface.c
      	* app/gui/layers-dialog.c: popup the image and layers menu with
      	gtk_item_factory_popup_with_data() instead of gtk_menu_popup()
      	and pass the GimpImage we're operating on as data.
      
      	For accelerators, which are invoked without context, we catch key
      	press events and attach the context to the GtkItemFactory.
      
      	* app/gui/Makefile.am
      	* app/gui/layers-commands.[ch]: common layer callbacks (instead of
      	separate ones in commands.c and layers-dialog.c
      
      	* app/gui/commands.[ch]
      	* app/gui/layers-dialog.[ch]: removed the menu callbacks here.
      
      	* app/gdisplay.h
      	* app/lc_dialog.c
      	* app/gui/channels-dialog.c
      	* app/gui/layer-select.c
      	* app/gui/menus.c
      	* po/POTFILES.in: changed accordingly.
      c1e2f4e2
  32. 19 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/brush_header.h app/pattern_header.h · 26dee230
      Michael Natterer authored
      2001-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/brush_header.h
      	* app/pattern_header.h
      	* app/desaturate.[ch]
      	* app/equalize.[ch]
      	* app/invert.[ch]: removed.
      
      	* app/gimpbrush-header.h
      	* app/gimppattern-header.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]: new files.
      
      	* app/gui/commands.c: put some stuff from desaturate, equalize and
      	invert here. While it's ok to check the drawable type in the
      	callback, this is the wrong place for PDB wrappers.
      
      	* app/gimpbrush.c
      	* app/gimpbrushpipe.c
      	* app/gimplayer.c
      	* app/gimppattern.c
      	* app/pdb/color_cmds.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      26dee230
  33. 18 Apr, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am removed · 63d3ff38
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_ops.[ch]: removed
      
      	* app/gimpdrawable-offset.[ch]
      	* app/gimpimage-duplicate.[ch]: new files without GUI.
      
      	* app/gui/Makefile.am
      	* app/gui/offset-dialog.[ch]: new files.
      
      	* app/gui/commands.c
      	* app/pdb/channel_ops_cmds.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/channel_ops.pdb: changed accordingly.
      63d3ff38
    • Michael Natterer's avatar
      app/Makefile.am removed. new files: the convert functionality without GUI · addaad45
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/convert.[ch]: removed.
      	* app/gimpimage-convert.[ch]: new files: the convert functionality
      	without GUI (now called gimp_image_convert()).
      
      	* app/gui/Makefile.am
      	* app/gui/convert-dialog.[ch]: new files.
      
      	* app/gui/commands.c
      	* app/pdb/convert_cmds.c
      	* po/POTFILES.in
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl: changed accordingly.
      addaad45
    • Michael Natterer's avatar
      app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] · 91471766
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.[ch]
      	* app/gui/about-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/tips-dialog.[ch]: return a GtkWidget from the constructor.
      
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: register them with the dialog
      	factory.
      
      	* app/gui/commands.[ch]
      	* app/gui/menus.c: removed their old callbacks.
      
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-editor.[ch]: no need to show or raise the shell
      	(that's done by the dialog factory now).
      
      	* app/widgets/gimpdialogfactory.c: actually do what the
      	"singleton" and "session_managed" flags say.
      91471766
  34. 17 Apr, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am app/gui/Makefile.am app/about_dialog.[ch] · ddc91452
      Michael Natterer authored
      2001-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gui/Makefile.am
      	* app/about_dialog.[ch]
      	* app/brush_edit.[ch]
      	* app/brush_select.[ch]
      	* app/channels_dialog.[ch]
      	* app/color_area.[ch]
      	* app/color_notebook.[ch]
      	* app/color_select.[ch]
      	* app/colormap_dialog.[ch]
      	* app/commands.[ch]
      	* app/file_new_dialog.[ch]
      	* app/gradient_editor.[ch]
      	* app/gradient_select.[ch]
      	* app/indicator_area.[ch]
      	* app/info_dialog.[ch]
      	* app/info_window.[ch]
      	* app/layer_select.[ch]
      	* app/layers_dialog.[ch]
      	* app/menus.[ch]
      	* app/palette.[ch]
      	* app/palette_import.[ch]
      	* app/palette_select.[ch]
      	* app/paths_dialog.[ch]
      	* app/pattern_select.[ch]
      	* app/preferences_dialog.[ch]
      	* app/session.[ch]
      	* app/test_commands.[ch]
      	* app/tips_dialog.[ch]
      	* app/toolbox.[ch]: moved to gui/ (s/_/-/ and some more useful
      	filenames on the way).
      
      	* app/app_procs.c
      	* app/context_manager.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimprc.c
      	* app/image_new.c
      	* app/interface.c
      	* app/nav_window.c
      	* app/path.c
      	* app/plug_in.c
      	* app/gui/dialogs-constructors.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpcolorpanel.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* po/POTFILES.in: changed accordingly.
      ddc91452
    • Michael Natterer's avatar
      app/session.[ch] removed the old dialog session management code... · f283b957
      Michael Natterer authored
      2001-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/session.[ch]
      	* app/gimprc.c: removed the old dialog session management code...
      
      	* app/widgets/gimpdialogfactory.[ch]: ...and manage all dialogs here.
      
      	* app/gui/dialogs-constructors.[ch]: dialog factory compliant
      	constructors for all session managed toplevel dialogs.
      
      	* app/brush_select.[ch]
      	* app/devices.[ch]
      	* app/docindex.[ch]
      	* app/errorconsole.[ch]
      	* app/gradient_select.[ch]
      	* app/info_dialog.c
      	* app/lc_dialog.[ch]
      	* app/palette.[ch]
      	* app/pattern_select.[ch]
      	* app/toolbox.[ch]
      	* app/tools/tool_options_dialog.[ch]: all dialog constructors have
      	to return the dialog now (even the legacy ones that will go away).
      	Removed the session management code as this is now done for the
      	dialogs, not by them.
      
      	* app/app_procs.c
      	* app/color_select.c
      	* app/commands.[ch]
      	* app/indicator_area.c
      	* app/menus.c
      	* app/palette_select.c
      	* app/preferences_dialog.c
      	* app/gui/dialogs.c
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/gui.c
      	* app/tools/gimptool.c
      	* app/widgets/gimpdock.c: changed accordingly.
      f283b957