Commit graph

4818 commits

Author SHA1 Message Date
Sven Neumann 68efc4c55c don't destroy-with-parent
added missing include

svn path=/trunk/; revision=21632
2007-01-03 11:36:26 +00:00
Sven Neumann 0ad9e4749e make the About dialog transient to the main window and close it when the
2007-01-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_about.c: make the About dialog 
transient
	to the main window and close it when the Close button is 
pressed.

	* plug-ins/imagemap/imap_cmd_guides.c: use a GimpHintBox.

	* plug-ins/imagemap/imap_menu.c: marked menu labels and tooltips 
for
	translation.


svn path=/trunk/; revision=21629
2007-01-03 11:05:04 +00:00
Sven Neumann eaedd11a3a plug-ins/imagemap/images/Makefile.am
2007-01-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/images/Makefile.am
	* plug-ins/imagemap/images/stock-map-info.png
	* plug-ins/imagemap/imap_stock.[ch]: removed custom info icon.

	* plug-ins/imagemap/imap_menu.c: use GTK_STOCK_INFO instead.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_default_dialog.c: make dialogs 
transient
	to the main window and the main window transient to the image 
window.


svn path=/trunk/; revision=21628
2007-01-03 10:15:59 +00:00
Tor Lillqvist 3f47350ed8 Fix mixup in retrieving the filename parameter.
2007-01-03  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/lcms.c (run): Fix mixup in retrieving the
	filename parameter.


svn path=/trunk/; revision=21626
2007-01-02 23:34:40 +00:00
Kevin Cozens 478654039e Don't include malloc.h file. Fixes bug #391195.
2006-12-31  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Don't include malloc.h
	file. Fixes bug #391195.

svn path=/trunk/; revision=21617
2006-12-31 07:32:58 +00:00
Sven Neumann 930d6149da removed all .cvsignore files from SVN
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
Sven Neumann 8354d1f543 use a GtkMessageDialog to display errors.
2006-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: use a GtkMessageDialog to display 
errors.

	* plug-ins/print/print-settings.c: use g_warning() for problems
	that shouldn't ever happen.


svn path=/trunk/; revision=21608
2006-12-30 14:08:33 +00:00
Sven Neumann c60d6fd58b back to synchronous printing, but show status information nevertheless 2006-12-29 15:36:54 +00:00
Sven Neumann 362fdc2f7d better status display while printing 2006-12-29 14:57:45 +00:00
Sven Neumann 8dd990b005 print status before running the main loop 2006-12-29 14:44:59 +00:00
Sven Neumann dcbbc1abf3 run the print operation asynchronously.
2006-12-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: run the print operation
asynchronously.
2006-12-29 14:26:55 +00:00
Sven Neumann e3282e64fe export gimp_get_default_unit() to the PDB.
2006-12-29  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: export gimp_get_default_unit() to
	the PDB.

	* app/pdb/gimprc_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpgimprc_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.

	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print.c: initialize units the same way the core
	Print Size dialog does it.
2006-12-29 01:35:08 +00:00
Sven Neumann e0e14e8c48 removed unused settings, bumped format version. Store resolution and unit
2006-12-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-settings: removed unused settings, bumped
	format version. Store resolution and unit in the image parasite.

	* plug-ins/print/print-page-layout.c: deal gracefully with no
	default page setup.
2006-12-28 21:48:34 +00:00
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