Commit Graph

11780 Commits

Author SHA1 Message Date
Iñaki Larrañaga f7509dabd5 Added Basque translation.
2004-04-06  Iñaki Larrañaga  <dooteo@euskalgnu.org>

	* eu.po: Added Basque translation.
2004-04-06 17:53:01 +00:00
Iñaki Larrañaga 10f16c863d Added "eu" (Basque) to ALL_LINGUAS.
2004-04-06  Iñaki Larrañaga  <dooteo@euskalgnu.org>

        * configure.in: Added "eu" (Basque) to ALL_LINGUAS.
2004-04-06 17:47:24 +00:00
Henrik Brix Andersen d4ee37e223 changed Mape to Mapa on line 2391 on request from Joao S. O. Bueno
2004-04-06 Henrik Brix Andersen <brix@gimp.org>

* pt_BR.po: changed Mape to Mapa on line 2391 on request from Joao
S. O. Bueno <gwidion@mpc.com.br>
2004-04-06 15:38:26 +00:00
Iñaki Larrañaga fc9610da16 Added Basque translation.
2004-04-06  Iñaki Larrañaga  <dooteo@euskalgnu.org>

        * eu.po: Added Basque translation.
2004-04-06 15:18:17 +00:00
Sven Neumann cbe895fe72 fixed translation for menu entry "/View/Move to screen...". Fixes bug
2004-04-06  Sven Neumann  <sven@gimp.org>

	* pt.po: fixed translation for menu entry "/View/Move to screen...".
	Fixes bug #139141.
2004-04-05 22:02:35 +00:00
Pedro Gimeno bc7d7d5afe Use gimp-image-get-active-layer/channel instead of the passed drawable for
2004-04-05  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/script-fu/scripts/copy-visible.scm: Use
	gimp-image-get-active-layer/channel instead of the passed
	drawable for later restoring the initially active layer/channel.
	Addresses bug #138662.

	* plug-ins/script-fu/scripts/drop-shadow.scm: Add a call to
	gimp-image-set-active-layer in order for it to fail early instead
	of failing with the undo group open in case the drawable is not
	suitable for applying the effect.
2004-04-05 21:35:03 +00:00
Michael Natterer b80d76ab50 update the whole image.
2004-04-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.c (gimp_image_real_mode_changed): update the
	whole image.

	* app/display/gimpdisplay-handlers.c: removed obsolete
	"mode_changed" and "colormap_changed" handlers because GimpImage's
	default handlers already update the whole image.
