Commit graph

11354 commits

Author SHA1 Message Date
Michael Natterer 0d3e3625c3 moved "shell_desc" from GimpImageMapTool to GimpImageMapToolClass and
2004-02-25  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpimagemaptool.[ch]: moved "shell_desc" from
	GimpImageMapTool to GimpImageMapToolClass and added
	"load_dialog_title" and "save_dialog_title". Create the
	load/save buttons in gimp_image_map_tool_initialize() and
	remember them in the GimpImageMapTool struct. Moved the
	whole load/save button/dialog logic into private functions.

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: changed accordingly, removed
	load/save callbacks, inlined the load/save functions into
	GimpImageMapTool's virtual function implementations.

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c: changed accordingly.
2004-02-25 13:55:45 +00:00
Pablo Gonzalo del Campo dc25eebfaa Updated Spanish translation.
2003-02-25  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2004-02-25 13:34:04 +00:00
Pablo Gonzalo del Campo a5b30d85fa Updated Spanish translation.
2004-02-25  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2004-02-25 13:33:45 +00:00
Pablo G. del Campo 67fa056328 Updated Spanish translation.
2004-02-25  Pablo G. del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2004-02-25 13:33:16 +00:00
Sven Neumann 0a309fe940 app/tools/gimpcurvestool.[ch] removed obsoleted variables.
2004-02-25  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.[ch]
	* app/tools/gimplevelstool.h: removed obsoleted variables.
2004-02-25 12:31:18 +00:00
Sven Neumann c66053676c removed obsolete includes 2004-02-25 10:28:09 +00:00
Sven Neumann c1de6345a7 app/tools/gimpcurvestool.[ch] app/tools/gimpimagemapoptions.[ch]
2004-02-25  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.[ch]
	* app/tools/gimpimagemapoptions.[ch]
	* app/tools/gimpimagemaptool.[ch]
	* app/tools/gimplevelstool.[ch]: moved the settings file dialog
	that was duplicated in the curves and levels tools to the
	GimpImageMapTool class. Store the last used filename in the
	GimpImageMapOptions (proper fix for bug #135059).
2004-02-25 10:23:43 +00:00
Alastair McKinstry c9ee3dc2a6 Updated Irish translation 2004-02-24 22:38:07 +00:00
Dave Neary 879e24fec9 Revert to 1.2 behaviour of hiding rather than destroying the curves
2004-02-24  Dave Neary  <bolsh@gimp.org>

        * app/tools/gimpcurvestool.c: Revert to 1.2 behaviour of hiding
        rather than destroying the curves load/save dialog. This makes
        the last selected curve be selected when the dialog is
        re-opened, and fixes bug #135059.

        Also append G_DIR_SEPARATOR_S to the end of the filename we
        build while creating the dialog, rather than ".".
2004-02-24 22:09:28 +00:00
Sven Neumann 53261dd845 added en_CA.po.
2004-02-24  Sven Neumann  <sven@gimp.org>

	* Makefile.am (tips_POFILES): added en_CA.po.
2004-02-24 21:12:23 +00:00
Adam Weinberger cb166e4a4d Added Canadian English translation.
* tipx/en_CA.po: Added Canadian English translation.
2004-02-24 20:53:11 +00:00
Michael Natterer 2b71bc4a03 Forgot to also change the window's role. 2004-02-24 14:38:47 +00:00
Michael Natterer 1ea5edcbb3 renamed member "file_selection" to "file_dialog" because the former refers
2004-02-24  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpfileentry.[ch]: renamed member
	"file_selection" to "file_dialog" because the former refers to the
	currently used implementation, while the latter is neutral.
2004-02-24 14:35:08 +00:00
Sven Neumann e607ec7f24 app/app-docs.sgml app/app-sections.txt updated.
2004-02-24  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: updated.
2004-02-24 13:58:20 +00:00
Adam Weinberger df041c056e Added en_CA (Canadian English) to ALL_LINGUAS Added en_CA translation.
* configure.in: Added en_CA (Canadian English) to ALL_LINGUAS
	* po/en_CA.po: Added en_CA translation.
	* po-libgimp/en_CA.po: Added en_CA translation.
	* po-plug-ins/en_CA.po: Added en_CA translation.
	* po-script-fu/en_CA.po: Added en_CA translation.
2004-02-24 01:41:52 +00:00
Michael Natterer 8ebee8d15b added #defines for GimpCoords' default pressure, tilt and wheel values.
2004-02-23  Michael Natterer  <mitch@gimp.org>

	* app/core/core-types.h: added #defines for GimpCoords' default
	pressure, tilt and wheel values.

	* app/display/gimpdisplayshell-callbacks.c
	* app/paint/gimppaintcore-stroke.c
	* app/text/gimptext-vectors.c
	* app/vectors/gimpvectors-compat.c
	* tools/pdbgen/pdb/paint_tools.pdb: use them. Fixes lots more
	buggy default values for tilt (in fact all of them were wrong).

	* app/pdb/paint_tools_cmds.c: regenerated.
2004-02-23 23:10:21 +00:00
Michael Natterer eb7f99bb8f added #defines for GimpCoords' default pressure, tilt and wheel values.
2004-02-23  Michael Natterer  <mitch@gimp.org>

	* app/core/core-types.h: added #defines for GimpCoords' default
	pressure, tilt and wheel values.

	* app/display/gimpdisplayshell-callbacks.c
	* app/paint/gimppaintcore-stroke.c
	* app/text/gimptext-vectors.c
	* tools/pdbgen/pdb/paint_tools.pdb: use them. Fixes lots more
	buggy default values for tilt (in fact all of them were wrong).

	* app/pdb/paint_tools_cmds.c: regenerated.
2004-02-23 22:36:50 +00:00
Simon Budig 8b18fc8547 corrected the value ranges and default values for GDK_AXIS_XTILT and
2004-02-23  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c: corrected the
	value ranges and default values for GDK_AXIS_XTILT and
	GDK_AXIS_YTILT. Now the ink-tool behaves sane with a mouse
	again  :)
