Commit graph

9391 commits

Author SHA1 Message Date
Jan Morén 45da8cfb83 Updated Swedish translation.
2003-08-31  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-08-31 11:54:13 +00:00
Sven Neumann b521b80e9e removed ... ... and readded under the correct name. Misspelling spotted by
2003-08-31  Sven Neumann  <sven@gimp.org>

        * data/palettes/Kahki.gpl: removed ...
        * data/palettes/Khaki.gpl: ... and readded under the correct name.
        Misspelling spotted by Roman Frolow.
2003-08-31 11:47:15 +00:00
Pedro Gimeno f372af09f0 Fix bug preventing the plug-in from working properly with rectangular
2003-08-31  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/ccanalyze.c (analyze): Fix bug preventing the
	plug-in from working properly with rectangular selections. It
	still doesn't work properly with arbitrarily-shaped selections.
2003-08-31 09:49:30 +00:00
Manish Singh 7d368302ae make a copy of dgettext() results from full_path in all cases, since it
2003-08-31  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimpitemfactory.c (gimp_item_factory_translate_func):
        make a copy of dgettext() results from full_path in all cases, since
        it might return our original string. Fixes #121083.
2003-08-31 00:07:58 +00:00
Michael Natterer bd5bbf7a37 Removed libgck from the public libgimp API:
2003-08-31  Michael Natterer  <mitch@gimp.org>

	Removed libgck from the public libgimp API:

	* plug-ins/libgck/gck/Makefile.am: don't build and install a
	shared library and any header files. Instead, build a
	noinst_LIBRARY.

	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am: link against the uninstalled
	libgck.a convenience lib.
2003-08-30 22:37:31 +00:00
Michael Natterer c049f82e59 made "tool-info" a G_PARAM_CONSTRUCT_ONLY property.
2003-08-30  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.c: made "tool-info" a G_PARAM_CONSTRUCT_ONLY
	property.

	* app/tools/tool_manager.c (tool_manager_tool_changed): pass it to
	g_object_new() instead of setting it after tool creation.

	* app/tools/gimppainttool.[ch]
	* app/tools/gimptransformtool.[ch]: removed ugly
	"gboolean notify_connected" hacks and connect to the signals in
	GObject::constructor().

	* app/tools/gimppainttool.c (gimp_paint_tool_contstructor): create
	paint_tool->core here from tool->tool_info->paint_info->paint_type.

	* app/tools/gimpairbrushtool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimppaintbrushtool.c
	* app/tools/gimppenciltool.c
	* app/tools/gimpsmudgetool.c: changed accordingly. Removed lots of
	useless class_init functions. Converted tabs to spaces. Cleanup.
2003-08-30 16:41:35 +00:00
Michael Natterer 2da93d692f app/core/gimpchannel.[ch] (gimp_channel_boundary)
2003-08-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.[ch] (gimp_channel_boundary)
	* app/core/gimpimage-mask.[ch] (gimp_image_mask_boundary)
	* app/core/gimplayer-floating-sel.[ch] (floating_sel_boundary):
	return const BoundSeg arrays because they are cached and not newly
	allocated.

	* app/base/boundary.[ch] (sort_boundary)
	* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_boundary):
	take const BoundSeg arrays.

	* app/core/gimpimage-mask.c (gimp_image_mask_stroke)
	* app/display/gimpdisplayshell-selection.c
	* app/tools/gimpeditselectiontool.c (init_edit_selection):
	changed accordingly.
