Commit Graph

8316 Commits

Author SHA1 Message Date
Michael Natterer 59af012a50 applied patch from yvind Kols that fixes bug #109570.
2003-03-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform-utils.c
	(gimp_drawable_transform_matrix_perspective): applied patch from
	yvind Kols that fixes bug #109570.
2003-03-31 08:32:30 +00:00
Sven Neumann 174f717fd1 POTFILES.in updated.
2003-03-31  Sven Neumann  <sven@gimp.org>

        * POTFILES.in
        * de.po: updated.
2003-03-31 00:17:18 +00:00
Sven Neumann d9dfddc204 configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2003-03-30  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/mng.c: added MNG save plug-in written by
	S. Mukund <muks@mukund.org>.
2003-03-30 22:06:46 +00:00
Sven Neumann f50c7a5748 increased the upper limit for the brush radius to 1000. Fixes bug #109434.
2003-03-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpbrusheditor.c: increased the upper limit for the
	brush radius to 1000. Fixes bug #109434.
2003-03-30 19:30:10 +00:00
Michael Natterer e91d7943ae shut up compiler.
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-resize.c (gimp_image_resize): shut up compiler.
2003-03-30 16:17:48 +00:00
Michael Natterer 372094aefa fixed to check the *new* guide position to be within bounds, not the old
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-resize.c (gimp_image_resize): fixed to check
	the *new* guide position to be within bounds, not the old
	one. Cleanup.

	* app/core/gimpimage-undo-push.c (undo_pop_image_guide): undo
	guide removal and moves manually instead of calling
	gimp_image_[add|move]_guide() because the latter may run into
	g_return_if_fail(position <= gimage->width/height) if the undo
	step is part of a resize or crop undo group.
