Commit Graph

4855 Commits

Author SHA1 Message Date
Michael Natterer cdd0a5147d app/fileops.c Make sure that we don't try to destroy query_boxes twice or
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c
	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
	query_boxes twice or try to disconnect not-any-more connected
	handlers.

	* app/color_notebook.c
	* app/gimpcontext.[ch]
	* app/gimphelp.[ch]
	* app/lc_dialog.[ch]
	* app/menus.h
	* app/preferences_dialog.c
	* app/tools.[ch]
	* libgimp/gimpcolorbutton.[ch]
	* libgimp/gimpdialog.[ch]
	* libgimp/gimpexport.[ch]
	* libgimp/gimpfileselection.[ch]
	* libgimp/gimphelpui.[ch]
	* libgimp/gimppatheditor.[ch]
	* libgimp/gimppixmap.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpui.[ch]
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
	and many other strings passed to UI functions to (const gchar *).
	As a consequence, I had to fix lots of warnings ;)

	* plug-ins/common/tga.c
	* plug-ins/imagemap/imap_main.c: fixed warnings.

	Code cleanup and indentation all over the place.
2000-11-18 00:25:42 +00:00
Marc Lehmann e1234e642f see plug-ins/perl/Changes 2000-11-17 18:41:57 +00:00
Valek Frob 48f722f7b6 Updated russian translation. 2000-11-17 14:48:21 +00:00
Sven Neumann e94f7fd15e plug-ins/print/Makefile.am set the locale to "gimp-std-plug-ins". We do
2000-11-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c: set the locale to "gimp-std-plug-ins". We
	do this by defining LOCALE in the Makefile so the gimp-print people
	can define their own value and we can still continue to use the same
	C files that ship with the standalone gimp-print package. Thanks to
	Zbigniew Chyla <cyba@gnome.pl> for pointing this out.
2000-11-16 21:26:11 +00:00
Sven Neumann c84c286b87 we used to g_free memory returned by strdup() here! Also we used to append
2000-11-15  Sven Neumann  <sven@gimp.org>

	* app/fileops.c: we used to g_free memory returned by strdup() here!
	Also we used to append DIR_SEPARATORs to the filename shown in the
	file_selector even if it already ended in one. Fixed all this, closed
	a memleak and cleaned up the code.
2000-11-15 17:48:43 +00:00
Valek Frob 353f6a72ac Updated russian translation. 2000-11-14 15:59:42 +00:00
Sven Neumann 8b515dee56 updated german translation 2000-11-14 11:59:26 +00:00
Christian Rose 5b7f69ecc2 Updated Swedish translation. 2000-11-14 02:45:14 +00:00
Chyla Zbigniew 1cdb81c669 Updated Polish translation 2000-11-13 18:11:24 +00:00
Christian Rose 5fab9ace9e Updated Swedish translation. 2000-11-13 12:48:20 +00:00
Manish Singh c4a14f3be7 set all the locale variables we can, to make sure we get predictable
* plug-ins/common/url.c: set all the locale variables we can, to
make sure we get predictable output from wget

-Yosh
2000-11-13 09:30:09 +00:00
Kenneth Christiansen bc1638c7d6 Translations from keld
gimp/po/da.po gnome-applets/po/da.po gnome-core/po/da.po
gnome-db/po/da.po gnome-games/po/da.po gnome-vfs/po/da.po
gnomeicu/po/da.po gtranslator/po/da.po
2000-11-13 01:57:53 +00:00
Simon Budig cc2f917cc5 fixed #10554 by requesting a window with the max. size of
2000-11-11  Simon Budig <simon@gimp.org>

        * app/interface.c: fixed #10554 by requesting a window
        with the max. size of 0.75*screen_width x 0.75*screen_height.
        These 75% value is taken from the shrink_wrap code and
        probably should be configurable...
2000-11-12 00:43:15 +00:00
Tor Lillqvist 496f8271ea Remove leftover misleading comment. 2000-11-11 21:54:53 +00:00
Tor Lillqvist 656c724a45 Implement the noninteractive run mode for file_gih_save. Whew, it took
2000-11-11  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/gpb.c: Implement the noninteractive run mode for
	file_gih_save. Whew, it took some trial-and-error iterations to
	figure out how to call this from script-fu, for testing, because
	of the int8 and string array args. Include script-fu snippet in
	comment for reference.
