Commit Graph

7118 Commits

Author SHA1 Message Date
Sven Neumann 8aad2160ba oops, forgot to commit the ChangeLog entry yesterday 2002-08-27 06:29:17 +00:00
Sven Neumann eab1d05e15 call 'libtoolize --version' instead of libtool.
2002-08-27  Sven Neumann  <sven@gimp.org>

	* autogen.sh: call 'libtoolize --version' instead of libtool.
2002-08-26 22:25:53 +00:00
Sven Neumann 60ff66f624 changed dialog name as suggested in bug-report #88905 and did some code
2002-08-26  Sven Neumann  <sven@gimp.org>

        * plug-ins/sel2path/sel2path.c: changed dialog name as suggested
        in bug-report #88905 and did some code cleanup while I was at it.
2002-08-26 20:11:22 +00:00
Ole Laursen 427b29d07c Updated Danish translation.
2002-08-26  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-08-26 14:23:38 +00:00
Michael Natterer 1186e83a28 Color correction tool chopping:
2002-08-26  Michael Natterer  <mitch@gimp.org>

	Color correction tool chopping:

	* app/Makefile.am
	* app/image_map.[ch]: removed...

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpimagemap.[ch]: ...and added here as object.

	* app/base/Makefile.am
	* app/base/base-types.h
	* app/base/color-balance.[ch]
	* app/base/curves.[ch]
	* app/base/hue-saturation.[ch]
	* app/base/threshold.[ch]: the lowlevel color correction functions
	plus their parameter structs cut out of the resp. tools.

	* app/core/core-enums.[ch]: removed GimpTransferMode enum...

	* app/base/base-enums.[ch]: ...added it here. Also added
	GimpHueRange for the new hue-saturation files.

	* tools/pdbgen/enums.pl
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c: regenerated.

	* app/tools/Makefile.am
	* app/tools/gimpcolorbalancetool-transfer.c: removed (code went
	to base/color-balance.c).

	* app/tools/gimpimagemaptool.[ch]: added most code which was
	diplicated in subclasses. Create the dialog here with a nice title
	bar including image preview and name (fixes #66033). Added virtual
	functions map(), dialog() and reset() which need to be implemented
	by subclasses.

	* app/tools/gimpbrightnesscontrasttool.[ch]
	* app/tools/gimpcolorbalancetool.[ch]
	* app/tools/gimpcurvestool.[ch]
	* app/tools/gimphuesaturationtool.[ch]
	* app/tools/gimplevelstool.[ch]
	* app/tools/gimpposterizetool.[ch]
	* app/tools/gimpthresholdtool.[ch]: removed tons of duplicated
	code and simply implement GimpImageMapTool's virtual functions.
	Removed all dialog structs and keep the variables in the tool
	structs. The dialogs are now created on-the-fly and destroyed when
	the tool goes away, which makes all callbacks much simpler and
	safer. Lots of GUI & code cleanup in all dialogs.

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: added separate "Reset Channel"
	buttons and let the global "Reset" buttons reset all color
	channels.

	* app/tools/tools.c: the various antique foo_free() functions
	don't exist any more.

	* app/tools/gimphistogramtool.c: removed ImageMap field from
	dialog struct (it was unused). Cleaned up dialog a bit.

	* tools/pdbgen/Makefile.am: don't scan tools/gimphuesaturationtool.h
	for enums.

	* tools/pdbgen/pdb/color.pdb: use the new stuff from base/ and
	don't include stuff from tools/ any more.

	* app/pdb/color_cmds.c
	* app/pdb/paint_tools_cmds.c: regenerated.
2002-08-26 11:35:56 +00:00
Duarte Loreto a7a2bc2b20 Updated Portuguese translation.
2002-08-25  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-08-25 22:40:03 +00:00
Sven Neumann 06f35cca7a allow radius < 1.0 (bug #90957).
2002-08-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: allow radius < 1.0 (bug #90957).
2002-08-24 23:52:14 +00:00
Sven Neumann efca6c33c5 added missing file. Updated german translation.
2002-08-24  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added missing file.
	* de.po: Updated german translation.
2002-08-24 13:23:04 +00:00
Christian Rose a8b519030b Updated Swedish translation.
2002-08-23  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2002-08-23 09:57:15 +00:00
Michael Natterer b8f363db4f a nicer tab for the selection dialog.
2002-08-22  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-constructors.c: a nicer tab for the selection
	dialog.
2002-08-22 19:11:41 +00:00
Michael Natterer 464f61829a themes/Default/images/stock-all-16.png
2002-08-22  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/stock-all-16.png
	* themes/Default/images/stock-none-16.png
	* themes/Default/images/stock-grow-16.png
	* themes/Default/images/stock-shrink-16.png: new icons from Jimmac.

	* themes/Default/images/Makefile.am
	* themes/Default/imagerc
	* libgimpwidgets/gimpstock.[ch]: added them to the stock system.

	* app/gui/menus.c: use them.

	* app/widgets/gimpselectioneditor.[ch]: use the icons and added
	a "Save to Channel" button.
2002-08-22 16:24:44 +00:00
Sven Neumann 48e27f1d51 tools/pdbgen/pdb/gimprc.pdb don't leak the result of
2002-08-22  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb
	* app/pdb/gimprc_cmds.c (gimprc_query_invoker): don't leak the
	result of gimprc_value_to_str().

	* app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale):
	use g_new0() instead of g_new() followed by memset().

	* plug-ins/script-fu/script-fu-server.c (server_log): free the
	string after logging it.
2002-08-22 15:16:36 +00:00
Michael Natterer 2314302c0a unref the paint info objects after adding them to their container.
2002-08-22  Michael Natterer  <mitch@gimp.org>

	* app/paint/paint.c: unref the paint info objects after adding
	them to their container.

	* app/widgets/toolbox.c: free the tooltip string after setting it.

	* app/gui/session.c: spit out the correct warning if (position x y)
	could not be parsed.
2002-08-22 14:48:28 +00:00
Michael Natterer e62c2c58c7 bumped version number to 1.3.9
2002-08-22  Michael Natterer  <mitch@gimp.org>

	* configure.in: bumped version number to 1.3.9

	* app/tools/gimpbycolorselecttool.[ch]: removed the ByColorDialog
	and cleaned up the code.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpselectioneditor.[ch]: added new widget
	GimpSelectionEditor with same same functionality as the old
	ByColorDialog which can be open all the time (independent of the
	active tool).

	* app/widgets/gimppreview.[ch]: added gimp_preview_new_by_type()
	so previews can be created without a viewable.

	* app/widgets/gimppreview-utils.[ch]: changed
	gimp_preview_type_from_viewable() to
	gimp_preview_type_from_viewable_type().

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c
	* app/gui/menus.c: register the new dialog type.
2002-08-22 12:49:01 +00:00
Michael Natterer c2523d8d63 compress emissions of "mask_changed" and "qmask_changed" across undo
2002-08-22  Michael Natterer  <mitch@gimp.org>

	* app/undo.c: compress emissions of "mask_changed" and
	"qmask_changed" across undo groups.

	* app/core/gimpimage-mask.c: set GIMP_DRAWABLE(mask)->preview_valid
	to FALSE in gimp_image_mask_invalidate(), not in
	gimp_image_mask_push_undo(). Fixes selection preview rendering
	after a mask undo.
2002-08-22 10:40:11 +00:00
Michael Natterer b5e38ad1d7 allocate all temporary render bufs and check bufs large enough for
2002-08-22  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-render.c: allocate all temporary
	render bufs and check bufs large enough for GIMP_PREVIEW_MAX_SIZE
	(which is 1024). Fixes crashes with too large navigation previews.
2002-08-22 10:36:23 +00:00
Maurits Rijk 1479fe4c49 Applied patch for #87687 (ImageMap should use lowercase, not uppercase tags) from shaneyfelt@juno.com 2002-08-22 10:25:28 +00:00
Michael Natterer 06aa1afdde Fixed usage of uninitialized memory found by valgrind, plus some cleanup:
2002-08-22  Michael Natterer  <mitch@gimp.org>

	Fixed usage of uninitialized memory found by valgrind,
	plus some cleanup:

	* app/base/pixel-region.[ch]: allocate PixelRegionIterators and
	PixelRegionHolders with g_new0(). Changed return values of
	pixel_regions_register() and pixel_regions_process() from gpointer
	to PixelRegionIterator*

	* app/base/pixel-processor.c: no need to cast the above return values.

	* app/base/temp-buf.[ch]: initialize PixelRegions with { 0 }
	before using them for TempBufs.

	* app/gui/device-status-dialog.c: initialize colors before
	passing them to gimp_color_area_new().
2002-08-22 09:48:56 +00:00
Maurits Rijk ca8b830162 Added functionality to create an imagemap using the standard GIMP guides, kindly requested by carol :) 2002-08-21 20:48:14 +00:00
Michael Natterer 728778ca32 don't g_free() static strings (happened if gimprc.last_opened_size > 9,
2002-08-21  Michael Natterer  <mitch@gimp.org>

	* app/gui/menus.c (menus_last_opened_add): don't g_free() static
	strings (happened if gimprc.last_opened_size > 9, fixes #85795).
2002-08-21 15:58:50 +00:00
Michael Natterer 5103c495fb call gimp_image_mask_changed() after performing the selection op.
2002-08-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-mask-select.c: call gimp_image_mask_changed()
	after performing the selection op.
2002-08-21 10:59:26 +00:00
Sven Neumann f23ab01bc7 Made 1.3.8 release.
2002-08-20  Sven Neumann  <sven@gimp.org>

	* Made 1.3.8 release.
2002-08-20 15:27:27 +00:00
Sven Neumann 4206b54301 don't use the automatic variable $< (seems to work with GNU make only).
2002-08-20  Sven Neumann  <sven@gimp.org>

	* data/misc/Makefile.am: don't use the automatic variable $<
	(seems to work with GNU make only).
2002-08-20 12:57:06 +00:00
Sven Neumann 537e8e66fe updated.
2002-08-20  Sven Neumann  <sven@gimp.org>

	* NEWS: updated.
2002-08-20 12:26:34 +00:00
Michael Natterer 3f69d6cd50 This files should have gone with my last comitt... 2002-08-20 10:45:37 +00:00
Michael Natterer 08c35cdfd9 namespace cleanup.
2002-08-20  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpfuzzyselecttool.c: namespace cleanup.
2002-08-20 10:40:38 +00:00
Michael Natterer 33bba65728 Make sure the selection (gimpimage-mask.c) functionality is really built
2002-08-20  Michael Natterer  <mitch@gimp.org>

	Make sure the selection (gimpimage-mask.c) functionality is really
	built *on top* of the GimpChannel functionality:

	* app/undo.[ch]: renamed undo_push_image_mask() to
	undo_push_mask() and generalized it's API to take a GimpChannel
	param so undos can be pushed for channels which are not the
	image's selection. Simplified the API and added code which copies
	the region of interest instead of leaving this to callers.

	* app/undo_types.h: s/IMAGE_MASK_UNDO/MASK_UNDO/

	* app/undo_history.c: changed accordingly.

	* app/core/gimpchannel.[ch]: don't #include "gimpimage-mask.h".
	Changed gimp_channel_push_undo() to really push a channel undo,
	not a selection undo. Added "gboolean push_undo" params to all
	functions which are called from gimpimage-mask.c. Various cleanups
	and optimizations. Added /*< proxy-foo >*/ stuff to the header so
	we export just the struct itself to libgimpproxy. Added accessors
	gimp_channel_[get|set]_show_masked().

	* app/core/gimpimage-mask.[ch]: renamed gimp_image_mask_undo() to
	gimp_image_mask_push_undo(). Call it before calling GimpChannel
	functions which modify the mask, also call all GimpChannel
	functions with push_undo = FALSE. Emit gimp_image_mask_changed()
	after each operation instead of calling it in
	gimp_image_mask_invalidate(). Removed gimp_image_mask_none()
	because it is the same as gimp_image_mask_clear().
	General cleanup.

	* app/core/gimpimage-mask-select.c
	* app/core/gimpimage-qmask.c: changed accordingly.

	* app/core/gimpedit.c: call gimp_image_mask_clear(), not
	gimp_channel_clear (gimp_image_get_mask()).

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-scale.c: call gimp_image_mask_changed()

	* app/gui/channels-commands.c
	* app/gui/select-commands.c
	* app/tools/gimptexttool.c
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/selection.pdb: follow GimpChannel and
	gimp_image_mask* API changes.

	* app/pdb/channel_cmds.c
	* app/pdb/selection_cmds.c
	* libgimpproxy/gimpchannel.h: regenerated.

	Unrelated:

	* app/core/gimpimage.c: call gimp_drawable_push_undo() instead of
	undo_push_image() directly.
2002-08-20 10:22:23 +00:00
Manish Singh 68820735e5 remove bashism (function keyword)
2002-08-18  Manish Singh  <yosh@gimp.org>

        * autogen.sh: remove bashism (function keyword)
2002-08-19 03:35:20 +00:00
Michael Natterer ff92915929 removed GTK_ENABLE_BROKEN and _DEPRECATED #defines and #includes because
2002-08-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gif.c: removed GTK_ENABLE_BROKEN and _DEPRECATED
	#defines and #includes because this plug-in has already been
	ported.
2002-08-18 21:57:15 +00:00
Duarte Loreto 1d5aeaf857 Updated Portuguese translation.
2002-08-17  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-08-18 00:58:51 +00:00
Duarte Loreto c66ade156f Updated Portuguese translation.
2002-08-17  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-08-17 17:18:10 +00:00
Andras Timar 9daf120c3c Updated Hungarian translation.
2002-08-16  Andras Timar  <timar@gnome.hu>

        * hu.po: Updated Hungarian translation.
2002-08-16 21:08:14 +00:00
Ole Laursen d59706beee Updated Danish translation.
2002-08-13  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-08-13 20:22:03 +00:00
Ole Laursen 5215730101 Fixed a bunch of strings in Danish translation.
2002-08-13  Ole Laursen  <olau@hardworking.dk>

	* da.po: Fixed a bunch of strings in Danish translation.
2002-08-13 19:49:36 +00:00
Christophe Merlet eae2669b28 Updated French translation. 2002-08-12 08:20:17 +00:00
Michael Natterer ab53e0d3f5 fixed warning, coding style.
2002-08-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontainer.c: fixed warning, coding style.
2002-08-11 18:45:24 +00:00
Sven Neumann 6d151f5fd0 reverted Dave's change since this feature has already been implemented
2002-08-06  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpmagnifytool.[ch]: reverted Dave's change
	since this feature has already been implemented properly
	(and configurable) last December.
2002-08-06 10:55:40 +00:00
Dave Neary 07ecc12c2a Require a minimum movement in the X and Y direction before we zoom in
2002-08-05  Dave Neary  <bolsh@gimp.org>

        * app/tools/gimpmagnifytool.[ch]: Require a minimum
        movement in the X and Y direction before we zoom in
        on/out to the dragged square. Limit rather arbitrarily
        set to 5. This fixes bug #86939, reported by
        philipj@telia.com.
2002-08-05 09:30:33 +00:00
Sven Neumann 24e35fde91 plug-ins/common/gauss_iir.c merged fix for bug #89825 from stable branch.
2002-08-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c: merged fix for bug #89825 from
	stable branch.
2002-08-04 15:27:05 +00:00
Dave Neary 2c11b461f1 Add RGBA as a decompose target.
2002-08-04  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/decompose.c: Add RGBA as a decompose
        target.
2002-08-04 14:37:30 +00:00
Manish Singh 55c5b0c7eb make sure -lm is in $LIBS for the finite/isfinite test, fixes issues on
2002-08-03  Manish Singh  <yosh@gimp.org>

        * configure.in: make sure -lm is in $LIBS for the finite/isfinite
        test, fixes issues on newer FreeBSD

        * plug-ins/common/jpeg.c: cast statbuf.st_size to glong for
        g_snprintf
2002-08-04 03:38:16 +00:00
Maurits Rijk 3d92aa5829 Started implementation of fuzzy select. Removed 2 pixmaps for which we now have stock icons and made a few changes according to #87687 2002-08-03 12:24:49 +00:00
Maurits Rijk fcdb1553ba Lowercased generated tags as described in #87687 2002-08-01 20:25:51 +00:00
Pablo Saratxaga 1b8ace53f1 Added Vietnamese file 2002-07-24 06:11:39 +00:00
Christian Rose 772b46a99c Updated Swedish translation by Jan Moren <jan.moren@lucs.lu.se>.
2002-07-24  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation by
	Jan Moren <jan.moren@lucs.lu.se>.
2002-07-24 00:05:07 +00:00
Sven Neumann ca219ebf22 applied a patch from Guillermo S. Romero that updates the example imagerc.
2002-07-22  Sven Neumann  <sven@gimp.org>

	* themes/Default/imagerc: applied a patch from Guillermo S. Romero
	that updates the example imagerc.
2002-07-22 12:14:19 +00:00
Christian Rose f62fc608e2 Updated Swedish translation by Jan Moren <jan.moren@lucs.lu.se>.
2002-07-22  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation by
	Jan Moren <jan.moren@lucs.lu.se>.
2002-07-21 22:16:13 +00:00
Pablo Saratxaga 29a0f04eba Added Vietnamese file 2002-07-21 19:40:07 +00:00
Christian Rose e4f97ee52a Updated Swedish translation by Jan Moren <jan.moren@lucs.lu.se>.
2002-07-20  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation by
	Jan Moren <jan.moren@lucs.lu.se>.
2002-07-20 13:52:35 +00:00
Christian Rose aa2c00937d Updated Swedish translation.
2002-07-20  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2002-07-20 12:05:32 +00:00