Commit Graph

2360 Commits

Author SHA1 Message Date
Manish Singh 84c1f981ea app/paint-funcs/paint-funcs.c plug-ins/common/psd_save.c 64-bit cleaniless
2002-02-08  Manish Singh  <yosh@gimp.org>

        * app/paint-funcs/paint-funcs.c
        * plug-ins/common/psd_save.c
        * plug-ins/common/sample_colorize.c: 64-bit cleaniless cleanups.
2003-02-08 00:37:27 +00:00
Michael Natterer eeec3cedb8 Added object properties for almost all tool_options values and registered
2003-02-07  Michael Natterer  <mitch@gimp.org>

	Added object properties for almost all tool_options values
	and registered lots of enums with the type system:

	Part I (enum and type cleanup):

	* app/core/core-enums.[ch]
	* app/core/core-types.h: removed InternalOrientaionType and
	register GimpOrientationType. Register GimpChannelOps.
	Removed GimpToolOptionsGUIFunc.

	* app/xcf/xcf-private.h: added XcfOrientationType with the
	same values as the old InternalOrientationType

	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c: translate between GimpOrientationType and
	XcfOrientationType.

	* app/core/gimpdrawable-transform-utils.[ch]
	* app/core/gimpdrawable-transform.[ch]
	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-guides.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage.h
	* app/display/gimpdisplayshell.c
	* tools/pdbgen/stddefs.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.

	* app/pdb/guides_cmds.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimpenums.h
	* libgimpproxy/gimpproxytypes.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimptool/gimptoolenums.[ch]: added GimpTransformGridType.

	* libgimptool/gimptooltypes.h: removed GimpToolOptionsResetFunc,
	added GimpToolOptionsGUIFunc.

	Part II (tool options changes):

	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
	don't reset object properties because they have NULL as default
	value.

	* app/widgets/gimppropwidgets.[ch]: added
	gimp_prop_[enum|boolean]_radio_frame_new(),
	gimp_prop_paint_mode_menu_new() and gimp_prop_scale_entry_new(),
	which are all needed by the new tool options GUI code.

	* app/tools/tool_options.[ch]: removed the "reset_func" since
	the virtual reset() method is used now.

	* app/paint/gimpairbrushoptions.[ch]
	* app/paint/gimpcloneoptions.[ch]
	* app/paint/gimpconvolveoptions.[ch]
	* app/paint/gimpdodgeburnoptions.[ch]
	* app/paint/gimperaseroptions.[ch]
	* app/paint/gimppaintoptions.[ch]
	* app/paint/gimpsmudgeoptions.[ch]: added properties all over the
	place and removed the widget and default_value members from
	the structs. Renamed some values (e.g. s/type/clone_type/).
	Don't #include <gtk/gtk.h>.

	* app/paint/gimpairbrush.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimppaintcore-stroke.c
	* app/paint/gimppaintcore.c
	* app/paint/gimppencil.c
	* app/paint/gimpsmudge.c
	* app/paint/paint-types.h
	* app/paint/paint.c: changed accordingly. Don't #include <gtk/gtk.h>.

	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.

	* app/pdb/paint_tools_cmds.c: regenerated.

	* app/tools/gimpblendoptions.[ch]
	* app/tools/gimpbucketfilloptions.[ch]
	* app/tools/gimpcolorpickeroptions.[ch]
	* app/tools/gimpcropoptions.[ch]
	* app/tools/gimpflipoptions.[ch]
	* app/tools/gimpinkoptions.c
	* app/tools/gimpmagnifyoptions.[ch]
	* app/tools/gimpmeasureoptions.[ch]
	* app/tools/gimpmoveoptions.[ch]
	* app/tools/gimptextoptions.c
	* app/tools/paint_options.[ch]
	* app/tools/selection_options.[ch]
	* app/tools/transform_options.[ch]: ditto: added properties and
	removed widget and default_value stuff. Removed most reset functions.
	Use gimp_prop widgets all over the place, renamed some values
	as above.

	* app/tools/Makefile.am
	* app/tools/gimpairbrushtool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimpsmudgetool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectoroptions.c: changed accordingly. Ported
	the paint_options GUI constructors to gimp_prop widgets.

	* app/widgets/gimpselectioneditor.c
	* app/gui/tool-options-dialog.c: changed accordingly.
2003-02-07 17:12:21 +00:00
Pablo Gonzalo del Campo 6d827d98bc Updated Spanish translation
2003-02-06  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation
2003-02-06 21:24:11 +00:00
Sven Neumann b3e42143de applied a patch from David Necas <yeti@physics.muni.cz> that fixes bug
2003-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/randomize.c: applied a patch from David Necas
	<yeti@physics.muni.cz> that fixes bug #105339.