2004-04-05 15:38:26 +00:00
Miloslav Trmac 082fbfbe49 Update Czech translation 2004-04-05 13:23:18 +00:00
Pedro Gimeno f7ce875889 Sanitize rectangle and ellipse selection handling (bug #138237 and bug
2004-04-05  Pedro Gimeno  <pggimeno@wanadoo.es>

	Sanitize rectangle and ellipse selection handling (bug #138237
	and bug #138103):

	* app/tools/gimprectselecttool.h
	* app/tools/gimprectselecttool.c (GimpRectSelectTool): new
	member "moved" indicating whether the cursor was moved after
	the click.
	(gimp_rect_select_tool_coords_to_integer): New function for
	consistent conversion of the rectangle FP coords to pixels.
	(gimp_rect_select_tool_button_press,
	gimp_rect_select_tool_button_release,
	gimp_rect_select_tool_motion, gimp_rect_select_tool_draw): use
	it instead of fiddling with the FP coordinates. Update "moved"
	and use it to detect whether the selection needs to be cleared.

	* app/tools/gimpellipseselecttool.c
	(gimp_ellipse_select_tool_draw): use the new coords_to_integer
	function.
2004-04-05 08:08:23 +00:00
Sven Neumann 6becbaf1c6 applied the second patch attached to bug #138788 by William Skaggs.
2004-04-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: applied the second patch
	attached to bug #138788 by William Skaggs. Removes some user
	interface elements that have no corresponding implementation and
	fixes preview updates.
2004-04-05 00:35:46 +00:00
Sven Neumann 115eeb611a Makefile.am moved old NEWS to this new file.
2004-04-04  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* NEWS.pre-2-0: moved old NEWS to this new file.

	* NEWS: list bugs fixed since 2.0.0.
2004-04-05 00:17:57 +00:00
Sven Neumann 2802b47f59 Makefile.am don't install gimptool symlinks to gimptool-2.0 and its
2004-04-04  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* docs/Makefile.am: don't install gimptool symlinks to
	gimptool-2.0 and its manpage. gimp.m4 as installed with gimp-1.2
	looks for gimptool (bug #139024).
2004-04-04 19:23:30 +00:00
Sven Neumann f87c500007 app/display/gimpdisplayshell-callbacks.c
2004-04-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-draw.[ch] pass the bounding box of
	the exposed area to gimp_display_shell_draw_grid() and draw only
	the relevant part of the grid. Fixes bug #138606.
2004-04-04 17:17:40 +00:00
Sven Neumann b179d2a76b Cache the GC for drawing the grid as suggested in bug #138081:
2004-04-04  Sven Neumann  <sven@gimp.org>

	Cache the GC for drawing the grid as suggested in bug #138081:

	* app/display/gimpdisplayshell.[ch]: added a grid_gc member to
	GimpDisplayShell.

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_grid_notify_handler)
	(gimp_display_shell_disconnect): invalidate the grid GC.

	* app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_grid):
	use the cached grid_gc. Also applied the fix that Pedro Gimeno did
	for bug #138606.
2004-04-04 15:53:21 +00:00
Sven Neumann b982c495fd added a missing call to gettext(). Fixes bug #139000.
2004-04-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpundo.c (gimp_undo_type_to_name): added a missing
	call to gettext(). Fixes bug #139000.
2004-04-04 10:56:57 +00:00
Manish Singh e6e8c0ed76 Create any directories in the install path that do not already exist.
2004-04-03  Manish Singh  <yosh@gimp.org>

        * gimptool-2.0.in: Create any directories in the install path that do
        not already exist. Fixes bug #138980.

        * docs/gimptool.1.in: s/dont/don't/g
2004-04-04 01:12:32 +00:00
Sven Neumann 7a804a3588 do nothing if the selection is empty. Fixes bug #138973.
2004-04-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c (gimp_image_map_apply): do nothing if the
	selection is empty. Fixes bug #138973.
2004-04-03 23:17:59 +00:00
Michael Natterer 00f5981c9e translate "export" as "exportieren", not "importieren". Fixes bug #138960.
2004-04-03  Michael Natterer  <mitch@gimp.org>

	* de.po: translate "export" as "exportieren", not "importieren".
	Fixes bug #138960.
2004-04-03 17:41:55 +00:00
Funda Wang 9c53b591b7 Updated Simplified Chinese translation 2004-04-03 12:06:18 +00:00
Sven Neumann fe3dc81387 create the initial text layer with a size of 1 x 1 since
2004-04-03  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.c (gimp_text_layer_new): create the
	initial text layer with a size of 1 x 1 since tile_manager_new()
	does not any longer accept 0 x 0.

	* app/core/gimpdrawable.c (gimp_drawable_configure): check that
	width and height are > 0.
2004-04-03 12:03:27 +00:00
Sven Neumann df2a470e50 plug-ins/Lighting/lighting_main.c applied the first of two patches
2004-04-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_shade.c: applied the first of two
	patches attached to bug #138788 by William Skaggs.
2004-04-02 23:45:36 +00:00
Simon Budig 6531b323ef [updated my latest fix] 2004-04-02 21:32:44 +00:00
Simon Budig 24a27843f8 set a proper pixelfetcher edge mode for bigger radii. Avoids getting
2004-04-02  Simon Budig  <simon@gimp.org>

	* plug-ins/common/whirlpinch.c: set a proper pixelfetcher
	edge mode for bigger radii. Avoids getting garbage at the
	image borders.
2004-04-02 20:50:07 +00:00
Dave Neary bfdc3d1490 Added .jpe to the list of extensions that the jpeg plug-in recognises.
2004-04-02  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/jpeg.c: Added .jpe to the list of extensions
        that the jpeg plug-in recognises. Fixes bug #138776.
2004-04-02 09:41:42 +00:00
Michael Natterer eaf4b87874 Fixed translation of "Mosaic..." and made translations of "Ripple..." and
2004-04-01  Michael Natterer  <mitch@gimp.org>

	* it.po: Fixed translation of "Mosaic..." and made translations of
	"Ripple..." and "Waves..." fuzzy because they were both translated
	as "Onde...". Fixes bug #138737.
2004-04-01 19:00:25 +00:00
Sven Neumann 224b14dffe unset the bg_pixmap and tweak style colors for all states. Sort of ugly
2004-04-01  Sven Neumann  <sven@gimp.org>

	* app/gui/user-install-dialog.c: unset the bg_pixmap and tweak
	style colors for all states. Sort of ugly but makes the dialog
	work better with more obscure themes (bug #138379).
2004-04-01 18:43:42 +00:00
Sven Neumann 890a7258ad updated a comment.
2004-04-01  Sven Neumann  <sven@gimp.org>

	* tools/kernelgen.c: updated a comment.
2004-04-01 17:28:15 +00:00
Michael Natterer acc72b620e added undo type GIMP_UNDO_TEXT_LAYER_MODIFIED and undo group types
2004-04-01  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch] (enum GimpUndoType): added undo type
	GIMP_UNDO_TEXT_LAYER_MODIFIED and undo group types
	GIMP_UNDO_GROUP_DRAWABLE and GIMP_UNDO_GROUP_DRAWABLE_MOD.

	* app/core/gimpimage-undo-push.[ch]: added new new function
	gimp_image_undo_push_text_layer_modified() which makes
	modifications of the text_layer's "modified" boolean undoable.

	* app/core/gimpdrawable.[ch]: added new virtual function
	GimpDrawable::push_undo() and moved the actual undo pushing into
	the default implementation gimp_drawable_real_push_undo().

	* app/text/gimptextlayer.c (gimp_text_layer_push_undo): new
	function. Pushes the text_layer's modified state to the undo stack
	after upchaining and sets modified to TRUE.

	(gimp_text_layer_set_tiles): ditto.

	(gimp_lext_layer_apply_region)
	(gimp_text_layer_replace_region): removed because their default
	implementations already call gimp_drawable_push_undo().

	(gimp_text_layer_swap_pixels): removed because swap_pixels() is
	used by undo only and doesn't need to care about the text_layer's
	modified state.

	(gimp_text_layer_render): don't set modified to FALSE here because
	we can't push an undo step here.

	(gimp_text_layer_set): push the modified state to the undo stack
	and set it to FALSE here. Also push the layer's tiles if the
	layer was modified.

	* app/tools/gimptexttool.c (gimp_text_tool_apply): push "modified"
	to the undo stack and set it to FALSE here, too.

	Fixes bug #137767.
2004-04-01 14:51:58 +00:00
Gustavo Maciel Dias Vieira 02caa61288 Updated Brazilian Portuguese translation done by Joo Sebastio de
2004-03-31  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>

* pt_BR.po: Updated Brazilian Portuguese translation done by Joo
Sebastio de Oliveira Bueno <gwidion@mpc.com.br>.
2004-03-31 17:41:16 +00:00
Simon Budig 157af2d30c One really should use braces when mixing additions and multiplication and
2004-03-31  Simon Budig  <simon@gimp.org>

	* app/tools/gimptransformtool.c: One really should use braces
	when mixing additions and multiplication and the operator
	precedence is not the desired one...

	I feel stupid...  :-)
