Commit graph

10590 commits

Author SHA1 Message Date
Sven Neumann 54720c1735 quick fix for bug #128285. This widget should be redone.
2003-12-01  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolormapeditor.c (gimp_colormap_adjustment_changed):
	quick fix for bug #128285. This widget should be redone.
2003-12-01 12:58:03 +00:00
Sven Neumann 2bc1d80072 renamed remaining occurences of "use_mmx" to "use_cpu_accel".
2003-11-30  Sven Neumann  <sven@gimp.org>

	* app/main.c: renamed remaining occurences of "use_mmx" to
	"use_cpu_accel".

	* app/paint-funcs/paint-funcs.[ch]: removed unused "use_mmx"
	parameter.

	* app/base/base.c: changed accordingly.

	* docs/gimp-1.3.1.in: documented the changed command-line option.
2003-11-30 17:53:39 +00:00
Helvetix Victorinox 8fa7cb034c Backed out inadvertant changes to configure.in 2003-11-30 17:35:23 +00:00
Helvetix Victorinox 11903e3078 Changed the existing command line option, --no-mmx to --no-cpu-accel and
* app/composite/gimp-composite.c:
* app/composite/gimp-composite.h:
* app/main.c:
* app/base/base.c:

Changed the existing command line option, --no-mmx to
--no-cpu-accel and propogated the changes necessary to use that
flag to turn OFF the use of CPU extensions using only the generic
implementations in app/composite/gimp-composite-generic.c

Nota Bene: All of the previous gimp 1.2 code is still available
and is is enabled by setting the GIMP_COMPOSITE environment
variable to zero (GIMP_COMPOSITE=0x0).  This causes only the 1.2
code to be used and is helpful for regression testing of the newer
gimp-composite code.  Whether using the new code, or the old code
there should be absolutely no visible differences.

The newly renamed option --no-cpu-accel retains its previous
semantic meaning with the old 1.2 code--turning OFF MMX
optimisations.
2003-11-30 17:29:37 +00:00
Sven Neumann cb850162b4 a tiny change I forgot... 2003-11-30 16:08:46 +00:00
Sven Neumann 6bffe5ad51 removed the hack that used to call gimp_exit() when the batch command
2003-11-30  Sven Neumann  <sven@gimp.org>

	* app/batch.c: removed the hack that used to call gimp_exit() when
	the batch command matches "(gimp-quit 0)". It shouldn't be needed.

	* tools/pdbgen/pdb/misc.pdb
	* app/core/gimp.[ch]
	* app/gui/gui.c: renamed "kill_it" parameter to "force". We don't
	kill the application any longer; this option is just about whether
	to ask the user for confirmation or not.

	* app/pdb/misc_cmds.c: regenerated.

	* app/app_procs.c: cosmetics.
2003-11-30 16:05:56 +00:00
Sven Neumann 0c99483df4 renamed batch_init() to batch_run(). Install an Gimp::exit handler while
2003-11-30  Sven Neumann  <sven@gimp.org>

	* app/batch.[ch]: renamed batch_init() to batch_run(). Install an
	Gimp::exit handler while batch commands are executed. This handler
	simply calls exit(). Fixes bug #128199.

	* app/app_procs.c: changed accordingly. Removed remaining global
	variables.
2003-11-30 14:44:13 +00:00
Michael Natterer 4bb0464f4d reordered GimpDodgeBurn to the end of the paint info list so the paint
2003-11-30  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimp-paint.c (gimp_paint_init): reordered
	GimpDodgeBurn to the end of the paint info list so the paint tool
	menu in the stroke dialog has same order as the paint tools in the
	toolbox.
2003-11-30 12:59:17 +00:00
Sven Neumann e4ff018ef4 set the default window type hint for dockables to Normal.
2003-11-29  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c: set the default window type hint for
	dockables to Normal.

	* plug-ins/sel2path/sel2path_adv_dialog.c: set the number of
	digits to the same value for all spinbuttons.
2003-11-29 22:38:50 +00:00
Sven Neumann acb5808381 plug-ins/common/AlienMap.c fix it properly. There's really no need to pass
2003-11-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c: fix it properly. There's really no
	need to pass the same pointer twice.
