Commit graph

3979 commits

Author SHA1 Message Date
Sven Neumann 3cdaea33d1 reverted a change that I had committed accidentally.
2005-05-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpenums.py: reverted a change that I had
	committed accidentally.
2005-05-14 15:39:31 +00:00
Michael Natterer b212efe919 register descriptions for the GimpPDBProcType enum.
2005-05-14  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]: register descriptions for the
	GimpPDBProcType enum.

	* plug-ins/dbbrowser/gimpprocview.c
	* tools/pdbgen/pdb/procedural_db.pdb: get rid of all selfmade
	enum->string mapping. Get the strings from the GType system instead.

	* app/pdb/procedural_db_cmds.c
	* libgimp/gimpproceduraldb_pdb.c: regenerated.
2005-05-14 15:10:47 +00:00
Michael Natterer 284076b005 plug-ins/dbbrowser/gimpprocbrowser.c implement typeahead search and get
2005-05-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: implement typeahead search
	and get rid of the search buttons in the action area. Cleaned up
	dialog layout and code. Fixes bug #301287.
2005-05-13 15:58:16 +00:00
Tor Lillqvist 1f1aa573f9 Don't bother looking for fd_set on Win32, we won't find it in sys/types.h
2005-05-13  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't bother looking for fd_set on Win32, we won't
	find it in sys/types.h or (the nonexistent) sys/select.h
	anyway. (It's in winsock2.h.)

	* plug-ins/common/xpm.c: Include gdkconfig.h for GDK_WINDOWING_WIN32.

	* plug-ins/script-fu/script-fu-server.c: Give it a chance to work
	on Win32 by covering for the differences between the WinSock and
	Unix socket APIs. Use recv() and send() instead of read() and
	write() on sockets. On Win32, use closesocket() for sockets
	instead of close(). Don't use perror() or look at errno after
	socket API errors on Win32. No EINTR failure mode with WinSock 2.
	(print_socket_api_error): New function. On Unix, just call
	perror(). On Win32, call WSAGetLastError() and produce an
	appropriate error message on stderr.

	* plug-ins/script-fu/Makefile.am (WINSOCK_LIBS): Link with the
	winsock2 library, as we compile with the winsock2 header.
2005-05-13 12:50:35 +00:00
Sven Neumann 2a993238dd added missing brackets. Fixes bug #303972.
2005-05-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c (WriteBMP): added missing brackets.
	Fixes bug #303972.
2005-05-12 23:53:22 +00:00
Sven Neumann c9933fca55 split the message into primary and secondary label.
2005-05-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_query): split the message into
	primary and secondary label.
2005-05-11 21:25:52 +00:00
David Odin 46ed4f2cb6 use the correct bounds for the spinners. This is related to #114225.
* plug-ins/common/grid.c: use the correct bounds for the spinners.
  This is related to #114225. Spotted by Lomaxx.
2005-05-09 19:32:03 +00:00
Sven Neumann 8f49da491c sprinkled some const qualifiers.
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: sprinkled some const qualifiers.
2005-05-09 10:41:39 +00:00
Sven Neumann 9d0d9f1653 removed traces of plug-ins/common,
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am: removed traces of plug-ins/common,
2005-05-09 00:12:07 +00:00
jaycox cc140a9b25 add comments describing thumbnail resource. >
* plug-ins/common/psd.c: add comments describing thumbnail resource.
>
2005-05-07 07:58:20 +00:00
Sven Neumann b163c36962 plug-ins/winicon/icoload.c added a thumbnail loader for .ico files Fixes
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/main.c: added a thumbnail loader for .ico files
	Fixes bug #158191.
2005-05-07 00:06:33 +00:00
Sven Neumann e016f2db02 more preparations for thumbnail loading 2005-05-06 23:42:14 +00:00
Sven Neumann f3e9122465 plug-ins/winicon/icoload.[ch] code cleanup, prepare for thumbnail loading.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.[ch]
	* plug-ins/winicon/main.c: code cleanup, prepare for thumbnail
	loading.