2003-02-05 22:29:40 +00:00
Manish Singh 83f2738a3b if the quality level is close to zero in non-interactive mode, use default
2003-02-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (run): if the quality level is close to zero
        in non-interactive mode, use default settings. This is hack until
        the PDB gets default arguments, so gimp-file-save works sanely with
        jpeg.
2003-02-05 19:54:20 +00:00
Sven Neumann d9da9219ee plug-ins/gimpressionist/gimpressionist.h plug-ins/gimpressionist/*.c fixed
2003-02-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/gimpressionist.h
	* plug-ins/gimpressionist/*.c
	* plug-ins/imagemap/imap_rectangle.c: fixed includes to make it
	compile again.
2003-02-04 12:50:42 +00:00
Maurits Rijk 05bd8fc9d2 Fix for #105062 + minor code clean-up 2003-02-04 11:59:35 +00:00
Sven Neumann 52e9d75d2e applied another patch from David Necas <yeti@physics.muni.cz> that fixes
2003-02-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: applied another patch from
	David Necas <yeti@physics.muni.cz> that fixes #82470. Added some
	stock icons and mnemonics.
2003-02-03 13:47:13 +00:00
Sven Neumann 6d4e953412 Some code cleanup while trying to fix bug #105062:
2003-02-03  Sven Neumann  <neo@wintermute>

	Some code cleanup while trying to fix bug #105062:

	* libgimp/gimpmisc.[ch]: moved the declaration of the
	GimpPixelFetcher struct to the .c file since noone should ever
	access it directly.

	* libgimp/gimpmiscui.c: cosmetics.

	* plug-ins/common/plasma.c: code cleanup, doesn't fix #105062.
2003-02-02 23:28:08 +00:00
Sven Neumann 0b90802f3b fixed some issues (mainly coding style) with the new load and save
2003-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: fixed some issues (mainly
	coding style) with the new load and save routines.
2003-02-02 18:38:20 +00:00
Sven Neumann 76e8bf6a6a applied a large patch from David Necas <yeti@physics.muni.cz> that fixes a
2003-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: applied a large patch from
	David Necas <yeti@physics.muni.cz> that fixes a couple of bugs and
	adds some additional features. Fixes bugs #82466, #82472 and
	#82473 and addresses bug #82470.
2003-02-02 18:08:24 +00:00
Maurits Rijk 49e8789d59 More code clean-up in several plug-ins, mainly simplifying preview stuff. 2003-02-01 22:26:34 +00:00
Kwok-Koon Cheung 71d6126a8a Updated traditional Chinese translation 2003-01-31 19:04:30 +00:00
Manish Singh 90b2de503d app/undo_history.c libgimp/gimpmenu.c plug-ins/Lighting/lighting_preview.c
2003-01-30  Manish Singh  <yosh@gimp.org>

        * app/undo_history.c
        * libgimp/gimpmenu.c
        * plug-ins/Lighting/lighting_preview.c
        * plug-ins/common/animationplay.c
        * plug-ins/common/jpeg.c
        * plug-ins/common/screenshot.c
        * plug-ins/gap/gap_navigator_dialog.c
        * plug-ins/gflare/gflare.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_polygon.c: changed gtk_{timeout,idle} stuff
        to their glib equivalents. Minor cleanups also with support code.

        * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): use
        gtk_entry_set_activates_default()
2003-01-31 03:08:29 +00:00
Seth Burgess e717e0731c Fixed off by 1 error that was emitting Critical warnings. 2003-01-31 02:15:52 +00:00
Maurits Rijk 801c6d61b1 Mostly minor code clean-up. Fixed one memory leak. 2003-01-30 21:58:11 +00:00
Manish Singh 67e8b3b4a5 don't divide by zero if we get all zero resolution info when we load the
2003-01-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (load_image): don't divide by zero if
        we get all zero resolution info when we load the jpeg.
2003-01-30 01:13:41 +00:00
Tor Lillqvist bde4579f6a Add missing entry points.
2003-01-28  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimpui.def: Add missing entry points.

	* plug-ins/common/plugin-defs.pl: Mark bz2, mail, screenshot and
	url as optional (not built on Win32). Ditto for winclipboard and
	winprint (Win32 only).

	* plug-ins/common/mkgen.pl: Use -mwindows on Win32.

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

	* configure.in: Correspondingly conditionally define BZ2, MAIL,
	SCREENSHOT, URL, WINCLIPBOARD and WINPRINT, and AC_SUBST them.
	Set XJT to empty always on Win32 (uses tar, mv and bzip2, which
	aren't usually available).
2003-01-28 06:51:56 +00:00
Maurits Rijk 9984145f49 New routine in gimpmiscui and some code clean-up 2003-01-27 22:07:49 +00:00
Sven Neumann caf6d3d532 configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2003-01-27  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/mpeg.c: removed the MPEG plug-in. It has been
	broken, unmaintained and caused nothing but trouble (#51400,
	#104522).
2003-01-27 12:49:46 +00:00
Michael Natterer a541421efe app/plug-in/plug-ins.c libgimp/libgimp-intl.h libgimpwidgets/gimpstock.c
2003-01-26  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-ins.c
	* libgimp/libgimp-intl.h
	* libgimpwidgets/gimpstock.c
	* plug-ins/perl/Gimp.xs
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-intl.h: replaced all remaining
	"gimp14" by GETTEXT_PACKAGE.
2003-01-26 12:24:05 +00:00
Sven Neumann 46ee0ec13b added a tooltip describing the compression level scale as suggested in
2003-01-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added a tooltip describing the
	compression level scale as suggested in #68485.
2003-01-26 01:27:01 +00:00
Kjartan Maraas 357bed934c Updated Norwegian translation.
2003-01-22  Kjartan Maraas  <kmaraas@gnu.org>

	* no.po: Updated Norwegian translation.
2003-01-22 00:07:52 +00:00
Sven Neumann 96ae98c955 applied patch from Martin Weber that removes an outdated link (#103976).
2003-01-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/AlienMap2.c: applied patch from Martin Weber
	that removes an outdated link (#103976).
2003-01-20 20:17:36 +00:00
Maurits Rijk 2c5614e9df Added mnemonics to several dialogs. 2003-01-19 14:40:56 +00:00
Sven Neumann bad9bb7412 just a minor string change.
2003-01-19  Sven Neumann  <sven@gimp.org>

	* app/main.c: just a minor string change.

	* modules/Makefile.am: minor cleanup

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: removed unused functions.
2003-01-19 12:44:31 +00:00
Maurits Rijk c311c5c81f Fixes #103025 2003-01-18 15:02:50 +00:00
Maurits Rijk c0a8755f54 Fix for #81966 2003-01-17 16:08:49 +00:00
Manish Singh 248dbd1e93 app/core/gimpchannel.h app/core/gimpitem.c
2003-01-14  Manish Singh  <yosh@gimp.org>

        * app/core/gimpchannel.h
        * app/core/gimpitem.c
        * app/display/gimpnavigationview.c
        * app/gui/paths-dialog.c
        * app/tools/gimphistogramtool.c
        * app/tools/gimpscaletool.c
        * app/widgets/gimplistitem.c
        * libgimp/gimppixelrgn.c
        * libgimpwidgets/gimpunitmenu.c
        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/common/aa.c
        * plug-ins/common/despeckle.c
        * plug-ins/common/psd.c
        * plug-ins/common/sharpen.c
        * plug-ins/common/snoise.c
        * plug-ins/common/spread.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/xjt/xjt.c: some minor code cleanup

        * plug-ins/common/csource.c: 64-bit cleanliness
2003-01-15 03:55:20 +00:00
Sven Neumann 99c925b2b2 merged fix for #102435 from stable branch 2003-01-14 14:24:32 +00:00
Sven Neumann f721275a69 app/gui/image-menu.c applied a patch from Henrik Brix Andersen that
2003-01-14  Sven Neumann  <sven@gimp.org>

	* app/gui/image-menu.c
	* plug-ins/common/threshold_alpha.c: applied a patch from Henrik
	Brix Andersen that changes the Alpha menu to Transparency (#89275).
2003-01-14 13:53:24 +00:00
Sven Neumann 26f61357c1 merged fix for bug #83458 from stable branch.
2003-01-14  Sven Neumann  <sven@gimp.org>

	* it.po: merged fix for bug #83458 from stable branch.
2003-01-14 11:19:56 +00:00
Dave Neary 033778fe57 plug-ins/common/plugin-def.pl plug-ins/common/psd_save.c
2003-01-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/plugin-def.pl
        * plug-ins/common/psd_save.c
        * plug-ins/common/Makefile.am
        * plug-ins/common/.cvsignore: Finally added PSD save support
2003-01-12 18:50:52 +00:00
Manish Singh 6767e671f8 plug-ins/common/plugin-def.pl plug-ins/common/Makefile.am Commented out
2003-01-12  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugin-def.pl
        * plug-ins/common/Makefile.am
        * plug-ins/common/.cvsignore: Commented out the psd_save.c bit for
        now, looks like bolsh forgot to cvs add the file.
2003-01-12 16:50:14 +00:00
Dave Neary 6098d87148 plug-ins/common/plugin-def.pl plug-ins/common/psd_save.c
2003-01-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/plugin-def.pl
        * plug-ins/common/psd_save.c
        * plug-ins/common/Makefile.am
        * plug-ins/common/.cvsignore: Added PSD save support (alpha) to
        devel branch, from a plug-in written by Monignotes (?). This
        should be integrated into the main PSD plug-in before 1.4 - or
        should at least use the same PsdImage structure.
2003-01-12 09:48:10 +00:00
Sven Neumann bf12a078f0 always build gimpconfig-dump.
2003-01-11  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am: always build gimpconfig-dump.

	* app/config/gimpconfig-params.[ch]: added an enum to specify the
	type of path with GIMP_PARAM_SPEC_PATH.

	* app/config/gimpconfig-dump.c: document the different types of
	paths differently.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c: register the path types.

	* etc/gimprc: generated a new system gimprc.

	* plug-ins/common/tiff.c: added missing spaces in warning and
	removed trailing newlines in strings passed to g_message().
2003-01-11 01:31:22 +00:00
Maurits Rijk 72bcaa38fc Fixing dumb mistake in my last commit. 2003-01-10 22:16:15 +00:00
Maurits Rijk 28ade0ed62 Fix for #95737 2003-01-10 21:44:54 +00:00
Maurits Rijk 891520c407 Fix for #96611 (again) 2003-01-10 20:14:30 +00:00
Dom Lachowicz 2a6d3edd4e fix typo before sending patch up to gimp people 2003-01-10 15:46:47 +00:00
Maurits Rijk bfd02e4db3 Fix for #96611 2003-01-10 13:59:41 +00:00
Sven Neumann a46305046a prefixed ALL, NONE, GROW and SHRINK with SELECTION_ since they should only
2003-01-10  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.[ch]: prefixed ALL, NONE, GROW and
	SHRINK with SELECTION_ since they should only be used for in a
	selection context. Register a few icons in dialog size as well.

	* app/gui/menus.c
	* app/widgets/gimpselectioneditor.c: changed accordingly.

	* themes/Default/images: renamed icons accordingly.

	* plug-ins/common/uniteditor.c: use stock items.
2003-01-10 13:01:41 +00:00
Sven Neumann ebe2108479 fixed a compiler warning.
2003-01-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: fixed a compiler warning.

	* plug-ins/gfig/gfig.c: fixed preview code so that the plug-in is
	at least a bit useful again. Misc minor cleanups, still a mess.
2003-01-09 23:17:36 +00:00
Maurits Rijk cd346d2c64 Fix for #83968 2003-01-09 17:24:11 +00:00
Sven Neumann a235bb6a72 plug-ins/gfig/images/Makefile.am new Gfig logo courtesy of Owen
2003-01-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/images/Makefile.am
	* plug-ins/gfig/images/stock-logo.png: new Gfig logo courtesy of
	Owen <oc@webone.com.au>.

	* plug-ins/gfig/gfig-stock.[ch]
	* plug-ins/gfig/gfig.c: use the new logo icon.

	* plug-ins/gfig/pix_data.h: removed the old one.
2003-01-09 12:02:27 +00:00
Sven Neumann bf31a00fc8 use _("Unnamed") if no name was given. Fixes bug #89328 in a more general
2003-01-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_configure): use _("Unnamed")
	if no name was given. Fixes bug #89328 in a more general way.

	* plug-ins/common/psd.c: simply pass NULL as layer and channel
	name if the PSD file provides none.
2003-01-09 10:42:43 +00:00
Manish Singh 6423b26881 import gtkcons only when we're about to use it. This and below allows
2003-01-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/gimpcons.py: import gtkcons only when we're about to use
        it. This and below allows plug-in query to work even without an
        interface.

        * plug-ins/pdbbrowse.py: define BrowseWin (which needs gtk) only
        when we need it and are guaranteed a gui setup.
2003-01-08 23:44:08 +00:00
Maurits Rijk eeae3baa41 Fix for #89328 2003-01-08 23:01:04 +00:00
Maurits Rijk 9251579729 Fixes #91282 2003-01-08 21:38:12 +00:00
Sven Neumann 2249372b13 made them all 24x24 2003-01-08 19:34:35 +00:00