1. 14 Jan, 2004 8 commits
    • David Odin's avatar
      clean up the code (use gimp_table_attach_aligned() where needed). · 7ec4987e
      David Odin authored
      	* plug-ins/common/plugindetails.c: clean up the code (use
      	gimp_table_attach_aligned() where needed).
      
      	* plug-ins/dbbrowser/dbbrowser.c:
      	* plug-ins/dbbrowser/dbbrowser_utils.c: changed tabs to spaces.
      7ec4987e
    • Dave Neary's avatar
      get the type of the drawable, not the image, when transforming a TempBuf, · 83421682
      Dave Neary authored
      
      
      2004-01-14  Dave Neary  <bolsh@gimp.org>
      
              * app/core/gimpimage.c: get the type of the drawable, not the
              image, when transforming a TempBuf, making dragging & dropping
              patterns on layer masks work correctly. Fixes bug #131146.
      83421682
    • Michael Natterer's avatar
      added GIMP_IMAGE_TYPE_WITHOUT_ALPHA() macro as counterpart to · 9d43b066
      Michael Natterer authored
      2004-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.h: added GIMP_IMAGE_TYPE_WITHOUT_ALPHA()
      	macro as counterpart to GIMP_IMAGE_TYPE_WITH_ALPHA().
      
      	* app/core/gimpdrawable.[ch]: added
      	gimp_drawable_type_without_alpha() and
      	gimp_drawable_bytes_without_alpha() convenience functions.
      9d43b066
    • Michael Natterer's avatar
      Some code review: · 134efe87
      Michael Natterer authored
      2004-01-14  Michael Natterer  <mitch@gimp.org>
      
      	Some code review:
      
      	* app/core/gimpimage.c: named the gint paramater in all
      	colormap_changed related functions to "color_index", fixed typo in
      	parasite undo description, moved some variables to local scopes,
      	changed the layer raise/lower functions to look like the channel
      	and vector ones, cosmetics.
      
      	* app/core/gimpimage-colorhash.c: removed trailing whitespace,
      	initialize / reset more stuff to 0, cosmetics.
      134efe87
    • Michael Natterer's avatar
      fix typo in the uninstall-local target for gimp-console. · d5243f9d
      Michael Natterer authored
      2004-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: fix typo in the uninstall-local target for
      	gimp-console.
      d5243f9d
    • David Odin's avatar
      Callbacks attached to the "changed" signal for of GtkTreeSelection should return void. · 82e0e39d
      David Odin authored
      Small cosmetics fixes also.
      82e0e39d
    • Tor Lillqvist's avatar
      Add new function file_utils_filename_to_utf8(), which is to be used when · 18485018
      Tor Lillqvist authored
      2004-01-14  Tor Lillqvist  <tml@iki.fi>
      
      	* app/file/file-utils.[ch]: Add new function
      	file_utils_filename_to_utf8(), which is to be used when converting
      	file names (which are kept in the on-disk encoding) to UTF-8 for
      	passing to GTK, or to g_print() etc.
      
      	* app/*/*.c: Call file_utils_filename_to_utf8(). Should fix most
      	of the warnings generated by non-UTF8 pathnames. See #130118.
      
      	* libgimpbase/gimpenv.b: Document that gimp_directory() etc return
      	strings in the on-disk encoding.
      
      	* libgimpmodule/gimpmodule.c: Convert filenames to UTF-8 (using
      	g_filename_to_utf8()) before passing to g_print().
      18485018
    • Simon Budig's avatar
      Fixed small refresh issue. · 6c4deef6
      Simon Budig authored
      2004-01-14  Simon Budig  <simon@gimp.org>
      
      	* app/gui/about-dialog.c: Fixed small refresh issue.
      6c4deef6
  2. 13 Jan, 2004 13 commits
    • Simon Budig's avatar
      New image for the about dialog by Jakub Steiner. · c48c9370
      Simon Budig authored
      2004-01-13  Simon Budig  <simon@gimp.org>
      
      	* data/images/gimp_logo.png: New image for the about dialog by
      	Jakub Steiner.
      
      	* app/gui/about-dialog.c: Adjusted to new image. Also could not
      	resist to add a fancy effect...
      
      	* data/images/gimp1_2_logo.png: Saved the image from 1.2.
      c48c9370
    • Michael Natterer's avatar
      Allow invoking the text tool by double clicking a text layer in the layers · 3bee156b
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	Allow invoking the text tool by double clicking a text layer in
      	the layers dialog, just like the path tool is invoked when double
      	clicking a path.
      
      	* app/tools/gimptexttool.[ch]: added empty
      	gimp_text_tool_set_layer() stub. Sven, your turn...
      
      	* app/gui/layers-commands.[ch]: added layers_text_tool() which
      	invokes the text tool on text layers and falls back to
      	layers_edit_layer_query() otherwise.
      	Added layers_text_tool_cmd_callback() for the layers menu.
      
      	* app/gui/layers-menu.c: added "Text Tool" menu item and hide
      	it for layers which are no text layers.
      
      	* app/gui/dialogs-constructors.c (dialogs_layer_list_view_new):
      	use layers_text_tool() as "activate" function.
      3bee156b
    • Stanislav Visnovsky's avatar
      Updated Slovak translation by Zdenko Podobny. · a768016e
      Stanislav Visnovsky authored
      2004-01-13  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: Updated Slovak translation by Zdenko Podobny.
      a768016e
    • Michael Natterer's avatar
      G_LOG_DOMAIN should be "Gimp-Composite", not "Gimp-Composition". · bfaecda6
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/composite/Makefile.am (AM_CPPFLAGS): G_LOG_DOMAIN should be
      	"Gimp-Composite", not "Gimp-Composition".
      
      	* app/app_procs.c (app_run): register a log handler for the
      	"Gimp-Composite" domain.
      bfaecda6
    • Michael Natterer's avatar
      removed GimpChannelLutType enum and export GimpHistogramChannel to the · f5bf76fc
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-enums.h: removed GimpChannelLutType enum and
      	export GimpHistogramChannel to the PDB. The removed enum was just
      	there for libgimp compatibility.
      
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compat cruft.
      
      	* app/pdb/color_cmds.c
      	* libgimp/gimpcolor_pdb.[ch]
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      f5bf76fc
    • Michael Natterer's avatar
      libgimp/libgimp-sections.txt updated. · 221d73ee
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpenums.sgml: updated.
      221d73ee
    • Michael Natterer's avatar
      removed GimpChannelLutType enum and export GimpHistogramChannel to the · 8394e9e0
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-enums.h: removed GimpChannelLutType enum and
      	export GimpHistogramChannel to the PDB. The removed enum was just
      	there for libgimp compatibility.
      
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compat cruft.
      
      	* app/pdb/color_cmds.c
      	* libgimp/gimpcolor_pdb.[ch]
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      8394e9e0
    • Sven Neumann's avatar
      fixed definition of gimp_use_xshm(). · 7c5a13fe
      Sven Neumann authored
      2004-01-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcompat.h: fixed definition of gimp_use_xshm().
      7c5a13fe
    • Miloslav Trmac's avatar
      Update Czech translation · 9095d340
      Miloslav Trmac authored
      9095d340
    • Michael Natterer's avatar
      added GimpHistogramChannel index fiddling hacks for GRAYA images to all · ebc1bf8c
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/gimphistogram.c: added GimpHistogramChannel index
      	fiddling hacks for GRAYA images to all gimp_histogram_get_*()
      	functions. The public API now does what their enum values pretend
      	to do.
      
      	(gimp_histogram_calculate): restructured to reduce indentation depth.
      
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimphistogramview.c
      	* tools/pdbgen/pdb/color.pdb: removed hacks here and always use
      	the unchanged enum values.
      
      	* app/pdb/color_cmds.c: regenerated.
      ebc1bf8c
    • Michael Natterer's avatar
      renamed gimp_histogram_nchannels() to gimp_histogram_n_channels(). · 9eaace41
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/gimphistogram.[ch]: renamed gimp_histogram_nchannels()
      	to gimp_histogram_n_channels().
      
      	* app/core/gimpdrawable-histogram.c: removed silly double negation
      	logic. Cleanup.
      
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimphistogramview.c: adjust the GimpHistogramChannel
      	for GRAYA images to make sure we pick alpha from the right slot.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: removed the same hack here and call
      	gimp_histogram_view_set_channel() with the correct enum value.
      
      	* tools/pdbgen/pdb/color.pdb (levels, curves, histogram): fiddle
      	with enum values here too so GRAY* drawables produce the correct
      	results.
      
      	Fixed precondition checks and set "success" in a uniform way all
      	over the place.
      
      	Use gimp_drawable_calculate_histogram() instead of duplicating its
      	code here.
      
      	(started with a patch from Pedro Gimeno. Fixes bug #109078)
      
      	* app/pdb/color_cmds.c: regenerated.
      9eaace41
    • Manish Singh's avatar
      Split from gimpmisc.[ch] · e1f6aa9e
      Manish Singh authored
      e1f6aa9e
    • Artur Flinta's avatar
      Updated Polish translation by GNOME PL Team. · c6c7abb8
      Artur Flinta authored
      2004-01-13  Artur Flinta  <aflinta@cvs.gnome.org>
      
      	* pl.po: Updated Polish translation by GNOME PL Team.
      c6c7abb8
  3. 12 Jan, 2004 19 commits