Commit Graph

9131 Commits

Author SHA1 Message Date
Michael Natterer f77a01a52d removed some old #if 0'ed code.
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c: removed some old #if 0'ed
	code.
2003-07-24 17:23:56 +00:00
Michael Natterer 33e4a6c8dc renamed "Edit/Stroke" to "Edit/Stroke Selection" and added "Edit/Stroke
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c: renamed "Edit/Stroke" to "Edit/Stroke
	Selection" and added "Edit/Stroke Active Path". Added some missing
	mnemonics to the "Edit" menu.
2003-07-24 17:18:50 +00:00
Sven Neumann 64c90c6d99 call gimp_image_flush() at the end of gimp_text_tool_create_vectors() 2003-07-24 17:07:05 +00:00
Sven Neumann 2858305cbe set the vectors offset from the text layer's offset.
2003-07-24  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_create_vectors): set
	the vectors offset from the text layer's offset.

	* app/text/gimptext-vectors.c: removed debugging output.
2003-07-24 16:40:22 +00:00
Michael Natterer 827c3f37c4 removed the brush outline members since we have no chance to really cache
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.[ch]: removed the brush outline members
	since we have no chance to really cache them without duplicating
	GimpPaintCore's brush change notification code.

	* app/paint/gimppaintcore.[ch]: added the outline here and really
	cache it this time. The paint_core doesn't create or use the
	outline but frees and NULLifies it whenever the brush changes.
2003-07-24 16:35:25 +00:00
Michael Natterer fc3c1b41d9 honor the destination drawable's offsets and stroke multi-stroke vectors
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore-stroke.c
	(gimp_paint_core_stroke_vectors): honor the destination drawable's
	offsets and stroke multi-stroke vectors correctly.
2003-07-24 15:57:06 +00:00
Sven Neumann d75a2f79ba app/config/Makefile.am moved code from gimpconfig.[ch] to these new files.
2003-07-24  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am
	* app/config/gimpconfig-error.[ch]: moved code from gimpconfig.[ch]
	to these new files.

	* app/config/gimpconfig-utils.[ch]: moved gimp_config_string_indent()
	here from gimpconfig.[ch].

	* app/config/gimpconfig.[ch]
	* app/config/gimpconfigwriter.c
	* app/config/gimprc.c
	* app/config/gimpscanner.c
	* app/core/gimp-documents.c
	* app/core/gimp-parasites.c
	* app/core/gimp-templates.c
	* app/widgets/gimpdevices.c: changed accordingly.
2003-07-24 14:14:23 +00:00
Michael Natterer 8ea47faa35 added control points. Looks correct now.
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptext-vectors.c: added control points.
	Looks correct now.
2003-07-24 13:25:31 +00:00
Michael Natterer b10a8b4fec added image, layer, channel and drawable menus for testing.
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/test-sphere.scm: added image, layer,
	channel and drawable menus for testing.
2003-07-24 13:11:53 +00:00
Sven Neumann 1f4714a056 more work on glyph decomposition.
2003-07-24  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-vectors.c: more work on glyph decomposition.

	* app/tools/gimptextoptions.c
	* app/tools/gimptexttool.c: added button to create a path from text.
2003-07-24 13:10:27 +00:00
Michael Natterer 35966a934d removed the GWeakNotify stuff again and free the ID arrays after creating
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpmenu.c: removed the GWeakNotify stuff again and free
	the ID arrays after creating the menu. Pass the ID as user_data to
	the "activate" callback using GINT_TO_POINTER().  Added previews
	to gimp_image_menu_new(). More cleanup.
2003-07-24 13:09:01 +00:00
Michael Natterer f9e1967a50 add the name of the tool to the header and footer strings.
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimptooloptions.c (gimp_tool_options_serialize):
	add the name of the tool to the header and footer strings.
2003-07-24 12:07:22 +00:00
Sven Neumann 5a5abb979b moved variable declarations inside the #ifdef branch where they are used.
2003-07-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_selection.c (selection_update): moved
	variable declarations inside the #ifdef branch where they are used.
2003-07-24 11:38:42 +00:00
Sven Neumann 34007f34b5 commented out unused function update_sizemap_dialog().
2003-07-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/sizemap.c: commented out unused function
	update_sizemap_dialog().
