1. 18 Mar, 2003 1 commit
  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 5 commits
    • 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
    • Sven Neumann's avatar
      reordered the View menu, moved all Zoom-related entries into a submenu. · c3a4ddc6
      Sven Neumann authored
      2003-03-12  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/image-menu.c: reordered the View menu, moved all
      	Zoom-related entries into a submenu. Use radio items for the zoom
      	ratio as suggested in bug #74385.
      
      	* app/gui/view-commands.c (view_zoom_cmd_callback): only call
      	gimp_display_shell_scale() if the item is active and the current
      	scale is different from the requested one.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_real_scaled):
      	update the image menu so that the zoom ratio is displayed correctly.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_realize): don't call
      	gimp_display_shell_scale_setup(), since it is done in the configure
      	event handler already.
      c3a4ddc6
    • Michael Natterer's avatar
      added descriptions to the GimpChannelType enum. · f2ca2574
      Michael Natterer authored
      2003-03-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added descriptions to the
      	GimpChannelType enum.
      
      	* app/core/gimpimage.[ch]: added gimp_image_get_component_index()
      	utility function which does the GIMP_RED_CHANNEL -> RED_PIX etc.
      	mapping. Use it in all component getters/setters.
      
      	* app/widgets/gimpcomponenteditor.[ch]: new widget implementing
      	the component list using GtkListStore/GtkTreeView. Still a bit
      	ugly because it uses the standard check instead of the eye icon.
      
      	* app/widgets/gimpcomponentlistitem.[ch]: removed.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpvectorslistview.c: changed accordingly.
      
      	* app/widgets/gimpchannellistview.[ch]: create a GimpComponentEditor
      	and removed the old GtkList based stuff.
      
      	* app/widgets/gimpitemlistview.[ch]: keep around a pointer to the
      	GimpMenuFactory passed to the constructor.
      
      	* app/gui/channels-menu.c (channels_menu_update): do the right
      	thing if "data" is a GimpComponentEditor.
      
      	* app/gui/channels-commands.[ch]: ditto. Implemented duplicating
      	of components and component to selection (bug #61018).
      f2ca2574
    • Sven Neumann's avatar
      set a window type hint of GDK_WINDOW_TYPE_HINT_UTILITY for dock windows · 6ead573e
      Sven Neumann authored
      2003-03-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdock.c (gimp_dock_init): set a window type hint
      	of GDK_WINDOW_TYPE_HINT_UTILITY for dock windows (fixes bug #94669).
      
      	* app/gui/splash.c (splash_create): set a window type hint of
      	GDK_WINDOW_TYPE_HINT_SPLASHSCREEN.
      6ead573e
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation by Francisco Vila <fravd@wanadoo.es> · abfce9ba
      Pablo Gonzalo del Campo authored
      2003-03-12  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation by
                       Francisco Vila <fravd@wanadoo.es>
      abfce9ba
  8. 11 Mar, 2003 1 commit
    • Sven Neumann's avatar
      added gimp_channel_new_from_component() which creates a new GimpChannel · 3c30a90b
      Sven Neumann authored
      2003-03-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpchannel.[ch]: added gimp_channel_new_from_component()
      	which creates a new GimpChannel from an image's color component.
      
      	* app/gui/channels-commands.[ch]: added
      	channels_duplicate_component_cmd_callback().
      
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.[ch]: added code to extract a color
      	component from a PixelRegion (untested!).
      
      	* plug-ins/common/checkerboard.c: cosmetics.
      3c30a90b