Commit Graph

13739 Commits

Author SHA1 Message Date
Michael Natterer 43f875fc3d untabified.
2004-10-04  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimphelpui.c: untabified.

	(gimp_help_callback): use GIMP_HELP_ID instead of "gimp-help-id".
2004-10-04 13:17:41 +00:00
Sven Neumann c6579be8d4 set a minimum width for the color button again. (script_fu_about): don't
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	set a minimum width for the color button again.
	(script_fu_about): don't set help_func and help_id on the about
	dialog.
2004-10-04 13:06:00 +00:00
Michael Natterer 3eb69a85f0 tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/gradient.pdb disallow the
2004-10-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/palette.pdb: disallow the empty string for
	new brushes, gradients and palettes and check the return value
	of gimp_data_factory_data_new(). Cleanup.

	* app/core/gimpbrushgenerated.c (gimp_brush_generated_new)
	* app/core/gimpgradient.c (gimp_gradient_new)
	* app/core/gimpdatafactory.c (gimp_data_factory_data_new): same
	here. Fixes bug #154264.

	* app/core/gimpdata.[ch] (gimp_data_set_filename): added boolean
	"deletable" parameter because it's not derivable from "writable".

	* app/core/gimpdatafactory.c (gimp_data_factory_load_data): need
	to figure "deletable" separately from "writable" to be able to
	delete unsavable stuff in the user-writable data directories.
	Fixes bug #154410.

	(gimp_data_factory_data_save_single): cleaned up.

	* app/pdb/brush_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/palette_cmds.c
	* libgimp/gimpbrush_pdb.c
	* libgimp/gimpgradient_pdb.c
	* libgimp/gimppalette_pdb.c: regenerated.
