Commit Graph

3837 Commits

Author SHA1 Message Date
Sven Neumann 911d267dce added a sanity check for bogus frame dimensions. Fixes bug #169113.
2005-03-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c (ReadImage): added a sanity check for
	bogus frame dimensions. Fixes bug #169113.
2005-03-03 17:50:41 +00:00
Sven Neumann 6fa94dd8d2 allocate tile-cache size more intelligently.
2005-03-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c: allocate tile-cache size more
	intelligently.
2005-03-03 17:00:44 +00:00
Sven Neumann 8e0fe5f3aa added new PDB function gimp_path_import_string() to allow to easily import
2005-03-03  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/paths.pdb: added new PDB function
	gimp_path_import_string() to allow to easily import dynamically
	created SVG.

	* app/pdb/internal_procs.c
	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	removed unused variable.
2005-03-03 11:02:12 +00:00
Manish Singh 872c501ee6 Make a compatibility wrapper for PyBool_FromLong for pre-2.3 versions of
2005-03-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp.h: Make a compatibility wrapper for
        PyBool_FromLong for pre-2.3 versions of python.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpui.py: Update to use some more modern python
        features.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-display.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-parasite.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-tile.c: Throw exceptions on failures for
        libgimp wrappers (fixes bug #160136), and make the exception strings
        a lot more descriptive to aid debugging. Also return proper Bools when
        appropriate. Some new API wrapped as well. Still a work in progress.

        * plug-ins/pygimp/gimpplugin.py
        * plug-ins/pygimp/gimpshelf.py
        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py
        * plug-ins/pygimp/plug-ins/sphere.py: Add some whitespace to make
        things more readable.
2005-03-03 08:43:55 +00:00
Sven Neumann fd308340d4 libgimp/gimpdrawablecombobox.c set a width request on the combo boxes.
2005-03-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpimagecombobox.c: set a width request on the combo boxes.

	* plug-ins/common/bumpmap.c (SCALE_WIDTH): set a minimum width on
	the scales.
2005-03-03 00:06:28 +00:00
Manish Singh 7b962482da use g_spawn_async_with_pipes instead of popen. Addresses bug #108659. Also
2005-03-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/mail.c: use g_spawn_async_with_pipes instead of
        popen. Addresses bug #108659. Also some general cleanup.

        * plug-ins/common/mblur.c: Fix some typos in comments.
2005-03-02 02:20:02 +00:00
Sven Neumann 1fa722aaa1 plug-ins/ifscompose/ifscompose.[ch] purely cosmetic coding style changes.
2005-03-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.[ch]
	* plug-ins/ifscompose/ifscompose_utils.c: purely cosmetic coding
	style changes.
2005-03-01 15:42:44 +00:00
Kevin Cozens bca3f3fb39 Fixed marshalling code to treat string arrays as arrays instead of lists
2005-03-01  Kevin Cozens  <kcozens@cvs.gimp.org>

    * plug-ins/script-fu/siod-wrapper.c: Fixed marshalling code to
    treat string arrays as arrays instead of lists of strings. Last
    part of the fix for bug #168290.
2005-03-01 05:55:03 +00:00
Sven Neumann 7684b18117 use g_get_language_names().
2005-02-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c (gimp_help_get_locales): use
	g_get_language_names().

	* plug-ins/help/locales.c (locales_parse): simplified;
	g_get_language_names() already takes care of this.
2005-02-28 21:23:53 +00:00
Sven Neumann ca3560642d another build fix for compilers that don't support C99 extensions.
2005-02-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_menu.c (menu_build_mru_items): another
	build fix for compilers that don't support C99 extensions.
2005-02-27 20:39:36 +00:00
Manish Singh 5f4cec76da revert change to read images one row at a time, it didn't really fix the
2005-02-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: revert change to read images one row at a
        time, it didn't really fix the bug.
2005-02-26 21:44:23 +00:00
William Skaggs 3fd43655f9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c: read non-interlaced files one row
	at a time instead of in 64-row chunks; fixes bug #137327.
2005-02-25 23:59:26 +00:00
Kevin Cozens 9c5ed1cbae plug-ins/script-fu/siod/siod.h Creation and manipulation of string arrays
2005-02-25  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/siod/siod.h
	* plug-ins/script-fu/siod/sliba.c: Creation and manipulation of
	string arrays was seriously broken. Fixes bug #168290.
2005-02-25 21:36:22 +00:00
Manish Singh 33b974b4e6 Handle large file sizes, and update the downloaded size for unknown file
2005-02-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c: Handle large file sizes, and
        update the downloaded size for unknown file sizes.
2005-02-24 18:34:38 +00:00
Sven Neumann bc5addbe1e pulse the progress while downloading an unspecified amount of data.
2005-02-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): pulse
	the progress while downloading an unspecified amount of data.
