Commit Graph

7019 Commits

Author SHA1 Message Date
Sven Neumann 29c36954f5 merged fix for bug #85573 from stable branch. We should port this stuff to
2002-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-server.c (read_from_client): merged
	fix for bug #85573 from stable branch. We should port this stuff
	to use GIOChannels.
2002-06-17 12:47:14 +00:00
Michael Natterer a3f44d8b0f Separated tool_options creation from tool registration so we don't
2002-06-17  Michael Natterer  <mitch@gimp.org>

	Separated tool_options creation from tool registration so we
	don't implicitly create widgets before gui_init():

	* libgimptool/gimptooltypes.h: removed GimpToolOptionsNewFunc
	typedef here...

	* app/core/core-types.h: ...and added it here.

	* libgimpproxy/gimpproxytypes.h: regenerated.

	* app/core/gimptoolinfo.[ch]: added a GimpToolOptionsNewFunc
	pointer to remember the constructor. Fixed the finalize() method
	(bug was never noticed because we leaked all tool infos)

	* app/tools/tool_manager.[ch]: moved tool_options creation to the
	new function tool_manager_restore(). Unref the tool infos after
	adding them to their container. Added "brush" and "gradient" to
	the context properties which are defined for tool contexts.

	* app/app_procs.c: call tool_manager_restore() after gui_init().

	* app/gui/gui.c: removed the hack introduced recently and call
	render_setup() in gui_init() again, not in gui_themes_init().

	Use the correct contexts now that they are properly initialized
	at the time of tool_options creation:

	* app/tools/gimpblendtool.c: use tool_info->context, not
	gimp_get_user_context() to get/set the tool's gradient.

	* app/paint/gimppaintcore.[ch] (gimp_paint_core_start): added a
	GimpPaintOptions paramater and get the brush to use from
	paint_options->context (instead of gimp_get_current_context()).

	* app/paint/gimppaintcore-stroke.c
	* app/tools/gimppainttool.c: changed accordingly.

	* app/tools/paint_options.c: added a brush preview to the paint
	options.
2002-06-17 10:34:28 +00:00
Sven Neumann 340b6acb20 az.po fixed fatal errors.
2002-06-17  Sven Neumann  <sven@gimp.org>

	* az.po
	* fr.po: fixed fatal errors.
2002-06-17 09:40:45 +00:00
Duarte Loreto 35d22183d1 Updated Portuguese translation.
2002-06-17  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-06-17 02:08:44 +00:00
Duarte Loreto 48d7c82236 Updated Portuguese translation.
2002-06-16  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-06-16 20:53:13 +00:00
Michael Natterer aa7be287dc Fix for #85201:
2002-06-16  Michael Natterer  <mitch@gimp.org>

	Fix for #85201:

	* app/tools/gimpfliptool.c: set the toggle_cursor correctly.

	* app/tools/gimptransformtool.c: if "use_grid" is FALSE, skip the
	cursor update stuff and chain up directly.

	Misc tool->control options fixes:

	* app/tools/gimppainttool.c: set "motion_mode" to
	GIMP_MOTION_MODE_EXACT.

	* 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/gimpsmudgetool.c: don't touch "motion_mode" here.

	* app/tools/gimpimagemaptool.c
	* app/tools/gimptransformtool.c: set "scroll_lock" to TRUE and
	"preserve" to FALSE.

	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: don't touch them here.

	* app/tools/gimphistogramtool.[ch]: derive it from GimpImageMapTool
	so it inherits it's control settings.

	* app/tools/gimpellipseselecttool.c: don't set "preserve" to TRUE.

	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmovetool.c: code formating paranoia.

	* app/tools/gimptoolcontrol.c: fixed indentation.
2002-06-16 17:13:39 +00:00
Michael Natterer 6fe42e3691 set the witdh of the gradient preview to 96 instead of 128 pixels so it is
2002-06-16  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpblendtool.c: set the witdh of the gradient preview
	to 96 instead of 128 pixels so it is not the widest tool options
	item with the "small" theme.
2002-06-16 16:35:05 +00:00
Michael Natterer b2de161674 register the new "invert" and "layer to imagesize" PNGs as stock icons.
2002-06-16  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpstock.[ch]: register the new "invert" and
	"layer to imagesize" PNGs as stock icons.

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

	* themes/Default/images/Makefile.am: fixed indentation.
2002-06-16 15:22:21 +00:00
Sven Neumann ecff138142 use the new paste icons in the menu.
2002-06-16  Sven Neumann  <sven@gimp.org>

	* app/gui/menus.c: use the new paste icons in the menu.
2002-06-16 11:52:32 +00:00
Jakub Steiner 957bea7a83 revert to 12x12 size 2002-06-15 07:29:49 +00:00
Jakub Steiner 365cd78c2c new icons 2002-06-14 23:35:24 +00:00
Chyla Zbigniew 1c12a794fa Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-06-14 21:25:01 +00:00
Maurits Rijk 21c8b1fbe5 Fix for #84588 (use standard size entry widget for 'Shift Amount') 2002-06-14 11:38:47 +00:00
Maurits Rijk 3bc492bab7 Fix for #71478 (Imagemap plug-in does not draw some rectangles correctly) 2002-06-14 07:13:36 +00:00
Sven Neumann 678a878cb9 made the DBBrowser dialog at least a little bit useable.
2002-06-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/dbbrowser_utils.c: made the DBBrowser dialog
	at least a little bit useable.
