1. 13 Nov, 2007 11 commits
    • Martin Nordholts's avatar
      Avoid GimpRectangleTool internals to make use of its public own interface · 25ebadcd
      Martin Nordholts authored
      2007-11-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Avoid GimpRectangleTool internals to make use of its public own
      	interface by making gimp_rectangle_tool_get_other_side() work on
      	pointers to members instead of GObject property names.
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_set_other_side_coord)
      	(gimp_rectangle_tool_get_other_side_coord): Use
      	gimp_rectangle_tool_get_other_side() in the new way.
      
      svn path=/trunk/; revision=24152
      25ebadcd
    • Martin Nordholts's avatar
      Fixed warnings about negative rectangle widths/heights when toggling · f211ed5b
      Martin Nordholts authored
      2007-11-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Fixed warnings about negative rectangle widths/heights when
      	toggling 'Fixed center' while rubber banding a rectangle.
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_set_other_side_coord): Finnishing off with a
      	call to gimp_rectangle_tool_check_function() as changing the
      	coordinates of the opposite side might swap the orientation of the
      	rectangle.
      
      svn path=/trunk/; revision=24151
      f211ed5b
    • Sven Neumann's avatar
      when we encounter an unsupported merge operation (merging an opaque · 5582efd6
      Sven Neumann authored
      2007-11-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-merge.c (gimp_image_merge_layers): when we
      	encounter an unsupported merge operation (merging an opaque
      	indexed layer onto an indexed layer with alpha channel), then 
      add
      	an alpha channel and try again. Fixes bug #496437.
      
      
      svn path=/trunk/; revision=24149
      5582efd6
    • Michael Natterer's avatar
      use cairo_save()/cairo_restore() around calling the virtual function · ac39ccfb
      Michael Natterer authored
      2007-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw): use
      	cairo_save()/cairo_restore() around calling the virtual function
      	instead of restoring the clipping area manually.
      
      
      svn path=/trunk/; revision=24148
      ac39ccfb
    • Michael Natterer's avatar
      naive port to Cairo. Somebody should check if this isn't better done with · 6bdca50d
      Michael Natterer authored
      2007-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewrenderervectors.c
      	(gimp_view_renderer_vectors_draw): naive port to Cairo. Somebody
      	should check if this isn't better done with proper curve_to()
      	drawing using the original vectors data instead of interpolation.
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw): reset
      	clipping before drawing the border because a subclass' draw()
      	might have done additional clipping.
      
      
      svn path=/trunk/; revision=24147
      6bdca50d
    • Tor Lillqvist's avatar
      Some cleanups, more coming. · 6a0e84fc
      Tor Lillqvist authored
      2007-11-13  Tor Lillqvist  <tml@novell.com>
      
      	* gimptool-win32.c.in: Some cleanups, more coming.
      
      
      svn path=/trunk/; revision=24146
      6a0e84fc
    • Tor Lillqvist's avatar
      Revert last change to Makefile.am, needs more hacking. · 8e78eba1
      Tor Lillqvist authored
      
      svn path=/trunk/; revision=24145
      8e78eba1
    • Sven Neumann's avatar
      Fix for bug #494049 (painting doesn't update the histogram): · efa6b2b8
      Sven Neumann authored
      2007-11-13  Sven Neumann  <sven@gimp.org>
      
      	Fix for bug #494049 (painting doesn't update the histogram):
      
      	* app/paint/gimppaintcore.c: freeze the drawable preview while we
      	are painting. Update the drawable instead of the image.
      
      	* app/widgets/gimphistogrameditor.c: use a short timeout instead
      	of an idle handler to update the histogram.
      
      svn path=/trunk/; revision=24143
      efa6b2b8
    • Tor Lillqvist's avatar
      Install the gimptool script only on Unix. Build and install the gimptool · 2eef7678
      Tor Lillqvist authored
      2007-11-13  Tor Lillqvist  <tml@novell.com>
      
      	* Makefile.am: Install the gimptool script only on Unix. Build and
      	install the gimptool executable on Windows.
      
      
      svn path=/trunk/; revision=24142
      2eef7678
    • Tor Lillqvist's avatar
      Drop the timestamp from the zip file names. Add the .pc files to the · 4156006c
      Tor Lillqvist authored
      2007-11-13  Tor Lillqvist  <tml@novell.com>
      
      	* gimp-zip.in: Drop the timestamp from the zip file names. Add the
      	.pc files to the developer package.
      
      
      svn path=/trunk/; revision=24141
      4156006c
    • Michael Natterer's avatar
      Enable brush scaling for smudge (but only before, not while painting). · 873cf2b5
      Michael Natterer authored
      2007-11-13  Michael Natterer  <mitch@gimp.org>
      
      	Enable brush scaling for smudge (but only before, not while
      	painting). Fixes bug #471348.
      
      	* app/paint/gimpbrushcore.[ch] (struct GimpBrushCoreClass): rename
      	member "use_scale" to "handles_scaling_brush".
      
      	(gimp_brush_core_calc_brush_scale): apply pressure scale only if
      	both "handles_scaling_brush" and "use_pressure" are TRUE, and
      	apply the scaling from the options unconditionally.
      
      	(gimp_brush_core_get_paint_area): don't re-fetch core->scale if
      	"handles_scaling_brush" is FALSE to keep the brush from scaling
      	*while* painting.
      
      	(gimp_brush_core_create_bound_segs): use the brush scale from the
      	options unconditionally since that's always used now.
      
      	* app/paint/gimpsmudge.c (gimp_smudge_brush_coords): use
      	gimp_brush_scale_size() to figure the accum_buffer's size instead
      	of using the brush mask's size directly.
      
      	* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): show
      	the brush scale controls for all brush tools.
      
      
      svn path=/trunk/; revision=24140
      873cf2b5
  2. 12 Nov, 2007 6 commits
  3. 11 Nov, 2007 9 commits
    • Kevin Cozens's avatar
      Return a list from cons-array when type is 'string. · b9c181bf
      Kevin Cozens authored
      2007-11-11  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* plug-ins/script-fu/scripts/script-fu-compat.init: Return a list
      	from cons-array when type is 'string.
      
      svn path=/trunk/; revision=24126
      b9c181bf
    • Marco Ciampa's avatar
      Updated italian translation. · 922f9b4e
      Marco Ciampa authored
      svn path=/trunk/; revision=24125
      922f9b4e
    • Duarte Loreto's avatar
      Updated Portuguese translation by Bruno Queiroz · 995f6ec0
      Duarte Loreto authored
      2007-11-11  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation by Bruno Queiroz
      	<brunoqueiros@portugalmail.com>.
      
      svn path=/trunk/; revision=24122
      995f6ec0
    • Duarte Loreto's avatar
      Updated Portuguese translation by Filipe Gomes <filipefgomes@gmail.com>. · 3eaf1e24
      Duarte Loreto authored
      2007-11-11  Duarte Loreto <happyguy_pt@hotmail.com>
      
      	* pt.po: Updated Portuguese translation by Filipe Gomes
      	<filipefgomes@gmail.com>.
      
      svn path=/trunk/; revision=24120
      3eaf1e24
    • Martin Nordholts's avatar
      Removed gimp_rectangle_tool_get_press_coords() as it doesn't make sense · 49e2670e
      Martin Nordholts authored
      2007-11-11  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.[ch]: Removed
      	gimp_rectangle_tool_get_press_coords() as it doesn't make sense
      	for a rectangle tool interface to provide this functionality.
      	Clients should take care of that themselves. Also adjusted
      	internal code accordingly.
      
      	* app/tools/gimprectangleselecttool.c: Remember the pressed
      	coordinates on _button_press instead of asking GimpRectangleTool
      	about it.
      
      svn path=/trunk/; revision=24119
      49e2670e
    • Michael Natterer's avatar
      depend on pango 1.18 · 222d3349
      Michael Natterer authored
      2007-11-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: depend on pango 1.18
      
      	* app/text/gimpfontlist.c (gimp_font_list_add_font): remove
      	workaround for old pango appending "Non-Rotated" to font names.
      
      
      svn path=/trunk/; revision=24118
      222d3349
    • Martin Nordholts's avatar
      Don't expose private instance members, use g_type_class_add_private() · 6087b866
      Martin Nordholts authored
      2007-11-11  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangleselecttool.[ch]: Don't expose private
      	instance members, use g_type_class_add_private() instead.
      
      svn path=/trunk/; revision=24117
      6087b866
    • Martin Nordholts's avatar
      Updated comments to reflect current behaviour. · 760edd17
      Martin Nordholts authored
      2007-11-11  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_update_with_coord): Updated comments to
      	reflect current behaviour.
      
      svn path=/trunk/; revision=24116
      760edd17
    • Martin Nordholts's avatar
      Lessen code bloat by removing code that manages center-[xy] properies of · e157ac06
      Martin Nordholts authored
      2007-11-11  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c: Lessen code bloat by removing
      	code that manages center-[xy] properies of GimpRectangleOptions.
      	Instead use x1, y1 and x2, y2 when working with the rectangle
      	center.
      
      	* app/tools/gimprectangleoptions.[ch]: Removed "center-x" and
      	"center-y" properties.
      
      svn path=/trunk/; revision=24115
      e157ac06
  4. 10 Nov, 2007 5 commits
    • Sven Neumann's avatar
      formatting. · c558c7ed
      Sven Neumann authored
      2007-11-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppageselector.c: formatting.
      
      
      svn path=/trunk/; revision=24114
      c558c7ed
    • Sven Neumann's avatar
      fixed incorrect tooltip (bug #495564). · 6a838438
      Sven Neumann authored
      2007-11-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c (view_zoom_explicit_actions): fixed
      	incorrect tooltip (bug #495564).
      
      	* app/dialogs/preferences-dialog.c 
      (prefs_display_options_frame_add):
      	adapt to the changed return value of 
      gimp_prop_enum_combo_box_new().
      
      
      svn path=/trunk/; revision=24113
      6a838438
    • Michael Natterer's avatar
      remove all sorts of workarounds for bugs of GtkFileChooserButton in GTK+ · 999c5c37
      Michael Natterer authored
      2007-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimppropwidgets.c
      	(gimp_prop_file_chooser_button_*): remove all sorts of workarounds
      	for bugs of GtkFileChooserButton in GTK+ versions prior to 2.12.
      
      
      svn path=/trunk/; revision=24111
      999c5c37
    • Michael Natterer's avatar
      remove event boxes that were only there for the old tooltips. · 11969bd4
      Michael Natterer authored
      2007-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimppropwidgets.c: remove event boxes that were
      	only there for the old tooltips.
      
      	* modules/cdisplay_lcms.c: ditto. Also remove some code that was
      	only needed because of the event box hack.
      
      
      svn path=/trunk/; revision=24110
      11969bd4
    • Michael Natterer's avatar
      app/tools/gimpairbrushtool.c (gimp_airbrush_tool_init) don't enable color · a9d29324
      Michael Natterer authored
      2007-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpairbrushtool.c (gimp_airbrush_tool_init)
      	* app/tools/gimppenciltool.c (gimp_pencil_tool_init): don't enable
      	color picking, it already gets enabled by the parent class.
      
      
      svn path=/trunk/; revision=24109
      a9d29324
  5. 09 Nov, 2007 9 commits