Commit Graph

20182 Commits

Author SHA1 Message Date
Michael Natterer 617706892f set GtkButton::focus-line-width to 1 and GtkButton::focus-padding to 0,
2007-04-30  Michael Natterer  <mitch@gimp.org>

	* themes/Default/gtkrc: set GtkButton::focus-line-width to 1 and
	GtkButton::focus-padding to 0, just like in the Small theme (it
	was always meant to be that way, stupid copy'n'paste...)


svn path=/trunk/; revision=22367
2007-04-30 17:19:56 +00:00
Christophe Merlet 00c92975ed Added Occitan translations.
svn path=/trunk/; revision=22364
2007-04-29 13:17:21 +00:00
Tor Lillqvist 797901ac50 Add libgimpconfig to the developer package. Remove the separate gif
2007-04-28  Tor Lillqvist  <tml@novell.com>

	* gimp-zip.in: Add libgimpconfig to the developer package. Remove
	the separate gif plug-in cruft. Fix a few typos.


svn path=/trunk/; revision=22363
2007-04-29 08:27:19 +00:00
Manish Singh ed3b8c12a8 Update ChangeLog
svn path=/trunk/; revision=22362
2007-04-28 23:14:38 +00:00
Manish Singh c0057c99a0 add optional run_mode keyword argument to pdb calls.
2007-04-28 Manish Singh <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c: add optional run_mode keyword argument
        to pdb calls.

svn path=/trunk/; revision=22361
2007-04-28 23:14:28 +00:00
Sven Neumann efb221acc7 app/widgets/gimpclipboard.c app/widgets/gimpdnd-xds.c use
2007-04-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpclipboard.c
	* app/widgets/gimpdnd-xds.c
	* plug-ins/helpbrowser/dialog.c: use 
gdk_atom_intern_static_string().


svn path=/trunk/; revision=22360
2007-04-28 10:11:37 +00:00
Sven Neumann 7c1fc759f5 added get_pixel_at() method to the GimpPickable interface. This gives
2007-04-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimppickable.[ch]: added get_pixel_at() method to the
	GimpPickable interface. This gives direct access to the pixel
	without converting it to an RGB color.

	* app/core/gimpdrawable.c
	* app/core/gimpimagemap.c
	* app/core/gimpprojection.c: implement the new method and also use
	it to reimplement get_color_at().

	* app/core/gimpimage-crop.c (gimp_image_crop_guess_bgcolor): use
	gimp_pickable_get_pixel_at(). Fixes auto-shrink on indexed and
	grayscale images.

svn path=/trunk/; revision=22359
2007-04-27 16:07:49 +00:00
Sven Neumann 7b7affa9b0 convince the linker to do its job.
2007-04-27  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am (GTKDOC_LIBS): convince the linker to do its job.

