Commit graph

4387 commits

Author SHA1 Message Date
Michael Natterer 9bf1f59430 reorganized and cleaned up GUI and code.
2005-09-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: reorganized and cleaned up GUI and code.
2005-09-22 14:27:42 +00:00
Sven Neumann 06d80596ee plug-ins/common/psd.c don't hardcode unit conversion factors.
2005-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c: don't hardcode unit conversion factors.
2005-09-22 08:57:48 +00:00
Jay Cox ea4ac4f94f Load the resolution properly when it is specified in px/cm. Save the
2005-09-21  Jay Cox  <jaycox@gimp.org>

        * plug-ins/common/psd.c: Load the resolution properly when it is
        specified in px/cm.
        * plug-ins/common/psd_save.c: Save the resolution of the image in
        the file.  Fixes bug #310426
2005-09-22 06:57:44 +00:00
Sven Neumann ebf9b572ea update the preview from an idle handler. Removed obsolete "Update Preview"
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: update the preview from an
	idle handler. Removed obsolete "Update Preview" button.
2005-09-21 19:51:03 +00:00
Sven Neumann 5f4739c3a0 more compact dialog layout, renamed "Textures" to "Layers" and make sure
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: more compact dialog layout,
	renamed "Textures" to "Layers" and make sure that one is always
	selected.
2005-09-21 19:06:54 +00:00
Sven Neumann 735429d3c1 initialize variables.
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/cubism.c: initialize variables.

	* plug-ins/common/depthmerge.c: declare all functions as static.
2005-09-20 22:41:56 +00:00
David Odin 0730c66b4c make use of private data instead of struct members. Added a
* libgimp/gimpzoompreview.[ch]: make use of private data instead of struct
  members. Added a gimp_zoom_preview_get_drawable so we can still get the
  drawable from a preview in plug-ins.

  Also changed gimp_zoom_preview_get_data to gimp_zoom_preview_get_source,
  to make it more obvious what it returns.

* libgimp/gimpui.def
* plug-ins/common/AlienMap2.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/colorify.c
* plug-ins/common/flarefx.c
* plug-ins/common/illusion.c
* plug-ins/common/jigsaw.c
* plug-ins/common/mapcolor.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nova.c
* plug-ins/common/polar.c
* plug-ins/common/retinex.c
* plug-ins/common/waves.c
* plug-ins/common/whirlpinch.c: changed accordingly.
2005-09-20 21:52:54 +00:00
Kevin Cozens c5d1298244 Don't mark menu branches for translation; the translatable branch name is
2005-09-20  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/*.sct: Don't mark menu branches for translation; the
	translatable branch name is registered by the Tiny-Fu extension.
	Based on a change made to Script-Fu by Sven Neumann.
2005-09-20 20:08:46 +00:00
Sven Neumann 7a3d956a97 corrected version check (bug #314400).
2005-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: corrected version check (bug #314400).
2005-09-20 16:45:53 +00:00
Sven Neumann c7d7699bf5 fixed capitalization.
2005-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c (query): fixed capitalization.
2005-09-20 14:18:59 +00:00
Michael Natterer 637884e308 applied patch from Sylvain Foret which allows to use fixed greyscale
2005-09-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: applied patch from Sylvain Foret
	which allows to use fixed greyscale values instead of drawables
	for color components. Fixes bug #309112.
2005-09-20 12:33:56 +00:00
David Odin 5b538db8e4 New object to handle zoom factor, and create widgets to control or view
* libgimpwidgets/gimpzoommodel.[ch]: New object to handle zoom
  factor, and create widgets to control or view this value.

* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h: Added gimpzoommodel.[ch].

* libgimpwidgets/gimpwidgetsenums.h: new enum: GimpZoomWidgetType.
  This enumerate which knid of widget you can created from the zoom
  model.

* libgimpwidgets/gimpwidgetsenums.c
* libgimpwidgets/gimpwidgetstypes.h: regenerated.

* libgimpwidgets/gimppreview.c: move the update toggle to the bottom
  of the vbox.

* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpuitypes.h
* libgimp/gimpzoompreview.[ch]: New widget, derivated from
  GimpScrolledPreview, which offer the same functionnalities as the
  GimpAspectPreview widget plus zoom facilities.

* plug-ins/common/AlienMap2.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/colorify.c
* plug-ins/common/flarefx.c
* plug-ins/common/illusion.c
* plug-ins/common/jigsaw.c
* plug-ins/common/mapcolor.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nova.c
* plug-ins/common/polar.c
* plug-ins/common/retinex.c
* plug-ins/common/waves.c
* plug-ins/common/whirlpinch.c: use a GimpZoomPreview instead of a
  GimpAspectPreview.
2005-09-19 22:58:16 +00:00
Sven Neumann 33fe2a19c9 moved toolbar out of main vbox.
2005-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: moved toolbar out of main vbox.
2005-09-19 16:05:52 +00:00
Sven Neumann e9443b5774 autogen.sh configure.in app/main.c app/widgets/gimptoolbox.c changed "The
2005-09-19  Sven Neumann  <sven@gimp.org>

	* autogen.sh
	* configure.in
	* app/main.c
	* app/widgets/gimptoolbox.c
	* plug-ins/script-fu/scripts/web-browser.scm: changed "The GIMP"
	to "GNU Image Manipulation Program" or just "GIMP".
2005-09-19 13:15:31 +00:00
Sven Neumann 3b28167dd2 use GTK_STOCK_FILE for File actions.
2005-09-19  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c: use GTK_STOCK_FILE for File actions.

	* app/actions/dialogs-actions.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/print/gimp_main_window.c: use GTK_STOCK_ABOUT for About
	dialogs.

	* app/actions/actions.c
	* app/actions/brushes-actions.c
	* app/actions/channels-actions.c
	* app/actions/channels-commands.c
	* app/actions/colormap-editor-actions.c
	* app/actions/gradients-actions.c
	* app/actions/layers-actions.c
	* app/actions/layers-commands.c
	* app/actions/palette-editor-actions.c
	* app/actions/palettes-actions.c
	* app/actions/patterns-actions.c
	* app/actions/templates-actions.c
	* app/actions/templates-commands.c
	* app/actions/text-editor-actions.c
	* app/actions/tool-options-actions.c
	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpcontrollereditor.c
	* app/widgets/gimpcontrollerlist.c
	* plug-ins/flame/flame.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/metadata/interface.c: s/GIMP_STOCK_EDIT/GTK_STOCK_EDIT/
2005-09-19 13:07:24 +00:00
Sven Neumann 5b053ca00f replaced buttons with toolbar.
2005-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: replaced buttons with toolbar.
2005-09-19 12:17:39 +00:00
Michael Natterer 099417e2f6 bail out if the action_area is insensitive. Ignores attempts to close the
2005-09-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_response):
	bail out if the action_area is insensitive. Ignores attempts to
	close the window while the script is running. Fixes bug #308662.
2005-09-11 01:29:45 +00:00
Michael Natterer 3291ed358e plug-ins/common/aa.c plug-ins/common/csource.c plug-ins/common/gbr.c
2005-09-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/aa.c
	* plug-ins/common/csource.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/gfli/gfli.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c: actually call
	gimp_window_set_transient() on save dialogs.
	Really fixes bug #62988.
2005-09-09 18:38:00 +00:00
Michael Natterer b10adabb5e Added parent window API to the GimpProgress interface and to the libgimp
2005-09-09  Michael Natterer  <mitch@gimp.org>

	Added parent window API to the GimpProgress interface and to
	the libgimp progress stuff. Might look strange, but does
	the right thing in almost all cases (image window, file dialog,
	script-fu dialog etc). Fixes bug #62988.

	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
	which should return a toplevel window ID if the progress is in a
	window that wants to be the transient parent of plug-in dialogs.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
	function which returns the window handle of a GtkWindow's GdkWindow.

	* app/widgets/gimpfiledialog.c: implement ::get_window().

	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.

	* app/gui/gui-vtable.c: changed accordingly.

	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_GET_WINDOW.

	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
	new function. Also renamed some functions to match the
	GimpProgress interface, and not the legacy PDB procedure names.

	* tools/pdbgen/pdb/progress.pdb
	* app/core/gimppdbprogress.c: implement get_window() on both
	sides of the wire, keeping backward compatibility (hopefully).

	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
	and added gimp_progress_install_vtable() which takes a vtable with
	padding to be extensible. Added get_window() vtable entry and
	dispatch it accordingly. Also added pulse() which was implemented
	in a hackish way before. Everything is of course backward
	compatible.

	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
	so a plug-in dialog containing a progress can be the transient
	parent of another dialog in another plug-in.

	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
	which returns a foreign GdkWindow of this plug-ins progress
	window.

	Renamed gimp_window_set_transient_for_default_display() to
	gimp_window_set_transient() and make it use the progress' window
	handle instead of the display's (which is the right thing to do in
	almost all cases).

	* libgimp/gimp.def
	* libgimp/gimpui.def: add the new functions.

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/progress_cmds.c
	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/*/*.c: follow API change.
2005-09-09 18:07:31 +00:00
Sven Neumann 428771c6b1 use g_ascii_strcasecmp() instead of strcasecmp().
2005-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (printrc_load): use g_ascii_strcasecmp()
	instead of strcasecmp().
2005-09-09 10:21:58 +00:00
Sven Neumann cc6f3e762f Call gimp_window_set_transient_for_default_display() for most plug-in
2005-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins: Call gimp_window_set_transient_for_default_display()
	for most plug-in dialogs. Not yet done are load and save dialogs
	and dialogs created from language bindings.
2005-09-05 21:40:29 +00:00
Sven Neumann ec56ef9d01 Address bug #307971:
2005-09-05  Sven Neumann  <sven@gimp.org>

	Address bug #307971:

	* app/core/gimp-gui.[ch]
	* app/display/gimpdisplay.[ch]
	* app/gui/gui-vtable.c
	* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
	window handle on an image display.

	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdisplay_pdb.[ch]: regenerated.

	* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
	to an image display.

	* plug-ins/common/gauss.c: use the new function exemplarily.

	* libgimp/gimp.def
	* libgimp/gimpui.def: updated.
2005-09-05 20:47:12 +00:00
Sven Neumann 2a1805b3b4 plug-ins/script-fu/scripts/coffee.scm
2005-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/fade-outline.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: string fixes as
	pointed out in bug #315211.