2005-02-24 18:31:08 +00:00
Manish Singh 7ca5df8645 Handle HTTP 302 Redirect output from wget properly. Also give a little
2005-02-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c: Handle HTTP 302 Redirect output
        from wget properly. Also give a little more informative display for
        unspecified sizes. Fixes bug #168322.
2005-02-24 17:19:13 +00:00
Kevin Cozens fa7511e46b Fixed a problem with aset! for string arrays. Old string wasn't freed and
2005-02-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Fixed a problem with aset! for string arrays.
	Old string wasn't freed and wasn't allocating a copy of new string.
2005-02-24 04:31:41 +00:00
William Skaggs ea8c0e3bc9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/*/Makefile.am
	* plug-ins/common/mkgen.pl: add libgimpmath deps
	needed because libgimpconfig links it.
2005-02-23 22:01:58 +00:00
Shlomi Fish a363e869ba fixed the numbers of parameters check in RUN_NONINTERACTIVE. (it was a
* plug-ins/common/displace.c: fixed the numbers of parameters check
  in RUN_NONINTERACTIVE. (it was a typo).
2005-02-23 17:40:56 +00:00
Manish Singh 9cccf4168c install pygimp.interp, which configures the python interpreter to point to
2005-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: install pygimp.interp, which configures
        the python interpreter to point to the python we were built with. Also
        register the .py extension.
2005-02-21 21:55:14 +00:00
Sven Neumann 4339fb30aa fixed emboss on small images (bug #168022).
2005-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: fixed emboss on small images (bug #168022).
2005-02-21 16:12:27 +00:00
jaycox c408ecebfa Fix layer mask support. Addresses bugs #166976 and #109841.
* plug-ins/common/psd.c: Fix layer mask support.  Addresses bugs
	#166976 and #109841.
2005-02-21 01:47:21 +00:00
Sven Neumann 0c7778377b use g_filename_display_basename().
2005-02-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/presets.c (get_object_name): use
	g_filename_display_basename().
2005-02-20 21:58:40 +00:00
Manish Singh 995f874af8 attempt to support Win32 (untested).
2005-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: attempt to support Win32 (untested).
2005-02-20 08:14:52 +00:00
Manish Singh 301a49b77c plug-ins/pygimp/plug-ins/gtkcons.py Use newer gtkcons widget from pygtk.
2005-02-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gtkcons.py
        * plug-ins/pygimp/plug-ins/gimpcons.py: Use newer gtkcons widget
        from pygtk. Some cosmetic additions.
2005-02-20 07:56:45 +00:00
Manish Singh caaf65cc7c Ignore guides at or beyond image bounds, since those aren't valid slicing
2005-02-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/py-slice.py: Ignore guides at or beyond
        image bounds, since those aren't valid slicing bounds. Fixes bug
        #167843.
2005-02-20 06:17:09 +00:00
Hans Breuer 1f4b749d11 now that I'm aware of script-fu-server running on win32 make it compile
2005-02-19  Hans Breuer  <hans@breuer.org>

	* plug-ins/makefile.msc plug-ins/script-fu/script-fu-server.c :
	now that I'm aware of script-fu-server running on win32 make it
	compile with msvc, too ;)
2005-02-19 17:00:25 +00:00
Sven Neumann 695874dfd4 plug-ins/script-fu/script-fu.c there is script-fu server on Win32.
2005-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/siod-wrapper.c: there is script-fu server on
	Win32. Reverted this change, again!
2005-02-19 01:56:52 +00:00
Hans Breuer c6f63ea4e1 TILE_WIDTH is used unconditionally so always include "tile.h" WIN32 needs
2005-02-19  Hans Breuer  <hans@breuer.org>

	* app/base/pixel-processor.c : TILE_WIDTH is used unconditionally
	so always include "tile.h"
	* app/base/tile-swap.c : WIN32 needs <process.h> for _getpid()

	* app/dialogs/user-install-dialog.c : include gimpwin32-io.h
	* libgimpbase/gimpwin32-io.h : there are no group or other
	flags in msvcrt, define S_IGRP etc in terms of _S_IREAD etc

	* plug-ins/script-fu/script-fu.c plug-ins/script-fu/siod-wrapper.c :
	no script-fu server on win32, make respective function calls conditional

	* libgimpconfig/makefile.msc : new file
	* **/makefile.msc app/gimpcore.def : updated, gimp builds
	and runs once more with ms toolchain
