1. 28 Jun, 2004 14 commits
    • Michael Natterer's avatar
      fix typo in last commit. · d61cc35e
      Michael Natterer authored
      d61cc35e
    • Michael Natterer's avatar
      added new function gimp_get_mod_string() which takes a GdkModifierType and · 6cd57372
      Michael Natterer authored
      2004-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added new function
      	gimp_get_mod_string() which takes a GdkModifierType and returns
      	correctly formated strings for all shift,control,alt combinations.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c: use the new function instead
      	of gimp_get_mod_name_shift(),control(),alt(),separator(). This
      	kindof addresses the issue of configurable modifier keys but is
      	actually indended to ease translation of format strings ("%s" is
      	easier to get right than "%s%s%s").
      6cd57372
    • Michael Natterer's avatar
      Allow all sorts of things to be dropped on or in between the items of a · 6a5e68c9
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	Allow all sorts of things to be dropped on or in between the
      	items of a GimpContainerTreeView:
      
      	* app/widgets/gimpcontainertreeview.[ch]: added more parameters to
      	GimpContainerTreeView::drop_possible() to specify where ecactly
      	the drop should take place (between or into items) and to support
      	dropping all sorts of things.
      
      	Renamed ::drop() to ::drop_viewable() and added ::drop_color(),
      	::drop_files() and ::drop_svg(), which cover all possible drop
      	types.
      
      	* app/widgets/gimpcontainertreeview-dnd.[ch]: changed accordingly.
      	Dispatch all kinds of drops to the resp. virtual functions.
      
      	* app/widgets/gimpitemtreeview.c: changed accordingly.
      
      	* app/widgets/gimplayertreeview.c: allow to drop URIs, colors
      	and patterns to the layers dialog. Fixes bugs #119506 and #139246.
      6a5e68c9
    • Michael Natterer's avatar
      new utility function which opens an image, flattens it if needed and · c5c63f31
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-open.[ch] (file_open_layer): new utility function
      	which opens an image, flattens it if needed and returns the only
      	layer, converted for a passed destination image.
      
      	* app/display/gimpdisplayshell-dnd.c
      	(gimp_display_shell_drop_files): use the new function.
      c5c63f31
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files containing the code which · 667de3c9
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpselectiondata.[ch]: new files containing the
      	code which encodes/decodes all sorts of stuff to/from its
      	GtkSelectionData representation. Used to live in gimpdnd.c
      
      	* app/widgets/gimpdnd.c: use the new functions (unclutters the
      	file quite a bit), converted tabs to spaces.
      667de3c9
    • Michael Natterer's avatar
      #include "libgimpwidgets/gimpwidgets.h" · d45a6b23
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c:
      	#include "libgimpwidgets/gimpwidgets.h"
      d45a6b23
    • Michael Natterer's avatar
      Fixed bug #141930 while keeping bug #132322 fixed: · a2850f6d
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #141930 while keeping bug #132322 fixed:
      
      	* app/base/curves.c (curves_lut_func)
      	* app/base/levels.c (levels_lut_func): changed meaning of channel
      	slots for GRAYA images: just as for GRAY images, expect the value
      	channel in slot 0 and the alpha channel in slot 1, so it matches
      	the meaning of slots of GimpHistogram (before this change, only
      	GRAY images had their value in slot 0 and GRAYA images had it in
      	slot 1, whereas the histogram had the value channel in slot 0,
      	which was breaking auto levels for GRAYA images).
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* tools/pdbgen/pdb/color.pdb: adjusted channel fiddling for GRAY
      	and GRAYA images accordingly.
      
      	* app/tools/gimpcurvestool.c (curves_update)
      	* app/tools/gimplevelstool.c (levels_update): call
      	gimp_color_bar_set_buffers() with the right buffers.
      
      	* app/pdb/color_cmds.c: regenerated.
      a2850f6d
    • Sven Neumann's avatar
      select the standard tool. · b9c23cac
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/gui.c (gui_initialize_after_callback): select the
      	standard tool.
      
      	* app/tools/tool_manager.c: cosmetics.
      b9c23cac
    • Michael Natterer's avatar
      reverted fix for bug #141930. These hacks are there because the enum used · 3ec1647d
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimplevelstool.c: reverted fix for bug #141930. These
      	hacks are there because the enum used in levels doesn't match
      	the enum used by the combo box and the histogram widget.
      3ec1647d
    • Michael Natterer's avatar
      removed again (tools must not draw outside GimpDrawTool::draw()). · c1861260
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_tool_button_release):
      	removed again (tools must not draw outside GimpDrawTool::draw()).
      
      	(gimp_clone_tool_draw): removed check for gimp_draw_tool_is_active()
      	because the draw function would not be called if the draw tool was
      	inactive. Simplified check for whether or not to draw the src
      	location.
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_button_release):
      	pause/resume the draw tool across all button_release actions so
      	tools (clone) have a chance to draw different things depending on
      	gimp_tool_control_is_active(tool->control). Fixes bug #145022.
      c1861260
    • Sven Neumann's avatar
      added missing return value. · 33fb67bc
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/actions.c (action_select_object): added missing
      	return value.
      33fb67bc
    • Sven Neumann's avatar
      applied HIG rules to the GUI and slightly rearranged it to get a more · a0a77115
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/dog.c: applied HIG rules to the GUI and slightly
      	rearranged it to get a more compact layout. Applied GIMP coding style.
      a0a77115
    • Sven Neumann's avatar
      removed wrong note about using _gimp_tile_cache_flush_drawable() from the · dd7b550d
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpdrawable.c: removed wrong note about using
      	_gimp_tile_cache_flush_drawable() from the API docs.
      dd7b550d
    • Sven Neumann's avatar
      ifdef'ed out calls to _gimp_tile_cache_flush_drawable() since it can't be · 6d4d1d2f
      Sven Neumann authored
      2004-06-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/dog.c (dog): ifdef'ed out calls to
      	_gimp_tile_cache_flush_drawable() since it can't be used from a
      	plug-in. Removed trailing whitespace and redundant includes.
      
      	* libgimp/gimp.def: removed _gimp_tile_cache_flush_drawable again.
      6d4d1d2f
  2. 27 Jun, 2004 4 commits
  3. 26 Jun, 2004 5 commits
  4. 25 Jun, 2004 5 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 48095ce3
      William Skaggs authored
      	* plug-ins/common/dog.c: added Difference of Gaussians edge
      	detect plug-in.
      
      	* plug-ins/common/plugin-defs.pl:
      	* plug-ins/common/Makefile.am: added dog and regenerated
      	Makefile.
      48095ce3
    • Michael Natterer's avatar
      added GIMP_ACTION_SELECT_SET actions which set a generated brush's · fe14fa1d
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/context-actions.c: added GIMP_ACTION_SELECT_SET
      	actions which set a generated brush's properties directly.
      
      	* app/actions/context-commands.c: adjust the range of possible
      	brush radius and aspect_ratio values to be actually usable.
      fe14fa1d
    • Michael Natterer's avatar
      reordered parameters and members to be consistent with other places where · 140d3d5c
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated.[ch]: reordered parameters and
      	members to be consistent with other places where generated
      	brushes are used. Check for errors when loading a brush and
      	utf8-validate its name. Cleanup.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c: cleanup.
      140d3d5c
    • Michael Natterer's avatar
      work around GTK+ bug #143270 (set the cursor on the selected model path · 397626fc
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): work around
      	GTK+ bug #143270 (set the cursor on the selected model path
      	instead of selecting the iter in the selection). Fixes random
      	theme switching when selecting the "Theme" page.
      397626fc
    • Michael Natterer's avatar
      added properties for all brush parameters. · 23c068bc
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated.c: added properties for all brush
      	parameters.
      
      	* app/widgets/gimpbrusheditor.c: listen to property changes of the
      	edited brush and update the scales accordingly.
      23c068bc
  5. 24 Jun, 2004 11 commits
    • Michael Natterer's avatar
      more work on the controller page, made integer controller properties · 6d864c43
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/preferences-dialog.c: more work on the controller page,
      	made integer controller properties editable.
      
      	* modules/controller_midi.c: allow to specify the MIDI channel to
      	generate events from. Default to -1 (all channels).
      6d864c43
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 5fe683a5
      William Skaggs authored
      	* plug-ins/gfig/gfig.[ch]:
      	* plug-ins/gfig/gfig-preview.c: Let gfig use a thumbnail of the
      	image as background for its preview, if the image is RGB and "Show
      	image" is checked in the Options tab.  (Next best thing to
      	previewing in the image.)
      5fe683a5
    • Michael Natterer's avatar
      added a boolean property "debug-events" and honor it when printing · 488ac69d
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontrollerinfo.[ch]: added a boolean property
      	"debug-events" and honor it when printing debugging output.
      	Should add an event console window so the user doesn't need to
      	have a terminal to inspect input module output.
      
      	* app/gui/prefereces-dialog.c: HIGified some forgotten labels.
      	Renamed the "Pointer Movement Feedback" frame to "Mouse Cursors".
      	Replaced some forgotten "Dir" with "Folder".
      	Made more GimpControllerInfo and GimpController properties
      	editable and cleaned up the controller page.
      488ac69d
    • Michael Natterer's avatar
      added gimp_prop_label_new(). · f0fcfaab
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_label_new().
      
      	* app/widgets/gimpgrideditor.c: HIGified capitalization.
      f0fcfaab
    • Michael Natterer's avatar
      modules/controller_linux_input.c remember the source ID returned by · 6a42a719
      Michael Natterer authored
      2004-06-25  Michael Natterer  <mitch@gimp.org>
      
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: remember the source ID returned by
      	g_io_add_watch() and remove it when changing the device, so the
      	file descritor gets actually closed. Minor cleanups.
      6a42a719
    • Michael Natterer's avatar
      renamed function gimp_controller_wheel_scrolled() to · 11dfbae2
      Michael Natterer authored
      2004-06-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontrollerwheel.[ch]: renamed function
      	gimp_controller_wheel_scrolled() to
      	gimp_controller_wheel_scroll().
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): changed accordingly.
      11dfbae2
    • Michael Natterer's avatar
      fix typo in wheel controller mapping. · c0aa8fee
      Michael Natterer authored
      2004-06-24  Michael Natterer  <mitch@gimp.org>
      
      	* etc/controllerrc: fix typo in wheel controller mapping.
      c0aa8fee
    • Michael Natterer's avatar
      app/tools/gimptool.[ch] added boolean return value to · 02b91f66
      Michael Natterer authored
      2004-06-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]
      	* app/tools/tool_manager.[ch]: added boolean return value to
      	GimpTool::key_press() which indicates if the event was handled.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.[ch]
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c: return TRUE if the key event was handled.
      
      	* app/tools/gimppainttool.c: removed key_press() implementation.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontrollerkeyboard.[ch]: new controller class
      	which takes GdkEventKey and emits controller events for all
      	combinations of modifiers and cursor keys.
      
      	* app/widgets/gimpcontrollers.[ch]: added new function
      	gimp_controllers_get_keyboard().
      
      	* app/display/gimpdisplayshell-callbacks.c: if a key event was not
      	handled by the active tool, dispatch it to the keyboard controller.
      
      	* etc/controllerrc: add a keyboard controller which is configured
      	to do the same as the removed gimp_paint_tool_key_press().
      02b91f66
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · ffe9ac07
      William Skaggs authored
      	* libgimp/gimpdrawable.c:  added some documentation for
      	a few important functions with no API docs.
      ffe9ac07
    • Sven Neumann's avatar
      Made 2.1.1 release. · 569765d7
      Sven Neumann authored
      2004-06-24  Sven Neumann  <sven@gimp.org>
      
              * Made 2.1.1 release.
      569765d7
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 4ac084a6
      William Skaggs authored
      	* app/actions/file-commands.c: make "Revert" only ask for
      	confirmation if image is dirty.  Fixes bug #141971.
      4ac084a6
  6. 23 Jun, 2004 1 commit