Commit Graph

2375 Commits

Author SHA1 Message Date
Tor Lillqvist 9ab35b10ce Use memset() instead of bzero().
2007-05-23  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/tiff-save.c (save_paths): Use memset() instead
	of bzero().


svn path=/trunk/; revision=22591
2007-05-23 10:23:37 +00:00
Sven Neumann 618f648c21 pass the GimpProgress to gimp_message().
2007-05-21  Sven Neumann  <sven@gimp.org>

	* app/pdb/gimpprocedure.c (gimp_procedure_validate_args): pass the
	GimpProgress to gimp_message().

	* plug-ins/common/bumpmap.c: reduced number of progress updates.

svn path=/trunk/; revision=22551
2007-05-21 15:57:22 +00:00
Simon Budig af3fa9409b correctly pad the path name.
2007-05-20  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff-save.c: correctly pad the path name.


svn path=/trunk/; revision=22543
2007-05-20 18:43:22 +00:00
Sven Neumann 017702c026 try to use the window name as layer name.
2007-05-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: try to use the window name as
	layer name.

svn path=/trunk/; revision=22535
2007-05-18 14:18:49 +00:00
Sven Neumann 5ba374ee58 split code to get the page name into a utility function.
2007-05-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c: split code to get the page name
	into a utility function.


svn path=/trunk/; revision=22527
2007-05-17 19:51:25 +00:00
Simon Budig c46ab36d63 Fix the order of the imported paths.
2007-05-17  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff-load.c: Fix the order of the imported paths.


svn path=/trunk/; revision=22518
2007-05-17 00:22:11 +00:00
Simon Budig c7ae38473f save the paths in the TIFF. Please test interoperability with other
2007-05-17  Simon Budig  <simon@gimp.org>

	* plug-ins/common/tiff-save.c: save the paths in the TIFF.
	Please test interoperability with other programs.

	* plug-ins/common/tiff-load.c: fix coordinate reading for
	negative coordinates.

	* app/config/gimpguiconfig.c: Show color swatches by default.


svn path=/trunk/; revision=22517
2007-05-16 23:56:51 +00:00
Sven Neumann 3c9f28cc1e applied patch from Jörg Gittinger that improves the quality of the Motion
2007-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: applied patch from Jörg Gittinger 
that
	improves the quality of the Motion Blur filter (bug #380435).


svn path=/trunk/; revision=22513
2007-05-16 17:40:13 +00:00
Sven Neumann a8012cc453 plug-ins/common/wmf.c plug-ins/fits/fits.c plug-ins/sel2path/sel2path.c
2007-05-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c
	* plug-ins/fits/fits.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/xjt/xjt.c: added missing calls to
	gimp_window_set_transient().


svn path=/trunk/; revision=22492
2007-05-15 11:58:56 +00:00
Sven Neumann 687db3d69e plug-ins/common/svg.c plug-ins/common/tiff-load.c
2007-05-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c
	* plug-ins/common/tiff-load.c
	* plug-ins/common/postscript.c
	* plug-ins/common/poppler.c: added missing calls to
	gimp_window_set_transient().

	* libgimp/gimppixbuf.c (gimp_layer_new_from_pixbuf): reduced
	number of progress updates.


svn path=/trunk/; revision=22491
2007-05-15 07:12:15 +00:00
Karine Delvare 88387b44ff use the new preview transform function, see bug #356716.
2007-05-11  Karine Delvare  <edhel@gimp.org>

	* plug-ins/common/illusion.c: use the new preview transform function, 
	see bug #356716.


svn path=/trunk/; revision=22473
2007-05-11 16:44:10 +00:00
Karine Delvare 466c31c090 use the new preview transform function, see bug #356716.
2007-05-09  Karine Delvare  <edhel@gimp.org>

	* plug-ins/common/waves.c: use the new preview transform function, 
	see bug #356716.


svn path=/trunk/; revision=22463
2007-05-09 17:00:46 +00:00
Sven Neumann 26855b3c55 added missing newline
svn path=/trunk/; revision=22462
2007-05-09 16:19:28 +00:00
Sven Neumann ddbfbace2e improved handling of attached non-RGB profiles.
2007-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_icc_apply): improved handling of
	attached non-RGB profiles.

	* plug-ins/common/oilify.c: use GIMP_RGB_LUMINANCE() instead of
	the self-made INTENSITY macro.

	* plug-ins/common/tiff-load.c
	* plug-ins/common/tiff-save.c: reduced number of progress 