2005-02-19 00:50:36 +00:00
Sven Neumann 41eed1e8b9 write a DEFI chunk to set the frame offset if the layer offsets are != 0,
2005-02-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (mng_save_image): write a DEFI chunk to
	set the frame offset if the layer offsets are != 0, not only if
	they are > 0. Fixes bug #166059.
2005-02-18 22:45:50 +00:00
Sven Neumann 583f7d7958 fixed the build for compilers that don't support C99 extensions.
2005-02-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c: fixed the build for compilers that
	don't support C99 extensions.
2005-02-17 16:34:31 +00:00
Kevin Cozens 8ad5b3bd77 Added constants MIN-IMAGE-SIZE, MAX-IMAGE-SIZE, MIN-RESOLUTION, and
2005-02-16  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/siod-wrapper.c: Added constants MIN-IMAGE-SIZE,
	MAX-IMAGE-SIZE, MIN-RESOLUTION, and MAX-RESOLUTION for use in Script-Fu
	scripts. See comment #4 in bug #167529.
2005-02-17 00:24:31 +00:00
Sven Neumann 046931480d use GOptionContext to parse the command-line.
2005-02-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/gimp-help-lookup.c: use GOptionContext to parse
	the command-line.
2005-02-16 23:29:26 +00:00
William Skaggs df13000318 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/plug-ins/script-fu/scripts/guides-new.scm:  committted
	slightly modified patch from  Joao S. O. Bueno Calligaris
	to raise guide position limit to 262144.
2005-02-16 19:39:41 +00:00
Sven Neumann 171f85b1d9 app/config/gimprc-blurbs.h app/dialogs/offset-dialog.c
2005-02-14  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h
	* app/dialogs/offset-dialog.c
	* plug-ins/common/displace.c
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm: use the american
	spelling of "behaviour". Fixes bug #167267.
2005-02-14 10:50:16 +00:00
jaycox cde1cfa58d plug-ins/common/psd_save.c : Rewrote all the code that deals with pixels
plug-ins/common/psd_save.c :
 *       Rewrote all the code that deals with pixels to be stingy with
 *       memory and opperate on tile-size chunks.  Create a flattened
 *       copy of the image when necessary. Fixes file corruption bug
 *       #167139 and memory bug #121871
2005-02-13 22:29:22 +00:00
Sven Neumann 4c58c5beb7 use context specific labels for the action buttons in the rotate
2005-02-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c: use context specific labels for the
	action buttons in the rotate confirmation dialog.
2005-02-13 00:56:31 +00:00
Sven Neumann 4cf9d0e429 accept an empty string.
2005-02-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprogress.c (gimp_progress_start): accept an empty
	string.

	* app/plug-in/plug-in-progress.c: if NULL is passed as message to
	plug_in_progress_start(), set an empty string on the progress.

	* tools/pdbgen/pdb/progress.pdb:
	* libgimp/gimpprogress.[ch]: wrap the new gimp_progress_set_text()
	PDP function with a function that accepts printf-like arguments.

	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* lots of plug-ins, most of them file plug-ins:
	use gimp_progress_init(NULL) followed by gimp_progress_set_text()
	to initialize the progress using the new API instead of constructing
	a temporary string.