2003-07-24 11:35:41 +00:00
Sven Neumann 82e8959e04 shut up CVS 2003-07-24 11:11:42 +00:00
Sven Neumann c0e5a4c749 fixed build rules. There must not be a dependency that causes
2003-07-24  Sven Neumann  <sven@gimp.org>

	* app/composite/Makefile.am: fixed build rules. There must not be
	a dependency that causes gimp-composite-dispatch.[ch] to be
	regenerated since we don't want to depend on Python for our build.

	* app/core/gimpdrawable-blend.c (gradient_fill_region)
	(gradient_put_pixel): fixed a problem with the new gradient
	dithering on grayscale drawables (bug #118141).
2003-07-24 11:10:47 +00:00
Helvetix Victorinox d3fc41f0c2 regenerated new code taking advantage of simplified function prototypes.
* app/composite/gimp-composite-dispatch.[ch]: regenerated new code
taking advantage of simplified function prototypes.

* app/composite/gimp-composite-test.c: New regression testing
driver.  This file is automatically generated, but it's included
in the cvs tree for expediency.

* app/composite/ns.py: hopeful checks for which OS is currently
running as a hint to what nm(1) is available.

* app/composite/gimp-composite-mmx.[ch]
* app/composite/gimp-composite-sse.[ch]
* app/composite/gimp-composite-generic.[ch]: function prototype
cleanup.

* app/composite/make-gimp-composite-dispatch.py: generates code to
test compositing functions.

* app/composite/gimp-composite-regression.[ch]: support for
automatically testing compositing functions.
2003-07-24 08:00:12 +00:00
Vincent van Adrighem e86f52aab6 Dutch translation updated by Branko Collin.
2003-07-24  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

	* nl.po: Dutch translation updated by Branko Collin.
2003-07-24 07:33:32 +00:00
Changwoo Ryu db9ffb84d7 Updated Korean translation.
* ko.po: Updated Korean translation.
2003-07-23 18:05:32 +00:00
Michael Natterer 27a1aba04d changed the return value of GimpConstraintFunc from gint to gboolean.
2003-07-23  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpmenu.h: changed the return value of
	GimpConstraintFunc from gint to gboolean.

	* libgimp/gimpmenu.c: fixed bug introduced by my latest cleanup:
	Don't free the drawable arrays after creating the menus since they
	are used in the callbacks. Instead, free them using a GWeakNotify
	on the menu. Factored menu and item creation out to utility
	functions to reduce code duplication. Cleanup.
2003-07-23 17:48:32 +00:00
Michael Natterer 43a01a75b7 Fixed enum name to clarify the checkin. 2003-07-23 15:48:38 +00:00
Pablo Gonzalo del Campo 6fc9020906 Updated Spanish translation.
2003-07-22  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-07-22 18:41:26 +00:00
Sven Neumann f9570e3096 app/text/gimptext-bitmap.c define FT_LOAD_TARGET_MONO to
2003-07-22  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-bitmap.c
	* app/text/gimptextlayout-render.c: define FT_LOAD_TARGET_MONO to
	FT_LOAD_MONOCHROME if it is undefined. This avoids a dependency on
	recent versions of Freetype (bug #118066).
2003-07-22 17:11:49 +00:00
Michael Natterer 33ca38f790 libgimp/tmpl/gimpenums.sgml regenerated.
2003-07-22  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimpenums.sgml
	* libgimp/tmpl/gimptools.sgml: regenerated.
2003-07-22 16:24:03 +00:00
Michael Natterer 6bccd14760 Argh, this should have gone with my last checkin... 2003-07-22 14:29:06 +00:00
Michael Natterer 075195d16b added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients
2003-07-22  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpgradient.[ch]: added "gboolean reverse" to
	gimp_gradient_get_color_at() so all gradients can be used
	reversed.

	* app/core/gimpdrawable-blend.[ch] (gimp_drawable_blend)
	* app/core/gimppalette-import.[ch] (gimp_palette_import_from_gradient):
	added "gboolean reverse".

	* app/paint/paint-enums.[ch]: removed enum GimpGradientRepeatMode
	since it is identical to GimpRepeatMode, except for the now
	obsolete ONCE_BACKWARD value.

	* app/paint/gimppaintcore.[ch]: removed
	gimp_paint_core_get_color_from_gradient()...

	* app/paint/gimppaintoptions.[ch]: ...and added
	gimp_paint_options_get_gradient_color(), which is much more
	general. Added a "reverse" property to GimpGradientOptions and
	changed the type of the "repeat" property to GimpRepeatMode.

	* app/paint/gimppaintbrush.c: use
	gimp_paint_options_get_gradient_color().

	* app/tools/gimpblendoptions.[ch]: removed the "repeat" property
	since it is in the parent class now.

	* app/gui/gradient-select.c
	* app/gui/palette-import-dialog.c
	* app/widgets/gimpgradienteditor.c
	* app/tools/gimpblendtool.c
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.

	* app/tools/gimppaintoptions-gui.c: added a "Reverse" toggle right
	of the gradient preview.

	* app/widgets/gimppreviewrenderergradient.[ch]: added "gboolean
	reverse" member and gimp_preview_renderer_gradient_set_reverse()
	API.

	* tools/pdbgen/pdb/paint_tools.pdb: fixed the paintbrush invoker
	to set GimpPaintOption's "use-fade" and "use-gradient" properties
	correctly.

	* app/pdb/gradients_cmds.c
	* app/pdb/misc_tools_cmds.c
	* app/pdb/paint_tools_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimpmisctools_pdb.[ch]
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: removed GimpGradientPaintMode
	here too since it was only exported accidentially (it's not used
	by any external API).

	* plug-ins/script-fu/scripts/3dTruchet.scm
	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
	* plug-ins/script-fu/scripts/alien-glow-bar.scm
	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/beveled-button.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/gradient-example.scm
	* plug-ins/script-fu/scripts/pupi-button.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/sphere.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/title-header.scm
	* plug-ins/script-fu/scripts/weave.scm: pass "reverse" to
	gimp_blend(). Pass FALSE in most cases and added script
	parameters were it makes sense.
2003-07-22 14:24:11 +00:00
Jakub Steiner a1d33d15c4 special Gimpcon splash
2003-07-22  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_splash.png: special Gimpcon splash
2003-07-22 14:09:24 +00:00
Sven Neumann afc9cce13e check for freetype-config and set FREETYPE_LIBS.
2003-07-22  Sven Neumann  <sven@gimp.org>

	* configure.in: check for freetype-config and set FREETYPE_LIBS.

	* app/Makefile.am: link explicitely against freetype.
2003-07-22 13:44:07 +00:00
Sven Neumann e1bdbd9fa3 gimp_composite_dispatch() doesn't have a return value, made it a void
2003-07-22  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.[ch]: gimp_composite_dispatch()
	doesn't have a return value, made it a void function.
2003-07-22 09:04:10 +00:00
Miloslav Trmac e8cba85137 Update Czech translation 2003-07-22 01:13:29 +00:00
Helvetix Victorinox b31ae7332a big code cleanup.
* app/composite/make-gimp-composite-dispatch.py: big code cleanup.

* app/composite/Makefile.am: removed references to $(builddir)

* app/composite/test-composite.c: cleanup, preparation for transition to
automatically generated regression testing code.

* app/composite/gimp-composite.c: Clean up of typedef usage

* app/composite/gimp-composite-regression.[ch]: added foundation
for regression testing.
2003-07-21 23:49:48 +00:00
Sven Neumann 7cfdc0d01f use a simpler URL for the camp.
2003-07-21  Sven Neumann  <sven@gimp.org>

	* data/images/gimp_splash.png: use a simpler URL for the camp.
2003-07-21 17:03:45 +00:00
Sven Neumann 7c32d439fb fix for Solaris /bin/sh (bug #118002).
2003-07-21  Sven Neumann  <sven@gimp.org>

	* autogen.sh: fix for Solaris /bin/sh (bug #118002).

	* app/paint-funcs/paint-funcs-generic.h
	* app/paint-funcs/paint-funcs.[ch]: the Forte compiler doesn't
	like the use of global variables in inline functions. Applied a
	patch from Damien Carbery that fixes this (bug #118002).
2003-07-21 16:47:52 +00:00
Sven Neumann 27b106f377 part of the fix for #97777 2003-07-21 01:14:19 +00:00
Sven Neumann 75306ec3af app/core/gimpdrawable-blend.[ch] app/tools/gimpblendoptions.[ch]
2003-07-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.[ch]
	* app/tools/gimpblendoptions.[ch]
	* app/tools/gimpblendtool.c
	* tools/pdbgen/pdb/misc_tools.pdb
	* plug-ins/script-fu/scripts/: applied a slightly modified patch
	from Alastair M. Robinson that adds dithering to the blend tool
	(bug #97777).

	* app/pdb/misc_tools_cmds.c
	* libgimp/gimpmisctools_pdb.[ch]: regenerated.
2003-07-21 01:13:35 +00:00
Sven Neumann 5de4384946 more Makefile fixes 2003-07-21 00:45:28 +00:00
Tor Lillqvist 6eb1b80100 Sigh, one more addition. 2003-07-21 00:20:04 +00:00
Sven Neumann 0657dc4a5c more build fixes, include order 2003-07-21 00:14:37 +00:00
Tor Lillqvist 368d4563ee Updates.
2003-07-20  Tor Lillqvist  <tml@iki.fi>

	* libgimpcolor/gimpcolor.def: Updates.
2003-07-21 00:10:25 +00:00
Sven Neumann 1202abd3f2 added libgimpmath.
2003-07-21  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am (gimpconfig_libs): added libgimpmath.
2003-07-21 00:04:22 +00:00
Sven Neumann cd3e719fcd more Makefile fixes 2003-07-20 23:57:07 +00:00
Sven Neumann 53cef3aa9e fixed typo
2003-07-21  Sven Neumann  <sven@gimp.org>

	* app/composite/Makefile.am (libappcomposite_a_sources): fixed typo
2003-07-20 23:42:53 +00:00
Sven Neumann 9d9f95be40 fixed a typo.
2003-07-21  Sven Neumann  <sven@gimp.org>

	* libgimp/Makefile.am (libgimp_1_3_la_SOURCES): fixed a typo.
2003-07-20 23:28:08 +00:00
Tor Lillqvist eeb4afff73 libgimp/gimp.def Updates.
2003-07-20  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.def
	* libgimp/gimpui.def: Updates.
2003-07-20 23:10:53 +00:00
Sven Neumann f5813eb088 removed an unused function.
2003-07-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdevicestatus.c: removed an unused function.
2003-07-20 22:50:34 +00:00
Tor Lillqvist c714237c6d Updates.
2003-07-20  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.def: Updates.
2003-07-20 22:39:01 +00:00
Tor Lillqvist ebea567bdf libgimpcolor/gimpcolor.def Updates.
2003-07-20  Tor Lillqvist  <tml@iki.fi>

	* libgimpcolor/gimpcolor.def
	* libgimpmath/gimpmath.def: Updates.

	* libgimp/gimp.c (gimp_config): [Win32] Use gimp_tile_width() and
	_height() instead of now nonexistent _gimp_tile_width and _height
	variables.
2003-07-20 22:25:55 +00:00
Sven Neumann b0550de143 more work on the framework.
2003-07-20  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-vectors.c: more work on the framework.
2003-07-20 21:58:27 +00:00
Tor Lillqvist a6d55ba754 New file, from stable branch. (Haven't checked yet what changes might be
2003-07-20  Tor Lillqvist  <tml@iki.fi>

	* gimptool-win32.c.in: New file, from stable branch. (Haven't
	checked yet what changes might be needed to it here in HEAD.)
2003-07-20 21:52:37 +00:00
Sven Neumann ce54744b8a Generalized text rendering and added a framework for creating GimpVectors
2003-07-20  Sven Neumann  <sven@gimp.org>

	Generalized text rendering and added a framework for creating
	GimpVectors objects with text outlines.

	* app/text/Makefile.am
	* app/text/gimptext-bitmap.[ch]: new files with bitmap render
	function.

	* app/text/gimptext-vectors.[ch]: new files for rendering to
	vectors.

	* app/text/gimptextlayout-private.h: removed ...
	* app/text/gimptext-private.h: ... and readded with this name.

	* app/text/gimptextlayout-render.[ch]: reduced to the generic parts
	of text rendering.

	* app/text/gimptextlayer.c
	* app/text/gimptextlayout.c: changed accordingly.
2003-07-20 21:23:01 +00:00