2003-08-30 14:25:05 +00:00
Michael Natterer c42641fe89 Fixed & cleaned up paint function registration to work without GUI.
2003-08-30  Michael Natterer  <mitch@gimp.org>

	Fixed & cleaned up paint function registration to work without
	GUI. Finishes core/GUI separation for the paint tools:

	* app/core/gimppaintinfo.[ch]: removed "gchar *pdb_string" all over
	the place since we don't stroke using the PDB any more.
	(gimp_paint_info_new): create paint_info->paint_options here so
	the paint system is fully initialized when there is no GUI.

	* app/paint/paint.c: removed pdb_string stuff here, too.

	* app/core/gimptoolinfo.[ch]: create tool_info->tool_options
	only if tool_info->tool_options_type is not the same type
	as paint_info->paint_options_type (if we are no paint tool).

	* app/core/gimptooloptions.c: removed G_PARAM_CONSTRUCT_ONLY from
	the "tool-info" property. Instead, changed
	gimp_tool_options_set_property to ensure that it is only set once.

	* app/core/gimp.c (gimp_initialize): moved paint_init() after
	data_factory creation (was in gimp_init()), since GimpPaintInfo
	now creates the GimpPaintOptions, which are GimpContexts, which
	need gimp->*_factory to be constructed.

	* app/tools/tool_manager.c: don't create tool_info->tool_options
	here (it's not the job of the tool_manager to set up the core
	paint system correctly, it must be already initialized before any
	tool_manager function is called).

	Made "Stroke Selection" and "Stroke Path" work the same way:

	* app/paint/gimppaintcore-stroke.[ch]: added new function
	gimp_paint_core_stroke_boundary() which strokes without using
	the PDB.

	* app/core/gimpimage-mask.c (gimp_image_mask_stroke): use it
	instead of using the PDB. Enables all available paint options for
	stroke operations. Fixes bug #119411.

	* app/gui/vectors-commands.c (vectors_stroke_vectors)
	* app/core/gimpimage-mask.c (gimp_image_mask_stroke): removed all
	code which tries to figure how to stroke and simply look at the
	active tool's tool_info->paint_info, since it is always set up
	correctly now.
2003-08-30 13:22:20 +00:00
Simon Budig d401ae3b63 fixed stupid int vs. float error that caused rounding errors when moving
2003-08-30  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.[ch]: fixed stupid int vs. float
	error that caused rounding errors when moving in a zoomed view.
	Fixed drawing artefact when connecting strokes did not succeed.
2003-08-29 22:40:13 +00:00
Simon Budig df8ab68d45 further modifier changes. Mail to gimp-devel will follow.
2003-08-29  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.[ch]: further modifier changes.
	Mail to gimp-devel will follow.