2005-09-04 10:22:58 +00:00
Sven Neumann 1a7beee00c plug-ins/bmp/bmpwrite.c plug-ins/common/aa.c plug-ins/common/csource.c
2005-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/aa.c
	* plug-ins/common/csource.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/mail.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/fits/fits.c
	* plug-ins/gfli/gfli.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c
	* plug-ins/xjt/xjt.c: use verbs instead of "OK" in the
	confirmative dialog button.
2005-09-02 11:09:03 +00:00
Sven Neumann c0de2b7668 plug-ins/jpeg/jpeg-load.c (load_image) removed tile cache again, it
2005-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image)
	* plug-ins/jpeg/jpeg-save.c (save_image): removed tile cache again,
	it doesn't help for the way the plug-in accesses the pixels.
2005-09-02 10:06:38 +00:00
Michael Natterer 3426f7a90b added toggles which allow to always use the frame delay and disposal
2005-08-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gif.c: added toggles which allow to always use
	the frame delay and disposal entered in the dialog, overriding the
	ones specified in the layer names. Fixes bug #314726. Also fixed
	missing and non-working mnemonics.
2005-08-29 18:45:02 +00:00
Sven Neumann ad8929028e retitled dialog to "Import from PDF" and changed the confirmative button
2005-08-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c: retitled dialog to "Import from PDF"
	and changed the confirmative button label to "Import".
2005-08-29 08:16:25 +00:00
Manish Singh 5fd191b770 Remove some ancient files 2005-08-27 23:31:55 +00:00
Michael Schumacher 637def4d40 applied a patch by David Gowers, which makes palette-map behave the same
2005-08-27  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/gradmap.c: applied a patch by David Gowers,
	which makes palette-map behave the same as gradient-map. Fixes bug
	313458.
2005-08-27 18:09:20 +00:00
Sven Neumann 7d7142ab48 plug-ins/jpeg/jpeg-load.c (load_image) set tile cache.
2005-08-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image)
	* plug-ins/jpeg/jpeg-save.c (save_image): set tile cache.
2005-08-27 03:38:11 +00:00
Sven Neumann abebcde644 deal with SVG API change. This is a compile-time check and thus somewhat
2005-08-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: deal with SVG API change. This is a
	compile-time check and thus somewhat ugly because it requires a
	recompile of the plug-in when updating librsvg. Fixes bug #314400.
2005-08-26 19:45:02 +00:00
Sven Neumann fdb6d8ab45 removed newline from description.
2005-08-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/blend-anim.scm: removed newline from
	description.
2005-08-26 01:11:24 +00:00
Sven Neumann 92b2257ef7 plug-ins/sel2path/curve.c (new_curve_list) plug-ins/sel2path/fit.c
2005-08-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/sel2path/curve.c (new_curve_list)
	* plug-ins/sel2path/fit.c (split_at_corners)
	* plug-ins/winicon/icosave.c (ico_init_data): initialize variables.
2005-08-25 21:30:32 +00:00
Michael Natterer 911923df17 define FOO_DISABLE_DEPRECATED for the new stable versions of GTK+ and
2005-08-25  Michael Natterer  <mitch@gimp.org>

	* configure.in: define FOO_DISABLE_DEPRECATED for the new stable
	versions of GTK+ and Pango.

	Check for poppler >= 0.4.1, they did another API change.

	* plug-ins/common/poppler.c: and some more #ifdefs to
	poppler_page_render_to_pixbuf().
2005-08-25 21:27:59 +00:00
Sven Neumann dff3e7584e plug-ins/script-fu/scripts/i26-gunya2.scm reverted the last change...
2005-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/i26-gunya2.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm: reverted the last
	change...

	* plug-ins/common/displace.c: ... and fixed the plug-in instead.
	The number of parameters must not change. Provide a new procedure
	for polar mode instead.
2005-08-24 09:51:17 +00:00
Tor Lillqvist d3277fca66 plug-ins/script-fu/scripts/i26-gunya2.scm Add the new last parameter to
2005-08-24  Tor Lillqvist  <tml@novell.com>

	* plug-ins/script-fu/scripts/i26-gunya2.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm: Add the new last
	parameter to plug-in-displace calls. (See entry for displace.c
	from 2005-02-10 below.)
2005-08-24 09:01:38 +00:00
Sven Neumann 447c95b301 added a hint on how to use this plug-in.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_dialog): added a hint on how to
	use this plug-in.
2005-08-23 14:45:42 +00:00
Sven Neumann e7a14aaa71 applied capitalization patches contributed by Stephan Binner. Fixes bug
2005-08-23  Sven Neumann  <sven@gimp.org>

	* [lots of files]: applied capitalization patches contributed by
	Stephan Binner. Fixes bug #309657.
