1. 12 Jan, 2003 1 commit
    • Michael Natterer's avatar
      pass the GimpItemListView as "data" to the item_factory callbacks, not · f44500aa
      Michael Natterer authored
      2003-01-12  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimpitemlistview.c: pass the GimpItemListView as
      	"data" to the item_factory callbacks, not just a "Gimp" pointer.
      	* app/display/gimpdisplayshell.c: use
      	gtk_window_add_accel_group(), not gimp_window_add_accel_group()
      	because we now attach the menubar's accel group, which has the
      	GimpDisplay as callback data.
      	* app/display/gimpdisplayshell-callbacks.c: pass the GimpDisplay
      	as "popup_data" to *_item_factory_popup_with_data().
      	* app/gui/channels-commands.c
      	* app/gui/drawable-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c: changed accordingly.
      	* app/widgets/gimpwidgets-utils.[ch]: removed
      	gimp_window_[add|remove]_accel_group() and
      	gimp_widget_get_callback_context() because they were evil hacks
      	which are no longer needed now that all item_factories have proper
      	callback data (no just Gimp pointers).
  2. 19 Dec, 2002 1 commit
    • Michael Natterer's avatar
      added utility functions gimp_get_mod_name_[shift|control|alt]() and · 4328fa94
      Michael Natterer authored
      2002-12-19  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimpwidgets-utils.[ch]: added utility functions
      	gimp_get_mod_name_[shift|control|alt]() and gimp_get_mod_separator()
      	which get the translated strings for "Shift", "Ctrl", "Alt" and "+"
      	from GtkAccelLabelClass to force consistency between menu
      	accelerators and other modifiers displayed in the GUI.
      	Made the format string to display the modifier ("<%s>")
      	translatable separately.
      	* app/gui/file-open-dialog.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/transform_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimpvectorslistview.c: use the new functions instead
      	of hardcoding the modifier names over and over again.
      	* app/tools/transform_options.c: made a scale_entry out of the
      	grid density spinbutton.
  3. 09 Oct, 2002 1 commit
  4. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/main.c moved "message_handler" from here... · f77c7ade
      Michael Natterer authored
      2001-12-01  Michael Natterer  <mitch@gimp.org>
      	* app/main.c
      	* app/appenv.h: moved "message_handler" from here...
      	* app/core/gimp.[ch]: ...to here. Added gimp_message() and a
      	"gui_message_func" pointer...
      	* app/gui/gui.c: ...which gets set here to gui_message().
      	* app/errors.c: don't include any gui stuff but simply call
      	* app/app_procs.c: don't set "message_handler" here, it's done in
      	gui.c now.
      	* app/gui/error-console-dialog.[ch]: use gimp->message_handler.
      	* app/gui/dialogs-constructors.c: pass a Gimp pointer to
      	* app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter
      	of gimp_message_box() a const gchar*, not just gchar*.
      	* tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't
      	include "appenv.h".
      	* app/pdb/message_cmds.c: regenerated.
      	* app/devices.[ch]: cleanup before chopping: removed global
      	variable "current_device", added devices_get_current(), pass lots
      	of Gimp pointers around.
      	* app/gimprc.c: pass a Gimp pointer to devices_rc_update().
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c: use devices_get_current(), pass Gimp
      	pointers to all devices_foo() functions.
      	* app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
  5. 30 Nov, 2001 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files: the QMask stuff stripped from GUI code. · bba84137
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      	* app/core/Makefile.am
      	* app/core/gimpimage-qmask.[ch]: new files: the QMask stuff
      	stripped from GUI code. Added gimp_image_qmask_invert().
      	* app/core/gimpimage.[ch]: removed the QMask functions.
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-qmask.[ch]: removed.
      	* app/gui/Makefile.am
      	* app/gui/qmask-commands.[ch]: new files for the new QMask item
      	factory callbacks and the qmask query dialog.
      	* app/gui/menus.c: added a context menu for the QMask button.
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c: don't include the qmask
      	* app/display/gimpdisplayshell-callbacks.[ch]: Moved the 2 qmask
      	callbacks here. Don't popup the dialog on double_click. Show
      	the contect menu on right-click.
      	* app/display/gimpdisplayshell-callbacks.[ch]:
      	gimp_display_shell_canvas_events(): removed the hack of
      	conntecting "key_press_event" to gtk_true() while a tool is
      	active. Instead, check for (event & GDK_BUTTON1_MASK) in the
      	key_press and key_release handlers and stop signal emission. Save
      	the modifier state on "button_press" and restore it after
      	Changed the way context menus are updated/shown:
      	- removed GimpContainerContextFunc.
      	- pass around item factory identifiers (e.g. "<Brushes>")
      	- added voodoo to update the menus before showing them.
      	* app/widgets/gimpitemfactory.[ch]: gimp_item_factory_new(): take
      	a GimpItemFactoryUpdateFunc parameter, attach it as data to the
      	factory and use it to update the menu in
      	* app/widgets/gimpwidgets-utils.[ch]: removed
      	gimp_item_factory_popup_with_data() here.
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpdrawablelistview.[ch]: use item_factory
      	identifier strings all over the place.
      	* app/widgets/gimpdockbook.c: removed the menu update code, it's
      	now in gui/dialogs-commands.c.
      	* app/gui/brushes-commands.[ch]
      	* app/gui/buffers-commands.[c]
      	* app/gui/channels-commands.[ch]
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/documents-commands.[ch]
      	* app/gui/gradient-editor-commands.[ch]
      	* app/gui/gradients-commands.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/palettes-commands.[ch]
      	* app/gui/patterns-commands.[ch]: removed all show_context_menu()
      	functions and made the update functions public. Changed all
      	update functions to use the gimp_item_factory_set_foo() methods
      	instead of gimp_menu_item_set_foo().
      	* app/gui/menus.c: pass the update functions to the
      	* app/gui/dialogs-constructors.c: pass item factory identifiers to
      	all view constructors.
      	* app/gui/gradient-editor.c: show the context menu using the new
      	* app/gui/toolbox.c: no need to include "dialogs-commands.h".
  6. 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
      	* app/widgets/gimpcontainermenu.c: fixed item insert order.
      	* app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
      	* 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"
  7. 04 Aug, 2001 1 commit
    • Michael Natterer's avatar
      register the button icons with GTK_ICON_SIZE_BUTTON, but set them as · d128e989
      Michael Natterer authored
      2001-08-05  Michael Natterer  <mitch@gimp.org>
      	* libgimpwidgets/gimpstock.[ch]: register the button icons with
      	GTK_ICON_SIZE_BUTTON, but set them as scalable fallbacks for
      	themselves so they get scaled for menus.
      	* app/gui/menus.c: set stock icons for much more menu entries.
      	* app/widgets/gimpwidgets-utils.[ch]: new utility function
      	* app/disp_callbacks.[ch]
      	* app/gui/brushes-commands.c
      	* app/gui/channels-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/patterns-commands.c: use the new function.
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c: s/_("Reset")/GIMP_STOCK_RESET/
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerview.[ch]: moved the button_box utility
      	functions from the container editor to GimpContainerView itself.
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c: changed accordingly. Removed
      	lots of duplicated code and use stock images instead of pixmaps.
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimppatheditor.c: use stock images instead of
      	* pixmaps/Makefile.am: removed "yes" and "no", added "stroke".
      	* pixmaps/anchor.xpm
      	* pixmaps/delete.xpm
      	* pixmaps/lower.xpm
      	* pixmaps/new.xpm
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm
      	* pixmaps/raise.xpm
      	* pixmaps/refresh.xpm
      	* pixmaps/toselection.xpm: made them all 16x16 so they are scaled
      	nicely in menus. Should probably be 18x18.
  8. 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.
  9. 21 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/lc_dialogP.h removed stuff that will go away anyway · 44d41e8e
      Michael Natterer authored
      2001-04-21  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/lc_dialogP.h
      	* app/paths_dialogP.h: removed stuff that will go away anyway (put
      	the declarations to the public headers).
      	* app/gimpui.[ch]: new function gimp_widget_get_callback_context()
      	which may only be called from a *_cmd_callback() and returns the
      	data we attached with weird methods.
      	* app/gui/Makefile.am
      	* app/gui/channels-commands.[ch]: callbacks independent from the
      	channels dialog and the "new" and "edit channel" dialogs.
      	* app/gui/channels-dialog.[ch]
      	* app/gui/layers-commands.c
      	* app/gui/layers-dialog.[ch]
      	* app/lc_dialog.[ch]
      	* app/gui/menus.c
      	* app/gui/paths-dialog.[ch]
      	* app/tools/gimpbezierselecttool.c
      	* po/POTFILES.in: changed accordingly.
  10. 20 Apr, 2001 2 commits
    • Michael Natterer's avatar
      new functions gimp_window_add_accel_group() and · 3d9da82f
      Michael Natterer authored
      2001-04-20  Michael Natterer  <mitch@gimp.org>
      	* app/gimpui.[ch]: new functions gimp_window_add_accel_group() and
      	gimp_window_remove_accel_group() which do the ugly accel context
      	hack described below.
      	* app/interface.c
      	* app/gui/layers-dialog.c: use the new functions.
      	* app/disp_callbacks.c
      	* app/gui/layers-commands.c: removed stuff which is now done
    • 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.
  11. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      	* po-libgimp/POTFILES.in: changed file locations.
  12. 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.
  13. 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
  14. 28 Mar, 2000 1 commit
  15. 14 Mar, 2000 1 commit
  16. 18 Feb, 2000 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am simple widget which creates a pixmap from XPM data · f9f4411f
      Michael Natterer authored
      2000-02-18  Michael Natterer  <mitch@gimp.org>
      	* libgimp/Makefile.am
      	* libgimp/gimppixmap.[ch]: simple widget which creates a pixmap
      	from XPM data without the need to worry about it's parent's
      	"realized" state and other stuff.
      	* libgimp/gimpcolorbutton.c: removed a gtk-doc comment from an
      	internal function.
      	* libgimp/gimpwidgets.[ch]: new function gimp_pixmap_button_new().
      	* app/gimpui.h
      	* libgimp/gimpui.h: include gimppixmap.h.
      	* app/gradient.c
      	* app/nav_window.c
      	* app/palette.c
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.c
      	* libgimp/gimpquerybox.c
      	* plug-ins/FractalExplorer/FractalExplorer.c: use GimpPixmaps.
      	* plug-ins/Lighting/*
      	* plug-ins/MapObject/*: some more cleanups: reduced # of includes,
      	made private functions static, use GimpPixmaps.
      	* plug-ins/libgck/Makefile.am
      	* plug-ins/libgck/NEWS
      	* plug-ins/libgck/README
      	* plug-ins/libgck/TODO
      	* plug-ins/libgck/docs/html/gck.html
      	* plug-ins/libgck/docs/html/gck_application_window.html
      	* plug-ins/libgck/docs/html/gck_dialog_window.html
      	* plug-ins/libgck/docs/html/gckmath.html
      	* plug-ins/libgck/docs/html/gckui.html
      	* plug-ins/libgck/docs/html/gckvector.html: removed because they
      	documented files which don't exist any more.
  17. 10 Feb, 2000 1 commit
    • Michael Natterer's avatar
      removed the query boxes. · 9ffed655
      Michael Natterer authored
      2000-02-10  Michael Natterer  <mitch@gimp.org>
      	* app/gimpui.[ch]: removed the query boxes.
      	* po-libgimp/POTFILES.in
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpquerybox.[ch]: new files. Added a boolean query box
      	to get rid of all those handmade "yes/no" query dialogs. Changed
      	the query box callback prototypes to return the entered value
      	instead of a pointer to it.
      	* app/commands.c
      	* app/display_ops.c
      	* app/gradient.c
      	* app/palette.c
      	* app/paths_dialog.c: correctly call the new query box functions
      	and use the boolean query box instead of inventing this wheel over
      	and over again.
      	* app/global_edit.[ch]: same as above and cleaned up the public
  18. 07 Feb, 2000 1 commit
    • Michael Natterer's avatar
      app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and · ef178669
      Michael Natterer authored
      2000-02-07  Michael Natterer  <mitch@gimp.org>
      	* app/*
      	* libgimp/*
      	* plug-ins/*
      	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
      	* libgimp/gimpcolorspace.c: renamed the parameter names to match
      	the names in the header.
      	* libgimp/gimphelpui.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
      	all over the place (enables cross-referencing with the glib and
      	gtk+ html documentation).
      	* plug-ins/common/exchange.c
      	* plug-ins/common/max_rgb.c: small cleanups.
      	* plug-ins/common/mapcolor.c: the color buttons were attached in
      	the wrong order.
  19. 02 Feb, 2000 1 commit
  20. 31 Jan, 2000 1 commit
    • Michael Natterer's avatar
      merged the table attach helper functions into one function. · 03015f85
      Michael Natterer authored
      2000-02-01  Michael Natterer  <mitch@gimp.org>
      	* libgimp/gimpwidgets.[ch]: merged the table attach helper
      	functions into one function.
      	* app/*
      	* plug-ins/*: changed the calls to gimp_table_attach_aligned()
      	accordingly. Did minimal ui updates (spacing and stuff) in some
  21. 13 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/gimpui.[ch] removed & renamed some functions from gimpui.[ch] (see · c55bbde0
      Michael Natterer authored
      2000-01-13  Michael Natterer  <mitch@gimp.org>
      	* app/gimpui.[ch]
      	* app/preferences_dialog.c: removed & renamed some functions from
      	gimpui.[ch] (see below).
      	* libgimp/Makefile.am
      	* libgimp/gimpwidgets.[ch]; new files. Functions moved from
      	app/gimpui.[ch]. Added a constructor for the label + hscale +
      	entry combination used in many plugins (now hscale + spinbutton).
      	* libgimp/gimpui.h: include gimpwidgets.h
      	* plug-ins/megawidget/megawidget.[ch]: removed all functions
      	except the preview stuff (I'm not yet sure how to implement this
      	in libgimp because the libgimp preview should be general enough to
      	replace all the other plugin previews, too).
      	* plug-ins/borderaverage/Makefile.am
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/hot.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/pixelize.c
      	* plug-ins/common/waves.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/sinus/sinus.c: ui updates like removing megawidget,
      	using the dialog constructor, I18N fixes, indentation, ...
  22. 05 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed most functions. Show the help page in an idle function to avoid · ee6ad0e2
      Michael Natterer authored
      2000-01-05  Michael Natterer  <mitch@gimp.org>
      	* app/gimphelp.[ch]: removed most functions. Show the help page in
      	an idle function to avoid confusion with calling the temporary
      	help browser procedure in the middle of the "gimp_help" PDB call.
      	(I beleive this should work, so this is maybe a workaround for
      	some other bug).
      	* app/gimpui.[ch]: removed the dialog functions.
      	* libgimp/Makefile.am
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelp.c
      	* libgimp/gimphelpui.[ch]: new files. Moved most of the help
      	functions and the dialog constructors to libgimp and libgimpui.
      	* libgimp/gimp.h: declaration of the "gimp_help*" functions.
      	* libgimp/gimpui.h: include "gimpdialog.h" and "gimphelpui.h".
      	* plug-ins/common/grid.c: use the dialog constructor. It's now
      	possible to show the plugin's help with "F1".
  23. 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)
  24. 03 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.[ch] app/gradient.c app/gradient_select.[ch] · 0302ed0a
      Michael Natterer authored
      1999-11-03  Michael Natterer  <mitch@gimp.org>
      	* app/brush_select.[ch]
      	* app/gradient.c
      	* app/gradient_select.[ch]
      	* app/interface.[ch]
      	* app/palette.c
      	* app/pattern_select.[ch]: allow dragging a brush/pattern/... from
      	the selections with mouse2 without changing the active element in
      	the dialog.
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_panel.c
      	* app/color_select.c
      	* app/colormap_dialog.i.c
      	* app/devices.c
      	* app/gimpcontextpreview.[ch]
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]
      	* app/indicator_area.c
      	* app/interface.[ch]
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/ops_buttons.[ch]
      	* app/paths_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.[ch]: wrapped gtk_tooltips_set_tip() with
      	gimp_help_set_help_data() and moved it to gimphelp.[ch].
      	This should (hopefully) be the final state of the help system. The
      	New function allows a "private tip" to be set without a visible
      	tooltip. This way the tooltips inspector (shift+F1) can search for
      	help data in the parent containers of the clicked widget. E.g. the
      	ops buttons in the layers dialog have private tips like
      	"#new_layer" which gets composed with the help data of the layers
      	dialog notebook page resulting in a complete help path.
      	Allow mouse2 for all dnd operations. Mouse1 still works like before.
  25. 26 Oct, 1999 1 commit
  26. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).