Commit Graph

11063 Commits

Author SHA1 Message Date
Simon Budig 40f40c8570 properly use src_rgn.rowstride when initializing the target region. Fixes
2004-01-23  Simon Budig  <simon@gimp.org>

	* plug-ins/common/mosaic.c: properly use src_rgn.rowstride when
	initializing the target region. Fixes bug #132271.
2004-01-23 22:42:28 +00:00
Christophe Merlet 8d80a28d0b Updated French translation. 2004-01-23 22:39:02 +00:00
Christophe Merlet d4881ca1a4 Updated French translation. 2004-01-23 22:37:27 +00:00
Manish Singh 6a0d47587b made the pygtk minimum version an m4 define as well.
2004-01-23  Manish Singh  <yosh@gimp.org>

        * configure.in: made the pygtk minimum version an m4 define as well.
2004-01-23 22:32:53 +00:00
Michael Natterer 57911bbcba app/app_procs.c app/errors.c app/main.c app/config/gimpconfigwriter.c
2004-01-23  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c
	* app/errors.c
	* app/main.c
	* app/config/gimpconfigwriter.c
	* app/core/gimpdata.c
	* app/core/gimpdatafactory.c
	* app/gui/user-install-dialog.c
	* app/plug-in/plug-ins.c
	* app/vectors/gimpvectors-import.c: some more gimp_filename_to_utf8().

	* libgimp/gimp.c
	* libgimpmodule/gimpmodule.c
	* libgimpmodule/gimpmoduledb.c: use it here, too, now that is in
	libgimpbase.
2004-01-23 17:24:44 +00:00
Pablo G. del Campo 62c71b91c9 Updated Spanish translation.
2004-01-23  Pablo G. del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2004-01-23 15:53:22 +00:00
Danilo Šegan c2aedff735 Updated Serbian translation (tips). 2004-01-23 11:58:47 +00:00
Danilo Šegan 4f6cc1c167 Updated Serbian translation (script-fu). 2004-01-23 11:56:37 +00:00
Danilo Šegan c3cb16a946 Updated Serbian translation (plug-ins). 2004-01-23 11:55:51 +00:00
Danilo Šegan 98ff32d5b9 Updated Serbian translation (gimp ui). 2004-01-23 11:52:22 +00:00
Henrik Brix Andersen 4b4e3338ab s/ps/postscript/ to shut up cvs.
2004-01-23 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/.cvsignore: s/ps/postscript/ to shut up cvs.
2004-01-23 10:30:58 +00:00
Manish Singh e095443053 plug-ins/common/plugin-defs.pl renamed ps to postscript, so automake
2004-01-22  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/Makefile.am: renamed ps to postscript, so automake
        doesn't get confused.
2004-01-22 23:04:53 +00:00
Sven Neumann 7c31305861 libgimpmodule depends on gmodule-2.0 and gobject-2.0. Incorporate both
2004-01-22  Sven Neumann  <sven@gimp.org>

	* configure.in: libgimpmodule depends on gmodule-2.0 and gobject-2.0.
	Incorporate both into GMODULE_CFLAGS and GMODULE_LIBS.
