1. 19 Mar, 2003 7 commits
    • Simon Budig's avatar
      app/tools/gimpvectortool.[ch] Fixed crashes and weird problems when the · aac6a44f
      Simon Budig authored
      2003-03-20  Simon Budig  <simon@gimp.org>
      
              * app/tools/gimpvectortool.[ch]
              Fixed crashes and weird problems when the tool changed images or
              images got closed. Fixes Bug #108318.
      
              * app/vectors/vectors-types.h: More sane names for the
              GimpAnchorType enum.
      
              * app/vectors/gimpbezierstroke.c
              * app/vectors/gimpstroke.c: changed accordingly.
      aac6a44f
    • Michael Natterer's avatar
      added GIMP_UNDO_GROUP_MASK. · 1d7ba472
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added GIMP_UNDO_GROUP_MASK.
      
      	* app/tools/gimpeditselectiontool.c: use it for mask moving.
      	Made the "undo_desc" strings more specific.
      
      	* app/core/gimpundo.c: add it to the list of undo types for
      	which mask previews are created.
      
      	* app/core/gimpimage.c: s/Add Layer to Image/Add Layer/g etc.
      1d7ba472
    • Michael Natterer's avatar
      need to connect to the cell renderer's "clicked" signal because "toggled" · 43accc1d
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcomponenteditor.c: need to connect to the cell
      	renderer's "clicked" signal because "toggled" is not emitted any
      	longer.
      
      	* app/widgets/gimpdrawabletreeview.c: removed debugging output.
      
      	* app/widgets/gimpitemtreeview.[ch]: added "const gchar *reorder_desc"
      	to the class scruct and use it as undo_desc for DND reordering.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: set reorder_desc.
      43accc1d
    • Michael Natterer's avatar
      app/widgets/gimpcellrenderertoggle.[ch] added public functions to emit the · 0b401af4
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.[ch]
      	* app/widgets/gimpcellrendererviewable.[ch]: added public
      	functions to emit the "clicked" signal.
      
      	* app/widgets/gimpcontainertreeview.c: use them instead of
      	g_signal_emit_by_name().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcontainertreeview-dnd.[ch]: new files
      	implementing DND for tree views.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added virtual
      	functions drop_possible() and drop().
      
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c: implement drop_possible()
      	and drop().
      0b401af4
    • Michael Natterer's avatar
      enable in-place name editing for tree views. · 7bb3536f
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdatafactoryview.c: enable in-place name
      	editing for tree views.
      7bb3536f
    • Michael Natterer's avatar
      #include "core/gimpimage-colormap.h". · 41c6861b
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c: #include
      	"core/gimpimage-colormap.h".
      41c6861b
    • Sven Neumann's avatar
      tweaked the dialog layout a little. · e6ce8202
      Sven Neumann authored
      2003-03-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimplevelstool.c: tweaked the dialog layout a little.
      e6ce8202
  2. 18 Mar, 2003 10 commits
    • Ole Laursen's avatar
      Fixed another string in the Danish translation. · c45ae54c
      Ole Laursen authored
      2003-03-18  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Fixed another string in the Danish translation.
      c45ae54c
    • Maurits Rijk's avatar
    • Ole Laursen's avatar
      Fixed some badly worded strings in the Danish translation. · 3a2d973f
      Ole Laursen authored
      2003-03-18  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Fixed some badly worded strings in the Danish translation.
      3a2d973f
    • Ole Laursen's avatar
      Updated and fixed some strings in Danish translation. · a2783110
      Ole Laursen authored
      2003-03-18  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated and fixed some strings in Danish translation.
      a2783110
    • Michael Natterer's avatar
      app/core/gimpimage-mask.[ch] (gimp_image_mask_translate) added "gboolean · 1329e016
      Michael Natterer authored
      2003-03-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-mask.[ch] (gimp_image_mask_translate)
      	* app/core/gimplayer.[ch] (gimp_layer_translate): added
      	"gboolean push_undo" parameters.
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-resize.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/layers-commands.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer_displace): call
      	gimp_layer_translate() with "push_undo == FALSE" instead of
      	duplicating gimp_layer_translate()'s code. Use GimpItemUndo for
      	GIMP_UNDO_MASK.
      
      	* app/tools/gimpeditselectiontool.c
      	(gimp_edit_selection_tool_cursor_key): check if the top undo on
      	the stack is of exactly the same type as the undo we would push
      	and just don't push it then (compresses layer translate undos and
      	fixes bug #86362). Changed stuff work with CAPS_LOCK or other
      	modifiers pressed.
      1329e016
    • Dom Lachowicz's avatar
      bump version to 2.2.5 · 269f5c21
      Dom Lachowicz authored
      269f5c21
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 3eb8b67b
      Pablo Gonzalo del Campo authored
      2003-03-18  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
              * es.po: Updated Spanish translation.
      3eb8b67b
    • Michael Natterer's avatar
      Added an API for image colormap manupulation and made colormap changes · 94590602
      Michael Natterer authored
      2003-03-18  Michael Natterer  <mitch@gimp.org>
      
      	Added an API for image colormap manupulation and made colormap
      	changes undoable (fixes bug #25963).
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colormap.[ch]: new files implementing
      	colormap getters/setters. The setters push undos using the
      	new function below.
      
      	* app/core/core-enums.[ch]: added GIMP_UNDO_IMAGE_COLORMAP.
      
      	* app/core/gimpimage-undo-push.[ch]: added
      	gimp_image_undo_push_image_colormap(). Use GimpItemUndo even more
      	often. Cleanup.
      
      	* app/core/gimpimage.[ch]: removed gimp_image_get_colormap() here.
      
      	* app/core/gimpimage-convert.c
      	* app/gui/colormap-editor-commands.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/image.pdb: use the new API.
      
      	* app/pdb/image_cmds.c: regenerated.
      
      	* plug-ins/common/vinvert.c: removed the comment about the bug,
      	cosmetic cleanup.
      
      	Unrelated:
      
      	* app/gui/splash.c: added a frame around the splash. Please eek
      	if it doesn't please you.
      94590602
    • Dom Lachowicz's avatar
      cleanup - don't need gtk+ · cf8e7202
      Dom Lachowicz authored
      cf8e7202
    • Dom Lachowicz's avatar
      rsvg can now be used as a gimp plugin · 7d0bfe19
      Dom Lachowicz authored
      7d0bfe19
  3. 17 Mar, 2003 8 commits
    • Sven Neumann's avatar
      new splash thanks to Jimmac. · 364ff70f
      Sven Neumann authored
      2003-03-17  Sven Neumann  <sven@gimp.org>
      
      	* data/images/gimp_splash.png: new splash thanks to Jimmac.
      364ff70f
    • Michael Natterer's avatar
      Made drawable/layer properties (visibility, opacity etc.) undoable (fixes · 884b3aa7
      Michael Natterer authored
      2003-03-17  Michael Natterer  <mitch@gimp.org>
      
      	Made drawable/layer properties (visibility, opacity etc.)
      	undoable (fixes bug #73893).
      
      	* app/core/core-enums.[ch]: added undo types/groups for
      	visibility, mode, opacity, linked and preserve_trans.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
      	ref'ed GimpItem pointer so (1) this doesn't need to be done by all
      	undo steps related to an item and (2) the item the undo step is
      	for can be determined from outside the undo system.
      
      	* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
      	which returns a new GimpItemUndo.
      
      	* app/core/gimpimage-undo-push.[ch]: use it for all item related
      	undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
      	and GimpVectors pointers from the private undo structs. Added
      	undo push functions for the new undo types added above.
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
      	"gboolean push_undo" parameter.
      
      	* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
      	_preserve_trans, _linked): added "gboolean push_undo" parameters.
      
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimplayer-floating-sel.c
      	* app/tools/gimpmovetool.c
      	* app/xcf/xcf-load.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
      	the foo_accessors() functions. Removed $func from foo_accesors()
      	because we don't manipulate items without using getters/setters
      	any longer.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
      	which carries an additional "GdkModifierType state" parameter as
      	in GimpCellRendererViewable .
      
      	* app/widgets/gimpcontainertreeview.c: emit "clicked" from
      	the toggle renderer, not "toggled" so the callbacks get the
      	modifier state.
      
      	* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
      	visible by <shift>+click" feature as in 1.2.
      
      	* app/widgets/gimplayertreeview.c: compress layer opacity undos by
      	looking at the top of the undo stack and not pushing an undo if
      	there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
      	layer.
      884b3aa7
    • Sven Neumann's avatar
      put the actual effect and the attachment of a parasite into an undo group · c356f32a
      Sven Neumann authored
      2003-03-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/ifscompose/ifscompose.c (run): put the actual effect
      	and the attachment of a parasite into an undo group so that only a
      	single undo step is pushed when the plug-in is run.
      c356f32a
    • Sven Neumann's avatar
      added the new function gimp_config_string_append_escaped(), see inline · b6dbe729
      Sven Neumann authored
      2003-03-17  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: added the new function
      	gimp_config_string_append_escaped(), see inline docs.
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfigwriter.c
      	* app/core/gimpcontainer.c: use the new function instead of
      	g_strescape().
      b6dbe729
    • Sven Neumann's avatar
      Applied patches from David Necas <yeti@physics.muni.cz> that fix incorrect · 21113a2f
      Sven Neumann authored
      2003-03-17  Sven Neumann  <sven@gimp.org>
      
      	Applied patches from David Necas <yeti@physics.muni.cz> that fix
      	incorrect RGBA resampling in a number of plug-ins:
      
      	* plug-ins/common/fractaltrace.c: fixes bug #72873.
      	* plug-ins/common/tiler.c: fixes bug #72875.
      	* plug-ins/common/waves.c: fixes bug #72870.
      	* plug-ins/common/whirlpinch.c: fixes bug #72871.
      21113a2f
    • Michael Natterer's avatar
      added GIMP_UNDO_CHANNEL_COLOR. · b417203a
      Michael Natterer authored
      2003-03-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added GIMP_UNDO_CHANNEL_COLOR.
      
      	* app/core/gimpchannel.[ch]: added "gboolean push_undo" to
      	gimp_channel_set_color().
      
      	* app/core/gimpimage-undo-push.[ch]: added
      	gimp_image_undo_push_channel_color().
      
      	* app/core/gimpimage-qmask.c
      	* app/gui/qmask-commands.c
      	* app/widgets/gimpchannellistitem.c
      	* tools/pdbgen/pdb/channel.pdb: changed accordingly.
      
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c: ditto. Use gimp_item_rename().
      
      	* app/pdb/channel_cmds.c: regenerated.
      b417203a
    • Manish Singh's avatar
      tools/pdbgen/pdb/channel.pdb use gimp_item_rename for set_name. · 6e41b136
      Manish Singh authored
      2003-03-17  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/channel.pdb
              * tools/pdbgen/pdb/layer.pdb: use gimp_item_rename for set_name.
      
              * app/pdb/channel_cmds.c
              * app/pdb/layer_cmds.c: regenerated
      
              * libgimpproxy/Makefile.am: use $(top_srcdir)
      6e41b136
    • Michael Natterer's avatar
      added virtual function rename() which pushes an item rename undo. Added · 418c5997
      Michael Natterer authored
      2003-03-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added virtual function rename() which
      	pushes an item rename undo. Added "default_name" and "rename_desc"
      	to the GimpItemClass struct which are used as default values.
      
      	* app/core/gimplayer.c: implement it and special-case floating
      	selections. set item_clas->default_name and item_class->rename_desc.
      
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: set item_class->default_name and
      	item_class->rename_desc.
      
      	* app/widgets/gimpitemtreeview.[ch]: removed rename_item() virtual
      	function and call gimp_item_rename().
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: changed accordingly.
      418c5997
  4. 16 Mar, 2003 6 commits
    • Sven Neumann's avatar
      set the dialog transient to the file selection dialog (see bug #61092). · 5e48cfb8
      Sven Neumann authored
      2003-03-16  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/file-save-dialog.c (file_save_overwrite): set the dialog
      	transient to the file selection dialog (see bug #61092).
      5e48cfb8
    • Sven Neumann's avatar
      set a window type hint of GDK_WINDOW_TYPE_HINT_UTILITY for info windows · 54cdc69c
      Sven Neumann authored
      2003-03-16  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/info-dialog.c: set a window type hint of
      	GDK_WINDOW_TYPE_HINT_UTILITY for info windows (fixes bug #92175).
      
      	* app/tools/gimpcolorpickertool.c: give the color area more space.
      54cdc69c
    • Sven Neumann's avatar
      check for gdk-pixbuf-csource and allow to override it by setting the · 70c61f66
      Sven Neumann authored
      2003-03-16  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: check for gdk-pixbuf-csource and allow to override
      	it by setting the GDK_PIXBUF_CSOURCE environment variable.
      
      	* themes/Default/images/Makefile.am: use the gdk-pixbuf-csource
      	executable that was found at configure time.
      
      	* app/base/levels.c: cosmetic change.
      
      	* app/tools/gimplevelstool.c: allow to pick white, gray and black
      	point for all channels. Allows for easy white-point balancing.
      
      	* plug-ins/script-fu/scripts/3dTruchet.scm: restore the foreground
      	color when the script is done (see bug #108473).
      70c61f66
    • Miloslav Trmac's avatar
      Update Czech translation · fa72bce2
      Miloslav Trmac authored
      fa72bce2
    • Michael Natterer's avatar
      added utility function gimp_container_tree_view_find_click_cell(). Don't · 8c9c5a20
      Michael Natterer authored
      2003-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.[ch]: added utility function
      	gimp_container_tree_view_find_click_cell(). Don't select the
      	row if one of tree_view->toggle_cells was clicked. Removed
      	"GList *toggle_columns" from the struct.
      
      	* app/widgets/gimpdrawabletreeview.[ch]: added a
      	GtkTreeSelectionFunc which ensures that nothing but the floating
      	selection can be selected. Removed the "eye_column" from the
      	struct.
      
      	* app/widgets/gimpitemtreeview.[ch]: added virtual function
      	rename_item() and a default implementation.
      
      	* app/widgets/gimplayertreeview.[ch]: implement rename_item() and
      	special case floating selections. Added
      	gimp_layer_tree_view_mask_update() utility function to factor out
      	duplicated code. Removed "chain_column" from the struct. Cleanup.
      8c9c5a20
    • Michael Natterer's avatar
      Added GtkTreeView versions of layers/channels/vectors: · 205cdf13
      Michael Natterer authored
      2003-03-16  Michael Natterer  <mitch@gimp.org>
      
      	Added GtkTreeView versions of layers/channels/vectors:
      
      	* app/core/core-enums.[ch]: renamed GIMP_UNDO_GROUP_LAYER_PROPERTIES
      	to GIMP_UNDO_GROUP_ITEM_PROPERTIES.
      
      	* app/core/gimpcontainer.c (gimp_container_reorder): don't try
      	to reorder containers with num_children == 1.
      
      	* app/core/gimpmarshal.list: added VOID: STRING, UINT marshaller.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpchanneltreeview.[ch]
      	* app/widgets/gimpdrawabletreeview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.[ch]
      	* app/widgets/gimpvectorstreeview.[ch]: new widgets.
      
      	* app/widgets/gimpcellrenderertoggle.c: draw the frame only if the
      	cell is prelit.
      
      	* app/widgets/gimpcellrendererviewable.[ch]: added "clicked"
      	signal, unref the renderer in finalize(). Set the renderer's
      	border color to black if the cell is not selected (a hack that
      	saves tons of code in GimpLayerTreeView).
      
      	* app/widgets/gimpcomponenteditor.c: no need to gtk_list_store_set()
      	stuff we just got from the store.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added lots of state used
      	by the new subclasses to the GimpContainerTreeView struct.  Create
      	the GtkListStore/GtkTreeView in GObject::constructor() and only
      	collect parameters in init() so subclasses can modify store/view
      	creation. Do most of the button_press_event stuff manually and
      	return TRUE from the handler.
      
      	* app/widgets/gimpcontainerview.c: cleanup.
      
      	* app/widgets/gimpitemlistview.h
      	* app/widgets/gimpvectorslistview.h: temp hacks before they die.
      
      	* app/widgets/gimppreviewrenderer.[ch]: added
      	gimp_preview_renderer_update_idle() which idle-emits "update"
      	without invalidating.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added constructors for the new dialogs.
      
      	* app/gui/channels-commands.c
      	* app/gui/channels-menu.c
      	* app/gui/layers-commands.c
      	* app/gui/layers-menu.c
      	* app/gui/vectors-commands.c
      	* app/gui/vectors-menu.c: accept tree views as callback data.
      205cdf13
  5. 15 Mar, 2003 5 commits
  6. 14 Mar, 2003 4 commits
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · 1657c4d6
      Sven Neumann authored
      2003-03-14  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-curve-free-16.png
      	* themes/Default/images/stock-curve-smooth-16.png: added new icons
      	provided by Tuomas Kuosmanen <tigert@gimp.org>.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* app/tools/gimpcurvestool.[ch]: use radio buttons with the new
      	curve type icons.
      1657c4d6
    • Sven Neumann's avatar
      ChangeLog typo · c216987b
      Sven Neumann authored
      c216987b
    • Sven Neumann's avatar
      app/base/base-enums.[ch] changed CurvesType enum GimpCurveType and · edaab6c3
      Sven Neumann authored
      2003-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.[ch]
      	* app/base/curves.[ch]: changed CurvesType enum GimpCurveType and
      	register it with the type system.
      
      	* app/tools/gimpcurvestool.c: use an enum menu here.
      edaab6c3
    • Sven Neumann's avatar
      fiddle with the color of the dock separator to make the drop area stand · 9589037b
      Sven Neumann authored
      2003-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdock.c: fiddle with the color of the dock
      	separator to make the drop area stand out. Added a tooltip.
      
      	* etc/gtkrc_user: document how the color can be customized.
      9589037b