2005-05-06 23:26:04 +00:00
Michael Natterer 65098dda2b use G_DIR_SEPARATOR instead of '/'.
2005-05-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compressor.c: use G_DIR_SEPARATOR instead of '/'.

	* plug-ins/common/mail.c: ditto. Fixed some coding style issues.
	Special case .bz2 files just as .gz ones.
2005-05-06 19:36:12 +00:00
Kevin Cozens b93a15b17d Moved two set!'s in to the let block.
2005-05-04  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/tiny-fu-set-cmap.sct: Moved two set!'s in to the let block.
2005-05-04 18:38:27 +00:00
Sven Neumann d19d603adb special case percentage < 0 and pulse progress.
2005-05-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (progress_update): special case
	percentage < 0 and pulse progress.
2005-05-03 21:29:28 +00:00
Sven Neumann 5a85d5e770 applied a patch from David Costanzo that adds missing error handling to
2005-04-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that
	adds missing error handling to the BMP loader, allowing it to deal
	gracefully with incomplete BMP image files.
2005-04-30 11:15:53 +00:00
Sven Neumann 987a4cc15a plug-ins/winicon/icodialog.c changed dialog layout.
2005-04-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icosave.c: changed dialog layout.
2005-04-29 20:03:46 +00:00
Manish Singh 1b49742c19 don't reset the passed parameters to default values. Spotted by Joao S. O.
2005-04-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/clothify.py: don't reset the passed
        parameters to default values. Spotted by Joao S. O. Bueno Calligaris.
2005-04-29 04:28:44 +00:00
Sven Neumann 998ea546cd detach from the drawable.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image): detach from the drawable.
2005-04-28 12:12:12 +00:00
Sven Neumann f08c5b268a added more standard keybindings.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added more standard keybindings.
2005-04-27 13:05:19 +00:00
Sven Neumann a37003919d don't mark the menu identifier for translation.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/metadata/metadata.c: don't mark the menu identifier for
	translation.
2005-04-27 12:47:35 +00:00
Sven Neumann 3c3ed424dd use the standard order of "static" and "inline" qualifiers.
2005-04-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c: use the standard order of
	"static" and "inline" qualifiers.
2005-04-26 09:16:24 +00:00
David Odin 89c1535009 update the preview continuously when the color changes in the color
* plug-ins/common/colortoalpha.c: update the preview continuously when
  the color changes in the color selector.
2005-04-25 19:44:02 +00:00
Manish Singh 16c86d0dbd Only store compression types we can actually handle in the save options
2005-04-25  Manish Singh  <yosh@gimp.org>

        * plug-in/common/tiff.c: Only store compression types we can actually
        handle in the save options parasite. Fixes bug #301557.
2005-04-25 07:42:52 +00:00
Hans Breuer 28a2b13581 build menus with nmake, too menus/Makefile.am : added to EXTRA_DIST
2005-04-24  Hans Breuer  <hans@breuer.org>

	* menus/makefile.msc : build menus with nmake, too
	  menus/Makefile.am : added to EXTRA_DIST

	* **/makefile.msc app/gimpcore.def : updated

	* app/base/tmp-buf.c : there is no pid_t with msvc so typedef one
2005-04-24 15:39:15 +00:00
Raphael Quinet 62d8e69515 Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore).
2005-04-23  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-schemas.[ch]: Added definition of
	properties from IPTC Core XMP schema (Iptc4xmpCore).

	* plug-ins/metadata/base64.[ch]: Added option to ignore invalid
	characters in base64 encoded text.

	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/testbase64.c: Updated accordingly.
2005-04-23 10:02:51 +00:00
Raphael Quinet 15da11125d Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore).
2005-04-23  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-schemas.[ch]: Added definition of
	properties from IPTC Core XMP schema (Iptc4xmpCore).

	* plug-ins/metadata/base64.[ch]: Added option to ignore invalid
	characters in base64 encoded text.

	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/testbase64.c: Updated accordingly.
