Commit Graph

3617 Commits

Author SHA1 Message Date
Sven Neumann 3d501d24a6 added a naive glob() implementation which handles the most common use case
2004-11-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/glob.c: added a naive glob() implementation
	which handles the most common use case and is certainly better
	than nothing. Closes bug #143661 again.
2004-11-19 21:19:07 +00:00
Sven Neumann 21d9257abf just some minor code cleanup.
2004-11-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c: just some minor code cleanup.
2004-11-19 20:00:22 +00:00
Sven Neumann 57245fa6e3 plug-ins/gfig/gfig-dialog.c combined two "Stroke" labels into a single
2004-11-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-style.c: combined two "Stroke" labels into a
	single one.
2004-11-19 19:02:06 +00:00
Sven Neumann 9b50c8b2ca applied a (modified) patch that adds the possibility to correlate the
2004-11-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/noisify.c: applied a (modified) patch that adds
	the possibility to correlate the noise with the signal. Adds the
	new PDB procedure "plug_in_scatter_rgb". Fixes bug #158700.

	* plug-ins/helpbrowser/dialog.c: set a reasonable default size.
2004-11-19 18:11:25 +00:00
Sven Neumann ef31a5f714 fixed use of fread(). Unfortunately this slowed down the plug-in again.
2004-11-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (skip_ps) (ps_close): fixed use of
	fread(). Unfortunately this slowed down the plug-in again.
	Disabled the code that reads the pipe to the end. This brings it
	back to speed. Seems to work fine for me, let's see if this causes
	problems for anyone...
2004-11-19 13:34:07 +00:00
Sven Neumann 7ec940630c moved into the <Image>/Select/Modify now that we can safely use
2004-11-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: moved into the
	<Image>/Select/Modify now that we can safely use placeholders from
	Script-Fu.
2004-11-19 13:01:33 +00:00
Kevin Cozens 1fc03106cb tiny-fu/tiny-fu.c tiny-fu/tiny-fu-scripts.c Added support for
2004-11-18  Kevin Cozens  <kcozens@cvs.gimp.org>

	* tiny-fu/tiny-fu.c
	* tiny-fu/tiny-fu-scripts.c
	* tiny-fu/tiny-fu-scripts.h: Added support for (tiny-fu-menu-register)
	to allow scripts to register their menu_paths the same undeprecated
	way as plug-ins. Fixes bug #158117. Renamed tiny_fu_find_scripts() to
	tiny_fu_load_all_scripts(). Added calls to gettext() since TinyScheme
	no longer translates marked strings. In tiny_fu_script_proc() changed
	some uses of params variable that should have been param.

	* tiny-fu/tiny-fu-interface.c: Added a utility function to reduce
	code duplication.

	* tiny-fu/ts-wrapper.c: Added support for (tiny-fu-menu-register).

	* tinyscheme/scheme.c: Don't call gettext() on strings marked for
	translation. De-tabified file.

	* scripts/test-sphere.sct: Example use of new API for scripts.
