1. 30 Oct, 2001 3 commits
  2. 29 Oct, 2001 3 commits
    • Sven Neumann's avatar
      rewrote so gcc-3.0 doesn't complain. · de5af18f
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      	* app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't
      	* app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp().
      	* libgimp/gimpintl.h
      	* libgimp/stdplugins-intl.h
      	* plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale()
      	since gtk_init() does it for us now. Don't set LC_NUMERIC to "C".
      	INIT_I18N_UI() is the same as INIT_I18N_UI() now.
      	* app/devices.c
      	* app/gimprc.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpgradient.c
      	* app/gui/color-notebook.c
      	* app/gui/gradients-commands.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and
      	g_ascii_strtod() to serialize and deserialize floats. These functions
      	are locale-independent. There are probably more places that need to be
      	fixed in this fashion.
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/
      	* tools/gimp-remote.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/paint-funcs/paint-funcs-indexeda.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimppathtool.c
      	* app/tools/path_tool.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/mpeg.c
      	* plug-ins/imagemap/imap_csim_parse.c: cleanups
    • 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
      	* 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.
    • Sven Neumann's avatar
      updated links · 5e9fc1d8
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      	* plug-ins/webbrowser/web-browser.scm: updated links
      	* tools/pdbgen/lib.pl: cosmetic change (if (!x) -> unless (x)).
  3. 28 Oct, 2001 7 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
    • Sven Neumann's avatar
      plug-ins/common/nlfilt.c plug-ins/gap/gap_mov_dialog.c removed code that · 6d4e0509
      Sven Neumann authored
      2001-10-28  Sven Neumann  <sven@gimp.org>
      	* plug-ins/common/nlfilt.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c: removed code that sets the
      	colormap and gamma value of a GtkPreview. We don't need to do this
      	since GtkPreview uses GdkRGB.
    • 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.
    • Nate Summers's avatar
      the autogenerated code for gimp_palette_get_entry won't compile. Temporary · e64b8c8c
      Nate Summers authored
              * gimppalette_pdb.c: the autogenerated code for
              gimp_palette_get_entry won't compile.  Temporary kludge so that it
              will compile and work correctly.
    • Nate Summers's avatar
      the autogenerated code for gimp_palette_get_entry won't compile. Temporary · 54ca4347
      Nate Summers authored
       	* gimppalette_pdb.c: the autogenerated code for
       	gimp_palette_get_entry won't compile.  Temporary kludge so that it
       	will compile and work correctly.
    • Nate Summers's avatar
      *** empty log message *** · bab6fb86
      Nate Summers authored
    • 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
  4. 27 Oct, 2001 1 commit
  5. 26 Oct, 2001 2 commits
  6. 25 Oct, 2001 5 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.
    • Michael Natterer's avatar
      forgot one dir again... · 106ef352
      Michael Natterer authored
    • 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
      	* 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.
    • Michael Natterer's avatar
      oops... · 057ce3f4
      Michael Natterer authored
    • 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
      	* 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
  7. 24 Oct, 2001 5 commits
    • Sven Neumann's avatar
      merged Raphaels patch for bug #56598 from the stable branch. · 21cc5af7
      Sven Neumann authored
      2001-10-24  Sven Neumann  <sven@gimp.org>
      	* plug-ins/perl/examples/glowing_steel: merged Raphaels patch for
      	bug #56598 from the stable branch.
    • Sven Neumann's avatar
      merged Raphaels patch for bug #51114 from the stable branch. · 9ce63151
      Sven Neumann authored
      2001-10-24  Sven Neumann  <sven@gimp.org>
      	* libgimp/gimpexport.c: merged Raphaels patch for bug #51114 from the
      	stable branch.
      	* plug-ins/common/grid.c: merged the fix for indexed images from the
      	stable branch.
    • Michael Natterer's avatar
    • 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.
    • 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
      	* 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".
  8. 23 Oct, 2001 6 commits
    • Michael Natterer's avatar
      updated. · 1261ba7b
      Michael Natterer authored
      2001-10-23  Michael Natterer  <mitch@gimp.org>
      	* POTFILES.in: updated.
    • 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
      	* 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
      	* app/file-save.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c: changed accordingly.
    • Michael Natterer's avatar
      docindex.c -> widgets/gimpdocumentview.c · e90d28c4
      Michael Natterer authored
      2001-10-23  Michael Natterer  <mitch@gimp.org>
      	* POTFILES.in: docindex.c -> widgets/gimpdocumentview.c
    • Sven Neumann's avatar
      added an entry for handling layers with masks with the Transform Tool. · 05770daf
      Sven Neumann authored
      2001-10-23  Sven Neumann  <sven@gimp.org>
      	* TODO.xml: added an entry for handling layers with masks with the
      	Transform Tool.
    • 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.
    • Wang Jian's avatar
      *** empty log message *** · a5bda23c
      Wang Jian authored
  9. 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.
    • 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() ->
      	* 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.
  10. 20 Oct, 2001 1 commit
  11. 19 Oct, 2001 2 commits
    • 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"
      	* 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
      	* 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
      	* 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...
    • Sven Neumann's avatar
  12. 18 Oct, 2001 3 commits
    • Sven Neumann's avatar
      plug-ins/FractalExplorer/FractalExplorer.c merged fixes for missing PDB · 31905392
      Sven Neumann authored
      2001-10-19  Sven Neumann  <sven@gimp.org>
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/common/illusion.c: merged fixes for missing PDB parameters
      	from stable branch.
    • 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.
    • 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.