1. 01 Apr, 2003 9 commits
    • Sven Neumann's avatar
      push an undo group instead of disabling undo on the image. Fixes bug · 33748d17
      Sven Neumann authored
      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.
      33748d17
    • Sven Neumann's avatar
      removed some debug entries which are not needed any longer. Fixes bug · 6701ca7c
      Sven Neumann authored
      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.
      6701ca7c
    • Michael Natterer's avatar
      added gboolean show_scrollbars to be consistent with show_menubar etc. · 19f210f5
      Michael Natterer authored
      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.
      19f210f5
    • Michael Natterer's avatar
      added VOID__DOUBLE_DOUBLE · a1a1705b
      Michael Natterer authored
      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.
      a1a1705b
    • Michael Natterer's avatar
      factored button_box creation out to a utility function. · 7362b07f
      Michael Natterer authored
      2003-04-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpeditor.c: factored button_box creation out to a
      	utility function.
      7362b07f
    • Manish Singh's avatar
      added gboolean can_change_accels · 35c1e88f
      Manish Singh authored
      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
      35c1e88f
    • Sven Neumann's avatar
      strip the size from the font name before using it. · 06f25b1c
      Sven Neumann authored
      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.
      06f25b1c
    • Sven Neumann's avatar
      use a fixed size for the popup and clamp to a maximum size (should · 0dad41ae
      Sven Neumann authored
      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.
      0dad41ae
    • Sven Neumann's avatar
      use a fixed size for the popup and added a maximum size (should actually · 30fd587d
      Sven Neumann authored
      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.
      30fd587d
  2. 31 Mar, 2003 8 commits
    • Jakub Steiner's avatar
      replace placeholder artwork · b4e2faf6
      Jakub Steiner authored
      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
      b4e2faf6
    • Sven Neumann's avatar
      when the user has changed the layer name from the layers dialog, don't · a8f83bc0
      Sven Neumann authored
      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.
      a8f83bc0
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · a93e91f3
      Sven Neumann authored
      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.
      a93e91f3
    • Jakub Steiner's avatar
      make more aparent · 056f5ce5
      Jakub Steiner authored
      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
      056f5ce5
    • Michael Natterer's avatar
      added "icon_size" parameters to gimp_enum_stock_box_new[_with_range](). · 529c5e71
      Michael Natterer authored
      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.
      529c5e71
    • Michael Natterer's avatar
      free the original cmap pointer, not the one we used for iteration (fixes · ff2757df
      Michael Natterer authored
      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).
      ff2757df
    • Michael Natterer's avatar
      applied patch from yvind Kols that fixes bug #109570. · 59af012a
      Michael Natterer authored
      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.
      59af012a
    • Sven Neumann's avatar
      POTFILES.in updated. · 174f717f
      Sven Neumann authored
      2003-03-31  Sven Neumann  <sven@gimp.org>
      
              * POTFILES.in
              * de.po: updated.
      174f717f
  3. 30 Mar, 2003 6 commits
    • Sven Neumann's avatar
      configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl · d9dfddc2
      Sven Neumann authored
      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>.
      d9dfddc2
    • Sven Neumann's avatar
      increased the upper limit for the brush radius to 1000. Fixes bug #109434. · f50c7a57
      Sven Neumann authored
      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.
      f50c7a57
    • Michael Natterer's avatar
      shut up compiler. · e91d7943
      Michael Natterer authored
      2003-03-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-resize.c (gimp_image_resize): shut up compiler.
      e91d7943
    • Michael Natterer's avatar
      fixed to check the *new* guide position to be within bounds, not the old · 372094ae
      Michael Natterer authored
      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.
      372094ae
    • Michael Natterer's avatar
      set the active display before showing the menu (fixes bug #109472). · 5eccc360
      Michael Natterer authored
      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).
      5eccc360
    • Michael Natterer's avatar
      app/core/gimpimage-guides.c fixed to accept guide->position == · c736836f
      Michael Natterer authored
      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.
      c736836f
  4. 29 Mar, 2003 2 commits
  5. 28 Mar, 2003 10 commits
    • Sven Neumann's avatar
      app/text/gimptext.[ch] added a "base-direction" property to GimpText and · 48b59867
      Sven Neumann authored
      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.
      48b59867
    • Michael Natterer's avatar
      call gtk_tree_selection_select_iter() in addition to · 6effedce
      Michael Natterer authored
      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.
      6effedce
    • Sven Neumann's avatar
      app/gui/Makefile.am added font selection GUI to be used through the PDB. · c7281b52
      Sven Neumann authored
      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.
      c7281b52
    • Michael Natterer's avatar
      added "position" and "push_undo" parameters to gimp_image_add_[vh]guide(). · f13f80f0
      Michael Natterer authored
      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.
      f13f80f0
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 392bbd69
      Pablo Gonzalo del Campo authored
      2003-03-28  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
              * es.po: Updated Spanish translation.
      392bbd69
    • Michael Natterer's avatar
      call gimp_imagefile_update() on success. Ensures that the previews are · fec6f5b3
      Michael Natterer authored
      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.
      fec6f5b3
    • Michael Natterer's avatar
      oops... · 0d548e07
      Michael Natterer authored
      0d548e07
    • Michael Natterer's avatar
      allow keyboard activation. · c3519365
      Michael Natterer authored
      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.
      c3519365
    • Sven Neumann's avatar
      check for event != NULL to avoid crashing when the cell is activated using · bc9ef72c
      Sven Neumann authored
      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.
      bc9ef72c
    • Sven Neumann's avatar
      respect the antialias parameter. · 4e3b31e9
      Sven Neumann authored
      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).
      4e3b31e9
  6. 27 Mar, 2003 5 commits
    • Jakub Steiner's avatar
      minor shape fix · 1741894e
      Jakub Steiner authored
      1741894e
    • Jakub Steiner's avatar
      lighten up a bit · 08df8af8
      Jakub Steiner authored
      2003-03-27  Jakub Steiner <jimmac@ximian.com>
      
      * data/images/gimp_splash.png: lighten up a bit
      08df8af8
    • Jakub Steiner's avatar
      lighten up a bit · b8aaa6f3
      Jakub Steiner authored
      2003-03-27  Jakub Steiner <jimmac@ximian.com>
      
      * data/images/gimp_splash.png: lighten up a bit
      b8aaa6f3
    • Sven Neumann's avatar
      added hinting and antialias properties. · 10faf8d5
      Sven Neumann authored
      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.
      10faf8d5
    • Sven Neumann's avatar
      require PangoFT2 >= 1.2.0. · dafddf16
      Sven Neumann authored
      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.
      dafddf16