2004-03-31 14:21:36 +00:00
Michael Natterer 4de398bb37 make sure 0.0/0.0 results in 1.0, not NaN.
2004-03-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-transform-utils.c
	(gimp_transform_matrix_perspective): make sure 0.0/0.0 results
	in 1.0, not NaN.

	* app/core/gimpdrawable-transform.c
	(gimp_drawable_transform_tiles_affine): instead of returning NULL
	if the transformation shrinks the tiles completely away, return at
	least the pixel (or the row or column of pixels) which best covers
	the sub-pixel area of the transform result:

	- Changed rounding of the transformed coordinates from RINT()
	  to floor()/ceil() so we don't cut off sub-pixel portions of the
	  transform result.
	- Force the minimal size if the changed rounding didn't help.

	Fixes bug #138117.

	Also added paranoia code which falls back to clip_result if the
	passed matrix produces NaN coordinates (copied the FINITE() macro
	from image_cmds.c).
2004-03-31 12:40:23 +00:00
Gareth Owen 9f5a755aeb Updated British English translation 2004-03-31 00:28:56 +00:00
Sven Neumann 48084ada77 define "map" here, the script used to take the definition from
2004-03-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/grid-system.scm: define "map" here,
	the script used to take the definition from alien-glow-arrow.scm
	or beveled-pattern-arrow.scm. Also added an undo group around all
	operations. Fixes bug #138524.
2004-03-30 16:55:08 +00:00
Michael Natterer afe0eb359e app/Makefile.am new files implementing sanity_check() for run-time
2004-03-30  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/sanity.[ch]: new files implementing sanity_check() for
	run-time checking library versions. Added a check for FreeType but
	disabled it until we figured if and how freetype causes some of
	the DLL hell bugs.

	* app/main.c (main): call it and abort if it fails.

	* app/app_procs.[ch]: added app_gui_abort() so main.c doesn't
	need to #include "gui/gui.h"

	* app/gui/gui.[ch] (gui_libs_init): removed library sanity checking.

	(gui_abort): new function which shows the abort message.
2004-03-30 11:32:21 +00:00
Michael Natterer b8f45556a8 revert addition on "pa" until all .po files are there.
2004-03-30  Michael Natterer  <mitch@gimp.org>

	* configure.in (ALL_LINGUAS): revert addition on "pa" until
	all .po files are there.
2004-03-30 11:16:37 +00:00
Guntupalli Karunakar e1d8d834dc Added punjabi translation 2004-03-30 10:00:26 +00:00
Manish Singh fd987ef9bb Move setjump_buffer to the beginning of the structure, to make sure it is
2004-03-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (struct my_error_mgr): Move setjump_buffer
        to the beginning of the structure, to make sure it is aligned on a
        16-byte boundary for ia64, even with icc. Fixes #138357.