svn path=/trunk/; revision=22358
2007-04-27 12:08:24 +00:00
Sven Neumann c6327c103c actually commit the ChangeLog entry for the last commit
svn path=/trunk/; revision=22357
2007-04-27 11:58:21 +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
Sven Neumann 25e1872f78 fixed typo in procedure name (bug #433772).
2007-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/truchet.scm: fixed typo in 
procedure
	name (bug #433772).


svn path=/trunk/; revision=22352
2007-04-27 06:24:15 +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
Michael Natterer ff8ba7ea78 renamed GimpParamSpecString's flag "no_validate" to "allow_non_utf8".
2007-04-26  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparamspecs.[ch]: renamed GimpParamSpecString's
	flag "no_validate" to "allow_non_utf8".

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/*.pdb: renamed argument flag
	"no_validate" (which turns off utf8-validation for strings) to
	"allow_non_utf8" and renamed "no_success" (which turns off
	argument validation alltogether) to "no_validate".
	Doesn't affect generated code.


svn path=/trunk/; revision=22350
2007-04-26 19:10:23 +00:00
Michael Natterer 37a3f95d16 tools/pdbgen/pdb/display.pdb (diplay_is_valid)
2007-04-26  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/display.pdb (diplay_is_valid)
	* tools/pdbgen/pdb/drawable.pdb (drawable_is_valid)
	* tools/pdbgen/pdb/image.pdb (image_is_valid)
	* tools/pdbgen/pdb/vectors.pdb (vectors_is_valid): it's the
	argument flag "no_success" which turns off validation, not
	"no_validate" (how obvious). Also fixed drawable and vectors
	procedures to check for !gimp_item_is_removed() instead of
	gimp_item_is_attached() (a newly created item is unattached
	but valid).

	* app/pdb/display_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/vectors_cmds.c: regenerated.


svn path=/trunk/; revision=22349
2007-04-26 17:54:23 +00:00
Michael Natterer e8215c6d38 tools/pdbgen/pdb/pattern.pdb tools/pdbgen/pdb/gradients.pdb
2007-04-26  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/pattern.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/context.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient_select.pdb: some argument cleanup: use
	"=> 1" instead of "=> '1'" for setting argument flags, also made
	argument property order consistent so flags come before "desc".
	Doesn't affect generated code.


svn path=/trunk/; revision=22348
2007-04-26 17:43:18 +00:00
Sven Neumann d6b3b9bb98 document the image_types parameter (bug #326988).
2007-04-26  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c: document the image_types parameter (bug #326988).


svn path=/trunk/; revision=22346
2007-04-26 14:58:56 +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 7af5782810 Changed ChangeLog to indicate that only a part of #346988 was fixed
svn path=/trunk/; revision=22341
2007-04-26 10:56:55 +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 b69355a254 Updated ChangeLog message
svn path=/trunk/; revision=22339
2007-04-26 10:13:34 +00:00
Mukund Sivaraman d1e3313362 properly parse files with CRLF line-endings which were created in the past
2007-04-26  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/gfig/gfig-dobject.c: properly parse files with CRLF
        line-endings which were created in the past in Windows.

        * plug-ins/gfig/gfig.c: open files in binary mode so that the same
        line-endings are used on all platforms.


svn path=/trunk/; revision=22338
2007-04-26 10:08:08 +00:00
Christophe Merlet 1b9ce30a9b Added Occitan translation.
svn path=/trunk/; revision=22336
2007-04-25 22:30:49 +00:00
Michael Natterer 6369e06ece removed bogus "return" from void function. Fixes bug #433339, patch from
2007-04-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbrush.c (gimp_brush_scale_size): removed bogus
	"return" from void function. Fixes bug #433339, patch from Eric
	Lamarque.


svn path=/trunk/; revision=22335
2007-04-25 16:04:06 +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
Michael Natterer e03ac7be42 Remove cruft probably left over from the svn migration script.
svn path=/trunk/; revision=22332
2007-04-25 14:51:07 +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 54737072a0 added #warning to use GParamSpecString's features once we depend on a
2007-04-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparamspecs.c (gimp_param_string_validate): added
	#warning to use GParamSpecString's features once we depend on a
	fixed version.


svn path=/trunk/; revision=22330
2007-04-25 14:38:20 +00:00
Michael Natterer d6fd55064b added "gboolean non_empty" to require the string being non-empty. Changed
2007-04-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparamspecs.[ch] (struct GimpParamSpecString)
	(gimp_param_spec_string): added "gboolean non_empty" to require
	the string being non-empty. Changed validation accordingly.
	Also fixed validation for static strings (we were happily
	freeing and modifying them before).

	* app/xcf/xcf.c: filenames should be non-empty.
	* app/pdb/gimp-pdb-compat.c: compat strings shouldn't.

	* tools/pdbgen/app.pl: add support for $arg->{non_empty} and
	changed generation of calls to gimp_param_spec_string().

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/vectors.pdb
	* tools/pdbgen/pdb/plug_in.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/progress.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/pdb/font_select.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/unit.pdb
	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/buffer.pdb: require non-empty strings for data
	object names, procedure names, unit strings, PDB data identifiers
	and buffer names. Removed some manual strlen() checks, all other
	places just got better error reporting for free (proper validation
	error instead of unspecific execution error).

	* app/pdb/*_cmds.c: regenerated.


svn path=/trunk/; revision=22329
2007-04-25 14:23: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
Sven Neumann 051b3d6dfe moved ChangeLog entry to the right place, the po directories have
their own ChangeLog


svn path=/trunk/; revision=22325
2007-04-25 13:49:24 +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 681764e4e8 round pixel values instead if just casting the float to an integer. Fixes
2007-04-25  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (convolve_region): round pixel values
	instead if just casting the float to an integer. Fixes bug #432978.

svn path=/trunk/; revision=22322
2007-04-25 11:46:14 +00:00
Sven Neumann 8bfd436f31 whitespace cleanup.
2007-04-25  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c: whitespace cleanup.

svn path=/trunk/; revision=22321
2007-04-25 11:36:39 +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
Sven Neumann e3813131b7 also use the middle mouse button for panning.
2007-04-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.c: also use the middle mouse
	button for panning.

	* plug-ins/common/nova.c: override the default mouse handling of
	the GimpScrolledPreview and allow to reposition the center using
	the left mouse button. Fixes bug #364432.

	* app/tools/gimprectangletool.c: formatting.

svn path=/trunk/; revision=22319
2007-04-25 10:10:43 +00:00
Gabor Kelemen c806eae446 Translation updated.
2007-04-25  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated.


svn path=/trunk/; revision=22318
2007-04-25 07:52:24 +00:00
Sven Neumann 7ceb682328 bumped version to 2.3.17.
2007-04-24  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.3.17.


svn path=/trunk/; revision=22317
2007-04-24 19:11:33 +00:00
Mukund Sivaraman 80f436aa5f initialize the pages[] array with the page sequence for non-niteractive
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff.c: initialize the pages[] array with
        the page sequence for non-niteractive runs. Otherwise it'll
        simply load N copies of page 0.


svn path=/trunk/; revision=22316
2007-04-24 19:05:15 +00:00
Mukund Sivaraman 3a229d3631 fixed an issue where the page selection dialog was being shown even for
2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff.c: fixed an issue where the page selection
        dialog was being shown even for non-interactive runs.


svn path=/trunk/; revision=22315
2007-04-24 18:58:02 +00:00
Mukund Sivaraman 70fe65b8d0 added support to load multi-page TIFF images as single layered image or
2007-04-24  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff.c: added support to load multi-page TIFF
        images as single layered image or multiple individual per-page
        images, after prompting the user for choice using a
        GimpPageSelector widget. Fixes the rest of bug #138495.


svn path=/trunk/; revision=22314
2007-04-24 18:36:35 +00:00
Mukund Sivaraman 9f080a827b updated the API documentation to indicate that the returned array is
2007-04-24  Mukund Sivaraman  <muks@mukund.org>

        * libgimpwidgets/gimppageselector.c: updated the API documentation
        to indicate that the returned array is sorted.


svn path=/trunk/; revision=22313
2007-04-24 18:31:46 +00:00
Mukund Sivaraman f9d489de2f set the page selector target from lastvals before showing the dialog
2007-04-24  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/poppler.c: set the page selector target
        from lastvals before showing the dialog


svn path=/trunk/; revision=22312
2007-04-24 17:42:11 +00:00
Sven Neumann fddd7b58b4 Made 2.3.16 development release.
2007-04-24  Sven Neumann  <sven@gimp.org>

        * Made 2.3.16 development release.

svn path=/trunk/; revision=22310
2007-04-24 16:33:34 +00:00