1. 17 Jan, 2004 1 commit
  2. 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
  3. 15 Jan, 2004 16 commits
    • Manish Singh's avatar
      Minor cleanup, add note about using pango_fc_font_description_from_pattern · d7c8844c
      Manish Singh authored
      2004-01-15  Manish Singh  <yosh@gimp.org>
      
              * app/text/gimpfontlist.c: Minor cleanup, add note about using
              pango_fc_font_description_from_pattern from pango 1.4 when we
              can.
      d7c8844c
    • David Odin's avatar
      Do not display the color button or the "Random Hue" range when applying to · 32ee5e7c
      David Odin authored
      	* plug-ins/common/nova.c: Do not display the color button or the
      	"Random Hue" range when applying to a grayscale image.
      32ee5e7c
    • Pedro Gimeno's avatar
      Removed the code that disables save formats conditionally, making all of · 465e4372
      Pedro Gimeno authored
      2004-01-15  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* app/gui/file-save-menu.c (file_save_menu_update): Removed the
      	code that disables save formats conditionally, making all of
      	them available. Fixes bug #110610.
      465e4372
    • David Odin's avatar
    • Manish Singh's avatar
      Set PangoStretch from FC_WIDTH. This partially addresses #131561 (namely, · cc2534b1
      Manish Singh authored
      2004-01-15  Manish Singh  <yosh@gimp.org>
      
              * app/text/gimpfontlist.c: Set PangoStretch from FC_WIDTH. This
              partially addresses #131561 (namely, the gimp side).
      cc2534b1
    • Michael Natterer's avatar
      added plug-ins/helpbrowser/domain.c · 8137bbcf
      Michael Natterer authored
      2004-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added plug-ins/helpbrowser/domain.c
      8137bbcf
    • Michael Natterer's avatar
      removed GIMP_HELP_DEFAULT_DOMAIN #define... · c7fbda34
      Michael Natterer authored
      2004-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/helpbrowser/helpbrowser.c: removed
      	GIMP_HELP_DEFAULT_DOMAIN #define...
      
      	* plug-ins/helpbrowser/domain.h: ...and added it here.
      
      	* plug-ins/helpbrowser/domain.c: fixed the fix for bug #128112:
      	don't compare the help domain's base uri (which is variable) but
      	the help domain's name (which is constant). Re-added removed
      	information to the error message while keeping its user
      	readability. Marked g_message() strings for translation.
      c7fbda34
    • David Odin's avatar
    • Michael Natterer's avatar
      Fixed bug #78732 (don't paste off screen): · 0af39061
      Michael Natterer authored
      2004-01-15  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #78732 (don't paste off screen):
      
      	* app/display/gimpdisplayshell-transform.[ch]: added new function
      	gimp_display_shell_untransform_viewport() which returns the
      	visible rectangle of the image in image coordinates.
      
      	* app/core/gimp-edit.[ch] (gimp_edit_paste): added viewport
      	parameters and changed positioning of the pasted layer as follows:
      
      	- if there is a selection, center on the selection (just as before).
      	- if there is no viewport, center on the active drawable.
      	- if the viewport intersects with the active drawable, center
      	  on the intersection.
      	- if the viewport does *not* intersect with the active drawable,
      	  center on the active drawable (off-screen, but better than pasting
      	  something that will be invisible due to floating selection clipping).
      	- if there is no active drawable, center on the viewport.
      	- if there is no active drawable and no viewport, center on the image.
      
      	* app/widgets/gimpbufferview.c (gimp_buffer_view_paste_clicked)
      	(gimp_buffer_view_paste_into_clicked)
      	* app/display/gimpdisplayshell-dnd.c (gimp_display_shell_drop_buffer)
      	* app/gui/edit-commands.c (edit_paste_cmd_callback)
      	(edit_paste_into_cmd_callback): ask the shell for the viewport
      	and pass it to gimp_edit_paste().
      
      	* app/display/gimpdisplayshell-dnd.c
      	(gimp_display_shell_drop_drawable): center the created layer on
      	the viewport.
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_button_release): use
      	gimp_display_shell_untransform_viewport() (its code was taken from
      	here).
      
      	* tools/pdbgen/pdb/edit.pdb: pass "no viewport" to gimp_edit_paste().
      
      	* app/pdb/edit_cmds.c: regenerated.
      0af39061
    • Dave Neary's avatar
      Now that we're in pre-release mode, list all the bugs fixed in this · a1fd8fb4
      Dave Neary authored
      
      2004-01-15  Dave Neary  <bolsh@gimp.org>
      
              * NEWS: Now that we're in pre-release mode, list all the bugs fixed
              in this release, rather than features added. Commits which don't fix
              bugs are listed in the "Other contributions" section. Bugs were added
              in chronological order according to when the fix was committed (so
              the first bug in the list was the one committed soonest after the
              2.0pre1 release).
      a1fd8fb4
    • Dave Neary's avatar
      Now that we're in pre-release mode, list all the bugs fixed in this · c038ba10
      Dave Neary authored
      
      
      2004-01-15  Dave Neary  <bolsh@gimp.org>
      
              * NEWS: Now that we're in pre-release mode, list all the bugs fixed
              in this release, rather than features added. Commits which don't fix
              bugs are listed in the "Other contributions" section. Bugs were added
              in chronological order according to when the fix was committed (so
              the first bug in the list was the one committed soonest after the
              2.0pre1 release).
      c038ba10
    • Michael Natterer's avatar
      moved initialization of the gimage->visible[] and gimage->active[] arrays · d994e904
      Michael Natterer authored
      2004-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c: moved initialization of the
      	gimage->visible[] and gimage->active[] arrays from
      	gimp_image_new() to gimp_image_init(). Use gimp_rgba_set()
      	to initialize gimage->qmask_color.
      d994e904
    • Dave Neary's avatar
      Modify error messages shown when help files cannot be opened. For the main · 955de22e
      Dave Neary authored
      
      
      2004-01-15  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/helpbrowser/domain.c: Modify error messages shown when
      	help files cannot be opened. For the main GIMP help domain, the
              error message is now "Failed to open help files:\nTheGIMP help files
              are not installed." and in the general case "Failed to open help
              files:\nThe requested help file %s could not be opened.\nPlease check
              your installation." This fixes bug #128112.
      955de22e
    • Sven Neumann's avatar
      added a "validate" rule that attempts to validate the generated · 2d775c66
      Sven Neumann authored
      2004-01-15  Sven Neumann  <sven@gimp.org>
      
      	* data/misc/Makefile.am: added a "validate" rule that attempts to
      	validate the generated gimp.desktop file using desktop-file-validate
      	(from desktop-file-utils). Run it on 'make dist'.
      
      	* tips/Makefile.am: for consistency, moved the existing validation
      	code to a rule called "validate".
      2d775c66
    • Danilo Šegan's avatar
      Updated Serbian translation. · bbd01ccd
      Danilo Šegan authored
      bbd01ccd
    • Manish Singh's avatar
      #include "file/file-utils.h" for file_utils_filename_to_utf8. · 35f1fd42
      Manish Singh authored
      2004-01-14  Manish Singh  <yosh@gimp.org>
      
              * app/config/gimpconfig-utils.c: #include "file/file-utils.h" for
              file_utils_filename_to_utf8.
      35f1fd42
  4. 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
  5. 13 Jan, 2004 6 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