2003-03-30 16:11:51 +00:00
Michael Natterer 5eccc36081 set the active display before showing the menu (fixes bug #109472).
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_origin_menu_popup): set the active display
	before showing the menu (fixes bug #109472).
2003-03-30 13:41:03 +00:00
Michael Natterer c736836f9c app/core/gimpimage-guides.c fixed to accept guide->position ==
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-guides.c
	* tools/pdbgen/pdb/guides.pdb: fixed to accept guide->position ==
	image->width/height. Guides live *between* pixels, so they must be
	able to exist right of/below the image's rightmost/bottom pixel.

	* app/core/gimpimage-crop.c (gimp_image_crop_adjust_guides):
	fixed guide iteration to not crash when the current guide is
	removed from the image (fixes bug #109533).

	* app/pdb/guides_cmds.c: regenerated.
2003-03-30 13:09:57 +00:00
Manish Singh bbb3172db1 plug-ins/script-fu/interp_slib.c patch from Pedro Gimeno to fix printing
2003-03-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/interp_slib.c
        * plug-ins/script-fu/interp_sliba.c: patch from Pedro Gimeno to fix
        printing of floating point numbers in script-fu. (Bug #109505)
2003-03-29 20:16:19 +00:00
Simon Budig 6a29d4773e app/tools/gimpvectortool.[ch] app/vectors/gimpbezierstroke.c
2003-03-29  Simon Budig  <simon@gimp.org>

        * app/tools/gimpvectortool.[ch]
        * app/vectors/gimpbezierstroke.c
        * app/vectors/gimpstroke.[ch]
        * app/vectors/vectors-types.h: More vector tool stuff. Control
        handles start to behave...
2003-03-29 04:47:44 +00:00
Sven Neumann 48b5986740 app/text/gimptext.[ch] added a "base-direction" property to GimpText and
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.[ch]
	* app/text/gimptextlayout.c: added a "base-direction" property to
	GimpText and set it on the PangoContext when rendering the text.
2003-03-28 16:15:07 +00:00
Michael Natterer 6effedce17 call gtk_tree_selection_select_iter() in addition to
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_select_item): call
	gtk_tree_selection_select_iter() in addition to
	gtk_tree_view_set_cursor() so we get the focus *and* the selection
	right in all cases.
2003-03-28 16:08:00 +00:00
Sven Neumann c7281b5227 app/gui/Makefile.am added font selection GUI to be used through the PDB.
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/gui/Makefile.am
	* app/gui/font-select.[ch]: added font selection GUI to be used
	through the PDB.

	* app/gui/brush-select.c
	* app/gui/gradient-select.c
	* app/gui/palette-select.c
	* app/gui/pattern-select.c: unified preview and dialog sizes.

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/font_select.pdb: added new file that provides
	PDB accessors to the font selection GUI.

	* app/pdb/font_select_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpfontselect_pdb.[ch]
	* tools/pdbgen/groups.pl: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimpfontmenu.c
	* libgimp/gimpmenu.[ch]: added a simple font selection widget to
	be used by plug-ins and scripts.

	* plug-ins/script-fu/script-fu-scripts.c: use the new font
	selection widget. Fixes bug #105610.
2003-03-28 14:13:54 +00:00
Michael Natterer f13f80f04a added "position" and "push_undo" parameters to gimp_image_add_[vh]guide().
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-guides.[ch]: added "position" and "push_undo"
	parameters to gimp_image_add_[vh]guide(). Start with a refcount
	of 1, not 0 (EEK). Added gimp_image_guide_[un]ref(). Added
	"position" parameter to gimp_image_add_guide(). Added new
	function gimp_image_move_guide(). All functions push guide
	undos correctly and call gimp_image_update_guide() so this
	doesn't need to be done by callers.

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage.c
	* app/tools/gimpmeasuretool.c
	* app/xcf/xcf-load.c
	* tools/pdbgen/pdb/guides.pdb: greatly simplyfied all places which
	modify guides: don't fiddle with undo and guide properties
	manually but simply use the API provided.

	* app/tools/gimpmovetool.[ch]: ditto. Changed everything to
	create/move the guide on button_release, not button_press. Enable
	canceling the operation by clicking button3 before releasing
	button1. Keep the guide drawn at its old position until the move
	is finished (fixes bug #75349 and bug #109267).

	* app/pdb/guides_cmds.c: regenerated.
2003-03-28 13:52:01 +00:00
Pablo Gonzalo del Campo 392bbd695c Updated Spanish translation.
2003-03-28  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-03-28 13:33:43 +00:00
Michael Natterer fec6f5b32b call gimp_imagefile_update() on success. Ensures that the previews are
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumbnail):
	call gimp_imagefile_update() on success. Ensures that the
	previews are updated whenever we write the thumbnail.
2003-03-28 11:27:56 +00:00
Michael Natterer 0d548e0769 oops... 2003-03-28 11:21:40 +00:00
Michael Natterer c3519365f5 allow keyboard activation.
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcellrenderertoggle.c
	(gimp_cell_renderer_toggle_activate) *
	app/widgets/gimpcellrendererviewable.c
	(gimp_cell_renderer_viewable_activate): allow keyboard activation.

	* app/widgets/gimpcellrendererviewable.c
	(gimp_cell_renderer_viewable_render): fixed the if() which resets
	the renderer's border color to black. Fixes layer borders to be
	always correct now.
2003-03-28 11:20:24 +00:00
Sven Neumann bc9ef72c45 check for event != NULL to avoid crashing when the cell is activated using
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcellrenderertoggle.c
	(gimp_cell_renderer_toggle_activate): check for event != NULL to
	avoid crashing when the cell is activated using the keyboard.
2003-03-28 08:21:47 +00:00
Sven Neumann 4e3b31e989 respect the antialias parameter.
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-compat.c: respect the antialias parameter.

	* app/text/gimptext.[ch]
	* app/text/gimptextlayout.c: added autohint property that allows
	to force the use of the Freetype auto-hinter.

	* app/tools/gimptextoptions.c: added check buttons for autohint
	and antialias. You need to patch PangoFT2 if you want to the
	antialias setting to have any effect (see #109370).
2003-03-28 01:35:01 +00:00
Jakub Steiner 1741894e73 minor shape fix 2003-03-27 19:31:06 +00:00
Jakub Steiner 08df8af8ad lighten up a bit
2003-03-27  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_splash.png: lighten up a bit
2003-03-27 19:26:05 +00:00
Jakub Steiner b8aaa6f33f lighten up a bit
2003-03-27  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_splash.png: lighten up a bit
2003-03-27 19:18:36 +00:00
Sven Neumann 10faf8d577 added hinting and antialias properties.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.[ch]: added hinting and antialias properties.

	* app/text/gimptextlayout.c: rewrote some parts using the
	PangoFontMap API. Respect hinting and antialias properties.
	(PangoFT2 does not allow to switch antialias off, so that has no
	effect yet.)

	* app/tools/gimptextoptions.c: added a check button that controls
	hinting.
2003-03-27 17:24:53 +00:00
Sven Neumann dafddf1639 require PangoFT2 >= 1.2.0.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* configure.in: require PangoFT2 >= 1.2.0.

	* app/text/gimpfontlist.c: use the PangoFontMap API to list
	available fonts.
2003-03-27 15:52:25 +00:00
Jan Morén 4ee52d1d70 Updated Swedish translation.
2003-03-27  Jan Morén  <jan.moren@lucs.lu.se>

        * sv.po: Updated Swedish translation.
2003-03-27 14:27:41 +00:00
Michael Natterer 4305341d49 app/gui/channels-commands.c app/gui/file-new-dialog.c
2003-03-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/channels-commands.c
	* app/gui/file-new-dialog.c
	* app/gui/layers-commands.c
	* app/gui/vectors-commands.c: use layer, channel, ... icons for
	the new layer, channel, ... dialogs.
2003-03-27 14:25:18 +00:00
Sven Neumann bed3c858da added new function gimp_list_sort().
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimplist.[ch]: added new function gimp_list_sort().

	* app/text/gimpfontlist.c (gimp_font_list_restore): sort the list
	after all fonts have been added instead of keeping the list in
	order while inserting
2003-03-27 14:11:05 +00:00
Sven Neumann ad6a8983c7 libgimpwidgets/libgimpwidgets-sections.txt new icons and lots of new sizes
2003-03-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: new icons and lots of new
	sizes for existing icons.
2003-03-27 13:25:57 +00:00
Michael Natterer 71b7b39dfd Someone produces icons faster than I can commit...
2003-03-27  Michael Natterer  <mitch@gimp.org>

	Someone produces icons faster than I can commit...

	* themes/Default/images/stock-channel-alpha-16.png
	* themes/Default/images/stock-channel-alpha-24.png: updated.

	* themes/Default/images/stock-channel-alpha-32.png
	* themes/Default/images/stock-channel-alpha-48.png: new.

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

	* app/widgets/gimpcontainerpopup.c: use the new "view as list" and
	"view as grid" icons.
2003-03-27 13:04:49 +00:00
Sven Neumann 579bcb3411 POTFILES.in updated.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* POTFILES.in
	* de.po: updated.
2003-03-27 12:58:49 +00:00
Sven Neumann 85af9bad0a app/core/core-enums.[ch] fixed typos spotted by Janne (bug #109322).
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]
	* app/core/gimpimage.c: fixed typos spotted by Janne (bug #109322).

2003-03-27  Sven Neumann  <sven@gimp.org>

	* POTFILES.in
	* de.po: updated.
2003-03-27 12:58:10 +00:00
Michael Natterer e2bdd74617 More great icons from Jimmac:
2003-03-27  Michael Natterer  <mitch@gimp.org>

	More great icons from Jimmac:

	* themes/Default/images/stock-channel-16.png
	* themes/Default/images/stock-channel-24.png
	* themes/Default/images/stock-channel-blue-16.png
	* themes/Default/images/stock-channel-blue-24.png
	* themes/Default/images/stock-channel-gray-16.png
	* themes/Default/images/stock-channel-gray-24.png
	* themes/Default/images/stock-channel-green-16.png
	* themes/Default/images/stock-channel-green-24.png
	* themes/Default/images/stock-channel-red-16.png
	* themes/Default/images/stock-channel-red-24.png: updated.

	* themes/Default/images/stock-channel-32.png
	* themes/Default/images/stock-channel-48.png
	* themes/Default/images/stock-channel-blue-32.png
	* themes/Default/images/stock-channel-blue-48.png
	* themes/Default/images/stock-channel-gray-32.png
	* themes/Default/images/stock-channel-gray-48.png
	* themes/Default/images/stock-channel-green-32.png
	* themes/Default/images/stock-channel-green-48.png
	* themes/Default/images/stock-channel-red-32.png
	* themes/Default/images/stock-channel-red-48.png
	* themes/Default/images/stock-grid-16.png
	* themes/Default/images/stock-image-32.png
	* themes/Default/images/stock-image-48.png
	* themes/Default/images/stock-layer-32.png
	* themes/Default/images/stock-layer-48.png
	* themes/Default/images/stock-list-16.png
	* themes/Default/images/stock-text-layer-16.png
	* themes/Default/images/stock-text-layer-24.png
	* themes/Default/images/stock-text-layer-32.png
	* themes/Default/images/stock-text-layer-48.png: new ones.

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

	* app/text/gimptextlayer.c: use GIMP_STOCK_TEXT_LAYER.
2003-03-27 12:29:54 +00:00
Sven Neumann ce80c4c0b8 added a new marshaller.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpmarshal.list: added a new marshaller.

	* app/widgets/gimpcontainergridview.[ch]: added a "move_cursor"
	signal and added keybindings for PageUp/PageDown and Home/End.
2003-03-27 12:06:55 +00:00
Michael Natterer 21def17709 allow object properties to be set again if they are G_PARAM_WRITABLE.
2003-03-27  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_property): allow object properties to be
	set again if they are G_PARAM_WRITABLE. Fixes active brush,
	pattern etc. deserialization.
2003-03-27 11:36:01 +00:00
Jan Morén 86f8c5fccf Updated Swedish translation.
2003-03-27  Jan Morén  <jan.moren@lucs.lu.se>

        * sv.po: Updated Swedish translation.
2003-03-27 11:16:25 +00:00
Christian Rose 3a31da971b Added "yi" to ALL_LINGUAS again. Po files for libgimp, plug-ins, and
2003-03-27  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "yi" to ALL_LINGUAS again. Po files for
	libgimp, plug-ins, and script-fu have now been provided.
	* po-libgimp/yi.po, po-plug-ins/yi.po, po-script-fu/yi.po:
	Added Yiddish translations by
	Raphael Finkel <raphael@cs.uky.edu>.
2003-03-27 10:34:35 +00:00
Sven Neumann 2bdccbfd52 enlarged it a little.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptexteditor.c: enlarged it a little.
2003-03-27 00:12:15 +00:00
Michael Natterer d105530836 new small tool icons from Jimmac.
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/tools/stock-tool-*-16.png: new small tool
	icons from Jimmac.

	* themes/Default/images/Makefile.am
	* libgimpwidgets/gimpstock.c: added them to the stock system.
2003-03-26 22:26:07 +00:00
Sven Neumann 8f4c74e62a added an upper limit for the popup size to avoid a crash when
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfont.c (gimp_font_get_popup_size): added an upper
	limit for the popup size to avoid a crash when GIMP_PREVIEW_MAX_SIZE
	is exceeded.
2003-03-26 22:17:37 +00:00
Sven Neumann a64d64ee88 removed "yi" until po files were added to po-libgimp, po-plug-ins and
2003-03-26  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINGUAS): removed "yi" until po files were
	added to po-libgimp, po-plug-ins and po-script-fu.
2003-03-26 21:38:07 +00:00
Christian Rose da8e06a84d Added "yi" to ALL_LINGUAS. Added Yiddish translation by Raphael Finkel
2003-03-26  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "yi" to ALL_LINGUAS.
	* po/yi.po: Added Yiddish translation by
	Raphael Finkel <raphael@cs.uky.edu>.
2003-03-26 19:04:55 +00:00
Manish Singh 93d0409ed5 fixed status return to succeed sometimes. Honor max_p in non-interactive
2003-03-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/max_rgb.c: fixed status return to succeed sometimes.
        Honor max_p in non-interactive mode too.
2003-03-26 17:53:12 +00:00
Michael Natterer bda4188ab1 added gimp_container_view_construct(). The new function calls
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.[ch]: added
	gimp_container_view_construct(). The new function calls
	gimp_container_view_set_preview_size() instead of simply assigning
	view->preview_size (Fixes wrongly-sized toggle cells spotted by
	Jimmac).

	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpitemtreeview.c: call when creating a view.

	* app/widgets/gimpchanneltreeview.c: check view->component_editor
	for being non-NULL before accessing it.
2003-03-26 17:49:42 +00:00
Sven Neumann ba8060a839 include X11/Xmu/WinUtil.h after including the GTK+/GDK headers.
2003-03-26  Sven Neumann  <sven@gimp.org>

        * tools/gimp-remote.c: include X11/Xmu/WinUtil.h after including
        the GTK+/GDK headers.
2003-03-26 15:38:36 +00:00
Sven Neumann 1eb9cc26f8 implemented GtkWidget::focus. Makes grid views keyboard-navigatable and
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainergridview.c: implemented GtkWidget::focus.
	Makes grid views keyboard-navigatable and fixes bug #95120.
2003-03-26 15:28:17 +00:00
Michael Natterer af37e71b80 added the scrolled_win to the GimpContainerView struct. Create it in
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.[ch]: added the scrolled_win
	to the GimpContainerView struct. Create it in init().
	Added gimp_container_view_set_size_request() which adds the
	scrolled_window's scrollbar and frames sizes correctly.

	* app/widgets/gimpcontainergridview.[ch]
	* app/widgets/gimpcontainertreeview.[ch]: removed scrolled windows
	here and use the one from the parent_instance. Use the new utility
	function.

	* app/widgets/gimpcontainertreeview.c: enable searching in the
	name column. Grab the focus in button_press.

	* app/widgets/gimpcontainerpopup.[ch]: added a button_box containing
	zoom in/out, view as list/grid and a button to show the permanently
	open dialog. Added more parameters to gimp_container_popup_new().

	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimptextoptions.c
	* app/tools/paint_options.c: changed accordingly.
2003-03-26 14:56:10 +00:00
Sven Neumann 1e92b66b5b freeze object notifications around reset() and deserialize() 2003-03-26 13:39:00 +00:00
Sven Neumann 05e390692b reset the tool-options before loading the user settings. Don't warn if
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/gui/tool-options-dialog.c (tool_options_dialog_restore_callback):
	reset the tool-options before loading the user settings. Don't warn if
	loading fails.
2003-03-26 13:24:40 +00:00
Sven Neumann 42a215195d fixed braino that caused the wrong family to be selected.
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfontselection-dialog.c
	(gimp_font_selection_dialog_set_font_desc): fixed braino that
	caused the wrong family to be selected.
2003-03-26 11:58:09 +00:00