Commit Graph

2837 Commits

Author SHA1 Message Date
Sven Neumann f659de8b74 fixed SVG import preview for portrait SVG images.
2003-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (load_set_size_callback): fixed SVG import
	preview for portrait SVG images.
2003-11-26 20:22:18 +00:00
Sven Neumann 26f169670c forgot to use g_ascii_foo() here 2003-11-26 19:30:18 +00:00
Sven Neumann 758220c7e6 plug-ins/common/animationplay.c plug-ins/common/animoptimize.c
2003-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/pnm.c
	* plug-ins/common/xbm.c
	* plug-ins/flame/libifs.c
	* plug-ins/script-fu/siod/slib.c
	* plug-ins/script-fu/siod/sliba.c: don't include ctype.h, use
	g_ascii_* functions from GLib instead.

	* plug-ins/common/film.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gicon.c
	* plug-ins/common/gifload.c
	* plug-ins/common/hrz.c
	* plug-ins/common/pat.c
	* plug-ins/print/print.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: removed unused includes (mainly
	ctype.h).
2003-11-26 19:20:24 +00:00
Michael Natterer ba569cb9a4 gtk_widget_destroy() the dialog, not some NULL data pointer.
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/sel2path/sel2path.c (sel2path_response):
	gtk_widget_destroy() the dialog, not some NULL data pointer.
2003-11-26 18:08:43 +00:00
Michael Natterer 282d65bef2 configure.in plug-ins/script-fu/siod/Makefile.am
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* plug-ins/script-fu/siod/Makefile.am
	* plug-ins/script-fu/siod/.cvsignore
	* plug-ins/script-fu/siod/regex.c
	* plug-ins/script-fu/siod/slib.c
	* plug-ins/script-fu/siod/sliba.c
	* plug-ins/script-fu/siod/trace.c
	* plug-ins/script-fu/siod/siod.h
	* plug-ins/script-fu/siod/siodp.h: added new directory for siod.

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/interp_regex.c
	* plug-ins/script-fu/interp_slib.c
	* plug-ins/script-fu/interp_sliba.c
	* plug-ins/script-fu/interp_trace.c
	* plug-ins/script-fu/siod.h
	* plug-ins/script-fu/siodp.h: removed siod from here.

	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/siod-wrapper.c
	* tools/pdbgen/enumcode.pl: changed #includes accordingly.

	* plug-ins/script-fu/script-fu-constants.c: regenerated.

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_error_msg):
	use siod-wrapper.c siod_get_error_msg() instead of accessing
	siod's global siod_err_msg variable directly.
2003-11-26 17:14:58 +00:00
Michael Natterer c97d090d13 eek, it should be GIMP_ADD_ALPHA_TRANSFER_MASK, not
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: eek, it should be
	GIMP_ADD_ALPHA_TRANSFER_MASK, not GIMP_ADD_ALPHA_MASK_TRANSFER.

	* app/core/gimplayer.c (gimp_layer_create_mask): changed accordingly.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 16:00:14 +00:00
Michael Natterer e0e8a34f31 added enum values GIMP_ADD_ALPHA_MASK_TRANSFER and
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added enum values
	GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.

	* app/core/gimplayer.c (gimp_layer_create_mask): applied patch
	from Pedro Gimeno which implements the new ADD_MASK type and
	added undo. Fixes bug #127930.

	* app/gui/layers-commands.c: push an undo group around layer mask
	creation & adding since the creation may change the layer now.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 15:48:50 +00:00
Sven Neumann 348a785e4b removed these unused files from CVS.
2003-11-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/interp_md5.[ch]: removed these unused files
	from CVS.
2003-11-25 18:51:22 +00:00
Michael Natterer 29ddc678d3 added GIMP_UNDO_EVENT_UNDO_FREEZE and GIMP_UNDO_EVENT_UNDO_THAW.
2003-11-25  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added GIMP_UNDO_EVENT_UNDO_FREEZE
	and GIMP_UNDO_EVENT_UNDO_THAW.

	* app/core/gimpimage.c: emit undo events in
	gimp_image_undo_freeze() and gimp_image_undo_thaw().

	* app/widgets/gimpundoeditor.c: made it aware of FREEZE/THAW signals
	and robust against evil stuff like freezing/thawing the undo
	in the middle of an open undo group. Fixes bug #124421.

	* plug-ins/script-fu/scripts/circuit.scm: push and undo group
	instead of disabling/enabling undo.
