1. 18 Mar, 2004 8 commits
    • Simon Budig's avatar
      compress visibility and linked undos. · 633b2b93
      Simon Budig authored
      2004-03-18  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimpitemtreeview.c: compress visibility and linked
      	undos.
      633b2b93
    • Sven Neumann's avatar
      added a missing call to gimp_image_flush(). · 17679a61
      Sven Neumann authored
      2004-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill):
      	added a missing call to gimp_image_flush().
      
      	* app/tools/gimptexttool.c: propagate text changes to the tool
      	options.
      
      	* app/text/gimptextlayer.c: made "text", "auto-rename" and
      	"modified" properties of the text layer and copy them when
      	duplicating a text layer.
      
      	* app/text/gimptextlayer-xcf.[ch]: added utility functions to
      	convert the new properties to flags to be saved in the XCF file.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c: load and save text layer properties.
      	Disabled warnings about unknown properties for stable branches.
      17679a61
    • Simon Budig's avatar
      Initialize a new layer unconditionally. Spotted by Roman Joost. · def801b3
      Simon Budig authored
      2004-03-18  Simon Budig  <simon@gimp.org>
      
      	* app/gui/layers-commands.c: Initialize a new layer
      	unconditionally. Spotted by Roman Joost.
      def801b3
    • Sven Neumann's avatar
      disabled debug output. · f1f47b25
      Sven Neumann authored
      2004-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphelp.c: disabled debug output.
      
      	* plug-ins/help/domain.[ch]
      	* plug-ins/help/help.[ch]
      	* plug-ins/help/locales.c: improved error reporting, fixed bugs
      	and disabled debug output.
      f1f47b25
    • Michael Natterer's avatar
      plug-ins/common/CML_explorer.c changed procedure names to be all lowercase · 471de30b
      Michael Natterer authored
      2004-03-18  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/gtm.c: changed procedure names to be all
      	lowercase so 2.0 ships with a sane namespace and doesn't give bad
      	examples to plug-in authors.
      471de30b
    • Jan Morén's avatar
      Updated Swedish translation. · 3af58bbc
      Jan Morén authored
      2004-03-18  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      3af58bbc
    • Sven Neumann's avatar
      Added support for localized help (bug #136996). Will need some minor · 7b0919d7
      Sven Neumann authored
      2004-03-18  Sven Neumann  <sven@gimp.org>
      
      	Added support for localized help (bug #136996). Will need some
      	minor touches to improve error reporting but basically it works.
      
      	* plug-ins/help/Makefile.am
      	* plug-ins/help/help.h: new file with common defines.
      
      	* plug-ins/help/help.c
      	* plug-ins/help/locales.c: include help.h, made debugging output
      	optional.
      
      	* plug-ins/help/domain.[ch]: added a hash table with locales for
      	each help domain.
      7b0919d7
    • Sven Neumann's avatar
      plug-ins/help/Makefile.am new files with code to handle locales. · e4881761
      Sven Neumann authored
      2004-03-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/help/Makefile.am
      	* plug-ins/help/locales.[ch]: new files with code to handle locales.
      
      	* plug-ins/help/help.c: changed accordingly.
      
      	* plug-ins/help/domain.[ch]: added support for a fallback URL to
              handle missing help content. i18n support is missing still.
      e4881761
  2. 17 Mar, 2004 15 commits
  3. 16 Mar, 2004 10 commits
    • Simon Budig's avatar
      app/widgets/gimplayertreeview.c app/widgets/gimpvectorstreeview.c remove · 4aef30a5
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpdatafactoryview.c: remove basically useless
      	edit buttons in the layers, vectors and patterns dialog.
      
      	* app/widgets/gimpitemtreeview.c: Make Shift-Click on the "New"
      	button create a new item using defaults.
      4aef30a5
    • Pablo G. del Campo's avatar
      Updated Spanish translation. · b9c6ec61
      Pablo G. del Campo authored
      2004-03-16  Pablo G. del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      b9c6ec61
    • Zygimantas Berucka's avatar
      Updated Lithuanian translation by me and Linas Vasiliauskas. · b1c957be
      Zygimantas Berucka authored
      2004-03-16  Zygimantas Berucka  <uid0@akl.lt>
      
      * lt.po: Updated Lithuanian translation by me and Linas Vasiliauskas.
      b1c957be
    • Michael Natterer's avatar
      ref new tiles before unrefing the old ones. · 49238237
      Michael Natterer authored
      2004-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_set_tiles): ref new
      	tiles before unrefing the old ones.
      
      	* app/core/gimpimage-undo-push.c: keep undo memsize exact by
      	adjusting undo->size when the stored data changes.
      
      	* app/core/gimpchannel.[ch] (gimp_channel_new_from_alpha)
      	* app/core/gimpchannel-select.[ch] (gimp_channel_select_alpha):
      	replaced "layer" parameter by "drawable".
      
      	* app/gui/layers-commands.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/selection_cmds.c: regenerated.
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.[ch]
      	* app/core/gimpselection.c: remdom cleanup & code review.
      49238237
    • Stanislav Visnovsky's avatar
      Updated Slovak translation by Zdenko Podobny. · 05410dc0
      Stanislav Visnovsky authored
      2004-03-16  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: Updated Slovak translation by Zdenko Podobny.
      05410dc0
    • Michael Natterer's avatar
      removed this function. It was removing all items without freezing the · 19880780
      Michael Natterer authored
      2004-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplist.c (gimp_list_dispose): removed this function.
      	It was removing all items without freezing the container first,
      	which caused excessive signal handler activity in GimpContext.
      
      	Cleaned up the whole file a bit.
      
      	* app/core/gimpcontainer.c (gimp_container_dispose): call
      	gimp_container_clear() which does the right thing and e.g. speeds
      	up quitting significantly when gimp->documents is huge.
      	Reported by Jimmac.
      19880780
    • Miloslav Trmac's avatar
      Update Czech translation · 23daabe1
      Miloslav Trmac authored
      23daabe1
    • Simon Budig's avatar
      Update the Plugin Menu immediately after setting the last invoked plugin. · 5ab18071
      Simon Budig authored
      2004-03-16  Simon Budig  <simon@gimp.org>
      
      	* app/gui/plug-in-commands.c: Update the Plugin Menu immediately
      	after setting the last invoked plugin. Fixes inconsistencies
      	between name shown and plugin invoked.
      
      	Fixes #136909, #137242 and #81479 (again, the fix in
      	lightening_main.c only probably was bogus, since this must not
      	rely on correctly written plugins).
      
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/film.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/smooth_palette.c
      	* plug-ins/common/tile.c
      	* plug-ins/fits/fits.c: Ensure that each gimp_image_undo_enable()
      	had a gimp_image_undo_disable() first...
      5ab18071
    • Michael Natterer's avatar
      removed unused #includes. · 83dc4c3b
      Michael Natterer authored
      2004-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-undo-push.c: removed unused #includes.
      83dc4c3b
    • Sven Neumann's avatar
      look ahead in the queue of pending changes and compress changes to the · b7965325
      Sven Neumann authored
      2004-03-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_apply): look ahead in
      	the queue of pending changes and compress changes to the same
      	property. Fixed a couple of smaller issues.
      
      	* app/widgets/gimpwidgets-utils.c: corrected indentation.
      b7965325
  4. 15 Mar, 2004 7 commits
    • Michael Natterer's avatar
      set a fixed width on the "filename" and "info" labels so they clip their · d227b41e
      Michael Natterer authored
      2004-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpthumbbox.c (gimp_thumb_box_new): set a fixed
      	width on the "filename" and "info" labels so they clip their texts
      	rather than expand the thumb_box when the text is too wide
      	(spotted by Jonathan Blandford).
      d227b41e
    • Michael Natterer's avatar
      app/app-docs.sgml app/app-sections.txt updated. · b6d5a948
      Michael Natterer authored
      2004-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: updated.
      b6d5a948
    • Michael Natterer's avatar
      replaced GIMP_UNDO_LAYER_MOD and GIMP_UNDO_CHANNEL_MOD by · 5ef7c774
      Michael Natterer authored
      2004-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch] (enum GimpUndoType): replaced
      	GIMP_UNDO_LAYER_MOD and GIMP_UNDO_CHANNEL_MOD by
      	GIMP_UNDO_DRAWABLE_MOD.
      
      	* app/core/gimpimage-undo-push.[ch]: ditto: replaced
      	gimp_image_undo_push_layer_mod() and
      	gimp_image_undo_push_channel_mod() by
      	gimp_image_undo_push_drawable_mod().
      
      	* app/core/gimpdrawable.[ch]: added undo_desc strings for "resize"
      	and "scale" to the GimpDrawableClass struct.
      
      	(gimp_drawable_scale)
      	(gimp_drawable_resize): pass push_undo = TRUE to
      	gimp_drawable_set_tiles_full() and use the undo_desc from the
      	class.
      
      	(gimp_drawable_real_set_tiles): push a GIMP_UNDO_DRAWABLE_MOD here...
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c: ...and don't push undos in
      	GimpItem::scale(), GimpItem::resize(), GimpDrawable::set_tiles().
      
      	* app/core/gimpchannel.c: Removed even more bounds_known = FALSE
      	assignments from functions which already call
      	gimp_drawable_set_tiles().
      5ef7c774
    • Michael Natterer's avatar
      emit "update" signals from the drawable before and after setting tiles and · 59b77c35
      Michael Natterer authored
      2004-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_set_tiles_full): emit
      	"update" signals from the drawable before and after setting tiles
      	and offsets.
      
      	* app/core/gimpdrawable-offset.c (gimp_drawable_offset)
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste)
      	* app/core/gimpimage-undo-push.c (undo_pop_layer_mod, _channel_mod)
      	* app/text/gimptextlayer.c (gimp_text_layer_render)
      	* app/tools/gimptransformtool.c (gimp_transform_tool_doit):
      	removed calls to gimp_drawable_update().
      
      	* app/core/gimpdrawable-offset.c (gimp_drawable_offset): don't
      	push an undo step before calling gimp_drawable_set_tiles()
      	but simply pass push_undo == TRUE and the undo_desc.
      59b77c35
    • Michael Natterer's avatar
      added "offset_x" and "offset_y" parameters to GimpDrawable::set_tiles(). · 1ef5fa93
      Michael Natterer authored
      2004-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added "offset_x" and "offset_y"
      	parameters to GimpDrawable::set_tiles().
      
      	(gimp_drawable_set_tiles): removed the "GimpImageType" parameter.
      
      	(gimp_drawable_set_tiles_full): new function adding type, offset_x
      	and offset_y parameters.
      
      	(gimp_drawable_real_set_tiles): set the drawable's offsets from
      	the offset parameters and its size from the passed TileManager's
      	size. Emit "size_changed" accordingly.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimplayer.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimptransformtool.c: changed accordingly: removed
      	calls to gimp_viewable_size_changed() and all sorts of hackish
      	assignments of the drawable's width/height/offset_x/offset_y
      	properties.
      1ef5fa93
    • Michael Natterer's avatar
      don't call gimp_image_flush(). · 79776036
      Michael Natterer authored
      2004-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/text/gimptextlayer.c (gimp_text_layer_render): don't call
      	gimp_image_flush().
      
      	* app/tools/gimpxttool.c (gimp_text_tool_apply): call it here
      	instead.
      
      	Now that we have a common place that exchanges drawable->tiles,
      	we can abstract away boundary invalidation for this operation:
      
      	* app/core/gimpdrawable.c (gimp_drawable_real_set_tiles):
      	call gimp_drawable_invalidate_boundary() before setting
      	the new tiles.
      
      	* app/core/gimpchannel.c (gimp_channel_set_tiles)
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste)
      	* app/core/gimpimage-undo-push.c (undo_pop_layer_mod)
      	* app/core/gimplayer.c (gimp_layer_scale) (gimp_layer_resize)
      	(gimp_layer_flip) (gimp_layer_rotate) (gimp_layer_transform)
      	* app/text/gimptextlayer.c (gimp_text_layer_render): removed
      	calls to gimp_drawable_invalidate_boundary() from all functions
      	which finally call gimp_drawable_real_set_tiles().
      
      	* app/tools/gimptransformtool.c (gimp_transform_tool_doit): no
      	need to set channel->bounds_known to FALSE, because
      	gimp_drawable_set_tiles() already did this.
      79776036
    • Sven Neumann's avatar
      added nl.po (Dutch). · 8bdc3e0c
      Sven Neumann authored
      2004-03-15  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am (tips_POFILES): added nl.po (Dutch).
      8bdc3e0c