Commit Graph

8899 Commits

Author SHA1 Message Date
Danilo Šegan 588b313f48 Added "sr" and "sr@Latn" to ALL_LINGUAS.
2003-06-23  Danilo Šegan  <dsegan@gmx.net>

	* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.

	* po/sr.po, po/sr@Latn.po: Added Serbian translation by Serbian
	team (Prevod.org).
2003-06-23 10:05:48 +00:00
Sven Neumann 4b5bdadc8d updated NEWS 2003-06-23 08:49:58 +00:00
Sven Neumann 742d55466f simplified exif check by using PKG_CHECK_MODULES().
2003-06-23  Sven Neumann  <sven@gimp.org>

	* configure.in: simplified exif check by using PKG_CHECK_MODULES().

	* plug-ins/common/mkgen.pl: allow for multiple library dependencies.

	* plug-ins/common/plugin-defs.pl: added exif dependency to the
	jpeg plug-in.

	* plug-ins/common/Makefile.am: regenerated.
2003-06-23 08:26:25 +00:00
Dave Neary 1abfa8da27 configure.in plug-ins/common/Makefile.am Add support for the keeping of
2003-06-22  Dave Neary  <bolsh@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/jpeg.c: Add support for the keeping of EXIF
	information in jpeg files. This is step 1 in the overall plan to
	an all-singing, all-dancing metadata editor. Next step is to do
	the same thing for TIFFs, then to do both properly as a number of
	parasites rather than one big one, and then to allow a generic
	metadata editor, as well as (possibly) adding a nice way to
	manipulate exif data in the jpeg plug-in while saving.

	This is a modified patch of one posted to the devel list by Lutz
	Muller in February 2002, and subsequently added to bug #56443.
	Sorry it took so long Lutz.
2003-06-22 20:41:22 +00:00
Dave Neary f4c1777a44 Increased default tile cache to 64 MB.
2003-06-22  Dave Neary  <bolsh@gimp.org>

	* app/config/gimpbaseconfig.c: Increased default tile cache
	to 64 MB.
2003-06-22 16:36:31 +00:00
Sven Neumann c73129215e added Encoding, StartupNotify and Bugzilla entries.
2003-06-22  Sven Neumann  <sven@gimp.org>

	* data/misc/gimp.desktop.in.in: added Encoding, StartupNotify and
	Bugzilla entries.
2003-06-22 11:34:33 +00:00
Sven Neumann 80a47eb076 an updated version of PotatoShop keybindings contributed by Eric Pierce
2003-06-22  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: an updated version of PotatoShop keybindings
	contributed by Eric Pierce <epierce@sdf.lonestar.org>.
2003-06-22 10:56:39 +00:00
Michael Natterer 00bf02f52d app/widgets/gimpcontainergridview.c disable workarounds for bugs #110737
2003-06-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c: disable workarounds for
	bugs #110737 and #108956 for GTK+ >= 2.2.2. Will remove them as
	soon as we depend on 2.2.2.

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_select_item): disabled optimization
	which didn't select an already selected iter because it broke the
	fix for #108956. Cleanup.
2003-06-21 14:51:31 +00:00
Sven Neumann f32424aac5 removed calls to ROUND() in two places where they should not have been
2003-06-21  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.c (gimp_hsv_to_rgb_int): removed
	calls to ROUND() in two places where they should not have been
	added. Fixes bug #115626.
2003-06-20 22:12:18 +00:00
Dave Neary 86c1870f00 Enable menus on image windows by default.
2003-06-20  Dave Neary  <bolsh@gimp.org>

	* app/config/gimpdisplayconfig.c: Enable menus on 
	image windows by default.
2003-06-20 16:02:01 +00:00
Pablo Gonzalo del Campo f865ad2348 Updated Spanish translation.
2003-06-20  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-06-20 16:01:17 +00:00
Pablo Gonzalo del Campo 5ed67f586a Updated Spanish translation.
2003-06-20  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-06-20 16:00:45 +00:00
Michael Natterer 119356a692 use plug_in_get_undo_desc() instead of duplicating its code.
2003-06-20  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/message.pdb (message): use
	plug_in_get_undo_desc() instead of duplicating its code.

	* app/pdb/message_cmds.c: regenerated.
2003-06-20 14:13:15 +00:00
Michael Natterer 6684bb8aa8 pass the gdisp_ID to plug_in_run() again. Broke this with my last
2003-06-20  Michael Natterer  <mitch@gimp.org>

	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): pass the
	gdisp_ID to plug_in_run() again. Broke this with my last commit...