2005-04-23 10:01:24 +00:00
Sven Neumann d1486ee5fb configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2005-04-22  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/winclipboard.c: removed winclipboard plug-in
	from CVS. It is not any longer needed as long as GTK+ >= 2.6.5
	is being used. Fixes bug #165219.
2005-04-22 16:51:18 +00:00
Sven Neumann 99c2a108ff shut up CVS 2005-04-22 15:16:32 +00:00
Raphael Quinet c30453f49d Fixed crash occuring after a double free of some structured XMP
2005-04-22  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-model.[ch]: Fixed crash occuring after a
	double free of some structured XMP properties.  Added new type
	XMP_TYPE_GENERIC_STRUCTURE for unknown structured properties.  Be
	more tolerant in parsing incorrectly written schema URIs and try
	to extract a valid URI from them.  Converted to use g_print().
	Moved the definitions of standard XMP schemas from here...

	* plug-ins/metadata/xmp-schemas.[ch]: ...to these new files.

	* plug-ins/metadata/xmp-encode.[ch]: Rewritten using GString
	instead of fixed buffers.

	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/interface.c: Adapted to the new function
	xmp_generate_block() using GString.

	* plug-ins/metadata/base64.c (base64_encode): Fixed incorrect
	encoding of bytes with the sign bit set.

	* plug-ins/metadata/testbase64.c
	* plug-ins/metadata/Makefile.am: Added xmp-schema.[ch] and test
	program testbase64.c (testing base64 encoding and decoding).

	* plug-ins/metadata/xmpdump.c: Converted to use g_print().

	* plug-ins/metadata/xmp-parse.c: Added some #ifdef's around
	debugging code, added more comments.
2005-04-22 15:04:29 +00:00
Manish Singh 635282819a pass -dUseCropBox when loading PDF files, to match Acrobat Reader's
2005-04-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/postscript.c: pass -dUseCropBox when loading PDF
        files, to match Acrobat Reader's behavior in honoring CropBox over
        MediaBox. Fixes bug #301432.
2005-04-21 10:46:52 +00:00
Sven Neumann bbe304e874 make more labels selectable.
2005-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/gimpprocview.c: make more labels selectable.
2005-04-21 10:23:29 +00:00
Sven Neumann ba09519000 plug-ins/Lighting/images/Makefile.am plug-ins/gfig/images/Makefile.am
2005-04-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/images/Makefile.am
	* plug-ins/gfig/images/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/imagemap/images/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/rcm/images/Makefile.am: use $(GDK_PIXBUF_CSOURCE) as
	defined by the configure script.

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/wilber-reading.png: added icon.

	* plug-ins/helpbrowser/gimpthrobber.[ch]: added API to set an image
	to be used instead of the stock-id.

	* plug-ins/helpbrowser/dialog.c: use the Reading Wilber icon for
	the throbber and as window icon.
2005-04-20 20:19:14 +00:00
Sven Neumann fe06c3018f set charset to UTF-8. Initialize the filename from the image's filename.
2005-04-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: set charset to UTF-8. Initialize the
	filename from the image's filename. Don't set From: if the Sender
	entry remains blank. Reordered dialog.
2005-04-20 00:40:32 +00:00
Manish Singh 76c85d918a #include gimpwidgets.h for gimp_spin_button_new().
2005-04-18  Manish Singh  <yosh@gimp.org>

        * libgimpwidgets/gimpsizeentry.c: #include gimpwidgets.h for
        gimp_spin_button_new().

        * plug-ins/jpeg/jpeg-load.c
        * plug-ins/jpeg/jpeg-save.c
        * plug-ins/metadata/interface.c
        * plug-ins/metadata/xmp-parse.c: 64-bit safety for some of the
        debugging g_prints.
2005-04-18 23:38:25 +00:00
Manish Singh 11a8643091 Really remove all non-applicable copyright statements 2005-04-18 19:07:07 +00:00
Manish Singh a34f893f7d Redo comment for spot_PSsquare and spot_PSdiamonds, since the code was not
2005-04-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/newsprint.c: Redo comment for spot_PSsquare
        and spot_PSdiamonds, since the code was not a derived work in
        the copyright sense. It is a C implementation of the same
        algorithm.
