Commit Graph

6986 Commits

Author SHA1 Message Date
Michael Natterer 4163623b27 Paint cleanup:
2002-06-09  Michael Natterer  <mitch@gimp.org>

	Paint cleanup:

	* app/paint/gimpairbrush.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimppencil.c
	* app/paint/gimpsmudge.c
	* app/tools/gimpblendtool.c: made all *_motion() functions take
	only (paint_core, drawable, paint_options) and get all parametrs
	from looking at paint_options. Reordered functions to be
	consistent. Indentation. Stuff...

	* app/paint/gimpdodgeburn.[ch]: moved the GimpLut from
	GimpDodgeBurnOptions to the GimpDodgeBurn object struct.

	* app/paint/gimpsmudge.[ch]: moved all global variables to the
	GimpSmudge object struct.
2002-06-09 13:56:09 +00:00
Sven Neumann fd21daebdf app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c
2002-06-09  Sven Neumann  <sven@gimp.org>

	* app/undo.c
	* app/config/gimpconfig-deserialize.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpcontainer.c
	* app/core/gimpimagefile.c
	* app/gui/paths-dialog.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpgradienteditor.c: unified translatable strings
	and unmarked a few for translation since they should never be seen.

2002-06-09  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated.

	* de.po: updated german translation.
2002-06-09 12:53:42 +00:00
Maurits Rijk 1718677456 More mnemonic stuff in plug-in dialogs (#80804) 2002-06-08 16:18:25 +00:00
Chyla Zbigniew a549ce8a08 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-06-08 15:45:00 +00:00
Sven Neumann d4882f0020 use stock pixbufs to draw the "Default Colors" and "Swap Colors" buttons.
2002-06-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptoolbox-color-area.[ch]: use stock pixbufs to
	draw the "Default Colors" and "Swap Colors" buttons.

	* app/widgets/gimptoolbox.c: changed accordingly.

	* pixmaps/Makefile.am
	* pixmaps/default.xpm
	* pixmaps/swap.xpm: removed these pixmaps.

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-default-colors-12.png
	* themes/Default/images/stock-swap-colors-12.png: added them as stock
	icons.

	* libgimpwidgets/gimpstock.[ch]: register the new stock icons.
2002-06-08 12:15:11 +00:00
Gediminas Paulauskas ce79591b0d Added Lithuanian translation from stable branch
2002-06-08  Gediminas Paulauskas <menesis@delfi.lt>

	* lt.po: Added Lithuanian translation from stable branch
2002-06-08 00:01:39 +00:00
Sven Neumann 928cc6429a applied patch from Henning Makholm <henning@makholm.net> that fixes wrong
2002-06-08  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_get_brush_mask): applied
	patch from Henning Makholm <henning@makholm.net> that fixes wrong
	brush opacity (bug #84538).
2002-06-08 00:01:17 +00:00
Sven Neumann 4706b866a1 ported to the GTK+-2.0 API.
2002-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: ported to the GTK+-2.0 API.
2002-06-07 23:47:04 +00:00
Sven Neumann 3aae39405e app/base/Makefile.am automake-1.6 seems to use yet another variable to
2002-06-08  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
	variable to pass flags to the assembler (bug #84514). Define
	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.

	* configure.in
	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
	GNU make extension that we don't really need and newer versions of
	automake don't seem to like it.
2002-06-07 23:00:46 +00:00
Michael Natterer f064fa4e69 added gimp_list_reverse().
2002-06-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplist.[ch]: added gimp_list_reverse().

	* app/core/gimpdocumentlist.c: call it after deserializing so we
	don't reverse the history each time.

	* app/widgets/gimpdevices.c: use it instead of manually fiddling
	with list->list.
2002-06-07 20:23:33 +00:00
Michael Natterer 413b9d3329 renamed gimp_drawable_apply_image() to gimp_drawable_push_undo() because
2002-06-06  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.[ch]: renamed gimp_drawable_apply_image()
	to gimp_drawable_push_undo() because that's what it actually does.

	* app/image_map.c
	* app/core/gimpdrawable-offset.c
	* app/core/gimpimage-mask.c
	* app/core/gimpimage.c
	* app/core/gimplayer.c
	* app/paint/gimppaintcore.c
	* app/tools/gimpinktool.c: changed accordingly. Removed redundant
	comments because it's now obvious what the function does from
	looking at its name.

	* app/core/gimpdrawable.[ch]
	* app/core/gimpimage.h: renamed "gboolean undo" parameters to
	"gboolean push_undo".
2002-06-06 19:44:05 +00:00
Michael Natterer f3bf0d7c41 forgot to commit this one.
2002-06-06  Michael Natterer  <mitch@gimp.org>

	* libgimpproxy/gimpchannel.h: forgot to commit this one.
2002-06-06 19:33:50 +00:00
Michael Natterer a46fa39fdd #include "gimpscanner.h"
2002-06-06  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-deserialize.c: #include "gimpscanner.h"
2002-06-06 19:31:52 +00:00
Michael Natterer 8bfd02fa5a added a boolean "push_undo" parameter.
2002-06-06  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.[ch] (gimp_channel_invert): added a boolean
	"push_undo" parameter.

	* app/core/gimpimage-mask.c
	* app/core/gimpimage-qmask.c: pass push_undo == TRUE.

	* app/core/gimplayer.c (gimp_layer_create_mask): call
	gimp_channel_invert(), not gimp_drawable_invert() because the
	latter takes the current selection into accout (reported by Jimmac
	on #gimp). Added g_return_if_fail() stuff to all public functions.
	Cleanup.
2002-06-06 19:07:59 +00:00
Michael Natterer 8c3f15b42a don't warn if an out-of-bounds index is passed in but simply return NULL
2002-06-06  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontainer.c (gimp_container_get_child_by_index):
	don't warn if an out-of-bounds index is passed in but simply
	return NULL (removes the need to check if the container has 0
	children before asking the container for it's first child).
2002-06-06 18:57:37 +00:00
Sven Neumann 113252affe added FreeType2 URL and suggest to use GNU make.
2002-06-06  Sven Neumann  <sven@gimp.org>

	* INSTALL: added FreeType2 URL and suggest to use GNU make.

	* configure.in: improved output in case of missing PangoFT2.
2002-06-06 18:06:10 +00:00
Michael Natterer 1cbdc95fca fixed #84157: allow the tool to scroll the display. Also preserve it on
2002-06-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectselecttool.c: fixed #84157: allow the tool to
	scroll the display. Also preserve it on drawable changes.
2002-06-05 09:04:34 +00:00
Jakub Steiner 636bf88c17 grr 2002-06-04 19:31:27 +00:00
Jakub Steiner 4a5e6aa58c icon updates 2002-06-04 19:28:24 +00:00
Michael Natterer 416c9f8070 i don't know what i was thinking, but GimpPaintOptions.context *is* used,
2002-06-04  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintoptions.[ch]: i don't know what i was
	thinking, but GimpPaintOptions.context *is* used, sorry...
2002-06-04 11:34:58 +00:00
Michael Natterer 0a39359d27 removed GimpPaintOptions.context because it was unused.
2002-06-04  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintoptions.[ch]: removed
	GimpPaintOptions.context because it was unused.
2002-06-04 10:43:49 +00:00
Maurits Rijk 3785c516b9 More mnemonic stuff (#80804) 2002-06-02 19:55:30 +00:00
Michael Natterer 110efe528c parse sessionrc using GScanner.
2002-06-02  Michael Natterer  <mitch@gimp.org>

	* app/gui/session.c: parse sessionrc using GScanner.

	* app/config/gimpscanner.[ch]: added utility function
	gimp_scanner_parse_string_list(). Fixed the color parser's parse
	error detection.

	* app/gimprc.c: removed the sessionrc parsing stuff.

	* app/config/gimpconfig-params.c (gimp_param_spec_color): no need
	to set the param_spec's value_type, it already gets set by it's
	base class' instance_init() function.
2002-06-02 19:48:01 +00:00
Maurits Rijk 6c193c2f2d Further work to port Imagemap plug-in to GTK-2.0: enable mnemonics in dialogs and menus and use stock icons wherever possible. 2002-06-02 15:06:31 +00:00
Pablo Saratxaga 4a7cb875a8 updated Catalan file 2002-06-02 13:35:50 +00:00
Maurits Rijk d6acd5a02a Lots of changes to update Imagemap plug-in to GTK-2.0, mainly removal of deprecated widgets and use of stock icons. 2002-06-02 11:49:37 +00:00
Pablo Saratxaga ba774bf1e4 updated Catalan files 2002-06-01 23:25:37 +00:00
Maurits Rijk 608837ccdd Enable mnemonics (#80804) and some work to get imagemap plug-in up-to-date. 2002-06-01 15:32:03 +00:00
Jakub Steiner 9f632962ab looks like I screwed up again and commited over something I didn't want. this is a revert to the previous version. sorry 2002-05-31 23:29:45 +00:00
Jakub Steiner b87c3ffe67 icon fixes 2002-05-31 23:24:00 +00:00
Chyla Zbigniew b1cbc6cc1a Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-05-31 22:52:26 +00:00
Michael Natterer bb5879643d removed all global variables, factored out duplicated code, cleanup.
2002-06-01  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpclone.[ch]: removed all global variables, factored
	out duplicated code, cleanup.
2002-05-31 22:28:04 +00:00
Michael Natterer 71d19cfd33 app/widgets/gimpcolormapeditor.c return FALSE from button press event
2002-05-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimppaletteeditor.c: return FALSE from button press
	event callbacks so the color drag handlers work again. Cleaned up
	the palette editor a bit.
2002-05-31 21:50:52 +00:00
Michael Natterer ff9b313ebe this is getting silly: this time (maybe) really fix #83418 and #26072: of
2002-05-31  Michael Natterer  <mitch@gimp.org>

	* app/paint-core/paint-core.c (combine_sub_region): this is
	getting silly: this time (maybe) really fix #83418 and #26072: of
	course the local buffer needs to take the sizes of all three
	passed in regions into account, not only two of them *sigh*
2002-05-31 21:42:06 +00:00
Michael Natterer c6948e6e95 configure the scanner the same way GimpConfig did (scanner->user_data is,
2002-05-31  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpscanner.[ch]: configure the scanner the same
	way GimpConfig did (scanner->user_data is, if set, a GError).
	Added gimp_scanner_parse_color(). Added "GError **error" to
	gimp_scanner_new().

	* app/config/gimpconfig.c: use gimp_scanner_new().

	* app/config/gimpconfig-deserialize.c: use gimp_scanner_parse_color().

	* app/core/gimpunits.c
	* app/plug-in/plug-in-rc.c: changed accordingly.

	* app/plug-in/plug-in-rc.c: made the main parse loops consistent
	with the other places using GScanner.
2002-05-31 13:58:18 +00:00
Michael Natterer 25b9554bc0 well, don't ask... 2002-05-31 13:47:57 +00:00
Michael Natterer 65fada3fb5 Fixed Maurits' ChangeLog entries. 2002-05-31 13:36:42 +00:00
Maurits Rijk 678aae0c82 More work on adding mnemonics (#80804) and fixed #81014 2002-05-31 11:39:27 +00:00
Sven Neumann 3d2fa9a54b Made 1.3.7 release. 2002-05-30 16:00:12 +00:00
Michael Natterer 98849323f3 UTF-8 validate all strings and try g_locale_to_utf8() as fallback if it
2002-05-30  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-read.c (xcf_read_string): UTF-8 validate all strings
	and try g_locale_to_utf8() as fallback if it fails.

2002-05-30  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/xcf/xcf-read.c
2002-05-30 14:37:35 +00:00
Sven Neumann 0f8e0a80e9 fixed template.
2002-05-30  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpmodule.sgml: fixed template.
2002-05-30 14:37:05 +00:00
Sven Neumann 9d70d18c79 updated german translation.
2002-05-30  Sven Neumann  <sven@gimp.org>

	* de.po: updated german translation.
2002-05-30 13:35:30 +00:00
Sven Neumann ec9e19af90 check for extra libraries needed for inet_ntoa() and socket() and define
2002-05-30  Sven Neumann  <sven@gimp.org>

	* configure.in: check for extra libraries needed for inet_ntoa() and
	socket() and define them as SOCKET_LIBS.

	* plug-ins/script-fu/Makefile.am (LDADD): added SOCKET_LIBS.
2002-05-30 12:47:11 +00:00
Stanislav Visnovsky e645660d5f Updated Slovak translation from Zdenko Podobny <zdpo@mailbox.sk>.
2002-05-30  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation from Zdenko Podobny <zdpo@mailbox.sk>.
2002-05-30 11:56:26 +00:00
Sven Neumann 892d319eae added -lX11 to LIBXMU since GTK_LIBS doesn't provide it for us anymore
2002-05-30  Sven Neumann  <sven@gimp.org>

	* configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
	it for us anymore (reported by Tomas Ogren).

	* libgimpbase/gimpenv.[ch]: declare gimp_path_runtime_fix() static.

	* app/base/Makefile.am: conditionally build detect-mmx.S to avoid
	warnings about empty object files (reported by Tomas Ogren).

	* plug-ins/Makefile.am: commented out plugin-helper since it's just
	too broken to be distributed.

	* themes/Default/images/Makefile.am: echo -n is not portable and not
	needed, so removed it (reported by Tomas Ogren).
2002-05-30 02:13:11 +00:00
Sven Neumann 0633d0c09b do some sanity checks on the values returned by GDK.
2002-05-30  Sven Neumann  <sven@gimp.org>

	* app/gui/gui.c (gui_get_screen_resolution): do some sanity checks
	on the values returned by GDK.
2002-05-30 00:26:27 +00:00
Sven Neumann 02999c28f9 bumped the version to 1.3.7.
* configure.in: bumped the version to 1.3.7.
2002-05-29 23:38:17 +00:00
Sven Neumann 538193c1f0 include gimp-mkproxy. Should fix bug #83455.
2002-05-30  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am (EXTRA_DIST): include gimp-mkproxy. Should fix
	bug #83455.
2002-05-29 23:19:18 +00:00
Michael Natterer 2ee04c2d58 messed with bug numbers in ChangeLog... 2002-05-29 21:22:51 +00:00
Michael Natterer 510fd8361e fixed #83418, which was caused by my bogus "fix" for #34849
2002-05-29  Michael Natterer  <mitch@gimp.org>

	* app/paint-funcs/paint-funcs.c: fixed #83418, which was caused by
	my bogus "fix" for #34849 (initial_sub_region:: error :: src->w *
	(src->bytes + 1) > 512).
	The assertions were there because there were local temporary
	buffers of 512 bytes size. Now the buffers' size is
	MAX (src->width * src->bytes, dest->width * dest->bytes) which
	should be enough this time :) Re-enabled the assertions because
	of paranoia...
2002-05-29 21:19:17 +00:00