Commit Graph

6868 Commits

Author SHA1 Message Date
Simon Budig 4904ca124e tiny fix, there was an ancient non working call to gimp_layer_add_alpha
2002-05-15  Simon Budig  <simon@gimp.org>

        * plug-ins/pagecurl/pagecurl.c: tiny fix, there was an
        ancient non working call to gimp_layer_add_alpha still
        hanging around...
2002-05-15 18:46:55 +00:00
Simon Budig e82fba4414 Made the pagecurl plugin automatically add an alpha channel. Fixes #81611.
2002-05-15  Simon Budig  <simon@gimp.org>

        * plug-ins/pagecurl/pagecurl.c: Made the pagecurl plugin
        automatically add an alpha channel. Fixes #81611.
2002-05-15 18:25:59 +00:00
Sven Neumann 6c9134609b fixed documentation.
2002-05-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.c: fixed documentation.

	* app/tools/gimppenciltool.c
	* app/tools/gimpsheartool.c: assign shortcuts that don't collide with
	other tools.
2002-05-15 18:23:17 +00:00
Michael Natterer 7cc03fd30d New feature: pressing <space> in the image window temporary switches to
2002-05-15  Michael Natterer  <mitch@gimp.org>

	New feature: pressing <space> in the image window temporary
	switches to the move tool (so that releasing <space> switches back
	to the old tool).

	* app/display/gimpdisplayshell.[ch]: added booleans
	shell->space_pressed and shell->space_release_pending. Connect
	more events to gimp_display_shell_events() so they can be blocked
	there if needed.

	* app/display/gimpdisplayshell-callbacks.c: beautified and
	uglified at the same time:

	beauty:
	- moved the checks if gimp is busy or button1 is down to
	  gimp_display_shell_events() so they don't clutter
	  gimp_display_shell_canvas_tool_events().
	- factored tool modifer updating out to a separate function.
	- indentation/spacing cleanup.

	ugly:
	- added more static variables to track the state of <space>
	- added the actual move tool toggling code.
2002-05-15 16:28:41 +00:00
Michael Natterer 821961b8f9 app/gui/splash.c reverted stuff someone accidentially checked in...
2002-05-15  Michael Natterer  <mitch@gimp.org>

	* app/gui/splash.c
	* libgimpproxy/gimpobject.h: reverted stuff someone
	accidentially checked in...