2003-11-29 12:59:07 +00:00
Maurits Rijk 161a75002e Fixes #124476 (Remove non-existent URL's and e-mail addresses) 2003-11-29 12:13:49 +00:00
Manish Singh 590204d122 plug-ins/pygimp/plug-ins/Makefile.am Added py-slice, a python version of
2003-11-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am
        * plug-ins/pygimp/plug-ins/py-slice.py: Added py-slice, a python
        version of perlotine.
2003-11-29 02:05:02 +00:00
Sven Neumann fa9ff130de applied a patch from Adam D. Moss that does some minor message cleanups
2003-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c: applied a patch from Adam D. Moss
	that does some minor message cleanups (bug #128061).
2003-11-28 14:14:44 +00:00
Marco Ciampa 8d0d9f991f Updated italian translation 2003-11-27 16:53:22 +00:00
Dave Neary 78f98c50cd Return error code to controlling environment if one of the commands we run
2003-11-27  Dave Neary  <bolsh@gimp.org>

        * autogen.sh: Return error code to controlling environment if one of
        the commands we run fails. Makes autogen.sh && make work.
2003-11-27 16:14:07 +00:00
Michael Natterer 78483cfb20 don't add the page number to the filename of the image corresponsing to
2003-11-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/ps.c (create_new_image): don't add the page
	number to the filename of the image corresponsing to the
	postscript file's first page. Enables thumbnail generation
	for PS files.

	Indented function prototypes.

	* app/file/file-open.c (file_open_with_proc_and_display): create a
	thumbnail of the opened image only if the image's uri matches the
	passed uri.
2003-11-27 12:28:46 +00:00
Michael Natterer 6f69558b7e more s/toupper/g_ascii_toupper/.
2003-11-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c (is_ms_tag): more
	s/toupper/g_ascii_toupper/.

	* plug-ins/common/gee_zoom.c: #include <stdlib.h> for abs().
2003-11-27 10:32:32 +00:00
Dave Neary fb920cd795 Quieten a couple of harmless warnings. See bug #66367.
2003-11-26  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/animoptimize.c: Quieten a couple of harmless
        warnings. See bug #66367.
2003-11-26 20:30:48 +00:00
Sven Neumann f659de8b74 fixed SVG import preview for portrait SVG images.
2003-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (load_set_size_callback): fixed SVG import
	preview for portrait SVG images.
2003-11-26 20:22:18 +00:00
Sven Neumann 26f169670c forgot to use g_ascii_foo() here 2003-11-26 19:30:18 +00:00
Sven Neumann 758220c7e6 plug-ins/common/animationplay.c plug-ins/common/animoptimize.c
2003-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/pnm.c
	* plug-ins/common/xbm.c
	* plug-ins/flame/libifs.c
	* plug-ins/script-fu/siod/slib.c
	* plug-ins/script-fu/siod/sliba.c: don't include ctype.h, use
	g_ascii_* functions from GLib instead.

	* plug-ins/common/film.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gicon.c
	* plug-ins/common/gifload.c
	* plug-ins/common/hrz.c
	* plug-ins/common/pat.c
	* plug-ins/print/print.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: removed unused includes (mainly
	ctype.h).
2003-11-26 19:20:24 +00:00
Stanislav Visnovsky d0605c94ed Updated Slovak translation by Zdenko Podobny.
2003-11-26  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation by Zdenko Podobny.
2003-11-26 19:16:00 +00:00
Stanislav Visnovsky 18ffca187b Fixed Slovak translation by Zdenko Podobny.
2003-11-26  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Fixed Slovak translation by Zdenko Podobny.
2003-11-26 19:13:27 +00:00
Michael Natterer ba569cb9a4 gtk_widget_destroy() the dialog, not some NULL data pointer.
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/sel2path/sel2path.c (sel2path_response):
	gtk_widget_destroy() the dialog, not some NULL data pointer.
2003-11-26 18:08:43 +00:00
Michael Natterer 282d65bef2 configure.in plug-ins/script-fu/siod/Makefile.am
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* plug-ins/script-fu/siod/Makefile.am
	* plug-ins/script-fu/siod/.cvsignore
	* plug-ins/script-fu/siod/regex.c
	* plug-ins/script-fu/siod/slib.c
	* plug-ins/script-fu/siod/sliba.c
	* plug-ins/script-fu/siod/trace.c
	* plug-ins/script-fu/siod/siod.h
	* plug-ins/script-fu/siod/siodp.h: added new directory for siod.

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/interp_regex.c
	* plug-ins/script-fu/interp_slib.c
	* plug-ins/script-fu/interp_sliba.c
	* plug-ins/script-fu/interp_trace.c
	* plug-ins/script-fu/siod.h
	* plug-ins/script-fu/siodp.h: removed siod from here.

	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/siod-wrapper.c
	* tools/pdbgen/enumcode.pl: changed #includes accordingly.

	* plug-ins/script-fu/script-fu-constants.c: regenerated.

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_error_msg):
	use siod-wrapper.c siod_get_error_msg() instead of accessing
	siod's global siod_err_msg variable directly.
