1. 11 May, 2008 2 commits
    • Michael Natterer's avatar
      small cleanup. · a0e6800c
      Michael Natterer authored
      2008-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpaction.c (gimp_action_set_proxy): small cleanup.
      
      
      svn path=/trunk/; revision=25634
      a0e6800c
    • Michael Natterer's avatar
      app/actions/windows-commands.[ch] app/actions/windows-actions.c add · 7d25d6e6
      Michael Natterer authored
      2008-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/windows-commands.[ch]
      	* app/actions/windows-actions.c
      	* app/menus/windows-menu.c: add dynamic actions and menu items for
      	all open docks. Present the dock when the menu item is selected.
      
      
      svn path=/trunk/; revision=25633
      7d25d6e6
  2. 10 May, 2008 26 commits
    • Martin Nordholts's avatar
      Active the tool control earlier. (gimp_rectangle_tool_synthesize_motion): · d9338124
      Martin Nordholts authored
      2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_button_press): Active the tool control
      	earlier.
      	(gimp_rectangle_tool_synthesize_motion): Bail out if the tool
      	control is active, we don't want to synthesize a motion in this
      	case as it emits unwanted rectangle-changed signals.
      
      svn path=/trunk/; revision=25630
      d9338124
    • Michael Natterer's avatar
      add signals "dock-added" and "dock-removed". · fb904ad1
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: add signals "dock-added" and
      	"dock-removed".
      
      	(gimp_dialog_factory_add_dialog)
      	(gimp_dialog_factory_remove_dialog): emit them when docks get
      	added and removed.
      
      
      svn path=/trunk/; revision=25629
      fb904ad1
    • Michael Natterer's avatar
      renamed the "Create New Dock" submenu to simply "Docks". Its contents are · 88d8cf3c
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/windows-actions.c: renamed the "Create New Dock"
      	submenu to simply "Docks". Its contents are about ti change soon.
      
      	* menus/image-menu.xml.in: changed accordingly. Added a "Docks"
      	placeholder inside and add the "show toolbox" menu item there.
      
      
      svn path=/trunk/; revision=25628
      88d8cf3c
    • Michael Natterer's avatar
      add boolean "append" property which makes gimp_container_add() append to · 71df1ab4
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplist.[ch]: add boolean "append" property which
      	makes gimp_container_add() append to the list instead of the
      	default prepend.
      
      	* app/core/gimp.c: create the display list with append = TRUE so
      	the images menu is in a proper order.
      
      
      svn path=/trunk/; revision=25627
      71df1ab4
    • Michael Natterer's avatar
      don't hide the empty images menu, use gimp_image_get_uri() instead of the · 6b0a5d8e
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/windows-actions.c: don't hide the empty images menu,
      	use gimp_image_get_uri() instead of the object's name.
      
      
      svn path=/trunk/; revision=25626
      6b0a5d8e
    • Michael Natterer's avatar
      fix parameter name. · 4717f727
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactiongroup.h: fix parameter name.
      
      
      svn path=/trunk/; revision=25625
      4717f727
    • David Odin's avatar
      plug-ins/flame/cmap.c plug-ins/flame/libifs.c cleaning (mostly code · 66f8261a
      David Odin authored
      * plug-ins/flame/cmap.c
      * plug-ins/flame/libifs.c
      * plug-ins/flame/rect.[ch]: cleaning (mostly code reformating and
        converting K&R style function declarations to ansi).
      * plug-ins/common/pcx.c: reformated as well.
      
      svn path=/trunk/; revision=25624
      66f8261a
    • Michael Natterer's avatar
      Start changing the "Dialogs" menu to "Windows", still incomplete. · b1a1da88
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Start changing the "Dialogs" menu to "Windows", still incomplete.
      	Addresses bug #309707.
      
      	* app/actions/Makefile.am
      	* app/actions/windows-actions.[ch]
      	* app/actions/windows-commands.[ch]: new files which currently
      	hold the "show toolbox" action and callback and new code which
      	maintains automatically generated actions for accessing (raising)
      	all open images.
      
      	* app/actions/actions.c: register the new "windows" action group.
      
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.[ch]: remove "show toolbox"
      	action and callback and also the action for the "Disalogs" menu.
      
      	* app/menus/Makefile.am
      	* app/menus/windows-menu.[ch]: new files which create and destroy
      	the menu items for the image window actions.
      
      	* app/menus/menus.c: register the "windows" action group with
      	all UI managers that have the "dialogs" action group.
      
      	* app/menus/image-menu.c (image_menu_setup): call
      	windows_menu_setup().
      
      	* app/gui/gui.c: s/dialogs_show_toolbox/windows_show_toolbox/g
      
      	* menus/image-menu.xml.in: some minor s/dialogs/windows/
      	and add the "Images" submenu.
      
      
      svn path=/trunk/; revision=25623
      b1a1da88
    • Michael Natterer's avatar
      emit notify::image. · dc62afec
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay.c (gimp_display_set_image): emit
      	notify::image.
      
      
      svn path=/trunk/; revision=25622
      dc62afec
    • Martin Nordholts's avatar
      Fix annoying typo in my previous ChangeLog entry · a1d14475
      Martin Nordholts authored
      svn path=/trunk/; revision=25620
      a1d14475
    • Martin Nordholts's avatar
      Don't forget updating the default apsect ratio when cancelling a rectangle · e6beb593
      Martin Nordholts authored
      2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangleselecttool.c
      	(gimp_rectangle_select_tool_cancel): Don't forget updating the
      	default apsect ratio when cancelling a rectangle select.
      
      svn path=/trunk/; revision=25619
      e6beb593
    • Sven Neumann's avatar
      rerender the text layer as suggested in bug #532078. · 9f582ed6
      Sven Neumann authored
      2008-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c (gimp_text_tool_confirm_response):
      	rerender the text layer as suggested in bug #532078.
      	(gimp_text_tool_confirm_dialog): minor dialog improvements.
      
      
      svn path=/trunk/; revision=25618
      9f582ed6
    • Sven Neumann's avatar
      removed trailing whitespace. · 5d8d0237
      Sven Neumann authored
      2008-05-10  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/flame/libifs.c: removed trailing whitespace.
      
      
      svn path=/trunk/; revision=25616
      5d8d0237
    • Sven Neumann's avatar
      formatting. · 93decd4d
      Sven Neumann authored
      2008-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpbrush-scale.c: formatting.
      
      
      svn path=/trunk/; revision=25615
      93decd4d
    • Sven Neumann's avatar
      reset the translation on the cairo context. Resurrects brush emblems which · 6859c9f6
      Sven Neumann authored
      2008-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_draw):
      	reset the translation on the cairo context. Resurrects brush
      	emblems which were drawn in the wrong position.
      
      	* app/widgets/gimpviewrendererbrush.c 
      (gimp_view_renderer_brush_draw):
      	formatting.
      
      
      svn path=/trunk/; revision=25614
      6859c9f6
    • Sven Neumann's avatar
      gtm.c was renamed to html-table.c. · e9625bc4
      Sven Neumann authored
      2008-05-10  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: gtm.c was renamed to html-table.c.
      
      	* de.po: updated German translation.
      
      
      svn path=/trunk/; revision=25613
      e9625bc4
    • Michael Natterer's avatar
      renamed... · 8d18f873
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/gtm.c: renamed...
      
      	* plug-ins/common/html-table.c: ...to this and cleaned it up.
      
      	* plugin-defs.pl: changed accordingly.
      	* Makefile.am: regenerated.
      
      
      svn path=/trunk/; revision=25612
      8d18f873
    • Manish Singh's avatar
      Support poppler 0.8.x. · e76b7916
      Manish Singh authored
      2008-05-10  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/poppler.c: Support poppler 0.8.x.
      
      svn path=/trunk/; revision=25611
      e76b7916
    • Martin Nordholts's avatar
      Don't forget updating the integer representation when reverting the · 05320b55
      Martin Nordholts authored
      2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_button_release): Don't forget updating the
      	integer representation when reverting the rectangle after
      	cancelling a rubber-banding.
      
      svn path=/trunk/; revision=25610
      05320b55
    • Martin Nordholts's avatar
      Update the tool options after a release; the rectangle might change if a · a535806b
      Martin Nordholts authored
      2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_button_release): Update the tool options
      	after a release; the rectangle might change if a rubber-banding is
      	cancelled.
      
      svn path=/trunk/; revision=25608
      a535806b
    • Sven Neumann's avatar
      don't reserve Delete for use by tools. Fixes bug #532116. · 9b7a4631
      Sven Neumann authored
      2008-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_events) 
      (gimp_display_shell_canvas_tool_events):
      	don't reserve Delete for use by tools. Fixes bug #532116.
      
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimptransformtool.c: don't use Delete (you can still
      	use the Backspace key to achieve the same).
      
      
      svn path=/trunk/; revision=25607
      9b7a4631
    • Manish Singh's avatar
      tweak the rules for rebuilding the parser files from lex/yacc source so · 00cd61d4
      Manish Singh authored
      2008-05-10  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the
              parser files from lex/yacc source so that they are explicit instead
              of potentially being run implicitly because the file dates are off.
      
      svn path=/trunk/; revision=25606
      00cd61d4
    • Michael Natterer's avatar
      add SHADOW_TILES log domain. · a37bce0d
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add SHADOW_TILES log domain.
      
      	* app/plug-in/gimpplugin-cleanup.c (gimp_plug_in_cleanup_item):
      	turn commented-out g_printerr() into a GIMP_LOG()
      
      
      svn path=/trunk/; revision=25605
      a37bce0d
    • Michael Natterer's avatar
      Applied modified patch from Alexia Death which adds velocity support to · 82c2616f
      Michael Natterer authored
      2008-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Applied modified patch from Alexia Death which adds velocity
      	support to paint tools in the spirit of the pressure support we
      	already have. Fixes bug #529431.
      
      	* app/display/gimpdisplayshell-coords.c
      	(gimp_display_shell_eval_event): tweak velocity calculation to
      	work in screen coordinates.
      
      	* app/paint/gimppaintoptions.[ch]: add velocity options in the
      	same way as there are pressure options. Add utility functions
      	which return dynamic opatity and dynamic rate according to the the
      	option's settings and some GimpCoords' pressure and velocity.
      
      	* app/tools/gimppaintoptions-gui.c: add GUI for the velocity
      	options.
      
      	* app/paint/gimpbrushcore.h: remove PRESSURE_SCALE define, it's
      	now in gimppaintoptions.h.
      
      	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
      	inerpolate velocity too.
      
      	(gimp_brush_core_calc_brush_scale): take velocity into account.
      
      	(gimp_brush_core_get_brush_mask): always pressurize the mask in
      	the GIMP_BRUSH_PRESSURE because there always is velocity (unlike
      	pressure which is only there on tablets).
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimpsmudge.c: get opacity and rate from the new paint
      	options utility functions which take both pressure and velocity
      	into account.
      
      	* app/paint/gimppaintbrush.c: take velocity into account when
      	calculating the gradient color offset.
      
      	* app/paint/gimpairbrush.c: do some additional fiddling with
      	velocity in the asynchronous airbrush timeout.
      
      	* app/paint/gimpairbrushoptions.c: override the velocity-size
      	property and have it default to FALSE.
      
      
      svn path=/trunk/; revision=25604
      82c2616f
    • Martin Nordholts's avatar
      Add a GimpRectangleTool::cancel() implementation that updates default · d6db9d52
      Martin Nordholts authored
      2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimpcroptool.c: Add a GimpRectangleTool::cancel()
      	implementation that updates default aspect ratio when cancelling a
      	crop.
      
      svn path=/trunk/; revision=25601
      d6db9d52
    • Martin Nordholts's avatar
      Add bug number (bug #532057) to my most recent ChangeLog entry. · 51e54464
      Martin Nordholts authored
      svn path=/trunk/; revision=25599
      51e54464
  3. 09 May, 2008 7 commits
  4. 08 May, 2008 5 commits
    • Simon Budig's avatar
      removed Libart usage, replaced with Cairo. Dashed strokes do not yet work · 5426c0c1
      Simon Budig authored
      2008-05-09  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: removed Libart usage,
      	  replaced with Cairo. Dashed strokes do not yet work again, will
      	  happen tomorrow. Also the blending modes need a second look at.
      
      	  Also removed deprecated API which made it unnecessarily complicated.
      
      	* app/tools/gimpiscissorstool.c: use the current API.
      
      	* app/core/Makefile.am
      	* app/Makefile.am
      	* configure.in: removed libart dependency, added cairo dependency
      	  where necessary.
      
      
      svn path=/trunk/; revision=25591
      5426c0c1
    • Michael Natterer's avatar
      don't call gtk_widget_grab_focus() here. · 7cdecd20
      Michael Natterer authored
      2008-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_events): don't call gtk_widget_grab_focus() here.
      
      	(gimp_display_shell_canvas_tool_events): call it here instead and
      	add comments about how BUTTON_PRESS and FOCUS_IN interact.
      
      	Also return TRUE from BUTTON_PRESS, BUTTON_RELEASE and
      	MOTION_NOTIFY.
      
      
      svn path=/trunk/; revision=25590
      7cdecd20
    • Sven Neumann's avatar
      themes/Default/gtkrc further shrink the status-bar widgets. · c6bede23
      Sven Neumann authored
      2008-05-08  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/gtkrc 
      	* themes/Small/gtkrc: further shrink the status-bar widgets.
      
      
      svn path=/trunk/; revision=25589
      c6bede23
    • Sven Neumann's avatar
      removed the entry's inner border to save some precious space in the · d4ac3ad0
      Sven Neumann authored
      2008-05-08  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpscalecombobox.c (gimp_scale_combo_box_init):
      	removed the entry's inner border to save some precious space in
      	the status-bar.
      
      
      svn path=/trunk/; revision=25588
      d4ac3ad0
    • Sven Neumann's avatar
      move the focus to the canvas on button-press events. · 7a8abc28
      Sven Neumann authored
      2008-05-08  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_events): move the focus to the canvas on
      	button-press events.
      
      	* app/widgets/gimpwindow.c (gimp_window_key_press_event): 
      removed
      	a use of G_UNLIKELY() that is somewhat bogus here.
      
      
      svn path=/trunk/; revision=25587
      7a8abc28