1. 20 Jan, 2004 5 commits
    • Michael Natterer's avatar
      plug-ins/common/mail.c use more already translated standard file error · 8096cef1
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/mail.c
      	* plug-ins/common/mng.c: use more already translated standard file
      	error messages. Some cleanup.
      8096cef1
    • Changwoo Ryu's avatar
      Updated Korean translation by Dongsu Jang <iolo@hellocity.net>. · 2bd7a44a
      Changwoo Ryu authored
      	* ko.po: Updated Korean translation by Dongsu Jang
      	<iolo@hellocity.net>.
      2bd7a44a
    • Artur Flinta's avatar
      Updated Polish translation by GNOME PL Team. · 5717cd2f
      Artur Flinta authored
      2004-01-20  Artur Flinta  <aflinta@cvs.gnome.org>
      
      	* pl.po: Updated Polish translation by GNOME PL Team.
      5717cd2f
    • Michael Natterer's avatar
      app/gui/file-open-menu.c app/gui/file-save-menu.c app/gui/image-menu.c · cf136155
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/plug-in-menus.c: when dynamically creating menu entries,
      	pass static_entry == FALSE to gimp_item_factory_create_item() so a
      	*copy* of the the help_id is attached to the menu item.
      	Fixes help for plug-in menu entries.
      cf136155
    • Michael Natterer's avatar
      changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a · e8b27df0
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in.[ch]: changed member
      	"ProcRec *current_temp_proc" to "GList *temp_proc_recs", a stack
      	of temporary procedures, just as the "temp_main_loops" member is
      	supposed to be the stack of main loops for waiting for the
      	temp_procs' return values.
      
      	* app/plug-in/plug-in-run.c (plug_in_temp_run): changed accordingly.
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-run.c
      	* libgimp/gimp.c: added #define ENABLE_TEMP_RETURN 1.
      
      	Enables return values for temporary procedures. On the libgimp
      	side, this just enables the code which returns the values, on the
      	app side it enables per-plug-in stacks of proc_recs and main_loops
      	and a message handler for the GP_TEMP_PROC_RETURN message.
      	A temp_proc's caller now blocks until the proc is finished.
      	Fixes bug #50649.
      
      	Left the #ifdefs there so it can be easily disabled if things
      	break. Please play with Script-Fu and test this.
      e8b27df0
  2. 19 Jan, 2004 17 commits
    • Christophe Merlet's avatar
      Updated French translation. · 85d30877
      Christophe Merlet authored
      85d30877
    • Pedro Gimeno's avatar
      Call gimp_drawable_detach() after gimp_drawable_get() to plug a leak. · 5ad62134
      Pedro Gimeno authored
      2004-01-19  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/common/ccanalyze.c (analyze): Call gimp_drawable_detach()
      	after gimp_drawable_get() to plug a leak.
      5ad62134
    • Tor Lillqvist's avatar
      Fix gccism. · c2054152
      Tor Lillqvist authored
      2004-01-19  Tor Lillqvist  <tml@iki.fi>
      
      	* app/gui/about-dialog.c (decorate_text): Fix gccism.
      c2054152
    • Pablo G. del Campo's avatar
      Updated Spanish translation. · c82cf11c
      Pablo G. del Campo authored
      2004-01-19  Pablo G. del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      c82cf11c
    • Sven Neumann's avatar
      shut up CVS · 12d647c6
      Sven Neumann authored
      12d647c6
    • Sven Neumann's avatar
      bumped version number to 2.0pre3 (1.3.26), binary age 2, interface age 0. · c723e826
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 2.0pre3 (1.3.26),
      	binary age 2, interface age 0.
      
      	* libgimpbase/gimpsignal.h: removed unused definition of
      	gimp_signal_syscallrestart().
      c723e826
    • Michael Natterer's avatar
      if there is a floating selection, anchor it before adding the text layer. · 1eee624d
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_create_layer): if there
      	is a floating selection, anchor it before adding the text layer.
      	Fixes bug #127451.
      
      	Also fixed some issues with undo. Addresses, but does not fix
      	bug #124969 and bug #130985.
      1eee624d
    • Michael Natterer's avatar
      plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/hrz.c · 7f6dd5bf
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/hrz.c
      	* plug-ins/common/pnm.c
      	* plug-ins/sgi/sgi.c: marked some forgotten strings for
      	translation and use translated standard file error messages (no
      	new strings introduced), some indentation and cleanup.
      7f6dd5bf
    • Michael Natterer's avatar
      plug-ins/bmp/bmpread.c plug-ins/common/gif.c plug-ins/common/jpeg.c · 4baf3612
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/bmp/bmpread.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/pcx.c
      	* plug-ins/common/pix.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/xpm.c
      	* plug-ins/xjt/xjt.c: some more gimp_filename_to_utf8().
      4baf3612
    • Sven Neumann's avatar
      Made 2.0pre2 release. · 3a8e85d7
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
              * Made 2.0pre2 release.
      3a8e85d7
    • Michael Natterer's avatar
      plug-ins/FractalExplorer/Dialogs.c · fba87654
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/bmp/bmpread.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/channel_mixer.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/dicom.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/hrz.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/pcx.c
      	* plug-ins/common/png.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/svg.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/common/xwd.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/ppmtool.c
      	* plug-ins/helpbrowser/domain.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/xjt/xjt.c: use gimp_filename_to_utf8() for filenames
      	passed to g_message() and gimp_progress_init(). Definitely missed
      	lots of other places but it's a start...
      fba87654
    • Michael Natterer's avatar
      removed inclusion of <stdio.h> and "plug-in/plug-in-types.h". · 1f07af72
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-utils.h: removed inclusion of <stdio.h> and
      	"plug-in/plug-in-types.h".
      1f07af72
    • Sven Neumann's avatar
      include "libgimpbase/gimpbase.h" where needed; removed now unnecessary · 6d506d51
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
      	now unnecessary inclusions of "file/file-utils.h".
      6d506d51
    • Michael Natterer's avatar
      updated. · 30b72328
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-sections.txt: updated.
      30b72328
    • Sven Neumann's avatar
      removed file_utils_filename_to_utf8() ... · a70698c4
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ...
      
      	* libgimpbase/gimputils.[ch]: ... and added it here as
      	gimp_filename_to_utf8(). Added some docs that promise less than
      	the current implementation holds so that we can change the
      	implementation later.
      
      	* app/*/*.c: use gimp_filename_to_utf8() where
      	file_utils_filenames_to_utf8() has been used before.
      
      	* libgimpbase/gimpbase.def: changed accordingly.
      
      	* configure.in: reset GIMP_INTERFACE_AGE.
      a70698c4
    • Pedro Gimeno's avatar
      plug-ins/common/compose.c (compose) fixed a lack of refresh in the layer · e4467c1d
      Pedro Gimeno authored
      2004-01-19  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/common/compose.c (compose)
      	* plug-ins/common/decompose.c (decompose): fixed a lack of refresh
      	in the layer previews by adding calls to gimp_drawable_update()
      	where appropriate. Removed redundant gimp_drawable_flush() calls.
      e4467c1d
    • Michael Natterer's avatar
      moved the first hint label to a line of its own. fixes bug #127673. · bb833af3
      Michael Natterer authored
      2004-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpgradienteditor.[ch]: moved the first hint label
      	to a line of its own. fixes bug #127673.
      bb833af3
  3. 18 Jan, 2004 15 commits
    • Sven Neumann's avatar
      code cleanup; draw in the expose_event handler only. · 2eafd750
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimplevelstool.[ch]: code cleanup; draw in the
      	expose_event handler only.
      2eafd750
    • David Odin's avatar
      fixed a stupid bug which could crashes with non square images. Done some · a6be2ef0
      David Odin authored
      * plug-ins/common/nova.c: fixed a stupid bug which could crashes with
      non square images. Done some cleanup also.
      a6be2ef0
    • Michael Natterer's avatar
      when scaling an indexed image/layer, add a label telling the user that · f9cb4af7
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/resize-dialog.c: when scaling an indexed image/layer,
      	add a label telling the user that indexed layers are always scaled
      	without interpolation. Can't simply make the option menu
      	insensitive because channels and layer masks are still scaled with
      	the chosen interpolation type. Fixes bug #131779.
      f9cb4af7
    • Michael Natterer's avatar
      use gimp_drawable_bytes_with_alpha(). · 65c83a6c
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpinktool.c (ink_set_paint_area): use
      	gimp_drawable_bytes_with_alpha().
      65c83a6c
    • Sven Neumann's avatar
      changed names on contributors demand · fcedcc71
      Sven Neumann authored
      fcedcc71
    • Dave Neary's avatar
      Updated again. · 0affb305
      Dave Neary authored
      
      
      2004-01-18  Dave Neary  <bolsh@gimp.org>
      
              * NEWS: Updated again.
      0affb305
    • Michael Natterer's avatar
      app/vectors/gimpstroke.c use the GIMP_TYPE_FOO macros instead of · d9b7d7ee
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/vectors/gimpstroke.c
      	* app/xcf/xcf-load.c: use the GIMP_TYPE_FOO macros instead of
      	gimp_foo_get_type(). Minor cleanups.
      d9b7d7ee
    • Michael Natterer's avatar
      in the spirit of the fix for bug #131721 below, don't try to figure · d528848f
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_add_layer,remove_layer): in the
      	spirit of the fix for bug #131721 below, don't try to figure
      	manually if "alpha_changed" needs to be emitted but simply compare
      	the old and new values of gimp_image_has_alpha().
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): follow
      	"foo-window-type" -> "foo-window-hint" change.
      d528848f
    • Michael Natterer's avatar
      also return the color's alpha byte if it has alpha, not only the converted · 9efe077c
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch] (gimp_image_get_color): also return the
      	color's alpha byte if it has alpha, not only the converted RGB
      	values.  Return OPAQUE_OPACITY for drawables without alpha.
      	Fixes bug #131706.
      
      	* app/core/gimpdrawable.c (gimp_drawable_get_color_at)
      	* app/core/gimpimage-contiguous-region.c
      	(gimp_image_contiguous_region_by_color)
      	* app/core/gimpimage-projection.c (gimp_image_projection_get_color_at)
      	* app/core/gimpimagemap.c (gimp_image_map_get_color_at)
      	* app/paint/gimpclone.c (gimp_clone_line_image): removed separate
      	handling of the alpha byte from all users of gimp_image_get_color().
      9efe077c
    • Michael Natterer's avatar
      use gimp_drawable_bytes_with_alpha(). · b2c661e3
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.c (gimp_paint_core_get_paint_area): use
      	gimp_drawable_bytes_with_alpha().
      b2c661e3
    • Michael Natterer's avatar
      don't allow to select anything but the floating selection. Fixes bug · 370a16fa
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_set_active_layer): don't allow
      	to select anything but the floating selection. Fixes bug #128025.
      
      	(gimp_image_set_active_layer,channel,vectors): allow to pass NULL
      	to unselect the active item. Removed the silly feature that
      	passing some random item of another image would select the first
      	item in the list (was unused anyway).
      
      	(gimp_image_unset_active_channel): use gimp_image_set_active_channel()
      	now that it accepts NULL.
      
      	(gimp_image_add_layer,channel,vectors): cleaned up / simplified.
      
      	(gimp_image_remove_layer,channel,vectors): cleanup,
      	simplification, use gimp_image_set_active_layer,channel,vectors()
      	now that they accept NULL, make sure the item next to the removed
      	item becomes the active one (and not the first in the list, which
      	was a severe usability problem in the dialogs).
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer,channel): pass
      	NULL to the set_active functions, cleanup.
      
      	* app/core/gimpimage-duplicate.c: attach the floating selection
      	before setting the active layer. Code relied on broken
      	gimp_image_set_active_layer() behaviour before.
      
      	* app/core/gimplayer-floating-sel.c: no need to set
      	gimage->floating_sel before calling gimp_image_add_layer(). The
      	weird GUI mentioned in the comment existed in 1.2 only.
      
      	* app/display/gimpdisplayshell-layer-select.c (layer_select_advance):
      	don't assume that setting the active_layer always succeeds.
      
      	* tools/pdbgen/pdb/image.pdb: behave as the documentation says
      	and return an execution error if setting the active layer or
      	channel failed.
      
      	Unrelated:
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed leftover cruft from the old
      	guchar based color API.
      
      	* tools/pdbgen/pdb/channel.pdb: simplified code which handles the
      	channel's color.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      370a16fa
    • Simon Budig's avatar
      fixed typo. · b18e38c7
      Simon Budig authored
      2004-01-18  Simon Budig  <simon@gimp.org>
      
              * app/gui/about-dialog.c: fixed typo.
      b18e38c7
    • Simon Budig's avatar
      make sure we always properly use the size of the logo image. Place the · 8cdcee96
      Simon Budig authored
      2004-01-18  Simon Budig  <simon@gimp.org>
      
      	* app/gui/about-dialog.c: make sure we always properly use
      	the size of the logo image. Place the text at the bottom
      	of the image when the size changes (position of the version
      	string needs to be adjusted manually still...).
      
      	* data/images/gimp_logo.png: slightly tweaked.
      
      	* data/images/gimp1_0_logo.png: added for historical reasons.
      8cdcee96
    • Sven Neumann's avatar
      redone to make it work again. · 15d4c9f4
      Sven Neumann authored
      2004-01-18  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/file-open-dialog.c (file_open_create_thumbnail): redone
      	to make it work again.
      
      	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): fixed
      	stupid mistake that caused thumbnails not to load under certain
      	circumstances.
      15d4c9f4
    • Michael Natterer's avatar
      removed broken code which tried to figure manually whether "alpha_changed" · f8e9fbc1
      Michael Natterer authored
      2004-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer): removed broken
      	code which tried to figure manually whether "alpha_changed" should
      	be emitted. Instead, simply compare the return values of
      	gimp_image_has_alpha() before and after adding/removing the
      	layer. Fixes bug #131721.
      f8e9fbc1
  4. 17 Jan, 2004 3 commits
    • Henrik Brix Andersen's avatar
      forgot to change two G_MAXINT to G_MAXDOUBLE. · 8e43a403
      Henrik Brix Andersen authored
      2004-01-17 Henrik Brix Andersen <brix@gimp.org>
      
      * app/core/gimpimage-snap.c (gimp_image_snap_point): forgot to
      change two G_MAXINT to G_MAXDOUBLE.
      8e43a403
    • Henrik Brix Andersen's avatar
      Finally fixed bug #125864: · d22d364d
      Henrik Brix Andersen authored
      2004-01-17 Henrik Brix Andersen <brix@gimp.org>
      
      Finally fixed bug #125864:
      
      * app/core/gimpimage-guides.c (gimp_image_find_guide): iterate
      over the entire list of guides to determine the closest one.
      
      * app/core/gimpimage-snap.c: use gdoubles instead of gints for
      dist and mindist variables to make sure grid and guides with 1px
      spacings work as expected.
      d22d364d
    • Sven Neumann's avatar
      added more optional debug output and did some minor code cleanup. · 07a7788f
      Sven Neumann authored
      2004-01-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimpthumb/gimpthumbnail.c: added more optional debug output
      	and did some minor code cleanup.
      07a7788f