2003-11-26 17:14:58 +00:00
Sven Neumann e76a587d7e libgimpthumb/Makefile.am libgimpthumb/gimpthumb-enums.h
2003-11-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: more changes, still unfinished.
2003-11-26 16:49:53 +00:00
Michael Natterer c97d090d13 eek, it should be GIMP_ADD_ALPHA_TRANSFER_MASK, not
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: eek, it should be
	GIMP_ADD_ALPHA_TRANSFER_MASK, not GIMP_ADD_ALPHA_MASK_TRANSFER.

	* app/core/gimplayer.c (gimp_layer_create_mask): changed accordingly.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 16:00:14 +00:00
Michael Natterer e0e8a34f31 added enum values GIMP_ADD_ALPHA_MASK_TRANSFER and
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added enum values
	GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.

	* app/core/gimplayer.c (gimp_layer_create_mask): applied patch
	from Pedro Gimeno which implements the new ADD_MASK type and
	added undo. Fixes bug #127930.

	* app/gui/layers-commands.c: push an undo group around layer mask
	creation & adding since the creation may change the layer now.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 15:48:50 +00:00
Marco Ciampa b2098d1e8e Updated italian translation 2003-11-26 15:34:45 +00:00
Sven Neumann 52afe11139 libgimpthumb/gimpthumb-utils.[ch] added save functionality. Still
2003-11-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: added save functionality. Still
	unfinished.
2003-11-26 10:26:37 +00:00
Sven Neumann d3a8ec0c01 configure.in gimpthumb-1.3.pc.in libgimpthumb/Makefile.am
2003-11-26  Sven Neumann  <sven@gimp.org>

	* Makefile.am:
	* configure.in
	* gimpthumb-1.3.pc.in
	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-types.h
	* libgimpthumb/gimpthumb.def
	* libgimpthumb/gimpthumb.h
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: added a first draft of
	libgimpthumb. The API isn't final and the implementation is
	incomplete. It compiles but don't attempt to use it yet.
2003-11-26 01:12:36 +00:00
Duarte Loreto 8d6a05ef93 Updated Portuguese translation.
2003-11-26  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-11-26 01:10:52 +00:00
Pablo G. del Campo fc44571b96 Updated Spanish translation.
2003-11-25  Pablo G. del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-11-25 21:28:39 +00:00
Pablo Gonzalo del Campo b3aa96fb4f Updated Spanish translation.
2003-11-25  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-11-25 21:19:19 +00:00
Pablo G. del Campo 387bf49d49 Updated Spanish translation.
2003-11-25  Pablo G. del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-11-25 21:10:59 +00:00
Sven Neumann 4ce2b2718c libgimpbase/libgimpbase-sections.txt added GIMP_MAX_MEMSIZE, documented
2003-11-25  Sven Neumann  <sven@gimp.org>

	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimplimits.sgml: added GIMP_MAX_MEMSIZE,
	documented all limits.
2003-11-25 20:07:39 +00:00
Sven Neumann 0aec8c079e added GIMP_MAX_MEMSIZE, an arbitrary upper limit for memory sizes. It must
2003-11-25  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimplimits.h: added GIMP_MAX_MEMSIZE, an arbitrary
	upper limit for memory sizes. It must be smaller than G_MAXDOUBLE
	since our memsize entry doesn't handle anything larger.

	* app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new):
	check against GIMP_MAX_MEMSIZE, not G_MAXDOUBLE.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c: use GIMP_MAX_MEMSIZE instead of
	G_MAXULONG. The latter is larger than G_MAXDOUBLE on 64bit
	machines and caused bug #127908.

	* libgimpwidgets/gimpmemsizeentry.c: added casts to guint64.