2004-02-23 20:30:44 +00:00
Simon Budig 00c35dad74 don't access the array before checking if the index is within the valid
2004-02-23  Simon Budig  <simon@gimp.org>

	* app/tools/gimpinktool-blob.c: don't access the array before
	checking if the index is within the valid bounds...
2004-02-23 20:12:35 +00:00
Michael Natterer 02065884f2 return the snapped coordinates as gdouble, not gint because we must not
2004-02-23  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-snap.[ch]: return the snapped coordinates as
	gdouble, not gint because we must not round the unsnapped axis
	if only one axis snapped.

	* app/display/gimpdisplayshell.[ch] (gimp_display_shell_snap_coords):
	changed accordingly. Added boolean return value indicating "snapped".

	* app/display/gimpdisplayshell-cursor.[ch]
	(gimp_display_shell_update_cursor): take both display_x and _x and
	(possibly snapped) image_x and _y. Use the snapped values for the
	statusbar and the unsnapped ones for updating the info_window.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): applied modified patch
	from Simon Budig which moves guide/grid snapping out of the
	button_press/motion/button_release handlers and *always* snaps
	the image_coords if the active_tool wants them to be snapped.
	Makes sure that e.g. the brush preview is drawn at the right
	place and fixes bug #134284.

	Also pass both display_coords and image_coords to
	gimp_display_shell_update_cursor().
2004-02-23 18:23:31 +00:00
Marco Ciampa 6f0adbbdea Updated italian translation 2004-02-23 17:58:21 +00:00
Simon Budig d85c8c19f5 removed unused member "standard_context" from the Gimp struct.
2004-02-23  Simon Budig  <simon@gimp.org>

	* app/core/gimp.[ch]: removed unused member "standard_context"
	from the Gimp struct.
