1. 23 Feb, 2003 2 commits
  2. 22 Feb, 2003 8 commits
  3. 21 Feb, 2003 12 commits
    • Chyla Zbigniew's avatar
    • Sven Neumann's avatar
      added new function gimp_displays_invalidate() which queues a redraw on all · 9c957fa1
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplay-foreach.[ch]: added new function
      	gimp_displays_invalidate() which queues a redraw on all displays
      	by calling gimp_display_shell_expose_full().
      
      	* app/display/gimpdisplayshell-render.c (render_setup_notify):
      	invalidate all displays when the transparency type or size changes.
      
      	* app/tools/gimptexttool.c (text_tool_button_press): readded some
      	code I accidentally removed in my last commit.
      
      	* app/text/gimptextlayout.c (gimp_text_layout_new): always set the
      	font size but make sure it is at least 1.
      9c957fa1
    • Sven Neumann's avatar
      added missing cast. · bee928eb
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewabledialog.c: added missing cast.
      
      	* app/widgets/gimpcontainertreeview.c: do not include a non-existant
      	header file.
      bee928eb
    • Michael Natterer's avatar
      Started migration from GtkList to GtkTreeView: · 9ee632a6
      Michael Natterer authored
      2003-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Started migration from GtkList to GtkTreeView:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainertreeview.[ch]; new GimpContainerView
      	subclass using GtkListStore/GtkTreeView.
      
      	* app/widgets/widgets-enums.h: added GIMP_VIEW_TYPE_TREE to
      	thje GimpViewType enum.
      
      	* app/widgets/gimpcontainereditor.c: added GimpContainerTreeView
      	to the switch() which selects the view type.
      
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c: added tree view versions of many dialogs.
      
      	* app/widgets/gimppreview.[ch]: removed the get_size() virtual
      	function and gimp_preview_calc_size().
      
      	* app/core/gimpviewable.[ch]: added virtual function
      	get_preview_size() and gimp_viewable_calc_preview_size().
      
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c: added get_preview_size() implementations.
      
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpgradientpreview.c
      	* app/widgets/gimpimagepreview.c
      	* app/widgets/gimppalettepreview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpundopreview.c
      	* app/display/gimpnavigationview.c: changed accordingly, removed
      	get_size() implementations.
      
      	* app/widgets/widgets-types.h: changed the first param of
      	GimpItemGetNameFunc from GtkWidget to GObject.
      
      	* app/widgets/gimpcontainerview-utils.c: accept a GimpViewable as
      	object in the built-in get_name funcs.
      
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c: changed accordingly.
      9ee632a6
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 758635d7
      Pablo Gonzalo del Campo authored
      2003-02-21  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      758635d7
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 38889d75
      Pablo Gonzalo del Campo authored
      2003-02-21  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      38889d75
    • Sven Neumann's avatar
      don't wait for graphics expose events. Commented out the call to · 3d91e359
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scroll.c (gimp_display_shell_scroll):
      	don't wait for graphics expose events. Commented out the call to
      	gimp_display_shell_scale_setup() since it should not be needed.
      3d91e359
    • Sven Neumann's avatar
      replaced a for-loop with a call to memcpy(). · 1b0339ad
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c (render_image_rgb):
      	replaced a for-loop with a call to memcpy().
      
      	* app/display/gimpdisplay.c: use g_memdup() instead of g_new()
      	followed by memcpy().
      1b0339ad
    • Michael Natterer's avatar
      the default value of "clip" is FALSE, not TRUE. Fixes bug #106644. · 361c288c
      Michael Natterer authored
      2003-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformoptions.c
      	(gimp_transform_options_class_init): the default value of "clip"
      	is FALSE, not TRUE. Fixes bug #106644.
      361c288c
    • Michael Natterer's avatar
      Refactored the GimpDisplayShell update/draw code: · 5f5e0bf5
      Michael Natterer authored
      2003-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Refactored the GimpDisplayShell update/draw code:
      
      	* app/display/gimpdisplayshell.[ch]: removed the display_areas
      	list which used to hold the GimpAreas to update. Instead, simply
      	queue draws using gtk_widget_queue_draw[_area]() in
      	gimp_display_shell_expose_area(), _expose_full() and
      	_expose_guide(). Made all _draw() functions public because they
      	are now called from the "expose_event" handler.  Removed rendering
      	from gimp_display_shell_flush() because stuff is now flushed
      	automatically by the gtk idle renderer.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_expose): draw everything here (the code
      	removed from gimp_display_shell_flush() without the GimpArea list).
      	(gimp_display_shell_canvas_tool_events): return "return_val", not
      	TRUE if gimp->busy is TRUE. Fixes unupdated (windowk bg color)
      	display areas. Fixes bug #106595.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/gui/view-commands.c: changed accordingly. Removed calls to
      	gimp_display_shell_flush() all over the place.
      
      	* app/display/gimpdisplayshell-scroll.c: replaced lots of code by
      	a single call to gdk_window_scroll().
      5f5e0bf5
    • Sven Neumann's avatar
      fixed URL of libart package, spotted by Michael J. Hammel. · 99d52e76
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL: fixed URL of libart package, spotted by Michael J. Hammel.
      99d52e76
    • Sven Neumann's avatar
      added a colspan parameter and fixed packing of the stock icon. · a18fee29
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch] (gimp_table_attach_stock):
      	added a colspan parameter and fixed packing of the stock icon.
      
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptextoptions.c: improved dialog layout.
      a18fee29
  4. 20 Feb, 2003 10 commits
    • Pablo Gonzalo del Campo's avatar
      Fixed a couple of strings in Spanish translation. · 496aeb6d
      Pablo Gonzalo del Campo authored
      2003-02-20  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
          * es.po: Fixed a couple of strings in Spanish translation.
      496aeb6d
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 3d80b2cf
      Pablo Gonzalo del Campo authored
      2003-02-20  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      3d80b2cf
    • Sven Neumann's avatar
      app/widgets/gimpfontselection-dialog.c connect the dialog to the font · 0f59cb40
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimpfontselection.c: connect the dialog to the font
      	selection widget and block the signal handler when the font is
      	changed from the dialog. Fixes weird behaviour noted by Jimmac.
      0f59cb40
    • Sven Neumann's avatar
      always start with an empty text. · e1050770
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: always start with an empty text.
      e1050770
    • Sven Neumann's avatar
      trim the string only if necessary. · df09eb68
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimputils.c (gimp_utf8_strtrim): trim the string
      	only if necessary.
      
      	* app/text/gimptext.c: changed the default text to NULL.
      
      	* app/widgets/gimptexteditor.[ch]: replaced Cancel and OK buttons
      	with a single Close button and removed the callback.
      
      	* app/widgets/gimppropwidgets.c: gtk_text_buffer_set_text()
      	doesn't like NULL pointers, pass it an empty string instead.
      
      	* app/tools/gimptexttool.c: create a new text layer as soon as the
      	user starts editing.
      df09eb68
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GimpEditor · 94bdcbcc
      Michael Natterer authored
      2003-02-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpimageeditor.[ch]: new GimpEditor subclass adding
      	a GimpImage pointer and a virtual set_image() function.
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpundoeditor.[ch]: derive them from GimpImageEditor.
      	Removed the public set_image() functions.
      
      	* app/gui/colormap-editor-commands.c
      	* app/gui/colormap-editor-menu.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.c: removed lots of code duplication
      	and use the uniform GimpImageEditor API. Misc cleanups.
      94bdcbcc
    • Sven Neumann's avatar
      documented. · bca2ddaa
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgetsmarshal.list: documented.
      bca2ddaa
    • Sven Neumann's avatar
      reduced to the set of marshallers we actually use. · 6a9e205b
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpmarshal.list: reduced to the set of marshallers we
      	actually use.
      6a9e205b
    • Michael Natterer's avatar
      Reimplemented the undo history: · c8b4394d
      Michael Natterer authored
      2003-02-20  Michael Natterer  <mitch@gimp.org>
      
      	Reimplemented the undo history:
      
      	* app/Makefile.am
      	* app/undo_history.[ch]: removed.
      
      	Changes/cleanups to the undo system to enable/simplify the new
      	undo history implementation:
      
      	* app/core/core-types.h: removed enum undo_event_t. Removed the
      	GimpImage parameter from GimpUndoPopFunc and GimpUndoFreeFunc
      	because GimpUndo has a GimpImage pointer now (see below).
      
      	* app/core/core-enums.[ch]: added enum GimpUndoEvent. Added an
      	enum value for REDO_EXPIRED.
      
      	* app/core/gimpimage.[ch]: added a GimpUndo pointer to the
      	"undo_event" signal which needs to be passed for all events except
      	UNDO_FREE.
      
      	* app/display/gimpdisplayshell-handlers.c: changed accordingly.
      
      	* app/core/gimpundo.[ch]: added a GimpImage pointer to the
      	GimpUndo struct. Removed GimpImage parameters all over the
      	place. Added preview stuff. The preview creation needs to be
      	triggered explicitly using gimp_undo_create_preview() because the
      	GimpUndo can't know when it's possible to create the preview.
      
      	* app/core/gimpimage-undo-push.c
      	* app/paint/gimppaintcore-undo.c
      	* app/tools/gimptransformtool-undo.c: changed accordingly, cleanup.
      
      	* app/core/gimpundostack.[ch]: ditto. Return the freed undo from
      	gimp_undo_stack_free_bottom(). Removed unused container signal
      	handlers.
      
      	* app/core/gimpimage-undo.c: free the redo stack the same way old
      	undos are freed (from bottom up). Emit "undo_event" with event ==
      	REDO_EXPIRED for each removed redo.
      
      	* app/core/gimpmarshal.list: added new marshallers.
      
      	New undo history implementation:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpundoeditor.[ch]
      	* app/widgets/gimpundopreview.[ch]: new widgets for the undo
      	step previews and the history itself.
      
      	* app/widgets/gimppreview-utils.c: added GimpUndoPreview to the
      	list of possible preview types.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: removed the old and added the new undo
      	history to the dialog factory and the various dialog menus.
      
      	* app/widgets/gimpdnd.[ch]: don't warn if a GType has no
      	corresponding DND type. Instead, return FALSE from the function
      	that failed.
      
      	* app/widgets/gimppreview.c: check the return value of gimpdnd
      	functions.  Not only add drag sources but also remove them when no
      	longer needed.
      
      	* app/widgets/gimpselectioneditor.h: removed unneeded inclusion of
      	"gui/gui-types.h".
      c8b4394d
    • Evandro Fernandes Giovanini's avatar
      Updated Brazilian Portuguese translation from Alexandre Folle de Menezes · a20fc0fb
      Evandro Fernandes Giovanini authored
      2003-02-20  Evandro Fernandes Giovanini <evandrofg@ig.com.br>
      
              * pt_BR.po: Updated Brazilian Portuguese translation from
              Alexandre Folle de Menezes <afmenez@terra.com.br>.
      a20fc0fb
  5. 19 Feb, 2003 8 commits