2004-01-22 21:13:17 +00:00
Ole Laursen 596b15b401 Updated Danish translation.
2004-01-22  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2004-01-22 17:51:09 +00:00
Sven Neumann ba1c2b4792 removed outdated and unmaintained debian package description. The debian
2004-01-22  Sven Neumann  <sven@gimp.org>

	* debian/*: removed outdated and unmaintained debian package
	description. The debian package is well maintained without keeping
	these files in our CVS tree.
2004-01-22 15:41:45 +00:00
Ville Pätsi f39c3a4303 Added a depedency for libexif
* gimp.spec.in: Added a depedency for libexif
2004-01-22 15:30:53 +00:00
Michael Natterer 7d93951d3b plug-ins/common/gbr.c store the brush/pattern's name in a parasite
2004-01-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gbr.c
	* plug-ins/common/pat.c: store the brush/pattern's name in a
	parasite attached to the image. The parasite overrides the
	RUN_WITH_LAST_VALS logic if it exists. Consistently set the
	description as the layer's name, but ignore the layer's name
	when saving because it may have been modified by exporting.
	Fixes bug #131450.

	Misc. cleanup/fixes: Don't assume that strncpy() nul-terminates
	the buffer, use sizeof() instead of magic numbers, sanitize
	descriptions using gimp_any_to_utf8(), always use strncpy()
	instead of strcpy().

	* devel-docs/parasites.txt: document the "gimp-brush-name" and
	"gimp-pattern-name" parasites.
2004-01-22 14:04:45 +00:00
Tor Lillqvist 16353371f0 Use GIMP_APP_VERSION.
2004-01-22  Tor Lillqvist  <tml@iki.fi>

	* gimptool-win32.c.in (get_prefix): Use GIMP_APP_VERSION.
2004-01-22 08:34:37 +00:00
Manish Singh d87468730b quote AM_PATH_GIMP_2_O properly so automake 1.8 won't whine at us.
2004-01-21  Manish Singh  <yosh@gimp.org>

        * m4macros/gimp-2.0.m4: quote AM_PATH_GIMP_2_O properly so automake
        1.8 won't whine at us.
2004-01-22 04:27:15 +00:00
Manish Singh a8a6ecf9cf configure.in renamed obnoxiously long fractalexplorer-examples directory
2004-01-21  Manish Singh  <yosh@gimp.org>

        * configure.in
        * plug-ins/FractalExplorer/Makefile.am: renamed obnoxiously long
        fractalexplorer-examples directory to simply examples.
2004-01-22 04:09:12 +00:00
Manish Singh 9db6153f09 modernized, made a lot of things m4 macros, and made versioning a lot more
2004-01-21  Manish Singh  <yosh@gimp.org>

        * configure.in: modernized, made a lot of things m4 macros, and made
        versioning a lot more finegrained, in anticipation for post-2.0.

        * autogen.sh: bumped up libtool and glib minimum requirements to match
        reality.

        * gimp-2.0.pc.in
        * gimpthumb-2.0.pc.in
        * gimpui-2.0.pc.in: adapted to new versioning variables, and bring
        in RT_LIBS when needed.

        * */*/Makefile.am: adapted to new versioning variables.
2004-01-22 03:51:46 +00:00
Michael Natterer 72d7aaae00 explicitly activate the drawable the floating selection was attached to
2004-01-22  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.c (floating_sel_anchor):
	explicitly activate the drawable the floating selection was
	attached to (function was relying on implicit voodoo that
	happened 1.2). Fixes bug #132162.
2004-01-22 01:07:33 +00:00
Michael Natterer f3c91918de added "gboolean use_default_values" to GimpItem::stroke().
2004-01-22  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: added "gboolean use_default_values"
	to GimpItem::stroke().

	* app/core/gimpselection.c: changed accordingly.

	* app/core/gimpchannel.c
	* app/vectors/gimpvectors.c: if use_default_values is TRUE, don't
	use the GimpPaintOptions passed in the GimpPaintInfo, but create a
	new one.

	* app/gui/stroke-dialog.c: pass FALSE so the values as set in the
	tool options are used.

	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/paths.pdb: pass TRUE so tool options settings
	don't affect PDB stroke calls. Fixes part 2 of bug #132145.

	* app/pdb/edit_cmds.c
	* app/pdb/paths_cmds.c: regenerated.
2004-01-22 00:16:49 +00:00
Simon Budig f1348dc2e6 replaced the indexed palette in the default "Layers, Channels, Paths"-Dock
2004-01-22  Simon Budig  <simon@gimp.org>

	* app/gui/dialogs-commands.c: replaced the indexed palette in
	the default "Layers, Channels, Paths"-Dock (as created by the
	menu in the toolbox) with the Undo History, since the indexed
	palette is pretty useless most of the time and the new setup
	at least matches the upper half of the dockable that comes up
	after a new user starts the Gimp the first time.
2004-01-21 23:48:38 +00:00
Michael Natterer edff0480e1 show the image menu in newly created layers, channels & paths docks.
2004-01-21  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-commands.c: show the image menu in newly created
	layers, channels & paths docks.
2004-01-21 22:35:07 +00:00
Ole Laursen 8f2586a005 Updated Danish translation.
2004-01-21  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2004-01-21 17:46:54 +00:00
Miloslav Trmac c119b281c6 Update Czech translation 2004-01-21 17:00:00 +00:00
Michael Natterer 613e328f13 added boolean return value to GimpTool::initialize(). Returning FALSE
2004-01-21  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.[ch]: added boolean return value to
	GimpTool::initialize(). Returning FALSE means the tool could not
	be initialized and doesn't want to receive button events.
	Return TRUE from the default implementation.

	* app/tools/tool_manager.[ch]: added boolean return value to
	tool_manager_initialize_active(). Don't set the tool's display or
	drawable if initialize() returns FALSE.

	* app/display/gimpdisplayshell-callbacks.c: don't send button
	events to the tool if initialize() returns FALSE.

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c: return FALSE for NULL and indexed
	drawables.

	* app/tools/gimpimagemaptool.c: always return TRUE because our
	subclasses already checked if the active drawable is OK.

	* app/tools/gimptransformtool.c: return FALSE for layers with
	masks. Fixes bug #132089. Some random cleanups.