2004-02-23 00:19:54 +00:00
Takeshi Aihana 9a80327c6e 2004-02-22 Updated ja.po by Ryoichi INAGAKI <inagaki@ryo1.net>. T.Aihana <aihana@gnome.gr.jp> 2004-02-22 14:40:21 +00:00
Sven Neumann 1d86e0e95f added more NEWS 2004-02-22 14:34:23 +00:00
Sven Neumann 5077aa4c85 Let all GimpImageMap tools remember the state of the preview toggle (bug
2004-02-22  Sven Neumann  <sven@gimp.org>

	Let all GimpImageMap tools remember the state of the preview toggle
	(bug #135059):

	* app/tools/Makefile.am
	* app/tools/gimpimagemapoptions.[ch]
	* app/tools/tools-types.h: added new GimpToolOptions class to hold
	the preview setting.

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcoloroptions.[ch]
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpimagemaptool.[ch]
	* app/tools/gimpposterizetool.c
	* app/tools/tools-types.h: use the new class.
2004-02-22 14:28:53 +00:00
Manish Singh 0d84268f41 Add GTK_MISC cast for bin->child.
2004-02-21  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimpenummenu.c (gimp_enum_stock_box_set_child_padding):
        Add GTK_MISC cast for bin->child.
2004-02-21 23:43:57 +00:00
David Neary e4026c1fb0 Updated NEWS before 2.0pre4 release 2004-02-21 21:12:51 +00:00
Simon Budig 331f982322 added "use_offsets" parameter to gimp_draw_tool_draw_boundary() for
2004-02-21  Simon Budig  <simon@gimp.org>

	* app/tools/gimpdrawtool.[ch]: added "use_offsets" parameter
	to gimp_draw_tool_draw_boundary() for consistency.

	* app/tools/gimpeditselectiontool.c: Changed accordingly.

	* app/tools/gimppainttool.c: when drawing straight lines draw
	the brush preview at the end of the line.
2004-02-21 16:06:56 +00:00
Sven Neumann cec5c6ab31 put the color bars into an event box and draw the sliders on the event box
2004-02-20  Sven Neumann  <sven@gimp.org>

	* app/tools/gimplevelstool.[ch]: put the color bars into an event
	box and draw the sliders on the event box window.

	* app/widgets/gimpcolorbar.[ch]: removed support for input events
	which is no longer needed. For consistency, renamed "channel"
	property to "histogram-channel".

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

	* app/widgets/gimpenummenu.[ch]: added new function
	gimp_enum_stock_box_set_child_padding().

	* app/tools/gimpcurvestool.[ch]: let the graph widget expand with
	the dialog plus some other dialog tweaks.

	* app/widgets/gimphistogrameditor.c: let the channel menu shrink
	as in the other dialogs.

	* libgimpwidgets/gimpcolorselect.c (gimp_color_select_image_fill):
	allocate temporary buffer on the stack.
2004-02-21 12:25:09 +00:00
Stanislav Brabec be5ecebe36 Typo fix. 2004-02-20 20:06:32 +00:00
Miloslav Trmac 03463eba53 Update Czech translation 2004-02-20 14:19:58 +00:00
Jan Morén 1874c6999f Updated Swedish translation.
2004-02-20  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2004-02-20 14:06:59 +00:00
Manish Singh d34136153f Moved to the Test menu, to clarify its station in life.
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/plug-ins/sphere.py: Moved to the Test menu,
        to clarify its station in life.
2004-02-20 08:55:10 +00:00
Manish Singh 843e4a30ba Do some simple validation on the GUI input. Arrays are still kinda hokey
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/gimpfu.py: Do some simple validation on the
        GUI input. Arrays are still kinda hokey though. Based on Dave Neary's
        patch, addresses bug #122049.

        * plug-ins/common/pygimp/plug-ins/sphere.py: Make sure radius is at
        least 1. Thanks to Florian Traverse for noticing. (Also in #122049)
2004-02-20 08:41:00 +00:00
Danilo Šegan e80060a1e7 Updated Serbian translation (tips). 2004-02-20 05:34:55 +00:00
Danilo Šegan 80ae7334ff Updated Serbian translation (plug-ins). 2004-02-20 05:32:19 +00:00
Danilo Šegan ef600ead5e Updated Serbian translation (libgimp). 2004-02-20 05:32:06 +00:00
Danilo Šegan bb503602be Updated Serbian translation (general). 2004-02-20 05:28:07 +00:00
Simon Budig 8636550cf6 fixed crash when the effect image is smaller than the target drawable.
2004-02-20  Simon Budig  <simon@gimp.org>

	* plug-ins/common/lic.c: fixed crash when the effect image
	is smaller than the target drawable. Major code overhaul (not
	yet fully completed), removed global variables, removed
	micro-functions that itself just invoke micro-functions, use
	more libgimpcolor functions.

	Slightly improved the algorithm by adding small random
	distorsions to the effect image. This avoids artefacts in plain
	areas.
2004-02-20 01:52:04 +00:00
Ole Laursen c957cea8dc Updated Danish translation.
2004-02-19  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2004-02-19 21:40:11 +00:00
Sven Neumann 6b8d6ca4a6 fixed inline docs updated application docs 2004-02-19 20:26:51 +00:00
Sven Neumann 924acb2b0d app/widgets/Makefile.am app/widgets/widgets-types.h added new widget
2004-02-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcolorbar.[ch]: added new widget GimpColorBar.

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimphistogrambox.[ch]: use GimpColorBar widgets.

	* app/widgets/gimpcolorframe.[ch]: fixed typos.
2004-02-19 19:56:04 +00:00
Michael Natterer c2b4867b71 libgimpwidgets/libgimpwidgets-sections.txt
2004-02-19  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml
	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
2004-02-19 17:45:39 +00:00
Michael Natterer 799ea1f107 themes/Default/images/Makefile.am
2004-02-19  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-display-filter-16.png
	* themes/Default/images/stock-display-filter-24.png
	* libgimpwidgets/gimpstock.[ch]: added Jimmac's glasses.

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/gui/image-menu.c: and use them.
2004-02-19 16:51:44 +00:00
Michael Natterer c33e0e8bc0 removed static variables, don't use GIMP_CONFIG_INSTALL_PROP_FOO() for
2004-02-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdasheditor.[ch]: removed static variables, don't
	use GIMP_CONFIG_INSTALL_PROP_FOO() for non-config classes,
	trailing whitespace, cleanup.
2004-02-19 16:42:24 +00:00
Simon Budig b60050534c fixed gimp_dialog_new invocation. Also fixed a blatant error in the
2004-02-19  Simon Budig  <simon@gimp.org>

	* plug-ins/common/lic.c: fixed gimp_dialog_new invocation.
	Also fixed a blatant error in the algorithm (GimpRGB has a
	range from 0..1 for each component...) and now the plugin
	actually does something useful.
2004-02-19 15:04:28 +00:00
Sven Neumann 7b7b978e8f follow some of the levels tool dialog changes for consistency.
2004-02-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): follow
	some of the levels tool dialog changes for consistency.
2004-02-19 14:10:54 +00:00
Michael Natterer bb7a9d9bcc new function which returns the image's QMask.
2004-02-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-qmask.c (gimp_image_get_qmask): new function
	which returns the image's QMask.

	* app/core/gimpimage.c (gimp_image_channel_name_changed)
	* app/gui/qmask-commands.c (qmask_query_response): use it.
2004-02-19 13:18:24 +00:00
Michael Natterer 513f5eac36 added new signal "buffer_changed" and new function
2004-02-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.[ch]: added new signal "buffer_changed" and new
	function gimp_set_global_buffer() which emits it when the global
	buffer changes.

	* app/core/gimp-edit.c (gimp_edit_extract): use it instead
	of fiddling with gimp->global_buffer manually.

	* app/gui/image-menu.c: connect to "buffer_changed" and set the
	"Paste" menu entries sensitive. Fixes bug #134752.

	(image_menu_update): changed accordingly. Also changed a lot of
	buggy SET_SENSITIVE() lines which made menu items which work fine
	on any drawable insensitive when there were no layers (instead
	of no drawable).

	* app/gui/edit-commands.c: added new macro return_if_new_drawable()
	and use it instead of return_if_no_image() so we don't run
	into assertions if there is no active drawable.

	(cut,copy_named_buffer_callback): unfortunately had to introduce
	two new translated messages about not being able to cut/copy when
	there is no active drawable.
2004-02-19 12:49:15 +00:00
Michael Natterer fc38ede399 app/config/gimpconfig-serialize.c (gimp_config_serialize_property)
2004-02-19  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-serialize.c
	(gimp_config_serialize_property)
	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_property): Reverted my last "cleanup" and
	put the "obsolete" check for the exact owner class of the property
	back. It appears that if a subclass does *not* implement
	GimpConfigInterface *itself*, it still inherits
	serialize_property()/deserialize_property().
2004-02-19 12:30:18 +00:00