1. 11 May, 2005 4 commits
    • Michael Natterer's avatar
      Some dock refactoring which separates the docking logic from active image · 1f1305c3
      Michael Natterer authored
      2005-05-11  Michael Natterer  <mitch@gimp.org>
      
      	Some dock refactoring which separates the docking logic from
      	active image and UI manager stuff:
      
      	* app/widgets/gimpmenudock.[ch]: new widget renamed from
      	GimpImageDock, zero changes except the name change.
      
      	* app/widgets/gimpimagedock.[ch]: new widget derived from
      	GimpDock. Keeps the UI manager.
      
      	* app/widgets/gimpdock.[ch]: removed the UI manager. GimpDock only
      	contains the basic docking logic again.
      
      	* app/widgets/gimpmenudock.[ch]
      	* app/widgets/gimptoolbox.[ch]: derive them from GimpImageDock.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/actions/dialogs-commands.c
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.c
      	* app/actions/dockable-commands.c
      	* app/dialogs/dialogs-constructors.c: changed accordingly.
      1f1305c3
    • Sven Neumann's avatar
      also zoom on mouse position if the event originates from the canvas (see · 5c4278d0
      Sven Neumann authored
      2005-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
      	also zoom on mouse position if the event originates from the canvas
      	(see bug #79384).
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): replaced a g_warning()
      	with g_return_if_fail().
      5c4278d0
    • Simon Budig's avatar
      reset the vector tool to Design mode whenever a new vectors object gets · 9ddc6caf
      Simon Budig authored
      2005-05-11  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.c: reset the vector tool to Design
      	mode whenever a new vectors object gets connected to the tool.
      
      	Attempt to fix #300663, please report there if you like / dislike
      	the new behaviour.
      9ddc6caf
    • Sven Neumann's avatar
      return silently instead of warning if the window hasn't been realized. · 7d8063da
      Sven Neumann authored
      2005-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
      	return silently instead of warning if the window hasn't been
      	realized. This happens as part of the setup process if
      	"resize-windows-on-zoom" is selected in the prefs.
      7d8063da
  2. 10 May, 2005 3 commits
    • Michael Natterer's avatar
      added API to set an event snooper which, if set, receives any controller · a98adfd8
      Michael Natterer authored
      2005-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontrollerinfo.[ch]: added API to set an event
      	snooper which, if set, receives any controller event first, even
      	if event dispatching is disabled for the controller.
      
      	* app/widgets/gimpcontrollereditor.[ch]: use the new API to
      	implement a "Grab Event" button, which takes the next event from
      	the controller and selects it in the event mapping tree view.
      a98adfd8
    • Michael Natterer's avatar
      some more stuff: up/down buttons, remember the dialogs' size and · 66ce4f85
      Michael Natterer authored
      2005-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontrollerlist.[ch]: some more stuff: up/down
      	buttons, remember the dialogs' size and positions, misc stuff.
      
      	* app/widgets/gimpcontrollereditor.c
      	(gimp_controller_editor_edit_clicked): use a GimpViewableDialog
      	now that GimpControllerInfo is a GimpViewable.
      
      	* app/dialogs/dialogs.c: added a foreign entry for the controller
      	editor dialog. Allow the controller editors and its event mapping
      	dialogs to exist multiple times.
      
      	* app/dialogs/preferences-dialog.c (prefs_notebook_append_page):
      	create the pages' event boxes with input-only windows.
      66ce4f85
    • Helvetix Victorinox's avatar
      Repaired a latent bug in gimp_composite_lighten_rgba8_rgba8_rgba8_sse2 · 32ca225a
      Helvetix Victorinox authored
      * app/composite/gimp-composite-sse2.c: Repaired a latent bug in
      gimp_composite_lighten_rgba8_rgba8_rgba8_sse2 where setting up
      the alpha masks were not done correctly.  A redundant (better?)
      fix to bug #164061
      
      Use movntq instructions to avoid processor cache pollution.
      
      Some adjustments to register allocation specifications.
      32ca225a
  3. 09 May, 2005 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new widget which · 92ad7c1d
      Michael Natterer authored
      2005-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontrollerlist.[ch]: new widget which allows
      	adding/removing controllers using two lists of available/active
      	controllers. Work in progress...
      
      	* app/widgets/gimpcontrollerinfo.[ch]: derive it from GimpVieable
      	so it can have an icon (unfinished). Added convenience constructor
      	gimp_controller_info_new().
      
      	* app/dialogs/preferences-dialog.c: use a GimpControllerList
      	instead of a notebook of GimpControllerEditors.
      92ad7c1d
  4. 08 May, 2005 4 commits
  5. 07 May, 2005 10 commits
  6. 06 May, 2005 5 commits
    • Sven Neumann's avatar
      app/actions/layers-actions.c app/core/gimpimage.c · 2a08c79b
      Sven Neumann authored
      2005-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/core/gimpimage.c (gimp_image_position_layer)
      	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_drop_possible):
      	drop the limitation that layers not at the bottom of the stack
      	have to have an alpha channel. Allow the user to move the
      	background layer up in the stack or reposition it using DND.
      
      	* tips/gimp-tips.xml.in: changed the relevant tip and some more.
      2a08c79b
    • Sven Neumann's avatar
      removed redundant casts. · 7be65c2d
      Sven Neumann authored
      2005-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-merge.c: removed redundant casts.
      7be65c2d
    • Michael Natterer's avatar
      added enum for the "load_color" actions. · b4f94205
      Michael Natterer authored
      2005-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/gradient-editor-commands.h: added enum for the
      	"load_color" actions.
      
      	* app/actions/gradient-editor-actions.c
      	* app/actions/gradient-editor-commands.c: use the new enum instead
      	of magic values, cleanup.
      
      	* app/actions/palette-editor-commands.c: cleanup.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpdataeditor.c: cleanup.
      
      	* app/widgets/gimpgradienteditor.c: added GtkObject::destroy() and
      	GtkWidget::unmap() implementations which destroy the color dialog.
      	Destroy color dialogs by cancelling them via gtk_dialog_response(),
      	so temporarily changed colors are restored correctly. Refactored
      	my last commit below a bit. Various cleanups.
      
      	* app/widgets/gimppaletteeditor.[ch]: no need to remember the
      	buttons in the GimpPaletteEditor struct.
      b4f94205
    • Sven Neumann's avatar
      abort early if the values are all setup already. Fixes bug #164281. · f3c0a28d
      Sven Neumann authored
      2005-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_by_values): abort early if the values are
      	all setup already. Fixes bug #164281.
      f3c0a28d
    • Sven Neumann's avatar
      applied a patch from Joao S. O. Bueno Calligaris that changes the SSE2 · 260bf6e8
      Sven Neumann authored
      2005-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite-sse2.c
      	(gimp_composite_lighten_rgba8_rgba8_rgba8_sse2): applied a patch
      	from Joao S. O. Bueno Calligaris that changes the SSE2 code to
      	load the proper register. Fixes bug #164061.
      260bf6e8
  7. 05 May, 2005 1 commit
    • Michael Natterer's avatar
      changed handle colors to be always black and white. Fixes bug #303118. · c15742da
      Michael Natterer authored
      2005-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpgradienteditor.c (control_draw)
      	(control_draw_normal_handle)
      	(control_draw_middle_handle): changed handle colors to be always
      	black and white. Fixes bug #303118. Also changed the handle bar's
      	background and the handles' outlines to theme colors which should
      	make the handles distinguishable from the background for all
      	themes.
      
      	Various unrelated cleanups.
      c15742da
  8. 04 May, 2005 2 commits
    • Michael Natterer's avatar
      new function which finds a proc_def in a GSList by its procedure name. · 4f2e5afc
      Michael Natterer authored
      2005-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc-def.[ch] (plug_in_proc_def_find): new
      	function which finds a proc_def in a GSList by its procedure name.
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* tools/pdbgen/pdb/plug_in.pdb: use it instead of iterating and
      	comparing manually.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      	* app/plug-in/plug-in-def.c: minor cleanups.
      4f2e5afc
    • Sven Neumann's avatar
      emit "color-clicked" on first click. · 33a06ab5
      Sven Neumann authored
      2005-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfgbgeditor.c (gimp_fg_bg_editor_button_press):
      	emit "color-clicked" on first click.
      
      	* app/widgets/gimptoolbox.c: changed tooltip accordingly.
      33a06ab5
  9. 03 May, 2005 2 commits
    • Michael Natterer's avatar
      new function. · e103a880
      Michael Natterer authored
      2005-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc-def.[ch] (plug_in_proc_def_set_icon):
      	new function.
      
      	* tools/pdbgen/pdb/plug_in.pdb: removed the same code here and use
      	the new function.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      e103a880
    • Michael Natterer's avatar
      include the parent class, not gimpeditor.h · 3184148c
      Michael Natterer authored
      2005-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolordisplayeditor.h: include the parent class,
      	not gimpeditor.h
      
      	* app/widgets/gimpcolordisplayeditor.c: include gimpeditor.h here
      3184148c
  10. 29 Apr, 2005 3 commits
  11. 28 Apr, 2005 4 commits
  12. 27 Apr, 2005 1 commit
    • Sven Neumann's avatar
      spare a few CPU cycles. · 5953d527
      Sven Neumann authored
      2005-04-28  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c: spare a few CPU cycles.
      5953d527