updates.


svn path=/trunk/; revision=22461
2007-05-09 16:14:18 +00:00
Karine Delvare 8fab276517 use the new preview transform function, see bug #356716.
2007-05-08  Karine Delvare  <edhel@gimp.org>

	* plug-ins/common/flarefx.c: use the new preview transform function, 
	see bug #356716.


svn path=/trunk/; revision=22456
2007-05-08 20:12:36 +00:00
Karine Delvare bc893ebbd9 Replace tile size with width & height, without changing the plug-in
2007-05-08  Karine Delvare  <edhel@gimp.org>

	* plug-ins/common/papertile.c: Replace tile size with width & height,
	without changing the plug-in interface (bug #87092).


svn path=/trunk/; revision=22455
2007-05-08 18:09:16 +00:00
Sven Neumann 9394509e73 update the progress less often
svn path=/trunk/; revision=22447
2007-05-07 09:22:46 +00:00
Sven Neumann d3a085d0da clamp to the first row, not the second.
2007-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur.c (blur_prepare_row): clamp to the first
	row, not the second.

svn path=/trunk/; revision=22446
2007-05-07 09:14:59 +00:00
Sven Neumann 4ac3342412 reduce rounding errors when converting between premultiplied and separated
2007-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: reduce rounding errors when 
converting
	between premultiplied and separated alpha. Fixes bug #383870.


svn path=/trunk/; revision=22445
2007-05-07 07:36:56 +00:00
Sven Neumann 0d7835ac5b try to do something reasonable for the empty source range (bug #436145).
2007-05-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c: try to do something reasonable for
	the empty source range (bug #436145).


svn path=/trunk/; revision=22441
2007-05-06 19:23:03 +00:00
Michael Natterer 9eb92fa094 whitespace cleanup, tabs -> spaces.
2007-05-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/papertile.c: whitespace cleanup, tabs -> spaces.


svn path=/trunk/; revision=22423
2007-05-05 18:59:49 +00:00
Sven Neumann e47366fa2f crop the image, even if the layer is fully opaque. Fixes bug #413906.
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c (autocrop): crop the image, even if
	the layer is fully opaque. Fixes bug #413906.

svn path=/trunk/; revision=22413
2007-05-04 12:36:08 +00:00
Sven Neumann 0bcf615e24 special case fully transparent regions, just as we do in
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c (guess_bgcolor): special case fully
	transparent regions, just as we do in app/core/gimpimage-crop.c.
	Fixes bug #357554.

	* app/core/gimpimage-crop.c: cosmetics.

svn path=/trunk/; revision=22412
2007-05-04 12:21:26 +00:00
Mukund Sivaraman 2a7d1e524d reduced the number of progress updates.
2007-05-04  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/edge.c: reduced the number of progress updates.


svn path=/trunk/; revision=22408
2007-05-04 11:16:51 +00:00
Mukund Sivaraman 6fcabcac46 whoops. fixed progress when selections exist.
2007-05-04  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/fractaltrace.c: whoops. fixed progress when
        selections exist.


svn path=/trunk/; revision=22407
2007-05-04 10:56:44 +00:00
Mukund Sivaraman 46e4bc9866 reduced the number of progress updates.
2007-05-04  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/fractaltrace.c: reduced the number of progress
        updates.


svn path=/trunk/; revision=22406
2007-05-04 10:49:22 +00:00
Sven Neumann 2b2f5c24fe reduced the number of progress updates.
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/dog.c: reduced the number of progress updates.

svn path=/trunk/; revision=22405
2007-05-04 10:46:48 +00:00
Sven Neumann 3dd732d750 fixed a bug in my last change. Also reduced the number of progress
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c (gauss_rle): fixed a bug in my last change.
	Also reduced the number of progress updates.

svn path=/trunk/; revision=22404
2007-05-04 10:43:43 +00:00
Sven Neumann 62f5e5afcd removed unused functionality from the resolution entry widget.
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c: removed unused functionality from 
the
	resolution entry widget.


svn path=/trunk/; revision=22397
2007-05-04 07:16:05 +00:00
Mukund Sivaraman a1e23bab33 Fixed bogus argument in call to gimp_progress_update().
2007-05-04  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/psd-load.c: Fixed bogus argument in call to
        gimp_progress_update().  


svn path=/trunk/; revision=22396
2007-05-04 06:49:29 +00:00
William Skaggs e78be6be72 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpresolutionentry.[ch]: removed
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/Makefile.am: changed accordingly

	* plug-ins/pygimp/gimpui.defs: resolution entry api removed

	* plug-ins/common/poppler.c: resolution entry code added
	here, with unused api removed.

	Addresses (maybe fixes) bug #351281.

svn path=/trunk/; revision=22394
2007-05-03 22:13:48 +00:00
Sven Neumann f364a75f37 applied patch from Geert Jordaens plus some minor cleanups. Fixes bug
2007-05-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/despeckle.c: applied patch from Geert Jordaens
	plus some minor cleanups. Fixes bug #433251.


svn path=/trunk/; revision=22391
2007-05-03 20:53:25 +00:00
Mukund Sivaraman 798f694fce Make size loading work properly with new librsvg versions.
2007-05-02  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/svg.c: Make size loading work properly with
        new librsvg versions.

        * configure.in: bumped required librsvg version to 2.14.


svn path=/trunk/; revision=22382
2007-05-02 15:45:31 +00:00
Sven Neumann dd6fe2d23b set a size request on the GimpPageSelector widget.
2007-05-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c (load_dialog): set a size request on
	the GimpPageSelector widget.

svn path=/trunk/; revision=22380
2007-05-02 14:30:17 +00:00
Sven Neumann 00ef80ea49 guard against a possible stack overflow.
2007-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sunras.c (set_color_table): guard against a
	possible stack overflow.

svn path=/trunk/; revision=22355
2007-04-27 11:50:00 +00:00
Sven Neumann e3fb63d568 use PANGO_DISABLE_DEPRECATED for pango < 1.17.
2007-04-27  Sven Neumann  <sven@gimp.org>

	* configure.in: use PANGO_DISABLE_DEPRECATED for pango < 1.17.

	* plug-ins/common/sample_colorize.c: removed unused variable.

svn path=/trunk/; revision=22354
2007-04-27 11:14:26 +00:00
Sven Neumann 1cc3041d68 depend on poppler-glib >= 0.4.1.
2007-04-27  Sven Neumann  <sven@gimp.org>

	* configure.in: depend on poppler-glib >= 0.4.1.

	* plug-ins/common/poppler.c: removed ifdefs to handle older
	versions of the poppler library. Removed "antialias" toggle from
	the procedure API and from the GUI; it's not supported by poppler.


svn path=/trunk/; revision=22353
2007-04-27 10:12:12 +00:00
Mukund Sivaraman 93a7fc76a5 plug-ins/imagemap/imap_preferences.c plug-ins/gflare/gflare.c
2007-04-27  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/imagemap/imap_preferences.c
        * plug-ins/gflare/gflare.c
        * plug-ins/Lighting/lighting_ui.c
        * plug-ins/xjt/xjt.c
        * plug-ins/metadata/xmp-parse.c
        * plug-ins/flame/flame.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/compressor.c
        * plug-ins/common/channel_mixer.c
        * plug-ins/common/mail.c
        * plug-ins/common/CML_explorer.c
        * plug-ins/ifscompose/ifscompose.c: Open files in binary mode
        ("rb" and "wb").


svn path=/trunk/; revision=22351
2007-04-26 20:31:01 +00:00
Sven Neumann 3075f763ad app/paint-funcs/paint-funcs.c (gaussian_blur_region)
2007-04-26  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (gaussian_blur_region)
	* plug-ins/common/blur.c (blur)
	* plug-ins/common/gauss.c (do_encoded_lre) (do_full_lre): reduce
	rounding errors.

	* plug-ins/common/checkerboard.c (checkerboard_dialog): layout
	improvements.

svn path=/trunk/; revision=22345
2007-04-26 14:30:07 +00:00
Mukund Sivaraman fef631cc22 disabled the layer offsets saving code. This can be re-enabled in 2.6,
2007-04-26  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-save.c: disabled the layer offsets saving
        code. This can be re-enabled in 2.6, when the load plug-in is
        patched to support these saved offsets.

        * plug-ins/common/tiff-load.c: marked the code for the above
        with a TODO comment.


svn path=/trunk/; revision=22344
2007-04-26 12:20:56 +00:00
Mukund Sivaraman 355322d207 save the layer offsets too, to fix bug #419578.
2007-04-26  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-save.c: save the layer offsets too, to
        fix bug #419578.


svn path=/trunk/; revision=22340
2007-04-26 10:56:12 +00:00
Mukund Sivaraman 2524776c36 set a different filename when the number of pages loaded is lower than the
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c: set a different filename when           
        the number of pages loaded is lower than the number of pages
        in the TIFF file.


svn path=/trunk/; revision=22334
2007-04-25 15:14:52 +00:00
Mukund Sivaraman 3d4b8267ed set the filename to the original filename in case of single-page loads.
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c: set the filename to the original
        filename in case of single-page loads.


svn path=/trunk/; revision=22333
2007-04-25 14:59:23 +00:00
Mukund Sivaraman e1332790c7 moved the non-interactive check out of load_dialog() and into run().
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c: moved the non-interactive check out  
        of load_dialog() and into run().  


svn path=/trunk/; revision=22331
2007-04-25 14:49:05 +00:00
Michael Natterer 7bf61525ad plug-ins/common/gif.c plug-ins/common/gifload.c plug-ins/common/psd.c
2007-04-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c: removed...

	* plug-ins/common/gif-load.c
	* plug-ins/common/gif-save.c
	* plug-ins/common/psd-load.c
	* plug-ins/common/psd-save.c: ...and renamed to make sense.

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: changed accordingly.


svn path=/trunk/; revision=22328
2007-04-25 14:13:15 +00:00
Mukund Sivaraman 53c98d7186 plug-ins/common/tiff-load.c make progress bars progress to completion.
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c
        * plug-ins/common/tiff-save.c: make progress bars progress to
        completion.


svn path=/trunk/; revision=22327
2007-04-25 14:10:20 +00:00
Mukund Sivaraman a484bf8aea plug-ins/common/tiff-load.c indentation changes.
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c
        * plug-ins/common/tiff-save.c: indentation changes.


svn path=/trunk/; revision=22326
2007-04-25 13:56:10 +00:00
Mukund Sivaraman 55c87fb157 plug-ins/common/tiff-load.c fixed the names of the plug-in binary in
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c
        * plug-ins/common/tiff-save.c: fixed the names of the plug-in binary
        in PLUG_IN_BINARY.


svn path=/trunk/; revision=22324
2007-04-25 13:45:10 +00:00
Mukund Sivaraman 63dc204724 plug-ins/common/tiff-load.c plug-ins/common/tiff-save.c
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c
        * plug-ins/common/tiff-save.c
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/Makefile.am
        * configure.in
        * po-plug-ins/POTFILES.in: split TIFF load and save functionality
        into different plug-ins.

        * plug-ins/common/mkgen.pl: modified to allow plug-ins to override
        auto-generated library env; also use underscores instead of hyphens
        in the generated Makefile.am.

        * plug-ins/common/tiff.c: removed.


svn path=/trunk/; revision=22323
2007-04-25 13:36:47 +00:00
Sven Neumann 9e0e86f7bd minor cleanups.
2007-04-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/despeckle.c: minor cleanups.

svn path=/trunk/; revision=22320
2007-04-25 10:34:30 +00:00