2000-11-11 21:09:25 +00:00
Garry R. Osgood c24b37e51c 2000-11-11 Garry R. Osgood <gosgood>@idt.net *
app/gimpbrushpipe.c
Double frees due to dangling pointers [gimpbrushpipe.c
CVS-1.27 Lines 396 ff]. Upon failure to load an n-th
pixmap, a GPattern holding the dangling pointers would
be released first, also releasing n-1 pixmap's name and
RGB mask. These would again be freed in pipe and GTK
deconstruction.
2000-11-11 15:48:27 +00:00
Tor Lillqvist 5ff22ad0d0 Use '/' instead of G_DIR_SEPARATOR. We are scanning a "preset" file here,
2000-11-11  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/gimpressionist/gimpressionist.c (readdirintolist_real,
	reselect): Use '/' instead of G_DIR_SEPARATOR. We are scanning a
	"preset" file here, with file names always in Unix format. Thanks
	to Jean-Louis HAMEL for this fix.
2000-11-10 22:38:48 +00:00
Manish Singh 0dac10c777 AUTHORS app/authors.h Correct Ray Lehtiniemi's name
* AUTHORS
* app/authors.h
* tools/authorsgen/contributors: Correct Ray Lehtiniemi's name

-Yosh
2000-11-09 23:55:38 +00:00
Sven Neumann 4f2e4fe758 removed some debugging printf statements that were accidentally left in
2000-11-09  Sven Neumann  <sven@gimp.org>

        * plug-ins/gap/gap_lib.c: removed some debugging printf statements
        that were accidentally left in the code.
2000-11-09 19:57:34 +00:00
Michael Natterer f2eb5c25f5 added a confirm dialog for <Image>/File/Revert as suggested by Marc. The
2000-11-09  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c: added a confirm dialog for <Image>/File/Revert
	as suggested by Marc. The old behaviour of simply reverting
	withuot asking is questionable because the "Revert" menu item is
	directly below "Save as..."
2000-11-09 19:12:20 +00:00
Marc Lehmann f961797b3d *** empty log message *** 2000-11-09 15:53:53 +00:00
Sven Neumann 539074b73d sanity check new width and height. Wrong values might result in a divide
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tile.c (tile): sanity check new width and height.
	Wrong values might result in a divide by zero.
2000-11-08 22:41:13 +00:00
Michael Natterer 841c4278e2 plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/mail.c
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c
	* plug-ins/common/mail.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/url.c: applied a (modified) version of
	gimp-quinet-20001108-1.patch which adds proper checking of the
	return value of waitpid(). Removed the lines adding
	gimp_signal_private() because of the fix below.

	* libgimp/gimp.c: Don't install a SIGCHLD signal handler but simply
	call gimp_signal_private(SIGCHLD, SIG_DFL, SA_RESTART) instead.

	This is IMHO the right thing to do because the reason for the
	introducion of the signal handler was the SA_RESTART feature
	and not the handler itself.
2000-11-08 21:58:22 +00:00
Sven Neumann 13dc11ad6d fixed bug #10151 (Script-fu shadow perspective doesn't work properly).
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/perspective-shadow.scm: fixed bug
	#10151 (Script-fu shadow perspective doesn't work properly).
2000-11-08 21:00:32 +00:00
Sven Neumann a36a33eb59 eeek, somehow a closing brace ended up in the emacs window before
I commited...


--Sven
2000-11-08 19:12:25 +00:00
Sven Neumann d5fc1370b9 Cleaned up the code further.
--Sven
2000-11-08 19:09:28 +00:00
Sven Neumann 6937d374a1 fixed the option_menu code for the DCT and subsampling options. Fixes bug
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: fixed the option_menu code for the
	DCT and subsampling options. Fixes bug #31253.
2000-11-08 17:51:57 +00:00
Sven Neumann 9aefcf627a Reverted a tiny part of my latest change since the old code was OK while
my change did introduce a memleak. Oooops.
2000-11-08 16:57:47 +00:00
Sven Neumann 3bf5c53997 updated the developers documentation 2000-11-08 15:35:21 +00:00
Sven Neumann df466ed1dc cleaned up the code and moved interface variables into a structure, thus
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: cleaned up the code and
	moved interface variables into a structure, thus getting rid of
	most global variables. When a script is run, we now check that
	there's no Script-Fu interface active and fail silently if there
	is one. This is an ugly workaround for the fact that the script-fu
	interpreter can not handle multiple scripts at the same time.
	Sort of fixes bug #30665.

	While I was on it, I added proper error reporting for script-fu
	which should help significantly when debugging script-fus.

	* plug-ins/script-fu/script-fu.c: indentation and small cleanups.

	* plug-ins/script-fu/scripts/title-header.scm: fixed this script
	which had been broken for a long time.
2000-11-08 14:35:50 +00:00
Jorge Godoy af1f98dbe4 updating pt_BR 2000-11-08 14:04:07 +00:00
Jorge Godoy 31cd6fe3cc Automatically updating some pt_BR and Spanish translatios (sendpos.sh script)
any problem: ricardo@conectiva.com.br

