1. 14 Mar, 2004 11 commits
    • Sven Neumann's avatar
      app/tools/gimpcolorpickertool.c app/tools/gimpcroptool.c · 63bb032f
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c: don't set tool dialogs transient
      	to the image window. Fixes bug #128833.
      63bb032f
    • Ole Laursen's avatar
      Updated Danish translation. · 7f1e612d
      Ole Laursen authored
      2004-03-14  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      7f1e612d
    • Sven Neumann's avatar
      don't abuse the SPLASHSCREEN window type hint, instead make the about · 7ed142c7
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/about-dialog.c: don't abuse the SPLASHSCREEN window type
      	hint, instead make the about dialog a popup window and center it
      	explicitely.
      7ed142c7
    • Sven Neumann's avatar
      allow to pass NULL as parent widget. · 9e0af0e2
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): allow to
      	pass NULL as parent widget.
      9e0af0e2
    • Sven Neumann's avatar
      some code cleanup. · 5e32bf4d
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/splash.c: some code cleanup.
      
      	* app/gui/about_dialog.c: typo.
      5e32bf4d
    • Simon Budig's avatar
      No need to use an undo_group *and* freeze/thaw an image. Just using the · c5f27a43
      Simon Budig authored
      2004-03-14  Simon Budig  <simon@gimp.org>
      
      	* plug-ins/common/jpeg.c: No need to use an undo_group *and*
      	freeze/thaw an image. Just using the latter keeps the undo
      	history ok in both directions. Also call gimp_displays_flush()
      	to make sure the undo keyboard shortcuts are enabled after the
      	plugin ends.
      c5f27a43
    • Simon Budig's avatar
      app/core/gimpimage.[ch] introduced a freeze counter, so that · 657bd9ff
      Simon Budig authored
      2004-03-14  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-undo.c: introduced a freeze counter, so
      	that undo_freeze(); undo_freeze(); undo_thaw(); no longer
      	results in an thawed undo stack.
      
      	Fixes Bug #124176.
      
      	This might reveal other places in the code where
      	gimp_image_undo_freeze/thaw or gimp_image_undo_disable/enable
      	were used in an inconsistent (not-paired) manner.
      
      	* app/file/file-open.c: e.g. here, where _enable was called on
      	the new image. The intention was to free a potential undo stack,
      	so now call gimp_image_undo_free() instead.
      657bd9ff
    • Sven Neumann's avatar
      removed all idle handling here. Changes to the text-layer's text object · f67c16ec
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptextlayer.[ch]: removed all idle handling here.
      	Changes to the text-layer's text object all applied synchronously.
      
      	* app/display/gimpdisplayshell-dnd.c
      	* app/text/gimptextlayer-transform.c: removed now obsolete calls
      	to gimp_text_layer_flush().
      
      	* app/tools/gimptexttool.[ch]: queue up changes to the proxy text
      	object and apply them in one go from a low-priority idle handler.
      	This is basically what GimpTextLayer used to do.
      f67c16ec
    • Sven Neumann's avatar
      app/tools/gimptextoptions.[ch] introduced a proxy GimpText object that is · 0993486a
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptexttool.[ch]: introduced a proxy GimpText object
      	that is tied to the GimpTextOptions for the lifetime of the text
      	tool. Brings us one step closer to text undo...
      0993486a
    • Vincent van Adrighem's avatar
      Translation updated by Branko Collin. · e6b7c28b
      Vincent van Adrighem authored
      2004-03-14  Vincent van Adrighem  <adrighem@gnome.org>
      
      	* nl.po: Translation updated by Branko Collin.
      e6b7c28b
    • Michael Natterer's avatar
      app/core/gimpdrawable-offset.c (gimp_drawable_offset) · d1fe0f9e
      Michael Natterer authored
      2004-03-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-offset.c (gimp_drawable_offset)
      	* app/core/gimpdrawable.c (gimp_drawable_scale) (gimp_drawable_resize)
      	* app/core/gimplayer.c (gimp_layer_convert) (gimp_layer_add_alpha):
      	use gimp_drawable_set_tiles() instead of fiddling with
      	drawable->tiles, ->bytes etc. manually.
      d1fe0f9e
  2. 13 Mar, 2004 17 commits
    • Vincent van Adrighem's avatar
      Translation updated by Branko Collin. · f36b751c
      Vincent van Adrighem authored
      2004-03-13  Vincent van Adrighem  <adrighem@gnome.org>
      
      	* nl.po: Translation updated by Branko Collin.
      f36b751c
    • Michael Natterer's avatar
      made enum GimpDialogVisibilityState and GIMP_DIALOG_VISIBILITY_KEY public. · 6f1612db
      Michael Natterer authored
      2004-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: made enum
      	GimpDialogVisibilityState and GIMP_DIALOG_VISIBILITY_KEY public.
      
      	* app/widgets/gimpsessioninfo.c (gimp_session_info_get_geometry):
      	only look at GTK_WIDGET_VISIBLE(info->widget) if the dialog's
      	visibility state is GIMP_DIALOG_VISIBILITY_UNKNOWN and map the
      	visibility state to info->open otherwise.
      
      	Fixes bug #137076.
      6f1612db
    • Sven Neumann's avatar
      applied a patch from Pedro Gimeno that fixes the crash reported in bug · a479b558
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-blend.c (gradient_calc_shapeburst_*):
      	applied a patch from Pedro Gimeno that fixes the crash reported in
      	bug #136219.
      a479b558
    • Michael Natterer's avatar
      Completed the fix for bug #136702: · 2498c665
      Michael Natterer authored
      2004-03-13  Michael Natterer  <mitch@gimp.org>
      
      	Completed the fix for bug #136702:
      
      	* app/core/gimpitem.[ch]: added "gboolean supersample" and
      	"gint recursion_level" to GimpItem::transform().
      
      	* app/core/gimpitem-linked.[ch]	(gimp_item_linked_transform): ditto.
      
      	* app/core/gimpdrawable-transform.[ch]: added "recursion_level"
      	parameters and removed the RECURSION_LEVEL #define.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimplayer.c
      	* app/vectors/gimpvectors.c: changed accordingly.
      
      	* app/tools/gimptransformoptions.[ch]: added new property
      	"recursion_level" which is not serializable and has no GUI. Pretty
      	useless, but it's IMHO better to hardcode the default value here
      	than in gimpdrawable-transform.c
      
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* tools/pdbgen/pdb/transform_tools.pdb: hardcode "recursion_level"
      	to 3.
      
      	* app/pdb/transform_tools_cmds.c: regenerated.
      2498c665
    • Simon Budig's avatar
      app/widgets/widgets-enums.h New function · b3cc1578
      Simon Budig authored
      2004-03-13  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimppreviewrenderer.[ch]: New function
      	gimp_preview_renderer_set_border_type that takes an enum instead
      	of an color to set the color of the border.
      
      	* app/widgets/gimpcellrendererviewable.c: check for the
      	current border_type and change it to black when it is white and
      	the cell is unselected. This should be solved in a better way
      	later.
      
      	Fixes bug #135023.
      
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpcontainergridview.c: changed to use the new
      	function.
      b3cc1578
    • Pedro Gimeno's avatar
      plug-ins/script-fu/scripts/carve-it.scm · 0dcbbccf
      Pedro Gimeno authored
      2004-03-13  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/script-fu/scripts/carve-it.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm: Fixed to avoid
      	pasting to a layer that was not added to any image. This was causing
      	the scripts to abort, because gimp-edit-paste is now failing in that
      	case.
      0dcbbccf
    • Sven Neumann's avatar
      override the "gradient_repeat" property inherited from GimpPaintOptions · 27fc81be
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpblendoptions.c: override the "gradient_repeat"
      	property inherited from GimpPaintOptions and set the default to
      	GIMP_REPEAT_NONE. Seems more appropriate for the blend tool.
      27fc81be
    • Sven Neumann's avatar
      implement GimpDrawable functions that affect the tiles and mark the text · f81e2f3d
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptextlayer.[ch]: implement GimpDrawable functions
      	that affect the tiles and mark the text layer as modified. Added
      	new function gimp_drawable_is_text_layer() that checks whether a
      	drawable is an unmodified text layer.
      
      	* app/display/gimpdisplayshell-dnd.c (gimp_display_shell_bucket_fill):
      	use gimp_drawable_is_text_layer() and only set the text color if the
      	text layer is unmodified. Fixes bug #136623.
      f81e2f3d
    • Sven Neumann's avatar
      added new virtual function GimpDrawable::set_tiles(). · c179f9ac
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added new virtual function
      	GimpDrawable::set_tiles().
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c: push an undo before chaining up in
      	set_tiles().
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-convert.c
      	* app/tools/gimptransformtool.c: use gimp_drawable_set_tiles()
      	instead of fiddling with the drawable's tile manager directly.
      c179f9ac
    • Sven Neumann's avatar
      for consistency, changed the label from "Supersample" to "Supersampling". · beaed82c
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformoptions.c (gimp_transform_options_gui): for
      	consistency, changed the label from "Supersample" to "Supersampling".
      beaed82c
    • Sven Neumann's avatar
      use g_printerr() for debug output. · 89cec082
      Sven Neumann authored
      22004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs.c: use g_printerr() for debug output.
      
      	* app/base/tile-manager.c: cleaned up stone-old debug output.
      89cec082
    • Raphael Quinet's avatar
      added new "supersample" property to GimpTransformOptions and added · 59dfdac9
      Raphael Quinet authored
      2004-03-13  Raphael Quinet  <quinet@gamers.org>
      
      	* app/tools/gimptransformoptions.[ch]: added new "supersample"
      	property to GimpTransformOptions and added corresponding check
      	button in the option dialog for the transform tools.
      
      	* app/core/gimpdrawable-transform.[ch],
      	* app/core/gimpdrawable.c,
      	* app/tools/gimptransformtool.c: new "gboolean supersample"
      	parameter added to gimp_drawable_transform_tiles_affine() and
      	gimp_drawable_transform_affine().
      
      	* tools/pdbgen/pdb/transform_tools.pdb: ditto.  For the PDB calls,
      	the supersample parameter is set to FALSE for "rotate" and "shear"
      	and set to TRUE for "perspective", "scale" and "transform_2d".
      
      	* app/pdb/transform_tools_cmds.c: regenerated.
      
      	The new "supersample" option lets the user decide if the
      	transformations should use supersampling (RECURSION_LEVEL 3) or
      	not.  This fixes both bug #136702 and bug #109817.  Hopefully for
      	good, this time.
      59dfdac9
    • Raphael Quinet's avatar
      added missing semicolon that was breaking the build. · 40825ad0
      Raphael Quinet authored
      2004-03-13  Raphael Quinet  <quinet@gamers.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_set_layer): added
      	missing semicolon that was breaking the build.
      40825ad0
    • Sven Neumann's avatar
      bugfix. · 4634ee22
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_set_layer): bugfix.
      4634ee22
    • Sven Neumann's avatar
      marked missing string for translation (spotted by Branko Collin). · 35124b9a
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcontainermenuimpl.c: marked missing string for
      	translation (spotted by Branko Collin).
      35124b9a
    • Sven Neumann's avatar
      use a GimpSizeEntry for the font size. · 285b58de
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.[ch]: use a GimpSizeEntry for the
      	font size.
      
      	* app/tools/gimptexttool.c: set the size entry's resolution to the
      	image resolution. Fixes bug #118356.
      285b58de
    • Sven Neumann's avatar
      keep a pointer on the active text layer and let the tool follow the active · 07a92fe5
      Sven Neumann authored
      2004-03-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.[ch]: keep a pointer on the active text
      	layer and let the tool follow the active layer. Fixes bug #124970.
      
      	* app/gui/layers-commands.c: changed accordingly.
      07a92fe5
  3. 12 Mar, 2004 12 commits
    • Michael Natterer's avatar
      libgimp/libgimp-sections.txt libgimp/tmpl/gimpdrawable.sgml updated after · bee5492f
      Michael Natterer authored
      2004-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpdrawable.sgml
      	* libgimp/tmpl/gimppixelfetcher.sgml: updated after
      	GimpPixelFetcher changes.
      bee5492f
    • Michael Natterer's avatar
      Cleaned up the remaining libgimp API issues: · a779e748
      Michael Natterer authored
      2004-03-12  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up the remaining libgimp API issues:
      
      	* libgimp/gimppixelfetcher.[ch] (enum GimpPixelFetcherEdgeMode):
      	added new enum value GIMP_PIXEL_FETCHER_EDGE_BACKGROUND so we
      	can actually use the bg_color feature of the GimpPixelFetcher.
      
      	(gimp_pixel_fetcher_new): added "gboolean shadow" parameter
      	because it must not change while the GimpPixelFetcher exists.
      
      	(gimp_pixel_fetcher_set_shadow): removed.
      
      	(gimp_pixel_fetcher_set_bg_color): added "GimpRGB *color"
      	parameter and don't call gimp_palette_get_foreground().
      
      	(gimp_pixel_fetcher_get_pixel): handle BACKGROUND mode. Cleaned up
      	the function.
      
      	(gimp_get_bg_guchar)
      	(gimp_get_fg_guchar): removed these functions...
      
      	* libgimp/gimpdrawable.[ch]: ...and added
      	gimp_drawable_get_color_uchar() instead.
      
      	* libgimp/gimp.def
      	* plug-ins/common/blinds.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/mosaic.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/ripple.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/tileit.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/libgimpoldpreview/gimpoldpreview.c: changed accordingly.
      
      	(Didn't test the changed plug-ins because I wanted to get this
      	API change into CVS as soon as possible)
      a779e748
    • Raphaël Quinet's avatar
      Forgot to add a comment, sorry. · 5f9f60f4
      Raphaël Quinet authored
      5f9f60f4
    • Raphael Quinet's avatar
      Set to 0 in order to avoid nasty blurring effects. Fixes bug #136702, but · 8329686e
      Raphael Quinet authored
      2004-03-12  Raphael Quinet  <quinet@gamers.org>
      
      	* app/core/gimpdrawable-transform.c (RECURSION_LEVEL): Set to 0 in
      	order to avoid nasty blurring effects.  Fixes bug #136702, but
      	re-opens bug #109817.  This is the best compromise for 2.0.
      	Later, we will have to make the supersampling optional as
      	suggested in the original patch to bug #109817.
      8329686e
    • Sven Neumann's avatar
      applied a patch from Kevin Cozens that improves Script-Fu error reporting · 6e88726e
      Sven Neumann authored
      2004-03-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
      	applied a patch from Kevin Cozens that improves Script-Fu error
      	reporting (addresses bug #73610).
      6e88726e
    • Vincent van Adrighem's avatar
      Translation updated by Tino Meinen. · d827e5fa
      Vincent van Adrighem authored
      2004-03-12  Vincent van Adrighem  <adrighem@gnome.org>
      
      	* nl.po: Translation updated by Tino Meinen.
      d827e5fa
    • Sven Neumann's avatar
      removed category entry. This would have to be translated and it's not our · c5c5b0c6
      Sven Neumann authored
      2004-03-12  Sven Neumann  <sven@gimp.org>
      
      	* data/misc/gimp.keys.in: removed category entry. This would have
      	to be translated and it's not our job to define where image/jpeg
      	belongs to.
      c5c5b0c6
    • Sven Neumann's avatar
      *** empty log message *** · 434a524c
      Sven Neumann authored
      434a524c
    • Sven Neumann's avatar
      shut up CVS · 57bb4e7f
      Sven Neumann authored
      57bb4e7f
    • Sven Neumann's avatar
      added missing libgimpwidgets/gimppatheditor.c. · 4e476cf1
      Sven Neumann authored
      2004-03-12  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added missing libgimpwidgets/gimppatheditor.c.
      4e476cf1
    • Sven Neumann's avatar
      added missing app/widgets/gimpthumbbox.c. · 9802d8c6
      Sven Neumann authored
      2004-03-12  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added missing app/widgets/gimpthumbbox.c.
      9802d8c6
    • Miloslav Trmac's avatar
      Update Czech translation · d646c435
      Miloslav Trmac authored
      d646c435