2005-08-23 00:18:08 +00:00
Sven Neumann 1a94b2be20 app/actions/channels-commands.c app/actions/qmask-commands.c
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c
	* app/dialogs/channel-options-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/module-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendoptions.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpstrokeeditor.c
	* libgimpwidgets/gimpcolorselection.c
	* modules/cdisplay_colorblind.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_cmyk.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/colorify.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/lic.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/metadata/interface.c
	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-server.c: applied patch from
	Stephan Binner that fixes capitalization issues (bug #309657).
2005-08-22 23:39:12 +00:00
Sven Neumann 5ea47e3126 minor optimizations.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: minor optimizations.

	* app/actions/gradients-actions.c
	* app/actions/patterns-actions.c
	* plug-ins/metadata/interface.c: applied patch from Stephan Binner
	that fixes wrong use of ellipsis (bug #309657).
2005-08-22 23:30:23 +00:00
Sven Neumann b6af2173d1 use GTK_STOCK_APPLY and fixed capitalization in button label.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sample_colorize.c: use GTK_STOCK_APPLY and fixed
	capitalization in button label.
2005-08-22 23:21:43 +00:00
Michael Natterer 194a71e305 added loading of pages as images.
2005-08-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c: added loading of pages as images.
2005-08-22 23:05:12 +00:00
Michael Natterer d593dbbf83 applied patch from David Gowers that adds mnemonics to all action area
2005-08-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/sample_colorize.c (smp_dialog): applied patch
	from David Gowers that adds mnemonics to all action area
	buttons. Fixes bug #314191.
2005-08-22 21:13:43 +00:00
Jens Seidel d08ae844d3 fixed a typo: s/occured/occurred/g 2005-08-21 20:28:05 +00:00
Sven Neumann f64b986b48 plug-ins/common/curve_bend.c plug-ins/common/plugin-browser.c
2005-08-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/jpeg/jpeg-load.c: use canonical procedure names with
	gimp_run_procedure().

2005-08-19  Sven Neumann  <sven@gimp.org>

	* gimpmodule.c
	* gimp-drawable.c: use canonical procedure names with
	gimp_run_procedure().
2005-08-19 16:35:48 +00:00
Nate Summers bd31497078 removed some extraneous commas
* plugins/poppler.c: removed some extraneous commas
2005-08-19 00:34:03 +00:00
Michael Natterer fff14f6385 Poppler 0.4 changes the API of poppler_page_render_to_pixbuf():
2005-08-19  Michael Natterer  <mitch@gimp.org>

	Poppler 0.4 changes the API of poppler_page_render_to_pixbuf():

	* configure.in: define HAVE_POPPLER_0_4 if it is available.

	* plug-ins/common/poppler.c: added some #ifdefs to compile with
	both the new and old version. Can be removed in some weeks
	propably.
2005-08-18 22:41:07 +00:00
Sven Neumann 6265478d0b reverted last change.
2005-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/procedure-browser.c (run): reverted last change.

	* libgimp/gimpprocbrowserdialog.[ch]: emit new signal "row-activated"
	instead of emitting "response" with GTK_RESPONSE_APPLY.

	* plug-ins/pygimp/procbrowser.c
	* plug-ins/script-fu/script-fu-console.c: connect to "row-activated"
	and call gtk_dialog_response() with GTK_RESPONSE_APPLY.
2005-08-18 13:55:14 +00:00
Sven Neumann b80a584f9a only close the dialog on GTK_RESPONSE_CLOSE.
2005-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/procedure-browser.c (run): only close the dialog
	on GTK_RESPONSE_CLOSE.
2005-08-18 12:05:26 +00:00
Michael Natterer f81fca5395 plug-ins/common/animoptimize.c plug-ins/common/pnm.c
2005-08-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animoptimize.c
	* plug-ins/common/pnm.c
	* plug-ins/metadata/interface.c
	* plug-ins/metadata/metadata.c: some forgotten canonical names.

	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/metadata.h: new header containing the
	procedure name #defines for metadata.
2005-08-18 08:57:43 +00:00
Tor Lillqvist 6f6e1c21f8 Use $(WINDRES) to handle cross-compilation.
2005-08-17  Tor Lillqvist  <tml@novell.com>

	* plug-ins/winsnap/Makefile.am (LDADD): Use $(WINDRES) to handle
	cross-compilation.

	* plug-ins/winsnap/winsnap.rc: Refer to the .ico files in
	lowercase, in case cross-compiling.
2005-08-17 12:07:31 +00:00
Sven Neumann 9795fdebbc update the progress less frequently.
2005-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: update the progress less frequently.
2005-08-17 01:31:37 +00:00
Sven Neumann 95e014f514 fixed boundary conditions.
2005-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/deinterlace.c: fixed boundary conditions.
2005-08-17 01:22:36 +00:00
Akkana Peck f518fbf0ec Rename "Grid" to "Divisions" to avoid confusion with the existing grid
* plug-ins/script-fu/scripts/grid-system.scm: Rename "Grid" to
"Divisions" to avoid confusion with the existing grid plug-in;
move into Render->Pattern along with the other Grid plug-in.
2005-08-17 01:16:14 +00:00
Akkana Peck 3cff59d7ef menus/image-menu.xml.in app/actions/image-actions.c
* menus/image-menu.xml.in
* app/actions/image-actions.c
* app/actions/plug-in-actions.c
* plug-ins/common/compose.c
* plug-ins/common/decompose.c
* plug-ins/common/vinvert.c:
Remove erroneous extra *compose entries, and move *compose into
a Components submenu (re IRC discussion); move Value Invert to
near Invert (suggested by mitch)
2005-08-16 22:16:37 +00:00
Sven Neumann f2a786ec99 configure.in redid the libgnomeui and gnome-vfs checks so that pkg-config
2005-08-16  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/uri/Makefile.am: redid the libgnomeui and gnome-vfs
	checks so that pkg-config combines the compiler and linker flags
	instead of concatenating them in the Makefile.
2005-08-16 10:40:53 +00:00
Akkana Peck c911a1a354 app/actions/image-actions.c app/tools/gimpaligntool.c
* app/actions/image-actions.c
	* app/tools/gimpaligntool.c
	* menus/image-menu.xml.in
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/exchange.c
	* plug-ins/common/fp.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/hot.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/normalize.c
	* plug-ins/common/retinex.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/vinvert.c
	* plug-ins/rcm/rcm.c
	* plug-ins/script-fu/scripts/hsv-graph.scm: Move all color-related
	functions from the Image and Filters menus to a new toplevel
	Colors menu (as discussed in bug 116145).
2005-08-16 01:08:06 +00:00
Sven Neumann da9eb037c7 define G_DISABLE_DEPRECATED unless glib >= 2.9.0.
2005-08-16  Sven Neumann  <sven@gimp.org>

	* configure.in: define G_DISABLE_DEPRECATED unless glib >= 2.9.0.

	* app/core/gimpscanconvert.c: added missing include.

	* app/text/gimp-fonts.c
	* libgimp/gimp.c
	* libgimpwidgets/gimpcolornotebook.c
	* plug-ins/helpbrowser/dialog.c: fixed signedness warnings.

	* plug-ins/bmp/bmpread.c (ReadBMP): initialize variable.
2005-08-16 00:48:20 +00:00
Michael Natterer 56f255ad3d plug-ins/common/tga.c plug-ins/common/threshold_alpha.c
2005-08-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/tileit.c
	* plug-ins/common/tiler.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/video.c
	* plug-ins/common/vinvert.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/waves.c
	* plug-ins/common/webbrowser.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wind.c
	* plug-ins/common/winprint.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/common/zealouscrop.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-15 22:42:34 +00:00
Michael Natterer 1778b39f12 check for libgnomeui-2.0. Added version requirements (>= 2.10.0) for
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* configure.in: check for libgnomeui-2.0. Added version
	requirements (>= 2.10.0) for libgnomeui and gnome-vfs.

	* plug-ins/uri/Makefile.am
	* plug-ins/uri/uri-backend-gnomevfs.c: if libgnomeui is available,
	call gnome_authentication_manager_init() so the URI plug-in can
	access sites that require authentication.

	(this needs more hacking so packagers can build both versions of
	the uri plug-in at the same time, since they will want to make the
	libgnomeui dependency optional)
2005-08-15 21:13:24 +00:00
Manish Singh 16546f0e8a Remove stray tab 2005-08-15 20:46:37 +00:00
Michael Natterer ebb21be0e9 plug-ins/common/randomize.c plug-ins/common/raw.c
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/randomize.c
	* plug-ins/common/raw.c
	* plug-ins/common/retinex.c
	* plug-ins/common/ripple.c
	* plug-ins/common/rotate.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/sinus.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c: canonicalize procedure and parameter
	names. Misc cleanups.
2005-08-15 19:39:02 +00:00
Manish Singh 52d9aa15c4 add an extra user data arg, so we fit the GimpDrawableConstraintFunc type.
2005-08-15  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/sample_colorize.c (smp_constrain): add an extra
        user data arg, so we fit the GimpDrawableConstraintFunc type.
2005-08-15 18:51:49 +00:00
Sven Neumann 47f84a8b1f plug-ins/rcm/rcm_callback.c plug-ins/rcm/rcm_dialog.c redraw the previews
2005-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/rcm/rcm_misc.[ch]: redraw the previews if their size
	changes. Fixes bug #172284.
2005-08-15 11:33:32 +00:00
Michael Natterer d0a5930f21 plug-ins/common/CML_explorer.c plug-ins/common/cartoon.c
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/colorify.c
	* plug-ins/common/compose.c
	* plug-ins/common/csource.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfli/gfli.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/sgi/sgi.c: fix indentation.
2005-08-15 11:09:18 +00:00
Michael Natterer 310e8c6782 plug-ins/common/papertile.c plug-ins/common/pat.c plug-ins/common/pcx.c
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/papertile.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/pix.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plasma.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/procedure-browser.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-15 11:07:27 +00:00
Michael Natterer 31d6857d9b make sure the opened image has a filename that cannot be saved (ok, we
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c: make sure the opened image has a
	filename that cannot be saved (ok, we don't have a PDF save
	plug-in, but PS does the same and this way it's consistent).

	* plug-ins/common/poppler.c
	* plug-ins/common/postscript.c: canonicalize procedure and
	parameter names.
2005-08-15 10:30:39 +00:00
Michael Natterer 2367234dbc applied patch from Felix Riemann that adds page counting and a page
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/postscript.c: applied patch from Felix Riemann
	that adds page counting and a page selector widget to the load
	dialog.  Fixed some minor issues in the patch and added code that
	names layers and images after the document's pages. Disable undo
	on all created images and set them clean before returning them.
	Addresses bug #138495.
2005-08-15 08:48:45 +00:00
Sven Neumann c61dc13630 fixed signedness issue.
2005-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: fixed signedness issue.
2005-08-15 07:52:07 +00:00
Michael Natterer 7ccfebab70 plug-ins/common/jigsaw.c plug-ins/common/laplace.c plug-ins/common/lic.c
2005-08-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/jigsaw.c
	* plug-ins/common/laplace.c
	* plug-ins/common/lic.c
	* plug-ins/common/mail.c
	* plug-ins/common/mapcolor.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/neon.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/noisify.c
	* plug-ins/common/normalize.c
	* plug-ins/common/nova.c
	* plug-ins/common/oilify.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-14 00:41:26 +00:00
Michael Natterer 04e116837d plug-ins/common/gauss.c plug-ins/common/gbr.c plug-ins/common/gee.c
2005-08-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gauss.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/glob.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/grid.c
	* plug-ins/common/gtm.c
	* plug-ins/common/guillotine.c
	* plug-ins/common/header.c
	* plug-ins/common/hot.c
	* plug-ins/common/illusion.c
	* plug-ins/common/iwarp.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-13 22:52:41 +00:00
Michael Natterer 9b75bd64ba plug-ins/common/decompose.c plug-ins/common/deinterlace.c
2005-08-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/decompose.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/dicom.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/displace.c
	* plug-ins/common/dog.c
	* plug-ins/common/edge.c
	* plug-ins/common/emboss.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/fp.c
	* plug-ins/common/fractaltrace.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-13 21:39:56 +00:00
David Odin 415e5dfab4 added a preview, and some minor cleanups.
* plug-ins/common/threshold_alpha.c: added a preview, and some minor
  cleanups.
2005-08-13 19:34:37 +00:00
Michael Natterer ee4eb1b0b7 plug-ins/common/AlienMap2.c plug-ins/common/CEL.c
2005-08-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/aa.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/autocrop.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/compressor.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/csource.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-13 18:29:14 +00:00
David Odin b9bc01462b added a preview, and some minor cleanups.
* plug-ins/common/checkerboard.c: added a preview, and some minor
  cleanups.
2005-08-13 16:17:43 +00:00
David Odin c62fb7beb1 shut up a Gtk-Critical Warning that happened after reopening the filter,
* plug-ins/common/sample_colorize.c: shut up a Gtk-Critical Warning
  that happened after reopening the filter, but only when a gradient had
  been selected on the previous invocation.
2005-08-12 21:45:01 +00:00
David Odin 9048b1be7c preliminary clean-ups.
* plug-ins/common/sample_colorize.c: preliminary clean-ups.
2005-08-12 20:45:27 +00:00
Michael Natterer b6b126903d plug-ins/bmp/bmp.c plug-ins/faxg3/faxg3.c plug-ins/fits/fits.c
2005-08-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.[ch]
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/help/help.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg.[ch]
	* plug-ins/maze/maze.[ch]
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/rcm/rcm.[ch]
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sgi/sgi.c
	* plug-ins/uri/uri.c
	* plug-ins/xjt/xjt.c: canonicalize procedure and parameter names.
	#define them instead of repeating the same string several times.
	Minor cleanups.
2005-08-12 15:46:46 +00:00
Michael Natterer ef4f87ff11 fixed copy'n'paste bug that was clearing the identifier prefix when
2005-08-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c (mask_ext_entry_callback): fixed
	copy'n'paste bug that was clearing the identifier prefix when
	editing the mask extension.
2005-08-10 10:22:34 +00:00
Michael Natterer 4dbd7db323 make sure the mask file has valid C identifiers, too.
2005-08-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: make sure the mask file has valid C
	identifiers, too.
2005-08-09 20:49:55 +00:00
Sven Neumann c2dc887fee use an empty field instead of "?" for the unknown value (bug #313008).
2005-08-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/dicom.c: use an empty field instead of "?" for
	the unknown value (bug #313008).
2005-08-09 15:10:26 +00:00
Sven Neumann 43b9555929 fixed signedness warnings.
2005-08-09  Sven Neumann  <sven@gimp.org>

	* app/config/gimpxmlparser.c: fixed signedness warnings.

	* plug-ins/imagemap/imap_browse.c (handle_drop): UTF-8 validate
	the dropped text before setting it on the entry.
2005-08-09 11:36:06 +00:00
Manish Singh 509b65a559 Generate valid names for aux channels that do not have names defined.
2005-08-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/psd.c: Generate valid names for aux channels that
        do not have names defined. Fixes bug #312963.
2005-08-09 05:26:57 +00:00
Manish Singh f7691baeaf remove dbbrowser from SUBDIRS.
2005-08-06  Manish Singh  <yosh@gimp.org>

        * plug-ins/Makefile.am: remove dbbrowser from SUBDIRS.
2005-08-06 20:52:21 +00:00
Manish Singh e8bc4d3f0a plug-ins/dbbrowser/plugin-browser.c removed these files...
2005-08-06  Manish Singh  <yosh@gimp.org>

        * plug-ins/dbbrowser/plugin-browser.c
        * plug-ins/dbbrowser/procedure-browser.c: removed these files...

        * plug-ins/common/plugin-browser.c
        * plug-ins/common/procedure-browser.c: ...and added them here.

        * plug-ins/common/mkgen.pl: transform - to _ in makefile variable
        names, and attach optional CFLAGS to only the plugins that need
        them.

        * plug-ins/common/plugin-defs.pl: added plugin-browser and
        procedure-browser, and changed poppler, svg, and wmf to use the new
        CFLAGS stuff.

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

        * configure.in: remove plug-ins/dbbrowser reference.
2005-08-06 20:07:19 +00:00
Sven Neumann d670b0e11e app/base/siox.[ch] expose all parameters of the SIOX algorithm. Provide
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]
	* app/core/gimpdrawable-foreground-extract.[ch]: expose all
	parameters of the SIOX algorithm. Provide default values.

	* app/tools/gimpforegroundselectoptions.[ch]: added properties and
	user interface for all SIOX parameters.

	* app/tools/gimpforegroundselecttool.c: changed accordingly.

2005-08-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/benchmark-foreground-extract.py: pass run-mode to PDB
	calls.
2005-08-06 19:08:43 +00:00
Kevin Cozens 2167be4d20 Added missing argument in define statement. Fixed spelling errors.
2005-08-05  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/test-sphere.scm: Added missing argument
	in define statement. Fixed spelling errors.

	* ChangeLog: Corrected my e-mail address.
2005-08-06 03:03:12 +00:00
Michael Natterer 264fed156c canonicalize proc args registered by plug-ins.
2005-08-05  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
	canonicalize proc args registered by plug-ins.

	* plug-ins/script-fu/siod-wrapper.c: removed s/_/-/ for proc args.
2005-08-05 20:23:37 +00:00
Manish Singh 04a9e34f54 don't wrap deprecated function gimp_rgb_intensity().
2005-08-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-rgb.c: don't wrap deprecated function
        gimp_rgb_intensity().
2005-08-05 00:58:16 +00:00
Michael Natterer 9d982c6ba8 link against libgimpcolor. WhyTheHack did this work before?
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/Makefile.am: link against libgimpcolor. WhyTheHack
	did this work before?
2005-08-03 08:19:07 +00:00
Sven Neumann a451850ad7 oops, apply the right fix for the signedness warnings this time 2005-08-03 01:32:06 +00:00
Sven Neumann a40f35b7e2 libgimpmath/gimpmd5.c libgimpmath/test-md5.c plug-ins/common/CEL.c
2005-08-03  Sven Neumann  <sven@gimp.org>

	* libgimpmath/gimpmd5.c
	* libgimpmath/test-md5.c
	* plug-ins/common/CEL.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/emboss.c
	* plug-ins/common/exchange.c
	* plug-ins/common/gifload.c
	* plug-ins/common/poppler.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg-save.h
	* plug-ins/metadata/interface.c
	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/xmp-model.c
	* plug-ins/script-fu/siod/sliba.c: fixed signedness warnings.
2005-08-03 01:15:36 +00:00
Sven Neumann 4f870bc132 deprecated RGB intensity functions and definitions. These coefficients do
2005-08-03  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.[ch]: deprecated RGB intensity functions
	and definitions. These coefficients do not accurately compute
	luminance for contemporary monitors. Instead the coefficients from
	the sRGB spec should be used which have now been added.

	* libgimpcolor/gimpcolor.def: updated.

	* libgimp/gimpdrawable.c
	* libgimp/gimppixelfetcher.c
	* app/base/colorize.c
	* app/base/levels.c
	* app/base/temp-buf.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable-convert.c
	* app/core/gimpdrawable-desaturate.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage.c
	* app/gui/splash.c
	* app/widgets/gimpgradienteditor.c
	* modules/colorsel_triangle.c
	* plug-ins/common/aa.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/colorify.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/displace.c
	* plug-ins/common/engrave.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/grid.c
	* plug-ins/common/mng.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/png.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/maze/handy.c
	* plug-ins/pagecurl/pagecurl.c: use gimp_rgb_luminance() and
	friends instead of the deprecated intensity functions.
2005-08-03 00:36:41 +00:00
Michael Natterer 79d2bb6a1e removed all parameters from gimp_proc_browser_dialog_new() and removed the
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpprocbrowserdialog.[ch]: removed all parameters from
	gimp_proc_browser_dialog_new() and removed the "scheme_names"
	stuff.

	* plug-ins/dbbrowser/procedure-browser.c
	* plug-ins/pygimp/procbrowser.c
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.

	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h
	* plug-ins/script-fu/siod-wrapper.c: removed all sorts of
	conversions between '-' and '_' for procedure names.

	* plug-ins/script-fu/script-fu.c: use canonical names for
	script-fu's procedures.
2005-08-02 23:45:24 +00:00
Manish Singh 00d1d29902 Quick and dirty restore of browser functionality.
2005-08-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/procbrowser.c: Quick and dirty restore of browser
        functionality.
2005-08-02 18:00:10 +00:00
Michael Natterer 4d369ec2c0 plug-ins/dbbrowser/Makefile.am plug-ins/dbbrowser/gimpprocbrowser.[ch]
2005-08-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
	* plug-ins/dbbrowser/gimpprocview.[ch]: removed these files...

	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpui.def
	* libgimp/gimpprocbrowserdialog.[ch]
	* libgimp/gimpprocview.[ch]: ...and added them here. Turned the
	procedure browser into a widget called GimpProcBrowserDialog and
	changed its API completely. Fixes bug #165009.

	* plug-ins/dbbrowser/plugin-browser.c
	* plug-ins/dbbrowser/procedure-browser.c
	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.

	* plug-ins/pygimp/Makefile.am
	* plug-ins/pygimp/procbrowser.c: ditto (#if 0'ed stuff so it compiles).
2005-08-02 16:49:42 +00:00
Sven Neumann c0484b468f Reverted inadvertent commit of changes to screenshot.c and only fixed the
signedness issue instead.
2005-07-30 14:10:52 +00:00
Sven Neumann 26eecddbdc loop unrolling.
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/base/gimphistogram.c (gimp_histogram_calculate_sub_region):
	loop unrolling.

	* app/dialogs/about-dialog.c
	* app/widgets/gimpselectiondata.c
	* plug-ins/bmp/bmpread.c (ReadBMP)
	* plug-ins/gfig/gfig.c (gfig_load)
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/imagemap/imap_selection.c
	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/common/dicom.c: fixed signedness warnings.
2005-07-30 14:05:57 +00:00
Sven Neumann 8ca802b3c2 plug-ins/script-fu/scripts/Makefile.am removed this script (see bug
2005-07-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/image-structure.scm: removed this
	script (see bug #307016).
2005-07-30 00:45:53 +00:00
Sven Neumann f84a1e43a7 no need for any tile cache here 2005-07-29 17:19:26 +00:00
Sven Neumann 7b17dfe7e5 follow PDB API change.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/benchmark-foreground-extract.py: follow PDB API change.
2005-07-29 02:57:20 +00:00
Sven Neumann 5ce9b4ecd5 fixed signedness warnings.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c: fixed signedness warnings.
2005-07-29 02:55:18 +00:00
Sven Neumann 5ef2b855ca change the cursor with the tool (bug #90519).
2005-07-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: change the cursor with the tool
	(bug #90519).
2005-07-26 13:38:48 +00:00
Maurits Rijk 4c28829dc5 make buffer large enough to hold all polygon data.
2005-07-25  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_csim.y: make buffer large enough to hold
	all polygon data.

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
2005-07-25 20:07:14 +00:00
Michael Natterer 20725453b4 don't return an execution error if the user cancelled the dialog.
2005-07-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c (run): don't return an execution error
	if the user cancelled the dialog.
2005-07-20 19:39:46 +00:00
Sven Neumann 0a29b4b509 declare variables at the start of the scope. Apply GIMP coding style to
2005-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-grid.c: declare variables at the start of the
	scope. Apply GIMP coding style to the new polar grid code.
2005-07-20 09:40:32 +00:00
Sven Neumann f56ab4b823 fixed signedness warnings.
2005-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (mng_save_image): fixed signedness warnings.
2005-07-19 20:52:12 +00:00
Sven Neumann 603efe98a4 removed unused include.
2005-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_menu.c: removed unused include.
2005-07-19 11:51:22 +00:00
Sven Neumann c8895fc04f allow to have the output images saved, made the code more robust with
2005-07-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/benchmark-foreground-extract.py: allow to have the
	output images saved, made the code more robust with respect to
        input images, corrected some mistakes.
2005-07-18 20:53:26 +00:00
David Odin f0e58a1c63 don't try to free unallocated space (happened when vert or horz were 0.0)
* plug-ins/common/gauss.c: don't try to free unallocated space
  (happened when vert or horz were 0.0)
2005-07-18 18:10:55 +00:00
Sven Neumann efe3e15fa5 marked strings for translation.
2005-07-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c: marked strings for translation.
2005-07-18 16:52:03 +00:00
Sven Neumann dca11f2ef4 tweaked spacing and alignments to make it look more like our other
2005-07-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpresolutionentry.c: tweaked spacing and
	alignments to make it look more like our other widgets.

	* plug-ins/common/poppler.c: put the resolution entry into a hbox
	so that it doesn't expand horizontally; removed unused table.
2005-07-18 10:16:45 +00:00
Sven Neumann 712ce5c8f9 plug-ins/common/nlfilt.c plug-ins/common/pat.c plug-ins/common/svg.c
2005-07-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nlfilt.c
	* plug-ins/common/pat.c
	* plug-ins/common/svg.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/wmf.c: fixed signedness warnings.
2005-07-17 20:35:32 +00:00
Manish Singh 1612db6507 plug-ins/pygimp/gimpmodule.c revert to old behavior of parasite_find
2005-07-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c: revert to old behavior of
        parasite_find functions returning None when there isn't a parasite
        found. Fixed bug #310666.
2005-07-17 19:49:01 +00:00
Nate Summers 9b39668df6 spiffy new widget that given a physical size, displays that size in an
* libgimpwidgets/gimpresolutionentry.[ch]: spiffy new widget that given
	a physical size, displays that size in an arbitrary unit, and lets
	you select a resolution via changing either the corresponding width
	and height or specifying it directly in pixels per your chosen unit.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h: added appropriate files, function,
	headers, and types, respectively

	* devel-docs/libgimpwidgets/libgimpwidgets.types: added
	gimp_resolution_entry_get_type.  A section still needs to be created
	for it.

	* plug-ins/common/poppler.c (run): bugfix that accidentally wasn't
	merged in previous commit.

	* plug-ins/common/poppler.c (load_dialog): replaced resolution
	spinbutton with a GimpResolutionEntry.
2005-07-17 08:29:02 +00:00
Sven Neumann e568bed77f also display total elapsed time 2005-07-15 23:55:07 +00:00
Sven Neumann bf15323c3b show elapsed time.
2005-07-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/benchmark-foreground-extract.py: show elapsed time.
2005-07-15 23:49:09 +00:00
Nate Summers a6df08bc59 merged in all the changes in my current gimp-poppler tree that don't need
* plug-ins/common/poppler.c: merged in all the changes in my
	current gimp-poppler tree that don't need c++ or cause regressions.
	Insignificant code cleanups.

	* plug-ins/common/poppler.c (load_dialog): display title of pdf
	at the top of the dialog, and show the page labels in the page
	selector.  The loop for the page labels might be profitably moved
	into another thread, but I haven't actually timed how long it takes
	to be sure.
2005-07-15 23:48:09 +00:00
Nate Summers 97e9128aa3 add poppler to the list of plugins
* plug-ins/common/plugin-defs.pl: add poppler to the list of plugins

 	* plug-ins/common/mkgen.pl: add poppler's CFLAGS, and make the
	comment about how plug-ins/common/Makefile.am is autogenerated
	more prominent
2005-07-15 23:25:46 +00:00
Nate Summers 5575d8e75a initial import into CVS. There was much rejoicing.
* plug-ins/common/poppler.c: initial import into CVS.  There was much
	rejoicing.

 	* configure.in: check for gthread-2.0 in the poppler check, because
	it is not necessarily checked for elsewhere.  Once other threaded
	plugins become available, this probably should be moved.

	Also removed the HAVE_POPPLER am conditional; it wasn't needed.

	* plug-ins/common/Makefile.am: added poppler to the build process
2005-07-15 22:54:59 +00:00
Sven Neumann 3b99ced260 Makefile.am added a rough implementation of the foreground extraxtion
2005-07-16  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* plug-ins/benchmark-foreground-extract.py: added a rough
	implementation of the foreground extraxtion benchmark as proposed
	in the GrabCut paper. See comments in the file for details.
2005-07-15 22:48:46 +00:00
Michael Schumacher 845fa0cbd3 plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-grid.c applied a patch by
2005-07-13  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-grid.c
	* plug-ins/gfig/gfig.h: applied a patch by Ted Shaneyfelt that
	addresses parts of bug 151092: less sectors on inner, more sectors
	on outer tracks.
2005-07-13 20:05:41 +00:00
Sven Neumann a01b2d6466 formatting.
2005-07-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c: formatting.
2005-07-12 17:21:33 +00:00
Sven Neumann ecb99a7296 plugged memory leaks (bug #309967). Invalidate the preview when the
2005-07-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: plugged memory leaks (bug #309967).
	Invalidate the preview when the algorithm is changed; default to
	RLE since it appears to be faster for the cases I tried.
2005-07-11 11:14:31 +00:00
Manish Singh e68206f09f actually return a value.
2005-07-10  Manish Singh  <yosh@gimp.org>

        * libgimp/gimplayer.c (gimp_layer_set_preserve_trans): actually
        return a value.

        * plug-ins/pygimp/pygimp-drawable.c: create new lock_alpha attribute,
        and deprecate old preserve_trans attribute.

        * plug-ins/pygimp/plug-ins/shadow_bevel.py: use new lock_alpha API.
2005-07-10 22:05:11 +00:00
Michael Natterer 20b4769cf5 app/actions/layers-actions.c app/actions/layers-commands.[ch]
2005-07-10  Michael Natterer  <mitch@gimp.org>

	* app/actions/layers-actions.c
	* app/actions/layers-commands.[ch]
	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.[ch]
	* app/text/gimptextlayer-xcf.c
	* app/widgets/gimphelp-ids.h
	* app/widgets/gimplayertreeview.[ch]
	* app/xcf/xcf-load.c
	* app/xcf/xcf-private.h
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/layer.pdb
	* menus/image-menu.xml.in
	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
	preparation for more layer locking flags.

	* app/pdb/procedural_db.c
	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.

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

	* plug-ins/common/colortoalpha.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/common/rotate.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/vpropagate.c
	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/alien-glow-bar.scm
	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
	* plug-ins/script-fu/scripts/blend-anim.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/bovinated-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chalk.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/drop-shadow.scm
	* plug-ins/script-fu/scripts/gimp-headers.scm
	* plug-ins/script-fu/scripts/gimp-labels.scm
	* plug-ins/script-fu/scripts/glowing-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/script-fu/scripts/neon-logo.scm
	* plug-ins/script-fu/scripts/perspective-shadow.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/title-header.scm
	* plug-ins/script-fu/scripts/waves-anim.scm
	* plug-ins/xjt/xjt.c: changed accordingly.
2005-07-10 21:17:22 +00:00
Hans Breuer d9ac028c50 updated dont include "gimpmessagedialog.c" to avoid redefinitions. Instead
2005-07-10  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
	* app/widgets/gimpcontrollerlist.c : dont include
	"gimpmessagedialog.c" to avoid redefinitions.
	Instead include gimpmessagebox.h and gimpmessagedialog.h

	* plug-ins/common/raw.c : include <io.h>
	* plug-ins/common/screenshot.c : make it compile. It
	still has no code to actually work on win32.
2005-07-10 16:24:57 +00:00
Sven Neumann 80dd4bff6c fixed spelling of Fractal.
2005-07-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/ifscompose/ifscompose.c: fixed spelling of Fractal.
2005-07-08 16:57:38 +00:00
Sven Neumann 0c9b36d8e8 app/actions/gradient-editor-commands.c app/widgets/gimpcolordialog.c
2005-07-07  Sven Neumann  <sven@gimp.org>

	* app/actions/gradient-editor-commands.c
	* app/widgets/gimpcolordialog.c
	* app/widgets/gimpdock.c
	* plug-ins/gflare/gflare.c
	* plug-ins/script-fu/script-fu-server.c: specify alternative
	button order in some places that were missed earlier (spotted by
	Stephan Binner).
2005-07-07 13:39:33 +00:00
Sven Neumann 2f3c343219 set the count label in italic.
2005-07-06  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpbrowser.c: set the count label in italic.

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: try to make it more obvious
	that the list is the result of a query by explicitely mentioning
	this in the summary below the list.
2005-07-06 01:51:17 +00:00
Sven Neumann a19a3ac4aa match case-insensitive.
2005-07-06  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-ins-query.c (match_strings): match
	case-insensitive.

	* libgimpwidgets/gimpbrowser.c: unset "focus-on-click" on the
	filter combo-box.

	* plug-ins/dbbrowser/plugin-browser.c: moved "Insertation Date"
	column all the way to the right and renamed to "Installation Date".

	* plug-ins/common/gauss.c: tweaked dialog packing.
2005-07-06 00:31:59 +00:00
Sven Neumann ff205ad855 removed uesless g_malloc() wrapper.
2005-07-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: removed uesless g_malloc() wrapper.
2005-07-04 14:21:08 +00:00
Nate Summers 311dcf8510 Changes in preparation for integrating gimp-poppler.
Changes in preparation for integrating gimp-poppler.

 	* configure.in: check for libpoppler.

	* plug-ins/common/postscript.c (query): don't register file_load_pdf
	if HAVE_POPPLER is defined
2005-07-02 19:58:49 +00:00
Sven Neumann 01e1c60485 load embedded ICC profiles and attach them as "icc-profile" parasite.
2005-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c: load embedded ICC profiles and attach
	them as "icc-profile" parasite.

	* plug-ins/jpeg/jpeg-save.c: look for the "icc-profile" parasite
	and embed the profile in the JPEG file if it is available.
2005-07-01 12:24:10 +00:00
Manish Singh 11def58443 Initialize restart markers check button accordingly from defaults. Fixes
2005-07-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-save.c: Initialize restart markers check button
        accordingly from defaults. Fixes bug #309091, patch from
        David 'Bombe' Roden.
2005-07-01 07:14:19 +00:00
Sven Neumann 639c6c2109 plug-ins/jpeg/Makefile.am copied from lcms that reads and writes ICC
2005-06-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg-icc.[ch]: copied from lcms that reads and
	writes ICC profiles from/to JPEG files. Not yet used at all.
2005-06-30 17:45:32 +00:00
Sven Neumann 19a65560cd use the canonical form of signal names.
2005-06-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/*/*.c: use the canonical form of signal names.
2005-06-30 16:03:24 +00:00
Manish Singh ea47f2d53b actually define pygimpdir in terms of pygimpbase.
2005-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: actually define pygimpdir in terms
        of pygimpbase.
2005-06-27 00:19:08 +00:00
Manish Singh 02edf14eec feed environment values through gimp_config_path_expand, so ${gimp..}
2005-06-26  Manish Singh  <yosh@gimp.org>

        * app/core/gimpenvirontable.c: feed environment values through
        gimp_config_path_expand, so ${gimp..} variables can be used.

        * plug-ins/pygimp/Makefile.am: define PYTHONPATH in terms of
        ${gimp_plug_in_dir}. Use ; as a path separator on windows.

        With this final changes, pygimp should work out of the box on
        Win32 now. Thanks to Michael Schumacher and lode leroy for
        figuring out the high level details and testing.
2005-06-26 23:20:21 +00:00
Karine Delvare e53abb2a00 Add an apply button and remove the frame around the scrolled window.
2005-06-25  Karine Delvare  <kdelvare@nerim.net>

        * plug-ins/FractalExplorer/FractalExplorer.c: Add an apply button
        and remove the frame around the scrolled window.
2005-06-26 21:16:21 +00:00
Sven Neumann b10218ce5a allow to access (read-only) the current color management configuration
2005-06-26  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: allow to access (read-only) the
	current color management configuration through the PDB.

	* libgimp/gimpgimprc_pdb.[ch]
	* app/pdb/gimprc_cmds.c
	* app/pdb/internal_procs.c: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpgimprc.[ch]: wrap the new PDB function to make it
	easier to use from plug-ins. This change adds a dependency on
	libgimpconfig to libgimp.

	* gimp.pc.in: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c: no need to include gimpconfig.h
	explicitely any longer.

	* libgimp/gimpfontselectbutton.c: fixed gtk-doc comments.
2005-06-26 12:53:31 +00:00
Manish Singh 992bdbe8c5 introduce a notion of runtime path to the python interpreter, for the
2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: introduce a notion of runtime path to the python
        interpreter, for the pygimp.interp file.

        * plug-ins/pygimp/Makefile.am: use it here.
2005-06-25 23:27:21 +00:00
Karine Delvare ffca57f527 activate fractal on double-click rather than select.
2005-06-25  Karine Delvare  <kdelvare@cvs.gimp.org>

        * plug-ins/FractalExplorer/FractalExplorer.c: activate fractal on
        double-click rather than select.
2005-06-25 16:22:08 +00:00
Kevin Cozens fd6ff177ea First step in changing the UI to match the layout suggested in bug #82591.
2005-06-25  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/maze/maze_face.c: First step in changing the UI to match
	the layout suggested in bug #82591.
2005-06-25 15:33:25 +00:00
Manish Singh 4d716c32b3 drop the module suffix from the filename of the dynamic libraries.
2005-06-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: drop the module suffix from the
        filename of the dynamic libraries.
2005-06-25 00:44:40 +00:00
Manish Singh 6d5096312e define PYLINK_LIBS on Win32, since DLLs need to have all their symbols
2005-06-24  Manish Singh  <yosh@gimp.org>

        * configure.in: define PYLINK_LIBS on Win32, since DLLs need to have
        all their symbols fully resolved at link time.

        * plug-ins/pygimp/Makefile.am: link python modules with PYLINK_LIBS.
2005-06-24 23:13:49 +00:00
Manish Singh dfad53efe4 build all libraries with no-undefined. Ignore doc stuff for now, since
2005-06-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: build all libraries with no-undefined.
        Ignore doc stuff for now, since it's ancient and needs to be massively
        revised.

        * configure.in: don't generate plug-ins/pygimp/doc/Makefile
2005-06-24 21:46:12 +00:00
Kevin Cozens d604a8c2d5 Incorporated changes made by Daniel P. Stasinski in his text-circle3.scm
2005-06-24  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/text-circle.scm: Incorporated changes
	made by Daniel P. Stasinski in his text-circle3.scm script. Letters
	are now placed properly for both positive and negative fill angles.
	Last(?) fix for bug #144588.
2005-06-24 20:49:43 +00:00
Kevin Cozens 9e0f32e606 Updated to fix problems related to change in handling of string arrays
2005-06-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm: Updated to fix problems
	related to change in handling of string arrays (see bug #168290).
	Fixes bug #308681.
2005-06-24 19:41:58 +00:00
Sven Neumann 88de3824f8 some code cleanup, no real changes.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: some code cleanup, no real changes.
2005-06-24 11:31:49 +00:00
Akkana Peck 745e71195c Image window Filters menu reorganization, as discussed in bug 116145 2005-06-24 00:43:39 +00:00
Sven Neumann a0329dd153 draw the intersection on top of the grid. Fixes bug #308754.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: draw the intersection on top of the grid.
	Fixes bug #308754.
2005-06-23 17:13:57 +00:00
Sven Neumann 00f94b6554 shift whole rows/columns, instead of tiles. Fixes bug #308748.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/shift.c: shift whole rows/columns, instead of
	tiles. Fixes bug #308748.
2005-06-23 16:58:16 +00:00
Sven Neumann c2bb398338 removed unused variable 2005-06-23 16:07:30 +00:00
Sven Neumann 4fde913221 removed redundant labels.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: removed redundant labels.
2005-06-23 16:06:53 +00:00
Sven Neumann 3571a5802e applied a patch from Karine Delvare that removes an obsolete frame.
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: applied a patch from
	Karine Delvare that removes an obsolete frame.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/FractalExplorer/logo.h: removed logo now that the About
	dialog is gone.
2005-06-22 21:19:10 +00:00
Sven Neumann fc1bb9ee41 unified spelling of "Re-Show".
2005-06-22  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c: unified spelling of "Re-Show".

	* plug-ins/foggify.py: fixed capitalization of menu label.
2005-06-22 12:16:04 +00:00
Sven Neumann 903816ca53 switch to a more compact dialog layout.
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: switch to a more compact dialog layout.
2005-06-22 11:47:55 +00:00
William Skaggs e37feb8ce7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/mblur.c: add option of blurring inward
	or outward for zoom, should fix bug #142968.
2005-06-21 23:49:51 +00:00
Sven Neumann cc77129499 plug-ins/FractalExplorer/Dialogs.c merged in a patch from Karine Delvare
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: merged in a patch
	from Karine Delvare with further UI improvements (see bug #140202).
2005-06-21 23:08:43 +00:00
William Skaggs e8079d1594 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/newsprint.c: remove "optimization" that interacts
	badly with preview; fixes bug #161573.
2005-06-21 22:08:42 +00:00
William Skaggs 9018476c27 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/retinex.c:  initialize memory before using.
	Fixes bug #157915.
2005-06-21 18:07:01 +00:00
Sven Neumann 71313ae2a5 minor changes, mainly to the Rescan dialog.
2005-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: minor changes, mainly to the
	Rescan dialog.
2005-06-21 09:25:45 +00:00
Sven Neumann 0c4144c10e applied a patch from Karine Delvare that ports the list to GtkTreeView and
2005-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: applied a patch from
	Karine Delvare that ports the list to GtkTreeView and replaces the
	XPM icons with stock icons. Fixes bug #140202.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/FractalExplorer/pix_data.h: removed this file.
2005-06-20 22:34:11 +00:00
William Skaggs 95f5cc8654 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/laplace.c: don't normalize the
	result.  Fixes bug #306874?
2005-06-20 21:04:32 +00:00
William Skaggs bbb8d250d0 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/noisify.c: rename as "plug-in-rgb-noise"
	with menu entry "RGB Noise".  Leave "plug-in-noisify" for
	backward compatibility.

	* plug-ins/common/scatter_hsv.c: rename as "plug-in-hsv-noise"
	with menu entry "HSV Noise".  Leave "plug-in-scatter-hsv" for
	backward compatibility.
2005-06-20 16:09:40 +00:00
Sven Neumann 741382dd09 plug-ins/common/gee.c string fixes (bug #308134).
2005-06-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c: string fixes (bug #308134).
2005-06-17 23:17:32 +00:00
Sven Neumann 83ca915fd0 removed menu registration (bug #307535).
2005-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: removed menu
	registration (bug #307535).
2005-06-17 11:03:10 +00:00
Sven Neumann 3972af91ce plug-ins/common/gee.c don't register any menu entries (see bug #307998).
2005-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c: don't register any menu entries
	(see bug #307998).

	* app/actions/plug-in-actions.c
	* menus/image-menu.xml.in: removed Toys submenu.
2005-06-17 09:35:30 +00:00
Sven Neumann 5c17ad2402 menus/image-menu.xml.in plug-ins/Lighting/lighting_main.c
2005-06-17  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/nova.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pygimp/plug-ins/clothify.py
	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py
	* plug-ins/pygimp/plug-ins/whirlpinch.py
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/*.scm: applied menu reorganization
	patch done by Akkana Peck (bug #116145).

	* plug-ins/common/film.c: renamed filter to "Filmstrip".
2005-06-16 23:45:32 +00:00
Sven Neumann 0a0c1b5582 Changed "Screen Shot" to "Screenshot". 2005-06-14 18:25:33 +00:00
Sven Neumann c85e56291a some dialog changes, hopefully to the better.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: some dialog changes, hopefully to
	the better.
2005-06-14 18:12:11 +00:00
Sven Neumann 61be6a5369 minor code cleanup.
2005-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/laplace.c: minor code cleanup.
2005-06-08 15:19:01 +00:00
Sven Neumann df623bf246 plug-ins/bmp/bmp.c plug-ins/bmp/bmpread.c applied a (slightly modified)
2005-06-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: applied a (slightly modified) patch
	contributed by Brandon that adds support for reading and writing
	RGBA BMP files (bug #306339).
2005-06-07 16:55:21 +00:00
Maurits Rijk f9dc08a441 plug-ins/imagemap/imap_grid.[ch] plug-ins/imagemap/imap_main.c
2005-06-06  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_grid.[ch]
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.[ch]
	* plug-ins/imagemap/imap_menu_funcs.[ch]
	* plug-ins/imagemap/imap_object_popup.[ch]
	* plug-ins/imagemap/imap_polygon.[ch]: more conversion to action based
	menus. Almost done.
2005-06-06 19:53:44 +00:00
Sven Neumann b29fc29b2e only create the temporary file if there is a parasite to load.
2005-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c (gfig_load_from_parasite): only create the
	temporary file if there is a parasite to load.
2005-06-06 15:43:57 +00:00
Manish Singh 920226a7db ypto 2005-06-05 19:29:29 +00:00
Manish Singh 62749bb931 plug-ins/pygimp/gimpfu.py plug-ins/pygimp/gimpenums.py use old pygtk enum
2005-06-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use old pygtk enum API so we
        still work with older pygtk versions.
2005-06-05 19:28:46 +00:00
William Skaggs 052d95c906 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: make " no decorations" option
	work; problem pointed out by Jean-Luc Coulon on dev list.
2005-06-05 15:50:20 +00:00
Manish Singh 7a63a7980f new formal widget based on gimpfontmenu.[ch].
2005-06-04  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpfontselectbutton.[ch]: new formal widget based on
        gimpfontmenu.[ch].

        * libgimp/gimpuimarshal.list: needed for new signal in above.

        * libgimp/gimpfontmenu.[ch]: deprecate, and thinly wrap around
        new GimpFontSelectButton for compatibility.

        * libgimp/gimpuitypes.h: add GimpFontSelectButton, as well
        as types for the future SelectButtons.

        * libgimp/gimpui.h
        * libgimp/Makefile.am: hook in the new widget.

        * plug-ins/common/film.c
        * plug-ins/script-fu/script-fu-interface.c: use new API.
2005-06-04 22:36:05 +00:00
Manish Singh 7ce0c7a90c define _O_BINARY ourselves if it's not defined by any headers, and use
2005-06-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/helpbrowser/dialog.c: define _O_BINARY ourselves if
        it's not defined by any headers, and use that instead of #ifdefed
        calls to g_open.
2005-06-04 19:25:44 +00:00
Michael Schumacher 525de1b084 use GetDesktopWindow() and SW_SHOW as suggested in bug #171200. Applied to
2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/webbrowser.c: use GetDesktopWindow() and SW_SHOW
	as suggested in bug #171200. Applied to both branches.
2005-06-04 11:50:32 +00:00
Michael Schumacher 578fef6886 added #ifdef G_OS_WIN32 because O_BINARY isn't available on other
2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added #ifdef G_OS_WIN32 because
	O_BINARY isn't available on other platforms
2005-06-04 11:41:53 +00:00
Michael Schumacher 4da086d48c added a O_BINARY to make sure that images are loaded correctly
2005-06-03  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added a O_BINARY to make sure
	that images are loaded correctly
2005-06-04 08:46:48 +00:00
Manish Singh e8c7a7a497 plug-ins/pygimp/pygimp-api.h export our API to other modules in a saner
2005-06-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/gimpmodule.c: export our API to other modules
        in a saner fashion. Also add checks_get_shades method.

        * plug-ins/pygimp/procbrowser.c: Use new export API.

        * plug-ins/pygimp/pygimp-drawable.c (drw_mask_intersect):
        use Py_BuildValue to build the tuple.

        * plug-ins/pygimp/pygimp-image.c (img_repr): capitalization fix.

        * plug-ins/pygimp/pygimp-rgb.c
        * plug-ins/pygimp/pygimpcolor.h
        * plug-ins/pygimp/gimpcolormodule.c: beginnings of a wrapper to
        libgimpcolor.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use gimp enum API to find out
        our enums.

        * plug-ins/pygimp/Makefile.am: hook in all of the above.
2005-06-04 00:17:06 +00:00
Manish Singh 93490ae76b require python 2.2.1, so True and False are always there. Check for pygtk
2005-06-03  Manish Singh  <yosh@gimp.org>

        * configure.in: require python 2.2.1, so True and False are always
        there. Check for pygtk codegen stuff, we'll be using that in the
        future.

        * plug-ins/pygimp/plug-ins/*.py: Use True and False instead of
        TRUE and FALSE.
2005-06-03 23:15:23 +00:00
William Skaggs c635b2be13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: trap errors when running
	XGrabKey, to prevent bail-out on BadAccess error as
	reported by Jean-Luc Coulon on developers list; solution
	suggested by Simon Budig.
2005-06-02 18:03:50 +00:00
Kevin Cozens 0e2db63c8d Use 'gimp-image-set-colormap' instead of deprecated call
2005-06-01  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/tiny-fu-set-cmap.sct: Use 'gimp-image-set-colormap' instead
	of deprecated call 'gimp-image-set-cmap'. Spotted by Joao S. O. Bueno.
2005-06-01 21:22:49 +00:00
Maurits Rijk 2bc4ca796d plug-ins/common/CEL.c plug-ins/common/gbr.c plug-ins/common/gee.c
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/common/CEL.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/hot.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tiler.c
	* plug-ins/common/zealouscrop.c: GPL license added for plug-ins
	without any license. If any of the authors objects we will
	probably have to remove the plug-in.
2005-05-31 19:10:46 +00:00
Maurits Rijk ccfcaee1dc plug memory leak: Fixes #305990
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/gfig/gfig-dobject.c: plug memory leak: Fixes #305990
2005-05-31 18:17:02 +00:00
Maurits Rijk 2fc3ba5e7a plug memory leak. Fixes #305995.
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_selection.c: plug memory leak. Fixes #305995.
2005-05-31 18:05:10 +00:00
Sven Neumann 8cd1ab2e28 minor tweak to the dialog layout 2005-05-31 16:02:27 +00:00
Sven Neumann 006db0f6f0 don't leak the keys array 2005-05-31 15:39:17 +00:00
Sven Neumann 315061ca00 use XGrabKey() to grab the Escape key instead of doing a full keyboard
2005-05-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): use XGrabKey()
	to grab the Escape key instead of doing a full keyboard grab.
2005-05-31 15:35:51 +00:00
Sven Neumann 50c61cc2e6 capitalization and mnemonics.
2005-05-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: capitalization and mnemonics.
2005-05-30 09:10:29 +00:00
Manish Singh e495900309 plug-ins/pygimp/gimpmodule.c use DL_EXPORT for the init functions, maybe
2005-05-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/procbrowser.c: use DL_EXPORT for the init functions,
        maybe this will help Win32 builds. Also some minor cleanups.
2005-05-28 23:56:07 +00:00
Maurits Rijk 3ee2a3a0aa use gtk_about_dialog instead of home-brewn stuff.
2005-05-28  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_about.c: use gtk_about_dialog instead of
	home-brewn stuff.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c: minor clean-up.
2005-05-28 18:13:18 +00:00
Sven Neumann 5d40187247 plug-ins/helpbrowser/dialog.c store the scroll offset in the history and
2005-05-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: store the scroll offset in the
	history and set it when using the Back and Forward actions. Fixes
	bug #165022.
2005-05-26 17:13:59 +00:00
Sven Neumann feb4a5b0d8 plug-ins/gfig/gfig-dialog.c initialize GimpRGB and GFigContext structs
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.c: initialize GimpRGB and GFigContext structs
	before using them.
2005-05-23 20:11:09 +00:00
Sven Neumann b6d0c2d3a2 also grab the keyboard and allow to cancel the operation using the Escape
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): also grab the
	keyboard and allow to cancel the operation using the Escape key.
2005-05-23 10:47:32 +00:00
Sven Neumann b08d42c66d always apply the selected delay.
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: always apply the selected delay.
2005-05-23 09:53:18 +00:00
Michael Schumacher 446dd757db added the missing -mwindows for OS_WIN32
2005-05-23  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/Makefile.am: added the missing -mwindows
	for OS_WIN32
2005-05-22 23:46:37 +00:00
Manish Singh 2247561883 don't do pointer arithmetic with void *. Fixes bug #305005.
2005-05-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/metadata/metadata.c (run): don't do pointer arithmetic
        with void *. Fixes bug #305005.
2005-05-22 05:40:04 +00:00
Manish Singh d1d6d48577 Fix ytpo in wget command line so it actually works.
2005-05-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): Fix ytpo
        in wget command line so it actually works.
2005-05-20 17:06:26 +00:00
Manish Singh 65b2cdba10 don't do pointer arithmetic with void *. Fixes bug #304701.
2005-05-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-save.c (save_image): don't do pointer arithmetic
        with void *. Fixes bug #304701.
2005-05-20 00:08:50 +00:00
Michael Natterer 73e3f6f13b plug-ins/dbbrowser/Makefile.am removed again...
2005-05-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpbrowser.[ch]: removed again...

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpbrowser.[ch]: ...and added here.

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: changed accordingly.

	* plug-ins/dbbrowser/gimpprocbrowser.c: fixed searching by help.
2005-05-18 23:48:47 +00:00
Michael Natterer 779d4252a6 plug-ins/dbbrowser/Makefile.am removed.
2005-05-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpprocbox.[ch]: removed.

	* plug-ins/dbbrowser/gimpbrowser.[ch]: new widget derived from
	GtkHPaned. Contains lots of common code from the procedure and
	plug-in browsers.

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: use a GimpBrowser, lots of
	cleanups.

	* plug-ins/dbbrowser/gimpprocbrowser.c: support all possible search
	types. Addresses bug #301201.
2005-05-18 22:21:07 +00:00
William Skaggs ca98388de6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-load.c: Don't detach from drawable if
	it belongs to a preview layer.  Fixes bug #304352.
2005-05-16 20:23:28 +00:00
Sven Neumann 3cdaea33d1 reverted a change that I had committed accidentally.
2005-05-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpenums.py: reverted a change that I had
	committed accidentally.
2005-05-14 15:39:31 +00:00
Michael Natterer b212efe919 register descriptions for the GimpPDBProcType enum.
2005-05-14  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]: register descriptions for the
	GimpPDBProcType enum.

	* plug-ins/dbbrowser/gimpprocview.c
	* tools/pdbgen/pdb/procedural_db.pdb: get rid of all selfmade
	enum->string mapping. Get the strings from the GType system instead.

	* app/pdb/procedural_db_cmds.c
	* libgimp/gimpproceduraldb_pdb.c: regenerated.
2005-05-14 15:10:47 +00:00
Michael Natterer 284076b005 plug-ins/dbbrowser/gimpprocbrowser.c implement typeahead search and get
2005-05-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: implement typeahead search
	and get rid of the search buttons in the action area. Cleaned up
	dialog layout and code. Fixes bug #301287.
2005-05-13 15:58:16 +00:00
Tor Lillqvist 1f1aa573f9 Don't bother looking for fd_set on Win32, we won't find it in sys/types.h
2005-05-13  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't bother looking for fd_set on Win32, we won't
	find it in sys/types.h or (the nonexistent) sys/select.h
	anyway. (It's in winsock2.h.)

	* plug-ins/common/xpm.c: Include gdkconfig.h for GDK_WINDOWING_WIN32.

	* plug-ins/script-fu/script-fu-server.c: Give it a chance to work
	on Win32 by covering for the differences between the WinSock and
	Unix socket APIs. Use recv() and send() instead of read() and
	write() on sockets. On Win32, use closesocket() for sockets
	instead of close(). Don't use perror() or look at errno after
	socket API errors on Win32. No EINTR failure mode with WinSock 2.
	(print_socket_api_error): New function. On Unix, just call
	perror(). On Win32, call WSAGetLastError() and produce an
	appropriate error message on stderr.

	* plug-ins/script-fu/Makefile.am (WINSOCK_LIBS): Link with the
	winsock2 library, as we compile with the winsock2 header.
2005-05-13 12:50:35 +00:00
Sven Neumann 2a993238dd added missing brackets. Fixes bug #303972.
2005-05-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c (WriteBMP): added missing brackets.
	Fixes bug #303972.
2005-05-12 23:53:22 +00:00
Sven Neumann c9933fca55 split the message into primary and secondary label.
2005-05-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_query): split the message into
	primary and secondary label.
2005-05-11 21:25:52 +00:00
David Odin 46ed4f2cb6 use the correct bounds for the spinners. This is related to #114225.
* plug-ins/common/grid.c: use the correct bounds for the spinners.
  This is related to #114225. Spotted by Lomaxx.
2005-05-09 19:32:03 +00:00
Sven Neumann 8f49da491c sprinkled some const qualifiers.
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: sprinkled some const qualifiers.
2005-05-09 10:41:39 +00:00
Sven Neumann 9d0d9f1653 removed traces of plug-ins/common,
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am: removed traces of plug-ins/common,
2005-05-09 00:12:07 +00:00
jaycox cc140a9b25 add comments describing thumbnail resource. >
* plug-ins/common/psd.c: add comments describing thumbnail resource.
>
2005-05-07 07:58:20 +00:00
Sven Neumann b163c36962 plug-ins/winicon/icoload.c added a thumbnail loader for .ico files Fixes
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/main.c: added a thumbnail loader for .ico files
	Fixes bug #158191.
2005-05-07 00:06:33 +00:00
Sven Neumann e016f2db02 more preparations for thumbnail loading 2005-05-06 23:42:14 +00:00
Sven Neumann f3e9122465 plug-ins/winicon/icoload.[ch] code cleanup, prepare for thumbnail loading.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.[ch]
	* plug-ins/winicon/main.c: code cleanup, prepare for thumbnail
	loading.
2005-05-06 23:26:04 +00:00
Michael Natterer 65098dda2b use G_DIR_SEPARATOR instead of '/'.
2005-05-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compressor.c: use G_DIR_SEPARATOR instead of '/'.

	* plug-ins/common/mail.c: ditto. Fixed some coding style issues.
	Special case .bz2 files just as .gz ones.
2005-05-06 19:36:12 +00:00
Kevin Cozens b93a15b17d Moved two set!'s in to the let block.
2005-05-04  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/tiny-fu-set-cmap.sct: Moved two set!'s in to the let block.
2005-05-04 18:38:27 +00:00
Sven Neumann d19d603adb special case percentage < 0 and pulse progress.
2005-05-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (progress_update): special case
	percentage < 0 and pulse progress.
2005-05-03 21:29:28 +00:00
Sven Neumann 5a85d5e770 applied a patch from David Costanzo that adds missing error handling to
2005-04-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that
	adds missing error handling to the BMP loader, allowing it to deal
	gracefully with incomplete BMP image files.
2005-04-30 11:15:53 +00:00
Sven Neumann 987a4cc15a plug-ins/winicon/icodialog.c changed dialog layout.
2005-04-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icosave.c: changed dialog layout.
2005-04-29 20:03:46 +00:00
Manish Singh 1b49742c19 don't reset the passed parameters to default values. Spotted by Joao S. O.
2005-04-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/clothify.py: don't reset the passed
        parameters to default values. Spotted by Joao S. O. Bueno Calligaris.
2005-04-29 04:28:44 +00:00
Sven Neumann 998ea546cd detach from the drawable.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image): detach from the drawable.
2005-04-28 12:12:12 +00:00
Sven Neumann f08c5b268a added more standard keybindings.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added more standard keybindings.
2005-04-27 13:05:19 +00:00
Sven Neumann a37003919d don't mark the menu identifier for translation.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/metadata/metadata.c: don't mark the menu identifier for
	translation.
2005-04-27 12:47:35 +00:00
Sven Neumann 3c3ed424dd use the standard order of "static" and "inline" qualifiers.
2005-04-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c: use the standard order of
	"static" and "inline" qualifiers.
2005-04-26 09:16:24 +00:00
David Odin 89c1535009 update the preview continuously when the color changes in the color
* plug-ins/common/colortoalpha.c: update the preview continuously when
  the color changes in the color selector.
2005-04-25 19:44:02 +00:00
Manish Singh 16c86d0dbd Only store compression types we can actually handle in the save options
2005-04-25  Manish Singh  <yosh@gimp.org>

        * plug-in/common/tiff.c: Only store compression types we can actually
        handle in the save options parasite. Fixes bug #301557.
2005-04-25 07:42:52 +00:00
Hans Breuer 28a2b13581 build menus with nmake, too menus/Makefile.am : added to EXTRA_DIST
2005-04-24  Hans Breuer  <hans@breuer.org>

	* menus/makefile.msc : build menus with nmake, too
	  menus/Makefile.am : added to EXTRA_DIST

	* **/makefile.msc app/gimpcore.def : updated

	* app/base/tmp-buf.c : there is no pid_t with msvc so typedef one
2005-04-24 15:39:15 +00:00
Raphael Quinet 62d8e69515 Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore).
2005-04-23  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-schemas.[ch]: Added definition of
	properties from IPTC Core XMP schema (Iptc4xmpCore).

	* plug-ins/metadata/base64.[ch]: Added option to ignore invalid
	characters in base64 encoded text.

	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/testbase64.c: Updated accordingly.
2005-04-23 10:02:51 +00:00
Raphael Quinet 15da11125d Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore).
2005-04-23  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-schemas.[ch]: Added definition of
	properties from IPTC Core XMP schema (Iptc4xmpCore).

	* plug-ins/metadata/base64.[ch]: Added option to ignore invalid
	characters in base64 encoded text.

	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/testbase64.c: Updated accordingly.
2005-04-23 10:01:24 +00:00
Sven Neumann d1486ee5fb configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2005-04-22  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/winclipboard.c: removed winclipboard plug-in
	from CVS. It is not any longer needed as long as GTK+ >= 2.6.5
	is being used. Fixes bug #165219.
2005-04-22 16:51:18 +00:00
Sven Neumann 99c2a108ff shut up CVS 2005-04-22 15:16:32 +00:00
Raphael Quinet c30453f49d Fixed crash occuring after a double free of some structured XMP
2005-04-22  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-model.[ch]: Fixed crash occuring after a
	double free of some structured XMP properties.  Added new type
	XMP_TYPE_GENERIC_STRUCTURE for unknown structured properties.  Be
	more tolerant in parsing incorrectly written schema URIs and try
	to extract a valid URI from them.  Converted to use g_print().
	Moved the definitions of standard XMP schemas from here...

	* plug-ins/metadata/xmp-schemas.[ch]: ...to these new files.

	* plug-ins/metadata/xmp-encode.[ch]: Rewritten using GString
	instead of fixed buffers.

	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/interface.c: Adapted to the new function
	xmp_generate_block() using GString.

	* plug-ins/metadata/base64.c (base64_encode): Fixed incorrect
	encoding of bytes with the sign bit set.

	* plug-ins/metadata/testbase64.c
	* plug-ins/metadata/Makefile.am: Added xmp-schema.[ch] and test
	program testbase64.c (testing base64 encoding and decoding).

	* plug-ins/metadata/xmpdump.c: Converted to use g_print().

	* plug-ins/metadata/xmp-parse.c: Added some #ifdef's around
	debugging code, added more comments.
2005-04-22 15:04:29 +00:00
Manish Singh 635282819a pass -dUseCropBox when loading PDF files, to match Acrobat Reader's
2005-04-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/postscript.c: pass -dUseCropBox when loading PDF
        files, to match Acrobat Reader's behavior in honoring CropBox over
        MediaBox. Fixes bug #301432.
2005-04-21 10:46:52 +00:00
Sven Neumann bbe304e874 make more labels selectable.
2005-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/gimpprocview.c: make more labels selectable.
2005-04-21 10:23:29 +00:00
Sven Neumann ba09519000 plug-ins/Lighting/images/Makefile.am plug-ins/gfig/images/Makefile.am
2005-04-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/images/Makefile.am
	* plug-ins/gfig/images/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/imagemap/images/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/rcm/images/Makefile.am: use $(GDK_PIXBUF_CSOURCE) as
	defined by the configure script.

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/wilber-reading.png: added icon.

	* plug-ins/helpbrowser/gimpthrobber.[ch]: added API to set an image
	to be used instead of the stock-id.

	* plug-ins/helpbrowser/dialog.c: use the Reading Wilber icon for
	the throbber and as window icon.
2005-04-20 20:19:14 +00:00
Sven Neumann fe06c3018f set charset to UTF-8. Initialize the filename from the image's filename.
2005-04-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: set charset to UTF-8. Initialize the
	filename from the image's filename. Don't set From: if the Sender
	entry remains blank. Reordered dialog.
2005-04-20 00:40:32 +00:00
Manish Singh 76c85d918a #include gimpwidgets.h for gimp_spin_button_new().
2005-04-18  Manish Singh  <yosh@gimp.org>

        * libgimpwidgets/gimpsizeentry.c: #include gimpwidgets.h for
        gimp_spin_button_new().

        * plug-ins/jpeg/jpeg-load.c
        * plug-ins/jpeg/jpeg-save.c
        * plug-ins/metadata/interface.c
        * plug-ins/metadata/xmp-parse.c: 64-bit safety for some of the
        debugging g_prints.
2005-04-18 23:38:25 +00:00
Manish Singh 11a8643091 Really remove all non-applicable copyright statements 2005-04-18 19:07:07 +00:00
Manish Singh a34f893f7d Redo comment for spot_PSsquare and spot_PSdiamonds, since the code was not
2005-04-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/newsprint.c: Redo comment for spot_PSsquare
        and spot_PSdiamonds, since the code was not a derived work in
        the copyright sense. It is a C implementation of the same
        algorithm.
2005-04-18 19:02:18 +00:00
Raphael Quinet d54c1ee801 Added comment to clarify the copyright notice (bug #301076).
2005-04-18  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/newsprint.c: Added comment to clarify the
	copyright notice (bug #301076).
2005-04-18 16:29:00 +00:00
Sven Neumann 1ff66ea24c restrict the menus to 15 items.
2005-04-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: restrict the menus to 15 items.
2005-04-18 10:50:44 +00:00
Raphael Quinet c9979abf5f Added parameter 'columns' to base64_encode() to add optional line breaks
2005-04-18  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/base64.[ch]: Added parameter 'columns' to
	base64_encode() to add optional line breaks in the output.
	Improved documentation.
2005-04-18 05:06:48 +00:00
Kevin Cozens 5c1b759a42 Made readstr_upto() stop reading input when it hits a NUL byte. Fixes
2005-04-17  Kevin Cozens  <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Made readstr_upto() stop reading input when it
	hits a NUL byte. Fixes problem reported by Sam Phillips. Added check
	for an EOF character in is_one_of() as was in the original version of
	TinyScheme. Also removed some #if'ed code.
2005-04-17 18:10:21 +00:00