2003-11-25 19:45:01 +00:00
Sven Neumann 348a785e4b removed these unused files from CVS.
2003-11-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/interp_md5.[ch]: removed these unused files
	from CVS.
2003-11-25 18:51:22 +00:00
Sven Neumann 3ca9520cc4 invalidate the solid brush cache as well. Should fix #127681.
2003-11-25  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_scale_mask):
	invalidate the solid brush cache as well. Should fix #127681.
2003-11-25 16:41:20 +00:00
Michael Natterer 29ddc678d3 added GIMP_UNDO_EVENT_UNDO_FREEZE and GIMP_UNDO_EVENT_UNDO_THAW.
2003-11-25  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added GIMP_UNDO_EVENT_UNDO_FREEZE
	and GIMP_UNDO_EVENT_UNDO_THAW.

	* app/core/gimpimage.c: emit undo events in
	gimp_image_undo_freeze() and gimp_image_undo_thaw().

	* app/widgets/gimpundoeditor.c: made it aware of FREEZE/THAW signals
	and robust against evil stuff like freezing/thawing the undo
	in the middle of an open undo group. Fixes bug #124421.

	* plug-ins/script-fu/scripts/circuit.scm: push and undo group
	instead of disabling/enabling undo.
2003-11-25 16:12:53 +00:00
Miloslav Trmac 74550b029c Update Czech translation 2003-11-25 15:55:16 +00:00
Sven Neumann e65d666f94 remember the size of the levels tool dialog. Fixes bug #127896.
2003-11-25  Sven Neumann  <sven@gimp.org>

	* app/gui/dialogs.c (toplevel_entries): remember the size of the
	levels tool dialog. Fixes bug #127896.
2003-11-25 15:30:16 +00:00
Sven Neumann 469840f812 applied a patch from Adrian Bunk that changes the function to look for
2003-11-25  Sven Neumann  <sven@gimp.org>

	* configure.in: applied a patch from Adrian Bunk that changes the
	function to look for when checking for lcms (bug #127893). Also
	added a warning when lcms is not found.
2003-11-25 14:38:08 +00:00
Sven Neumann b8e13405ea plug-ins/bmp/bmp.[ch] plug-ins/bmp/bmpread.c some code cleanup (what a
2003-11-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: some code cleanup (what a mess...).
2003-11-25 13:49:16 +00:00
Michael Natterer 80fbda0540 removed gimp_g_object_get_memsize()...
2003-11-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpobject.[ch]: removed gimp_g_object_get_memsize()...

	* app/core/gimp-utils.[ch]: ...and added it here along with
	some other memsize utilities for GHashTables and G(S)Lists.

	* app/core/gimp.c
	* app/core/gimpimage.c
	* app/core/gimpparasitelist.c
	* app/core/gimpviewable.c
	* app/vectors/gimpstroke.c (GimpObject::get_memsize): use the new
	functions.
2003-11-25 12:53:29 +00:00
Dave Neary afd493a3e6 Applied patch from deaddog@deaddog.org (Abel Cheung) to make sure
2003-11-22  Dave Neary  <bolsh@gimp.org>

	* libgimp/Makefile.am: Applied patch from  deaddog@deaddog.org (Abel
	Cheung) to make sure dependencies are built before we build libgimp and
	libgimpui. Fixes bug #127863.
2003-11-25 11:14:06 +00:00
Maurits Rijk d1b4eed971 Fix for #126366 (bmp - wrong colors loaded) 2003-11-25 09:50:39 +00:00
Raphaël Quinet c4032a9d19 Improved the spelling of my name (missing accents) and added a mention
2003-11-25  Raphaël Quinet  <quinet@gamers.org>

	* NEWS: Improved the spelling of my name (missing accents) and
	added a mention about animoptimize in the last release.
2003-11-25 06:31:14 +00:00
Helvetix Victorinox d4ff99217b Repaired an oversight on the application of hue/color/saturation/value on
* app/composite/gimp-composite-generic.c: Repaired an oversight on
  the application of hue/color/saturation/value on non-rgb images.
  Fixes bug #127669
2003-11-25 04:51:31 +00:00
Sven Neumann c311694ddd fixed the check for the symbol prefix.
2003-11-24  Sven Neumann  <sven@gimp.org>

	* configure.in: (hopefully) fixed the check for the symbol prefix.
2003-11-24 16:37:16 +00:00