1. 13 Oct, 2001 1 commit
    • Michael Natterer's avatar
      gdk_pixbuf_new_from_stream -> _from_inline · 859e9c41
      Michael Natterer authored
      2001-10-13  Michael Natterer  <mitch@gimp.org>
      
      	* RELEASE-TO-CVS.patch: gdk_pixbuf_new_from_stream -> _from_inline
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-foreach.[ch]: new files for functions
      	operating on all displays (will go away as soon as the display
      	behaves like a proper view which doesn't need to be updated
      	explicitly).
      
      	* app/display/gimpdisplay-callbacks.c
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay.[ch]: "scale" and "scroll" namespace
      	cleanup, moved bounds_checking() to gimpdisplay-scroll.[ch], lots
      	of unfinished, intermediate stuff.
      
      	* app/display/gimpdisplayshell.[ch]: added some GObject framework
      	for the GimpDisplayShell object (not used yet).
      
      	* app/app_procs.c
      	* app/docindex.c
      	* app/image_map.c
      	* app/nav_window.c
      	* app/path.c
      	* app/qmask.c
      	* app/undo.c
      	* app/gui/channels-commands.c
      	* app/gui/convert-dialog.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimplistitem.c
      	* tools/pdbgen/pdb/display.pdb
      	* app/pdb/display_cmds.c: changed accordingly (mostly including
      	"gimpdisplay-foreach.h" instead of "gimpdisplay.h")
      859e9c41
  2. 10 Oct, 2001 1 commit
  3. 04 Oct, 2001 1 commit
  4. 28 Sep, 2001 1 commit
    • Michael Natterer's avatar
      added a frame around the tree. · af50d64a
      Michael Natterer authored
      2001-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/preferences-dialog.c: added a frame around the tree.
      
      	* app/widgets/gimphistogramview.c: forgot to pass the "detail" to
      	g_signal_emit(). Should fix the histogram tool. Thanks to Seth for
      	debugging.
      af50d64a
  5. 27 Sep, 2001 2 commits
    • Sven Neumann's avatar
      HACKING Makefile.am acconfig.h autogen.sh use AM_GLIB_GNU_GETTEXT. Since · a5694922
      Sven Neumann authored
      2001-09-27  Sven Neumann  <sven@gimp.org>
      
              * HACKING
              * Makefile.am
              * acconfig.h
              * autogen.sh
              * configure.in: use AM_GLIB_GNU_GETTEXT. Since glib and GTK+ rely on
              gettext being available, we don't need to ship with the option to use
              an included implementation. The intl subdirectory will not be created
              anymore. Had to put the old sed hacks back in that create Makefiles
              from Makefile.in in the extra po directories.
      
              * almost all Makefile.am: removed $(top_srcdir)/intl from INCLUDES.
      
              * app/main.c
              * libgimp/stdplugins-intl.h
              * plug-ins/perl/Gimp.xs
              * plug-ins/script-fu/script-fu-intl.h: changed package names to
              gimp14* so the po files don't clash with gimp12.
      a5694922
    • Manish Singh's avatar
      replaced CTree with a TreeView · 6820c799
      Manish Singh authored
      * app/gui/preferences-dialog.c: replaced CTree with a TreeView
      
      -Yosh
      6820c799
  6. 26 Sep, 2001 1 commit
    • Sven Neumann's avatar
      we require glib-1.3.9, pango-0.20, atk-0.5 and gtk+-1.3.9 available from · d4168a43
      Sven Neumann authored
      2001-09-26  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: we require glib-1.3.9, pango-0.20, atk-0.5 and
      	gtk+-1.3.9 available from ftp://ftp.gtk.org/pub/gtk/v1.3/.
      
      	* HACKING: mention the fact that we will try to keep our source
      	compileable against the latest development releases of gtk+ and
      	friends.
      
      	* app/plug_in.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/wmf.c: follow glib API changes.
      
      	* plug-ins/common/mail.c: fixed a warning.
      d4168a43
  7. 25 Sep, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] · f235eabb
      Michael Natterer authored
      2001-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/disp_callbacks.[ch]
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/gximage.[ch]
      	* app/image_render.[ch]
      	* app/interface.[ch]
      	* app/marching_ants.h
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/selection.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-ops.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gximage.[ch]: added here.
      
      	* app/[many files]
      	* app/gui/[many files]
      	* app/tools/*
      	* app/widgets/[many files]: changed accordingly. Still very
      	incomplete separation of the display stuff but it at least
      	compiles.
      
      	* tools/pdbgen/pdb.pl:
      	* tools/pdbgen/pdb/display.pdb: s/GDisplay/GimpDisplay/,
      	s/"gdisplay.h"/"display/gimpdisplay.h"/.
      
      	* app/pdb/display_cmds.c: regenerated.
      f235eabb
    • Michael Natterer's avatar
      renamed it to GimpDisplay and made it a GimpObject subclass. · b2215a1f
      Michael Natterer authored
      2001-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.[ch]: renamed it to GimpDisplay and made it a
      	GimpObject subclass.
      
      	* app/disp_callbacks.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/display/display-types.h: changed accordingly.
      
      	* app/core/gimpimage.[ch]: new signal "selection_control".
      
      	* app/core/core-types.h: moved the SelectionControl enum and all
      	other core enums here.
      
      	* app/gui/gui.c: connect to the images' "selection_control" signal
      	and call gdisplays_selection_visibility().
      
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-offset.h
      	* app/core/gimpimage-convert.h
      	* app/core/gimpimage-mask.c
      	* app/core/gimplayer.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: changed accordingly.
      
      	* app/gui/colormap-dialog.[ch]: GObject porting.
      
      	* tools/pdbgen/Makefile.am: removed headers which no longer
      	contain enums.
      
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/drawable.pdb: include files which are no longer
      	included automatically by the enum voodoo.
      
      	* app/pdb/convert_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      b2215a1f
  8. 22 Sep, 2001 1 commit
    • Hans Breuer's avatar
      need to link with pangof2 · c2f9c198
      Hans Breuer authored
      2001-09-22  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc : need to link with pangof2
      
      	* app/display/display-funcs.h : new file to provide prototype
      	gdisplays_selection_visibility ()
      	* app/core/gimpimage-mask.c :
      	* app/core/gimplayer.c : use it
      
      	* app/core/makefile.msc : generate gimpmarshal.[hc]
      
      	* app/gui/makefile.msc : add error-console-dialog.obj, also
      	more trying for building as dll
      
      	* app/tools/gimpinktool.c(965) : avoid "fatal error C1021: invalid
      	preprocessor command 'warning'", by wrapping it in #ifdef __GNUC__
      
      	* app/tools/makefile.msc : add FREETYPE2_CFLAGS
      
      	* app/widgets/gimpfontselction-dialog.c : use g_strcasecmp ()
      
      	* app/tools/makefile.msc : add FREETYPE2_CFLAGS and gimpfontselction*
      
      	* libgimp/gimp.def :
      	* libgimpwidgets/gimpwidgets.def : updated externals
      
      	* libgimpwidgets/makefile.msc : add gimpstock
      
      	* plug-ins/makefile.msc : gflare doesn't require EXTRA_gflare anymore
      
      	* plug-ins/common/spheredesigner.c :
      	* plug-ins/helpbrowser/helpbrowser.c :
      	* plug-ins/imagemap/imap_main.c :
      	remove _help_accel from gimp_help_connect ()
      
      	* plug-ins/gap/gap_mov_dialog.c :
      	* plug-ins/gap/gap_navigator_dialog.c : remove references to
      	use_xshm and gimp_color_cube ()
      
      	* plug-ins/gfig/gfig.c : don't access ->klass, but use
      	G_OBJECT_GET_CLASS
      
      	* plug-ins/gimpressionist/repaint.c : the GtkButton::child
      	field is moved to the parent GtkBin.
      
      	* plug-ins/ifscompose/ifscompose.c : the GtkStyle::font field
      	isn't public anymore, use accessor gtk_style_get_font ()
      
      	* plug-ins/imagemap/imap_preferences.c : reflect GTK2 API change
      	gtk_notebook_set_current_page ()
      c2f9c198
  9. 21 Sep, 2001 1 commit
    • Michael Natterer's avatar
      made a real object (GtkDialog subclass) out of it. The API will change · cb474a08
      Michael Natterer authored
      2001-09-20  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.[ch]: made a real object (GtkDialog
      	subclass) out of it. The API will change soon too.
      
      	* libgimpwidgets/gimpwidgetstypes.h: added GimpDialog typedef.
      
      	* libgimpwidgets/gimpbutton.[ch]
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimpoffsetarea.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c: removed GtkType stuff and use
      	GType in all get_type() functions. Some random GObject porting.
      
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      cb474a08
  10. 20 Sep, 2001 1 commit
  11. 19 Sep, 2001 2 commits
    • Michael Natterer's avatar
      added an entry about "Stroke". · 730b3943
      Michael Natterer authored
      2001-09-19  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added an entry about "Stroke".
      
      	* app/gui/about-dialog.c: use g_timeout and g_source functions
      	instead if gtk_timeout stuff.
      
      	* app/widgets/gimpdnd.[ch]: general cleanup:
      
      	- removed the internal enum duplication and use GimpDndType all over
      	  the place.
      	- added internal GimpDndDataDef entries for all public DND types.
      	- code cleanup, some debugging output.
      730b3943
    • Sven Neumann's avatar
      require GTK+-1.3.8 and PangoFT2-0.19. · 334911e2
      Sven Neumann authored
      2001-09-19  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: require GTK+-1.3.8 and PangoFT2-0.19.
      
      	* app/devices.c:
      	* app/tools/gimppainttool.c: removed intermediate hacks that are no
      	longer needed with the new GTK+ release.
      
      	* app/plug_in.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpui.c
      	* libgimpbase/gimpprotocol.[ch]: removed use_xshm and color_cube
      	variables and accessor functions.
      
      	* app/errors.c: use gtk_exit() instead of gdk_exit().
      
      	* app/gdisplay.c: use Pango API to determine cursor label width. This
      	does not work correctly, but at least it compiles...
      
      	* app/gui/splash.c: follow Pango API changes.
      
      	* app/tools/gimpcurvestool.[ch]: use PangoLayouts to draw text.
      
      	* app/tools/gimptexttool.c: follow Pango API changes.
      
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimpfontselection.c: mostly rewritten following the
      	changes in GtkFontSelection. This is unusable at the moment and
      	crashes, but at least it compiles again...
      
      	* plug-ins/Makefile.am: temporarily disabled build of ifscompose since
      	it does not compile any longer after the latest GDK cleanups.
      
      	* plug-ins/common/nlfilt.c: gimp_color_cube() is obsolete.
      334911e2
  12. 18 Sep, 2001 1 commit
  13. 17 Sep, 2001 1 commit
    • Sven Neumann's avatar
      fixed a typo spotted by Ed Halley <ed@halley.cc>. · 525b013c
      Sven Neumann authored
      2001-09-17  Sven Neumann  <sven@gimp.org>
      
      	* app/gimprc.c (gimprc_init):
      	fixed a typo spotted by Ed Halley <ed@halley.cc>.
      
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: added new PDB function
      	gimp_get_default_comment() that allows to access the default image
      	comment as set in the preferences.
      
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/tiff.c: use gimp_get_default_comment() instead of
      	a hardcoded string.
      
      	* plug-ins/common/uniteditor.c: replaced deprecated GDK function
      	gdk_color_alloc().
      525b013c
  14. 09 Sep, 2001 1 commit
    • Sven Neumann's avatar
      app/devices.c readded the old code here in case the old GDK variable is · f5863106
      Sven Neumann authored
      2001-09-09  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.c
      	* app/tools/gimppainttool.c: readded the old code here in case the
      	old GDK variable is defined. Since GTK+-1.3.7 is finally out, we want
      	to try to keep GIMP compile against this release as long as possible.
      
      	* plug-ins/common/gif.c: applied a patch from David Odin
      	<dindinx@wanadoo.fr> that brings the GIF plug-in back to live.
      
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: build it again.
      f5863106
  15. 08 Sep, 2001 1 commit
  16. 07 Sep, 2001 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpbrushfactoryview.c app/widgets/gimpbufferview.c · 82286a5b
      Sven Neumann authored
      2001-09-07  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* plug-ins/gdyntext/charmap.c
      	* plug-ins/gdyntext/charmap_window.c
      	* plug-ins/gdyntext/font_selection.c
      	* plug-ins/gdyntext/message_window.c:
      	use GtkType instead of guint to store result of gtk_type_unique().
      	Patch courtesy of Alex Larsson <alexl@redhat.com>.
      82286a5b
  17. 03 Sep, 2001 3 commits
    • Sven Neumann's avatar
      app/gui/about-dialog.c draw text using PangoLayouts, now compiles with · c739ef89
      Sven Neumann authored
      2001-09-03  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/about-dialog.c
      	* app/gui/splash.c: draw text using PangoLayouts, now compiles with
      	GDK_DISABLE_DEPRECATED being defined.
      
      	* app/gui/authors.h
      	* tools/authorsgen/authorsgen.pl
      	* tools/authorsgen/contributors: converted to use UTF-8 strings.
      c739ef89
    • 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
    • Sven Neumann's avatar
      app/plug_in.c app/core/gimpbrush.c app/core/gimpbrushpipe.c · 083c7c91
      Sven Neumann authored
      2001-09-03  Sven Neumann  <sven@gimp.org>
      
      	* app/plug_in.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: check strings from data files and plug-in
      	registration for UTF-8 validity. There are probably a lot more places
      	that need these checks.
      
      	* plug-ins/common/gqbist.c: converted PDB texts to UTF-8.
      083c7c91
  18. 31 Aug, 2001 1 commit
    • Thomas Canty's avatar
      app/colormaps.c app/gdisplay.c app/nav_window.c app/scroll.c · 4e9fcfa6
      Thomas Canty authored
      2001-08-31  Thomas Canty  <tommydal@optushome.com.au>
      	* app/colormaps.c
      	* app/gdisplay.c
      	* app/nav_window.c
      	* app/scroll.c
      	* app/selection.c
      	* app/undo.c
      	* app/gui/about-dialog.c
      	* app/gui/color-area.c
      	* app/gui/color-select.c
      	* app/gui/gradient-editor.c
      	* app/gui/gui.c
      	* app/gui/splash.c
      	* app/tools/gimpcurvestool.c
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_preferences.c
      	* plug-ins/imagemap/imap_preview.c: replaced some deprecated GDK
      	functions
      4e9fcfa6
  19. 30 Aug, 2001 2 commits
    • Michael Natterer's avatar
      app/plug_in.c libgimpbase/gimpwire.c removed GIOChannel · 51f99c32
      Michael Natterer authored
      2001-08-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug_in.c
      	* libgimpbase/gimpwire.c
      	* libgimp/gimp.c: removed GIOChannel "channel->funcs->io_foo()"
      	hacks and use plain g_io_channel_[read|write]_chars(). An
      	additional g_io_channel_set_buffered (channel, FALSE); is needed
      	to make the channels work in binary mode. Fixed misc other stuff
      	in the GIOChannel code.
      
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpdialogfactory.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimp/gimpui.c: replaced some deprecated GDK functions.
      
      	* app/gui/palette-editor.c: block the color_name entry's "changed"
      	signal while setting it. Fixes invalid UTF-8 warnings.
      51f99c32
    • Sven Neumann's avatar
      set the message encoding for the plug-in textdomain. · d831931b
      Sven Neumann authored
      2001-08-30  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in.c: set the message encoding for the plug-in textdomain.
      d831931b
  20. 29 Aug, 2001 2 commits
    • Sven Neumann's avatar
      app/widgets/gtkhwrapbox.[ch] app/widgets/gtkvwrapbox.[ch] make it compile · 23a74726
      Sven Neumann authored
      2001-08-29  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gtkhwrapbox.[ch]
      	* app/widgets/gtkvwrapbox.[ch]
      	* app/widgets/gtkwrapbox.[ch]: make it compile even if you don't
      	have gle installed ;-)
      23a74726
    • 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
  21. 19 Aug, 2001 2 commits
    • Sven Neumann's avatar
      added PANGOFT2_CFLAGS to INCLUDES. · b03d3e2a
      Sven Neumann authored
      2001-08-19  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am: added PANGOFT2_CFLAGS to INCLUDES.
      b03d3e2a
    • Sven Neumann's avatar
      app/devices.h app/disp_callbacks.c applied a patch from · d896cf59
      Sven Neumann authored
      2001-08-19  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.h
      	* app/disp_callbacks.c
      	* app/interface.c: applied a patch from <David.Odin@bigfoot.com> that
      	changes some function prototype to return gboolean instead of gint.
      
      	* app/tools/gimpblendtool.c: pixel_regions_register() and
      	pixel_regions_process() return a gpointer, not (gpointer *).
      d896cf59
  22. 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
  23. 14 Aug, 2001 5 commits
    • Michael Natterer's avatar
      app/tools/gimptool.[ch] removed all *_get_PDB_string() functions and · 667d8626
      Michael Natterer authored
      2001-08-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]
      	* app/tools/tool_manager.[ch]: removed all *_get_PDB_string()
      	functions and GimpToolClass' "pdb_string" field as this info is
      	stored independent from a specific tool instance in GimpToolInfo
      
      	* app/tools/gimpbezierselecttool.c: use GimpToolInfo's "pdb_string".
      667d8626
    • Michael Natterer's avatar
      app/interface.c app/gui/about-dialog.c app/gui/brush-editor.c · cf622160
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/interface.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brush-select.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-dialog-utils.h
      	* 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/gradients-commands.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layer-select.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/splash.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c: got rid of all
      	gtk_object_[get|set]_data() and almost all gtk_signal_foo()
      	function calls.
      cf622160
    • Michael Natterer's avatar
      ARGH, die CVS, die die die · 71795eea
      Michael Natterer authored
      71795eea
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
    • Sven Neumann's avatar
      take image resolution and choosen unit into account for font and border · 84043719
      Sven Neumann authored
      2001-08-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: take image resolution and choosen unit
      	into account for font and border size.
      
      	* app/widgets/gimpfontselection-dialog.[ch]
      	* app/widgets/gimpfontselection.[ch]
      	* app/widgets/widgets-types.h: added an indicator for font validity.
      	Added a font preview to the font selection dialog.
      
      	* libgimpwidgets/gimpfileselection.c: return FALSE from
      	gimp_file_selection_entry_focus_out_callback() since we do not want
      	to stop signal emission.
      84043719
  24. 12 Aug, 2001 1 commit
    • Michael Natterer's avatar
      Switched to GObject reference counting: · 79faae01
      Michael Natterer authored
      2001-08-12  Michael Natterer  <mitch@gimp.org>
      
      	Switched to GObject reference counting:
      
      	* app/core/gimpcontainer.c: only ref(), not ref()/sink() children
      	of strong containers. Reordered gimp_container_remove() so we
      	don't need to ref the object while removing it.
      
      	* app/core/gimpcontext.c: misc fixes. Needs to be badly tortured...
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.c
      	* app/core/gimpparasite.c
      	* app/core/gimppattern.c
      	* app/core/gimpundostack.c
      	* app/gui/dialogs.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: changed accordingly: don't
      	ref()/sink() any more, unref all (??) objects after adding them to
      	strong containers, misc. minor fixes.
      
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpwidgets.c: use g_object_add_weak_pointer()
      	instead of simply crashing because g_object_weak_ref() was used
      	with gtk_widget_destroyed, brrr.
      
      	* app/widgets/gimpdnd.c: removed unneeded g_return_if_fail()'s.
      79faae01
  25. 11 Aug, 2001 4 commits
    • Sven Neumann's avatar
      return the created layer. · a01e6445
      Sven Neumann authored
      2001-08-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: return the created layer.
      
      	* app/pdb/text_tool_cmds.c
      	* libgimp/gimptexttool_pdb.c
      	* tools/pdbgen/pdb/text_tool.pdb: hacked a bit so scripts using the
      	text_*_fontname procedures work again with the new text tool.
      	The fontname is however no longer a X Logical Font Description, but
      	the much simpler scheme that Pango understands:
      	"[FAMILY-LIST] [STYLE-OPTIONS]". Interactive font selection is still
      	broken. The variants of the text PDB calls that pass the XLFD fields
      	directly should also work since the PDB now translates this to a
      	Pango-conform fontname. Later this API will die, but for the moment,
      	some backward compatibility can't hurt...
      a01e6445
    • Michael Natterer's avatar
      split "destroy" up in "dispose" and "finalize". · da68142e
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c: split "destroy" up in "dispose" and "finalize".
      
      	* app/core/gimpcontext.c: objects need to be passed around with
      	g_param_spec_object() or bad things will happen.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/gui.c
      	* app/gui/layers-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/select-commands.c
      	* app/tools/gimpclonetool.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimppreview.c: removed many connections to
      	"destroy": Connect to "dispose" or use g_object_weak_ref()
      	instead.
      da68142e
    • Michael Natterer's avatar
      fsck^^^ -- lovely autofoo wants "changequote([,])dnl" · 5e74fa37
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: fsck^^^ -- lovely autofoo wants "changequote([,])dnl"
      
      	* app/core/gimpcontext.[ch]: lots of GObject porting.
      
      	* app/core/gimpobject.[ch]: added a "disconnect" signal, which
      	like gtk's "destroy" is emitted in dispose(). This is ugly but
      	I don't see another "clean" way to implement weak containers.
      
      	* app/core/gimpcontainer.c: connect to the "disconnect" signal of
      	the children of weak containes.
      
      	* app/core/gimpimage.[ch]: replaced the "destroy" implementation
      	with "dispose" + "finalize". Removed gimage->undo_history.
      
      	* app/devices.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/tools-commands.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      5e74fa37
    • Sven Neumann's avatar
      made border work and fixed render offsets. · eb50191b
      Sven Neumann authored
      2001-08-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: made border work and fixed render offsets.
      eb50191b