2005-04-18 19:02:18 +00:00
Raphael Quinet d54c1ee801 Added comment to clarify the copyright notice (bug #301076).
2005-04-18  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/newsprint.c: Added comment to clarify the
	copyright notice (bug #301076).
2005-04-18 16:29:00 +00:00
Sven Neumann 1ff66ea24c restrict the menus to 15 items.
2005-04-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: restrict the menus to 15 items.
2005-04-18 10:50:44 +00:00
Raphael Quinet c9979abf5f Added parameter 'columns' to base64_encode() to add optional line breaks
2005-04-18  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/base64.[ch]: Added parameter 'columns' to
	base64_encode() to add optional line breaks in the output.
	Improved documentation.
2005-04-18 05:06:48 +00:00
Kevin Cozens 5c1b759a42 Made readstr_upto() stop reading input when it hits a NUL byte. Fixes
2005-04-17  Kevin Cozens  <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Made readstr_upto() stop reading input when it
	hits a NUL byte. Fixes problem reported by Sam Phillips. Added check
	for an EOF character in is_one_of() as was in the original version of
	TinyScheme. Also removed some #if'ed code.
2005-04-17 18:10:21 +00:00
Sven Neumann 129f83e205 code cleanup 2005-04-17 17:02:46 +00:00
Sven Neumann 9db2219e74 workaround a GTK+ bug to make the tooltips for the Back and Forward
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: workaround a GTK+ bug to make the
	tooltips for the Back and Forward buttons appear.
2005-04-17 16:32:10 +00:00
Sven Neumann b73e908ca5 use gimp_spin_button_new() which calls gtk_spin_button_set_numeric() for
2005-04-17  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.c: use gimp_spin_button_new() which
	calls gtk_spin_button_set_numeric() for us. Part of a fix for bug
	#300935.

	* libgimpwidgets/gimpwidgets.c: improved the API docs for
	gimp_spin_button_new().

	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimplevelstool.c
	* plug-ins/common/screenshot.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/winsnap/winsnap.c: use gimp_spin_button_new().
2005-04-17 15:28:28 +00:00
Sven Neumann ea67630394 set a busy cursor while loading a page. Offer drag as "text/uri-list" in
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: set a busy cursor while loading a
	page. Offer drag as "text/uri-list" in addition to "_NETSCAPE_URL".
2005-04-17 13:17:33 +00:00
Sven Neumann 99140085c3 libgimpwidgets/gimpstock.c register a wilber in button size.
2005-04-17  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.c
	* themes/Default/images/Makefile.am: register a wilber in button size.

	* plug-ins/helpbrowser/gimpthrobber.c: choose a slightly larger
	icon than the configured size for toolbars.
2005-04-17 01:22:35 +00:00
Sven Neumann f0d1f905ed added actions to zoom in/out.
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added actions to zoom in/out.

	* plug-ins/helpbrowser/gimpthrobberaction.[ch]: fixed handling of
	overflow menu items.
2005-04-17 00:57:22 +00:00
Sven Neumann dab360d9d4 plug-ins/helpbrowser/Makefile.am plug-ins/helpbrowser/gimpthrobber.[ch]
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/gimpthrobber.[ch]
	* plug-ins/helpbrowser/gimpthrobberaction.[ch]: new files
	implementing a custom GtkToolItem and a GtkAction to use it.

	* plug-ins/helpbrowser/dialog.c: use the new widget.
2005-04-17 00:22:50 +00:00
Michael Natterer cabb5e01a9 plug-ins/script-fu/scripts/guides-new-percent.scm don't use undo groups.
2005-04-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-new-percent.scm
	* plug-ins/script-fu/scripts/guides-new.scm: don't use undo
	groups. It's useless for a single operation and it's wrong to use
	the undo group unconditionally, but add the guides conditionally.
2005-04-16 23:43:37 +00:00