thanks.
2000-11-08 12:37:28 +00:00
Chyla Zbigniew 2fa2f801db Updated Polish translation 2000-11-08 11:17:55 +00:00
Michael Natterer 42ac0856f7 tyop. 2000-11-07 23:50:16 +00:00
Michael Natterer ea31de799a plug-ins/fp/fp_gdk.c #include <libgimp/gimpmath.h> g* types, stuff.
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/fp/fp_gdk.c
	* plug-ins/fp/fp_gtk.c: #include <libgimp/gimpmath.h> g* types, stuff.
2000-11-07 23:34:19 +00:00
Michael Natterer bf18b4b7c9 plug-ins/print/RELNOTES Version 4.0.2 (this time the official one, not
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/RELNOTES
	* plug-ins/print/print-canon.c: Version 4.0.2 (this time the
	official one, not just the README saying 4.0.2 :)
2000-11-07 23:23:02 +00:00
Michael Natterer 312c680047 Makefile.am gimp.spec.in user_install new file gtkrc_user which gets
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* gimp.spec.in
	* user_install
	* gtkrc_user: new file gtkrc_user which gets installed as
	~/.gimp-1-1/gtkrc (We used to parse the same file twice if the
	user didn't the change user-specific gtkrc. The new file has
	comments only).

	* app/app_procs.c: g_free() the user gtkrc filename after use.

	* libgimp/gimpui.c: parse the user gtkrc here too.
2000-11-07 23:12:03 +00:00
Andrew V. Samoilov cff8769c16 spelled
* ru.po: spelled
2000-11-07 21:46:10 +00:00
Sven Neumann 994cc2d8c6 fixed typo in my latest entry 2000-11-07 18:38:11 +00:00
Sven Neumann f6fb459511 use gdk_fonset_load() as we do in text_render(). Supposed to fix #31099.
2000-11-07  Sven Neumann  <sven@gimp.org>

	* app/text_tool.c (text_get_extends): use gdk_fonset_load() as we
	do in text_render(). Supposed to fix #31099.
2000-11-07 18:37:28 +00:00
Sven Neumann 5b3cf3bd6d applied a patch from Raphael Quinet which adds a check for the return
2000-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: applied a patch from Raphael
	Quinet which adds a check for the return value of waitpid().
2000-11-07 15:54:31 +00:00
Stanislav Brabec c0bc1db6e9 czech translation update 2000-11-06 22:28:23 +00:00
Daniel Egger a2bc52ec29 Added new language hr (Croatian).
2000-11-06  Daniel Egger <egger@suse.de>

        * configure.in: Added new language hr (Croatian).
2000-11-06 15:49:53 +00:00
Sven Neumann eb3b988d94 plug-ins/gap/gap_filter_foreach.c plug-ins/gap/gap_filter_pdb.c
2000-11-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gap/gap_filter_foreach.c
	* plug-ins/gap/gap_filter_pdb.c
	* plug-ins/gap/gap_lib.c
	* plug-ins/gap/gap_mod_layer.c
	* plug-ins/gap/gap_range_ops.c
	* plug-ins/gap/gap_split.c: check if return_value of PDB calls is
	!= GIMP_PDB_SUCCESS, not == FALSE. Use GIMP_RUN_WITH_LAST_VALS on
	consecutive calls of gimp_file_save procedures, so the values set
	in the first interactive call are used for all frames.

... and updated the german translation ....
2000-11-06 12:52:06 +00:00
Sven Neumann 746c37eb7e moved the new enum Garry introduced recently from the header to the .c
2000-11-06  Sven Neumann  <sven@gimp.org>

	* app/convolve.[ch]: moved the new enum Garry introduced recently
	from the header to the .c file so it does not get exported to the
	PDB by enumgen.pl.

and some updates to the italian translation as sent by Daniele Medri.
2000-11-06 12:40:07 +00:00
jaycox 9b632677a2 Make sure that we are not using bad file names for generated brushes.
* app/gimpbrushlist.c:  Make sure that we are not using bad file names
	for generated brushes.
2000-11-05 14:11:45 +00:00
jaycox e3538264b6 Add some comments. Delete some commented code. Make sure that we are not
* app/paint_funcs.c:  Add some comments.  Delete some commented code.
	* app/gimpbrushlist.c:  Make sure that we are not using bad file names
	for generated brushes.
2000-11-05 13:58:17 +00:00
SHIRASAKI Yasuhiro 1df41ffd94 updated japanese translation.
-- yasuhiro
2000-11-05 02:29:35 +00:00
Chyla Zbigniew 105a1d86ee Updated Polish translation 2000-11-04 21:50:16 +00:00
Garry R. Osgood 2bcc63533c Garry R. Osgood <gosgood>@idt.net
Convolution tool can now operate
in two-pixel regions at the edge
of images. Closes #19285. See
http://idt.net/~gosgood/gimp-patch/patch08.html
2000-11-04 17:54:01 +00:00