1. 31 Oct, 2001 3 commits
    • Michael Natterer's avatar
      fscking broken pipe... · cbce3390
      Michael Natterer authored
    • Michael Natterer's avatar
      Chopped up the display stuff (beware: unfinished)... · 5f63e079
      Michael Natterer authored
      2001-10-31  Michael Natterer  <mitch@gimp.org>
      	Chopped up the display stuff (beware: unfinished)...
      	The plan is that GimpDisplay is the object which collects
      	updates from the image, compresses them and waits for the GIMP
      	to be idle to actually paint them. It should be a non-GUI object
      	which is the model for the actual widget to connect to.
      	GimpDisplayShell has all the widgets and handles painting and
      	exposing of the result. Nobody should actually be required to
      	update ot look at it as it should be a view on the GimpDisplay
      	Much stuff is still in the wrong place and the functions don't
      	follow their files' filename namespace any more. More to come...
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-ops.[ch]: removed. It's functions didn't
      	belong together anyway.
      	* app/display/gimpdisplay-area.[ch]: new files: the GimpArea
      	* app/display/gimpdisplay-handlers.[ch]: new files: signal
      	handlers for GimpImage signals. Mostly from app/gui.c.
      	* app/display/gimpdisplay.[ch]: removed all widgets and other
      	GUI stuff. There is still much undecided here...
      	* app/display/gimpdisplayshell.[ch]: actually use the object and
      	filled it with all the stuff from GimpDisplay.
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-foreach.[ch]
      	* app/display/gimpdisplay-render.c
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.c: changed accordingly.
      	* app/core/gimp.[ch]: return a GimpObject from
      	gimp_create_display() so it can be used as single GUI independent
      	point to create displays, require the initial scale as parameter.
      	* app/core/gimpcontext.c: changed the ugly EEKWrapper according to
      	the GimpDisplay structure changes. Bugfix: set the image to NULL
      	in gimp_context_display_destroyed().
      	* app/core/gimpedit.c
      	* app/core/gimpimage-new.c: changed gimp_create_display() calls
      	* app/core/gimpimage-convert.c: invalidate the layer & image
      	previews here, not in the caller.
      	* app/core/gimpimage-crop.c: update the whole image after cropping.
      	* app/core/gimpimage.[ch]: added gimp_image_find_guide(),
      	gimp_image_snap_point() and gimp_image_snap_rectangle(). Added
      	"resolution_changed" and "unit_changed" signals and corresp.
      	public convenience functions to emit them.
      	* app/core/gimplayer.c: emit the image's "alpha_changed" signal
      	when adding alpha to the bottom (and only) layer of the image.
      	* app/gimpprogress.c
      	* app/image_map.c
      	* app/nav_window.c
      	* app/qmask.c
      	* app/undo.c
      	* app/user_install.c: changed accordingly.
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/view-commands.c: ditto.
      	* app/gui/gui.[ch]: removed most gimp->images handlers as the
      	displays connect to them themselves now. chaged gui_display_new()
      	according to the gimp_create_display() changes.
      	Added gui_get_screen_resolution().
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/xinput_airbrush.c: lots of changes because GimpDisplay
      	has become two objects. Lots of gdisp->shell casting uglyness
      	added. This is fine because exactly these parts will have to go
      	(GimpDisplay will provide methods for XOR drawing upon the display
      	in image coordinates without the need to transform coordinates all
      	the time. Also the tools shouldn't see GdkEvents but get more
      	useful virtual functions which speak in image coordinates too).
      	* app/widgets/gimpcomponentlistitem.c: removed a now useless image
      	* tools/pdbgen/pdb/display.pdb: use gimp_create_display().
      	* app/pdb/display_cmds.c: regenerated.
    • Christian Rose's avatar
      Updated the Swedish translation some. · 4158715b
      Christian Rose authored
      2001-10-31  Christian Rose  <menthos@menthos.com>
      	* sv.po: Updated the Swedish translation some.
  2. 30 Oct, 2001 4 commits
  3. 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 t...
    • 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)).
  4. 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
  5. 27 Oct, 2001 1 commit
  6. 26 Oct, 2001 2 commits
  7. 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()
  8. 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".
  9. 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
  10. 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.
  11. 20 Oct, 2001 1 commit
  12. 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"
      	* 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...