1. 19 Jan, 2004 8 commits
    • 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
  2. 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
  3. 17 Jan, 2004 6 commits
  4. 16 Jan, 2004 9 commits
    • Manish Singh's avatar
      Fix typo · 7656d6bb
      Manish Singh authored
      7656d6bb
    • Sven Neumann's avatar
      app/config/gimpguiconfig.[ch] app/config/gimprc-blurbs.h · bfe567c4
      Sven Neumann authored
      2004-01-17  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc-blurbs.h
      	* app/widgets/gimpdock.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpwidgets-utils.[ch]
      	* app/widgets/gimpwidgets-utils.[ch]
      	* app/widgets/widgets-enums.[ch]: GTK+-2.4 will allow to request
      	windows to be kept above. This change prepares the code so that we
      	can optionally do this for docks and the toolbox as soon as we
      	depend on GTK+-2.4 (see bug #131672).
      bfe567c4
    • Dave Neary's avatar
      Apply a (modified) patch from Pablo d'Angelo to enable saving of a · c40b7bb0
      Dave Neary authored
      
      
      2004-01-16  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/common/tiff.c: Apply a (modified) patch from Pablo
              d'Angelo to enable saving of a non-premultiplied alpha channel
              and provide an UI to use it (a checkbox and extra PDB
              procedure). Fixes bug #131030.
      c40b7bb0
    • Sven Neumann's avatar
      do a proper fix for bug #131680. · 4a234e44
      Sven Neumann authored
      2004-01-16  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcroptool.c (crop_recalc): do a proper fix for bug
      	#131680.
      4a234e44
    • David Odin's avatar
      bloc some signals before destroying the info dialog box, to prevent · 04d7e139
      David Odin authored
      * app/tools/gimpcroptool.c: bloc some signals before destroying the
      info dialog box, to prevent accessing to freed memory fixes bug #131680
      04d7e139
    • Sven Neumann's avatar
      fixed typo (bug #131670). · ddbc0908
      Sven Neumann authored
      2004-01-16  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/menus.c (menus_init): fixed typo (bug #131670).
      ddbc0908
    • Dave Neary's avatar
      Update NEWS file again. · 480d921d
      Dave Neary authored
      
      
      2004-01-16  Dave Neary  <bolsh@gimp.org>
      
              * NEWS: Update NEWS file again.
      480d921d
    • Michael Natterer's avatar
      converted tabs to spaces. · b6683376
      Michael Natterer authored
      2004-01-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/edit-commands.[ch]: converted tabs to spaces.
      
      	(cut,copy_named_buffer_callback): unref the buffer after adding it
      	to gimp->named_buffers. Seems we leaked all named buffers...
      
      	Removed code duplication I have just introduced:
      
      	* app/gui/edit-commands.[ch] removed
      	edit_paste_into_cmd_callback(). Instead, pass the "paste_into"
      	boolean as "guint action" to gimp_edit_paste_cmd_callback().
      
      	* app/gui/image-menu.c: changed accordingly.
      
      	* app/widgets/gimpbufferview.c: added utility function
      	gimp_buffer_view_paste() and call it from the paste and paste_into
      	callbacks.
      b6683376
    • Jan Morén's avatar
      Updated Swedish translation. · 6f96feba
      Jan Morén authored
      2004-01-16  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      6f96feba
  5. 15 Jan, 2004 2 commits