1. 12 Jun, 2007 2 commits
    • Sven Neumann's avatar
      eliminate calls to sqrt(). · 345f0070
      Sven Neumann authored
      2007-06-12  Sven Neumann  <sven@gimp.org>
      
      	* app/base/boundary.c (simplify_subdivide): eliminate calls to sqrt().
      
      svn path=/trunk/; revision=22764
      345f0070
    • Sven Neumann's avatar
      applied slightly modified patch from Eric Ross that adds support for · dfeaec08
      Sven Neumann authored
      2007-06-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/psd-load.c: applied slightly modified patch 
      from
      	Eric Ross that adds support for loading long layer names from 
      the
      	extra layer data section (bug #445316).
      
      
      svn path=/trunk/; revision=22763
      dfeaec08
  2. 11 Jun, 2007 11 commits
    • Sven Neumann's avatar
      Applied patch from Zbigniew Chyla that further improves the · 5d14b8d2
      Sven Neumann authored
      2007-06-11  Sven Neumann  <sven@gimp.org>
      
              Applied patch from Zbigniew Chyla that further improves the
              boundary_sort() performance (bug #388538):
      
              * base/boundary.c (cmp_xy): use "y" coordinate as more 
      significant
              one, i.e. compare (ay, ax) to (by, bx), not (ax, ay) to (bx, 
      by).
      
              * configure.in: bumped version to 2.3.19.
      
      
      svn path=/trunk/; revision=22762
      5d14b8d2
    • Sven Neumann's avatar
      Made 2.3.18 development release. · e83fe717
      Sven Neumann authored
      2007-06-11  Sven Neumann  <sven@gimp.org>
      
              * Made 2.3.18 development release.
      
      svn path=/trunk/; revision=22760
      e83fe717
    • Michael Schumacher's avatar
      if load_image fails, return GIMP_PDB_EXECUTION_ERROR · ae37e4e2
      Michael Schumacher authored
      2007-06-11  Michael Schumacher  <schumaml@cvs.gnome.org>
      
      	* plug-ins/common/raw.c (run): if load_image fails, return
      	GIMP_PDB_EXECUTION_ERROR 
      
      	* plug-ins/twain/twain.c (run): added missing ;
      
      svn path=/trunk/; revision=22759
      ae37e4e2
    • Sven Neumann's avatar
      initialize width and height to zero. Fixes bug #446005. · 13e518b1
      Sven Neumann authored
      2007-06-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrenderer.c (gimp_view_renderer_init):
      	initialize width and height to zero. Fixes bug #446005.
      
      
      svn path=/trunk/; revision=22757
      13e518b1
    • Sven Neumann's avatar
      don't disable image previews when layer previews are disabled. We do not · 54caf4fb
      Sven Neumann authored
      2007-06-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-preview.c: don't disable image previews 
      when
      	layer previews are disabled. We do not any longer create the 
      image
      	preview from the layer previews.
      
      	* app/core/gimpimagefile.c
      	* app/widgets/gimpthumbbox.c
      	* tools/pdbgen/pdb/image.pdb: thumbnail rendering is not any
      	longer disabled if layer previews are turned off.
      
      	* app/config/gimprc-blurbs.h (THUMBNAIL_SIZE_BLURB): removed 
      note
      	that has become invalid by the change above.
      
      	* app/core/gimpitem-preview.c: cosmetics.
      
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=22756
      54caf4fb
    • Sven Neumann's avatar
      moved run_mode initialisation up a few lines. · 3ce6de2b
      Sven Neumann authored
      2007-06-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/twain/twain.c (run): moved run_mode initialisation up 
      a
      	few lines.
      
      
      svn path=/trunk/; revision=22755
      3ce6de2b
    • Sven Neumann's avatar
      removed unused variable. · e23f585f
      Sven Neumann authored
      2007-06-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpscaletool.c: removed unused variable.
      
      svn path=/trunk/; revision=22754
      e23f585f
    • Mukund Sivaraman's avatar
      Fixed error in last commit message · f5d3c6e8
      Mukund Sivaraman authored
      svn path=/trunk/; revision=22753
      f5d3c6e8
    • Mukund Sivaraman's avatar
      bumped required libexif version to 0.6.15. This seems to fix #358117 for · 1586b0e5
      Mukund Sivaraman authored
      2007-06-11  Mukund Sivaraman  <muks@mukund.org>
      
              * configure.in: bumped required libexif version to 0.6.15. This
              seems to fix #358117 for the various test images that were reported
              in it, and its duplicates. This version is in Debian unstable and   
              Fedora 7.
      
      
      svn path=/trunk/; revision=22752
      1586b0e5
    • Sven Neumann's avatar
      cosmetics · 04a509b0
      Sven Neumann authored
      svn path=/trunk/; revision=22751
      04a509b0
    • Sven Neumann's avatar
      Applied the second patch from Zbigniew Chyla. Improves boundary_sort() · 2cb54ef2
      Sven Neumann authored
      2007-06-11  Sven Neumann  <sven@gimp.org>
      
      	Applied the second patch from Zbigniew Chyla. Improves
      	boundary_sort() performance by reducing its time complexity from
      	O(n*n) to ~O(n*log n) (bug #388538).
      
      	* app/base/boundary.c (boundary_sort): prepare two arrays of
      	pointers to segments, each sorted by different pair of
      	coordinates ((x1,y1) and (x2,y2)); use new find_segment(),
      	passing both arrays to it.
      	(find_segment): new implementation that employs binary search to
      	find matching segment, using sorted arrays prepared by
      	boundary_sort().
      
      
      svn path=/trunk/; revision=22750
      2cb54ef2
  3. 09 Jun, 2007 2 commits
    • Sven Neumann's avatar
      added gimp_image_resize_to_selection(). · 65385a47
      Sven Neumann authored
      2007-06-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-resize.[ch]: added
      	gimp_image_resize_to_selection().
      
      	* app/actions/image-actions.c
      	* app/actions/image-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: added an action and a menu item for 
      it.
      	Fixes bug #335672.
      
      	* plug-ins/common/align_layers.c: resolved a conflicting 
      mnemonic.
      
      
      svn path=/trunk/; revision=22749
      65385a47
    • Sven Neumann's avatar
      fixed parameter passed to gimp_image_get_background(). Fixes bug #445719. · d7c71240
      Sven Neumann authored
      2007-06-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpselection.c (gimp_selection_extract): fixed
      	parameter passed to gimp_image_get_background(). Fixes bug 
      #445719.
      
      
      svn path=/trunk/; revision=22748
      d7c71240
  4. 08 Jun, 2007 4 commits
  5. 07 Jun, 2007 12 commits
    • Sven Neumann's avatar
      #define GIMP_VIEWABLE_PRIORITY_IDLE, which is even lower than · 3ce8d74b
      Sven Neumann authored
      2007-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpviewable.h: #define GIMP_VIEWABLE_PRIORITY_IDLE,
      	which is even lower than G_PRIORITY_LOW.
      
      	* app/core/gimpundo.c
      	* app/widgets/gimpviewrenderer.c: create previews with
      	GIMP_VIEWABLE_PRIORITY_IDLE so that they are run after the
      	projection has been invalidated.
      
      
      svn path=/trunk/; revision=22743
      3ce8d74b
    • Sven Neumann's avatar
      formatting. · 345855a7
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/base/tile-manager.c: formatting.
      
      
      svn path=/trunk/; revision=22742
      345855a7
    • Manish Singh's avatar
      display better error message if PyGTK is too old. · d2d99962
      Manish Singh authored
      2007-06-07  Manish Singh  <yosh@gimp.org>
      
              * configure.in: display better error message if PyGTK is too old.
      
      svn path=/trunk/; revision=22741
      d2d99962
    • Sven Neumann's avatar
      folded into a single loop. · a9cec3c0
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprojection.c (gimp_projection_validate_pyramid_tile):
      	folded into a single loop.
      
      svn path=/trunk/; revision=22740
      a9cec3c0
    • Sven Neumann's avatar
      some loop unrolling · e20966e7
      Sven Neumann authored
      svn path=/trunk/; revision=22739
      e20966e7
    • Sven Neumann's avatar
      weight the pixels by their alpha value. · a67a70b5
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprojection.c (gimp_projection_write_quarter):
      	weight the pixels by their alpha value.
      
      svn path=/trunk/; revision=22738
      a67a70b5
    • Sven Neumann's avatar
      removed the boolean from the GimpImage struct that used to track whether · 916cb45d
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.[ch]: removed the boolean from the GimpImage
      	struct that used to track whether the preview was valid.
      	(gimp_image_invalidate_preview): just set the preview to NULL.
      
      	* app/core/gimpimage-preview.c (gimp_image_get_new_preview):
      	construct the preview from the projection instead of compositing
      	the drawable previews.
      
      svn path=/trunk/; revision=22737
      916cb45d
    • Sven Neumann's avatar
      lazily allocate the tile managers of the image pyramid. · 916c53f0
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprojection.c: lazily allocate the tile managers of
      	the image pyramid.	
      	(gimp_projection_write_quarter): minor optimization.
      
      svn path=/trunk/; revision=22736
      916c53f0
    • Sven Neumann's avatar
      app/text/Makefile.am app/core/Makefile.am app/tools/Makefile.am · f3228540
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/text/Makefile.am
      	* app/core/Makefile.am
      	* app/tools/Makefile.am
      	* app/display/Makefile.am
      	* app/widgets/Makefile.am
      	* app/base/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpthumb/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* libgimpwidgets/Makefile.am: applied the remaining parts of the
      	patch from Daniel Richard G. to fix out-of-source-tree builds
      	(bug #444960).
      
      svn path=/trunk/; revision=22735
      f3228540
    • Sven Neumann's avatar
      reimplemented without using a logarithm. · 2a3fac83
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprojection.c (gimp_projection_get_level):
      	reimplemented without using a logarithm.
      
      svn path=/trunk/; revision=22734
      2a3fac83
    • Sven Neumann's avatar
      app/dialogs/Makefile.am when calling xsltproc, use the stylesheet from · 1c119489
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* menus/Makefile.am: when calling xsltproc, use the stylesheet from
      	$(srcdir). From the patch attached to bug #444960.
      
      svn path=/trunk/; revision=22733
      1c119489
    • Sven Neumann's avatar
      bail out with an error if xsltproc is missing and authors.h needs to be · af942b5b
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/Makefile.am: bail out with an error if xsltproc is
      	missing and authors.h needs to be regenerated.
      
      	* libgimpwidgets/Makefile.am: let gimpwidgets-private.lo, not the
      	C file, depend on gimp-wilber-pixbufs.h. From the patch attached to
      	bug #444960.
      
      svn path=/trunk/; revision=22732
      af942b5b
  6. 06 Jun, 2007 9 commits
    • Sven Neumann's avatar
      converted to a GimpDialog. · 5c9a69f8
      Sven Neumann authored
      2007-06-07  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/tips-dialog.c: converted to a GimpDialog.
      
      
      svn path=/trunk/; revision=22731
      5c9a69f8
    • Sven Neumann's avatar
      minor API cleanup. Use horizontal and vertical scale to determine the · a4079a37
      Sven Neumann authored
      2007-06-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprojection.[ch]: minor API cleanup. Use 
      horizontal
      	and vertical scale to determine the pyramid level to use.
      
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-render.c: follow the API change.
      
      
      svn path=/trunk/; revision=22730
      a4079a37
    • Sven Neumann's avatar
      ChangeLog formatting and a NEWS update · f7b73192
      Sven Neumann authored
      svn path=/trunk/; revision=22729
      f7b73192
    • Sven Neumann's avatar
      cosmetics. · 2b401b86
      Sven Neumann authored
      2007-06-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprojection.c: cosmetics.
      
      svn path=/trunk/; revision=22728
      2b401b86
    • Martin Nordholts's avatar
      Implemented an image pyramid for the GimpProjection. An image pyramid · 7917611e
      Martin Nordholts authored
      2007-06-06  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Implemented an image pyramid for the GimpProjection. An image pyramid
      	caches a projection at several sizes, causing the rendering code not to
      	have to swap in all tiles of a (potentially) large image; it can use
      	small versions of the projection if the user is zoomed out.
      
      	The image pyramid also imroves visual quality, especially at zoom levels
      	where there is a pyramid level that matches perfectly (i.e. at e.g. 50%,
      	25%, and 12.5% zoom). A step on the right track for bug #76096.
      
      	* app/core/gimpprojection.[ch]: Adjusted to make use of an image
      	pyramid. GimpProjection now keeps an array of TileManager:s, one per
      	pyramid level. Renamed _alloc_tiles to _alloc_levels.
      
      	* app/display/gimpdisplayshell-draw.c: (gimp_display_shell_draw_area):
      	Use the right GimpProjection level when drawing
      
      	* app/display/gimpdisplayshell-render.c: (render_image_init_info_full):
      	Setup RenderInfo with level in mind
      
      	* app/base/tile-manager.[ch]: Extended API a bit, nothing complicated.
      
      	* app/base/tile-manager-private.h (struct _TileManager): Keep a pointer
      	to the level below for use in an image pyramid.
      
      
      svn path=/trunk/; revision=22727
      7917611e
    • Sven Neumann's avatar
      corrected a bug introduced by my last commit · 67ec846b
      Sven Neumann authored
      svn path=/trunk/; revision=22726
      67ec846b
    • Sven Neumann's avatar
      cleanup. · 5ca92142
      Sven Neumann authored
      2007-06-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-preview.c (gimp_image_get_new_preview): cleanup.
      
      svn path=/trunk/; revision=22725
      5ca92142
    • Sven Neumann's avatar
      always use scale_region_lanczos() for LANCZOS interpolation. Fixes bug · 806b92fb
      Sven Neumann authored
      2007-06-06  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/scale-funcs.c (scale_region): always use
      	scale_region_lanczos() for LANCZOS interpolation. Fixes bug #443640.
      
      svn path=/trunk/; revision=22724
      806b92fb
    • Sven Neumann's avatar
      the projection is 2 bytes per pixel for grayscale images. · 097b1768
      Sven Neumann authored
      2007-06-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprojection.c (gimp_projection_estimate_memsize):
      	the projection is 2 bytes per pixel for grayscale images.
      
      svn path=/trunk/; revision=22723
      097b1768