2004-01-21 16:07:48 +00:00
David Odin 32bb528d0e correctly resize both panels of the GTK_PANED. This fixes bugs #132032.
* plug-ins/common/plugindetails.c: correctly resize both panels of the
	GTK_PANED. This fixes bugs #132032.

	This plug-ins still needs work.
2004-01-21 15:27:48 +00:00
Michael Natterer bcf85df890 use RINT() instead of ROUND() to calculate the coordinates of the
2004-01-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform.c: use RINT() instead of ROUND()
	to calculate the coordinates of the transformed tiles to avoid
	off-by-one errors when affine-transforming, flipping and rotating
	drawables with negative offsets.
	Fixes the off-by-one part of bug #132089.
2004-01-21 15:02:02 +00:00
Tor Lillqvist d9b2478cca Fix undefined behaviour. Fixes crash in bringing up the Preferences dialog
2004-01-21  Tor Lillqvist  <tml@iki.fi>

	* app/gui/themes.c (themes_list_themes_foreach): Fix undefined
	behaviour. Fixes crash in bringing up the Preferences dialog when
	compiled with Sun's compiler.
2004-01-21 12:03:26 +00:00
Michael Natterer 7c652c0e28 call gimp_drawable_invalidate_boundary() because the drawable's size may
2004-01-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
	call gimp_drawable_invalidate_boundary() because the drawable's
	size may have changed. Fixes bug #132077. Removed call to
	floating_sel_invalidate() which is now redundant.
2004-01-21 11:38:53 +00:00
Michael Natterer 73d258eb3d renamed info_dialog_popdown() to info_dialog_hide() and
2004-01-21  Michael Natterer  <mitch@gimp.org>

	* app/gui/info-dialog.[ch]: renamed info_dialog_popdown() to
	info_dialog_hide() and info_dialog_popup() to info_dialog_present().
	Added info_dialog_show() which just shows the dialog without
	calling gtk_window_present().

	* app/gui/info-window.c
	* app/gui/view-commands.c
	* app/tools/gimptransformtool.c: changed accordingly.

	* app/tools/gimpcroptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: use info_dialog_show() so the dialog
	doesn't grab the focus away from the canvas. Fixes bug #132041.
2004-01-21 11:16:57 +00:00
Simon Budig 6861a68130 removed the call to art_vpath_perturb, since it apparently is responsible
2004-01-21  Simon Budig  <simon@gimp.org>

	* app/core/gimpscanconvert.c: removed the call to
	art_vpath_perturb, since it apparently is responsible for the
	artefacts described in bug #132036. I don't really understand
	why these artefacts were happening in the first place, because
	in theory art_vpath_perturb should not do any harm.

	Also properly close closed polygons.

	Hopefully fixes #132036, please test this.
