1. 29 Oct, 2001 1 commit
    • Michael Natterer's avatar
      Cleanup weekend... · 05e15eb1
      Michael Natterer authored
      2001-10-29  Michael Natterer  <mitch@gimp.org>
      
      	Cleanup weekend...
      
      	* app/app_procs.c: pass "no_interface" to gimp_new().
      
      	* app/core/gimp.[ch]: added "gboolean no_interface" and the
      	load_procs and save_procs GSLists.
      
      	* app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
      	GimpToolInfo object so more functions find their context without
      	accessing the global "the_gimp" variable.
      
      	* app/display/display-types.h: removed the GDisplay -> GimpDisplay
      	typedef.
      
      	* app/display/gimpdisplay.c: look at gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
      	pass around lots of "Gimp" pointers. Removed the global load_procs
      	and save_procs variables here. Use access() to find out whether a
      	file is readable/writable, removed the manual voodoo and it's
      	Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
      	parameter to file_save(), removed file_save_with_proc().
      
      	* app/gui/menus.c: Use the unused "gpointer data" parameter of the
      	GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
      	This reduces the usage of the global "the_gimp" hack to zero
      	in app/gui/... yeah.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/select-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: use the passed "Gimp" pointer.
      
      	* app/gui/color-area.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/tool-options-dialog.[ch]
      	* app/gui/toolbox.c: pass around lots more "Gimp" and
      	"GimpContext" pointers and don't use "the_gimp" any more.
      
      	* app/tools/gimptool.h: added a pointer to the corresponding
      	GimpToolInfo object (which in turn has a pointer to a Gimp).
      
      	* app/tools/tool_manager.[ch]: set the pointer after creating the
      	tool object. Removed tool_manager_get_info_by_tool() as there is a
      	tool->tool_info pointer now.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/path_tool.c
      	* app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
      	Use tool->tool_info and tool_info->gimp in some places to get
      	rid of using "the_gimp".
      
      	Removing the remaining ones involves changing the tool options
      	system and is scheduled next...
      
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
      	file_open_*() functions.
      
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.[ch]
      	* app/image_map.[ch]
      	* app/nav_window.[ch]
      	* app/path.c
      	* app/path_bezier.c
      	* app/path_transform.h
      	* app/qmask.[ch]: s/GDisplay/GimpDisplay/g
      
      	* tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
      	members of the "Gimp" object now.
      
      	* tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      05e15eb1
  2. 28 Oct, 2001 3 commits
    • Hans Breuer's avatar
      define HAVE_DIRENT_H, it's from build/win32/dirent · 39dbecb7
      Hans Breuer authored
      2001-10-28  Hans Breuer  <hans@breuer.org>
      
      	* config.h.win32 : define HAVE_DIRENT_H, it's from build/win32/dirent
      
      	* app/*/makefile.msc : updated
      	* app/file/makefile.msc app/display/makefile.msc : new files
      
      	* app/user_install.c : make the G_OS_WIN32 part compile again (fn -> filename)
      
      	* app/core/gimptoolinfo.c (gimp_tool_info_init) : cosmetic change,
      	make implementation signature static like the local prototype
      
      	* app/pdb/gradients_cmds.c app/pdb/palette_cmds.c : include <string.h>
      	for strlen () / strcmp () by ...
      	* tools/pdbgen/pdb/gradients.pdb tools/pdbgen/pdb/palette.pdb :
      	... changing the perl source here
      
      	* app/widgets/gimpdocumentview.c : #include <string.h>
      
      	* libgimp/makefile.msc :
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* plug-ins/makefile.msc : reflect the fact that DIRENT functions
      	are removed from glib. Also define the questionable GETTEXT_PACKAGE
      	and LOCALEDIR which are required to compile, not adapted to NLS
      	support for win32 yet
      39dbecb7
    • Sven Neumann's avatar
      require GLib-1.3.10, GTK+-1.3.10 and Pango-0.21 · 294e7a1b
      Sven Neumann authored
      2001-10-28  Sven Neumann  <sven@gimp.org>
      
              * configure.in: require GLib-1.3.10, GTK+-1.3.10 and Pango-0.21
      
              * RELEASE-TO-CVS.patch
              * libgimpbase/gimpparasiteio.c
              * libgimpwidgets/gimpstock.c
              * plug-ins/ifscompose/ifscompose_storage.c: applied the patch and
              emptied the patch file.
      
              * libgimp/gimpgradientmenu.c: corrected order of parameters in call
              to gimp_gradients_get_gradient_data().
      
              * tools/pdbgen/pdb/palette.pdb: I think this is how Nathan wanted it
              to be.
      
              * app/pdb/palette_cmds.c
              * libgimp/gimppalette_pdb.[ch]: regenerated.
      294e7a1b
    • Nate Summers's avatar
      app/plug_in.c libgimp/gimp.c libgimpbase/gimpbasetypes.h · 6ffaf731
      Nate Summers authored
      
       	* app/plug_in.c
       	* libgimp/gimp.c
      	* libgimpbase/gimpbasetypes.h
       	* libgimpbase/gimpprotocol.c
       	* libgimpbase/gimpprotocol.h
       	* tools/pdbgen/pdb/palette.pdb: added preliminary pdb support to
       	manipulate palettes.  Incremented plugin interface version number.
      
       	* app/pdb/internal_procs.c
       	* app/pdb/palette_cmds.c
       	* app/pdb/procedural_db.c
      	* app/pdb/procedural_db_cmds.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimppalette_pdb.h
       	* plug-ins/script-fu/script-fu-constants.c
       	* tools/pdbgen/enums.pl: regenerated
      6ffaf731
  3. 25 Oct, 2001 3 commits
    • Michael Natterer's avatar
      app/core/gimpbrushgenerated.h app/core/gimpbrushpipe.h · 6eeec175
      Michael Natterer authored
      2001-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpbuffer.h
      	* app/core/gimpdatafactory.h
      	* app/core/gimpdrawable.h
      	* app/core/gimpgradient.h
      	* app/core/gimpimage.h: added some missing FOO_GET_CLASS() macros.
      6eeec175
    • Michael Natterer's avatar
      removed gradients_get_gradient_data() here... · 552e2671
      Michael Natterer authored
      2001-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/gradient_select.pdb: removed
      	gradients_get_gradient_data() here...
      
      	* tools/pdbgen/pdb/gradients.pdb: ...and added it here.
      
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimpgradientselect_pdb.[ch]: regenerated.
      
      	* app/core/gimpgradient.h: added GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE
      	here...
      
      	* app/gui/gradient-select.h: ...removed it here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpgradientselect.[ch]: removed. We don't wrap
      	_gradients_get_gradient_data() with gradients_get_gradient_data()
      	any more but call the PDB wrapper directly.
      
      	API CHANGE: Arguments 2 and 3 are swapped now!
      
      	* plug-ins/FractalExplorer/Dialogs.c: changed accordingly.
      552e2671
    • Michael Natterer's avatar
      generate app/file/Makefile · 8b5b8df8
      Michael Natterer authored
      2001-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: generate app/file/Makefile
      
      	* app/Makefile.am
      	* app/file-open.[ch]
      	* app/file-save.[ch]
      	* app/file-utils.[ch]: removed...
      
      	* app/file/Makefile.am
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.[ch]: ...and added here.
      
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* tools/pdbgen/pdb/fileops.pdb: changed includes accordingly.
      
      	* app/app_procs.[ch]: removed app_exit_finish() and
      	app_exit_finish_done() from the public API, call gtk_main() here,
      	pass "no_data" to gimp_new() and "restore_session" to
      	gui_restore().
      
      	* app/main.c: removed global variable "double_speed", don't
      	call gtk_main() in main.c. Added some missing log domains.
      
      	* app/appenv.h: removed "double_speed".
      
      	* app/core/gimp.[ch]: added "gboolean no_data" property which
      	must be passed to gimp_new().
      
      	* app/display/gimpdisplay-foreach.[ch]: added gdisplays_set_busy()
      	and gdisplays_unset_busy().
      
      	* app/gui/about-dialog.c: don't include "appenv.h", declare
      	"double_speed" extern.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: made the list of dialogs and the
      	global selection dialogs private. Added functions which get a
      	dialog by PDB callback_name. Pass a "Gimp" and the callback_name
      	to the constructors. Don't include "app_procs.h" for "the_gimp"
      	and "appenv.h" for "no_data" any more. Use the passed "Gimp"
      	instead and look at gimp->no_data.
      
      	* app/gui/toolbox.[ch]: pass a "Gimp" to the constructor.
      
      	* app/gui/gui.[ch]: use the new gdisplays_[un]set_busy() functions,
      	use the passed "Gimp" all over the place, don't include
      	"appenv.h" and "app_procs.h". gui_really_quit_dialog() takes
      	a "quit_func" callback now and calls it instead of calling
      	app_exit_finish() (which is now private) directly.
      
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/palette-import-dialog.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: changed accordingly.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      
      2001-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: app/file-*.c -> app/file/file-*.c
      8b5b8df8
  4. 24 Oct, 2001 2 commits
    • Michael Natterer's avatar
      app/file-open.c app/file-utils.c app/gimprc.c app/plug_in.c · 840a9700
      Michael Natterer authored
      2001-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/file-open.c
      	* app/file-utils.c
      	* app/gimprc.c
      	* app/plug_in.c
      	* app/user_install.c
      	* app/base/base.c
      	* app/base/temp-buf.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpimagefile.c
      	* app/gui/about-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* libgimpbase/gimpenv.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* tools/pdbgen/pdb/fileops.pdb: use g_build_filename() all over
      	the place instead of g_strconcat() and friends together with
      	G_DIR_SEPARATOR_S. Also removed all attempts to manually detect
      	double dir separators. LibGimpBase's searchpath utility functions
      	don't append a G_DIR_SEPARATOR_S to all paths any more.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      840a9700
    • Michael Natterer's avatar
      added gimp_button_extended_clicked() which emits the resp. signal. · f766956e
      Michael Natterer authored
      2001-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpbutton.[ch]: added
      	gimp_button_extended_clicked() which emits the resp. signal.
      
      	* app/gui/menus.[ch]: added new item factories "<Buffers>" and
      	"<Documents>".
      
      	* app/gui/Makefile.am
      	* app/gui/buffers-commands.[ch]
      	* app/gui/documents-commands.[ch]: new files for the callbacks.
      
      	* app/gui/dialogs-constructors.c: use them.
      
      	* app/gui/file-open-dialog.c: set the title to "Open Image",
      	not "Load Image".
      f766956e
  5. 23 Oct, 2001 2 commits
    • Michael Natterer's avatar
      pass a "Gimp" to gui_libs_init(), initialize the GUI before initializing · 0da978b8
      Michael Natterer authored
      2001-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: pass a "Gimp" to gui_libs_init(), initialize
      	the GUI before initializing the plug-ins.
      
      	* app/gui/menus.[ch]: removed menus_last_opened_add() and connect
      	to gimp->documents' "add", "remove" and "reorder" signals to
      	auto-update the "last opened" menu entries. Moved all public
      	functions to the top of the file. Removed global variable
      	"last_opened_raw_filenames".
      
      	* app/gui/gui.[ch]: removed "last opened" fiddling here, moved
      	menu init functions which need to be called after plug-in query
      	to gui_restore().
      
      	* app/gui/session.[ch]: added "Gimp" parameters to all public
      	functions.
      
      	* app/file-save.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c: changed accordingly.
      0da978b8
    • Sven Neumann's avatar
      make Next and Previous buttons insensitive if no tips could be loaded (as · f56b3d4c
      Sven Neumann authored
      2001-10-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips_dialog.c: make Next and Previous buttons insensitive
      	if no tips could be loaded (as done in the stable branch).
      
      	* plug-ins/common/mblur.c (mblur_linear): merged fix for bug #62640
      	from stable branch.
      
      	* plug-ins/gap/gap_lib.c: merged fix for bug #61677 from stable branch.
      f56b3d4c
  6. 22 Oct, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 70ce7bae
      Michael Natterer authored
      2001-10-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/docindex.[ch]: removed.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdocumentview.[ch]: new widget as replacement.
      
      	* app/core/gimpcontext.[ch]: added context->imagefile property.
      
      	* app/app_procs.c
      	* app/file-save.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/test-commands.c: changed accordingly.
      
      	* app/widgets/gimpcontainerview.[ch]: added "gboolean reorderable"
      	property which needs to be set by subclasses.
      
      	* app/widgets/gimpdrawablelistview.c: removed the "insert_item"
      	implementation which was used to make the items reorderable.
      
      	* app/widgets/gimpcontainerlistview.[ch]: make the list items
      	reorderable depending on view->reorderable.
      
      	* app/widgets/gimpbufferview.c: made it reorderable.
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      70ce7bae
    • Michael Natterer's avatar
      General cleanup of the selection tools and their PDB wrappers: · 99e78c70
      Michael Natterer authored
      2001-10-22  Michael Natterer  <mitch@gimp.org>
      
      	General cleanup of the selection tools and their PDB wrappers:
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-contiguous-region.[ch]
      	* app/core/gimpimage-mask-select.[ch]: new files providing a clean,
      	uniform API for the selection functionalities. Changed order of
      	parameters to be consistent, removed code duplication.
      
      	The region returned by the "by_color" function is not really
      	contiguous but the API is so similar to "by_seed" and it's used
      	in the same context so it's fair enough to put them together.
      
      	Also, I'm not sure if the two is_pixel_sufficiently_different()
      	I've optimized away were meant to do *exactly* the same. Added
      	a comment there to remember the former difference.
      
      	* app/core/gimpchannel.[ch] (gimp_channel_feather): removed the
      	"output" channel parameter and made it optionally push an undo
      	(like the other channel operations do).
      
      	* app/core/gimpimage-mask.c: call gimp_channel_feather() with
      	"push_undo == TRUE", removed some useless comments.
      
      	* app/tools/gimpbycolorselecttool.[ch]
      	* app/tools/gimpellipseselecttool.[ch]
      	* app/tools/gimpfreeselecttool.[ch]
      	* app/tools/gimpfuzzyselecttool.[ch]
      	* app/tools/gimprectselecttool.[ch]: removed all the actual
      	selection functionality and call the new gimp_image_mask_select_*()
      	and gimp_image_contiguous_region_*() functions instead.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpiscissorstool.c: use new function
      	gimp_image_mask_select_channel() instead of doing the same manually.
      
      	* app/tools/gimpbucketfilltool.c: find_contiguous_region() ->
      	gimp_image_contiguous_region_by_seed().
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/selection_tools.pdb: added new group "Selection
      	Tools" which depends only on "core/" stuff (not on "tools/" any
      	more, brrrr).
      
      	* tools/pdbgen/pdb/text_tool.pdb: don't include "appenv.h"
      
      	* tools/pdbgen/pdb/tools.pdb: removed the selection tools.
      
      	* app/pdb/Makefile.am
      	* app/pdb/selection_tools_cmds.c: new file.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpselectiontools_pdb.[ch]: new files.
      
      	* libgimp/gimptools_pdb.[ch]: regenerated
      
      	Misc cleanups:
      
      	* app/app_procs.c: call splash_create() with "no_splash_image"
      	as parameter.
      
      	* app/display/gimpdisplay-render.c
      	* app/display/gximage.c: don't include "appenv.h".
      
      	* app/gui/gui.c: call session_restore() only if "restore_session"
      	is TRUE.
      
      	* app/gui/session.c: don't "if(restore_session)" here and don't
      	include "appenv.h"
      
      	* app/gui/splash.[ch]: added "gboolean show_image" parameter to
      	splash_create(), don't include "appenv.h"
      
      	* app/tools/gimppainttool.[ch]: added a "GimpGradient" parameter
      	to gimp_paint_tool_get_color_from_gradient().
      
      	* app/tools/gimppaintbrushtool.c: pass the gradient.
      
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c: s/GDisplay/GimpDisplay/.
      
      	* app/widgets/gimpcontainergridview.[ch]: removed the "white_style"
      	class variable and don't fiddle around with colors and styles...
      
      	* themes/Default/gtkrc: ...do the same here with a simple rc style.
      99e78c70
  7. 19 Oct, 2001 1 commit
    • Michael Natterer's avatar
      link the app in a different order as some init functions are called from · cc83594b
      Michael Natterer authored
      2001-10-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: link the app in a different order as some init
      	functions are called from core/gimp.c instead of app_procs.c now.
      
      	* app/app_procs.[ch]: made app_init_update_status() private and
      	pass it as callback to various init functions.
      
      	* app/plug_in.[ch]: plug_in_init() take "gimp" and "status_callback"
      	parameters.
      
      	* app/undo.c: use "gimage->gimp" instead of "the_gimp", don't
      	include "app_procs.h".
      
      	* app/core/core-types.h: added "GimpInitStatusFunc" typedef.
      
      	* app/core/gimp.[ch]: gimp_initialize() and gimp_restore() now
      	take a "status_callback" as parameter. Don't include "app_procs.h".
      
      	* app/core/gimpmodules.c: putting the modules in a strong
      	container was a bad idea because it may be impossible to finalize
      	a GimpModuleInfo object belonging to a stalled module.
      
      	* app/gui/color-area.c: use G_N_ELEMENTS().
      
      	* app/gui/session.c: don't call app_init_update_status() and don't
      	include "app_procs.h" because this happens after the splash is
      	hidden.
      
      	* tools/pdbgen/app.pl
      	* app/pdb/internal_procs.[ch]: pass a "status_callback" to
      	internal_procs_init(), don't include "app_procs.h".
      
      	* plug-ins/Makefile.am: build gfig, gimpressionist and imagemap
      	again.
      
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_ui.c: s/gdk_image_unref/g_object_unref/
      
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/gimpressionist/ppmtool.[ch]
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/imagemap/imap_browse.[ch]
      	* plug-ins/imagemap/imap_csim.y
      	* plug-ins/imagemap/imap_edit_area_info.c
      	* plug-ins/imagemap/imap_file.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_menu.c
      	* plug-ins/imagemap/imap_polygon.c
      	* plug-ins/imagemap/imap_popup.c
      	* plug-ins/imagemap/imap_preferences.c
      	* plug-ins/imagemap/imap_taglist.c
      	* plug-ins/imagemap/imap_tools.c: ported to current GLib/Gtk+.
      
      	* plug-ins/gap/gap_arr_dialog.c
      	* plug-ins/gap/gap_decode_xanim.c
      	* plug-ins/gap/gap_filter_foreach.c
      	* plug-ins/gap/gap_filter_main.c
      	* plug-ins/gap/gap_frontends_main.c
      	* plug-ins/gap/gap_lib.c
      	* plug-ins/gap/gap_main.c
      	* plug-ins/gap/gap_mod_layer.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gap/resize.c: half-way fixed this one too but I'm not
      	willing to fix tons of duplicated and deprecated app/ code...
      cc83594b
  8. 18 Oct, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · be86df2a
      Michael Natterer authored
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/module_db.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpmoduleinfo.[ch]
      	* app/core/gimpmodules.[ch]: new files containing the module info
      	object and the module list handling code.
      
      	* app/gui/Makefile.am
      	* app/gui/module-browser.[ch]: new files containing the GUI.
      
      	* app/xcf/xcf.[ch]: pass a "Gimp" pointer to xcf_exit().
      
      	* app/core/gimp.[ch]: handle modules and xcf init/exit here too.
      
      	* app/app_procs.c: don't touch the modules and xcf stuff any more.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: module_db.c has moved.
      be86df2a
    • Michael Natterer's avatar
      added properties for "children_type" and "policy". Ref/unref the · 31f690cf
      Michael Natterer authored
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontainer.[ch]: added properties for "children_type"
      	and "policy". Ref/unref the "children_type" class so we can do
      	signal lookups and use other introspection features without an
      	existing instance of "children_type".
      
      	The new properties are G_PARAM_CONSTRUCT_ONLY and *MUST* be passed
      	to g_object_new() to ref/unref children_type's class correctly.
      
      	* app/core/gimpdatalist.c
      	* app/core/gimplist.c: pass them as construct properties.
      
      	* app/core/gimp.c: no need to manually ref classes any more.
      31f690cf
  9. 17 Oct, 2001 2 commits
    • Michael Natterer's avatar
      added a handler for GimpImage's "alpha_changed" signal (does nothing yet). · 6670bca2
      Michael Natterer authored
      2001-10-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpchannellistview.c: added a handler for GimpImage's
      	"alpha_changed" signal (does nothing yet).
      
      	* app/widgets/[lots of files]: somehow my last perl torturing
      	removed my email address from the copyright notice. Another perl
      	hack brought it back now :)
      6670bca2
    • Michael Natterer's avatar
      app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ · 18dd0728
      Michael Natterer authored
      2001-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.[ch]
      	* app/undo.c: s/GDisplay/GimpDisplay/
      
      	* app/plug_in.[ch]: removed unused boolean "destroy" field of
      	the PlugIn struct.
      
      	* app/core/gimpedit.c: don't include "app_procs.h"
      
      	* app/display/gimpdisplay-callbacks.c: moved the "grab_abd_scroll"
      	stuff from gimpdisplay-scroll.* here (less complicated and easier
      	to cleanup...)
      
      	* app/display/gimpdisplay-scroll.[ch]: removed here.
      
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplayshell.c: s/GDisplay/GimpDisplay/g
      
      	* app/display/gimpdisplay.[ch]: ditto, removed gdisplay_active()
      	which was just a wrapper around
      	"gimp_context_get_display (gimp_get_user_context (the_gimp))"
      	(which is more to type but makes the use of the global
      	"the_gimp" variable more obvious).
      
      	* app/gui/color-area.h
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.h
      	* app/gui/paths-dialog.h
      	* app/gui/select-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: s/GDisplay/GimpDisplay/, gdisplay_active()
      	removal, include "app_procs.h" for "the_gimp".
      
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimpeditselectiontool.h
      	* app/tools/gimphistogramtool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpmovetool.h
      	* app/tools/gimpperspectivetool.h
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimprotatetool.h
      	* app/tools/gimpscaletool.h
      	* app/tools/gimpsheartool.h
      	* app/tools/gimptexttool.h
      	* app/tools/gimpthresholdtool.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptransformtool.h
      	* app/tools/tool_manager.[ch]: lots of s/GDisplay/GimpDisplay/, made
      	all *_dialog_hide() functions private, cleanup.
      
      	* app/widgets/*: removed GtkType and gtk_type_* stuff entirely and
      	use GObject functions, removed lots of empty "destroy" methods and
      	use more type checking class cast macros instead of casting
      	directly.
      
      	* app/widgets/gimpcontainermenu.c: fixed item insert order.
      
      	* app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
      	functions.
      
      	* app/widgets/gimpwidgets-utils.[ch]: removed gimp_dialog_hide() as
      	Gtk+ does the right thing (TM) now.
      
      	* tools/pdbgen/pdb/color.pdb: implemented "histogram" without
      	digging into tools/ and widgets/ (needs to be done for all
      	color PDB functions).
      
      	* tools/pdbgen/pdb/gimprc.pdb: no need to use "the_gimp" in a PDB
      	function as a "Gimp" pointer is passed to them all.
      
      	* tools/pdbgen/pdb/image.pdb: don't include "app_procs.h"
      
      	* app/pdb/color_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/pdb/procedural_db.c: don't include "app_procs.h"
      18dd0728
  10. 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
  11. 10 Oct, 2001 1 commit
  12. 04 Oct, 2001 1 commit
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 20 Sep, 2001 1 commit
  20. 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
  21. 18 Sep, 2001 1 commit
  22. 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
  23. 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
  24. 08 Sep, 2001 1 commit
  25. 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
  26. 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