2003-11-25 16:12:53 +00:00
Sven Neumann b8e13405ea plug-ins/bmp/bmp.[ch] plug-ins/bmp/bmpread.c some code cleanup (what a
2003-11-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: some code cleanup (what a mess...).
2003-11-25 13:49:16 +00:00
Maurits Rijk d1b4eed971 Fix for #126366 (bmp - wrong colors loaded) 2003-11-25 09:50:39 +00:00
Raphaël Quinet e7ebaa90da Allow the plug-in to register itself twice: once for the old mode
2003-11-23  Raphaël Quinet  <quinet@gamers.org>

	* plug-ins/common/animoptimize.c: Allow the plug-in to register
	itself twice: once for the old mode (difference only) and once for
	the new mode that improves the 'combine' frames by trying to
	maximize the number of adjacent pixels of the same color.  This
	gives a better compression for GIF, MNG and other formats that
	work on a line-by-line basis (bug #66367).
2003-11-23 01:13:31 +00:00
Sven Neumann 722fb64dbd Fixed some selection editor problems (bug #127644):
2003-11-22  Sven Neumann  <sven@gimp.org>

	Fixed some selection editor problems (bug #127644):

	* plug-ins/sel2path/sel2path.c: use the given image_ID, ignore the
	drawable_ID. This plug-in doesn't operate on a drawable at all.

	* plug-ins/imagemap/imap_main.c: pass a valid image_ID to sel2path.

	* app/gui/vectors-commands.c: don't attempt to create a valid
	drawable_ID for the call to sel2path since it isn't used anyway.

	* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
	just return when being called with an empty boundary.
2003-11-22 13:38:11 +00:00
Michael Natterer a70db0bb44 removed...
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpfileselection.[ch]: removed...

	* libgimpwidgets/gimpfileentry.[ch]: ...and added under a new name.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimppatheditor.[ch]
	* app/widgets/gimppropwidgets.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

	* libgimp/gimpcompat.h: added compat #defines.

2003-11-21  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimpfileselection.sgml: removed.

	* libgimpwidgets/tmpl/gimpfileentry.sgml: added.

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/tmpl/gimpdialog.sgml
	* libgimpwidgets/tmpl/gimppatheditor.sgml: updated.
2003-11-21 15:53:57 +00:00
Michael Natterer 86f45eabc2 plug-ins/FractalExplorer/Dialogs.c plug-ins/common/CEL.c
2003-11-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_browse.c
	* plug-ins/imagemap/imap_file.c: GtkFileSelection cleanup:
	connect to "response" instead of accessing the "ok_button"
	and "cancel_button" members.
2003-11-19 14:51:52 +00:00
Sven Neumann 2fda21f6f3 inform the user when a PNG file specifies an offset that causes the layer
2003-11-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c (load_image): inform the user when a PNG
	file specifies an offset that causes the layer to be positioned
	outside the image area. Fixes "bug" #127307.
2003-11-18 16:46:56 +00:00
Henrik Brix Andersen 75d4de0123 plug-ins/common/color_enhance.c plug-ins/common/c_astretch.c removed
2003-11-17 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/color_enhance.c
* plug-ins/common/c_astretch.c
* plug-ins/common/gtm.c: removed potentionally offensive words +
removed trailing whitespace. This fixes bug #125668.
2003-11-17 18:02:45 +00:00
Sven Neumann 83ae886609 removed the addition of 0.001 that isn't correct for use with integers
2003-11-17  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.h (GIMP_RGB_INTENSITY): removed the
	addition of 0.001 that isn't correct for use with integers (should
	be 0.5 then) and just plain wrong for use with floats/doubles.

	* app/base/temp-buf.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage.c
	* plug-ins/common/aa.c
	* plug-ins/common/engrave.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/newsprint.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/pagecurl/pagecurl.c: add 0.5 to the result of
	GIMP_RGB_INTENSITY() in all places that use it with integers.
2003-11-17 17:33:14 +00:00
Sven Neumann e4c5b6b0ca added a GIMP_RGB prefix to the INTENSITY macros.
2003-11-17  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.[ch]: added a GIMP_RGB prefix to the
	INTENSITY macros.

	* libgimp/gimpcompat.h: document this change here.

	* app/base/colorize.c
	* app/base/temp-buf.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage.c
	* plug-ins/common/aa.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/colorify.c
	* plug-ins/common/displace.c
	* plug-ins/common/engrave.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/oilify.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/pagecurl/pagecurl.c: changed accordingly.

	* libgimpcolor/gimpcolor.h: removed trailing whitespace.

	* app/paint-funcs/paint-funcs.c: fixed indentation.
2003-11-17 14:58:31 +00:00
Henrik Brix Andersen d93c820f22 changed DEFAULT_WEB_BROWSER to "mozilla %s"
2003-11-16 Henrik Brix Andersen <brix@gimp.org>

* app/config/gimpguiconfig.c (DEFAULT_WEB_BROWSER): changed
DEFAULT_WEB_BROWSER to "mozilla %s"

* plug-ins/common/webbrowser.c (browser_open_url): quote the url
here instead
2003-11-16 22:57:07 +00:00
Hans Breuer b23682bf8e still unacceptable patched to compile without FT2, see bug #113681
2003-11-16  Hans Breuer  <hans@breuer.org>

	* app/text/*.c : still unacceptable patched to compile
	without FT2, see bug #113681

	* **makefile.msc : updated

	* app/config/gimpconfig-dump.c : include gimpwin32-io.h

	* app/plug-in/plug-ins.c : don't depend on g_print handling
	%s with NULL pointers, it doesn't anymore with glib cvs at
	least not on win32

	* app/widgets/gimppropwidgets.c
	  libgimpbase/gimputils.c
	  libgimpwidgets/gimpmemsizeentry.c :
	sorry about the mess, need to work-around a stupi not able
	to cast from guint64 to double

	* app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new) :
	avoid 'overflow in floating-point constant arithmetic' by disabling
	an imho alays questionable g_return_val_if_fail() for _MSC_VER only

	* libgimpmodule/gimpmodule.def : sorted

	* libgimpwidgets/gimpfileselection.c : removed unused S_ISDIR
	definition

	* app/gui/themes.c : filenames in rc files need to be escaped
2003-11-16 21:20:14 +00:00
Sven Neumann d7ae65edc4 fixed the default gamma value which I broke with my recent change (see bug
2003-11-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: fixed the default gamma value which I
	broke with my recent change (see bug #120031).
2003-11-16 18:01:56 +00:00
Michael Natterer 4ae5d46022 added new export capabilities GIMP_EXPORT_CAN_HANDLE_BITMAP and
2003-11-15  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpexport.[ch]: added new export capabilities
	GIMP_EXPORT_CAN_HANDLE_BITMAP and _CAN_HANDLE_LAYER_MASKS and
	export the image accordingly. Code cleanup.

	* plug-ins/common/xbm.c (run): replaced _CAN_HANDLE_INDEXED by
	_CAN_HANDLE_BITMAP. Fixes bug #65788.

	* plug-ins/common/psd_save.c (run): added export stuff so
	layer masks are applied before saving. Fixes bug #119732.

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl: link psd_save against GTK+
	and libgimpui.
2003-11-15 16:51:20 +00:00
Sven Neumann 050a543543 add an alpha channel to grayscale layers created from brush pipes.
2003-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gih.c (gih_load_one_brush): add an alpha channel
	to grayscale layers created from brush pipes.
2003-11-15 15:27:22 +00:00
Sven Neumann 46826bab0c include <errno.h>.
2003-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: include <errno.h>.
2003-11-15 14:11:22 +00:00
Michael Natterer 30aabbc23c plug-ins/FractalExplorer/Dialogs.c
2003-11-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/bz2.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/dicom.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/grid.c
	* plug-ins/common/gtm.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mail.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/pix.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/ps.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xwd.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/helpbrowser/domain.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sgi/sgi.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c
	* plug-ins/xjt/xjt.c: removed explicit newlines from messages.
	Made file open/save messages the same all over the place. Reduced
	number of translatable strings by adding some more "standard"
	messages. Removed plug-in names from messages. Added some random
	mnemonics. Unmarked some strings for translation and added some
	that were forgotten. General message cleanup. Removed trailing
	whitespace.
2003-11-15 13:53:33 +00:00
Michael Natterer a120902fb8 plug-ins/common/gee.c use gimp_dialog_new() and connect to "response".
2003-11-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c: use gimp_dialog_new() and connect to
	"response".
2003-11-15 11:19:31 +00:00
Henrik Brix Andersen 44334ad81e added an optional time out before selecting the window to be grabbed. This
2003-11-15 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/screenshot.c: added an optional time out before
selecting the window to be grabbed. This fixes bug #121783.
2003-11-15 03:06:50 +00:00
Manish Singh 4961608004 implementedgimp_int_option_menu_new and gimp_int_radio_group_new, which
2003-11-14  Manish Singh  <yosh@gimp.org>

	* libgimpwidgets/gimpwidgets.[ch]: implementedgimp_int_option_menu_new
	and gimp_int_radio_group_new, which are the same as
	gimp_option_menu_new2 and gimp_radio_group_new2, but they take
	integers as values to map instead of gpointers, which avoids casts
	in pretty much all uses of it in the tree.

	* app/gui/image-commands.c
	* app/gui/offset-dialog.c
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimpwidgets-constructors.c
	* libgimpwidgets/gimpmemsizeentry.c
	* modules/cdisplay_colorblind.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/blinds.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/edge.c
	* plug-ins/common/emboss.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/gif.c
	* plug-ins/common/hot.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/lic.c
	* plug-ins/common/mail.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mng.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/papertile.c
	* plug-ins/common/pnm.c
	* plug-ins/common/ps.c
	* plug-ins/common/psp.c
	* plug-ins/common/ripple.c
	* plug-ins/common/shift.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/struc.c
	* plug-ins/common/sunras.c
	* plug-ins/common/tiff.c
	* plug-ins/common/waves.c
	* plug-ins/common/wind.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/color.c
	* plug-ins/gimpressionist/orientmap.c
	* plug-ins/gimpressionist/placement.c
	* plug-ins/maze/maze_face.c
	* plug-ins/sgi/sgi.c: Use gimp_int_option_menu_new and
	gimp_int_radio_group_new.

	* plug-ins/common/CML_explorer.c: make function_graph_new take a
	gpointer *data instead of a gpointer data, and properly pass an
	int through it.

	* plug-ins/common/mng.c: mark menu strings for translation.

	* plug-ins/rcm/rcm.c: remove initialization for Success member
	in RcmParams, since it's gone now.
2003-11-14 18:05:39 +00:00
Maurits Rijk ed0a346861 Moved code from gfig.c to 2 new files. 2003-11-11 21:23:33 +00:00
Sven Neumann b41bbb60de set color buttons to continuous update. Minor code cleanup.
2003-11-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: set color buttons to
	continuous update. Minor code cleanup.
2003-11-11 19:22:35 +00:00
Michael Natterer f72b8b1e39 new function which does the same as gtk_dialog_run() except it does not
2003-11-11  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.[ch] (gimp_dialog_run): new function
	which does the same as gtk_dialog_run() except it does not make
	the dialog modal.

	* app/gui/resolution-calibrate-dialog.c
	* libgimp/gimpexport.c
	* plug-ins/*/*.c: use gimp_dialog_run() instead of gtk_dialog_run().

	* plug-ins/common/grid.c: set update_continuous to TRUE for
	the GimpColorButtons so this feature gets some testing.
2003-11-11 18:11:56 +00:00
Michael Natterer 7110a5bd4c removed doubly pasted code. Changed error/progress messages to use the
2003-11-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/dicom.c: removed doubly pasted code. Changed
	error/progress messages to use the "standard" string many plug-ins
	use. Added error message if opening for wriring fails. Minor
	cleanups.
2003-11-11 12:31:48 +00:00
Sven Neumann d08c259feb plug-ins/common/Makefile.am plug-ins/common/mkgen.pl
2003-11-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/dicom.c: added DICOM file plug-in written by
	Dov Grobgeld.
2003-11-11 10:21:58 +00:00
Michael Natterer dfa405eff3 plug-ins/FractalExplorer/Dialogs.c plug-ins/common/CML_explorer.c
2003-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_browse.c: more file selections on the
	right screen.
2003-11-09 22:44:45 +00:00
Sven Neumann d86e5895a9 app/core/gimpbrush.c (gimp_brush_load_brush) use proper conversion from
2003-11-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush.c (gimp_brush_load_brush)
	* plug-ins/common/gbr.c (load_image): use proper conversion from
	16bit float to 8bit integer.
2003-11-09 20:52:01 +00:00
Sven Neumann 843f380772 removed redundant calls to gimp_get_data().
2003-11-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: removed redundant calls to gimp_get_data().

	* plug-ins/common/wmf.c: fixed parameter handling and limits and
	initial value of the logarithmic scale entry.
2003-11-09 15:04:54 +00:00
Michael Natterer b5b9972620 use a scale_entry instead of adding a GtkHScale manually.
2003-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/wmf.c (load_dialog): use a scale_entry instead
	of adding a GtkHScale manually.
2003-11-09 10:50:36 +00:00
Sven Neumann a5cb6838b5 check for libwmf >= 0.2.8 and build the WMF plug-in conditionally.
2003-11-09  Sven Neumann  <sven@gimp.org>

	* configure.in: check for libwmf >= 0.2.8 and build the WMF
	plug-in conditionally.

	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/wmf.c: replaced the WMF plug-in with a plug-in
	using libwmf written by Dom Lachowicz and Francis James
	Franklin. Converted the plug-in to to new GimpDialog API and GIMP
	coding style. Fixes bug #108653.
2003-11-09 00:53:49 +00:00
Michael Natterer b62f8e9a75 To be multihead safe, each new window or menu needs to be associated with
2003-11-08  Michael Natterer  <mitch@gimp.org>

	To be multihead safe, each new window or menu needs to be
	associated with a GdkScreen or it will pop up on the default
	screen.

	* libgimpwidgets/gimpquerybox.[ch]
	* app/display/gimpdisplayshell-layer-select.[ch]
	* app/widgets/widgets-types.h
	* app/widgets/gimpitemfactory.[ch]
	* app/widgets/gimpitemtreeview.[ch]
	* app/widgets/gimptemplateview.[ch]
	* app/widgets/gimptooldialog.[ch]
	* app/widgets/gimpviewabledialog.[ch]
	* app/gui/channels-commands.[ch]
	* app/gui/color-notebook.[ch]
	* app/gui/convert-dialog.[ch]
	* app/gui/edit-commands.[ch]
	* app/gui/grid-dialog.[ch]
	* app/gui/image-commands.[ch]
	* app/gui/info-dialog.[ch]
	* app/gui/layers-commands.[ch]
	* app/gui/offset-dialog.[ch]
	* app/gui/resize-dialog.[ch]
	* app/gui/stroke-dialog.[ch]
	* app/gui/templates-commands.[ch]
	* app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
	paramaters to all functions which create menus, popups or windows
	and pass "parent" to gimp_dialog_new() or one of the various
	wrappers around it. As a side effect, this fixes bug #61092.

	* app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
	instead of "parent" here since there are no possible parent
	windows on startup.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_origin_button_press): added a quick hack to
	send a display to another screen: click the origin button with the
	middle mouse button.

	* app/display/gimpdisplayshell.c
	(gimp_display_shell_screen_changed): don't chain up
	undonditionally (don't crash).

	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
	dialog's screen from a non-GtkWidget parent widget. The rest of
	non-window parent widget handling is still unimplemented.

	* libgimpwidgets/gimpcolorbutton.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcolorpanel.c
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpdevicestatus.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimphelp.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimppreview-popup.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpsessioninfo.c
	* app/widgets/gimptoolbox-color-area.c
	* app/widgets/gimptoolbox-indicator-area.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c
	* app/widgets/gimpvectorstreeview.c
	* app/widgets/gimpwidgets-utils.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpnavigationview.c
	* app/gui/module-browser.c
	* app/gui/dialogs-commands.c
	* app/gui/dialogs-constructors.c
	* app/gui/drawable-commands.c
	* app/gui/file-commands.c
	* app/gui/file-new-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/gradient-editor-commands.c
	* app/gui/gui-vtable.c
	* app/gui/gui.c
	* app/gui/info-window.c
	* app/gui/palette-import-dialog.c
	* app/gui/palettes-commands.c
	* app/gui/qmask-commands.c
	* app/gui/select-commands.c
	* app/gui/tool-options-commands.c
	* app/gui/view-commands.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c: changed accordingly. Changed all
	menu_position funcs to place the menu on the right screen.
2003-11-08 15:32:38 +00:00
Michael Natterer efd9a3e14a added "wm_name", "wm_class", "display_name" and "monitor_number" to the
2003-11-07  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpprotocol.[ch]: added "wm_name", "wm_class",
	"display_name" and "monitor_number" to the GPConfig message.
	Increased protocol version number.

	* libgimp/gimp.[ch] (gimp_config): read them from the GPConfig
	message and remember them.
	Added public accessors for the new config values.

	* libgimp/gimpui.c (gimp_ui_init): pass wm_name and wm_class to
	gtk_init() and export the display/screen to use to the
	environment.

	* app/core/gimp.[ch]: added vtable entries to get the values
	from the GUI.

	* app/gui/gui-vtable.c: implement the vtable entries.

	* app/plug-in/plug-in-run.c: fill in the GPConfig values using
	the new Gimp vtable functions.

	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell.c
	* app/gui/about-dialog.c
	* app/gui/channels-commands.c
	* app/gui/color-notebook.c
	* app/gui/convert-dialog.c
	* app/gui/file-dialog-utils.[ch]
	* app/gui/file-new-dialog.c
	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/gradient-editor-commands.c
	* app/gui/gradients-commands.c
	* app/gui/grid-dialog.c
	* app/gui/image-commands.c
	* app/gui/info-dialog.[ch]
	* app/gui/info-window.c
	* app/gui/layers-commands.c
	* app/gui/module-browser.c
	* app/gui/offset-dialog.c
	* app/gui/palette-import-dialog.c
	* app/gui/qmask-commands.c
	* app/gui/resize-dialog.c
	* app/gui/splash.c
	* app/gui/stroke-dialog.c
	* app/gui/templates-commands.c
	* app/gui/tips-dialog.c
	* app/gui/vectors-commands.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpdock.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpviewabledialog.[ch]
	* libgimpwidgets/gimpfileselection.c
	* libgimpwidgets/gimpquerybox.c
	* libgimpwidgets/gimpunitmenu.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/ifscompose/ifscompose.c: replaced all calls to
	gtk_window_set_wmclass() by gtk_window_set_role() and all
	"const gchar *wmclass_name" parameters by "const gchar *role".
	Cleaned up the window role strings.
2003-11-07 17:29:02 +00:00
Michael Natterer 66c5dd8772 removed our own action_area API and use GtkDialog's one. Create all
2003-11-06  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.[ch]: removed our own action_area API
	and use GtkDialog's one. Create all dialogs without separator.
	Changed almost everything else too. Fixes bug #125143.

	* libgimpwidgets/gimpquerybox.c
	* libgimpwidgets/gimpunitmenu.c: changed accordingly.

	* libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType
	to GimpExportReturn.

	* libgimp/gimpcompat.h: added a #define for the old name.

	* themes/Default/gtkrc: increased action_area border to 6 pixels.

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpprogress.c
	* app/gui/brush-select.c
	* app/gui/channels-commands.c
	* app/gui/color-notebook.c
	* app/gui/convert-dialog.c
	* app/gui/file-new-dialog.c
	* app/gui/font-select.c
	* app/gui/gradient-editor-commands.c
	* app/gui/gradient-select.c
	* app/gui/grid-dialog.c
	* app/gui/image-commands.c
	* app/gui/info-window.c
	* app/gui/layers-commands.c
	* app/gui/module-browser.c
	* app/gui/offset-dialog.c
	* app/gui/palette-import-dialog.c
	* app/gui/palette-select.c
	* app/gui/pattern-select.c
	* app/gui/preferences-dialog.c
	* app/gui/qmask-commands.c
	* app/gui/resize-dialog.c
	* app/gui/resolution-calibrate-dialog.c
	* app/gui/stroke-dialog.c
	* app/gui/templates-commands.c
	* app/gui/user-install-dialog.c
	* app/gui/vectors-commands.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptooldialog.[ch]
	* app/widgets/gimpviewabledialog.[ch]
	* app/widgets/gimpwidgets-utils.c: changed accordingly and increased
	the dialogs' outer borders to 6 pixels all over the place.

	* plug-ins/*/*.c: changed accordingly. The plug-ins may be
	arbitrarily broken, I tested none of them.
2003-11-06 15:27:05 +00:00
Sven Neumann 38a22735d7 app/core/gimpbrush.c added support for loading cinepaint brushes (GIMP
2003-11-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush.c
	* plug-ins/common/gbr.c: added support for loading cinepaint
	brushes (GIMP brush version 3).
2003-11-05 23:55:44 +00:00
Sven Neumann 120b7c70fa added support for loading cinepaint brushes (GIMP brush version 3).
2003-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gbr.c: added support for loading cinepaint
	brushes (GIMP brush version 3).
2003-11-05 22:39:36 +00:00
Sven Neumann dcda4d8fb3 rewrote clipping code using gdk_rectangle_intersect().
2003-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: rewrote clipping code using
	gdk_rectangle_intersect().
2003-11-05 18:06:25 +00:00
Sven Neumann 1c35fcf208 handle gamma settings in PNG files using the "gamma" parasite (see bug
2003-11-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: handle gamma settings in PNG files using
	the "gamma" parasite (see bug #120031).
2003-11-02 16:52:26 +00:00
Manish Singh d4a79e90b4 don't try to define inline, glib does it for us.
2003-11-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/print/print_gimp.h: don't try to define inline, glib
        does it for us.

        * app/widgets/gimpgrideditor.c
        * app/widgets/gimpstrokeeditor.c: remove unnecessary GTK_WIDGET casts.
2003-11-01 20:21:26 +00:00
Manish Singh 3b6318bff1 Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x. Add
2003-11-01  Manish Singh  <yosh@gimp.org>

        * configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
        Add -DGDK_MULTIHEAD_SAFE.

        * app/config/test-config.c: use guints for strlen()

        * app/gui/gui.c
        * app/gui/info-window.c
        * app/gui/menus.c
        * app/widgets/gimpcontainerview.c
        * app/widgets/gimpcursor.c
        * app/widgets/gimpdevices.c
        * app/widgets/gimpdevicestatus.c
        * app/widgets/gimpimagedock.c
        * app/widgets/gimpitemfactory.c
        * app/widgets/gimpnavigationpreview.c
        * app/widgets/gimptoolbox.c
        * app/widgets/gimptooloptionseditor.c
        * app/widgets/gimpwidgets-utils.c
        * libgimp/gimpbrushmenu.c
        * libgimp/gimppatternmenu.c
        * libgimp/gimpui.c
        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/FractalExplorer/FractalExplorer.c
        * plug-ins/common/screenshot.c
        * plug-ins/gimpressionist/gimpressionist.c: more GDK_MULTIHEAD_SAFE
        fixes.

        * plug-ins/common/wmf.c: #undef GDK_MULTIHEAD_SAFE.. this plug-in
        is going away anyway.

        * app/widgets/gimpcursor.h: add #warning about needing a proper
        multihead safe API.

        * app/gui/vectors-commands.c: s/clipoard/clipboard/
2003-11-01 20:06:01 +00:00
Sven Neumann 5d43e5ba3d made multi-head safe. The whole tree compiles with GDK_MULTIHEAD_SAFE now.
2003-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: made multi-head safe. The whole tree
	compiles with GDK_MULTIHEAD_SAFE now.
2003-10-31 19:24:36 +00:00
Sven Neumann c590c6aa15 app/display/gimpdisplayshell-callbacks.c
2003-10-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimphistogramview.c
	* app/widgets/gimpnavigationpreview.c
	* libgimpwidgets/gimpcolorselect.c
	* libgimpwidgets/gimpoffsetarea.c
	* libgimpwidgets/gimppickbutton.c: use multihead safe variants of
	the unsafe functions gdk_pointer_ungrab(), gdk_keyboard_ungrab()
	and gdk_device_get_core_pointer().

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: made libgck multi-head safe.

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: changed accordingly.

	* plug-ins/common/animationplay.c
	* plug-ins/common/curve_bend.c
	* plug-ins/gfig/gfig.c
	* plug-ins/imagemap/imap_preview.c: use multihead safe GDK API.
2003-10-29 20:57:21 +00:00
David Odin ad37e4a6bc added a real dependency for gimpressionist.c on logo-pixbuf.h. 2003-10-25 16:47:03 +00:00
Sven Neumann e00f5abda8 fixed(?) dependencies.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/Makefile.am: fixed(?) dependencies.
2003-10-24 22:38:43 +00:00
Sven Neumann 4edb27850c disable the progress bar when loading a preview for the JPEG dialog.
2003-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: disable the progress bar when loading a
	preview for the JPEG dialog.
2003-10-24 22:24:33 +00:00
Sven Neumann 126110cfda removed again. The XPM format is deprecated.
2003-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/logo.xpm: removed again. The XPM format
	is deprecated.

	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/gimpressionist/logo.png: added the logo as PNG file and
	added Makfile rules to create an inline pixbuf as logo-pixbuf.h.

	* plug-ins/gimpressionist/gimpressionist.c: changed accordingly.
2003-10-24 21:50:25 +00:00
Maurits Rijk 4663fc88e4 Replaced gtk_tooltips_set_tip by gimp_help_set_help_data. Removed use of yet another deprecated widget. 2003-10-24 20:57:29 +00:00
Maurits Rijk fadfcf5f11 Replaced underscores in filenames by hyphens. 2003-10-24 13:28:46 +00:00
Sven Neumann 393856aa3d made debugging output conditional and fixed some user-visible strings.
2003-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sample_colorize.c: made debugging output
	conditional and fixed some user-visible strings.
2003-10-23 18:19:53 +00:00
Dave Neary 9db407dfa5 Bumped version number to 2.0. Closes bug #125237.
2003-10-22  Dave Neary  <bolsh@gimp.org>

	* plug-ins/gfig/gfig.c: Bumped version number to 2.0. Closes
	bug #125237.
2003-10-22 20:41:38 +00:00
Sven Neumann 7e23d307a4 don't include the plug-in name in error messages; GIMP takes care of that
2003-10-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/align_layers.c: don't include the plug-in name
	in error messages; GIMP takes care of that for us.
2003-10-20 23:32:20 +00:00
Maurits Rijk 6461262d65 More code clean-up for the gfig plug-in. 2003-10-19 21:03:21 +00:00
Maurits Rijk 416d2e2fdc Fix for #124158. (always show both the Paint
and Select Tab). Also first attempt to split this hug file into
smaller pieces to make this plug-in a bit more manageable.
2003-10-19 09:44:46 +00:00
Dave Neary 8c26afbb1f a
2003-10-18  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/despeckle.c
        * plug-ins/common/gqbist.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c
        * plug-ins/script-fu/scripts/burn-in-anim.scm
        * plug-ins/script-fu/scripts/spyrogimp.scm: Made several strings
        translateable, and removed version numbers from window titles and
        plug-in names, following suggestions from Raymond Ostertag.
        This closes bug #124600.
2003-10-18 20:33:31 +00:00
Sven Neumann 9f25946446 reverted most of Maurits changes (not the bug-fix though). The tentative
2003-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: reverted most of Maurits changes (not the
	bug-fix though). The tentative feature freeze we are in also
	implies a string freeze.  It's too late for such massive string
	changes.
2003-10-17 12:17:42 +00:00
Maurits Rijk 072f57ee6a commented out code for Lock Grid (which wasn't implemented). Fixes
* plug-ins/gfig/gfig.c: commented out code for Lock Grid (which wasn't
  implemented). Fixes #124157.
2003-10-17 11:46:15 +00:00
Sven Neumann 2215341d98 check the return value of XpmReadFileToXpmImage(). Fixes bug #124766.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c (load_image): check the return value of
	XpmReadFileToXpmImage(). Fixes bug #124766.
2003-10-16 13:14:57 +00:00
Sven Neumann 6f1589005a replaced lots of old school constants with their new names.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* plug/ins/script-fu/scripts/*.scm: replaced lots of old school
	constants with their new names.
2003-10-16 12:47:33 +00:00
Sven Neumann 16417771ba mark string as translatable (bug #124600).
2003-10-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: mark string as translatable
	(bug #124600).
2003-10-15 00:43:51 +00:00
Sven Neumann b687abd515 clamp x and y sizes to sane values. Fixes bug #124389.
2003-10-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/snoise.c: clamp x and y sizes to sane values.
	Fixes bug #124389.
2003-10-13 11:25:05 +00:00
Sven Neumann be516d3908 Fixed the script (bug #124441).
2003-10-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/comic-logo.scm
	(script-fu-comic-logo-alpha): Fixed the script (bug #124441).
2003-10-13 11:11:11 +00:00
Seth Burgess b057bf66d5 fix for bug #72053 2003-10-12 19:55:43 +00:00
Pedro Gimeno b6a2c0767c Set the default aspect ratio of the toolbox wrap box to 5:6.
2003-10-10  Pedro Gimeno  <pggimeno@wanadoo.es>

	* app/widgets/gimptoolbox.c (gimp_toolbox_init): Set the default
	aspect ratio of the toolbox wrap box to 5:6.
	(gimp_toolbox_set_geometry): Don't enforce min_height in the
	toolbox window. Fixes bug #116937 and works around bug #113228.

	* plug-ins/common/png.c (save_image): Round the values passed to
	png_set_pHYs so that they don't decrease on every save.
2003-10-12 18:26:47 +00:00
Sven Neumann 0b2b9e196c allow to use mnemonics in SF-TOGGLE.
2003-10-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
	allow to use mnemonics in SF-TOGGLE.

	* plug-ins/script-fu/scripts/font-map.scm: allow to choose the color
	scheme to use for the font map; added mnemonics.
2003-10-12 14:43:49 +00:00
Sven Neumann c87b6cb423 repaired this script (bug #124207).
2003-10-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm: repaired this script
	(bug #124207).
2003-10-10 14:46:04 +00:00
Sven Neumann ac83f97ee8 fixed a typo in the patch for bug #123201 that accidentally already
2003-10-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c (load_image): fixed a typo in the patch
	for bug #123201 that accidentally already commited earlier.
2003-10-10 14:26:34 +00:00
Tor Lillqvist 0cda2cd33f New file, shell script used to build zipfiles for distribution of Windows
2003-10-09  Tor Lillqvist  <tml@iki.fi>

	* gimp-zip.in: New file, shell script used to build zipfiles for
	distribution of Windows runtime and developer packages.

	* Makefile.am
	* configure.in: Add it, expand it.

	* libgimp*/Makefile.am: On Windows, install and uninstall the .def
	files.

	* app/config/gimpguiconfig.c: On Windows, don't use the internal
	help browser by default, as it isn't there. Don't use a fixed
	guess for Internet Explorer's path on Windows. We don't even need
	to know the path to the web browser, we can use ShellExecute() in
	the webbrowser plug-in.

	* plug-ins/common/webbrowser.c: Use ShellExecute() on Windows.

	* po*/makefile.cygwin: Remove, unmaintained.
2003-10-09 21:33:27 +00:00
Manish Singh 6ac39445b9 fix SF_ADJUSTMENT handling when crafting the string to call, since it now
2003-10-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/script-fu-scripts.c: fix SF_ADJUSTMENT handling
        when crafting the string to call, since it now gets a GIMP_PDB_FLOAT.
        (This bug has been there since 1.3.4...)
2003-10-09 03:53:54 +00:00
Manish Singh 2c795c3da8 fix handling and docs of offs, phys, and time parameters.
2003-10-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: fix handling and docs of offs, phys, and time
        parameters.
2003-10-08 18:18:10 +00:00
Sven Neumann 7ff0b3b80d bumped version number to 1.3.22.
2003-10-07  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.22.

	Moved images used from scripts as suggested by Carol:

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/*.jpg: removed images from scripts
	directory...

	* configure.in
	* plug-ins/script-fu/scripts/images/Makefile.am
	* plug-ins/script-fu/scripts/images/*.jpg: ... and added them here.

	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm: changed accordingly.
2003-10-06 22:08:01 +00:00
Manish Singh f64ad067d7 app/gui/image-menu.c app/gui/layers-menu.c "Imagesize" isn't a real word.
2003-10-06  Manish Singh  <yosh@gimp.org>

        * app/gui/image-menu.c
        * app/gui/layers-menu.c
        * etc/ps-menurc: "Imagesize" isn't a real word. Fix to "Image Size".

        * app/paint/gimppaintcore.c: add declaration for rotate_pointers which
        was inadvertently took out.

        * tools/pdbgen/pdb/layer.pdb: add gimp_layer_resize_to_image_size.
        Fix failure reporting logic for gimp_layer_delete.

        * app/pdb/internal_procs.c
        * app/pdb/layer_cmds.c
        * libgimp/gimplayer_pdb.[ch]: regenerated.

        * plug-ins/common/tiff.c: always compare used unsigned chars for 7bit
        ASCII check.
2003-10-06 21:22:09 +00:00
Sven Neumann 9cbbaed85c applied a patch from Morten Eriksen that fixes loading of monochrome
2003-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c (load_image): applied a patch from Morten
	Eriksen that fixes loading of monochrome images.
2003-10-05 12:13:51 +00:00
Sven Neumann edc370646a unset the image filename.
2003-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/carved-logo.scm: unset the image
	filename.
2003-10-02 11:59:54 +00:00
Sven Neumann 7aa4179956 configure.in plug-ins/Makefile.am removed mosaic plug-in here...
2003-10-02  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/mosaic/*: removed mosaic plug-in here...

	* plug-ins/common/Makefile.am
	* plug-ins/common/mosaic.c
	* plug-ins/common/plugin-defs.pl: ...and added it in plug-ins/common.
2003-10-01 23:27:49 +00:00
Sven Neumann f8ef900a15 plug-ins/common/plugindetails.c plug-ins/common/unsharp.c
2003-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugindetails.c
	* plug-ins/common/unsharp.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/swirly-pattern.scm: tweaked menu items.
2003-10-01 22:52:27 +00:00
Maurits Rijk 3a86448563 splitting the dialogs and the events didn't make sense. Code merged with
2003-10-01  Maurits Rijk  <lpeek.mrijk@consunet.nl>

	* plug-ins/FractalExplorer/Events.[ch]: splitting the dialogs and the
	events didn't make sense. Code merged with Dialogs.[ch] and files
	removed.

	* plug-ins/FractalExplorer/Dialogs.[ch]
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: major code clean-up.
	Still lots of work to do (remove several deprecated widgets, etc.)
2003-10-01 21:47:49 +00:00
Sven Neumann 038a20e089 app/gui/brushes-menu.c app/gui/channels-menu.c
2003-10-01  Sven Neumann  <sven@gimp.org>

	* app/gui/brushes-menu.c
	* app/gui/channels-menu.c
	* app/gui/colormap-editor-menu.c
	* app/gui/dialogs-menu.c
	* app/gui/documents-menu.c
	* app/gui/image-menu.c
	* app/gui/palettes-menu.c
	* app/gui/templates-menu.c
	* app/gui/toolbox-menu.c
	* app/gui/vectors-menu.c
	* plug-ins/common/uniteditor.c
	* plug-ins/dbbrowser/dbbrowser.c: followed the HIG advisory on
	labelling menus with a trailing ellipsis and removed some.
2003-10-01 20:46:48 +00:00
Sven Neumann 7675b4ba33 added missing code snippets to make it compile on PPC.
2003-10-01  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-altivec.c: added missing code
	snippets to make it compile on PPC.

	* plug-ins/common/destripe.c: avoid division by zero (bug #123592).
	Also made the plug-in remember the state of the history toggle and
	other cleanup. The filter result still looks wrong though...
2003-10-01 11:10:56 +00:00
Sven Neumann 2f855afa6a added an API to allow for sub-pixel sizes in spinbuttons connected to a
2003-10-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpunitmenu.[ch]:
	* libgimpwidgets/gimpwidgets.c: added an API to allow for
	sub-pixel sizes in spinbuttons connected to a GimpUnitMenu.
	Make GimpUnitMenu emit "unit-changed" when the unit is changed
	programmatically.

	* libgimpwidgets/gimpsizeentry.[ch}: added a similar API here.
	Make GimpSizeEntry emit "unit-changed" when the unit is changed
	programmatically. The other signals will need similar changes.

	* plug-ins/common/gauss_rle.c
	* plug-ins/common/gauss_iir.c
	* app/widgets/gimpstrokeeditor.c: use the new API.
2003-09-30 23:19:48 +00:00
Simon Budig 7cc6ed6dd5 Fabian Franz <debian@fabian-franz.de>
2003-09-28  Simon Budig  <simon@gimp.org>
            Fabian Franz  <debian@fabian-franz.de>

	Ok, this time for real...   :-)

	* plug-ins/common/animoptimize.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/tile.c: Fixed Undo issues. Plugins creating
	new images should create an empty undo history. Sprinkeling
	gimp_image_enable_undo() at the end of the plugins operations
	does the trick. It makes sense to do this *before* you add
	a display to the image, otherwise the UI gets out of sync.
2003-09-28 05:35:33 +00:00
David Odin 5141181e73 small gui fixes in the select printer dialog. 2003-09-25 18:05:53 +00:00
Sven Neumann b2ad956b0f optionally scale the imported SVG to fit the image.
2003-09-25  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-import.[ch]: optionally scale the
	imported SVG to fit the image.

	* app/gui/vectors-commands.c: changed accordingly.

	* tools/pdbgen/pdb/paths.pdb: export the new scale parameter to
	the PDB.

	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.[ch]: regenerated.

	* plug-ins/common/svg.c: scale the imported vectors to image size.
	This makes them always fit :)
2003-09-25 00:39:46 +00:00
Maurits Rijk dc441cc925 Fix for #72874 (Incorrect RGBA resampling in Illusion plug-in) 2003-09-24 22:01:53 +00:00
Maurits Rijk 88e21ce291 Code clean-up, indentation, fixes for #72874 (Incorrect RGBA resample in Illusion plug-in) and #122379 (relocate sinus plug-in). 2003-09-24 20:17:43 +00:00
Dave Neary d67f3d705e Set default value for toggle, and only have it span one table cell.
2003-09-24  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Set default value for toggle, and
        only have it span one table cell.
2003-09-24 17:07:54 +00:00
Sven Neumann 008769d5ac app/gui/resize-dialog.c app/widgets/gimptemplateeditor.c use horizontal
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/gui/resize-dialog.c
	* app/widgets/gimptemplateeditor.c
	* plug-ins/common/svg.c: use horizontal boxes instead of alignments.
	Fixes dialog layout for RTL rendering.

	* plug-ins/common/png.c (save_dialog): only set the comment toggle
	active if there's a comment to save.
2003-09-23 21:51:08 +00:00
Dave Neary 5e1b112725 Fixed minor mistake in last commit.
2003-09-23  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Fixed minor mistake in last commit.
2003-09-23 20:57:30 +00:00
Dave Neary b3140f4d57 Allow discarding of exif data if HAVE_EXIF is enabled, and the user
2003-09-23  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/jpeg.c: Allow discarding of exif data if
	HAVE_EXIF is enabled, and the user doesn't want to keep it.
	Closes bug #118384.
2003-09-23 20:51:05 +00:00
Sven Neumann 3f70732ef0 show the pixel size specified by the SVG file and inform the user if it
2003-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: show the pixel size specified by the SVG
	file and inform the user if it failed to provide one.
2003-09-23 10:23:33 +00:00
Sven Neumann f56486c598 removed redundant calculations.
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/gui/resize-dialog.c (ratio_callback): removed redundant
	calculations.

	* plug-ins/common/svg.c: use a default size to handle the case
	when librsvg cannot determine the SVG size.
2003-09-23 00:45:18 +00:00
Sven Neumann 57949a8981 added ratio entries and a chain button so you can scale the SVG file while
2003-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added ratio entries and a chain button so
	you can scale the SVG file while keeping the aspect ratio intact.
	Query the SVG pixel size on resolution changes.
2003-09-22 23:46:16 +00:00
Henrik Brix Andersen 6a27a3f5f9 removed the old netscape-dependent web browser plug-in
2003-09-22  Henrik Brix Andersen <brix@gimp.org>

* plug-ins/webbrowser/.cvsignore: removed the old netscape-dependent
web browser plug-in
2003-09-22 20:15:40 +00:00
Henrik Brix Andersen 9b3bc08eb6 Replaced the netscape-dependent web browser plug-in with a user
2003-09-22 Henrik Brix Andersen <brix@gimp.org>

Replaced the netscape-dependent web browser plug-in with a user
configureable plug-in. This fixes bug #119120:

* app/config/gimpguiconfig.[ch]: added gchar *web_browser member

* app/config/gimprc-blurbs.h: added web browser blurb

* etc/gimprc
* docs/gimprc-1.3.5.in: regenerated using gimpconfig-dump

* app/gui/preferences-dialog.c (prefs_dialog_new): added UI for
specifying external web browser

* configure.in
* plug-ins/Makefile.am
* plug-ins/webbrowser/Makefile.am
* plug-ins/webbrowser/README
* plug-ins/webbrowser/web-browser.scm
* plug-ins/webbrowser/webbrowser.c : removed the old netscape-dependent
web browser plug-in

* po-plug-ins/POTFILES.in
* plug-ins/common/plugin-defs.pl
* plug-ins/common/webbrowser.c: added a new web browser plug-in

* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am: regenerated

* app/widgets/gimphelp.c
* app/widgets/widget-enums.[ch]
* plug-ins/helpbrowser/dialog.c
* plug-ins/maze/maze_face.c: changed accordingly + whitespace
clean-up

* po-script-fu/POTFILES.in
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/web-browser.scm: use the new web
browser plug-in to add menu entries to <Toolbox>/Help/
2003-09-22 20:04:39 +00:00
Sven Neumann 7440dfd8fc added a hack to work around the insufficiency of the librsvg API. Still
2003-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added a hack to work around the
	insufficiency of the librsvg API. Still unfinished ...
2003-09-22 13:00:17 +00:00
Sven Neumann 47bd472e77 added a preliminary PDB API for vectors import. Will change when the new
2003-09-21  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/paths.pdb: added a preliminary PDB API for
	vectors import. Will change when the new vectors PDB API gets
	added.

	* app/pdb/internal_procs.c
	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.[ch]: regenerated.

	* plug-ins/common/svg.c: allow to import paths when rendering a
	SVG file.
2003-09-21 17:29:12 +00:00
Sven Neumann 75cf42f85c added a resolution entry and implemented PDB parameter parsing.
2003-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added a resolution entry and implemented
	PDB parameter parsing.
2003-09-21 15:24:36 +00:00
Sven Neumann a6b9aad7d4 added framework for size negotiation. Not really useful yet but compiles
2003-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: added framework for size negotiation. Not
	really useful yet but compiles and sortof works even.
2003-09-20 00:49:39 +00:00
Sven Neumann 2ff5fc7b72 do not rely on librsvg setting GError on failure, it doesn't :(
2003-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (load_image): do not rely on librsvg
	setting GError on failure, it doesn't :(
2003-09-19 16:13:33 +00:00
Sven Neumann 5daa59df15 rewritten pixel transfer from pixbuf to drawable; doesn't need a tile
2003-09-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): rewritten pixel
	transfer from pixbuf to drawable; doesn't need a tile cache any
	longer.

	* plug-ins/common/svg.c: same change here together with a bunch of
	other changes in preparation for viewport negotiation.
2003-09-18 13:47:23 +00:00
Sven Neumann 81fba62c35 added a check for librsvg-2.0.
2003-09-18  Sven Neumann  <sven@gimp.org>

	* configure.in: added a check for librsvg-2.0.

	* plug-ins/common/mkgen.pl
	* plug-ins/common/svg.c: added SVG import plug-in. This plug-in
	was written by Dom Lachowicz and used to live in the librsvg source
	tree (bug #103039).

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl: regenerated.
2003-09-18 01:42:04 +00:00
Sven Neumann f2da45b6da some code cleanup.
2003-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sparkle.c: some code cleanup.
2003-09-17 12:53:52 +00:00
Seth Burgess d9996103cc Fixes bug 50911. Details there.
files: plug-ins/common/sparkle.c
2003-09-17 05:21:08 +00:00
Maurits Rijk 318e76b790 Extracted a few reusable routines from several plug-ins and introduced them. The imagemap plug-in now uses the stock Gimp grid icon. 2003-09-13 18:07:44 +00:00
Sven Neumann 7e795349c1 plug-ins/common/compose.c merged in enhancements done by Alexey Dyachenko:
2003-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c: merged in enhancements done by
	Alexey Dyachenko: support for LAB colorspace and an option to
	decompose into layers instead of multiple images.
2003-09-11 15:39:07 +00:00
Sven Neumann 5f3bbc768d removed lots of redundant casts.
2003-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: removed lots of redundant casts.
2003-09-09 14:32:39 +00:00
Sven Neumann 4189010d9e need to detach from the drawable or the tile cache won't be flushed (bug
2003-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): need to detach from
	the drawable or the tile cache won't be flushed (bug #121788).
2003-09-09 14:32:39 +00:00
Sven Neumann 56438a7b9b app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.c
2003-09-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell.c
	* app/display/gimpnavigationview.c
	* app/gui/resolution-calibrate-dialog.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimppreview-popup.c
	* app/widgets/gimpwidgets-utils.c: get the size from the current
	screen, not always from the default one.

	* plug-ins/common/wmf.c: ask GIMP for the monitor resolution instead
	of taking the value from GDK.
2003-09-09 11:35:27 +00:00
Adam D. Moss 966eaf93aa Disable the (pdb interfaces to the) semi-broken background/foreground
* plug-ins/common/animoptimize.c: Disable the (pdb interfaces
        to the) semi-broken background/foreground stuff unless
        EXPERIMENTAL_BACKDROP_CODE is defined.
2003-09-08 13:51:09 +00:00
Sven Neumann 9981bdc874 app/core/gimpdrawable-preview.c got rid of compiler warnings.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-preview.c
	* plug-ins/fp/fp_gtk.c: got rid of compiler warnings.
2003-09-07 21:07:29 +00:00
Sven Neumann a4e56d98c3 set the tile cache size to speed up pixel transfers.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/aa.c: set the tile cache size to speed up pixel
	transfers.
2003-09-07 15:08:42 +00:00
Sven Neumann 55d9497d12 boost performance by setting a reasonable tile cache size.
2003-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): boost performance
	by setting a reasonable tile cache size.
2003-09-07 13:47:41 +00:00
Sven Neumann f77975a970 removed a superfluous g_strdup(); made GimpQueryStringCallback take a
2003-09-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpquerybox.[ch] (string_query_box_ok_callback):
	removed a superfluous g_strdup(); made GimpQueryStringCallback take
	a const gchar* pointer.

	* plug-ins/gflare/gflare.c: changed accordingly.
2003-09-05 01:54:15 +00:00
Sven Neumann 7dc961ad50 don't fiddle with the spin-buttons, the defaults are fine. Removed
2003-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
	don't fiddle with the spin-buttons, the defaults are fine.
	Removed trailing whitespace.
2003-09-04 23:12:32 +00:00
Sven Neumann 5ada4dfab8 Render the specified text by default, added optional font labels.
2003-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
	Render the specified text by default, added optional font labels.
2003-09-04 21:28:48 +00:00
Sven Neumann 501f84b11f Keep text layers instead of merging them down. Allow to specify a text to
2003-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm (script-fu-font-map):
	Keep text layers instead of merging them down. Allow to specify a
	text to render in place of the font names.
2003-09-04 19:44:26 +00:00
Sven Neumann 85adefe7ba app/core/Makefile.am app/core/core-types.h added filter functionality for
2003-09-04  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpcontainer-filter.[ch]: added filter functionality
	for GimpContainers.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/fonts.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
	PDB function somewhat useful by adding a filter parameter that
	allows to specify a regular expression to be used on the list.

	* app/pdb/Makefile.am: had to uglify the ugly hack even more :(

	* app/pdb/brushes_cmds.c
	* app/pdb/fonts_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpfonts_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalettes_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* plug-ins/gflare/gflare.c
	* plug-ins/pygimp/gimpmodule.c: changed accordingly.

	* plug-ins/script-fu/scripts/font-map.scm: replaced the font list
	parameter with a more useful regexp filter on the available fonts.
2003-09-04 17:04:36 +00:00
Sven Neumann c52a96e06c ported from gimp-text to gimp-text-fontname API.
2003-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm: ported from gimp-text
	to gimp-text-fontname API.
2003-09-04 13:00:18 +00:00
Pedro Gimeno 48b06a23ee use Alpha channel and selection channel info when available to build the
2003-09-03  Pedro Gimeno  <pggimeno@wanadoo.es>

	* ccanalyze.c (analyze): use Alpha channel and selection
	channel info when available to build the histogram and to
	include/exclude colors in the color count. Fixes bug #121097
	and handling of INDEXEDA images which was broken.
	(histogram, insertcolor, fillPreview): updated to use
	gdoubles where appropriate.
2003-09-03 19:22:49 +00:00
Pedro Gimeno 41edbeb907 Changed from CR/LF style to LF style in preparation for the next batch of
2003-09-03  Pedro Gimeno  <pggimeno@wanadoo.es>

	* ccanalyze.c: Changed from CR/LF style to LF style in preparation
	for the next batch of changes.
2003-09-03 17:52:26 +00:00
Sven Neumann 4a3740e8ed devel-docs/gbr.txt applied a patch from Guillermo S. Romero that fixes
2003-09-03  Sven Neumann  <sven@gimp.org>

	* devel-docs/gbr.txt
	* plug-ins/common/gbr.c: applied a patch from Guillermo S. Romero
	that fixes loading of v1 brushes and documents the difference
	to version 2 of the brush file format (bug #121304).
2003-09-03 16:59:22 +00:00
Sven Neumann 286e561755 another minor cleanup, not worth being mentioned 2003-09-03 12:48:51 +00:00
Sven Neumann cce9227177 don't include the plug-in name in messages; GIMP takes care of this for
2003-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: don't include the plug-in name in
	messages; GIMP takes care of this for us.
2003-09-03 12:44:10 +00:00
Sven Neumann 443a5f3fd2 made pullout a percentage instead of a maximal value. (gimp_rgb_to_cmyk):
2003-09-03  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.[ch] (gimp_rgb_to_cmyk_int): made
	pullout a percentage instead of a maximal value.
	(gimp_rgb_to_cmyk): added a pullout parameter here as well.

	* app/gui/info-window.c
	* plug-ins/common/newsprint.c: changed accordingly.

	* modules/colorsel_cmyk.c: allow to specify the amount of black
	pulled out when converting to CMYK.
2003-09-02 22:52:25 +00:00
Sven Neumann 84fd11ad0a allow to specify the amount of black pullout. Documented the function.
2003-09-02  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.c (gimp_rgb_to_cmyk_int): allow to
	specify the amount of black pullout. Documented the function.

	* plug-ins/common/newsprint.c: use the RGB to CMYK routine from
	libgimpcolor.
2003-09-02 18:35:35 +00:00
Michael Natterer c0bfbe014d fixed help domain parsing. Reported by Roman Joost on #gimp.
2003-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/domain.c: fixed help domain parsing.
	Reported by Roman Joost on #gimp.
2003-09-01 21:50:54 +00:00
Michael Natterer 2004c05d15 fixed check for the number of arguments (don't always fail). Fixes bug
2003-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/edge.c (run): fixed check for the number of
	arguments (don't always fail). Fixes bug #121176.
2003-09-01 14:40:23 +00:00
Tor Lillqvist cd31cdd7eb Update.
2003-09-01  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Update.

	* app/composite/gimp-composite-mmx.c: For some reason the gcc&gas
	combination used on Win32 wants identifiers prefixed with
	underscores in the asm sequences.

	* plug-ins/common/ps.c (ps_open): [Win32] Don't write the gs
	executable name into the indirect command line file. Do write the
	quoted form of the filename to it.
	(my_shell_quote): New funcion. Use instead of g_shell_quote() on
	Windows, as g_shell_quote() always uses single quotes, which don't
	mean anything to the Windows shell (or C runtime startup
	code). (This might be argued to be a bug in GLib, maybe
	g_shell_quote should behave differently accoring to platform.)

	* etc/gimprc.win32: Remove, generate with gimpconfig-dump.

	* */makefile.mingw.in: Remove, unmaintained.
2003-09-01 00:13:08 +00:00
Sven Neumann dad6fedb10 make it behave more like the gzip plug-in and attempt to load and save
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bz2.c: make it behave more like the gzip plug-in
	and attempt to load and save files even if there's no sensible
	extension.

	* plug-ins/common/gz.c: minor string change for consistency.
2003-08-31 20:43:03 +00:00
Sven Neumann b5c177e5b6 applied an old patch from Carl Adams that was updated for 1.3 by Tino
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: applied an old patch from Carl Adams that
	was updated for 1.3 by Tino Schwarze. The patch fixes the isometric
	grid so that its mathematical properties can be exploited.
2003-08-31 19:21:41 +00:00
Sven Neumann 224da181e3 applied a patch from Raphael Quinet that adds '-n' to the gzip
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gz.c: applied a patch from Raphael Quinet that
	adds '-n' to the gzip command-line (bug #72791). Did some minor
	code cleanup and fixed a problem introduced by the latest change
	that caused a crash when loading remote gzipped files.
2003-08-31 19:10:32 +00:00
Manish Singh 4f305ef565 g_io_channel_read_chars takes a gsize.
2003-08-31  Manish Singh  <yosh@gimp.org>

        * plug-ins/helpbrowser/dialog.c (io_handler): g_io_channel_read_chars
        takes a gsize.
2003-08-31 18:43:48 +00:00
Sven Neumann 16235e4ee8 Use GDK_WINDOWING_WIN32 in the #endif comment as well. 2003-08-31 17:39:15 +00:00
Sven Neumann d78eb4c6aa applied a modified version of a patch from Andy Wallis that is supposed to
2003-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c: applied a modified version of a patch
	from Andy Wallis that is supposed to fix bug #68538.
2003-08-31 17:37:36 +00:00
Manish Singh 8caca0bf68 added a prominent comment for translators to make sure they have all 4 po
2003-08-31  Manish Singh  <yosh@gimp.org>

        * configure.in: added a prominent comment for translators to make
        sure they have all 4 po files before adding to ALL_LINGUAS.

        * app/gui/plug-in-menus.c: remove redudant #include of gimpenv.h

        * tools/pdbgen/pdb/plug_in.pdb: gimp_strip_uline menu_path before
        passing it up.

        * app/pdb/plug_in_cmds.c: regenerated.

        * plug-ins/common/mng.c
        * plug-ins/common/psd_save.c
        * plug-ins/common/psp.c: use G_N_ELEMENTS

        * plug-ins/common/screenshot.c: use GDK_WINDOWING_* for #includes
        too. GDK cursor enums are ok to pass to XCreateFontCursor.

        * plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups, also use
        gtk_cell_renderer_text_set_fixed_height_from_font as an optimization.

        * plug-ins/libgck/gck/gckcolor.c: #undef GDK_DISABLE_DEPRECATED and
        add warning.

        * plug-ins/pygimp/gimpfu.py: remove some redundant import gtk's
2003-08-31 17:23:01 +00:00
Pedro Gimeno f372af09f0 Fix bug preventing the plug-in from working properly with rectangular
2003-08-31  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/ccanalyze.c (analyze): Fix bug preventing the
	plug-in from working properly with rectangular selections. It
	still doesn't work properly with arbitrarily-shaped selections.
2003-08-31 09:49:30 +00:00
Michael Natterer bd5bbf7a37 Removed libgck from the public libgimp API:
2003-08-31  Michael Natterer  <mitch@gimp.org>

	Removed libgck from the public libgimp API:

	* plug-ins/libgck/gck/Makefile.am: don't build and install a
	shared library and any header files. Instead, build a
	noinst_LIBRARY.

	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am: link against the uninstalled
	libgck.a convenience lib.
2003-08-30 22:37:31 +00:00
Manish Singh 56ff6be308 cleanups. sizeof() isn't valid in preprocessor land. Use GDK_WINDOWING_*
2003-08-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/screenshot.c: cleanups. sizeof() isn't valid
        in preprocessor land. Use GDK_WINDOWING_* instead of G_OS_WIN32.
        XFreeCursor when we're done with it.
2003-08-28 23:38:32 +00:00
Manish Singh f9c41aa864 app/core/gimpbrush.c app/core/gimpbrushgenerated.c
2003-08-28  Manish Singh  <yosh@gimp.org>

        * app/core/gimpbrush.c
        * app/core/gimpbrushgenerated.c
        * app/core/gimpbrushpipe.c
        * app/core/gimpbuffer.c
        * app/core/gimpimage-snap.c
        * app/core/gimppattern.c
        * app/core/gimpundostack.c
        * app/display/gimpdisplayshell.c
        * app/gui/grid-dialog.c
        * plug-ins/common/CML_explorer.c: cleanup, remove unnecessary casts.
2003-08-28 23:33:15 +00:00
Henrik Brix Andersen f33c7af756 rewrote a large part of the screenshot plug-in. The plug-in now no longer
2003-08-28 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/screenshot.c: rewrote a large part of the
screenshot plug-in. The plug-in now no longer depends on the xwd
utility, but uses Xlib/GDK functionality to obtain the screen shot.

The window to shoot is now selected prior to the time out. This
fixes bug #103852.

The ability to obtain a screen shot of a window without
decorations has had to go since this can not be done using plain
Xlib/GDK (one would have to depend on libXmu to do this).

The source is prepared for G_OS_WIN32 but the win32 specific code
is yet to be written.

* tools/pdbgen/pdb/plug_in.pdb (gimp_progress_update): improved the
inline documentation

* app/pdb/plug_in_cmds.c
* libgimp/gimpplugin_pdb.c: regenerated
2003-08-28 20:23:09 +00:00
Maurits Rijk e4e1f51cdb Major clean-up of xjt. 2003-08-28 19:46:39 +00:00
Michael Natterer 1f2c75e507 Completed the new help infrastructure. Needs some polishing but basically
2003-08-28  Michael Natterer  <mitch@gimp.org>

	Completed the new help infrastructure. Needs some polishing but
	basically works as proposed:

	* tools/pdbgen/pdb/plug_in.pdb: changed gimp_plugin_help_register()
	to take a "domain_name" (which is the XML namespace) and a
	"domain_uri" (which is the root of the plug-in's help pages).

	* tools/pdbgen/pdb/help.pdb: changed gimp_help() to take help_id
	instead of a non-UTF-8 help_path.

	* app/plug-in/plug-in-def.[ch]
	* app/plug-in/plug-in-proc.[ch]
	* app/plug-in/plug-in-rc.c
	* app/plug-in/plug-ins.[ch]: remember the plug-ins' help_domain
	and help_uri instead of just help_path. Changed all plug-in APIs
	to reflect this change.

	* app/widgets/gimphelp.[ch]: on helpbrowser startup, pass it the
	whole list of help domains. The actual help request is now made
	using the browser's temporary procedure.

	* app/core/gimp.h
	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c
	* app/gui/plug-in-menus.[ch]
	* app/widgets/gimpitemfactory.c: changed accordingly.

	* app/pdb/help_cmds.c
	* app/pdb/plug_in_cmds.c
	* libgimp/gimphelp_pdb.[ch]
	* libgimp/gimpplugin_pdb.[ch]: regenerated.

	Changed the help broser to load the pages according to the
	new system:

	- moved the browser window stuff to dialog.[ch]
	- moved help domain handling to domain.[ch]
	- added gimp-help.xml parsing to domain.c
	- tons of cleanup

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/dialog.[ch]
	* plug-ins/helpbrowser/domain.[ch]: new files.
	* plug-ins/helpbrowser/helpbrowser.c: chopped.
2003-08-28 18:49:11 +00:00
Sven Neumann 76d5d377b8 made the PDB interface backwards compatible by allowing the last parameter
2003-08-27  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/edge.c (run): made the PDB interface backwards
        compatible by allowing the last parameter to be omitted.
2003-08-27 09:37:19 +00:00