2005-02-13 00:11:24 +00:00
Sven Neumann 344463b7d1 Changes suggested in bug #167200:
2005-02-12  Sven Neumann  <sven@gimp.org>

	Changes suggested in bug #167200:

	* plug-ins/common/unsharp.c: increased maximum value for Amount.

	* app/tools/gimplevelstool.c: changed increments for gamma
	spinbutton.

	* app/tools/gimpcoloroptions.c: increased maximum radius for color
	picking to 300 pixels and made the slider logarithmic.
2005-02-12 21:17:11 +00:00
Sven Neumann 9c4ed4806f use gimp_progress_set_text().
2005-02-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gnomevfs.c: use gimp_progress_set_text().
2005-02-12 18:33:06 +00:00
Sven Neumann 9cabb3e9a4 only set progress value to 0.0 if it isn't 0.0 already. Allows to use
2005-02-12  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-progress.c (plug_in_progress_start): only
	set progress value to 0.0 if it isn't 0.0 already. Allows to use
	gimp_progress_init() to change the progress message w/o causing
	gtk_progress_bar_set_fraction() to be called.

	* plug-ins/uri/uri-backend-gnomevfs.c: use gimp_progress_pulse()
	if the filesize is unknown. Also limit frequency of progress
	updates.
2005-02-12 18:00:16 +00:00
Michael Natterer fc677ae7b4 added GIMP_PROGRESS_COMMAND_PULSE.
2005-02-12  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.h (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_PULSE.

	* libgimpbase/gimpbaseenums.c
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimppdbprogress.c: implement GimpProgress::pulse()
	and send a PULSE command to the callback.

	* libgimp/gimpprogress.c: handle PULSE by calling the set_value()
	callback with a value of -1 and document that hack in the API docs.

	* libgimp/gimpprogressbar.c: interpret -1 as request to pulse.
2005-02-12 15:46:31 +00:00
Michael Natterer 2b84ce5029 use gimp_memsize_to_string() instead of always showing bytes with a
2005-02-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend-gnomevfs.c: use gimp_memsize_to_string()
	instead of always showing bytes with a translatable %llu format
	string. Increased BUFSIZE to 4096.

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): don't
	leak the memsize string. Use sizeof(buf) instead of BUFSIZE.
2005-02-10 20:36:43 +00:00
Sven Neumann 13ce17be63 applied a modified patch from Joao S. O. Bueno Calligaris that adds a
2005-02-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/displace.c: applied a modified patch from Joao
	S. O. Bueno Calligaris that adds a polar mode to the Displace
	plug-in (bug #161131).
2005-02-10 15:26:26 +00:00
David Odin a2a114d2a7 added a preview.
* plug-ins/common/pixelize.c: added a preview.
2005-02-09 19:50:20 +00:00
Sven Neumann 8d020f42f7 marked strings for translation.
2005-02-09  Sven Neumann  <neumann@jpk.com>

	* plug-ins/uri/uri-backend-wget.c: marked strings for translation.
2005-02-09 17:56:24 +00:00
Sven Neumann 8c83ddc063 Applied a patch from Patrice Tremblay that makes (almost) all dialogs obey
2005-02-08  Sven Neumann  <sven@gimp.org>

	Applied a patch from Patrice Tremblay that makes (almost) all
	dialogs obey the "gtk-alternative-button-order" setting
	(bug #166678). Changes too many files to list them all...
2005-02-08 20:40:33 +00:00
Sven Neumann cdcbddfef2 minor cleanup.
2005-02-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c: minor cleanup.
2005-02-08 19:48:58 +00:00
Manish Singh 3609a68fc5 install sphere.py in unstable releases only.
2005-02-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am: install sphere.py in unstable
        releases only.
2005-02-08 19:32:12 +00:00
Manish Singh 47770c91bf plug-ins/pygimp/plug-ins/sphere.py plug-ins/pygimp/plug-ins/gimpcons.py
2005-02-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Just leave imagetypes empty,
        since we don't operate on existing images here. Fixes bug #166650.
2005-02-08 19:24:20 +00:00