2003-08-29 19:55:32 +00:00
Simon Budig e7d0cfadc7 Do not modify the selection state of the anchors. When extending
2003-08-29  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpbezierstroke.c: Do not modify the selection
	state of the anchors. When extending EXTEND_EDITABLE return
	the anchor created (not the handle at the end of the list)

	* app/tools/tools-enums.h: Added new mode-enum for the vector tool.
	* app/tools/tools-enums.c: regenerated

	* app/tools/gimpvectortool.[ch]: Implemented moving (Shortcuts
	ALT and ALT+CTRL. The whole assignment of modifiers right now
	gets revised. Right now you have to use the Tool options to
	switch between the modes of operation. Connecting strokes now
	works in Insert/Delete mode by clicking on startpoint and
	dragging to target endpoint.

	I will write a mail to gimp-devel when the shortcuts are
	setteled a bit more. Sorry for the inconvenience.
2003-08-29 15:17:06 +00:00
Sven Neumann 417221b6bf move the mnemonic from the old font selection widget to the new one. The
2003-08-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptextoptions.c (gimp_text_options_gui): move the
	mnemonic from the old font selection widget to the new one. The
	old one will die soon. Fixes bug #120963.
2003-08-29 11:19:45 +00:00
Sven Neumann c8b92988cd removed be (Belarusian) from ALL_LINGUAS until all be.po files are
2003-08-29  Sven Neumann  <sven@gimp.org>

	* configure.in: removed be (Belarusian) from ALL_LINGUAS until all
	be.po files are provided.
2003-08-29 10:58:46 +00:00
Simon Budig 44a39e0ad6 Removed two conflict markers.
Removed two conflict markers.
2003-08-29 09:29:03 +00:00
Dmitry Mastrukov bc02263890 configure.in: Added Belarusian to ALL_LINGUAS. 2003-08-29 04:43:40 +00:00
Dmitry Mastrukov 083a465f44 be.po: Added Belarusian translation from Belarusian team <i18n@mova.org>. 2003-08-29 04:37:29 +00:00
Larry Ewing c80ed6eff6 interpolate the position of the cubic control points correctly and set the
2003-08-28  Larry Ewing  <lewing@ximian.com>

	* app/text/gimptext-vectors.c (conicto): interpolate the position
	of the cubic control points correctly and set the previous control
	point.
	(cubicto): set the previous control point to the new value then
	add remaining points.
2003-08-29 00:48:44 +00:00
Manish Singh 56ff6be308 cleanups. sizeof() isn't valid in preprocessor land. Use GDK_WINDOWING_*
2003-08-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/screenshot.c: cleanups. sizeof() isn't valid
        in preprocessor land. Use GDK_WINDOWING_* instead of G_OS_WIN32.
        XFreeCursor when we're done with it.
2003-08-28 23:38:32 +00:00
Manish Singh f9c41aa864 app/core/gimpbrush.c app/core/gimpbrushgenerated.c
2003-08-28  Manish Singh  <yosh@gimp.org>

        * app/core/gimpbrush.c
        * app/core/gimpbrushgenerated.c
        * app/core/gimpbrushpipe.c
        * app/core/gimpbuffer.c
        * app/core/gimpimage-snap.c
        * app/core/gimppattern.c
        * app/core/gimpundostack.c
        * app/display/gimpdisplayshell.c
        * app/gui/grid-dialog.c
        * plug-ins/common/CML_explorer.c: cleanup, remove unnecessary casts.
2003-08-28 23:33:15 +00:00
Sven Neumann d332a4703c bumped version number to 1.3.20.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.20.
2003-08-28 20:56:59 +00:00
Dave Neary dbdbeb530c Updated the NEWS file.
2003-08-28  Dave Neary <bolsh@gimp.org>

        * NEWS: Updated the NEWS file.
2003-08-28 20:39:58 +00:00
Sven Neumann 8a0a75ee95 removed, it's a generated file.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* app/app.interfaces: removed, it's a generated file.
2003-08-28 20:32:19 +00:00
Henrik Brix Andersen f33c7af756 rewrote a large part of the screenshot plug-in. The plug-in now no longer
2003-08-28 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/screenshot.c: rewrote a large part of the
screenshot plug-in. The plug-in now no longer depends on the xwd
utility, but uses Xlib/GDK functionality to obtain the screen shot.

The window to shoot is now selected prior to the time out. This
fixes bug #103852.

The ability to obtain a screen shot of a window without
decorations has had to go since this can not be done using plain
Xlib/GDK (one would have to depend on libXmu to do this).

The source is prepared for G_OS_WIN32 but the win32 specific code
is yet to be written.

* tools/pdbgen/pdb/plug_in.pdb (gimp_progress_update): improved the
inline documentation

* app/pdb/plug_in_cmds.c
* libgimp/gimpplugin_pdb.c: regenerated
2003-08-28 20:23:09 +00:00
Sven Neumann edf64d16a2 free the colormap and set colormap size to 0 after converting from
2003-08-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): free the
	colormap and set colormap size to 0 after converting from indexed.
	Should make gimp_image_get_cmap() behave as advertized again.

	* tools/pdbgen/pdb/image.pdb: use gimp_image_get_colormap_size()
	instead of accessing gimage->num_cols directly.

	* app/pdb/image_cmds.c: regenerated.
2003-08-28 20:01:30 +00:00
Maurits Rijk e4e1f51cdb Major clean-up of xjt. 2003-08-28 19:46:39 +00:00
Michael Natterer 28920aa76e libgimp/tmpl/gimphelp.sgml regenerated.
2003-08-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimphelp.sgml
	* libgimp/tmpl/gimpplugin.sgml: regenerated.