2003-06-20 14:05:17 +00:00
Sven Neumann 335c71c4e5 fixed error messages.
2003-06-20  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c (gimp_config): fixed error messages.

	* app/widgets/gimpwidgets-utils.c (gimp_message_box): use a
	selectable label so you can copy from message dialogs.
2003-06-20 11:04:11 +00:00
Michael Natterer 3b1f805bb1 Really commit the changes this time:
2003-06-20  Michael Natterer  <mitch@gimp.org>

	Really commit the changes this time:

	* configure.in: bumped version number to 1.3.16.

	* libgimpbase/gimpprotocol.h: increased protocol version number so
	old extensions will refuse to load.
2003-06-20 10:36:28 +00:00
Jan Morén bd6232537a Updated Swedish translation.
2003-06-20  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-20 09:13:06 +00:00
Sven Neumann 9ab621e731 documentation fixes.
2003-06-19  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch]: documentation fixes.
2003-06-19 18:59:43 +00:00
Michael Natterer db765b886e libgimp/libgimp-sections.txt libgimp/tmpl/gimp.sgml updated/regenerated.
2003-06-19  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimp.sgml
	* libgimp/tmpl/gimptile.sgml: updated/regenerated.
2003-06-19 17:13:38 +00:00
Michael Natterer ecb0b58439 Changed the semantics of GIMP_EXTENSION and (to some extent) of
2003-06-19  Michael Natterer  <mitch@gimp.org>

	Changed the semantics of GIMP_EXTENSION and (to some extent)
	of GIMP_PLUGIN:

	The old meaning of EXTENSION was "I live in the toolbox" and
	PLUGIN meant "I take RUN-MODE,IMAGE,DRAWABLE args (but only if I
	am invoked interactively)". This is completely useless, since
	living in the toolbox means having "<Toolbox>" in the menu_path
	and taking RUN-MODE,IMAGE,DRAWABLE means just that, regardless of
	what type of procedure we are.

	The new meaning of GIMP_PLUGIN is just "I am an ordinary procedure,
	I am invoked, do my job and finish", while GIMP_EXTENSION means
	"I will install temporary procedures and I will keep running to
	keep them available".

	(A GIMP_EXTENSION *must* call gimp_extension_ack() now to tell the
	core that it's ready to run, or the core will block waiting for
	the message !!!).

	* configure.in: bumped version number to 1.3.16.

	* libgimpbase/gimpprotocol.h: increased protocol version number so
	old extensions will refuse to load.

	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): don't
	blindly pass RUN-MODE,IMAGE,DRAWABLE to GIMP_PLUGIN procedures but
	look at their parameters and pass them either RUN-MODE, or
	RUN-MODE,IMAGE, or RUN-MODE,IMAGE,DRAWABLE.

	* app/pdb/procedural_db.c: cleaned up, better error reporting,
	replaced an impossible error message by g_return_if_fail()

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
	better error messages.

	* app/plug-in/plug-in-params.c: allocate parameter arrays using
	g_new0() so we don't have to worry about uninitialized stuff
	later.

	* app/plug-in/plug-in-run.c (plug_in_run): wait for
	gimp_extension_ack() installation confirmation for ALL extensions,
	not just for automatically started ones.

	* app/plug-in/plug-ins.c: cleanup.

	* libgimp/gimp.[ch]: cleaned up and API-documented massively. Made
	all magic values given in the GPConfig message static and added
	accessor functions for them. Added gimp_tile_width()/height().
	Added new function gimp_extension_enable() which turns on
	asynchronous processing of temp_proc run requests without having
	to enter an endless gimp_extension_process() loop. Moved all
	private functions to the end of the file. Added tons of
	g_return_if_fail() all over the place.  Call gimp_run_procedure2()
	from gimp_run_procedure() instead of duplicating the
	code. Indentation, spacing, stuff...

	* libgimp/gimptile.[ch]: removed gimp_tile_width()/height().

	* libgimp/gimpdrawable.c
	* libgimp/gimppixelrgn.c
	* libgimp/gimptile.c: use the gimp_tile_width()/height() accessor
	functions.

	* libgimp/gimp.def: added gimp_extension_enable.

	* libgimp/gimpmenu.c: removed evil code which connected to
	_readchannel manually and use gimp_extension_enable() for watching
	temp_procs.

	* plug-ins/helpbrowser/helpbrowser.c: removed the same evil code
	here and call gimp_extension_enable(). Call gimp_extension_ack()
	to let the core know that the temp_proc is installed.

	* plug-ins/script-fu/script-fu.c: made all procedures except the
	permanently running "extension_script_fu" ordinary GIMP_PLUGIN
	procedures.

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugindetails.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/winclipboard.c
	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/gfli/gfli.c
	* plug-ins/twain/twain.c
	* plug-ins/webbrowser/webbrowser.c
	* plug-ins/winsnap/winsnap.c: made them all ordinary GIMP_PLUGIN
	procedures and renamed them from "extension_*" to "plug_in_*".
	Random cleanups.

	* app/widgets/gimphelp.c
	* plug-ins/maze/maze_face.c: call "plug_in_web_browser" now.
