1. 26 May, 2004 1 commit
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-layer-select.c app/display/gimpprogress.c · c0783a91
      Sven Neumann authored
      2004-05-26  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpprogress.c
      	* app/gui/brush-select.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/info-dialog.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/stroke-dialog.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpcolordisplayeditor.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpviewabledialog.c: adjusted dialog spacings.
      c0783a91
  2. 19 Mar, 2004 1 commit
    • Michael Natterer's avatar
      app/gui/color-notebook.c (color_notebook_new) app/tools/gimpcroptool.c · fddb9ce0
      Michael Natterer authored
      2004-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.c (color_notebook_new)
      	* app/tools/gimpcroptool.c (crop_info_create)
      	* app/tools/gimptransformtool.c (gimp_transform_tool_dialog):
      	explicitely set a default response for dialog buttons which were
      	created using gtk_dialog_add_buttons().
      fddb9ce0
  3. 18 Feb, 2004 1 commit
    • Michael Natterer's avatar
      Some code review: · 4d24bdbf
      Michael Natterer authored
      2004-02-18  Michael Natterer  <mitch@gimp.org>
      
      	Some code review:
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: removed obsolete code which
      	made sure serialize_property()/deserialize_property() are only
      	called for properties of the correct class. We do it the right way
      	for quite a while now and clear the inherited function pointers in
      	gimp_config_iface_base_init().
      
      	* app/config/gimprc.c (gimp_rc_dispose): don't forget to chain up.
      
      	* app/base/gimplut.c
      	* app/base/lut-funcs.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-types.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimpbrush.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpitem.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/gui.c
      	* app/gui/tips-dialog.c
      	* app/paint/gimppaintcore.c
      	* app/paint-funcs/paint-funcs.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpselectioneditor.c: removed I/O includes from
      	files which don't use lowlevel APIs any more. Also removes
      	a whole bunch of G_OS_WIN32 special casing. Removed trailing
      	whitespace. Misc tiny cleanups.
      4d24bdbf
  4. 13 Dec, 2003 1 commit
    • Manish Singh's avatar
      Makefile.am app/composite/Makefile.am comestics. · a2bf0991
      Manish Singh authored
      2003-12-12  Manish Singh  <yosh@gimp.org>
      
              * Makefile.am
              * app/composite/Makefile.am
              * themes/Default/images/Makefile.am: comestics.
      
              * app/gui/color-notebook.c (color_notebook_new): no need to cast to		G_OBJECT for g_signal_connect.
      
              * plug-ins/common/mkgen.pl
              * plug-ins/common/plugin-defs.pl: properly handle the libgimpoldpreview
              stuff.
      
              * plug-ins/common/Makefile.am: regenerated.
      
              * plug-ins/common/decompose.c: cbrt() is in C99, so check for that
              in addition to GNU libc.
      a2bf0991
  5. 18 Nov, 2003 1 commit
    • Sven Neumann's avatar
      don't do lazy binding on GIMP modules. We can't recover from missing · 4f82e87d
      Sven Neumann authored
      2003-11-18  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.c (gimp_module_open): don't do lazy
      	binding on GIMP modules. We can't recover from missing symbols
      	later.
      
      	* libgimpwidgets/gimpquerybox.[ch]: renamed "help_page" parameter
      	to "help_id" and changed the docs accordingly.
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: renamed the "help_page"
      	struct members of GimpColorDisplay and GimpColorSelector to
      	"help_id".
      
      	* app/gui/color-notebook.c
      	* app/widgets/gimpcoloreditor.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolornotebook.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c
      	* modules/*.c: changed accordingly. Specify a help id instead of
      	a HTML page.
      4f82e87d
  6. 12 Nov, 2003 2 commits
  7. 10 Nov, 2003 2 commits
    • Michael Natterer's avatar
      removed color_notebook_new() and renamed color_notebook_viewable_new() to · 372c253a
      Michael Natterer authored
      2003-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.[ch]: removed color_notebook_new() and
      	renamed color_notebook_viewable_new() to color_notebook_new().
      
      	* app/gui/gradient-editor-commands.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: changed accordingly.
      372c253a
    • Michael Natterer's avatar
      libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h · dc6422dc
      Michael Natterer authored
      2003-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpcolorselection.[ch]: new widget derived from
      	GtkVBox. Contains a GimpColorNotebook, GimpColorScales and new/old
      	color areas as known from the app's color_notebook. Will soon be
      	used to replace GtkColorSelection for plug-ins.
      
      	* app/gui/color-notebook.c: removed most code and use a
      	GimpColorSelection widget. Moved the "Reset" button to the
      	action_area. Cleanup.
      dc6422dc
  8. 08 Nov, 2003 1 commit
    • Michael Natterer's avatar
      To be multihead safe, each new window or menu needs to be associated with · bcd9794a
      Michael Natterer authored
      2003-11-08  Michael Natterer  <mitch@gimp.org>
      
      	To be multihead safe, each new window or menu needs to be
      	associated with a GdkScreen or it will pop up on the default
      	screen.
      
      	* libgimpwidgets/gimpquerybox.[ch]
      	* app/display/gimpdisplayshell-layer-select.[ch]
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptooldialog.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/gui/channels-commands.[ch]
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/edit-commands.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/templates-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
      	paramaters to all functions which create menus, popups or windows
      	and pass "parent" to gimp_dialog_new() or one of the various
      	wrappers around it. As a side effect, this fixes bug #61092.
      
      	* app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
      	instead of "parent" here since there are no possible parent
      	windows on startup.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_origin_button_press): added a quick hack to
      	send a display to another screen: click the origin button with the
      	middle mouse button.
      
      	* app/display/gimpdisplayshell.c
      	(gimp_display_shell_screen_changed): don't chain up
      	undonditionally (don't crash).
      
      	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
      	dialog's screen from a non-GtkWidget parent widget. The rest of
      	non-window parent widget handling is still unimplemented.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview-popup.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpnavigationview.c
      	* app/gui/module-browser.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: changed addordingly. Changed all
      	menu_position funcs to place the menu on the right screen.
      bcd9794a
  9. 07 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added "wm_name", "wm_class", "display_name" and "monitor_number" to the · efd9a3e1
      Michael Natterer authored
      2003-11-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpprotocol.[ch]: added "wm_name", "wm_class",
      	"display_name" and "monitor_number" to the GPConfig message.
      	Increased protocol version number.
      
      	* libgimp/gimp.[ch] (gimp_config): read them from the GPConfig
      	message and remember them.
      	Added public accessors for the new config values.
      
      	* libgimp/gimpui.c (gimp_ui_init): pass wm_name and wm_class to
      	gtk_init() and export the display/screen to use to the
      	environment.
      
      	* app/core/gimp.[ch]: added vtable entries to get the values
      	from the GUI.
      
      	* app/gui/gui-vtable.c: implement the vtable entries.
      
      	* app/plug-in/plug-in-run.c: fill in the GPConfig values using
      	the new Gimp vtable functions.
      
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/grid-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/splash.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c
      	* plug-ins/helpbrowser/dialog.c
      	* plug-ins/ifscompose/ifscompose.c: replaced all calls to
      	gtk_window_set_wmclass() by gtk_window_set_role() and all
      	"const gchar *wmclass_name" parameters by "const gchar *role".
      	Cleaned up the window role strings.
      efd9a3e1
  10. 06 Nov, 2003 1 commit
    • Michael Natterer's avatar
      removed our own action_area API and use GtkDialog's one. Create all · 66c5dd87
      Michael Natterer authored
      2003-11-06  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.[ch]: removed our own action_area API
      	and use GtkDialog's one. Create all dialogs without separator.
      	Changed almost everything else too. Fixes bug #125143.
      
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c: changed accordingly.
      
      	* libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType
      	to GimpExportReturn.
      
      	* libgimp/gimpcompat.h: added a #define for the old name.
      
      	* themes/Default/gtkrc: increased action_area border to 6 pixels.
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpprogress.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/font-select.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradient-select.c
      	* app/gui/grid-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/user-install-dialog.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptooldialog.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/widgets/gimpwidgets-utils.c: changed accordingly and increased
      	the dialogs' outer borders to 6 pixels all over the place.
      
      	* plug-ins/*/*.c: changed accordingly. The plug-ins may be
      	arbitrarily broken, I tested none of them.
      66c5dd87
  11. 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
  12. 23 May, 2003 1 commit
    • Michael Natterer's avatar
      don't call gimp_dialog_factory_add_foreign() with a NULL dialog_factory. · 0fc53e0f
      Michael Natterer authored
      2003-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.c (color_notebook_new_internal): don't
      	call gimp_dialog_factory_add_foreign() with a NULL dialog_factory.
      
      	* app/widgets/gimpcolorpanel.c: removed the color_notebook_active
      	boolean state and *always* call color_notebook_show() when the
      	user clicks the button. This way the notebook is automatically
      	deiconified or risen.
      0fc53e0f
  13. 16 May, 2003 1 commit
    • Michael Natterer's avatar
      added dialog_factory and dialog_identifier parameters to the constructors · a8598c69
      Michael Natterer authored
      2003-05-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.[ch]: added dialog_factory and
      	dialog_identifier parameters to the constructors and register the
      	color_notebook with the passed factory as foreign dialog.
      
      	* app/widgets/gimpcolorpanel.c: changed accordingly.
      
      	* app/gui/dialogs.c
      	* app/gui/colormap-editor-commands.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/palette-editor-commands.c
      	* app/widgets/gimptoolbox-color-area.c: added session management for
      	the color notebooks created here.
      a8598c69
  14. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  15. 05 Jan, 2003 1 commit
  16. 17 Nov, 2002 1 commit
  17. 05 Nov, 2002 1 commit
    • Michael Natterer's avatar
      added virtual functions set_toggles_visible() and set_toggles_sensitive(). · 2743f9fa
      Michael Natterer authored
      2002-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorselector.[ch]: added virtual functions
      	set_toggles_visible() and set_toggles_sensitive(). Added a
      	stock_id. Emit "color_changed" and "channel_changed" on
      	set_color() and set_channel() resp.
      
      	* libgimpwidgets/gimpcolornotebook.[ch]: implement the new
      	methods.  Added gimp_color_notebook_set_has_page() to control
      	which selectors a notebook contains.
      
      	* libgimpwidgets/gimpcolorscales.[ch]: removed the toggle
      	API and implement the new methods.
      
      	* libgimpwidgets/gimpcolorselect.c: added toggle buttons for the
      	channels so the widget doesn't need external ones.
      
      	* app/gui/color-notebook.c: changed accordingly.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-color-triangle-16.png: added a
      	(bad) icon for the triangle color selector.
      
      	* modules/colorsel_triangle.c: use the new icon.
      	* modules/colorsel_water.c: use the "Paintbrush" icon for now.
      
      	* app/widgets/gimpcoloreditor.[ch]: new widget for editing the
      	FG/BG color featuring a color notebook, stock buttons for
      	selecting the pages and a GimpPickButton.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added a dockable wrapper for GimpColorEditor.
      
      	* app/gui/menus.c: added it to the menus. Also added separate
      	Layers, Channels and Paths entries. Bind <ctrl>L to the new
      	callback so it doesn't always create a new layers dialog.
      2743f9fa
  18. 31 Oct, 2002 2 commits
  19. 29 Oct, 2002 1 commit
  20. 28 Oct, 2002 2 commits
    • Michael Natterer's avatar
      the color scales from the main color selection as GimpColorSelector · 89452261
      Michael Natterer authored
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorscales.[ch]: the color scales from
      	the main color selection as GimpColorSelector subclass.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* libgimpwidgets/gimpcolornotebook.c: skip it when iterating the
      	GimpColorSelector subclasses.
      
      	* libgimpwidgets/gimpcolorselector.[ch]: added virtual function
      	set_has_alpha() amd signal "channel_changed". Put RGB, HSV and
      	channel values into to the GimpColorSelector struct where they are
      	available for subclasses.
      
      	* libgimpwidgets/gimpcolorselect.[ch]
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed accordingly, cleanup.
      
      	* app/gui/color-notebook.[ch]: use the new GimpColorScales widget,
      	lots of cleanup.
      
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpcolorscales.sgml: added GimpColorScales.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpcolorselect.sgml
      	* libgimpwidgets/tmpl/gimpcolorselector.sgml; updated.
      89452261
    • Michael Natterer's avatar
      the notebook as known from the main color selection as new widget. · 5f750eae
      Michael Natterer authored
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolornotebook.[ch]: the notebook as known
      	from the main color selection as new widget.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpcolorselector.h
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* app/gui/color-notebook.c: use the new widget.
      
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpcolornotebook.sgml: added GimpColorNotebook.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml: updated.
      5f750eae
  21. 24 Oct, 2002 1 commit
  22. 20 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Ported module loading to GTypeModule, getting rid of all own module · d7055a33
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      
      	Ported module loading to GTypeModule, getting rid of all own
      	module registering/bookkeeping stuff for color selectors and
      	display filters. The modules now simply register GimpColorSelector
      	and GimpColorDisplay subclasses, the list of registered subclasses
      	can then be obtained calling g_type_children() on the abstract
      	base classes.
      
      	This is work in progress and just the first working state after I
      	started breaking everything...
      
      	* app/gui/color-select.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h: removed.
      
      	* app/gui/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      
      	* libgimp/gimpmodule.h: massively simplified. All voodoo is gone.
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
      	which need to be subclassed by modules.
      
      	* libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
      	from app/gui/color-select.* ported to be a GimpColorSelector
      	subclass.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass
      
      	* app/core/gimpmodules.c: changed accordingly.
      
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: HACKED around to allow GimpLists of
      	GObjects (not GimpObjects). This is EEKy, so I will either make
      	gimp->modules a simple GList and revert this bit of change, or
      	allow GObjects all over the place in GimpContainer land...
      
      	* app/display/gimpdisplayshell-filter.[ch]
      	* app/gui/color-notebook.c: removed all module stuff and use
      	g_type_children() to get the list of available color_selectors
      	and display_filters.
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* app/gui/gui.c: ref the built-in color selector's class before
      	the modules are queried so it appears first in the list of
      	GimpColorSelector's children.
      
      	* modules/Makefile.am: build the water color selector again.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: ported them all to the new API.
      
      	* modules/gimpmodregister.[ch]: removed the old EMX module hack.
      d7055a33
  23. 08 Sep, 2002 1 commit
    • Michael Natterer's avatar
      set the hex entry to 7 chars instead the whole width of the vbox. Added · 18626a64
      Michael Natterer authored
      2002-09-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.[ch]: set the hex entry to 7 chars instead
      	the whole width of the vbox. Added color_notebook_set_title().
      
      	* app/widgets/gimptoolbox-color-area.c: use the new function to
      	set the color selection's title to either "Change Foreground
      	Color" or "Change Background Color" instead of just "Color
      	Selection".
      18626a64
  24. 06 Sep, 2002 1 commit
    • Michael Natterer's avatar
      changed "Number of Colors" to "Max Number of Colors" to clarify what this · 424ed1f4
      Michael Natterer authored
      2002-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/convert-dialog.c: changed "Number of Colors" to
      	"Max Number of Colors" to clarify what this parameter does.
      	(fixes #92194).
      
      	* app/gui/menus.c: use GIMP_STOCK_INFO for "View/Info Window".
      
      	Specify spibutton sizes in chars, not pixels (eek) all over
      	the place. Also removed explicit sizes where the GtkSpinButton
      	default size does not disturbe tabular widget layouts.
      
      	* libgimpwidgets/gimpwidgets.c: removed the hardcoded width of 75
      	pixels in gimp_spin_button_new(). Changed gimp_scale_entry_new()
      	and gimp_coordinates_new() to interpret their "spinbutton_width"
      	parameters as chars if < 16, and as pixels otherwise. This gives
      	reasonable results and doesn't cause unchanged plug-ins to
      	suddenly have spinbuttons of dozens of chars width :)
      
      	* libgimpwidgets/gimpsizeentry.c: added the same heuristic here.
      
      	* libgimpwidgets/gimpquerybox.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/film.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/glasstile.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/lic.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/pixelize.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/tile.c
      	* plug-ins/common/tileit.c
      	* plug-ins/common/unsharp.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/rcm/rcm_dialog.c: changed accordingly, which involves
      	removals of gtk_widget_set_size_request(spinbutton), removal of
      	lots of explicit spinbutton sizes in gimp_scale_entry_new(), and
      	adding of new ones because GtkSpinButton's auto-size trashed
      	tabular layouts.
      
      	Lots of cleanup & indentation while browsing the plug-ins'
      	code. Changed spacings, moved toggle buttons into frame titles,
      	use stock items, stuff...
      424ed1f4
  25. 01 Sep, 2002 1 commit
    • Michael Natterer's avatar
      GimpViewableDialogs everywhere, cleanup: · ce956702
      Michael Natterer authored
      2002-09-01  Michael Natterer  <mitch@gimp.org>
      
      	GimpViewableDialogs everywhere, cleanup:
      
      	* libgimpwidgets/gimpstock.c: added texts for the RESIZE, SCALE
      	and CROP stock items.
      
      	* app/widgets/gimpviewabledialog.c: update the title when the
      	viewable's name changes.
      
      	* app/gui/color-notebook.[ch]: added color_notebook_viewable_new()
      	which creates a GimpViewableDialog.
      
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/gui/colormap-editor-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/palette-editor-commands.c
      	* app/undo_history.c: use GimpViewableDialogs and the new
      	color_notebook constructor.
      
      	* app/gui/convert-dialog.c: #include "widgets/gimpviewabledialog.h"
      
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.c
      	* app/gui/resize-dialog.c: minor cleanups.
      
      	* app/gui/info-window.c: cleaned up the whole thing, esp. the
      	"Extended" page. Added HSV color display to the color picker
      	frame.  Set the icons as frame titles, stuff...
      
      	* app/tools/gimpimagemaptool.[ch]: removed "shell_title",
      	"shell_name" and "stock_id" from the GimpImageMapTool struct
      	because they can be obtained from the tool's GimpToolInfo object.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      
      	* app/tools/gimphistogramtool.c: same here: take values from
      	tool->tool_info instead of hardcoding them.
      
      	* app/tools/gimpcroptool.[ch]: removed the static crop dialog
      	variables and added them to the GimpCropTool struct. Feels safer
      	and makes the callback code much simpler. Use stock items for the
      	dialog's "Resize" and "Crop" buttons.
      
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimprotatetool.c: for consistency don't name the tools
      	"Blah Tool", also the dialog titles need to match the menu
      	entries.
      
      	Unrelated:
      
      	* libgimpwidgets/gimpwidgets.c: the recently changed, gtk-doc
      	comment was correct, as gtk-doc takes the parameter names from
      	the header, not the .c file.
      
      	* app/tools/gimptransformtool.c: set the transform tool's state to
      	TRANSFORM_CREATING after changing displays, so the initial matrix
      	components are saved correctly for the "Reset" function.
      ce956702
  26. 14 Mar, 2002 1 commit
    • Michael Natterer's avatar
      g_strdup() the stock_id passed to gimp_tool_info_new() because the · b8798408
      Michael Natterer authored
      2002-03-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimptoolinfo.c: g_strdup() the stock_id passed to
      	gimp_tool_info_new() because the caller's memory may disappear
      	after registering the tool (tool modules).
      
      	Made a GimpDock out of the toolbox:
      
      	* app/gui/Makefile.am
      	* app/gui/color-area.[ch]
      	* app/gui/indicator-area.[ch]
      	* app/gui/toolbox.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptoolbox-color-area.[ch]
      	* app/widgets/gimptoolbox-indicator-area.[ch]
      	* app/widgets/gimptoolbox.[ch]: ...and added here.
      
      	* app/widgets/gimpdock.[ch]: don't set a minimal width. Added a
      	"destroy_if_empty" boolean so we can prevent destruction of the
      	toolbox if it's last dockable is removed. Added gimp_dock_construct()
      	which is called from GimpImageDock and GimpToolbox.
      
      	* app/widgets/gimpimagedock.[ch]: Default to not showing the image
      	menu, set a minimal width here, misc. minor cleanup.
      
      	* app/widgets/gimpdockbook.c: some more GIMP_IS_IMAGE_DOCK()
      	checks, fixed dnd widget creation.
      
      	* app/widgets/gimpdialogfactory.[ch]: changed
      	gimp_dialog_factories_toggle() to take just the toolbox_factory as
      	parameter. When restoring the session use the created dock's
      	dialog factory to create dockables, not the the factory we
      	created the dock from (for the toolbox).
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs.[ch]: create an own dialog factory for the toolbox
      	and set dialogs_toolbox_new() as it's new_dock_func.
      
      	* app/gui/dialogs-constructors.[ch]: changed dialogs_toolbox_get()
      	accordingly.
      
      	* app/gui/dialogs-commands.[ch]: added dialogs_show_toolbox(), ckeck
      	if a dock is really a GimpImageDock before casting.
      
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/palette-editor-commands.c: removed useless inclusion of
      	"gui/color-area.h".
      
      	* themes/Default/gtkrc: set "gimp-dock-style" for GimpToolbox widgets.
      b8798408
  27. 03 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Use gdouble in a [0.0..1.0] range for opacity values in the whole core's · ce643d27
      Michael Natterer authored
      2002-03-03  Michael Natterer  <mitch@gimp.org>
      
      	Use gdouble in a [0.0..1.0] range for opacity values in the whole
      	core's API. Convert them using (opacity * 255.999) when passing
      	them to base/ and paint-funcs/
      
      	Affected functions:
      
      	* app/core/gimpchannel.[ch]: gimp_channel_[set|get]_opacity()
      	* app/core/gimpimage.[ch]: gimp_image_[apply|replace]_image()
      	* app/paint/gimppaintcore.[ch]: gimp_paint_core_[paste|replace]_canvas()
      
      	* app/core/core-types.h: added defines GIMP_OPACITY_TRANSPARENT
      	and GIMP_OPACITY_OPAQUE, just like the ones from
      	paint-funcs/paint-funcs-types.h
      
      	* app/gimprc.c
      	* app/image_map.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimplayer.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppalette.c
      	* 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/gimpsmudge.c
      	* app/tools/gimpinktool.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c: changed accordingly, use the new constants.
      ce643d27
  28. 29 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c · 14d0a3ff
      Michael Natterer authored
      2001-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/device-status-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/user-install-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/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpconstrainedhwrapbox.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gtkhwrapbox.c
      	* app/widgets/gtkvwrapbox.c
      	* app/widgets/gtkwrapbox.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpstock.[ch]
      	* libgimpwidgets/gimpwidgets.h
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/*.c
      	* plug-ins/imagemap/*.[ch]
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print_gimp.h
      	* plug-ins/rcm/rcm_callback.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/rcm/rcm_misc.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sel2path/sel2path_adv_dialog.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/common/[A-n]*.c: compile with GTK_DISABLE_DEPRECATED
      	defined. Not everything is fully ported yet, had to #undef
      	GTK_DISABLE_DEPRECATED in many places and added #warnings when
      	doing so.
      
      	* pixmaps/Makefile.am
      	* pixmaps/chain.xpm: removed.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-button-hchain-broken.png
      	* themes/Default/images/stock-button-hchain.png
      	* themes/Default/images/stock-button-vchain-broken.png
      	* themes/Default/images/stock-button-vchain.png: new stock icons.
      14d0a3ff
  29. 30 Nov, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · cacbd302
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/colormaps.[ch]: removed.
      
      	* app/app_procs.c: don't call it.
      
      	* app/gui/gui.c: configure GdkRGB here.
      
      	* app/display/gimpdisplayshell.c
      	* app/display/gximage.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpmovetool.c
      	* app/display/gimpdisplayshell-selection.c: changed accordingly
      	(simply removed the unneded include or use
      	gdk_gc_set_rgb_[fg|bg]_color() instead).
      
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-callbacks.[ch]: chopped
      	gimp_display_shell_canvas_events() in smaller callbacks. Only the
      	events that trigger tool actions are handled in a single callback.
      cacbd302
  30. 24 Nov, 2001 1 commit
  31. 23 Nov, 2001 1 commit
    • Sven Neumann's avatar
      don't draw resize_grip in status bar (patch from Guillermo S. Romero). · d3047f57
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c: don't draw resize_grip in status bar
      	(patch from Guillermo S. Romero).
      
      	* app/devices.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-qmask.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/widgets/gimpfontselection-dialog.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: changed button order to follow the
      	new GTK+ style: confirmative is right-most (for LTR rendering).
      d3047f57
  32. 16 Nov, 2001 1 commit
    • Michael Natterer's avatar
      Wishlist item #57669: · 4403d58a
      Michael Natterer authored
      2001-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Wishlist item #57669:
      
      	* app/gimprc.[ch]: replaced gimprc option "allow-resize-windows"
      	by "resize-windows-on-zoom" and "resize-windows-on-resize".
      
      	* app/gui/preferences-dialog.c: added a toggle for
      	"resize-windows-on-resize".
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpmagnifytool.c
      	* docs/gimprc.5.in
      	* etc/gimprc.in
      	* etc/gimprc.win32: changed accordingly.
      
      	* app/display/gimpdisplay-area.[ch]: added gimp_area_new().
      
      	* app/display/gimpdisplay.c: cleanup usage of GimpArea.
      
      	* app/display/gimpdisplayshell.[ch]: added configurable canvas
      	padding color and a small color_panel to change it in the upper
      	right corner of the window.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the color_panel, initialize the color in the "realize"
      	callback.
      
      	Wishlist item #51548.
      
      	* app/display/gimpdisplayshell-selection.[ch]
      	* app/gui/menus.c
      	* app/gui/view-commands.[ch]: made the layer boundary toggleable
      	separately from the selection.
      
      	* app/gui/color-notebook.c: #if 0'ed a debugging g_print().
      4403d58a
  33. 29 Oct, 2001 1 commit
    • Sven Neumann's avatar
      rewrote so gcc-3.0 doesn't complain. · de5af18f
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't
      	complain.
      
      	* app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp().
      
      	* libgimp/gimpintl.h
      	* libgimp/stdplugins-intl.h
      	* plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale()
      	since gtk_init() does it for us now. Don't set LC_NUMERIC to "C".
      	INIT_I18N_UI() is the same as INIT_I18N_UI() now.
      
      	* app/devices.c
      	* app/gimprc.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpgradient.c
      	* app/gui/color-notebook.c
      	* app/gui/gradients-commands.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and
      	g_ascii_strtod() to serialize and deserialize floats. These functions
      	are locale-independent. There are probably more places that need to be
      	fixed in this fashion.
      
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/
      
      	* tools/gimp-remote.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/paint-funcs/paint-funcs-indexeda.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimppathtool.c
      	* app/tools/path_tool.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/mpeg.c
      	* plug-ins/imagemap/imap_csim_parse.c: cleanups
      de5af18f
  34. 03 Sep, 2001 1 commit
    • Michael Natterer's avatar
      added -DGDK_DISABLE_DEPRECATED. · 1ccb029e
      Michael Natterer authored
      2001-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DGDK_DISABLE_DEPRECATED.
      
      	* app/gui/about-dialog.c
      	* plug-ins/common/wmf.c
      	* plug-ins/ifscompose/ifscompose_utils.c: #undef it here (too lazy...)
      
      	* app/colormaps.[ch]
      	* app/gdisplay.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/gui/brush-editor.c
      	* app/gui/color-notebook.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/select-commands.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c: replaced deprecated stuff,
      	g_list_free() the return value of gtk_container_get_children().
      
      	* plug-ins/Makefile.am: build gflare again.
      
      	* plug-ins/gflare/asupsample.[ch]: removed because the same function
      	is already in libgimpcolor.
      
      	* plug-ins/gflare/gtkmultioptionmenu.[ch]: removed because Gtk+
      	handles menu_height > screen_height by scrolling now.
      
      	* plug-ins/gflare/Makefile.am
      	* plug-ins/gflare/gflare.c: changed accordingly, cleanups.
      1ccb029e
  35. 29 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added -DG_DISABLE_DEPRECATED and -DGDK_DISABLE_COMPAT_H. · 98410c35
      Michael Natterer authored
      2001-08-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DG_DISABLE_DEPRECATED and
      	-DGDK_DISABLE_COMPAT_H.
      
      	* app/batch.c
      	* app/file-utils.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/gimprc.[ch]
      	* app/module_db.c
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.c
      	* libgimp/gimpmenu.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/script-fu/interp_slib.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c: removed deprecated stuff like
      	g_basename(), g_dirname(), g_strup() and friends. Added some
      	"const gchar *" declarations while I was on it. Added some
      	G_N_ELEMENTS() macros instead of declaring a useless variable
      	for the number of items.
      
      	* app/widgets/gtkhwrapbox.[ch]
      	* app/widgets/gtkvwrapbox.[ch]
      	* app/widgets/gtkwrapbox.[ch]: replaced with the latest versions
      	from GLE, ported by the master himself.
      
      	* app/gui/toolbox.c: changed accordingly.
      
      	* app/plug_in.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpwire.[ch]: use evil hacks to get binary mode
      	from the new GIOChannel implementation (upstream bugreport already
      	posted).
      98410c35
  36. 17 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added app/display/ and app/plug-in/. Empty for now except for the types · 01b780d6
      Michael Natterer authored
      2001-08-17  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added app/display/ and app/plug-in/. Empty for
      	now except for the types files.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/apptypes.h: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h: new files for typedefs.
      
      	* app/appenv.h: added MessageHandlerType and StackTraceMode here.
      
      	* app/undo_types.h: moved undo struct typedefs here.
      
      	* app/tools/tools-types.h
      	* app/core/core-types.h: added some enums and Tattoo here
      	(renamed to GimpTattoo).
      
      	* app/gdisplay.h: temp_hack: #include "display/display-types.h"
      
      	* app/gimphelp.c: s/gtk_idle_add/g_idle_add/
      
      	* app/gimprc.c: don't use "gimprc" in token handlers but the
      	passed "val1p" and "val2p".
      
      	* app/image_map.[ch]: cleanup in preparation of making a GObject
      	out of it.
      
      	* app/base/pixel-region.[ch]: no need to pass the
      	PixelRegionIterator around as void pointer.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpcontext.[ch]
      	* app/core/gimptoolinfo.[ch]
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdnd.c: added the standard_tool_info to the Gimp
      	object.
      
      	* app/batch.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/interface.c
      	* app/main.c
      	* app/path.[ch]
      	* app/pathP.h
      	* app/plug_in.h
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/error-console-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/indicator-area.c
      	* app/gui/info-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/session.c
      	* app/gui/splash.c
      	* app/gui/view-commands.c
      	* app/tools/gimpinktool-blob.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c: changed accordingly: s/Tattoo/GimpTattoo/, include
      	the new types files, include <glib-object.h> instead of >gtk/gtk.h>.
      	Bad hacks to get rid of SELECTION_OFF and friends in core/ (will
      	be replaced ba a signal soon).
      
      	* tools/pdbgen/Makefile.am: changed list of headers scanned for
      	enums accordingly.
      
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: same fixes as above, added
      	hacks to ensure that all foo-types.h files are included before all
      	other gimp internal includes, include "pdb-types.h" unconditionally.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/*_cmds.c: regenerated.
      01b780d6