2003-08-28 19:15:16 +00:00
Michael Natterer 1f2c75e507 Completed the new help infrastructure. Needs some polishing but basically
2003-08-28  Michael Natterer  <mitch@gimp.org>

	Completed the new help infrastructure. Needs some polishing but
	basically works as proposed:

	* tools/pdbgen/pdb/plug_in.pdb: changed gimp_plugin_help_register()
	to take a "domain_name" (which is the XML namespace) and a
	"domain_uri" (which is the root of the plug-in's help pages).

	* tools/pdbgen/pdb/help.pdb: changed gimp_help() to take help_id
	instead of a non-UTF-8 help_path.

	* app/plug-in/plug-in-def.[ch]
	* app/plug-in/plug-in-proc.[ch]
	* app/plug-in/plug-in-rc.c
	* app/plug-in/plug-ins.[ch]: remember the plug-ins' help_domain
	and help_uri instead of just help_path. Changed all plug-in APIs
	to reflect this change.

	* app/widgets/gimphelp.[ch]: on helpbrowser startup, pass it the
	whole list of help domains. The actual help request is now made
	using the browser's temporary procedure.

	* app/core/gimp.h
	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c
	* app/gui/plug-in-menus.[ch]
	* app/widgets/gimpitemfactory.c: changed accordingly.

	* app/pdb/help_cmds.c
	* app/pdb/plug_in_cmds.c
	* libgimp/gimphelp_pdb.[ch]
	* libgimp/gimpplugin_pdb.[ch]: regenerated.

	Changed the help broser to load the pages according to the
	new system:

	- moved the browser window stuff to dialog.[ch]
	- moved help domain handling to domain.[ch]
	- added gimp-help.xml parsing to domain.c
	- tons of cleanup

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/dialog.[ch]
	* plug-ins/helpbrowser/domain.[ch]: new files.
	* plug-ins/helpbrowser/helpbrowser.c: chopped.
2003-08-28 18:49:11 +00:00
Pablo Gonzalo del Campo 4d70bc73de Updated Spanish translation.
2003-08-28  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-08-28 18:11:40 +00:00
Simon Budig f4b390a4f4 app/core/gimpimage-mask-select.c Fixed two crashes when a path with a
2003-08-28  Simon Budig  <simon@gimp.org>

	* app/core/gimpimage-mask-select.c
	* app/vectors/gimpbezierstroke.c: Fixed two crashes when a path
	with a single node in a stroke got converted to a selection or got
	stroked.
2003-08-28 16:53:09 +00:00
Sven Neumann 6bcd478dd4 keep the context colors always opaque. Fixes bug #120912.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontext.c (gimp_context_real_set_foreground)
	(gimp_context_real_set_background): keep the context colors always
	opaque. Fixes bug #120912.
2003-08-28 16:39:43 +00:00
Sven Neumann 08e8072f22 removed a historical enum constraint that caused bug #120915.
2003-08-28  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: removed a historical enum constraint
	that caused bug #120915.

	* app/pdb/image_cmds.c: regenerated.
2003-08-28 16:14:07 +00:00
Changwoo Ryu 299104c3df Updated Korean translation by Dongsu Jang <iolo@hellocity.net>.
* ko.po: Updated Korean translation by
	Dongsu Jang <iolo@hellocity.net>.
2003-08-28 14:18:01 +00:00
Simon Budig d3879afcb9 libappte2003-08-28 Simon Budig <simon@gimp.org>
* app/tools/gimptransformtool.c: Modified the test when to paint
	the grid or not. It now checks for convexity of the bounding
	polygon.
2003-08-28 13:02:50 +00:00
Ville Pätsi 0a68b78274 Fixed last changelog entry syntax 2003-08-28 12:29:21 +00:00
Ville Pätsi 21441b24bd Added gimp.spec to Makefile.am 2003-08-28 10:20:47 +00:00
Michael Natterer d3476d38f0 update the button states if the layer which changed alpha was the active
2003-08-27  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_alpha_changed): update the button states if
	the layer which changed alpha was the active one.
	Fixes bug #120864.
2003-08-27 19:50:08 +00:00
Michael Natterer c4dfccd8db Enabled type-preserving DND of all kinds of items between different
2003-08-27  Michael Natterer  <mitch@gimp.org>

	Enabled type-preserving DND of all kinds of items between
	different images. Fixes bug #119983.

	* app/core/gimpitem.[ch]: added new virtual function
	GimpItem::convert() which duplicates an item for another image.

	* app/core/gimplayer.[ch]: removed gimp_layer_new_from_drawable()
	and made it a GimpItem::convert() implementation.

	* app/vectors/gimpvectors.[ch]: removed gimp_vectors_convert() and
	made it a GimpItem::convert() implementation.

	* app/widgets/gimpitemtreeview.[ch]: removed GimpConvertItemFunc
	typedef and function pointer in GimpItemTreeViewClass since
	we can simply call gimp_item_convert() now.

	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpvectorstreeview.c
	* app/display/gimpdisplayshell-dnd.c
	* tools/pdbgen/pdb/layer.pdb: changed accordingly.

	* app/pdb/layer_cmds.c: regenerated.