2004-03-29 23:38:58 +00:00
Sven Neumann 951f1589a1 changed the default for "help-locales" from NULL to an empty string. Fixes
2004-03-29  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c: changed the default for "help-locales"
	from NULL to an empty string. Fixes the generated gimprc man-page.

	* app/config/gimprc-blurbs.h (HELP_LOCALES_BLURB): added missing
	whitespace.

	* app/widgets/gimphelp.c: use the user's locale if "help-locales"
	is NULL or the empty string.

	* docs/gimprc.5.in
	* etc/gimprc: regenerated.
2004-03-29 17:54:13 +00:00
Miloslav Trmac 4fa62d1564 Update Czech translation 2004-03-29 15:25:26 +00:00
Jordi Mallach 63dab69ae3 Updated Catalan translation by Xavier Beà <xbea@pie.xtec.es>. 2004-03-29 10:05:38 +00:00
Michael Natterer 2e61f95873 fixed last log. 2004-03-29 09:58:04 +00:00
Michael Natterer 110dc4e2d6 added new group GIMP_UNDO_GROUP_FS_REMOVE.
2004-03-29  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h (enum GimpUndoType): added new group
	GIMP_UNDO_GROUP_FS_REMOVE.

	* app/core/gimplayer-floating-sel.c (floating_sel_remove): push an
	undo group. Fixes undo corruption spotted by Pedro Gimeno.
2004-03-29 09:57:39 +00:00
Michael Natterer f1de2e7d43 Don't just skip guides at the image edges but any guide which is at a
2004-03-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/guillotine.c (guillotine): Don't just skip
	guides at the image edges but any guide which is at a position we
	already remembered. Should catch all instances of bug #138312 this
	time.
2004-03-29 09:27:30 +00:00
Sven Neumann c8a387e09c applied patch from David Necas that updates the sensitivity of the Delete
2004-03-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: applied patch from David Necas
	that updates the sensitivity of the Delete button and menu entry.
	Fixes bug 138212#.
2004-03-28 16:09:56 +00:00
Sven Neumann 0c30397541 fixed non-interactive call.
2004-03-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/mapobject_main.c: fixed non-interactive call.

	* plug-ins/script-fu/scripts/spinning-globe.scm: pass -1 as
	drawable ID for unused drawables. Fixes bug #138253.
2004-03-28 15:41:31 +00:00
Sven Neumann dd94d1cb05 validate the font name. This should work around the crashes that Windows
2004-03-28  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfontlist.c (gimp_font_list_add_font): validate the
	font name. This should work around the crashes that Windows users
	were experiencing on startup (bug #132366). The real problem needs
	to be fixed elsewhere though.
2004-03-28 14:27:37 +00:00
Michael Natterer 0af7cfa584 when re-adding a layer with mask, don't forget to set layer->mask->removed
2004-03-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.c (undo_pop_layer): when re-adding
	a layer with mask, don't forget to set layer->mask->removed to FALSE.
2004-03-28 14:25:42 +00:00
Michael Natterer 77447984cc added "gboolean removed" to the GimpItem struct. Defaults to FALSE. Set it
2004-03-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: added "gboolean removed" to the GimpItem
	struct. Defaults to FALSE. Set it to TRUE in gimp_item_removed().
	Added public function gimp_item_is_removed().

	* app/core/gimpimage-undo-push.c (undo_pop_layer)
	(undo_pop_layer_mask) (undo_pop_channel) (undo_pop_vectors):
	set it to FALSE manually when re-adding something from the
	undo stack.

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb.pl: don't allow any operation on items which
	are removed from the image (and exist on the undo stack only).
	Fixes bug #138311.

	* app/pdb/channel_cmds.c
	* app/pdb/color_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/edit_cmds.c
	* app/pdb/floating_sel_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/paint_tools_cmds.c
	* app/pdb/parasite_cmds.c
	* app/pdb/selection_cmds.c
	* app/pdb/selection_tools_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.
2004-03-28 14:20:57 +00:00
Sven Neumann a5117a65bd applied a (modified) patch from Nils Philippsen that fixes bug #138310.
2004-03-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/slide.scm: applied a (modified) patch
	from Nils Philippsen that fixes bug #138310.
2004-03-28 12:31:20 +00:00
Michael Natterer 02291637e1 applied a (modified) patch from Joao S. O. Bueno which removes any guides
2004-03-28  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/guillotine.c (guillotine): applied a (modified)
	patch from Joao S. O. Bueno which removes any guides from the
	cropped images. Fixes bug #138314.

	Skip guides which are at the image's edges because the algorithm
	already assumes that there are always guides at these positions.
	Fixes bug #138312.
2004-03-28 11:58:22 +00:00