2004-11-19 03:56:40 +00:00
Sven Neumann b606e95236 added a thumbnail load procedure (bug #158193).
2004-11-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: added a thumbnail load procedure
	(bug #158193).
2004-11-18 22:49:45 +00:00
Michael Natterer 8a46203e5a Script-Fu string cleanup/simplification: apply the same fix for menu path
2004-11-18  Michael Natterer  <mitch@gimp.org>

	Script-Fu string cleanup/simplification: apply the same fix for
	menu path translation that was done for plug-ins a while ago.

	* plug-ins/script-fu/script-fu.c (script_fu_auxillary_init): use
	gimp_plugin_menu_register() on the "Refresh" temp_proc.

	* plug-ins/script-fu/scripts/*.scm: ported all scripts to use
	script-fu-menu-register and pass just the menu label in
	script-fu-register. Cleaned up all register calls to share a
	somewhat similar formatting.
2004-11-18 22:44:28 +00:00
Sven Neumann 2d4aad8683 changed the default to load only the first page of the document and added
2004-11-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c: changed the default to load only
	the first page of the document and added a tooltip describing how
	to specify what pages to get.
2004-11-18 21:36:10 +00:00
Sven Neumann 86a8c17025 speed up loading of multi-page documents significantly by skipping in
2004-11-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c: speed up loading of multi-page
	documents significantly by skipping in large chunks instead of using
	fgetc() to crawl through the stream.
2004-11-18 21:10:12 +00:00
Sven Neumann 181c089a51 check the number of return values. Only retrieve width and height if the
2004-11-18  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.c (file_open_thumbnail): check the number of
	return values. Only retrieve width and height if the thumbnail
	load procedure does actually provide such this information.

	* plug-ins/common/postscript.c: added a procedure to loads
	thumbnails.  For now it only renders the first page of the
	document at low resolution. It should be extended to load an
	embedded thumbnail if available.

	* plug-ins/common/jpeg.c
	* plug-ins/common/svg.c: no need to register a menu label for the
	thumbnail loaders. Allocate the return_vals array large enough to
	hold all return values.
2004-11-18 19:00:02 +00:00
Michael Natterer 30164f1be2 added back the .xcf.gz and .xcf.bz2 extensions because they are the only
2004-11-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compressor.c (compressors): added back the
	.xcf.gz and .xcf.bz2 extensions because they are the only way
	to figure the special nature of this plug-in's extensions.

	* app/widgets/gimpfileprocview.[ch]: keep a list of "meta
	extensions" (extensions which have a '.' themselves).

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_proc_changed):
	try to replace the whole extension if the last extension is one of
	the meta extensions kept by GimpFileProcView. Fixes bug #158377.
2004-11-18 11:50:25 +00:00
Sven Neumann a1f5eabb6c plug-ins/maze/maze.[ch] removed the extra help button from the Maze
2004-11-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/maze/maze.[ch]
	* plug-ins/maze/maze_face.c: removed the extra help button from
	the Maze plug-in. Fixes bug #158605.
2004-11-18 08:59:56 +00:00
Michael Natterer b8344d519c The following fixes have no visible effect because nobody uses
2004-11-18  Michael Natterer  <mitch@gimp.org>

	The following fixes have no visible effect because nobody
	uses gimp_plugin_menu_register() on temp_procs yet:

	* app/actions/plug-in-actions.[ch]: added
	plug_in_actions_add_path() which just adds the actions needed for
	a given menu math, but not the procedure action itself.

	* app/gui/gui-vtable.c (gui_menus_create_entry): create the
	menu_path's actions using above function so adding of submenus to
	existing ui managers works.

	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register_invoker):
	don't add a menu if "no_interface" is TRUE.

	* app/pdb/plug_in_cmds.c: regenerated.

	* plug-ins/script-fu/script-fu-scripts.c: pass untranslated
	menu_paths to the core, not translated ones. Don't store the
	scripts directly in the "script_list" tree but use a list of
	scripts per key because there can be identical keys for different
	scripts now. Fixed sorting of menu entries and menus.
2004-11-18 01:57:13 +00:00
Dave Neary dded69dcc8 Fixed initialisation issue that was crashing the plug-in on repeat runs.
2004-11-17  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/bumpmap.c: Fixed initialisation issue
	that was crashing the plug-in on repeat runs. Fixes bug
	#158494.
2004-11-17 21:49:08 +00:00
Manish Singh b91a3dd27e make libgimpprocbrowser a libtooled library.
2004-11-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/dbbrowser/Makefile.am: make libgimpprocbrowser a libtooled
        library.

        * plug-ins/dbbrowser/gimpprocbrowser.[ch]: add a user_data pointer
        for GimpProcBrowserApplyCallback.

        * plug-ins/dbbrowser/gimpprocbrowser.c: only convert the name to
        scheme style if scheme_names in the proc info pane too.

        * plug-ins/dbbrowser/procedure-browser.c
        * plug-ins/script-fu/script-fu-console.c: pass NULL as user_data.

        * plug-ins/script-fu/Makefile.am: reference libgimpprocbrowser.la.

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/procbrowser.c: new module, which wraps
        libgimprocbrowser.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-pdb.c: export GimpPDBFunction so other
        modules can use it.

        * plug-ins/pygimp/plug-ins/pdbbrowse.py
        * plug-ins/pygimp/plug-ins/gimpcons.py: use gimpprocbrowser.
2004-11-17 20:02:23 +00:00
Sven Neumann 235bb4082a added a utility function to reduce code duplication.
2004-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: added a utility
	function to reduce code duplication.
2004-11-17 17:06:22 +00:00
Michael Natterer 6580cc4c4a plug-ins/script-fu/script-fu-scripts.[ch] appled patch from Kevin Cozens
2004-11-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/siod-wrapper.c: appled patch from Kevin
	Cozens which adds (script-fu-menu-register) and allows scripts to
	register their menu_paths the same undeprecated way as plug-ins.
	Fixes bug #158117.

	* plug-ins/script-fu/scripts/test-sphere.scm: example how to use
	the new API. Doesn't change strings because test-shpere.scm is an
	untranslated example script.
2004-11-17 15:24:07 +00:00
Michael Natterer 9daad804e3 plug-ins/dbbrowser/gimpprocbox.c plug-ins/dbbrowser/gimpprocbrowser.[ch]
2004-11-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/gimpprocbox.c
	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
	* plug-ins/dbbrowser/gimpprocview.c: some cleanup in preparation
	of moving it to a more public place.

	* plug-ins/dbbrowser/procedure-browser.c
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.
2004-11-17 14:30:35 +00:00
Sven Neumann 4b55725846 plug-ins/rcm/Makefile.am plug-ins/rcm/rcm_callback.c
2004-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/Makefile.am
	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/rcm/rcm_stock.[ch]: applied a patch from Karine Proot
	that replaces the XPM icons with stock icons (bug #140202).

	* plug-ins/rcm/pixmaps/*.xpm: removed.

	* plug-ins/Lighting/lighting_stock.c
	* plug-ins/MapObject/mapobject_stock.c
	* plug-ins/gfig/gfig-stock.c: fixed a common but harmless mistake
	in the icon factory code.
2004-11-17 10:44:02 +00:00
Manish Singh ed0ff9f519 Handle placeholder defaults for gimp objects (bug #158392). Patch by Joao
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Handle placeholder defaults for gimp
        objects (bug #158392). Patch by Joao S. O. Bueno.
2004-11-17 03:14:13 +00:00
Manish Singh 027a85b17b Use img.name if filename is not available (bug #158392). Patch by Joao S.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Use img.name if filename is not
        available (bug #158392). Patch by Joao S. O. Bueno.
2004-11-17 03:11:46 +00:00
Manish Singh 007d7549b4 plug-ins/common/gimpfu.py Add a palette selector (bug #155325). Patch by
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gimpfu.py
        * plug-ins/common/gimpui.py: Add a palette selector (bug #155325).
        Patch by Joao S. O. Bueno.
2004-11-17 03:02:54 +00:00
Manish Singh f499a2aacd Fix -fu slider behavior (bug #155103). Patch by Joao S. O. Bueno.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gimpfu.py: Fix -fu slider behavior (bug #155103).
        Patch by Joao S. O. Bueno.
2004-11-17 02:58:50 +00:00
Manish Singh 5ab6167570 Remove unnecessary G_OBJECT() casts.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/glasstile.c: Remove unnecessary G_OBJECT() casts.
2004-11-17 02:55:29 +00:00
Manish Singh 54f7464829 Compile pygimp with -fno-strict-aliasing if the compiler supports it.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * configure.in:
        * plug-ins/pygimp/Makefile.am: Compile pygimp with
        -fno-strict-aliasing if the compiler supports it.

        * plug-ins/pygimp/gimpui.py: Make "..." into "Browse..." for
        everything but the filesel, for slightly more consistency with
        script-fu. Addresses #124791.

        * plug-ins/pygimp/gimpmodule.c: Wrapped
        gimp_context_{get,set}_gradient and
        gimp_gradient_get_{uniform,custom}_samples. Deprecated the deprecated
        versions of these, and rewrote them in terms of the new functions.
2004-11-17 02:50:53 +00:00
Sven Neumann bc69560b7e plug-ins/imagemap/imap_selection.c silent the compiler.
2004-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_selection.c
	* plug-ins/imagemap/imap_preferences.c: silent the compiler.
2004-11-17 01:26:58 +00:00
Michael Natterer 9560d154e4 applied (modified) patch from S. Mukund which adds EXIF thumbnail loading
2004-11-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/jpeg.c: applied (modified) patch from S. Mukund
	which adds EXIF thumbnail loading and saving.
	Fixes bugs #155761 and #158190.
2004-11-17 01:05:05 +00:00
David Odin a3f6b3e630 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-style.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.h: added a toggle so we can now choose to stroke
	the painting or not.
2004-11-16 22:45:35 +00:00
David Odin 8124795437 implemented the gradient fill, using a shapeburst blend. This is very
* plug-ins/gfig/gfig-dialog.c: implemented the gradient fill, using a
  shapeburst blend.  This is very slow, but I dont see how it could be
  done otherwise.
2004-11-16 19:36:30 +00:00
Sven Neumann ab3d24f1be added missing braces around initializer.
2004-11-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jigsaw.c: added missing braces around initializer.
2004-11-16 15:38:35 +00:00
Michael Natterer e856d58768 renamed the new drawable_foo_defaults() functions to
2004-11-16  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/drawable_transform.pdb: renamed the new
	drawable_foo_defaults() functions to drawable_foo_default() to be
	consistent with paintbrush_default() and friends.

	* tools/pdbgen/pdb/transform_tools.pdb
	* libgimp/gimp.def: changed accordingly.

	* app/pdb/drawable_transform_cmds.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimpdrawabletransform_pdb.[ch]
	* libgimp/gimptransformtools_pdb.c: regenerated.

	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/script-fu/scripts/text-circle.scm: follow the API change.
2004-11-16 15:25:13 +00:00
David Odin 8f0f5f11f5 renamed the DObject type to GfigObject, according to our common type
* plug-ins/gfig/gfig-dobject.h: renamed the DObject type to
  GfigObject, according to our common type naming.  This type will
  certainly become an abstract class in a near future.

* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-line.h
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-poly.h
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: changed accordingly.
2004-11-16 14:10:20 +00:00
Sven Neumann 8d4803c72c fixed typo (bug #158425).
2004-11-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/glossy.scm: fixed typo (bug #158425).
2004-11-16 10:59:53 +00:00
David Odin 4f10f3900b added a blurb proposed by Alan Horkan.
* plug-ins/gfig/gfig.c: added a blurb proposed by Alan Horkan.

* plug-ins/gfig/gfig-line.[ch]: smallish style fix.
2004-11-15 21:17:03 +00:00
David Odin 3f2da3a1fb better icon for the ellipse tool (a lot more elliptical) by Jimmac and
* plug-ins/gfig/images/stock-ellipse.png: better icon for the ellipse
  tool (a lot more elliptical) by Jimmac and Zigomar.
2004-11-15 20:52:40 +00:00
David Odin ff7f8b5f6b plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-dobject.c fixed a crash
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h: fixed a crash (the one triggered by
  this sequence: draw a line, delete it, redraw something), and
  corrected some ui spacing.
2004-11-14 21:16:06 +00:00
Sven Neumann 58adcf76e6 use the proper parent widget.
2004-11-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c (load_button_callback): use the
	proper parent widget.
2004-11-14 16:51:01 +00:00
David Odin 534bd0f0e0 plug-ins/gfig/gfig-dialog.c small UI tweaks, suggested by Sven.
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-types.h: small UI tweaks, suggested by
  Sven.
2004-11-14 16:37:12 +00:00
Sven Neumann ebe65f6569 configure.in plug-ins/rcm/Makefile.am plug-ins/rcm/images/Makefile.am
2004-11-14  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/rcm/Makefile.am
	* plug-ins/rcm/images/Makefile.am
	* plug-ins/rcm/images/rcm-360.png
	* plug-ins/rcm/images/rcm-a-b.png
	* plug-ins/rcm/images/rcm-ccw.png
	* plug-ins/rcm/images/rcm-cw.png: added PNG versions of the XPM
	icons used by the RCM plug-in. Added rules to build a header file
	that can be used to get rid of the XPM files (bug #140202).
2004-11-14 16:20:18 +00:00
David Odin ef1db26bf1 plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-dialog.h
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dialog.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: replace the crappy DAllObjs struct by a GList.
  Makes the code cleaner and less error prone.
2004-11-14 15:55:10 +00:00
Sven Neumann bd1f784fae applied a patch from Karine Proot that replaces the XPM icons with pixbufs
2004-11-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pagecurl/pagecurl.c: applied a patch from Karine Proot
	that replaces the XPM icons with pixbufs (bug #140202).

	* plug-ins/pagecurl/curl[0-7].xpm: removed.
2004-11-14 14:29:38 +00:00
Sven Neumann e1767a4b6e flattened the icons and converted to 8-bit/color 2004-11-14 12:36:56 +00:00
Sven Neumann 47061dbf78 fixed typo.
2004-11-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/Makefile.am: fixed typo.

	* plug-ins/pagecurl/Makefile.am
	* plug-ins/pagecurl/curl[0-7].png: added PNG versions of the XPM
	icons used by the PageCurl plug-in. Added rules to build a header
	file that can be used to get rid of the XPM files (bug #140202).
2004-11-14 12:20:50 +00:00
Manish Singh 5d01581069 Fix a bunch of warnings from Sparse:
2004-11-13  Manish Singh  <yosh@gimp.org>

        Fix a bunch of warnings from Sparse:

        * app/actions/dockable-commands.c
        * app/actions/layers-actions.c
        * app/actions/view-commands.c
        * app/base/pixel-surround.c
        * app/config/gimpconfig-utils.c
        * app/config/gimpscanner.c
        * app/core/gimpbrushgenerated.c
        * app/core/gimpcontainer.c
        * app/core/gimpimage.c
        * app/dialogs/palette-import-dialog.c
        * app/file/gimprecentlist.c
        * app/plug-in/plug-in-params.c
        * app/text/gimptext-compat.c
        * app/text/gimptext-parasite.c
        * app/vectors/gimpbezierstroke.c
        * app/vectors/gimpstroke.c
        * app/widgets/gimpcellrendereraccel.c
        * app/widgets/gimpselectiondata.c
        * app/xcf/xcf.c
        * libgimp/gimp.c
        * libgimpthumb/gimpthumb-utils.c
        * libgimpthumb/gimpthumbnail.c
        * modules/cdisplay_proof.c
        * plug-ins/Lighting/lighting_ui.c
        * plug-ins/common/csource.c
        * plug-ins/common/glasstile.c
        * plug-ins/common/nova.c
        * plug-ins/common/pcx.c
        * plug-ins/common/pnm.c
        * plug-ins/common/randomize.c
        * plug-ins/common/screenshot.c
        * plug-ins/common/sel_gauss.c
        * plug-ins/common/spheredesigner.c
        * plug-ins/common/wind.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-dobject.c
        * plug-ins/gimpressionist/gimpressionist.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/print/gimp_main_window.c
        * plug-ins/print/print.c: Cleanup integer vs. pointer confusion.

        * app/base/temp-buf.c
        * app/dialogs/about-dialog.c
        * plug-ins/common/bumpmap.c
        * plug-ins/common/jigsaw.c
        * plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.

        * app/config/gimpconfig-deserialize.c
        * app/config/gimpconfig-path.c
        * app/config/gimpconfigwriter.c
        * app/core/gimpgradient.c
        * app/tools/gimpdrawtool.c
        * plug-ins/common/nlfilt.c
        * plug-ins/common/unsharp.c
        * plug-ins/common/zealouscrop.c: Define inline functions before they
        are used.

        * app/core/gimpdrawable-blend.c: PixelRegion definition was changed
        some time ago, but the initialization here didn't change. Fix it.

        * app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
        assign token twice in a row.

        * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
        need to initialize file_data, since the code fills out all the fields.

        * plug-ins/common/CML_explorer.c
        * plug-ins/common/vpropagate.c: Declare function pointers fully.

        * plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
        we assume we can use the "inline" keyword always.

        * plug-ins/common/psd_save.c
        * plug-ins/common/vinvert.c
        * plug-ins/gfig/gfig-arc.c
        * plug-ins/gfig/gfig-bezier.c
        * plug-ins/gfig/gfig-circle.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-dobject.c
        * plug-ins/gfig/gfig-ellipse.c
        * plug-ins/gfig/gfig-line.c
        * plug-ins/gfig/gfig-poly.c
        * plug-ins/gfig/gfig-spiral.c
        * plug-ins/gfig/gfig-star.c
        * plug-ins/gfig/gfig.c
        * plug-ins/gimpressionist/orientmap.c
        * plug-ins/gimpressionist/placement.c
        * plug-ins/gimpressionist/sizemap.c
        * plug-ins/imagemap/imap_grid.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_preferences.c
        * plug-ins/imagemap/imap_settings.c
        * plug-ins/maze/maze.c
        * plug-ins/sel2path/curve.c
        * plug-ins/sel2path/fit.c
        * plug-ins/sel2path/pxl-outline.c
        * plug-ins/sel2path/spline.c
        * plug-ins/xjt/xjt.c: Functions with no args should be declared
        with (void).

        * plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
        the compiler.
2004-11-14 02:50:33 +00:00
Sven Neumann ec9ee41fe7 themes/Default/images/Makefile.am
2004-11-14  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-center-16.png
	* themes/Default/images/stock-center-24.png
	* themes/Default/images/stock-print-resolution-16.png
	* themes/Default/images/stock-print-resolution-24.png: new icons
	drawn by Jimmac.

	* libgimpwidgets/gimpstock.[ch]: registered the new icons.

	* app/actions/image-actions.c
	* app/dialogs/print-size-dialog.c
	* app/dialogs/resize-dialog.c
	* plug-ins/ifscompose/ifscompose.c: use them.
2004-11-14 01:51:21 +00:00
Kevin Cozens 61c39023d6 plug-ins/gfig/gfig.c Changed gimp-selection-none to gimp-selection-clear
2004-11-13  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/gfig/gfig.c
	* plug-ins/gfig/gfig-dialog.c: Changed gimp-selection-none to
	gimp-selection-clear (bug #156765)
2004-11-13 20:56:47 +00:00
Kevin Cozens 11e64d03cd plug-ins/script-fu/scripts/gimp-headers.scm
2004-11-13  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/gimp-headers.scm
	* plug-ins/script-fu/scripts/gimp-labels.scm
	* plug-ins/script-fu/scripts/news-text.scm
	* plug-ins/script-fu/scripts/speed-text.scm: Changed calls to
	gimp-selection-clear to use gimp-selection-none in preparation
	for the deprecation of -clear. (bug #156765)
2004-11-13 20:37:52 +00:00
Sven Neumann b62ca985aa app/plug-in/plug-in-proc-def.[ch] app/plug-in/plug-in-rc.c allow to
2004-11-13  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-proc-def.[ch]
	* app/plug-in/plug-in-rc.c
	* app/plug-in/plug-ins.[ch]: allow to associate a procedure for
	thumbnail loading with any file load procedure.

	* tools/pdbgen/pdb/fileops.pdb: export this functionality to the
	PDB as gimp_register_thumbnail_loader().

	* app/pdb/fileops_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpfileops_pdb.[ch]: regenerated.

	* app/core/gimpimagefile.c
	* app/file/file-open.[ch]: when creating a thumbnail for an image
	file, use a thumbnail load procedure if available.

	* plug-ins/common/svg.c: added "file_svg_load_thumb", a procedure
	that allows to load a small preview of the SVG image.
2004-11-13 17:06:06 +00:00