2003-08-27 17:21:49 +00:00
Ole Laursen 1f9b302665 Updated Danish translation.
2003-08-27  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2003-08-27 15:24:13 +00:00
Sven Neumann b1bccea6c0 removed debugging output.
2003-08-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpitemfactory.c (gimp_item_factory_translate_func):
	removed debugging output.
2003-08-27 14:55:42 +00:00
Sven Neumann 8377aa0fd5 Made 1.3.19 release. 2003-08-27 11:05:24 +00:00
Sven Neumann 76d5d377b8 made the PDB interface backwards compatible by allowing the last parameter
2003-08-27  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/edge.c (run): made the PDB interface backwards
        compatible by allowing the last parameter to be omitted.
2003-08-27 09:37:19 +00:00
Dave Neary 012b75efc0 Update NEWS file, split path tool improvements into user-visible chunks.
2003-08-27  Dave Neary  <bolsh@gimp.org>

        * NEWS: Update NEWS file, split path tool improvements into
        user-visible chunks.
2003-08-27 08:13:11 +00:00
Maurits Rijk 89fd6901eb Fix for #119937 and #119938 plus lots of code cleanup. 2003-08-27 05:44:57 +00:00
Dmitry Mastrukov 22c5a50b3d ru.po: Update Russian translation from Russian team <gnome-cyr@gnome.org>. 2003-08-27 04:33:08 +00:00
Michael Natterer a7b2c160b4 Cleaned up my "To Selection" cleanup:
2003-08-27  Michael Natterer  <mitch@gimp.org>

	Cleaned up my "To Selection" cleanup:

	* app/gui/channels-commands.[ch]
	* app/gui/layers-commands.[ch]
	* app/gui/vectors-commands.[ch]: removed the separate
	cmd_callbacks for REPLACE,ADD,SUBTRACT,INTERSECT and pass the
	operation as "guint action" to the callback.

	* app/gui/channels-menu.c
	* app/gui/image-menu.c
	* app/gui/layers-menu.c
	* app/gui/vectors-menu.c: changed accordingly.
2003-08-27 00:52:00 +00:00
Simon Budig 08bd7a19b9 app/vectors/gimpstroke.[ch] Implemented function to connect two strokes.
2003-08-27  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpbezierstroke.c: Implemented function to
	connect two strokes.

	* app/tools/gimpvectortool.[ch]: Use it. Right now you have
	to click on one endpoint, and then SHIFT+CTRL+ALT-Click on
	the other endpoint.

	Suggestions on how to solve that more sanely are welcome...
2003-08-27 00:31:20 +00:00
Michael Natterer 1ce3055058 added missing g_rand_free().
2003-08-27  Michael Natterer  <mitch@gimp.org>

	* app/composite/gimp-composite-generic.c
	(gimp_composite_generic_init): added missing g_rand_free().

	* app/widgets/gimpitemfactory.[ch]: fixed all leaks in
	gimp_item_factory_translate_func(). Added
	item_factory->translation_trash for the pathological cases. Free
	the trash after each call to gtk_item_factory_create_item().
2003-08-27 00:02:04 +00:00
Sven Neumann 0eff267590 applied patch from Guillermo S. Romero that moves the newly added PDB
2003-08-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: applied patch from Guillermo S. Romero
	that moves the newly added PDB parameter to the end and documents
	the former default value.

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/circuit.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/predator.scm: changed accordingly by
	Guillermo S. Romero.
2003-08-26 23:43:48 +00:00
Sven Neumann 50e63f0caa libgimpbase/Makefile.am (EXTRA_DIST) removed gimpversion.h.in.
2003-08-27  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am (EXTRA_DIST)
	* libgimpbase/makefile.msc (EXTRA_DIST): removed gimpversion.h.in.

	* app/composite/Makefile.am (libappcomposite_a_built_sources):
	removed gimp-composite-*-installer.h.
2003-08-26 22:56:30 +00:00
Michael Natterer 576057b1a7 added some toolbox and dock related help IDs.
2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added some toolbox and dock related
	help IDs.

	* app/gui/dialogs-menu.c
	* app/widgets/gimpimagedock.c
	* app/widgets/gimptoolbox.c: use them.
2003-08-26 22:00:42 +00:00