1. 03 Feb, 2002 2 commits
    • Michael Natterer's avatar
      app/display/Makefile.am app/display/display-types.h new widget derived · 0440bbbf
      Michael Natterer authored
      2002-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpstatusbar.[ch]: new widget derived from
      	GtkStatusbar.  Contains the coordinates display, a progress bar
      	which is also used for status message display and a cancel button.
      	Added a simplified API for pushing/popping messages which takes a
      	string as context_id and does the conversion to guint internally
      	on each call.
      
      	* app/display/gimpdisplayshell.[ch]: removed the status bar code.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/gui/view-commands.c
      	* app/gimpprogress.c: changed accordingly.
      
      	Removed knowledge about GimpDisplayShell from tools:
      
      	* app/tools/gimptool.[ch]: added gimp_tool_push_status() and
      	gimp_tool_pop_status() so tools don't need to fiddle with
      	display details.
      
      	* app/tools/gimpdrawtool.[ch]: pass a GimpDisplay instead of
      	a GdkWindow to gimp_draw_tool_start() (the window passed was
      	always gdisp->shell->canvas->window).
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.[ch]
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.[ch]
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.[ch]
      	* app/tools/gimptransformtool.c: changed accordingly:
      
      	- pass GimpDisplay to gimp_draw_tool_start().
      	- use GimpTool's new status push/pop functions.
      	- removed the statusbar context_id from all tool structs.
      
      	* app/gui/dialogs-constructors.[ch]: a bit cleanup in preparation
      	of dockable editor dialogs.
      0440bbbf
    • Manish Singh's avatar
      configure.in Makefile.am app/Makefile.am docs/Makefile.am · 701d759a
      Manish Singh authored
      2002-02-02  Manish Singh  <yosh@gimp.org>
      
              * configure.in
              * Makefile.am
              * app/Makefile.am
              * docs/Makefile.am
              * plug-ins/print/Makefile.am
              * tools/Makefile.am
              * (the various manpages): versioned the binaries and manpages.
              Added an --enable-default-binary switch to configure to make
              symlinks for unversioned things (defaults to no for 1.3). The
              perl stuff isn't touched, but that's disabled in the build here
              anyway.
      701d759a
  2. 31 Jan, 2002 5 commits
    • Michael Natterer's avatar
      app/core/gimp.c app/core/gimpdocuments.c app/core/gimpmodules.c fixed some · 4ecccfe9
      Michael Natterer authored
      2002-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpmodules.c
      	* app/core/gimppalette.c: fixed some get_memsize()
      	implementations, give useful names to some global objects so the
      	new mem profile of "the_gimp" looks nicer.
      
      	* app/gui/menus.c
      	* app/gui/commands.[ch]: added a "Debug" menu to the toolbox,
      	offer a mem profile of the global "Gimp" instance.
      4ecccfe9
    • Michael Natterer's avatar
      app/core/gimp.c app/core/gimpdocuments.c app/core/gimpmodules.c fixed some · c1f00274
      Michael Natterer authored
      2002-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpmodules.c
      	* app/core/gimppalette.c: fixed some get_memsize()
      	implementations, give useful names to some global objects so the
      	new mem profile of "the_gimp" looks nicer.
      
      	* app/gui/menus.c
      	* app/gui/commands.[ch]: added a "Debug" menu to the toolbox,
      	offer a mem profile of the global "Gimp" instance.
      c1f00274
    • Michael Natterer's avatar
      removed gimp_layer_has_alpha(), use gimp_drawable_has_alpha() instead. · 65d3b34d
      Michael Natterer authored
      2002-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch]: removed gimp_layer_has_alpha(), use
      	gimp_drawable_has_alpha() instead.
      
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-projection.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/layers-commands.c: changed accordingly.
      
      	* app/core/gimpimage.[ch]: added gimp_image_has_alphe(), made some
      	variable names more verbose and use enum types instead of "gint"
      	in functions calling initial_region() and combine_regions().
      
      	* app/widgets/gimpchannellistview.c: show an alpha channel preview
      	only if the image has alpha.
      
      	* app/widgets/gimppreview.c: reordered functions,
      	gimp_preview_render_and_flush(): fixed channel preview rendering,
      	calculate the component byte offsets before entering the render
      	loop instead of duplicating the render code for the gray/alpha
      	case.
      65d3b34d
    • Sven Neumann's avatar
      use GtkTreeViews instead of deprecated GtkCLists. · 4f033e68
      Sven Neumann authored
      2002-01-31  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfontselection-dialog.c: use GtkTreeViews instead of
      	deprecated GtkCLists.
      
      	* app/widgets/gimpfontselection.c: use a proper size for the eeky hack.
      4f033e68
    • Manish Singh's avatar
      fixed up so it works with the patch I posted to gtk-devel-list. Real fix · 85854aa7
      Manish Singh authored
      2002-01-31  Manish Singh  <yosh@gimp.org>
      
              * app/gui/file-open-dialog.c: fixed up so it works with the patch
              I posted to gtk-devel-list. Real fix pending discussion there.
      85854aa7
  3. 30 Jan, 2002 5 commits
    • Sven Neumann's avatar
      GDK_RGB_DITHER_NORMAL should be good enough. · 251fe649
      Sven Neumann authored
      2002-01-30  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/about-dialog.c: GDK_RGB_DITHER_NORMAL should be good enough.
      
      	* app/gui/preferences-dialog.c: undef GTK_DISABLE_DEPRECATED for
      	GtkListItem.
      
      	* app/widgets/gimpcomponentlistitem.c: don't use GtkPreview methods
      	on a GimpPreview. The component views are still broken but at least
      	the warnings are gone.
      
      	* app/widgets/gimpfontselection.c: fixed warnings by hardcoding a
      	font size when validating a font name :-(
      
      	* app/widgets/gimppreview.c: set allocation to desired size.
      
      	* libgimpwidgets/gimpcolorarea.c: flipped so it looks like before
      	the port to GtkDrawingArea. Use GDK_RGB_DITHER_MAX to render.
      251fe649
    • Michael Natterer's avatar
      derive from GtkDrawingArea instead of deprecated GtkPreview. · 074b1cda
      Michael Natterer authored
      2002-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppreview.[ch]: derive from GtkDrawingArea
      	instead of deprecated GtkPreview.
      
      	* app/gui/buffers-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/indicator-area.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimpmenuitem.c: removed #undef GTK_DISABLE_DEPRECATED.
      074b1cda
    • Michael Natterer's avatar
      pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. · be87dfb5
      Michael Natterer authored
      2002-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.c: pass a GdkGC to
      	gdk_draw_rgb_image(), fixed dither offsets.
      
      	* app/core/gimpobject.[ch]: new virtual function
      	gimp_object_get_memsize().
      
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager.[ch]: added *_get_memsize() methods.
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpmoduleinfo.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimppreviewcache.[ch]
      	* app/core/gimpundo.[ch]
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c: added get_memsize() implementations.
      
      	* app/widgets/gimppreview.c
      	* app/core/gimpobject.[ch]: some #ifdef DEBUG_MEMSIZE code to
      	test the new memsize stuff (middle click any preview to get
      	it's viewable's memory footprint).
      be87dfb5
    • Sven Neumann's avatar
      derive from GtkDrawingArea instead of deprecated GtkPreview. · b8fcfd9a
      Sven Neumann authored
      2002-01-30  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.[ch]: derive from GtkDrawingArea
      	instead of deprecated GtkPreview.
      
      	* app/nav_window.c
      	* app/gui/brush-editor.c
      	* app/gui/buffers-commands.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/indicator-area.c
      	* app/gui/info-window.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/glasstile.c
      	* plug-ins/common/gqbist.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/sharpen.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/tileit.c
      	* plug-ins/common/video.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/common/wind.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/rcm/rcm_dialog.c: define GTK_DISABLE_DEPRECATED to make
      	it compile.
      
      	We really need a generic plug-in preview system that doesn't use
      	GtkPreview.
      b8fcfd9a
    • Manish Singh's avatar
      ported to the new treeviewized file selection widget. Unfortunately, · 220b7a2f
      Manish Singh authored
      2002-01-30  Manish Singh  <yosh@gimp.org>
      
              * app/gui/file-open-dialog.c: ported to the new treeviewized file
              selection widget. Unfortunately, multiple selections aren't supported
              anymore so it's still broke. I'll make a patch to gtk to address this
              after I get some sleep.
      
              * app/widgets/gimppreview.h
              * libgimpwidgets/gimpcolorarea.h
              * plug-ins/FractalExplorer/Events.c
              * plug-ins/common/film.c
              * plug-ins/common/plugindetails.c
              * plug-ins/fp/fp_misc.c
              * plug-ins/rcm/rcm_callback.c
              * plug-ins/rcm/rcm_misc.c: REALLY REALLY ugly hack to get things to
              build under the latest enum deprecations. Of course, we'll remove
              these when these files compile with deprecation turned on
      
              * plug-ins/dbbrowser/dbbrowser_utils.c: warning cleanup
      
              * libgimpwidgets/Makefile.am
              * libgimpwidgets/gimpoffsetarea.c: need a custom marshaller for
              our signal since the gtk marshaller we used went away.
      220b7a2f
  4. 27 Jan, 2002 1 commit
  5. 25 Jan, 2002 1 commit
    • Michael Natterer's avatar
      CPPFLAGS: added -DGTK_DISABLE_DEPRECATED · 9dd403f7
      Michael Natterer authored
      2002-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: CPPFLAGS: added -DGTK_DISABLE_DEPRECATED
      
      	* libgimpwidgets/gimpdialog.c: still use the deprecated
      	gtk_window_set_policy() but spit out a #warning.
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]: made it a GtkItemFactory
      	subclass. This way we can reproduce the effect of
      	gtk_item_factory_get_from_path() which is deprectated for good
      	reasons.  For GIMP, using it its perfectly OK since we only have
      	one item factory per "<prefix>".
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdialogfactory.[ch]
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimppreview.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: pass around GimpItemFactory
      	pointers instead of "const gchar *" item factory identifiers.
      	Replaced gtk_window_set_policy() by gtk_window_set_resizable()
      	and other recommended stuff.
      
      	* app/gui/about-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c: lots of
      	s/gtk_item_factory_from_path/gimp_item_factory_from_path/,
      	gtk_window_set_policy() replacements, misc fixes.
      
      	* plug-ins/gdyntext/charmap_window.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_main.c: replaced gtk_window_set_policy().
      9dd403f7
  6. 18 Jan, 2002 1 commit
  7. 14 Jan, 2002 1 commit
  8. 13 Jan, 2002 1 commit
    • Michael Natterer's avatar
      removed stock items which are already defined in Gtk+ (GTK_STOCK_NEW · 2a2318ce
      Michael Natterer authored
      2002-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpstock.[ch]: removed stock items which are
      	already defined in Gtk+ (GTK_STOCK_NEW etc.).
      
      	* libgimpwidgets/gimpquerybox.[ch]: moved the icon code from the
      	boolean query box constructor to create_query_box() so it can be
      	used for all of them. New macro GIMP_QUERY_BOX_VBOX() to pack
      	custom widgets into the dialogs. Will probably have to make a
      	real widget out of it to get a sane API...
      
      	* app/gui/menus.c
      	* app/gui/select-commands.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistview.c
      	* libgimpwidgets/gimppatheditor.c
      	* plug-ins/common/uniteditor.c: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c: register the WM icons in
      	large -> small order.
      
      	* themes/Default/Makefile.am: don't create inline pixbufs of the
      	removed stock items' icons...
      
      	* themes/Default/gtkrc: ...but simply override them here.
      
      	* themes/Default/imagerc: removed them here too.
      2a2318ce
  9. 09 Jan, 2002 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · 448f4b4d
      Sven Neumann authored
      2002-01-09  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/gimp-dialog-error.png
      	* themes/Default/images/gimp-dialog-info.png
      	* themes/Default/images/gimp-dialog-question.png
      	* themes/Default/images/gimp-dialog-warning.png: new stock icons to
      	override the standard gtk-dialog icons.
      
      	* themes/Default/images/gimp-dialog-icons.xcf.gz: XCF version of the
      	new dialog icons.
      
      	* themes/Default/gtkrc: override the standard gtk-dialog icons with
      	our versions.
      
      	* libgimpwidgets/gimpquerybox.[ch]: allow to pass a stock_id instead
      	of the boolean eek.
      
      	* app/widgets/gimpwidgets-utils.c: added an icon to the gimp_message
      	dialog. We need to add an API to declare the severity of the message
      	or allow to pass a stock_id. For now all messages habe the Info icon.
      
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: pass a suitable(?) stock_id to
      	gimp_query_boolean_box().
      448f4b4d
  10. 02 Jan, 2002 1 commit
    • Michael Natterer's avatar
      pixmaps/Makefile.am pixmaps/zoom_in.xpm removed. · 5e3d5984
      Michael Natterer authored
      2002-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* pixmaps/Makefile.am
      	* pixmaps/zoom_in.xpm
      	* pixmaps/zoom_out.xpm: removed.
      
      	* app/nav_window.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c: use GTK_STOCK_ZOOM_[IN|OUT]
      	instead.
      5e3d5984
  11. 31 Dec, 2001 2 commits
    • Manish Singh's avatar
      add a shadow to the scrolled window, so it looks nicer · f4d59f28
      Manish Singh authored
      2001-12-30  Manish Singh  <yosh@gimp.org>
      
              * app/gui/module-browser.c: add a shadow to the scrolled window, so
              it looks nicer
      
              * libgimpwidgets/gimpbutton.c: try to restore gtk_widget_draw behavior
      
              * libgimpwidgets/gimpoffsetarea.c
              * libgimpwidgets/gimppixmap.[ch]: compile with GTK_DISABLE_DEPRECATED
      
      -Yosh
      f4d59f28
    • Sven Neumann's avatar
      libgimpcolor/Makefile.am use GLIB_CFLAGS instead of GTK_CFLAGS. · 35100afb
      Sven Neumann authored
      2001-12-31  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am: use GLIB_CFLAGS instead of GTK_CFLAGS.
      
      	* app/libgimp_glue.[ch]: do not allow anyone but app/libgimp_glue.c
      	to include libgimp_glue.h.
      
      	* libgimpbase/gimpunit.h
      	* libgimp/gimpunit.c: cache return values of GimpUnit PDB calls and
      	return const strings from the GimpUnit accessor functions just like
      	the equivalent functions in the application do.
      
      	* plug-ins/common/uniteditor.c: don't free GimpUnit strings. Don't
      	free the result of gtk_entry_get_text() neither.
      35100afb
  12. 30 Dec, 2001 2 commits
  13. 29 Dec, 2001 2 commits
    • Simon Budig's avatar
      Sven Neumann <sven@gimp.org> · 24c5a6f2
      Simon Budig authored
      2001-12-29  Simon Budig  <simon@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* data/images/Makefile.am
      	* data/images/gimp_splash.gif: new blinking splash.
      
      	* app/gui/splash.c (splash_create): load splash from gimp_splash.gif.
      24c5a6f2
    • 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
  14. 28 Dec, 2001 3 commits
    • Sven Neumann's avatar
      write comment to top of gimprc. · 64424f6c
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.c: write comment to top of gimprc.
      
      	* app/core/gimpscanconvert.c: removed redundant CLAMP statements.
      
      	* app/plug-in/plug-in-rc.[ch]
      	* app/plug-in/plug-in.c: rewrote pluginrc scanner and moved the code
      	that writes the pluginrc into plug-in-rc.c.
      64424f6c
    • Sven Neumann's avatar
      calculate mouse movement in screen coordinates. Reset threshold to default · e43620f8
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpmagnifytool.c: calculate mouse movement in screen
      	coordinates. Reset threshold to default value when the Reset button
      	is pressed.
      e43620f8
    • Sven Neumann's avatar
      app/config/gimpconfig-serialize.[ch] app/config/gimpconfig.h added new · d2990f2f
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.h
      	* app/config/gimprc.[ch]: added new function to only write changes to
      	the personal gimprc.
      
      	* app/config/test-config.c: test the new functionality.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: the change I did yesterday
      	wasn't overly clever; here's a better one.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      d2990f2f
  15. 27 Dec, 2001 3 commits
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files that parse pluginrc using a GScanner. · 97824930
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-rc.[ch]: new files that parse pluginrc using a
      	GScanner.
      
      	* app/plug-in/plug-in.[ch]: made PlugInDef public again so we can use
      	it from the pluginrc parser.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: made regex string matching
      	robust against NULL pointers.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      
      	* app/gimprc.c: removed old pluginrc parser.
      97824930
    • David Odin's avatar
      Added a threshold value determining by how many pixels the mouse should · f3b79372
      David Odin authored
      move to use the window mode.
      f3b79372
    • Sven Neumann's avatar
      INSTALL NEWS require latest versions of glib, gtk+ and friends. Bumped our · 7e309cc1
      Sven Neumann authored
      2001-12-27  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* NEWS
      	* configure.in: require latest versions of glib, gtk+ and friends.
      	Bumped our version number to 1.3.2.
      
      	* app/plug-in/plug-in.c (plug_in_params_destroy, plug_in_args_destroy):
      	moved condition out of the switch statement, simplified code.
      
      	* app/plug-in/plug-in-proc.[ch]: moved plug_in_proc_def_destroy() here.
      
      	* app/gimprc.c: use plug_in_proc_def_destroy().
      
      	* app/pdb/procedural_db.c: use g_string_hash() instead of our own hash
      	function.
      
      	* app/xcf/xcf.c: initialize all fields of the PlugInProcDef struct.
      7e309cc1
  16. 20 Dec, 2001 1 commit
  17. 19 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files. Started to split plug-in.c into smaller · 774caf0e
      Sven Neumann authored
      2001-12-19  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
      	plug-in.c into smaller pieces.
      
      	* app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
      	renamed it to GimpRunMode.
      
      	* app/plug-in/plug-in.[ch]
      	* app/gimphelp.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* libgimp/gimpfileops_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
      	document plug-in API changes.
      
      	* plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
      774caf0e
  18. 18 Dec, 2001 5 commits
    • Sven Neumann's avatar
      docs/gimptool-1.3.1.in applied patch from Roger Leigh <rl117@york.ac.uk> · 89844be4
      Sven Neumann authored
      2001-12-18  Sven Neumann  <sven@gimp.org>
      
      	* docs/gimptool-1.3.1.in
      	* gimptool-1.3.in: applied patch from Roger Leigh <rl117@york.ac.uk>
      	that makes gimptool respect the DESTDIR environment variable.
      
      	* app/config/Makefile.am: declare test-config as TESTS so it is build
      	and executed when running 'make check'.
      
      	* app/config/gimpbaseconfig.c: don't register a GimpConfig interface.
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c: no need to include "gimpconfig.h".
      
      	* app/config/gimpconfig.[ch]: removed store_unknown parameter from
      	deserialize method. The default implementation will bail out on
      	unknown tokens.
      
      	* app/config/gimprc.c: override deserialize method so it stores
      	unknown tokens.
      89844be4
    • Sven Neumann's avatar
      don't build test-config by default. · 5a48cb85
      Sven Neumann authored
      2001-12-18  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am: don't build test-config by default.
      
      	* app/config/gimprc.[ch]: new files for the GimpRc implementation.
      
      	* app/config/gimpcoreconfig.h
      	* app/config/gimpdisplayconfig.h
      	* app/config/gimpguiconfig.h: include the necessary enum headers
      	here and prefix local includes with config so the files can be safely
      	included from almost everywhere.
      
      	* app/config/test-config.c: instantiate and test GimpRc.
      5a48cb85
    • David Odin's avatar
      some more g_malloc -> g_new and g_realloc -> g_renew changes, for better · 47d14e30
      David Odin authored
      readability and type safety.
      47d14e30
    • Sven Neumann's avatar
      app/display/Makefile.am new file with GimpCursorMode enum. · 39ab860e
      Sven Neumann authored
      2001-12-18  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-enums.h: new file with GimpCursorMode enum.
      
      	* app/display/display-types.h: removed CursorMode enum here, include
      	display-enums.h.
      
      	* app/gimprc.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/config/Makefile.am
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]: implemented the remaining properties.
      39ab860e
    • Sven Neumann's avatar
      app/config/Makefile.am new files with utility functions. · def233b4
      Sven Neumann authored
      2001-12-18  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-utils.[ch]: new files with utility functions.
      
      	* app/config/gimpdisplayconfig.[ch]: new class with display config
      	properties so GimpGuiConfig doesn't get too large.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpguiconfig.[ch]: install path properties with
      	useable defaults (substituted gimpdir and friends). Moved properties
      	around.
      
      	* app/gui/session.c: removed outdated comment.
      def233b4
  19. 17 Dec, 2001 2 commits
    • Michael Natterer's avatar
      added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. · be1215a2
      Michael Natterer authored
      2001-12-18  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS.
      
      	* app/core/gimpbuffer.[ch]: gimp_buffer_get_[width|height]:
      	added "const" to the GimpBuffer parameter.
      
      	* app/core/gimpchannel.c: indentation and comment changes.
      
      	* app/core/gimpdrawable-desaturate.c: don't include
      	"paint-funcs/paint-funcs.h".
      
      	* app/display/gimpdisplayshell.c: don't include "base/temp-buf.h".
      
      	* app/gui/gui.c: removed the image container's "name_changed"
      	handler.
      
      	* app/gui/palette-import-dialog.[ch]: use GimpPreview and
      	GimpContainerMenu instead of doing the same manually. Removed lots
      	of code. Not perfect yet.
      
      	* app/tools/gimpfuzzyselecttool.c: no need to include tile stuff.
      
      	* app/widgets/gimpcontainerview-utils.c: better g_warning() message.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: don't include
      	"base/tile-manager.h".
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* data/images/Makefile.am
      	* data/images/gimp_logo.ppm: removed...
      	* data/images/gimp_logo.png: ...and added as PNG.
      
      	* app/gui/about-dialog.c: use gdk_pixbuf_new_from_file() to load
      	the PNG logo instead of manually parsing the PPM.
      be1215a2
    • Michael Natterer's avatar
      changed the GimpNewDrawableFunc typedef to take an additional · d15b07b4
      Michael Natterer authored
      2001-12-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdrawablelistview.[ch]: changed
      	the GimpNewDrawableFunc typedef to take an additional
      	"GimpDrawable *template" paramater, added the "Drop to New"
      	feature again by passing the dropped drawable to
      	view->new_drawable_func().
      
      	* app/gui/channels-commands.[ch]: channels_new_channel_query:
      	* app/gui/layers-commands.[ch]: layers_new_layer_query:
      
      	Added the "template" parameter because they are used as the
      	views' new_drawable_func(), create layers/channels with
      	the template's properties if a template is passed.
      d15b07b4