1. 19 Mar, 2004 12 commits
  2. 18 Mar, 2004 12 commits
    • Sven Neumann's avatar
      cleaned up text tool logic. · d7dbf81a
      Sven Neumann authored
      2004-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.[ch]: cleaned up text tool logic.
      d7dbf81a
    • Michael Natterer's avatar
      simplified visibility and linked undo compression by passing an UNDO type, · f3e07fcf
      Michael Natterer authored
      2004-03-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemtreeview.c: simplified visibility and linked
      	undo compression by passing an UNDO type, not an UNDO_GROUP type.
      
      	Fixed (made weird) compression of "exclusive visible/linked" undos
      	to only compress undos of the same item type (only compress layer
      	visibility if we pushed a *layer* visibility before, not a channel
      	or vectors visibility). Even worse, we need to push the
      	visibility/linked state of *all* items when pushing an exclusive
      	group, otherwise compression won't work.
      f3e07fcf
    • Manish Singh's avatar
      removed obsolete GimpParamColor typedef. · 1f503270
      Manish Singh authored
      2004-03-18  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimptypes.h: removed obsolete GimpParamColor typedef.
      1f503270
    • Sven Neumann's avatar
      applied a patch from Kevin Cozens that slightly alters the Script-Fu · f07c0a6d
      Sven Neumann authored
      2004-03-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-console.c: applied a patch from
      	Kevin Cozens that slightly alters the Script-Fu console output.
      f07c0a6d
    • Sven Neumann's avatar
      app/gui/layers-commands.c (layers_text_tool) treat modified text layers · 2ce9ca73
      Sven Neumann authored
      2004-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/layers-commands.c (layers_text_tool)
      	* app/gui/layers-menu.c (layers_menu_update): treat modified text
      	layers like normal layers.
      
      	* app/gui/layers-commands.c (layers_edit_layer_query): added a
      	check button that gives access to the "auto-rename" property of a
      	text layer.
      
      	* app/text/gimptextlayer.c: typo.
      
      	* app/widgets/gimppreviewrendererlayer.c
      	(gimp_preview_renderer_layer_render): show the text layer icon for
      	unmodified text layers only.
      2ce9ca73
    • 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
    • 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
  3. 17 Mar, 2004 8 commits
    • Simon Budig's avatar
      ensure that each rank of a brushpipe is >= 1. · 5391cbad
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpbrushpipe.c: ensure that each rank of a
      	brushpipe is >= 1.
      
      	Fixes bug #137529
      5391cbad
    • Sven Neumann's avatar
      app/widgets/gimpbrushfactoryview.c app/widgets/gimpdatafactoryview.c · b50d45d0
      Sven Neumann authored
      2004-03-17  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimppatternfactoryview.c: removed redundant code.
      b50d45d0
    • Simon Budig's avatar
      app/gui/channels-commands.c app/gui/layers-commands.c · e2d5ed62
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpitemtreeview.c: shuffled some
      	gimp_image_flush()'es around.
      e2d5ed62
    • Simon Budig's avatar
      app/gui/channels-commands.c app/gui/layers-commands.c Make sure that · 23711e13
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/vectors-commands.c: Make sure that non-dialog creation
      	of layer/channels/vectors properly updates the image. Also
      	clear the new channel unconditionally.
      
      	Change the name of the newly created item to not include the "Copy".
      	It isn't a copy.
      
      	* app/widgets/gimpitemtreeview.c: Don't try to assemble translated
      	strings.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: properly overwrite the
      	tooltip for the "New" button.
      
      	Sorry, some real string changes ahere, but they were necessary.
      23711e13
    • Michael Natterer's avatar
      push the undo group around all operations, not just around some of them. · a59cc989
      Michael Natterer authored
      2004-03-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-transform.c
      	(gimp_drawable_transform_paste): push the undo group around all
      	operations, not just around some of them. Pulled common code
      	out of the if() { } else { } construct. Cleanup.
      a59cc989
    • Simon Budig's avatar
      e359fb18
    • Simon Budig's avatar
      Sort the plugin menu entries with the mnemonics stripped. Avoids weird · bcd96047
      Simon Budig authored
      2004-03-17  Simon Budig  <simon@gimp.org>
      
      	* app/gui/plug-in-menus.c: Sort the plugin menu entries with
      	the mnemonics stripped. Avoids weird ordering in the "C" and
      	"POSIX" locales.
      
      	* app/widgets/gimpitemtreeview.c: make a simple click on the
      	"New" Button use defaults and use shift-click for the new-dialog
      	invocation.
      
      	Some more useless button cleanup:
      
      	* app/widgets/gimpdatafactoryview.c: only create an Edit button
      	when the edit_function is set.
      
      	* app/core/gimp.c: don't set an edit func for the patterns.
      
      	* app/gui/patterns-menu.c: Don't create the "New", "Edit" and
      	"Duplicate" Menu entries for the patterns.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppatternfactoryview.[ch]: New widget:
      	gimp_pattern_factory_view. Necessary to be able to hide the
      	"duplicate" button...
      
      	* app/gui/dialogs-constructors.c: Use it.
      bcd96047
    • Sven Neumann's avatar
      Changes for help i18n in the core, the rest will take place in the help · 4e0cb334
      Sven Neumann authored
      2004-03-17  Sven Neumann  <sven@gimp.org>
      
      	Changes for help i18n in the core, the rest will take place in the
      	help plug-in:
      
      	* app/text/gimptext.[ch]: removed gimp_text_get_default_language()
      
      	* app/core/gimp-utils.[ch]: ... and added it here as
      	gimp_get_default_language().
      
      	* app/config/gimprc-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: added property "help-locales".
      
      	* app/widgets/gimphelp.c: use the new property and pass it to the
      	help plug-in.
      
      	* app/core/gimpselection.c (gimp_selection_invalidate_boundary):
      	removed unused variable.
      4e0cb334
  4. 16 Mar, 2004 6 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
    • 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
    • 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
    • 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
  5. 15 Mar, 2004 2 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
      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