1. 05 Nov, 2007 7 commits
    • Sven Neumann's avatar
      don't bail out if the XFixes extension is not available. · a31cca0f
      Sven Neumann authored
      2007-11-05  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: don't bail out if the XFixes extension is not
      	available.
      
      
      svn path=/trunk/; revision=24067
      a31cca0f
    • Sven Neumann's avatar
      create a libgimp C wrapper for gimp-image-get-vectors-by-tattoo; this · 5c4d5416
      Sven Neumann authored
      2007-11-05  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: create a libgimp C wrapper for
      	gimp-image-get-vectors-by-tattoo; this function was accidentally
      	forgotten in the 2.4 libgimp API.
      
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=24066
      5c4d5416
    • Sven Neumann's avatar
      introduced macros to set a single pixel in a Cairo surface without having · c197362e
      Sven Neumann authored
      2007-11-05  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcairo-utils.h: introduced macros to set a 
      single
      	pixel in a Cairo surface without having to worry about 
      endianness.
      
      	* app/widgets/gimpcairo-utils.c
      	* app/widgets/gimpviewrenderer.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererpalette.c: use the new macros.
      
      
      svn path=/trunk/; revision=24065
      c197362e
    • Michael Natterer's avatar
      port to Cairo. · f164d4ba
      Michael Natterer authored
      2007-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcurveview.c (gimp_curve_view_expose): port to
      	Cairo.
      
      
      svn path=/trunk/; revision=24064
      f164d4ba
    • Michael Natterer's avatar
      don't recalculate the curve if the data object is frozen. Recalculate on · 21b3675e
      Michael Natterer authored
      2007-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.[ch]: don't recalculate the curve if the data
      	object is frozen. Recalculate on thaw instead. Made
      	gimp_curve_calculate() private and emit some GimpData::dirty
      	signals where appropriate.
      
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpcurveview.c
      	* tools/pdbgen/pdb/color.pdb: changed accodingly (connect to "dirty"
      	instead of "notify" and added some freeze/thaw where approproate).
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24063
      21b3675e
    • Sven Neumann's avatar
      update the drawable, not the image. This change was missing in the fix for · 2f77a15f
      Sven Neumann authored
      2007-11-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagemap.c (gimp_image_map_clear): update the
      	drawable, not the image. This change was missing in the fix for
      	bug #490182. Fixes bug #493639.
      
      
      svn path=/trunk/; revision=24061
      2f77a15f
    • Michael Natterer's avatar
      added event handling and completely edit the curve here. · 2d827be2
      Michael Natterer authored
      2007-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcurveview.[ch]: added event handling and
      	completely edit the curve here.
      
      	* app/tools/gimpcurvestool.[ch]: remove all event handling and
      	curve editing code and only listen to curve signals.
      
      
      svn path=/trunk/; revision=24060
      2d827be2
  2. 04 Nov, 2007 11 commits
    • Martin Nordholts's avatar
      Do not do shell darkening while GimpRectangleTool rectangles are being · a07756d8
      Martin Nordholts authored
      2007-11-04  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Do not do shell darkening while GimpRectangleTool rectangles are
      	being rubber-banded.
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_button_press)
      	(gimp_rectangle_tool_button_release): Maintain a variable keeping
      	track of if the rectangle is being rubber banded or not.
      	(gimp_rectangle_tool_update_highlight): Do not set a shell
      	highligt if the rectangle is being rubber-banded.
      	(gimp_rectangle_tool_rubber_banding_func): New helper function.
      
      svn path=/trunk/; revision=24059
      a07756d8
    • Sven Neumann's avatar
      implement GimpViewRenderer::draw and draw the overlays with Cairo. · f6994c34
      Sven Neumann authored
      2007-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrendererbrush.c: implement
      	GimpViewRenderer::draw and draw the overlays with Cairo.
      
      	* app/widgets/gimpviewrenderer.[ch]
      	* app/widgets/gimpviewrenderervectors.c: minor cleanups.
      
      
      svn path=/trunk/; revision=24058
      f6994c34
    • Sven Neumann's avatar
      return an odd preview height to make the border align with the pixel grid. · 7218ee5d
      Sven Neumann authored
      	* app/core/gimppalette.c (gimp_palette_get_preview_size): return
      	an odd preview height to make the border align with the pixel 
      grid.
      
      
      svn path=/trunk/; revision=24057
      7218ee5d
    • Sven Neumann's avatar
      replaced the RGB buffer with a Cairo surface. · fa7e312a
      Sven Neumann authored
      2007-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrenderer.[ch]: replaced the RGB buffer 
      with
      	a Cairo surface.
      
      	* app/widgets/gimpviewrendererbuffer.c
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/widgets/gimpviewrendererpalette.c
      	* app/widgets/gimpviewrenderervectors.c: changed accordingly. 
      There
      	are some loose ends here that will be fixed over the next days.
      
      	* app/widgets/gimprender.c: removed gimp_render_temp_buf; it is
      	not any longer needed.
      
      	* app/core/gimpgradient.c (gimp_gradient_get_preview_size): 
      return
      	an odd preview height to make the border align with the pixel 
      grid.
      
      
      svn path=/trunk/; revision=24056
      fa7e312a
    • Sven Neumann's avatar
      minor cleanup. · 982ae0eb
      Sven Neumann authored
      2007-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimplevelstool.c (levels_input_area_event): minor 
      cleanup.
      
      
      svn path=/trunk/; revision=24055
      982ae0eb
    • Martin Nordholts's avatar
      Consistently use the name `rect_tool' instead of `rectangle' or · 587b350b
      Martin Nordholts authored
      2007-11-04  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c: Consistently use the name
      	`rect_tool' instead of `rectangle' or `rectangle_tool' for
      	pointers to GimpRectangleTool.
      
      svn path=/trunk/; revision=24054
      587b350b
    • Martin Nordholts's avatar
      Put GimpRectangleTool handles on the outside of the rectangle when it has · c902d7bc
      Martin Nordholts authored
      2007-11-04  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Put GimpRectangleTool handles on the outside of the rectangle when
      	it has a small width or height. Some polishing left to do but the
      	base functionality works nicely.
      
      	* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_corner): Add a
      	put_outside boolean parameter that if true draws the handles on
      	the outside of the rectangle.
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_update_handle_sizes)
      	(gimp_rectangle_tool_coord_on_handle)
      	(gimp_rectangle_tool_draw): Take into account if the rectangle is
      	in narrow-mode or not.
      
      svn path=/trunk/; revision=24053
      c902d7bc
    • Sven Neumann's avatar
      app/widgets/gimpgradienteditor.c use gdk_event_request_motions() to handle · 8f377f27
      Sven Neumann authored
      2007-11-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpnavigationview.c: use
      	gdk_event_request_motions() to handle motion hint events.
      
      
      svn path=/trunk/; revision=24052
      8f377f27
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GimpHistogramView · ae1f2eb2
      Michael Natterer authored
      2007-11-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcurveview.[ch]: new GimpHistogramView subclass
      	which does all the curve stuff.
      
      	* app/widgets/gimphistorgramview.[ch]: removed all curve code again.
      
      	* app/tools/gimpcurvestool.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24051
      ae1f2eb2
    • Sven Neumann's avatar
      libgimpwidgets/gimpcolorselect.c use gdk_event_request_motions() to handle · aabb94ec
      Sven Neumann authored
      2007-11-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimpscrolledpreview.c: use
      	gdk_event_request_motions() to handle motion hint events.
      
      
      svn path=/trunk/; revision=24050
      aabb94ec
    • Sven Neumann's avatar
      INSTALL bumped required version of GTK+ to 2.12.0. · 1504cfa9
      Sven Neumann authored
      2007-11-04  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* configure.in: bumped required version of GTK+ to 2.12.0.
      
      	* app/sanity.c (sanity_check_glib)
      	* app/gui/gui.c (gui_sanity_check): updated sanity checks. 
      
      
      svn path=/trunk/; revision=24049
      1504cfa9
  3. 03 Nov, 2007 1 commit
  4. 02 Nov, 2007 7 commits
    • Michael Natterer's avatar
      added API to set the selected point. · 6c64c64b
      Michael Natterer authored
      2007-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphistogramview.[ch]: added API to set the
      	selected point.
      
      	* app/tools/gimpcurvestool.c: use it.
      
      
      svn path=/trunk/; revision=24046
      6c64c64b
    • Michael Natterer's avatar
      added API to modify free-form curves and properties to listen to curve · e5927feb
      Michael Natterer authored
      2007-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.[ch]: added API to modify free-form curves
      	and properties to listen to curve changes.
      
      	* app/widgets/gimphistogramview.[ch]: added everything that's
      	needed for rendering a curve with all its color and cursor
      	indicators on top of a histogram. This code will move to a
      	subclass soon.
      
      	* app/tools/gimpcurvestool.[ch]: removed all curve rendering here.
      	Also removed all explicit updating by connecting to curve signals
      	and updating in the callback.
      
      
      svn path=/trunk/; revision=24045
      e5927feb
    • Sven Neumann's avatar
      moved function calls out of the loop · b572dec9
      Sven Neumann authored
      svn path=/trunk/; revision=24044
      b572dec9
    • Sven Neumann's avatar
      added utility function to create a Cairo surface from a GdkPixbuf. · a8cc4b0f
      Sven Neumann authored
      2007-11-02  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcairo-utils.[ch]: added utility function to create
      	a Cairo surface from a GdkPixbuf.
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_create_pattern):
      	use it from here.
      
      svn path=/trunk/; revision=24043
      a8cc4b0f
    • Sven Neumann's avatar
      formatting. · 4e06d302
      Sven Neumann authored
      2007-11-02  Sven Neumann  <sven@gimp.org>
      
      	* core/gimplist.h: formatting.
      
      
      svn path=/trunk/; revision=24042
      4e06d302
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h app/core/gimpcurve-save.[ch] · 5dd23ae1
      Michael Natterer authored
      2007-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpcurve-save.[ch]
      	* app/core/gimpcurve-load.[ch]
      	* app/core/gimpcurve.[ch]: new GimpData subclass which keeps a
      	curve as known from the curves tool. Pretty much unfinished, but
      	can do everything that used to be done by base/curves.c and more.
      
      	* app/base/curves.[ch]: stripped down to plain arrays of
      	uchar (the actual curve) and the LUT setup function. All the rest
      	is done by GimpCurve now.
      
      	* app/tools/gimpcurvestool.[ch]: use an array of GimpCurves
      	instead of the old Curves cruft. Use Curves only for the last step
      	of creating the LUT. Pretty much unfinished migration here too.
      
      	* tools/pdbgen/pdb/color.pdb: use a GimpCurve here too.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24041
      5dd23ae1
    • Sven Neumann's avatar
      also use the color's alpha channel. Added gtk-doc documentation. · 1edac757
      Sven Neumann authored
      2007-11-02  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcairo-utils.c (gimp_cairo_set_source_color):
      	also use the color's alpha channel. Added gtk-doc documentation.
      
      
      svn path=/trunk/; revision=24040
      1edac757
  5. 01 Nov, 2007 13 commits
    • Sven Neumann's avatar
      app/widgets/Makefile.am new files holding Cairo utility functions. · 734e02f1
      Sven Neumann authored
      2007-11-02  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcairo-utils.[ch]: new files holding Cairo
      	utility functions.
      
      	* app/widgets/gimpviewrenderer.[ch]: ported partly to Cairo 
      drawing.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainercombobox.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpview.c: removed calls to
      	gimp_view_renderer_unrealize() which are not needed anymore
      	because we don't allocate a GC in the renderer any longer.
      
      	* app/widgets/gimpcellrendererdashes.c: removed a redundant 
      cast.
      
      
      svn path=/trunk/; revision=24039
      734e02f1
    • Sven Neumann's avatar
      removed code that draws a diagonal line across a renderer without context. · efb2eb16
      Sven Neumann authored
      2007-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_draw):
      	removed code that draws a diagonal line across a renderer 
      without
      	context. Emit a warning instead; this shouldn't happen any 
      longer.
      
      
      svn path=/trunk/; revision=24038
      efb2eb16
    • Sven Neumann's avatar
      draw using Cairo. · b58562d5
      Sven Neumann authored
      2007-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdasheditor.c (gimp_dash_editor_expose): draw
      	using Cairo.
      
      
      svn path=/trunk/; revision=24037
      b58562d5
    • Sven Neumann's avatar
      combined drawing into a single fill · 00e77117
      Sven Neumann authored
      svn path=/trunk/; revision=24036
      00e77117
    • Sven Neumann's avatar
      draw using Cairo. · 2d01e5ba
      Sven Neumann authored
      2007-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcellrendererdashes.c
      	(gimp_cell_renderer_dashes_render): draw using Cairo.
      
      
      svn path=/trunk/; revision=24035
      2d01e5ba
    • Sven Neumann's avatar
      forgot to commit the ChangeLog for the hsv-graph.scm removal · 2fceee5d
      Sven Neumann authored
      svn path=/trunk/; revision=24034
      2fceee5d
    • Sven Neumann's avatar
      regenerated · 28dbead2
      Sven Neumann authored
      svn path=/trunk/; revision=24033
      28dbead2
    • Sven Neumann's avatar
      removed this script. Fixes bug #491311. · 9a740afc
      Sven Neumann authored
      2007-11-01  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/Makefile.am (scripts):
      	* plug-ins/script-fu/scripts/hsv-graph.scm: removed this script.
      	Fixes bug #491311.
      
      svn path=/trunk/; revision=24030
      9a740afc
    • Sven Neumann's avatar
      changed move cursor to GDK_HAND1 and switch to GDK_FLEUR while the mouse · 5226c660
      Sven Neumann authored
      2007-11-01  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpscrolledpreview.c: changed move cursor to
      	GDK_HAND1 and switch to GDK_FLEUR while the mouse button is down.
      
      svn path=/trunk/; revision=24029
      5226c660
    • Tor Lillqvist's avatar
      app/base/base-utils.c New files, with just one function so far, · fab5330d
      Tor Lillqvist authored
      2007-11-01  Tor Lillqvist  <tml@novell.com>
      
      	* app/base/base-utils.c
      	* app/base/base-utils.h: New files, with just one function so far,
      	get_number_of_processors(). Include implementation also for Win32.
      
      	* app/base/Makefile.am (libappbase_a_SOURCES): Add new files.
      
      	* app/config/gimpbaseconfig.c (gimp_base_config_class_init): Use
      	get_number_of_processors().
      
      
      svn path=/trunk/; revision=24028
      fab5330d
    • Gil Forcada Codinachs's avatar
      Updated Catalan translation by Joaquim Perez · 07ab51f8
      Gil Forcada Codinachs authored
      svn path=/trunk/; revision=24026
      07ab51f8
    • Manish Singh's avatar
      Actually remove regexrepl directory · 904ca805
      Manish Singh authored
      svn path=/trunk/; revision=24025
      904ca805
    • Manish Singh's avatar
      app/core/gimpcontainer-filter.c app/pdb/gimppdb-query.c replace usage of · a8fb4f0c
      Manish Singh authored
      2007-11-01  Manish Singh  <yosh@gimp.org>
      
              * app/core/gimpcontainer-filter.c
              * app/pdb/gimppdb-query.c
              * app/plug-in/gimppluginmanager-query.c: replace usage of POSIX
              regex API with GRegex.
      
              * configure.in: remove check for regex support in glibc.
      
              * app/Makefile.am
              * plug-ins/script-fu/Makefile.am: remove REGEXREPL references.
      
              * tools/pdbgen/app.pl: remove code that references HAVE_GLIBC_REGEX.
      
              * regexrepl/*
              * makefile.msc
              * Makefile.am: remove regexrepl directory.
      
      svn path=/trunk/; revision=24024
      a8fb4f0c
  6. 31 Oct, 2007 1 commit