2003-06-19 17:12:00 +00:00
Sven Neumann 267ea34aad when idle dispatching calls to plug-ins, use the data from the last call,
2003-06-19  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpmenu.c: when idle dispatching calls to plug-ins, use
	the data from the last call, not the first one. This fixes some
	weird behaviour that the brush/font/gradient/pattern selection
	widgets showed under certain circumstances.

	* plug-ins/gfig/gfig.c (select_brush_callback): removed debugging
	output that I forgot to remove before my last commit.
2003-06-19 13:01:49 +00:00
Sven Neumann ba647d5e7b plug-ins/FractalExplorer/Dialogs.c plug-ins/common/film.c adapt to libgimp
2003-06-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/film.c
	* plug-ins/script-fu/script-fu-scripts.c: adapt to libgimp API
	changes.
2003-06-19 11:36:12 +00:00
Hans Breuer 9768e4beee replace the win9x specific cd .... with the portable cd ..\..\..
2003-06-19  Hans Breuer  <hans@breuer.org>

	* makefile.msc : replace the win9x specific cd ....
	with the portable cd ..\..\..

	* **/makefile.msc : updated

	* plug-ins/xjt/xjt.c plug-ins/common/psd_save.c :
	there is still no unistd.h with msvc build
2003-06-19 09:57:35 +00:00
Christophe Merlet 2fcb933c8b Updated French translation. 2003-06-18 23:26:58 +00:00
Jan Morén 5d9a83f342 Updated Swedish translation.
2003-06-18  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-18 19:22:21 +00:00
Ivan Stojmirov d0eb7cf6f4 added Macedonian translation 2003-06-18 11:04:04 +00:00
Sven Neumann d1cdae22f4 raise the brush selection dialog if there is one already; various code
2003-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: raise the brush selection dialog if there
	is one already; various code cleanups. Fixes #82475.
2003-06-17 14:33:29 +00:00
Sven Neumann 3aae9ed61a added a missing call to gimp-drawable-fill for the RGB case. Fixed
2003-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/select-to-brush.scm: added a missing
	call to gimp-drawable-fill for the RGB case. Fixed description,
	restore selection and delete the temporary channel. Fixes bug
	#115350.
2003-06-17 14:25:36 +00:00
Sven Neumann f92033d724 fixed description.
2003-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/select-to-brush.scm: fixed description.
2003-06-17 13:41:38 +00:00
Sven Neumann f8ebd89ba9 libgimp/gimpfontmenu.c libgimp/gimpgradientmenu.c minor cleanups.
2003-06-17  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimpmenu.h: minor cleanups.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimppatternmenu.c: destroy the popup window instead of
	hiding it on button_release.
2003-06-17 13:15:37 +00:00
Sven Neumann 1fd0eb07b1 update the BrushSelect "object" when the brush opacity is changed.
2003-06-17  Sven Neumann  <sven@gimp.org>

	* app/gui/brush-select.c (opacity_scale_update): update the
	BrushSelect "object" when the brush opacity is changed.

	* libgimp/gimpmenu.[ch]
	* libgimp/gimpbrushmenu.c
	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c: raise selection dialogs when being
	called again, marked strings for translation, added lots of const
	qualifiers, cleaned up code.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/patterns.pdb: use g_memdup() instead of
	g_memmove().

	* app/pdb/brushes_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/patterns_cmds.c: regenerated.

2003-06-17  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added files with newly marked strings.

	* de.po: updated.
2003-06-17 09:43:14 +00:00
Jan Morén e4d27fc74f Updated Swedish translation.
2003-06-17  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-16 22:41:29 +00:00
Sven Neumann a06a38f56a Fixed some minor issues as described in bug #111188. 2003-06-16 17:51:03 +00:00
Adam D. Moss 65d4c19384 Attempt to use the palette colour closest to that of the GIMP's current
* plug-ins/common/gif.c: Attempt to use the palette colour
	closest to that of the GIMP's current brush background colour
	for the GIF file's background index hint for non-transparency-aware
	image viewers.  NOTE that this is merely a hint and may be
	ignored by this plugin for various (rare) reasons that
	would usually entail writing a somewhat larger image file.