2004-10-04 09:39:27 +00:00
Sven Neumann 97b6636472 a cleaned up version of the script contributed by Kevin Cozens (see bug
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/asc2img.scm: a cleaned up version of
	the script contributed by Kevin Cozens (see bug #153900).

	* plug-ins/script-fu/scripts/predator.scm: applied patch by Kevin
	Cozens that fixes use of the script on original layer (bug #152678).
2004-10-04 09:02:00 +00:00
Sven Neumann 2119f890d4 plug-ins/script-fu/scripts/3d-outline.scm
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/camo.scm
	* plug-ins/script-fu/scripts/clothify.scm
	* plug-ins/script-fu/scripts/flatland.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/land.scm
	* plug-ins/script-fu/scripts/predator.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm
	* plug-ins/script-fu/scripts/speed-text.scm
	* plug-ins/script-fu/scripts/spinning-globe.scm: applied patches
	from Kevin Cozens that define variables before first use (bug
	#153900).
2004-10-03 22:50:50 +00:00
Sven Neumann 8fd6576149 handle allocation > requisition for the gradient preview.
* libgimp/gimpgradientmenu.c: handle allocation > requisition for
	the gradient preview.
2004-10-03 22:47:36 +00:00
Sven Neumann 224633fef3 handle allocation > requisition for the gradient preview.
2004-10-04  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpgradientmenu.c: handle allocation > requisition for
	the gradient preview.

	* plug-ins/script-fu/script-fu-interface.c: added a horizontal
	size group for the left-aligned controls.
2004-10-03 22:28:32 +00:00
David Odin ae14240862 ported to GimpAspectPreview.
* plug-ins/common/destripe.c: ported to GimpAspectPreview.
2004-10-03 21:40:16 +00:00
David Odin fd0bf4c022 ported to GimpAspectPreview.
* plug-ins/common/nova.c: ported to GimpAspectPreview.
2004-10-03 20:26:45 +00:00
David Odin 7bba8619a0 ported to GimpAspectPreview.
* plug-ins/common/max_rgb.c: ported to GimpAspectPreview.
2004-10-03 18:25:14 +00:00
Michael Schumacher d270b23a32 plug-ins/dbbrowser/Makefile.am moved the libgimpprocbrowser to the
2004-10-03  Michael Schumacher <schumaml@gmx.de>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/script-fu/Makefile.am: moved the libgimpprocbrowser to
	the beginning of LDADD
2004-10-03 17:49:18 +00:00
David Odin c1ab97ec4b limit the size of the preview to 512 pixels. This prevents plug-ins using
* libgimp/gimpaspectpreview.c: limit the size of the preview to 512 pixels.
  This prevents plug-ins using gimp_drawable_get_thumbnail_data to crash.
2004-10-03 16:08:01 +00:00
David Odin 02f46efdcd ported to GimpAspectPreview and made some cleanups so this plug-in now use
* plug-ins/common/emboss.c: ported to GimpAspectPreview and made some
  cleanups so this plug-in now use the same naming scheme as other
  plug-ins do.
2004-10-03 15:11:43 +00:00
David Odin 2a19991fc2 ported to GimpAspectPreview.
* plug-ins/common/whirlpinch.c: ported to GimpAspectPreview.
2004-10-03 13:14:03 +00:00
Sven Neumann 9d2fdd95ea export the Colorize tool to the PDB. Fixes bug #154368.
2004-10-03  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/color.pdb: export the Colorize tool to the PDB.
	Fixes bug #154368.

	* app/pdb/color_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpcolor_pdb.[ch]: regenerated.
2004-10-03 12:57:06 +00:00
David Odin cf9a815d1b use a GimpAspectPreview to make the preview resizable.
* plug-ins/common/blinds.c: use a GimpAspectPreview to make the preview
  resizable.
2004-10-03 12:06:14 +00:00
David Odin ac1fd86ec7 Added a preview.
* plug-ins/common/ripple.c: Added a preview.
2004-10-03 10:53:52 +00:00
Adam Weinberger 1631eb6c0f Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-02 23:50:57 +00:00
David Odin d8d3c97cd7 use a GimpAspectPreview.
* plug-ins/common/polar.c: use a GimpAspectPreview.
2004-10-02 22:00:29 +00:00
David Odin 1305e89ef8 use a GimpAspectPreview and made the code much simpler.
* plug-ins/common/mapcolor.c: use a GimpAspectPreview and made the code
  much simpler.
2004-10-02 21:12:07 +00:00
David Odin 13f0c8349f use a GimpAspectPreview so the preview is now resizable.
* plug-ins/common/illusion.c: use a GimpAspectPreview so the preview is now
  resizable.
2004-10-02 18:26:41 +00:00
David Odin 589ea7e026 added a preview. This plug-in still need some work.
* plug-ins/common/apply_lens.c: added a preview.  This plug-in still need
  some work.
2004-10-02 11:34:25 +00:00
Michael Natterer dbd941c9f7 dispatch GDK_Escape to GimpTool::key_press().
2004-10-01  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_tool_events): dispatch GDK_Escape to
	GimpTool::key_press().

	* app/tools/gimpcroptool.c (gimp_crop_tool_key_press)
	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_key_press):
	* app/tools/gimptransformtool.c (gimp_transform_tool_key_press):
	cancel the tool on <Escape>.
2004-10-01 15:15:14 +00:00
Sven Neumann 9925247a9e it's Plug-In, not Plugin.
2004-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/plugin-browser.c: it's Plug-In, not Plugin.
2004-10-01 15:08:15 +00:00
Sven Neumann 71d0e39548 updated.
2004-10-01  Sven Neumann  <sven@gimp.org>

	* de.po: updated.
2004-10-01 14:56:07 +00:00
Sven Neumann 6e8bb7ac12 destroy the info dialog instead of hiding it. Fixes session management.
2004-10-01  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcroptool.c (crop_response): destroy the info
	dialog instead of hiding it. Fixes session management.
2004-10-01 12:41:54 +00:00
Sven Neumann ef736c43b4 unset the highlight from crop_response() so it gets called when cropping
2004-10-01  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcroptool.c: unset the highlight from
	crop_response() so it gets called when cropping is cancelled.

	* app/dialogs/info-dialog.c (info_dialog_show): do what the
	function name says, show the window, but don't present it.
	Fixes bugs #128833 and #138816.
2004-10-01 12:23:43 +00:00
Sven Neumann 65f0c88485 replaced the obtrusive drop-shadow by a thin white frame with a subtle
2004-10-01  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/stock-frame-64.png: replaced the obtrusive
	drop-shadow by a thin white frame with a subtle shadow. Taken from
	a mockup done by Jimmac.

	* app/widgets/gimpviewrenderer-frame.c: changed the hardcoded
	offsets for the new frame image :(
2004-10-01 11:17:46 +00:00
Sven Neumann 297b53a466 no need to include gimpdisplayshell-render.h here.
2004-10-01  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c: no need to include
	gimpdisplayshell-render.h here.

	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell-render.[ch]

	* app/display/gimpdisplayshell.[ch]: added an API to highlight a
	rectangle (specified in image coordinates). Actually it doesn't
	highlight but dims the area outside the rectangle.

	* app/tools/gimpcroptool.c: use the new functionality to show the
	area to be cropped. Fixes bug #93360.
2004-10-01 09:50:04 +00:00
Sven Neumann efc2187e80 updated for dbbrowser changes 2004-09-30 18:15:09 +00:00
Michael Natterer 96ab952f5c moved stuff to right section.
2004-09-30  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt: moved stuff to right section.

	* libgimp/tmpl/gimppalettes.sgml
	* libgimp/tmpl/gimppaletteselect.sgml: regenerated.
2004-09-30 15:07:52 +00:00
Michael Natterer 18af15ee94 renamed member "decription" to "menu_path".
2004-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-types.h (struct SFScript): renamed
	member "decription" to "menu_path".

	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

	* plug-ins/script-fu/script-fu-scripts.c: ditto. Don't pass the
	menu_path as "blurb" to gimp_install_temp_proc(). Instead,
	pass "help" as "blurb" and nothing as "help".

	* plug-ins/script-fu/scripts/test-sphere.scm: shortened overly
	long and useless help text.
2004-09-30 12:37:42 +00:00
Michael Natterer 662559ee88 don't include "libgimp/stdplugins-intl.h".
2004-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/gimpprocbox.c: don't include
	"libgimp/stdplugins-intl.h".

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: use gimp_destroy_paramdefs()
	so we don't leak all param names and descriptions.

	* plug-ins/dbbrowser/gimpprocview.c: don't show empty rows or
	redundant information (help == blurb for deprecated procedures).
2004-09-30 12:02:44 +00:00
Michael Natterer 9ba57069e6 plug-ins/dbbrowser/Makefile.am new files holding more common code from the
2004-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpprocbox.c: new files holding more common
	code from the two browsers.

	* plug-ins/dbbrowser/gimpprocbrowser.c: use it.

	* plug-ins/dbbrowser/plugin-browser.c: ditto. Re-enabled sorting
	by all columns in both views. More cleanup.
2004-09-30 10:57:57 +00:00
Sven Neumann 79fd36cf4a updated german translation.
2004-09-30  Sven Neumann  <sven@gimp.org>

	* de.po: updated german translation.
2004-09-30 10:36:15 +00:00
Sven Neumann c09661c287 added missing linebreak.
2004-09-30  Sven Neumann  <sven@gimp.org>

	* README: added missing linebreak.

	* plug-ins/imagemap/imap_about.c (do_about_dialog): should not
	mark email address for translation.
2004-09-30 10:35:53 +00:00
Daniel Egger 8d10caab43 Applied proofreading patch from Jonathan Levi <drjlevi@netonecom.net>.
2004-09-30  Daniel Egger  <degger@fhm.edu>

	* README: Applied proofreading patch from Jonathan Levi
	<drjlevi@netonecom.net>.
2004-09-30 09:08:43 +00:00
Sven Neumann 233e14caad updated.
2004-09-30  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated.
2004-09-30 09:05:38 +00:00
Michael Natterer 95c903ec8b Cleaned up the DB Browser and Plugin Details code and GUI. It's not
2004-09-30  Michael Natterer  <mitch@gimp.org>

	Cleaned up the DB Browser and Plugin Details code and GUI.  It's
	not perfect yet but at least they don't look like crap any more.
	Fixes bug #131490.

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/plugindetails.c: removed this plugin.

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

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

	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
	* plug-ins/dbbrowser/gimpprocview.[ch]: new cleaned up files.

	* plug-ins/dbbrowser/plugin-browser.c: the former plugindetails.
	* plug-ins/dbbrowser/procedure-browser.c: the former dbbrowser.

	* plug-ins/script-fu/Makefile.am: link against the new library
	libgimpprocbrowser.a

	* plug-ins/script-fu/script-fu-console.c: changed #includes
	accordingly. Monir cleanup.

	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): fixed menu_path
	return value. Was broken since the plug-in menu registering
	changes.

	* app/pdb/plug_in_cmds.c: regenerated.
2004-09-30 00:33:34 +00:00
Sven Neumann 7762dbd9c9 NEWS update 2004-09-29 23:46:28 +00:00
Sven Neumann 872c5a83ae fixed brokeness I introduced with my last cleanup.
2004-09-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c (gimp_help_get_locales): fixed brokeness
	I introduced with my last cleanup.
2004-09-29 23:31:05 +00:00
Manish Singh 6387c6a38f applied slightly tweaked patch from Joao S. O. Bueno, which adds a
2004-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpfu.py: applied slightly tweaked patch
        from Joao S. O. Bueno, which adds a mutliline text field (PF_TEXT) and
        untabbifies things. Closes bug #153921.

        * plug-ins/pygimp/plug-ins/gimpplugin.py
        * plug-ins/pygimp/plug-ins/gimpshelf.py
        * plug-ins/pygimp/plug-ins/gimpui.py: Untabbify.
2004-09-29 23:09:30 +00:00
Manish Singh c1f29141ec minor tweak to history behavior.
2004-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gtkcons.py: minor tweak to history
        behavior.

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/gtkcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py
        * plug-ins/pygimp/plug-ins/shadow_bevel.py
        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/whirlpinch.py: Untabbify
2004-09-29 23:04:31 +00:00
Sven Neumann b41bb55d15 some issues I've overseen in my last commit 2004-09-29 15:48:08 +00:00
Sven Neumann 439523c3af *** empty log message *** 2004-09-29 15:40:57 +00:00
Sven Neumann ab1045b8a1 plugged a tiny memleak spotted by Olivier.
2004-09-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcropoptions.c (gimp_crop_options_gui): plugged a
	tiny memleak spotted by Olivier.
2004-09-29 15:40:29 +00:00
Sven Neumann de37bbb7f8 libgimpwidgets/gimppreview.[ch] added gimp_preview_draw_buffer().
2004-09-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]
	* libgimpwidgets/gimpwidgets.def: added gimp_preview_draw_buffer().

	* libgimp/gimpaspectpreview.[ch]
	* libgimp/gimpdrawablepreview.[ch]
	* libgimp/gimpui.def: removed the public draw_buffer API.
	Implement the virtual GimpPreview::draw_buffer method instead.

	* plug-ins/common/cartoon.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/dog.c
	* plug-ins/common/edge.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c
	* plug-ins/common/gauss.c
	* plug-ins/common/grid.c
	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/oilify.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/plasma.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sobel.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c: changed accordingly. Don't pass the
	preview around as GimpDrawablePreview or GimpAspectPreview. It
	should whenever possible be accessed as GimpPreview.
2004-09-29 15:33:02 +00:00
Sven Neumann 94bdc06173 libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt
2004-09-29  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpaspectpreview.sgml
	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: updated after preview changes.

	* libgimpwidgets/tmpl/gimpscrolledpreview.sgml: new file.
2004-09-29 13:55:26 +00:00
Sven Neumann c4bf786cc2 libgimpwidgets/gimppreview.[ch] libgimpwidgets/gimpscrolledpreview.[ch]
2004-09-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]
	* libgimpwidgets/gimpscrolledpreview.[ch]
	* libgimpwidgets/gimpwidgets.def: moved the offsets and the
	draw_thumb method back to the GimpPreview class.

	* libgimp/gimpdrawablepreview.c: changed accordingly.

	* plug-ins/common/bumpmap.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/dog.c
	* plug-ins/common/edge.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c
	* plug-ins/common/gauss.c
	* plug-ins/common/grid.c
	* plug-ins/common/mblur.c
	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/oilify.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/wind.c: back to using gimp_preview_get_position().

	* libgimp/gimpregioniterator.c (gimp_rgn_iterator_new): corrected
	gtk-doc comment.
2004-09-29 13:39:23 +00:00
David Odin 17272d76c8 Use a GimpAspectPreview here, so the preview is resizable.
* plug-ins/common/snoise.c: Use a GimpAspectPreview here, so the preview is
  resizable.
2004-09-29 12:31:52 +00:00