2004-01-21 01:29:00 +00:00
Henrik Brix Andersen b10c0ff91b added missing plug-ins/script-fu/scripts/select-to-pattern.scm (fixes bug
2004-01-20 Henrik Brix Andersen <brix@gimp.org>

* POTFILES.in: added missing
plug-ins/script-fu/scripts/select-to-pattern.scm (fixes bug
#132029)
2004-01-20 21:10:30 +00:00
Sven Neumann e2b5e8ed32 added new command-line options --existing and --query. The former allows
2004-01-20  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: added new command-line options --existing
	and --query. The former allows to get the old behaviour back and
	the latter might be useful one day.

	* docs/gimp-remote-1.3.1.in: document the new options.
2004-01-20 20:09:32 +00:00
Michael Natterer 0418750367 added help IDs for the libgimp export and unit dialogs.
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
	export and unit dialogs.

	* libgimp/gimpexport.c
	* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
	help IDs.

	* plug-ins/*/*.c: replaced all html help links by help IDs. A
	plug-in's help ID is its procedure name with '_' relaced by '-'.

	(e.g. file_tiff_save's help ID is file-tiff-save)

	Did some random indentation and whitespace cleanup.
2004-01-20 17:10:16 +00:00
Sven Neumann fa4c87d959 updated.
2004-01-20  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimphelp.sgml: updated.
2004-01-20 16:33:49 +00:00
Sven Neumann 4226b00b48 when starting a new gimp, pass it the display gimp-remote is running on.
2004-01-20  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: when starting a new gimp, pass it the
	display gimp-remote is running on.
2004-01-20 13:50:10 +00:00
Sven Neumann 575ec2e9e2 always open a new GIMP instance when being called without any
2004-01-20  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: always open a new GIMP instance when being
	called without any filenames/URLs. This makes it behave better when
	being used from application launchers such as the GNOME panel.

	* docs/gimp-remote-1.3.1.in: document the new behaviour.
2004-01-20 13:00:17 +00:00
Ville Pätsi 00a8265a22 Changed library extension to actually use the correct values, and not
* gimp.spec.in: Changed library extension to actually use the correct
	        values, and not assume .0.0.
2004-01-20 12:45:44 +00:00
Michael Natterer ebcb621c51 changed "prog_name" parameter of gimp_help() to "help_domain". It's
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/help.pdb: changed "prog_name" parameter of
	gimp_help() to "help_domain". It's useless to pass the plug-in's
	executable name to the core because the core already knows it.
	Instead, enabled accessing arbitrary help domains via the
	PDB. Passing NULL as help_domain will use the domain the plug-in
	registered, or the GIMP main help domain if it didn't register a
	domain.

	* app/pdb/help_cmds.c
	* libgimp/gimphelp_pdb.[ch]: regenerated.

	* libgimp/gimpui.c (gimp_ui_help_func): pass NULL as help_domain.
2004-01-20 12:38:31 +00:00
Sven Neumann b5bf60ac6a made --new the default behaviour and allow gimp-remote to be called
2004-01-20  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: made --new the default behaviour and allow
	gimp-remote to be called without any image filenames.

	* docs/gimp-remote-1.3.1.in: changed accordingly.

	* data/misc/gimp.applications
	* data/misc/gimp.desktop.in.in: removed --new option from
	gimp-remote calls.
2004-01-20 12:07:26 +00:00
Michael Natterer 8096cef139 plug-ins/common/mail.c use more already translated standard file error
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/mail.c
	* plug-ins/common/mng.c: use more already translated standard file
	error messages. Some cleanup.
2004-01-20 11:24:14 +00:00
Changwoo Ryu 2bd7a44a4e Updated Korean translation by Dongsu Jang <iolo@hellocity.net>.
* ko.po: Updated Korean translation by Dongsu Jang
	<iolo@hellocity.net>.
2004-01-20 10:31:00 +00:00
Artur Flinta 5717cd2f40 Updated Polish translation by GNOME PL Team.
2004-01-20  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2004-01-20 07:36:42 +00:00
Michael Natterer cf13615514 app/gui/file-open-menu.c app/gui/file-save-menu.c app/gui/image-menu.c
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c
	* app/gui/image-menu.c
	* app/gui/menus.c
	* app/gui/plug-in-menus.c: when dynamically creating menu entries,
	pass static_entry == FALSE to gimp_item_factory_create_item() so a
	*copy* of the the help_id is attached to the menu item.
	Fixes help for plug-in menu entries.
2004-01-20 02:37:28 +00:00
Michael Natterer e8b27df097 changed member "ProcRec *current_temp_proc" to "GList *temp_proc_recs", a
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in.[ch]: changed member
	"ProcRec *current_temp_proc" to "GList *temp_proc_recs", a stack
	of temporary procedures, just as the "temp_main_loops" member is
	supposed to be the stack of main loops for waiting for the
	temp_procs' return values.

	* app/plug-in/plug-in-run.c (plug_in_temp_run): changed accordingly.

	* app/plug-in/plug-in-message.c
	* app/plug-in/plug-in-run.c
	* libgimp/gimp.c: added #define ENABLE_TEMP_RETURN 1.

	Enables return values for temporary procedures. On the libgimp
	side, this just enables the code which returns the values, on the
	app side it enables per-plug-in stacks of proc_recs and main_loops
	and a message handler for the GP_TEMP_PROC_RETURN message.
	A temp_proc's caller now blocks until the proc is finished.
	Fixes bug #50649.

	Left the #ifdefs there so it can be easily disabled if things
	break. Please play with Script-Fu and test this.
2004-01-20 00:54:43 +00:00
Christophe Merlet 85d30877d2 Updated French translation. 2004-01-19 23:50:41 +00:00
Pedro Gimeno 5ad621348b Call gimp_drawable_detach() after gimp_drawable_get() to plug a leak.
2004-01-19  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/ccanalyze.c (analyze): Call gimp_drawable_detach()
	after gimp_drawable_get() to plug a leak.
2004-01-19 22:47:58 +00:00