Commit graph

8343 commits

Author SHA1 Message Date
Pablo Gonzalo del Campo cf84c4c03f Updated Spanish translation.
2003-04-03  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-04-03 12:56:33 +00:00
Sven Neumann 20641f2773 docs/Makefile.am removed this hopelessly outdated file.
2003-04-03  Sven Neumann  <sven@gimp.org>

	* docs/Makefile.am
	* cheat_sheet.txt: removed this hopelessly outdated file.
2003-04-03 11:28:35 +00:00
Sven Neumann 59ddcd128a updated keybindings provided by Owen <oc@webone.com.au>.
2003-04-03  Sven Neumann  <sven@gimp.org>

	* docs/keybindings.txt: updated keybindings provided by Owen
	<oc@webone.com.au>.
2003-04-03 11:20:41 +00:00
Sven Neumann 0960165333 applied a patch from S. Mukund. that makes the MNG plug-in use
2003-04-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c: applied a patch from S. Mukund. that
	makes the MNG plug-in use gimp_temp_name() for the temporary files
	it creates.
2003-04-02 16:57:32 +00:00
Sven Neumann c5fbc7eb7c improved icon.
2003-04-02  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/stock-text-dir-rtl-24.png: improved icon.
2003-04-02 12:45:53 +00:00
Michael Natterer 998ae3e156 set the hex entry's width to 8 chars (works around bug #109594). Set the
2003-04-02  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscales.c: set the hex entry's width to 8
	chars (works around bug #109594). Set the hex entry to its old
	value if the user typed in unparseable garbage.
2003-04-02 12:14:41 +00:00
Michael Natterer 2a096fd025 reverted my last "fix" and fixed the real bug: "tEXt::Thumb::Size" is
2003-04-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c: reverted my last "fix" and fixed the
	real bug: "tEXt::Thumb::Size" is optional, so don't fail if it's
	not present. Plugged some memleaks.
2003-04-02 11:26:02 +00:00
Michael Natterer c1a41145ad reverted my last "fix" and fixed the real bug: "tEXt::Thumb::Size" is
2003-04-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c: reverted my last "fix" and fixed the
	real bug: "tEXt::Thumb::Size" is optional, so don't fail if it's
	not present. Plugged some memleaks.
2003-04-02 11:24:08 +00:00
Nate Summers 5d2578a085 April Fools! 2003-04-02 03:09:12 +00:00
Manish Singh bab3855604 turns out we can override the XSetting.. do so.
2003-04-01  Manish Singh  <yosh@gimp.org>

        * app/gui/menus.c: turns out we can override the XSetting.. do so.

        * app/gui/preferences_dialog.c: Remove GNOME2 warning, it should work
        fine now.
2003-04-02 00:08:38 +00:00
Michael Natterer fdb7265a7c #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE here.
2003-04-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.h: #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE
	here.

	* app/widgets/gimppreview.h
	* app/widgets/gimppreviewrenderer.h: removed the #defines here.

	* app/core/gimpviewable.c (gimp_preview_get[_popup]_size): check
	the return values to be within bounds.

	* app/text/gimpfont.c
	* app/display/gimpdisplayshell-render.c: use the new constant
	instead of the magic "1024".

	* app/core/gimpdrawable-preview.c: #include our own header file.

	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainermenu.c
	* app/widgets/gimpcontainermenuimpl.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpcontainerview.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppreview.c
	* app/widgets/gimppreviewrenderer.c: changed accordingly.
2003-04-01 13:53:47 +00:00
Miloslav Trmac 013c907b8e Update Czech translation 2003-04-01 13:27:08 +00:00
Sven Neumann 33748d17cf push an undo group instead of disabling undo on the image. Fixes bug
2003-04-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/tileblur.scm (script-fu-tile-blur):
	push an undo group instead of disabling undo on the image. Fixes
	bug #109681.
2003-04-01 12:33:08 +00:00
Sven Neumann 6701ca7cf6 removed some debug entries which are not needed any longer. Fixes bug
2003-04-01  Sven Neumann  <sven@gimp.org>

	* app/gui/toolbox-menu.c (toolbox_menu_entries): removed some
	debug entries which are not needed any longer. Fixes bug #109680.

	* app/gui/Makefile.am
	* app/gui/test-commands.[ch]: removed these files from CVS.
2003-04-01 12:19:24 +00:00
Michael Natterer 19f210f59c added gboolean show_scrollbars to be consistent with show_menubar etc.
2003-04-01  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpdisplayconfig.[ch]: added gboolean show_scrollbars
	to be consistent with show_menubar etc.

	* app/config/gimprc-blurbs.h: added its blurb and made all
	SHOW_FOO_BLURBs consistent.

	* app/display/gimpdisplayshell.c: take the scrollbar visibility
	default value from GimpDisplayConfig.

	* app/gui/preferences-dialog.c: GUI for the new property.
2003-04-01 11:04:44 +00:00
Michael Natterer a1a1705b60 added VOID__DOUBLE_DOUBLE
2003-04-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmarshal.list: added VOID__DOUBLE_DOUBLE

	* app/widgets/gimpnavigationpreview.[ch]: applied patch from
	Pedro Gimeno that fixes mapping of preview scroll offsets to
	image scroll offsets. Changed the x, y, width, height members
	from gint to gdouble. Changed the external API to use exact
	doubles instead of rounded ints.

	* app/display/gimpnavigationview.c: speak to the navigation
	preview in exact double values.

	Alltogether fixes bug #109648.
2003-04-01 10:32:03 +00:00
Michael Natterer 7362b07f8f factored button_box creation out to a utility function.
2003-04-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpeditor.c: factored button_box creation out to a
	utility function.
2003-04-01 09:07:53 +00:00
Manish Singh 35c1e88f43 added gboolean can_change_accels
2003-04-01  Manish Singh  <yosh@gimp.org>

        * config/gimpguiconfig.[ch]: added gboolean can_change_accels

        * config/gimprc-blurbs.h: blurb for the above

        * gui/preferences-dialog.c: UI for the above. Has warning about
        not working in GNOME2 yet (pending resolution of Bug #109653)

        * gui/menus.c: use can_change_accels. It simply parses the rc
        string gtk-can-change-accels = [0|1] depending on the state
        of can_change_accels in the gui config.

        * etc/gimprc
        * docs/gimprc-1.3.5.in: regenerated
2003-04-01 07:47:04 +00:00
Sven Neumann 06f25b1c8b strip the size from the font name before using it.
2003-04-01  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-compat.c (text_render): strip the size from
	the font name before using it.
2003-04-01 01:21:46 +00:00
Sven Neumann 0dad41aec4 use a fixed size for the popup and clamp to a maximum size (should
2003-04-01  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfont.c: use a fixed size for the popup and clamp to
	a maximum size (should actually use GIMP_PREVIEW_MAX_SIZE here).

	* app/text/gimptext.c
	* app/tools/gimptextoptions.c: minor string changes.
2003-04-01 00:35:38 +00:00
Sven Neumann 30fd587dd0 use a fixed size for the popup and added a maximum size (should actually
2003-04-01  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfont.c: use a fixed size for the popup and added a
	maximum size (should actually use GIMP_PREVIEW_MAX_SIZE here).

	* app/text/gimptext.c
	* app/tools/gimptextoptions.c: minor string changes.
2003-04-01 00:34:50 +00:00
Jakub Steiner b4e2faf64f replace placeholder artwork
2003-03-31  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-text-dir-ltr-24.png:
* themes/Default/images/stock-text-dir-rtl-24.png: replace
  placeholder artwork
2003-03-31 19:14:55 +00:00
Sven Neumann a8f83bc078 when the user has changed the layer name from the layers dialog, don't
2003-03-31  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.[ch]: when the user has changed the layer
	name from the layers dialog, don't change it with the text any longer.

	* app/tools/gimpmovetool.c: removed redundant include.

	* app/widgets/gimpcontainerpopup.c
	* app/widgets/widgets-enums.[ch]: fixed spelling.
2003-03-31 17:47:00 +00:00
Sven Neumann a93e91f38e themes/Default/images/Makefile.am
2003-03-31  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-text-dir-ltr-24.png
	* themes/Default/images/stock-text-dir-rtl-24.png: placeholders
	for new icons.

	* libgimpwidgets/gimpstock.[ch]: register the new icons.

	* themes/Default/gtkrc: tweak GtkDialog in "gimp-default-style".

	* app/text/text-enums.[ch]
	* app/text/gimptext.[ch]
	* app/text/gimptextlayout.c: added new enum GimpTextDirection and
	use it instead of PangoDirection.

	* app/widgets/widgets-types.h
	* app/widgets/gimptexteditor.[ch]: made GimpTextEditor a real widget
	and added buttons to switch the text direction.

	* app/tools/gimptextoptions.[ch]
	* app/tools/gimptexttool.c: moved creation of the text editor to the
	text tool options, take care of GimpText::base-direction here.
2003-03-31 15:10:15 +00:00
Jakub Steiner 056f5ce54e make more aparent
2003-03-31  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-list-16.png:
* themes/Default/images/stock-grid-16.png: make more aparent
2003-03-31 13:37:57 +00:00
Michael Natterer 529c5e71c4 added "icon_size" parameters to gimp_enum_stock_box_new[_with_range]().
2003-03-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpenummenu.[ch]: added "icon_size" parameters
	to gimp_enum_stock_box_new[_with_range]().

	* app/tools/gimpcurvestool.c
	* app/widgets/gimppropwidgets.c: changed accordingly.

	* app/widgets/gimpeditor.[ch]: added gimp_editor_add_stock_box().

	* app/widgets/widgets-enums.[ch]: register GimpViewType with
	the type system.

	* app/widgets/gimpcontainerpopup.c: use a stock box for the
	view as list/grid buttons.
2003-03-31 12:09:09 +00:00
Michael Natterer ff2757dff8 free the original cmap pointer, not the one we used for iteration (fixes
2003-03-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xpm.c (save_image): free the original cmap
	pointer, not the one we used for iteration (fixes bug #109567).
2003-03-31 09:34:02 +00:00
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