1. 18 Mar, 2003 6 commits
    • 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
  2. 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
  3. 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
  4. 15 Mar, 2003 5 commits
  5. 14 Mar, 2003 6 commits
  6. 13 Mar, 2003 8 commits
    • Michael Natterer's avatar
      disable expensive column auto-resizing and call · 9af8448d
      Michael Natterer authored
      2003-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcomponenteditor.c: disable expensive column
      	auto-resizing and call gtk_tree_view_columns_autosize() in
      	gimp_component_editor_set_preview_size().
      
      	* app/widgets/gimpcontainertreeview.[ch]: ditto. Changed the
      	GtkListStore pointer in the GimpContainerTreeView struct to
      	GtkTreeModel.
      9af8448d
    • Ole Laursen's avatar
      Updated Danish translation. · effd6221
      Ole Laursen authored
      2003-03-13  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      effd6221
    • Sven Neumann's avatar
      suppress notifcation of startup completion from the splash screen. · 36c40894
      Sven Neumann authored
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/splash.c (splash_create): suppress notifcation of
      	startup completion from the splash screen.
      36c40894
    • Sven Neumann's avatar
      set a window type hint of GDK_WINDOW_TYPE_HINT_NORMAL for the toolbox · f6ce8184
      Sven Neumann authored
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimptoolbox.c (gimp_toolbox_init): set a window type
      	hint of GDK_WINDOW_TYPE_HINT_NORMAL for the toolbox since UTILITY
      	doesn't match here.
      f6ce8184
    • Sven Neumann's avatar
      don't expose the internal term "component", use "channel" instead. · 2008e01c
      Sven Neumann authored
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/channels-commands.c: don't expose the internal term
      	"component", use "channel" instead.
      
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in
      	* de.po: updated.
      2008e01c
    • Sven Neumann's avatar
      app/widgets/gimpcellrenderertoggle.c handle RTL layout. · 0a8064f5
      Sven Neumann authored
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.c
      	* app/widgets/gimpcellrendererviewable.c: handle RTL layout.
      0a8064f5
    • Michael Natterer's avatar
      fixed size calculation, removed padding and the spacing between the icon · 5f683034
      Michael Natterer authored
      2003-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.c: fixed size calculation,
      	removed padding and the spacing between the icon and the frame
      	around it.
      
      	* app/widgets/gimpwidgets-utils.[ch]: added gimp_get_icon_size()
      	which returns the best matching icon size for a given allocation.
      
      	* app/widgets/gimpcomponenteditor.[ch]: adjust the eye icon's
      	size according to the preview_size.
      
      	* app/widgets/gimppreviewrenderer.c
      	(gimp_preview_renderer_default_render_stock): use gimp_get_icon_size()
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainertreeview.c: iterate the tree model
      	using a for() loop instead of nested if() { do { } while() }
      	stuff.
      5f683034
    • Sven Neumann's avatar
      made the GimpPreviewSize enum values a little bit smaller. What used to be · 01745138
      Sven Neumann authored
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h: made the GimpPreviewSize enum values a
      	little bit smaller. What used to be small is now called medium.
      
      	* app/config/gimpcoreconfig.c
      	* app/gui/dialogs.c: changed accordingly.
      01745138
  7. 12 Mar, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h added a new · a83554d0
      Sven Neumann authored
      2003-03-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcellrenderertoggle.[ch]: added a new cell_renderer
      	derived from GtkCellRendererToggle.
      
      	* app/widgets/gimpcomponenteditor.c: use the new cell_renderer.
      
      	* app/widgets/gimpcellrendererviewable.[ch]: fixed a few typos and
      	removed some redundant casts.
      a83554d0