Commit Graph

4805 Commits

Author SHA1 Message Date
Sven Neumann 7bb24cd55b fill rectangles instead of masking the spans.
2006-12-28  Sven Neumann  <sven@gimp.org>

	* print-draw-page.c: fill rectangles instead of masking the
spans.
2006-12-28 18:46:37 +00:00
Sven Neumann 02e18ee00b cache the image size to avoid roundtrips 2006-12-28 17:42:02 +00:00
Sven Neumann 3c7b17251c limit the image size to the printable area.
2006-12-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.c: limit the image size to
the
	printable area.

	* plug-ins/print/print-draw-page.c: commented out unused code.
2006-12-28 15:40:16 +00:00
Sven Neumann bd1d443fdb commented out unused code.
2006-12-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c: commented out unused code.
2006-12-28 12:56:04 +00:00
Sven Neumann 69f10adc18 plug-ins/print/print-page-layout.c Clarified labels. Removed unused
2006-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print.h: Clarified labels. Removed unused
caption
	user interface.  Commented out the UI for the info header; it
will
	eventually come back.
2006-12-27 21:10:35 +00:00
Sven Neumann d23da6512c removed unused parameters 2006-12-27 14:46:18 +00:00
Sven Neumann f714d7b3f2 paint the background in white. Show progress, use a tile cache.
2006-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c: paint the background in
white.
	Show progress, use a tile cache.

	* plug-ins/print/print.c: removed broken custom preview
	implementation.
2006-12-27 13:46:27 +00:00
Sven Neumann 8d133fd33f draw in spans of tile height.
2006-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c: draw in spans of tile
height.
2006-12-27 01:28:43 +00:00
Sven Neumann f35565c887 plug-ins/print/print-draw-page.c plug-ins/print/print-page-layout.c don't
2006-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print.[ch]: don't set the resolution and unit
on
	the image, only initialize the dialog with these values.
2006-12-26 23:29:33 +00:00
Sven Neumann 0a417e5545 corrected label (bug #389779).
2006-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tileit.c: corrected label (bug #389779).
2006-12-26 20:20:44 +00:00
Sven Neumann 5b90363803 minor cleanups.
2006-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print: minor cleanups.

	* plug-ins/print/print-page-layout.c: cleanup up GUI code.
2006-12-26 13:47:51 +00:00
Sven Neumann 9152bf5d52 minor cleanups.
2006-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print: minor cleanups.
2006-12-26 12:36:43 +00:00
Sven Neumann 3dd2f1d36a cleaned up error handling.
2006-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-settings.c: cleaned up error handling.
2006-12-26 12:28:57 +00:00
Sven Neumann 3269e65309 check keyfile before accessing it. Minor code cleanup.
2006-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-settings.c (check_version): check keyfile
	before accessing it. Minor code cleanup.
2006-12-26 12:07:03 +00:00
Sven Neumann 18332dc96a plug-ins/print/print-draw-page.c plug-ins/print/print-page-layout.c
2006-12-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-settings.c
	* plug-ins/print/print.c: formatting, minor cleanups,
untabified.
2006-12-25 21:03:27 +00:00
Sven Neumann 641e1474b8 added a "Don't ask me again" toggle to the EXIF rotation query dialog.
2006-12-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c: added a "Don't ask me again" toggle
	to the EXIF rotation query dialog. Store the user's choice in the
	"exif-orientation-rotate" parasite.

	* devel-docs/parasites.txt: document the new global parasite.
2006-12-22 09:35:42 +00:00
Sven Neumann fd2b9ce3e9 app/plug-in/plug-in-icc-profile.[ch] removed run-mode argument from
2006-12-18  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-icc-profile.[ch]
	* plug-ins/common/lcms.c: removed run-mode argument from
	plug-in-icc-profile-info. Added new procedure to obtain
information
	about a color profile on disk.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpprofilechooserdialog.[ch]: added a first draft
	of a file-chooser dialog for selecting a color profile.

	* app/dialogs/preferences-dialog.c: use it.
2006-12-18 08:15:56 +00:00
Kevin Cozens 14ddf98d14 plug-ins/script-fu/tinyscheme/scheme-private.h Optimizations for string
2006-12-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.c: Optimizations for string
	comparisons. Time spent in oblist_find_by_name() reduced by ~50%
	during startup by use of stored collation keys. Fixes bug #374854.
2006-12-13 22:01:09 +00:00
Kevin Cozens f32e98e6af Don't allow one of the two layers to be a floating selection. Fixes bug
2006-12-12  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/scripts/burn-in-anim.scm: Don't allow one of the
        two layers to be a floating selection. Fixes bug #384096.
2006-12-12 16:52:25 +00:00
Manish Singh 046be921e8 GTK_LIBS and GLIB_LIBS should be listed before optional libs, to make sure
2006-12-11  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/mkgen.pl: GTK_LIBS and GLIB_LIBS should be
        listed before optional libs, to make sure any -L args from pkg-config
        take.

        * plug-ins/common/Makefile.am: regenerated.
2006-12-11 23:37:18 +00:00
Sven Neumann d4bc2aa0e3 reset to factory defaults instead of popping up a warning dialog when the
2006-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: reset to factory defaults instead of
	popping up a warning dialog when the user clicks "Load Defaults"
	and hasn't saved default values yet (bug #384673).
2006-12-11 13:28:00 +00:00
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