2003-06-16 17:37:11 +00:00
Sven Neumann 98fc5e380e Applied a patch from S. Mukund <muks@mukund.org> fixing rounding problems
2003-06-16  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.c: Applied a patch from S. Mukund
	<muks@mukund.org> fixing rounding problems that caused bug #55261.
2003-06-16 17:30:06 +00:00
Michael Natterer 58222c799c don't fail on brush_spacing values < 0, but behave as documented (use the
2003-06-16  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush_select.pdb (brush_args): don't fail on
	brush_spacing values < 0, but behave as documented (use the
	brush's own spacing).

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/font_select.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/pattern_select.pdb: gtk_window_present() the
	dialog on each set_popup(). This way the dialogs can be risen via
	the PDB by setting the already selected object. Replaced
	unreadable variable names by verbose ones.

	* app/pdb/brush_select_cmds.c
	* app/pdb/font_select_cmds.c
	* app/pdb/gradient_select_cmds.c
	* app/pdb/pattern_select_cmds.c: regenerated.
2003-06-16 17:22:31 +00:00
Sven Neumann 02a015bc6c minor GUI cleanups.
2003-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c: minor GUI cleanups.
2003-06-16 16:29:59 +00:00
Adam D. Moss dd29f3e0bb Avoid memory corruption when things get shot to hell in the image
* plug-ins/common/psd.c: Avoid memory corruption when things
	get shot to hell in the image unpacking phase.
2003-06-16 16:09:59 +00:00
Sven Neumann 067fb6a390 don't call file_dialog_update_name() here. Fixes bug #112273.
2003-06-16  Sven Neumann  <sven@gimp.org>

	* app/gui/file-open-dialog.c (file_open_dialog_set_type): don't
	call file_dialog_update_name() here. Fixes bug #112273.
2003-06-16 14:38:00 +00:00
Michael Natterer 948e64ce0a minor cleanups. (struct dbbrowser_t): use GimpDBBrowserApplyCallback type
2003-06-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups.
	(struct dbbrowser_t): use GimpDBBrowserApplyCallback type instead
	of duplicating its signature when specifying the "apply_callback"
	member.  Minor cleanups
2003-06-16 11:40:11 +00:00
Michael Natterer 6de5b803e2 use gimp_datafiles_read_directories() instead of doing the same manually.
2003-06-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
	use gimp_datafiles_read_directories() instead of doing the same
	manually.

	* plug-ins/script-fu/siod-wrapper.c (siod_init): s/gint/gboolean/.
2003-06-16 11:31:10 +00:00
Sven Neumann c39268ce71 set focus on the entry widget.
2003-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c
	(script_fu_console_interface): set focus on the entry widget.
2003-06-16 10:45:56 +00:00
Dmitry Mastrukov 5728ef7549 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2003-06-16 05:04:23 +00:00
Kwok-Koon Cheung 25b4c0bb3c Updated traditional Chinese translation 2003-06-15 22:38:01 +00:00
Miloslav Trmac d9b95aaa34 Update Czech translation 2003-06-14 14:18:31 +00:00
Jan Morén 1a898b2eb0 Updated Swedish translation.
2003-06-14  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-14 10:21:23 +00:00
Sven Neumann 074f6c1b64 removed duplicate of Threshold menu entry.
2003-06-14  Sven Neumann  <sven@gimp.org>

	* app/gui/image-menu.c (image_menu_entries): removed duplicate of
	Threshold menu entry.
2003-06-14 00:40:05 +00:00
Sven Neumann aa4448db64 app/gui/info-window.c libgimpcolor/gimpcolorspace.c libgimpcolor/gimprgb.c
2003-06-13  Sven Neumann  <sven@gimp.org>

	* app/gui/info-window.c
	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimprgb.c
	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: use ROUND() where appropriate.

	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_render): use
	gimp_rgb_get_uchar().
2003-06-13 16:44:21 +00:00
Michael Natterer 4dcb6a3757 added plug-ins/common/psd_save.c
2003-06-13  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added plug-ins/common/psd_save.c
2003-06-13 15:32:46 +00:00
Michael Natterer 6cba7a86c4 Updated.
2003-06-13  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: Updated.
2003-06-13 14:39:04 +00:00