2002-05-15 15:55:10 +00:00
Jakub Steiner 08ce93e959 new preference icons 2002-05-15 15:32:37 +00:00
Sven Neumann 95b7ad4f7f app/core/gimpdocumentlist.c app/core/gimpparasitelist.c improved parser
2002-05-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdocumentlist.c
	* app/core/gimpparasitelist.c
	* app/core/gimpunits.c: improved parser error messages. Relies on a
	fix in glib (see bug #81850). However it doesn't hurt if you don't
	have the fix.
2002-05-15 13:48:47 +00:00
Sven Neumann 394d4aed05 added user_data pointer to serialize and deserialize methods.
2002-05-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.[ch]: added user_data pointer to serialize
	and deserialize methods.

	* app/config/gimprc.[ch]: implement gimp_rc_save() using
	gimp_config_serialize() so it can take advantage of the file
	handling magic implemented there.

	* app/config/test-config.c
	* app/core/gimp-documents.c
	* app/core/gimp-parasites.c
	* app/core/gimpdocumentlist.c
	* app/core/gimpparasitelist.c: changed accordingly.
2002-05-15 11:59:51 +00:00
Sven Neumann 9b6ef26100 added a return value to indicate success of
2002-05-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.[ch]: added a return value to indicate
	success of GimpConfigInterface::serialize. Added a GimpConfigError
	value for write errors and check the return value of all write()
	calls. Allow to specify file header and footer when calling
	gimp_config_serialize().

	* app/config/gimpconfig-serialize.[ch]
	* app/config/gimprc.c: changed accordingly.

	* app/core/gimp-documents.[ch]: new files with functions to handle
	gimp->documents.

	* app/core/gimpdocuments.[ch]: removed ...

	* app/core/gimpdocumentlist.[ch]: ... and added under this name.
	Implements a generic document list.

	* app/core/gimp-parasites.[ch]: new files with functions to handle
	gimp->parasites.

	* app/core/gimpparasite.[ch]: removed.

	* app/core/gimpparasitelist.[ch]: nothing more than a generic
	parasite list.

	* app/undo.c
	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimp.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage.c
	* app/core/gimpitem.c
	* app/file/file-open.c
	* app/file/file-save.c
	* app/gui/file-open-dialog.c
	* app/pdb/parasite_cmds.c
	* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
2002-05-15 11:05:32 +00:00
Sven Neumann 63485cb6b8 misc small changes.
2002-05-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdocuments.c: misc small changes.

	* app/core/gimpparasite.[ch]: reduced to a small set of wrappers
	around gimp->parasites.

	* app/core/gimpparasitelist.c: moved the code that reads and
	writes parasite lists ala parasiterc to this file. Added a
	GimpConfigInterface to GimpParasiteList.

	* app/core/gimp.c: changed accordingly.
2002-05-14 22:48:24 +00:00
Sven Neumann f3e3cb8f50 reverted the last change and applied a patch from Peter Kirchgessner
2002-05-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ps.c: reverted the last change and applied a patch
	from Peter Kirchgessner instead (closes reopened bug #81606).
2002-05-14 20:04:29 +00:00
Sven Neumann 7a560fea3d app/core/core-types.h made the list of recently used images an object
2002-05-14  Sven Neumann  <sven@gimp.org>

	* app/core/core-types.h
	* app/core/gimpdocuments.[ch]: made the list of recently used
	images an object derived from GimpList that implements the
	GimpConfigInterface.

	* app/core/gimp.c
	* app/file/file-open.c
	* app/file/file-save.c: changed accordingly.
2002-05-14 17:31:58 +00:00
David Neary fe92a4379a Small coding standard violation corrections 2002-05-14 17:06:22 +00:00
Dave Neary 918e633529 Added fixes for bugs #81730 and #81732 from the 1.2 branch.
2002-05-14  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/plasma.c: Added fixes for bugs #81730 and
        #81732 from the 1.2 branch.
2002-05-14 16:58:29 +00:00
Sven Neumann 1eedb95e3e libgimp/Makefile.am libgimpcolor/Makefile.am libgimpmath/Makefile.am
2002-05-14  Sven Neumann  <sven@gimp.org>

	* libgimp/Makefile.am
	* libgimpcolor/Makefile.am
	* libgimpmath/Makefile.am
	* libgimptool/Makefile.am
	* libgimpwidgets/Makefile.am: removed unneeded CPPFLAGS.

	* libgimpproxy/Makefile.am: ditto. Changed rules for generated files
	so that they work for parallel builds.
2002-05-14 15:13:14 +00:00
Sven Neumann c347f14848 fixed error messages.
2002-05-14  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.c: fixed error messages.

	* plug-ins/common/ps.c: applied a patch from Raphael Quinet that
	fixes bug #81606 (special-case recent Illustrator EPS brain damage).
2002-05-14 12:33:11 +00:00
Sven Neumann c3b9790ba7 tweaked so the shadow isn't cut off at the image border. We could still
2002-05-14  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/stock-wilber-eek-64.png: tweaked so the
	shadow isn't cut off at the image border. We could still need a
	better icon.

	* themes/Default/images/stock-wilber-eek.png: removed.
2002-05-14 11:07:00 +00:00
Sven Neumann fe0bf162c1 removed FINITE() macro.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpmath/gimpmath.h: removed FINITE() macro.

	* tools/pdbgen/pdb/image.pdb
	* app/pdb/image_cmds.c: define FINITE() here, where it is used.

	* tools/pdbgen/pdb/lib.pl: add "config.h" to all generated libgimp
	.c files.

	* libgimp/gimp*_pdb.c: regenerated.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpchannel.c
	* libgimp/gimpdrawable.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimphelp.c
	* libgimp/gimpimage.c
	* libgimp/gimplayer.c
	* libgimp/gimppatternmenu.c
	* libgimp/gimppixelrgn.c
	* libgimp/gimpproceduraldb.c
	* libgimp/gimpselection.c
	* libgimp/gimptile.c
	* libgimp/gimpui.c
	* libgimpmath/gimpmatrix.c
	* libgimpmath/gimpvector.c
	* plug-ins/MapObject/arcball.c
	* plug-ins/fp/fp_gdk.c
	* plug-ins/fp/fp_misc.c
	* plug-ins/ifscompose/ifscompose_storage.c
	* plug-ins/ifscompose/ifscompose_utils.c
	* plug-ins/maze/handy.c
	* plug-ins/rcm/rcm_gdk.c
	* plug-ins/sel2path/edge.c
	* plug-ins/xjt/xjpeg.c
	* plug-ins/xjt/xpdb_calls.c: include "config.h".
2002-05-13 23:30:23 +00:00
Sven Neumann 1ab94ead7e serialize to a temporary file and rename it to the target filename when it
2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.c (gimp_config_serialize): serialize to a
	temporary file and rename it to the target filename when it is
	completely written.
2002-05-13 21:39:59 +00:00
Michael Natterer 84d244c1ed parse parasiterc using GScanner instead of gimprc.
2002-05-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparasite.c: parse parasiterc using GScanner instead
	of gimprc.

	* app/gimprc.c: removed the parasite parsing stuff.
2002-05-13 20:24:19 +00:00
Ole Laursen 0ab1722b9b Updated Danish translation.
2002-05-13  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-05-13 19:26:19 +00:00
Sven Neumann a663c855ce added _with_range variants for all enum menu widgets that limit the range
2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpenummenu.[ch]: added _with_range variants for all
	enum menu widgets that limit the range of choices.

	* app/gui/file-new-dialog.c
	* app/gui/layers-commands.c
	* app/gui/preferences-dialog.c: use GimpEnumMenus with ranges.
2002-05-13 17:15:17 +00:00
Sven Neumann 0172411138 uhh, skipping values used in the PDB was a bad idea. Removed the skip
2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: uhh, skipping values used in the PDB
	was a bad idea. Removed the skip trigraphs again. This breaks the
	GUI; will fix it later.

	* tools/pdbgen/enums.pl: regenerated.
2002-05-13 15:53:45 +00:00
Sven Neumann 16e8b1bec8 registered GimpFillType enum and added translatable names to
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.
2002-05-13 15:35:27 +00:00
Michael Natterer 73057f7689 gimp_display_idlerenderer_callback()). The assertion went off whenever we
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.
2002-05-13 14:28:49 +00:00
Sven Neumann d8c4461c20 use gimp_image_get_name().
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.
2002-05-13 13:21:55 +00:00
Sven Neumann 2e8fdca5aa documentation fix.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c: documentation fix.
2002-05-13 11:41:22 +00:00
Sven Neumann 33bd6db575 updates 2002-05-13 11:23:37 +00:00
Sven Neumann a6722c6151 libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt updated.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml: updated.
2002-05-13 11:23:18 +00:00
Sven Neumann 378cfc793d ignore gimpbase.h.
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.
2002-05-13 11:13:41 +00:00
Sven Neumann 3b9eefee4c removed one more unneeded template file 2002-05-13 11:00:16 +00:00
Sven Neumann f95e27ab71 removed GimpColorTypes section.
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.
2002-05-13 10:55:46 +00:00
Sven Neumann 6564db3c2a added GimpMD5 section, removed GimpMathTypes.
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.
2002-05-13 10:47:29 +00:00
Sven Neumann 1be6408590 added GimpStock section, removed GimpWidgetTypes.
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.
2002-05-13 10:37:53 +00:00
Michael Natterer 2216807dca oops... 2002-05-12 23:26:07 +00:00
Michael Natterer 474a4ec430 set the view's display to NULL in "destroy". Fixes crash on closing the
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.
2002-05-12 23:20:21 +00:00
Michael Natterer 384a2a851e connect to size allocations of the navigation preview's parent container
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.
2002-05-11 13:51:26 +00:00
Michael Natterer 5a024d973b Added a comment to explain why the "correct" size calculation is commented
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.
2002-05-11 13:25:45 +00:00
Sven Neumann 328b93d718 libgimp/stdplugins-intl.h use the new function gimp_locale_directory()
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.
2002-05-11 11:26:14 +00:00
Sven Neumann 33b2724510 applied a patch from Maurits Rijk that enables mnemonics (bug #80804).
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.
2002-05-11 10:33:51 +00:00
Sven Neumann 0938e33e5b removed LOCALEDIR definition ...
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.
2002-05-11 10:18:58 +00:00
Sven Neumann fdf3a59379 removed gimptool.h.
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.
2002-05-11 09:57:01 +00:00
Hans Breuer c20a0c14d7 broken pipe (see ChangeLog) ...
2001-05-11  Hans Breuer  <hans@breuer.org>

* broken pipe (see ChangeLog) ...
2002-05-10 23:40:21 +00:00
Hans Breuer 31b31bc80d broken pipe ?
2001-05-11  Hans Breuer  <hans@breuer.org>

broken pipe ?
2002-05-10 23:33:26 +00:00
Hans Breuer 8522a8470d add appconfig.lib. Statically link libgimptool/gimptool.lib.
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
2002-05-10 23:30:09 +00:00
Michael Natterer 666b72e501 EEK, actually increase gimp->next_display_ID after taking a value.
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplay.c: EEK, actually increase
	gimp->next_display_ID after taking a value.
2002-05-10 18:27:51 +00:00
Michael Natterer 39a660baf8 invalidate all layer and channel previews after loading an image. Fixes
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).
2002-05-10 15:26:12 +00:00
Sven Neumann 02b00c61cf initialize a variable to please the compiler.
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.
2002-05-10 14:55:21 +00:00
Michael Natterer b521746d29 We can always create GimpPreviews for any GtkIconSize, but not vice versa.
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.
2002-05-10 14:50:27 +00:00
Sven Neumann dd7f30161c app/gui/user-install-dialog.c use stock pixbufs instead of xpm pixmaps.
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.
2002-05-10 14:02:28 +00:00