Commit Graph

4784 Commits

Author SHA1 Message Date
Kevin Cozens 7ad6a43360 Removed duplicate variable declaration from let block.
2006-12-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: Removed duplicate
	variable declaration from let block.
2006-12-09 22:49:07 +00:00
Sven Neumann eb399ef161 plug-ins/common/CEL.c plug-ins/common/CML_explorer.c
2006-12-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/antialias.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/mng.c
	* plug-ins/common/normalize.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/psd.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: unified copyright notices, got rid
of
	"The GIMP" in a few more places.
2006-12-09 22:12:23 +00:00
Sven Neumann 41237259c9 In all files, changed the standard copyright notice to say "GIMP - The GNU
2006-12-09  Sven Neumann  <sven@gimp.org>

        * In all files, changed the standard copyright notice to say
        "GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
Kevin Cozens 04a45e41dc Minor changes to quiet the compiler.
* plug-ins/script-fu/re/re.c: Minor changes to quiet the compiler.

	* plug-ins/script-fu/tinyscheme/CHANGES: Updated to version from
	the 1.38 version of TinyScheme.

	* plug-ins/script-fu/tinyscheme/scheme.c: Added some changes from the
	1.38 version of TinyScheme. Added fix for bug #1589701 (reported on
	SourceForge.net).

	* plug-ins/script-fu/tinyscheme/scheme.h: Added a prototype to quiet
	the compiler. Added one change from the 1.38 version of TinyScheme.
