1. 13 May, 2002 11 commits
    • Sven Neumann's avatar
      registered GimpFillType enum and added translatable names to · 16e8b1be
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: registered GimpFillType enum and added
      	translatable names to GimpImageBaseType.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpedit.c
      	* app/core/gimpimage-new.[ch]: removed gimp_image_new_[init|exit]()
      	where we used to create names for the enums mentioned above. Dropped
      	gimp_image_new_set_have_current_cut_buffer() in favor of accessing
      	the value directly.
      
      	* app/gui/file-new-dialog.c (file_new_dialog_create)
      	* app/gui/layers-commands.c (layers_new_layer_query): use
      	GimpEnumMenus to choose the base_type and fill_type.
      16e8b1be
    • Michael Natterer's avatar
      gimp_display_idlerenderer_callback()). The assertion went off whenever we · 73057f76
      Michael Natterer authored
      2002-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.c commented out a warning in
      	initial_sub_region and a g_error() in combine_sub_region which
      	didn't expect to get chunks of pixels with a width of > 128
      	passed. I guess it was an assertion to ensure the integrity of
      	some higher level code (see gimpdisplay.c:
      	gimp_display_idlerenderer_callback()).  The assertion went off
      	whenever we wanted to render a preview with a width of > 128,
      	which is however handled absolutely correctly by the two
      	functions. (fixes #26072)
      
      	* app/core/gimpcontext.c (gimp_context_get_by_type): unref objects
      	before returning them. Fixes our biggest memleak (whole images).
      
      	* app/display/gimpdisplay-handlers.c: commented out debugging
      	g_print()s which track the image's refcount.
      73057f76
    • Sven Neumann's avatar
      use gimp_image_get_name(). · d8c4461c
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpmenu.c: use gimp_image_get_name().
      
      	* plug-ins/common/deinterlace.c: don't use 'O' as mnemonic, it's
      	already taken by the _OK button.
      d8c4461c
    • Sven Neumann's avatar
      documentation fix. · 2e8fdca5
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c: documentation fix.
      2e8fdca5
    • Sven Neumann's avatar
      updates · 33bd6db5
      Sven Neumann authored
      33bd6db5
    • Sven Neumann's avatar
      libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt updated. · a6722c61
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpimage.sgml: updated.
      a6722c61
    • Sven Neumann's avatar
      ignore gimpbase.h. · 378cfc79
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am: ignore gimpbase.h.
      
      	* libgimpbase/libgimpbase-docs.sgml: removed GimpBase and GimpUtils
      	sections, added GimpProtocol.
      
      	* libgimpbase/libgimpbase-sections.txt: updated.
      
      	* libgimpbase/tmpl/gimpbase.sgml
      	* libgimpbase/tmpl/gimputils.sgml: removed.
      
      	* libgimpbase/tmpl/gimpbasetypes.sgml
      	* libgimpbase/tmpl/gimpenv.sgml
      	* libgimpbase/tmpl/gimpparasite.sgml
      	* libgimpbase/tmpl/gimpprotocol.sgml
      	* libgimpbase/tmpl/gimpunit.sgml: updated.
      378cfc79
    • Sven Neumann's avatar
      removed one more unneeded template file · 3b9eefee
      Sven Neumann authored
      3b9eefee
    • Sven Neumann's avatar
      removed GimpColorTypes section. · f95e27ab
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/libgimpcolor-docs.sgml: removed GimpColorTypes section.
      
      	* libgimpcolor/libgimpcolor-sections.txt: updated.
      
      	* libgimpcolor/tmpl/gimpcolortypes.sgml: removed.
      
      	* libgimpcolor/tmpl/gimpadaptivesupersample.sgml
      	* libgimpcolor/tmpl/gimphsv.sgml
      	* libgimpcolor/tmpl/gimprgb.sgml: updated.
      f95e27ab
    • Sven Neumann's avatar
      added GimpMD5 section, removed GimpMathTypes. · 6564db3c
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/libgimpmath-docs.sgml: added GimpMD5 section, removed
      	GimpMathTypes.
      
      	* libgimpmath/libgimpmath-sections.txt: updated.
      
      	* libgimpmath/tmpl/gimpmathtypes.sgml: removed.
      
      	* libgimpmath/tmpl/gimpmd5.sgml: added GimpMD5 template.
      
      	* libgimpmath/tmpl/gimpmatrix.sgml
      	* libgimpmath/tmpl/gimpvector.sgml: updated.
      6564db3c
    • Sven Neumann's avatar
      added GimpStock section, removed GimpWidgetTypes. · 1be64085
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml: added GimpStock section,
      	removed GimpWidgetTypes.
      
      	* libgimpwidgets/libgimpwidgets-sections.txt: updated.
      
      	* libgimpwidgets/tmpl/gimpstock.sgml: added GimpStock templates.
      
      	* libgimpwidgets/tmpl/gimpwidgetstypes.sgml: removed.
      
      	* libgimpwidgets/tmpl/gimpbutton.sgml
      	* libgimpwidgets/tmpl/gimpchainbutton.sgml
      	* libgimpwidgets/tmpl/gimpcolorarea.sgml
      	* libgimpwidgets/tmpl/gimpcolorbutton.sgml
      	* libgimpwidgets/tmpl/gimpdialog.sgml
      	* libgimpwidgets/tmpl/gimpfileselection.sgml
      	* libgimpwidgets/tmpl/gimphelpui.sgml
      	* libgimpwidgets/tmpl/gimpoffsetarea.sgml
      	* libgimpwidgets/tmpl/gimppatheditor.sgml
      	* libgimpwidgets/tmpl/gimppixmap.sgml
      	* libgimpwidgets/tmpl/gimpquerybox.sgml
      	* libgimpwidgets/tmpl/gimpsizeentry.sgml
      	* libgimpwidgets/tmpl/gimpunitmenu.sgml
      	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
      1be64085
  2. 12 May, 2002 2 commits
    • Michael Natterer's avatar
      oops... · 2216807d
      Michael Natterer authored
      2216807d
    • Michael Natterer's avatar
      set the view's display to NULL in "destroy". Fixes crash on closing the · 474a4ec4
      Michael Natterer authored
      2002-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpnavigationview.c: set the view's display to NULL
      	in "destroy". Fixes crash on closing the navigation dialog.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/menus.c: use GIMP_STOCK_NAVIGATION instead of
      	GIMP_STOCK_TOOL_MOVE. Use the new GIMP_STOCK_WARNING (see below)
      	for the error console.
      
      	* themes/Default/images/*.png
      	* themes/Default/images/tools/*.png: renamed all stock icons to
      	have the pixel size instead of "button" or "menu" in the name.
      	(e.g. stock-menu-scale.png -> stock-scale-16.png).
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/gtkrc
      	* themes/Default/imagerc
      	* themes/Default/images/Makefile.am: changed accordingly.
      474a4ec4
  3. 11 May, 2002 6 commits
    • Michael Natterer's avatar
      connect to size allocations of the navigation preview's parent container · 384a2a85
      Michael Natterer authored
      2002-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpnavigationview.c: connect to size allocations of
      	the navigation preview's parent container and resize it so it
      	takes all available space.
      
      	* app/widgets/gimppreview.[ch]: replaced magic values by public
      	#defines of GIMP_PREVIEW_MAX_SIZE and GIMP_PREVIEW_MAX_POPUP_SIZE.
      	Increased the maximum preview size to 1024. Don't call the virtual
      	get_size() function if preview->viewable is NULL but call
      	gimp_preview_real_get_size() directly.
      
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainermenu.c
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimpnavigationpreview.c: replaced magic values by
      	the new costants.
      384a2a85
    • Michael Natterer's avatar
      Added a comment to explain why the "correct" size calculation is commented · 5a024d97
      Michael Natterer authored
      2002-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.c: Added a comment to explain why
      	the "correct" size calculation is commented out and put back the
      	old buffer size so we don't crash. Made the code robust against
      	whether we render only the color cells or the whole widget's
      	allocation->width.
      
      	* app/widgets/gimpdialogfactory.c: Don't try to #define DEBUG(...)
      	but wrap the whole g_print(...) statement in a debugging macro.
      5a024d97
    • Sven Neumann's avatar
      libgimp/stdplugins-intl.h use the new function gimp_locale_directory() · 328b93d7
      Sven Neumann authored
      2002-05-11  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/stdplugins-intl.h
      	* plug-ins/script-fu/script-fu-intl.h: use the new function
      	gimp_locale_directory() instead of LOCALEDIR.
      
      	* app/Makefile.am
      	* plug-ins/*/Makefile.am: removed LOCALEDIR definition.
      328b93d7
    • Sven Neumann's avatar
      applied a patch from Maurits Rijk that enables mnemonics (bug #80804). · 33b27245
      Sven Neumann authored
      2002-05-11  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c (gimp_radio_group_new2): applied a
      	patch from Maurits Rijk that enables mnemonics (bug #80804).
      
      	* plug-ins/common/blinds.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/oilify.c
      	* plug-ins/common/pixelize.c
      	* plug-ins/common/sel_gauss.c
      	* plug-ins/common/struc.c: : applied patches from Maurits Rijk that
      	add mnemonics (bug #80804).
      
      	* plug-ins/common/convmatrix.c: merged fix for bug #81345 from stable
      	branch.
      33b27245
    • Sven Neumann's avatar
      removed LOCALEDIR definition ... · 0938e33e
      Sven Neumann authored
      2002-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/Makefile.am: removed LOCALEDIR definition ...
      
      	* libgimpbase/Makefile.am: ... and added it here.
      
      	* app/widgets/gimpdnd.c: corrected pointer arithmetic.
      0938e33e
    • Sven Neumann's avatar
      removed gimptool.h. · fdf3a593
      Sven Neumann authored
      2002-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/Makefile.am (SOURCES): removed gimptool.h.
      
      	* libgimptool/Makefile.am (SOURCES): added gimptoolcontrol.h.
      
      Updated POTFILES.in and german translations.
      fdf3a593
  4. 10 May, 2002 14 commits
    • Hans Breuer's avatar
      broken pipe (see ChangeLog) ... · c20a0c14
      Hans Breuer authored
      2001-05-11  Hans Breuer  <hans@breuer.org>
      
      * broken pipe (see ChangeLog) ...
      c20a0c14
    • Hans Breuer's avatar
      broken pipe ? · 31b31bc8
      Hans Breuer authored
      2001-05-11  Hans Breuer  <hans@breuer.org>
      
      broken pipe ?
      31b31bc8
    • Hans Breuer's avatar
      add appconfig.lib. Statically link libgimptool/gimptool.lib. · 8522a847
      Hans Breuer authored
      2001-05-11  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc : add appconfig.lib. Statically
      	link libgimptool/gimptool.lib.
      
      	* app/main.c : use gimp_locale_directory()
      
      	* app/config/gimpconfig-utils.c : <string.h>
      
      	* app/config/makefile.msc : add gimpscanner
      
      	* app/core/gimpimagefile.c : some G_OS_WIN32 mess to get
      	mkdir() and chmod()
      
      	* app/display/gimpdisplayshell.c
      	  app/plug-in/plug-in-progrss.c
      	  app/tool/gimpcolorpickertool.c
      	  app/tool/gimpcroptool.c
      	  app/tool/gimpmeasuretool.c
      	  app/tool/gimpperspectivetool.c
      	  app/tool/gimprotatetool.c
      	  app/tool/gimpscaletool.c
      	  app/tool/gimpsheartool.c
      	  app/tool/gimptransformtool.c
      	  app/widgets/gimpcolormapeditor.c
      	  app/widgets/gimpcolorpanel.c
      	  app/widgets/gimptoolbox-color-area.c
      	add #ifdef __GNUC__ to avoid breaking on non standard
      	pragma #warning
      
      	* app/tools/makefile.msc : add gimptoolcontrol remove
      	tools-enum
      
      	* app/tools/tool_manager.c : need to include
      	libgimptool/gimptoolcontrol.h after core includes
      	otherwise we would compile without prototypes or
      	break miserably
      
      	* app/gui/plug-in-menus.c : replace LOCALEDIR with
      	gimp_locale_directory ()
      
      	* app/gui/preferences-dialog.c (prefs_notebook_append_page) :
      	only try to gdk_pixbuf_new_from_file() with a valid filename.
      	It should simply return NULL otherwise, but fails if the
      	filename is an empty string.
      
      	* app/paint-funcs/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* app/widgets/gimpcolormapeditor.c : the 'row'
      	allocated needs to be 'xn * cellsize * 2' (to avoid
      	accessing unowned memory) not only width, which has
      	become allocation.width by someone commenting out
      	the correct size calculation
      
      	* app/widgets/gimpdialogfactory.c : varargs to macros
      	are GCCism or at least non standard. #define DEBUG
      	to g_print or nothing - without arguments - does fix
      	it somewhat dirty as the compiler needs to tolerate
      	the '(blah, foo, bar);' statement than
      
      	* app/widgets/makefile.msc : updated
      
      	* app/xcf/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* etc/gimprc.win32 : use ';' to separate theme-path
      
      	* libgimpbase/gimpenv.c : #include <stdio.h>
      	for sprintf()
      
      	* app/widgets/gimpdnd.c (gimp_dnd_set_file_data) :
      	the passed in vals chunk is not always null-terminated
      	(at least not on win32). Use the length parameter too
      	to avoid reading junk filenames.
      
      	* libgimp/gimp.def : export gimp_image_get_name()
      
      	* libgimpbase/gimpbase.def : export gimp_locale_directory()
      	* libgimpbase/gimpenv.[ch] : added gimp_locale_directory ()
      
      	* libgimpbase/makefile.msc : define DATADIR and SYSCONFDIR
      	to empty string to let gimp find its files in the common
      	place (win32: relative to the top level gimp dir)
      
      	* plug-ins/common/pixelize.c : <string.h>
      
      	* plug-ins/flame/cmap.c : #include <glib.h> for g_random_int()
      
      	* plug-ins/makefile.msc : -FImsvc_recommended_pragams.h
      	and a little hack to give imagemap the prototypes it
      	desires without changing the lexed source
      
      	* themes/Default/images/makefile.msc : now added (see below)
      
      	* themes/Default/images/stock-button-reset.png : made it binary
      8522a847
    • Michael Natterer's avatar
      EEK, actually increase gimp->next_display_ID after taking a value. · 666b72e5
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay.c: EEK, actually increase
      	gimp->next_display_ID after taking a value.
      666b72e5
    • Michael Natterer's avatar
      invalidate all layer and channel previews after loading an image. Fixes · 39a660ba
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-open.c (file_open_image): invalidate all layer and
      	channel previews after loading an image. Fixes previews containing
      	garbage after image loading (also fixes thumbnail generation).
      39a660ba
    • Sven Neumann's avatar
      initialize a variable to please the compiler. · 02b00c61
      Sven Neumann authored
      2002-05-10  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: initialize a variable to please the
      	compiler.
      
      	* app/pdb/image_cmds.c: regenerated.
      02b00c61
    • Michael Natterer's avatar
      We can always create GimpPreviews for any GtkIconSize, but not vice versa. · b521746d
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	We can always create GimpPreviews for any GtkIconSize, but
      	not vice versa. therefore:
      
      	* app/widgets/gimpdockable.[ch]: changed the "gint size" parameter
      	used for tab sizes to "GtkIconSize size" all over the place. Added
      	"stock_id" in addition to "name" and "short_name".
      
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpimagedock.c: use GtkIconSize instead of integer
      	preview sizes for all widget style properties. Renamed them from
      	"blah_height" to "blah_size" because "height" is an implementation
      	detail.
      
      	* app/gui/dialogs-constructors.c: changed calls to
      	gimp_dockable_new() and all *_tab_func()s accordingly. Removed
      	the hack for the navigation tab and added a general tab_func
      	which returns a hbox with an icon & label.
      
      	* app/gui/menus.c: made the dialog menus found under <Toolbox>,
      	<Image> and <Dialogs> more consistent and added more stock icons.
      
      	* etc/gtkrc_user
      	* themes/Default/gtkrc: changed accordingly.
      b521746d
    • Sven Neumann's avatar
      app/gui/user-install-dialog.c use stock pixbufs instead of xpm pixmaps. · dd7f3016
      Sven Neumann authored
      2002-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/user-install-dialog.c
      	* plug-ins/common/gtm.c: use stock pixbufs instead of xpm pixmaps.
      
      	* pixmaps/Makefile.am
      	* pixmaps/eek.xpm
      	* pixmaps/folder.xpm
      	* pixmaps/wilber.xpm: removed now unused pixmaps.
      dd7f3016
    • Michael Natterer's avatar
      added a read-only property for the display's image, so it can be retreived · 359990db
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay.c: added a read-only property for the
      	display's image, so it can be retreived by the core, which
      	treats displays as simple GimpObjects.
      
      	* app/core/gimpcontext.c: made context->display an object
      	property, not just gpointer. Connect to the "remove" signal of
      	gimp->displays to get notified of disappearing displays. Removed
      	the EEKWrapper and get the display's gimage with g_object_get().
      
      	* app/widgets/gimpimagedock.[ch]: added image_dock->display_container
      	and require it being passed in the constructor. Do voodoo things
      	in the "image_changed" and "display_changed" callbacks to ensure
      	that the dock doesn't end up with no display even if the active
      	image has one. Added a style property for the image menu's preview
      	size.
      
      	* app/gui/dialogs-commands.c (dialogs_menu_update): set the
      	"View as List" and "View as Grid" items insensitive if the
      	other view type doesn't exist. Hide them if the view cannot
      	be classified as "list" or "grid" at all. Also hide the
      	"Preview Size" submenu if it's pointless for the view.
      
      	* app/gui/dialogs-constructors.c: added a special tab for the
      	navigation dialog. Will propbaby add dockable->stock_id to
      	generalize this kind of tab. Pass gimp->displays to
      	gimp_image_dock_new().
      
      	* app/gui/menus.c: reordered the "<Dialogs>" factory entries,
      	added more stock icons, cleanup.
      
      	* etc/gtkrc_user
      	* themes/Default/gtkrc: document usage of GimpImageDock's
      	"menu_preview_height" property.
      359990db
    • Michael Natterer's avatar
      pack the preview's alignment into the inner frame, not around it, so it · f4ce6a9e
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpnavigationview.c: pack the preview's alignment
      	into the inner frame, not around it, so it looks like the other
      	dockables. Fixed popup window positioning. Tried to get rid of
      	insane scale_label allocation computation but failed. Left the
      	EEKy code there for further investigation.
      f4ce6a9e
    • Michael Natterer's avatar
      create the "Undo" and "Redo" buttons from stock items. · b12391e9
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/undo_history.c: create the "Undo" and "Redo" buttons from
      	stock items.
      
      	* pixmaps/Makefile.am
      	* pixmaps/lower.xpm
      	* pixmaps/paste.xpm
      	* pixmaps/raise.xpm: removed them because they are not used any more.
      b12391e9
    • Michael Natterer's avatar
      don't try to set the preview_size of plain GtkMenuItems. · 800bbb7e
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainermenuimpl.c: don't try to set the
      	preview_size of plain GtkMenuItems.
      
      	* app/widgets/gimpdocumentview.c: fixed the "update" and
      	"delete dangling" functionals. They got passed wrong user_data.
      
      	* app/widgets/gimpitemfactory.c (gtk_item_factory_set_visible): if
      	the widget found is a menu, get it's parent item and show/hide
      	that.
      
      	* app/widgets/gimppreview.c (gimp_preview_set_viewable): always
      	clear preview->buffer so we don't display previews of vanished
      	viewables.
      800bbb7e
    • Michael Natterer's avatar
      disabled debuggind output. · 54d9b7ca
      Michael Natterer authored
      2002-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontainer.c: disabled debuggind output.
      
      	* app/core/gimpdrawable.c (gimp_drawable_init): no need to
      	initialize variables twice :)
      
      	* app/widgets/gimpnavigationpreview.c: removed debugging output.
      54d9b7ca
    • Nate Summers's avatar
      stupid backhoe · db98290b
      Nate Summers authored
      db98290b
  5. 08 May, 2002 6 commits
    • Manish Singh's avatar
      the correct switch is --disable-print, not --without-gimpprint. Fix not · 3e3fab4e
      Manish Singh authored
      2002-05-08  Manish Singh  <yosh@gimp.org>
      
              * configure.in: the correct switch is --disable-print, not
              --without-gimpprint. Fix not found error message, and add a pointer
              to the gimp-print homepage.
      3e3fab4e
    • Sven Neumann's avatar
      call bind_textdomain_codeset() so that we get UTF-8 encoded translations · 12c529f4
      Sven Neumann authored
      2002-05-08  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/print.c (run): call bind_textdomain_codeset() so
      	that we get UTF-8 encoded translations from libgimpprint.
      12c529f4
    • Michael Natterer's avatar
      Started to get rid of the gdisplays_foo() functions in · a3bb0b0d
      Michael Natterer authored
      2002-05-08  Michael Natterer  <mitch@gimp.org>
      
      	Started to get rid of the gdisplays_foo() functions in
      	app/display/gimpdisplay-foreach.[ch]. Work in progress...
      
      	* app/core/gimp.[ch]: added the display list to the Gimp object
      	(as a GimpList of GimpObjects). This way we get more independent
      	from whether there is GUI or not, as gimp->displays will simply
      	be an empty list for the --no-interface case.
      
      	* app/display/gimpdisplay.[ch]: Removed the global "display_list"
      	and "display_num" variables. Use gimp->displays instead.
      
      	* app/display/gimpdisplay-foreach.[ch]: renamed most functions
      	from gdisplays_foo() to gimp_displays_foo() and pass them a Gimp
      	pointer.
      
      	* app/core/gimpimage.[ch]: added a "flush" signal.
      
      	* app/display/gimpdisplay-handlers.c: connect to "flush" and call
      	gimp_display_flush() in the callback.
      
      	* tools/pdbgen/pdb/display.pdb: use gimp_displays_flush(gimp)
      	here and only here.
      
      	* app/pdb/display_cmds.c: regenerated.
      
      	* app/app_procs.c
      	* app/gui/gui.c
      	* app/gui/preferences-dialog.c:
      	s/gdislays_foo()/gimp_displays_foo(gimp)/
      
      	* app/image_map.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/gui/channels-commands.c
      	* app/gui/colormap-editor-commands.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/paint/gimpairbrush.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/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/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/tools/gimpvectortool.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpvectorslistview.c: replaced gdisplays_flush()
      	with calls to gimp_image_flush(gimage). Removed inclusion of
      	"display/gimpdisplay-foreach.h" from most files.
      a3bb0b0d
    • Sven Neumann's avatar
      plug-ins/print/gimp_color_window.c a couple of cleanups and fixes. This · afdb263b
      Sven Neumann authored
      2002-05-08  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/gimp_color_window.c
      	* plug-ins/print/gimp_main_window.c: a couple of cleanups and fixes.
      	This code relies heavily on GTK+ implementation details and thus
      	tends to work differently or even crash on GTK+-2.0 :-(
      afdb263b
    • Michael Natterer's avatar
      removed unused commented out prototype. · ff722d0c
      Michael Natterer authored
      2002-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.h: removed unused commented out prototype.
      
      	* app/core/gimpimage.c (gimp_image_set_tattoo_state): fixed it
      	again after I have b0rked it when using vectors instead of paths.
      
      	* app/display/gimpdisplay.c: some comments and one more
      	g_return_val_if_fail().
      
      	* app/widgets/gimpimagedock.c: more fixes for the subtle
      	active_image <-> active_display difference.
      
      	* tools/pdbgen/pdb/display.pdb (gimp_display_delete): call
      	gimp_display_delete() instead of just destroying it's shell (eek).
      
      	* app/pdb/display_cmds.c: regenerated.
      
      	Added a special view type for the image list so we can implement
      	stuff like deleting images which are left over from crashed
      	plug-ins:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpimageview.[ch]: new widget: a view on the image
      	container.
      
      	* app/gui/Makefile.am
      	* app/gui/images-commands.[ch]: new callbacks for it's context menu.
      
      	* app/gui/dialogs-constructors.c: use the new widget instead of
      	plain GimpContainerViews.
      
      	* app/gui/menus.c: added an item_factory for it.
      ff722d0c
    • Sven Neumann's avatar
      applied a patch from Maurits Rijk that enables mnemonics (bug #80804). · e1b20e1c
      Sven Neumann authored
      2002-05-08  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new)
      	(gimp_table_attach_aligned): applied a patch from Maurits Rijk that
      	enables mnemonics (bug #80804).
      
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/glasstile.c: applied a patch from Maurits Rijk that
      	adds mnemonics (bug #80804).
      
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gee_zoom.c
      	* plug-ins/common/guillotine.c
      	* plug-ins/common/winprint.c
      	* plug-ins/gap/gap_lib.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_settings.c
      	* plug-ins/print/gimp_main_window.c
      	* plug-ins/print/print.c
      	* plug-ins/print/print_gimp.h: use new function gimp_image_get_name()
      	where applicable.
      e1b20e1c
  6. 07 May, 2002 1 commit
    • Manish Singh's avatar
      added image_get_name. Also, no longer duplicate the string in · 182eb517
      Manish Singh authored
      2002-05-07  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/image.pdb: added image_get_name. Also, no longer
              duplicate the string in image_get_filename, since
              gimp_image_get_filename() returns a caller freed string now.
      
              * app/pdb/image_cmds.c
              * app/pdb/internal_procs.c
              * libgimp/gimpimage_pdb.[ch]: regenerated
      182eb517