1. 06 Jun, 2003 6 commits
    • Michael Natterer's avatar
      app/gui/image-menu.c moved the convenience items which create new docks · ef30cf31
      Michael Natterer authored
      2003-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: moved the convenience items which
      	create new docks from the "Dialogs/" level to a new
      	"Dialogs/Create New Dock/" sub-menu.  Fixes bug #111278.
      
      	* app/gui/dialogs-commands.[ch] (dialogs_create_data_cmd_callback):
      	new convenience constructor callback. Factored out duplicated
      	code to the new dialogs_create_dock() utility function.
      ef30cf31
    • Michael Natterer's avatar
      added CW/CCW to the "Rotate" menu entries as suggested in bug #57797. · 4f33a478
      Michael Natterer authored
      2003-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/image-menu.c: added CW/CCW to the "Rotate" menu entries
      	as suggested in bug #57797. Cleaned up image_menu_update().
      4f33a478
    • Sven Neumann's avatar
      use gtk_window_present() instead of reimplementing its functionality. · 4ff89cbd
      Sven Neumann authored
      2003-06-06  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/CML_explorer.c (CML_save_to_file_callback): use
      	gtk_window_present() instead of reimplementing its functionality.
      4ff89cbd
    • Maurits Rijk's avatar
      f50e0837
    • Michael Natterer's avatar
      use gtk_label_set_text_with_mnemonic() instead of just · 2c958770
      Michael Natterer authored
      2003-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemfactory.c (gimp_item_factory_set_label):
      	use gtk_label_set_text_with_mnemonic() instead of just
      	gtk_label_set_text().
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: added mnemonics for all sub-menus.
      	Fixes bug #106991.
      
      	* app/gui/image-menu.c: cleaned up the "Layers" menu: moved
      	sub-menus together. Changed the "Stack" menu's labels and
      	accelerators and added "Select Top/Bottom Layer" for consistency
      	(bound to Home/End).
      
      	* app/gui/layers-commands.[ch]: changed accordingly. Added the
      	new select top/bottom callbacks.
      2c958770
    • Jan Morén's avatar
      Updated Swedish translation. · 88288b6e
      Jan Morén authored
      2003-06-06  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      88288b6e
  2. 05 Jun, 2003 8 commits
    • Sven Neumann's avatar
      removed unneeded includes. · e23a566f
      Sven Neumann authored
      2003-06-05  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcolortool.c: removed unneeded includes.
      
      2003-06-05  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added app/tools/gimpcoloroptions.c
      e23a566f
    • Sven Neumann's avatar
      simplified by using the functions inherited from GimpColorTool. · a6988b27
      Sven Neumann authored
      2003-06-05  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c: simplified by using the functions
      	inherited from GimpColorTool.
      a6988b27
    • Sven Neumann's avatar
      use OPAQUE_OPACITY instead of 255. · b1c437b4
      Sven Neumann authored
      2003-06-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_get_color_at):
      	* app/core/gimpimage-projection.c (gimp_image_projection_get_color_at):
      	use OPAQUE_OPACITY instead of 255.
      
      	* app/core/gimpimage-pick-color.[ch]: factored out code that
      	averages over colors so it can be used from GimpImageTool.
      
      	* app/tools/gimpimagemaptool.[ch]: derived from GimpColorTool and
      	added a GimpColorTool::pick implementation.
      
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcolorpickeroptions.c: add the toggle for
      	"sample_merged" in gimp_color_picker_options_gui().
      
      	* app/tools/gimpcolortool.c (gimp_color_tool_cursor_update): check
      	if the cursor is over the active drawable or if "sample_merged" is
      	active.
      
      	* app/tools/gimplevelstool.c: simplified since all color-picking is
      	now handled by the parent classes. Fixes bug #112668.
      b1c437b4
    • Sven Neumann's avatar
      changed the default radius. · 21b4aba9
      Sven Neumann authored
      2003-06-05  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcoloroptions.c: changed the default radius.
      
      	* app/tools/gimpcolortool.[ch]: pass GimpColorOptions to
      	gimp_color_tool_enable(). Added gimp_color_tool_disable() and
      	gimp_color_tool_is_enabled().
      
      	* app/tools/gimpcolorpickertool.c: changed accordingly.
      
      	* app/tools/gimppainttool.[ch]: derived GimpPaintTool from
      	GimpColorTool and removed most color picking code.
      
      	* app/tools/gimpdodgeburntool.c (gimp_dodgeburn_tool_modifier_key)
      	* app/tools/gimperasertool.c (gimp_eraser_tool_modifier_key):
      	chain up to the parent class.
      
      	* app/tools/gimppaintbrushtool.c: purely cosmetic change.
      21b4aba9
    • Michael Natterer's avatar
      always return channel->x1,y1,x2,y2, *not* tx1,ty1,tx2,ty2 since the latter · f8081a86
      Michael Natterer authored
      2003-06-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.c (gimp_channel_bounds): always return
      	channel->x1,y1,x2,y2, *not* tx1,ty1,tx2,ty2 since the latter
      	contain bogus values if the mask is empty. Fixes bug #114419.
      
      	* plug-ins/script-fu/scripts/unsharp-mask.scm: cleaned up
      	while searching the bug.
      f8081a86
    • Michael Natterer's avatar
      moved gimp-undo-push-group-end to the end of the script. Fixes bug · 378a6d3d
      Michael Natterer authored
      2003-06-05  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/predator.scm (script-fu-predator):
      	moved gimp-undo-push-group-end to the end of the script.
      	Fixes bug #114416.
      378a6d3d
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation. · ba4f8014
      Kwok-Koon Cheung authored
      	* zh_TW.po: Updated traditional Chinese translation.
      ba4f8014
    • Kwok-Koon Cheung's avatar
      46cd5b6b
  3. 04 Jun, 2003 10 commits
    • Sven Neumann's avatar
      added VOID: ENUM, BOXED, INT. · b108d702
      Sven Neumann authored
      2003-06-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpmarshal.list: added VOID: ENUM, BOXED, INT.
      
      	* app/tools/gimpcolortool.[ch]: added a default implementation for
      	GimpColorTool::pick. Emit a "picked" signal when a color was
      	successfully picked.
      
      	* app/tools/gimpcolorpickertool.c: simplified a lot since
      	GimpColorTool does most of the work for us now.
      b108d702
    • Michael Natterer's avatar
      undraw the cursor on GDK_PROXIMITY_OUT. Always set shell->proximity to · a014c9d0
      Michael Natterer authored
      2003-06-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): undraw the cursor on
      	GDK_PROXIMITY_OUT. Always set shell->proximity to FALSE *before*
      	calling gimp_display_shell_update_cursor().
      a014c9d0
    • Sven Neumann's avatar
      use a font selection widget (bug #113884). · 59c91cb3
      Sven Neumann authored
      2003-06-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/film.c: use a font selection widget (bug #113884).
      59c91cb3
    • Sven Neumann's avatar
      reordered arguments. · 9d2cc5f8
      Sven Neumann authored
      2003-06-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-pick-color.[ch]: reordered arguments.
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimppainttool.c: changed accordingly.
      9d2cc5f8
    • Michael Natterer's avatar
      moved the "Reset" button to the "Advanced" page since it only resets this · 99e7fe03
      Michael Natterer authored
      2003-06-04  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/film/film.c: moved the "Reset" button to the "Advanced"
      	page since it only resets this page. Fixed widget packing and
      	spacing. Added more stock icons and mnemonics. Cleanup.
      99e7fe03
    • Sven Neumann's avatar
      app/tools/Makefile.am app/tools/gimpcoloroptions.[ch] new files that · 737bf44e
      Sven Neumann authored
      2003-06-04  Sven Neumann  <sven@gimp.org>
      
              * app/tools/Makefile.am
              * app/tools/gimpcoloroptions.[ch]
              * app/tools/gimpcolortool.[ch]: new files that implement base
              classes moved out of GimpColorPickerOptions and GimpColorPickerTool.
      
              * app/tools/gimpcolorpickeroptions.[ch]
              * app/tools/gimpcolorpickertool.[ch]: derive from the new obejcts.
      
              * app/tools/gimpimagemaptool.h
              * app/tools/gimppainttool.c
              * app/tools/tools-types.h: moved typedefs into the types file.
      737bf44e
    • Michael Natterer's avatar
      call gimp_display_shell_scale_setup() instead of · 909325ee
      Michael Natterer authored
      2003-06-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
      	call gimp_display_shell_scale_setup() instead of
      	gimp_display_shell_shrink_wrap() so window size, zoom factor and
      	scroll offsets are preserved across File->Revert if possible.
      	Fixes bug #114383.
      909325ee
    • Sven Neumann's avatar
      applied a patch from Wolfgang Hofer that makes the plug-in use · d195b74c
      Sven Neumann authored
      2003-06-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/xjt/xjt.c: applied a patch from Wolfgang Hofer that
      	makes the plug-in use locale-independant code to convert floats to
      	strings and back.
      d195b74c
    • Jan Morén's avatar
      Updated Swedish translation. · 92d1afc8
      Jan Morén authored
      2003-06-04  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      92d1afc8
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation. · 2c6f8b48
      Kwok-Koon Cheung authored
      	* zh_TW.po: Updated traditional Chinese translation.
      2c6f8b48
  4. 03 Jun, 2003 5 commits
    • Sven Neumann's avatar
      need to get ascent and descent from a PangoLayoutLine. Report negative · 7d969021
      Sven Neumann authored
      2003-06-03  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext-compat.c (text_get_extents): need to get
      	ascent and descent from a PangoLayoutLine. Report negative descent
      	so the function behaves like it used to in 1.2.
      7d969021
    • Jakub Steiner's avatar
      themes/Default/images/stock-path-16.png · 1a37cd6e
      Jakub Steiner authored
      2003-06-03  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/stock-path-16.png
      * themes/Default/images/stock-path-22.png
      * themes/Default/images/stock-paths-16.png
      * themes/Default/images/stock-paths-22.png: make distinct
      1a37cd6e
    • Michael Natterer's avatar
      fixed offset calculation for 90 and 270 degree rotations. · 0c3ff3b0
      Michael Natterer authored
      2003-06-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate_item_offset):
      	fixed offset calculation for 90 and 270 degree rotations.
      
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c: increase the progress also when
      	transforming the selection. Makes the progress appear more
      	continuous. Also clened up and simplified the progress code
      	in all files.
      
      	* app/core/gimpimage-resize.[ch]: added a progress like in the
      	files above.
      
      	* app/gui/image-commands.c (image_resize_callback): changed
      	accordingly.
      
      	(image_scale_implement): clened up and simplified a lot.
      
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* app/pdb/image_cmds.c: regenerated.
      0c3ff3b0
    • Adam D. Moss's avatar
      When initializing the LZW state, watch out for a completely bogus · cac290d0
      Adam D. Moss authored
      
      	* plug-ins/common/gifload.c: When initializing the LZW state,
      	watch out for a completely bogus input_code_size [based on fix
      	by Raphael Quinet]  Also, fix a stupid old bug when clearing the
      	code table between subimages.  (Enables us to deal better with errors
      	when the stream is corrupted pretty early in a subimage.) [me]
      cac290d0
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation. · eed76885
      Kwok-Koon Cheung authored
      	* zh_TW.po: Updated traditional Chinese translation.
      eed76885
  5. 02 Jun, 2003 6 commits
    • Sven Neumann's avatar
      libgimpwidgets/libgimpwidgets-sections.txt added path and selection icons. · 4990c065
      Sven Neumann authored
      2003-06-03  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml: added path and selection
      	icons.
      4990c065
    • Sven Neumann's avatar
      app/widgets/gimpvectorstreeview.h moved function definitions to the · 46d726d0
      Sven Neumann authored
      2003-06-02  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpvectorstreeview.h
      	* app/widgets/widgets-types.h: moved function definitions to the
      	widgets-types header file.
      
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpselectioneditor.[ch]: added a "Selection to
      	Path" button as suggested in bug #112448.
      46d726d0
    • Michael Natterer's avatar
      make sure channels end up at (0, 0) after scaling and resizing. Fixes bug · 2d90edbc
      Michael Natterer authored
      2003-06-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.c (gimp_channel_scale, resize): make sure
      	channels end up at (0, 0) after scaling and resizing.
      	Fixes bug #114213.
      2d90edbc
    • Michael Natterer's avatar
      Implemented DISSOLVE_MODE the way it should have always been. Fixes bug · 1871d9cc
      Michael Natterer authored
      2003-06-02  Michael Natterer  <mitch@gimp.org>
      
      	Implemented DISSOLVE_MODE the way it should have always been.
      	Fixes bug #107402.
      
      	* app/paint-funcs-generic.h (struct apply_layer_mode_struct): added
      	"guchar *mask" so it can be used by the layer mode.
      
      	(dissolve_pixels): take an additional "mask" parameter and
      	dissolve the pixels according to the *combined* opacity of the
      	pixel's alpha, the opacity and the mask. Removed a wrong comment
      	about why we call g_rand_int() x times before we start to use its
      	values.
      
      	(layer_dissolve_mode): pass the mask to dissolve_pixels(). No need
      	to call add_alpha_pixels() since we overwrite the dest buffer
      	entirely in disolve_pixels().
      
      	* app/paint-funcs.c (initial_sub_region, combine_sub_region):
      	allocate the buffer large enough for DISSOLVE (which always needs
      	an alpha channel). Pass the mask to the layer mode functions.
      	Discard opacity and mask after applying DISSOLVE since it
      	"consumes" all transparency.
      1871d9cc
    • Sven Neumann's avatar
      Shut up CVS. · f155bb6b
      Sven Neumann authored
      f155bb6b
    • Sven Neumann's avatar
      fixed swapped horizontal/vertical parameters (bug #114225). Always update · 5bcf2598
      Sven Neumann authored
      2003-06-02  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/grid.c: fixed swapped horizontal/vertical
      	parameters (bug #114225). Always update the preview as soon as a
      	grid parameter is changed.
      5bcf2598
  6. 31 May, 2003 5 commits