2002-06-13 23:40:55 +00:00
Maurits Rijk 0e0114f7fb Adding more mnemonic stuff (#80804) and replaced some memcpy of structure variables by structure assignments. 2002-06-13 20:32:21 +00:00
Sven Neumann a6b876f350 merged fix for bug #83420 from stable branch.
2002-06-13  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/unsharp.c: merged fix for bug #83420 from stable
	branch.
2002-06-13 12:43:12 +00:00
Sven Neumann ff300cf575 configure.in allocate shared memory segments with permissions 0600 instead
2002-06-13  Sven Neumann  <sven@gimp.org>

	* configure.in
	* app/plug-in/plug-in.c (plug_in_init_shm): allocate shared memory
	segments with permissions 0600 instead of making them accessible
	by everyone.
2002-06-13 12:02:06 +00:00
Sven Neumann 05f3910de1 applied a patch from Henning Makholm <henning@makholm.net> that vastly
2002-06-12  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.[ch]: applied a patch from Henning
	Makholm <henning@makholm.net> that vastly improves drawing of thin
	lines. See bug #69773 for a detailed description.
2002-06-12 19:18:34 +00:00
Sven Neumann 91d9799750 use off_t to handle file offsets (#74478).
2002-06-12  Sven Neumann  <sven@gimp.org>

	* app/base/tile-swap.c: use off_t to handle file offsets (#74478).
2002-06-12 18:44:46 +00:00
Sven Neumann 117a8032d1 center the preview's allocation.
2002-06-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppreview.c (gimp_preview_size_allocate): center
	the preview's allocation.

	* app/tools/gimpblendtool.c (blend_options_new): use a button for
	the gradient so it's more obvious that it can be pressed.
2002-06-12 15:39:03 +00:00
Michael Natterer 6ea8d93872 tyop... 2002-06-12 15:04:16 +00:00
Michael Natterer 91cfa78384 added a boolean "internal" which indicates that the data object is an
2002-06-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdata.[ch]: added a boolean "internal" which
	indicates that the data object is an automatically created
	internal object. Changed the code to refuse saving to deleting
	internal objects.

	* app/core/Makefile.am
	* app/core/gimp-gradients.[ch]: new files implementing internal
	gradients (FG -> BG in RGB and HSV and FG -> transparent).

	* app/core/gimp.c: call gimp_gradients_init().

	* app/core/gimpdatafactory.c (gimp_data_factory_data_free): don't
	free internal objects so they stay there on "Refresh".

	* app/core/gimpdatalist.c: sort internal objects to the beginning
	of the list.

	* app/widgets/gimpdataeditor.c: refuse to change the name of
	internal objects.

	* app/widgets/gimpdatafactoryview.c: set the "Delete" button
	insensitive for internal objects.

	* app/widgets/gimpgradienteditor.c: refuse to edit internal
	gradients, just display them so color picking works.

	* app/gui/brushes-commands.c
	* app/gui/gradients-commands.c
	* app/gui/palettes-commands.c
	* app/gui/patterns-commands.c: set the "Delete" menu item
	insensitive for internal objects.

	* app/gui/gui.c: need to call render_setup() earlier because of
	you-dont-want-to-know-why. Will change it back once the previews
	have their own render buffers.

	* app/tools/gimpblendtool.c: Replaced the "Type" menu by a preview
	showing the active gradient. Clicking the preview pops up the
	gradient selection. Renamed the "Gradient" menu to "Shape". Removed
	"blend_mode" from the BlendOptions struct because we always use
	"custom" mode now.
2002-06-12 13:48:47 +00:00
Andrew V. Samoilov f4e999feb2 Updated Ukrainian translation.
* uk.po: Updated Ukrainian translation.
2002-06-12 11:22:13 +00:00
Andrew V. Samoilov 0d6152cfab Updated Russian translation.
* ru.po: Updated Russian translation.
2002-06-12 10:18:38 +00:00
Sven Neumann affffa181c implemented anchor handling. Load remote URLs by calling the webbrowser
2002-06-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c: implemented anchor handling.
	Load remote URLs by calling the webbrowser plug-in.
2002-06-11 09:28:47 +00:00
Sven Neumann 4667d313af app/base/Makefile.am fixed my fix for automake-1.6 (#84514).
2002-06-11  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/paint-funcs/Makefile.am: fixed my fix for automake-1.6 (#84514).
2002-06-11 06:47:38 +00:00
Sven Neumann 86708509f6 minor changes 2002-06-10 12:21:59 +00:00
Sven Neumann e9288b221b suggest to use the stable branches of gtk+ and friends.
2002-06-10  Sven Neumann  <sven@gimp.org>

	* HACKING: suggest to use the stable branches of gtk+ and friends.
2002-06-10 11:50:25 +00:00
Kjartan Maraas 0d322a63f4 Updated Norwegian (bokml) translation.
2002-06-10  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokml) translation.
2002-06-10 08:55:46 +00:00
Sven Neumann 47ffee2f36 plug-ins/helpbrowser/Makefile.am added new files that implement conversion
2002-06-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/uri.[ch]: added new files that implement
	conversion of a relative URI and an absolute base URI to a new
	absolute URI according to RFC 2396. This code has been kindly
	provided by Jacob Schroeder <jacob@convergence.de>.

	* plug-ins/helpbrowser/helpbrowser.c: more work on the help
	browser using the new URI functions. Still work in progress.
2002-06-10 00:07:39 +00:00
Kjartan Maraas 72215f93fb Updated Norwegian (bokml) translation.
2002-06-09  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokml) translation.
2002-06-09 21:08:00 +00:00
Michael Natterer f2745d8880 themes/Default/imagerc themes/Default/images/Makefile.am register the new
2002-06-09  Michael Natterer  <mitch@gimp.org>

	* themes/Default/imagerc
	* themes/Default/images/Makefile.am
	* libgimpwidgets/gimpstock.[ch]: register the new "Swap" and
	"Default" icons in "menu" size.

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

	* app/widgets/gimptoolbox-color-area.c: changed accordingly.
2002-06-09 15:29:43 +00:00
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