2006-12-07 18:57:10 +00:00
Sven Neumann 8aa1c19e4d applied patch by Min Sik Kim. Fixes build with Quartz GDK backend (bug
2006-12-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c: applied patch by Min Sik Kim. Fixes build
	with Quartz GDK backend (bug #382929).
2006-12-06 11:01:37 +00:00
Simon Budig 5e26322578 trivial fix for bug #382445
2006-12-05  Simon Budig  <simon@gimp.org>

	* plug-ins/common/antialias.c: trivial fix for bug #382445
2006-12-05 10:09:06 +00:00
Mukund Sivaraman 5a2827330d dropped the required libcurl version to 7.15.1 made uri build on win32 if
2006-12-02  Mukund Sivaraman  <muks@mukund.org>

	* configure.in: dropped the required libcurl version to 7.15.1
	* plug-ins/Makefile.am: made uri build on win32 if libcurl is
	detected
2006-12-02 05:00:38 +00:00
Sven Neumann 1deec1c826 applied patch from Aurimas Juška. Fixes crash when opening layers with
2006-12-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/film.c: applied patch from Aurimas Juška.
Fixes
	crash when opening layers with offsets and/or smaller than image
	(bug #364429).
x
2006-12-01 20:42:36 +00:00
Manish Singh 473c0c010f plug-ins/pygimp/pygimp-api.h plug-ins/pygimp/pygimp.h export common object
2006-11-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/gimpmodule.c: export common object types via
        _PyGimp_API, and remove the PDBFunction_Type hack. Also define
        the common object structures here.

        * plug-ins/pygimp/pygimp.h: remove hack for Python < 2.3, since
        we require Python 2.3 now.

        * plug-ins/pygimp/gimpui.override
        * plug-ins/pygimp/gimpui.py: create and use specialized wrappers
        for get/set_active methods for GimpIntComboBox and derived types.
        Fixes #376102.
2006-11-28 09:46:18 +00:00
Sven Neumann 39ae3d177a set the warning and error handlers after opening the file. We get two
2006-11-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c (load_image) (save_image): set the
	warning and error handlers after opening the file. We get two
	errors otherwise.
2006-11-27 10:41:42 +00:00
Kevin Cozens 36c8bf2622 Fix revealed bug in TinyScheme initialization which results in a seg
2006-11-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (is_integer): Fix revealed
	bug in TinyScheme initialization which results in a seg fault.
	Removing fix for now.
2006-11-26 21:06:33 +00:00
Kevin Cozens 1dead8dfb2 Check cell type for T_NUMBER in addition to checking if it is an integer.
2006-11-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (is_integer): Check cell
	type for T_NUMBER in addition to checking if it is an integer.
	Fixes TinyScheme bug #1593861 reported on SourceForge. Fixed
	prototype for dump_mark_stack(). Quieted compiler warnings.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added delq,
	prin1, and print.
2006-11-26 19:50:21 +00:00
Kevin Cozens 3c7cca9faf Fix for minor typo in error message.
2006-11-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* app/pdb/gimpprocedure.c: Fix for minor typo in error message.

	* plug-ins/Lighting/lighting_main.c (check_drawables): Only validate
	ID's for drawables that will be used. Disable use of env map (and not
	bump map) if env drawable is of wrong type.

	* plug-ins/script-fu/ftx/ftx.c: Eliminated some compiler warnings.
2006-11-25 07:27:57 +00:00
Kevin Cozens 9ca0f90fe4 Fixed cut and paste error in the fix for unbreakupstr.
2006-11-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Fixed cut and
	paste error in the fix for unbreakupstr.
2006-11-24 18:48:07 +00:00
Simon Budig 71edb562a0 plug-ins/sel2path/sel2path_adv_dialog.c more warning fixes, untabbified.
2006-11-24  Simon Budig  <simon@gimp.org>

	* plug-ins/sel2path/sel2path_adv_dialog.c
	* plug-ins/xjt/xjt.c: more warning fixes, untabbified.
2006-11-24 15:58:55 +00:00
Sven Neumann 7dd45bc30a plug-ins/flame/libifs.[ch] plug-ins/flame/rect.c
2006-11-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/flame/libifs.[ch]
	* plug-ins/flame/rect.c
	* plug-ins/maze/algorithms.c
	* plug-ins/maze/handy.c
	* plug-ins/maze/maze.h
	* plug-ins/sel2path/fit.c
	* plug-ins/sel2path/pxl-outline.h: fixed prototypes.
2006-11-24 11:10:10 +00:00
Manish Singh 67556fd196 bezier_stroke_new_moveto and bezier_stroke_new_ellipse are now class
2006-11-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: bezier_stroke_new_moveto and
        bezier_stroke_new_ellipse are now class methods of
        VectorsBezierStroke.

        * plug-ins/pygimp/gimpmodule.c: vectors import now has better
        error handling and cleanup. Also stick VectorsBezierStroke in
        the gimp namespace so the class is available for constructing.
2006-11-24 09:49:29 +00:00
Kevin Cozens 92d2de9785 Added make-list. Corrected name of unstrbreakup to unbreakupstr and fixed
2006-11-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added make-list.
	Corrected name of unstrbreakup to unbreakupstr and fixed bug in it.
	Fixed butlast to handle lists with one entry.
2006-11-24 05:25:52 +00:00
Simon Budig 8660ecf2ae fix warning about uninitialized variable
2006-11-24  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff.c: fix warning about uninitialized variable
2006-11-23 23:03:55 +00:00
Simon Budig 29de173de8 follow the function renaming as well. Why didn't this complain when I
2006-11-23  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: follow the function renaming
	as well. Why didn't this complain when I compiled earlier?
2006-11-23 22:11:46 +00:00
Sven Neumann a4423dc1ba plug-ins/script-fu/ftx/Makefile.am plug-ins/script-fu/re/Makefile.am
2006-11-23  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/ftx/Makefile.am
        * plug-ins/script-fu/re/Makefile.am
        * plug-ins/script-fu/tinyscheme/Makefile.am: cleaned up Makefiles.
        Fixed for srcdir != builddir.
2006-11-23 21:55:35 +00:00
Simon Budig d87e5738b6 renamed gimp_vectors_new_from_* to gimp_vectors_import_from_*, as
2006-11-23  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: renamed gimp_vectors_new_from_*
	to gimp_vectors_import_from_*, as discussed in bug #378394.

	* plug-ins/common/svg.c
	* libgimp/gimp.def: changed accordingly.

	* libgimp/gimpvectors_pdb.[ch]
	* app/pdb/vectors_cmds.c: regenerated.
2006-11-23 21:45:54 +00:00
Simon Budig dce782a6b8 plug-ins/script-fu/tinyscheme/scheme-private.h Changed tinyscheme to
2006-11-23  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.[ch]: Changed tinyscheme
	to provide a safe spot to protect intermediate values from the
	garbage collector. Fixes some really ugly problems with arrays.

	Most likely not the best solution, we need to discuss this with
	the tinyscheme maintainers.

	* plug-ins/script-fu/scheme-wrapper.c: changed accordingly, plus
	reordering some stuff to protect it from the eager GC.
2006-11-23 21:14:01 +00:00
Michael Natterer 35a5a46a4a plug-ins/help/gimphelpitem.[ch] added some EEKy members to the structs
2006-11-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/gimphelpitem.[ch]
	* plug-ins/help/gimphelplocale.[ch]: added some EEKy members to
	the structs where the browser can store its state.

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/helpbrowser.c: link against libgimphelp.a
	and implement all the help ID mapping ourselves.

	* plug-ins/helpbrowser/dialog.[ch]: added a tree view with the
	help IDs of the current help domain. Double click to jump to an
	item. Very early-stage code and very unusable, please try anyway.

	* app/widgets/gimphelp.c: if the help browser is available, call
	it directly, not via the help plug-in.
2006-11-23 21:04:41 +00:00
Sven Neumann 55134ae83d removed help.h.
2006-11-23  Sven Neumann  <sven@gimp.org>

        * plug-ins/help/Makefile.am (libgimphelp_a_SOURCES): removed help.h.
2006-11-23 20:53:35 +00:00
Michael Natterer 0f64c7e009 link libgimphelp as not installed .a
2006-11-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/Makefile.am: link libgimphelp as not installed .a

	* plug-ins/help/gimphelpdomain.[ch] (gimp_help_domain_map): return
	the GimpHelpLocate the ID was found in.

	* plug-ins/help/gimp-help-lookup.c
	* plug-ins/help/help.c: changed accordingly.

	* plug-ins/help/gimphelp.h: disable debug output.
2006-11-23 20:36:17 +00:00
Simon Budig e48c677fec fixed typo spotted by John Marshall (bug #377811). Thanks for spotting
2006-11-21  Simon Budig  <simon@gimp.org>

	* plug-ins/metadata/metadata.h: fixed typo spotted by John Marshall
	(bug #377811). Thanks for spotting this.
2006-11-21 16:49:48 +00:00
Michael Natterer dc388813cb plug-ins/help/domain.[ch] removed these files...
2006-11-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/domain.[ch]
	* plug-ins/help/help.h: removed these files...

	* plug-ins/help/gimphelptypes.h
	* plug-ins/help/gimphelp.[ch]
	* plug-ins/help/gimphelpdomain.[ch]
	* plug-ins/help/gimphelpitem.[ch]
	* plug-ins/help/gimphelplocale.[ch]: ...completely chopped them
	and added a new private utility library. Soon to be used by the
	helpbrowser too.

	* plug-ins/help/Makefile.am
	* plug-ins/help/gimp-help-lookup.c
	* plug-ins/help/help.c: changed accordingly.
2006-11-20 21:46:21 +00:00
Simon Budig 73b1863a28 app/vectors/gimpstroke.[ch] tools/pdbgen/pdb/vectors.pdb Applied patch
2006-11-20  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]
	* tools/pdbgen/pdb/vectors.pdb
	* plug-ins/pygimp/pygimp-vectors.c: Applied patch from
	Joao S. O. Bueno Calligaris that adds some missing transformations
	to the PDB-API for strokes. Fixes bug #129598.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2006-11-20 15:34:30 +00:00
Kevin Cozens f50adb011a Set return_val before destroying values[] as it may still be needed.
2006-11-18  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Set
	return_val before destroying values[] as it may still be needed.
2006-11-18 22:30:23 +00:00
Simon Budig 0b33ffc674 Properly handle PDB_LAYERs and PDB_CHANNELs when passed by the menus in
2006-11-18  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: Properly handle PDB_LAYERs
	and PDB_CHANNELs when passed by the menus in the resp. dialogs
2006-11-18 01:59:14 +00:00
Michael Natterer 02de3076c9 Got rid of the word "editor" were it was good for nothing but exposing an
2006-11-17  Michael Natterer  <mitch@gimp.org>

	Got rid of the word "editor" were it was good for nothing but
	exposing an implementation detail in public API and installed
	files.  Fixes bug #345251:

	* app/actions/colormap-editor-actions.[ch]
	* app/actions/colormap-editor-commands.[ch]
	* app/actions/sample-point-editor-actions.[ch]
	* app/actions/sample-point-editor-commands.[ch]
	* menus/colormap-editor-menu.xml
	* menus/sample-point-editor-menu.xml
	* menus/selection-editor-menu.xml
	* menus/undo-editor-menu.xml: removed.

	* app/actions/colormap-actions.[ch]
	* app/actions/colormap-commands.[ch]
	* app/actions/sample-points-actions.[ch]
	* app/actions/sample-points-commands.[ch]
	* menus/colormap-menu.xml
	* menus/sample-points-menu.xml
	* menus/selection-menu.xml
	* menus/undo-menu.xml: added.

	* app/actions/Makefile.am
	* menus/Makefile.am
	* app/actions/actions.c
	* app/menus/menus.c
	* app/menus/plug-in-menus.c
	* app/plug-in/gimppluginprocedure.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpsamplepointeditor.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpundoeditor.c
	* plug-ins/common/colormap-remap.c: changed accordingly.
2006-11-17 22:07:07 +00:00
Sven Neumann 7eee48b1de override the wrapper for gimp_int_combo_box_get_active() and let it return
2006-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.override: override the wrapper for
	gimp_int_combo_box_get_active() and let it return the selected
	integer instead of the index in the combo (bug #376102).
2006-11-17 12:02:22 +00:00
Sven Neumann f1b7bfca6a removed file information as this is now shown in the "Image Properties"
2006-11-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ccanalyze.c: removed file information as this
is
	now shown in the "Image Properties" dialog.
2006-11-17 08:11:35 +00:00
Kevin Cozens 59ee708f7f A minor optimization. Don't bother to store normalized string.
2006-11-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (store_string): A minor
	optimization. Don't bother to store normalized string.
2006-11-17 05:43:50 +00:00
Simon Budig 3240f87208 added PF_VECTORS type.
2006-11-16  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpfu.py: added PF_VECTORS type.

	* plug-ins/pygimp/gimpui.py
	* plug-ins/pygimp/gimpui.override: add code for the vectors combo box

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-api.h: changed accordingly, untabbified.

	* plug-ins/pygimp/pygimp.h: untabbified.
2006-11-16 21:23:50 +00:00
Simon Budig 4255e608e6 plug-ins/script-fu/script-fu-enums.h plug-ins/script-fu/scheme-wrapper.c
2006-11-16  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-types.h
	* plug-ins/script-fu/script-fu-scripts.c: add a SF-VECTORS type for
	script-fu.

	* plug-ins/script-fu/script-fu-interface.c: use a vectors
	combobox for the GUI.

	* plug-ins/script-fu/scripts/test-sphere.scm: test it as well.
2006-11-16 01:29:49 +00:00
Kevin Cozens a023f133bb plug-ins/FractalExplorer/FractalExplorer.h Removed 'static' from the
2006-11-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/FractalExplorer/FractalExplorer.h
	* plug-ins/FractalExplorer/FractalExplorer.c (explorer_render_row):
	Removed 'static' from the routines declaration. Changed routine to
	use a switch instead of a series of if statements.

	* plug-ins/FractalExplorer/Dialogs.c: Removed duplicate code by
	using call to explorer_render_row().
2006-11-15 17:35:12 +00:00
Simon Budig 8e67ec9d05 adapt the special casing for libtiff warning messages about unknown tags
2006-11-15  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff.c: adapt the special casing for libtiff
	warning messages about unknown tags for the apparently newer
	message text.
2006-11-15 00:07:44 +00:00
Simon Budig 446df6895e Simon Budig: tiff.c: bug hotfix 2006-11-14 23:21:53 +00:00
Simon Budig dec2ccf201 Import paths embedded into the PHOTOSHOP-tag. Please test!
2006-11-14  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff.c: Import paths embedded into the
	PHOTOSHOP-tag. Please test!
2006-11-14 21:29:51 +00:00
Mukund Sivaraman d89b396980 plug-ins/FractalExplorer/FractalExplorer.c Fixed bug #372671 and made
2006-11-15  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/FractalExplorer/FractalExplorer.c
        * plug-ins/FractalExplorer/Dialogs.c: Fixed bug #372671 and made
        loglog smoothing work again.
2006-11-14 19:44:21 +00:00
Simon Budig e2b4690f74 don't register in the menus. The script duplicates functionality of the
2006-11-14  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/scripts/grid-system.scm: don't register in the
	menus. The script duplicates functionality of the better plugin,
	has a very obscure UI and registers under the same name as the plugin.
2006-11-14 15:48:01 +00:00
Kevin Cozens dc2d31c9d7 Use vectors instead of the non-standard array structure. Also made some
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Use
	vectors instead of the non-standard array structure. Also made some
	minor coding style changes in the file.

	* plug-ins/script-fu/tinyscheme/opdefines.h
	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.h
	* plug-ins/script-fu/tinyscheme/scheme.c: Removed all code related
	to the handling of the non-standard array structure. Added one small
	change to scheme.c to fix problems compiling with MSVC in Windows.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Changed array
	references to use vector references.
2006-11-09 23:03:55 +00:00
Michael Natterer 0b60604896 plug-ins/rcm/rcm.c fix warning about missing declaration and did some code
2006-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm.c
	* plug-ins/rcm/rcm_misc.c: fix warning about missing declaration
	and did some code shuffling and cleanup.
2006-11-09 17:54:01 +00:00
Kevin Cozens b3404e6b6f Moved too much. Move some array declarations out of here...
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Moved too much. Move some
	array declarations out of here...

	* plug-ins/script-fu/tinyscheme/scheme-private.h: and back to here.
2006-11-09 17:36:32 +00:00
Kevin Cozens 481100144b Moved various declarations and defines out of here...
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Moved various
	declarations and defines out of here...

	* plug-ins/script-fu/tinyscheme/scheme.c: and added them here in
	keeping with the original 1.38 version of TinyScheme. Only include
	unistd.h if it exists.

	* plug-ins/script-fu/ftx/ftx.c: Only include unistd.h if it exists.
2006-11-09 16:57:49 +00:00
Michael Natterer 5ff69df6d0 don't include <malloc.h> Fixes the build on OSX (or maybe BSD in general).
2006-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: don't include <malloc.h>
	Fixes the build on OSX (or maybe BSD in general).
2006-11-09 10:40:59 +00:00
Kevin Cozens 8c0ac5f367 plug-ins/script-fu/scheme-wrapper.c plug-ins/script-fu/scheme-wrapper.h
2006-11-08  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-text-console.c: Removed obsolete
	verbose level code.

	* plug-ins/FractalExplorer/FractalExplorer.c: Added missing default
	value to wvals structure.
2006-11-08 20:08:29 +00:00
Sven Neumann f2d055f786 added context_push() and context_pop() methods to the gimp module.
2006-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: added context_push() and
	context_pop() methods to the gimp module.

	* plug-ins/pygimp/plug-ins/sphere.py: use them.
2006-11-07 17:57:44 +00:00