Commit Graph

11042 Commits

Author SHA1 Message Date
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
Tor Lillqvist c20541524f Fix gccism.
2004-01-19  Tor Lillqvist  <tml@iki.fi>

	* app/gui/about-dialog.c (decorate_text): Fix gccism.
2004-01-19 20:38:23 +00:00
Pablo G. del Campo c82cf11cbd Updated Spanish translation.
2004-01-19  Pablo G. del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2004-01-19 18:00:06 +00:00
Sven Neumann 12d647c6f1 shut up CVS 2004-01-19 17:48:38 +00:00
Sven Neumann c723e826e8 bumped version number to 2.0pre3 (1.3.26), binary age 2, interface age 0.
2004-01-19  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 2.0pre3 (1.3.26),
	binary age 2, interface age 0.

	* libgimpbase/gimpsignal.h: removed unused definition of
	gimp_signal_syscallrestart().
2004-01-19 17:35:20 +00:00
Michael Natterer 1eee624d25 if there is a floating selection, anchor it before adding the text layer.
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_create_layer): if there
	is a floating selection, anchor it before adding the text layer.
	Fixes bug #127451.

	Also fixed some issues with undo. Addresses, but does not fix
	bug #124969 and bug #130985.
2004-01-19 17:21:53 +00:00
Michael Natterer 7f6dd5bf7a plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/hrz.c
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c
	* plug-ins/common/pnm.c
	* plug-ins/sgi/sgi.c: marked some forgotten strings for
	translation and use translated standard file error messages (no
	new strings introduced), some indentation and cleanup.
2004-01-19 13:29:25 +00:00
Michael Natterer 4baf36127a plug-ins/bmp/bmpread.c plug-ins/common/gif.c plug-ins/common/jpeg.c
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmpread.c
	* plug-ins/common/gif.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/pcx.c
	* plug-ins/common/pix.c
	* plug-ins/common/pnm.c
	* plug-ins/common/sunras.c
	* plug-ins/common/xpm.c
	* plug-ins/xjt/xjt.c: some more gimp_filename_to_utf8().
2004-01-19 11:13:35 +00:00
Sven Neumann 3a8e85d777 Made 2.0pre2 release.
2004-01-19  Sven Neumann  <sven@gimp.org>

        * Made 2.0pre2 release.
2004-01-19 03:59:04 +00:00
Michael Natterer fba87654d6 plug-ins/FractalExplorer/Dialogs.c
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/bz2.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/dicom.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mail.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/ps.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/helpbrowser/domain.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sgi/sgi.c
	* plug-ins/xjt/xjt.c: use gimp_filename_to_utf8() for filenames
	passed to g_message() and gimp_progress_init(). Definitely missed
	lots of other places but it's a start...
2004-01-19 03:06:04 +00:00
Michael Natterer 1f07af7223 removed inclusion of <stdio.h> and "plug-in/plug-in-types.h".
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* app/file/file-utils.h: removed inclusion of <stdio.h> and
	"plug-in/plug-in-types.h".
2004-01-19 02:34:47 +00:00
Sven Neumann 6d506d51bb include "libgimpbase/gimpbase.h" where needed; removed now unnecessary
2004-01-19  Sven Neumann  <sven@gimp.org>

	* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
	now unnecessary inclusions of "file/file-utils.h".
2004-01-19 01:54:11 +00:00
Michael Natterer 30b7232801 updated.
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* app/app-sections.txt: updated.
2004-01-19 01:19:53 +00:00
Sven Neumann a70698c4d9 removed file_utils_filename_to_utf8() ...
2004-01-19  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ...

	* libgimpbase/gimputils.[ch]: ... and added it here as
	gimp_filename_to_utf8(). Added some docs that promise less than
	the current implementation holds so that we can change the
	implementation later.

	* app/*/*.c: use gimp_filename_to_utf8() where
	file_utils_filenames_to_utf8() has been used before.

	* libgimpbase/gimpbase.def: changed accordingly.

	* configure.in: reset GIMP_INTERFACE_AGE.
2004-01-19 01:08:43 +00:00
Pedro Gimeno e4467c1d5a plug-ins/common/compose.c (compose) fixed a lack of refresh in the layer
2004-01-19  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/compose.c (compose)
	* plug-ins/common/decompose.c (decompose): fixed a lack of refresh
	in the layer previews by adding calls to gimp_drawable_update()
	where appropriate. Removed redundant gimp_drawable_flush() calls.
2004-01-19 00:16:14 +00:00
Michael Natterer bb833af33f moved the first hint label to a line of its own. fixes bug #127673.
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.[ch]: moved the first hint label
	to a line of its own. fixes bug #127673.
2004-01-19 00:06:18 +00:00
Sven Neumann 2eafd75021 code cleanup; draw in the expose_event handler only.
2004-01-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimplevelstool.[ch]: code cleanup; draw in the
	expose_event handler only.
2004-01-18 23:23:48 +00:00
David Odin a6be2ef0a1 fixed a stupid bug which could crashes with non square images. Done some
* plug-ins/common/nova.c: fixed a stupid bug which could crashes with
non square images. Done some cleanup also.
2004-01-18 23:02:55 +00:00
Michael Natterer f9cb4af74e when scaling an indexed image/layer, add a label telling the user that
2004-01-18  Michael Natterer  <mitch@gimp.org>

	* app/gui/resize-dialog.c: when scaling an indexed image/layer,
	add a label telling the user that indexed layers are always scaled
	without interpolation. Can't simply make the option menu
	insensitive because channels and layer masks are still scaled with
	the chosen interpolation type. Fixes bug #131779.
2004-01-18 22:50:24 +00:00
Michael Natterer 65c83a6c57 use gimp_drawable_bytes_with_alpha().
2004-01-18  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpinktool.c (ink_set_paint_area): use
	gimp_drawable_bytes_with_alpha().
2004-01-18 20:37:41 +00:00
Sven Neumann fcedcc7188 changed names on contributors demand 2004-01-18 20:02:24 +00:00
Dave Neary 0affb305c5 Updated again.
2004-01-18  Dave Neary  <bolsh@gimp.org>

        * NEWS: Updated again.
2004-01-18 18:26:34 +00:00