Commit graph

13618 commits

Author SHA1 Message Date
Sven Neumann 9203906065 libgimpthumb/gimpthumb-utils.[ch] added an API to delete thumbnails.
2004-10-11  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumb.def: added an API to delete thumbnails.

	* app/widgets/gimpthumbbox.c (gimp_thumb_box_create_thumbnail):
	when recreating a thumbnail on user request, delete all existing
	thumbnails for it.

	* plug-ins/common/AlienMap2.c: removed unused variable.
2004-10-10 23:02:34 +00:00
Sven Neumann f57bbe3a96 corrected ChangeLog entry 2004-10-10 21:43:27 +00:00
Sven Neumann d5552daff8 libgimpthumb/gimpthumb-utils.c libgimpthumb/gimpthumb-utils.[ch] added
2004-10-10  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.c
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.c: added support for local thumbnails
	as introduced by version 0.7 of the thumbnail spec. Untested, but
	at least the API is there.
2004-10-10 21:42:24 +00:00
David Odin cbfc867db0 ported to GimpAspectPreview, and some minor cleanups.
* plug-ins/common/AlienMap2.c: ported to GimpAspectPreview, and some minor
  cleanups.
2004-10-10 21:32:31 +00:00
David Odin e4e6bc4944 added a preview.
* plug-ins/common/vpropagate.c: added a preview.
2004-10-10 20:46:16 +00:00
David Odin f9ae0b1fa8 plug-ins/common/flarefx.c cleanups and ported to GimpDrawablePreview.
* plug-ins/common/flarefx.c
* plug-ins/common/waves.c: cleanups and ported to GimpDrawablePreview.
2004-10-10 18:15:46 +00:00
Nikos Charonitakis 63087428cb Updated Greek translation 2004-10-10 15:32:12 +00:00
Sven Neumann bfeb12d2bb handle NULL as viewable parameter as a workaround for bug #149906.
2004-10-10  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.c (gimp_container_view_lookup):
	handle NULL as viewable parameter as a workaround for bug #149906.

	* app/widgets/gimpthumbbox.c (gimp_thumb_box_auto_thumbnail): made
	the code more robust.

	* app/xcf/xcf-private.h
	* app/xcf/xcf.c: added a const qualifier.
2004-10-10 14:33:01 +00:00
David Odin 450dc157ab fixed a typo in the double-inclusion guard.
* app/dialogs/dialogs.h: fixed a typo in the double-inclusion guard.
2004-10-09 21:47:26 +00:00
Kevin Cozens 7086d9dfa8 Added more files missing from the distribution. re/debug.c re/main.c
2004-10-09 Kevin Cozens <kcozens@cvs.gimp.org>

    * re/Makefile.am: Added more files missing from the distribution.
    * re/debug.c
    * re/main.c
    * re/regcomp.c
    * re/regerror.c
    * re/regexec.c: Changed <regex.h> to "regex.h" to emphasize local
    header is being used rather than standard libc header file.
2004-10-09 15:21:04 +00:00
Sven Neumann b9143899d3 AUTHORS regenerated. Someone should look into updating the list of
2004-10-09  Sven Neumann  <sven@gimp.org>

	* AUTHORS
	* app/dialogs/authors.h: regenerated. Someone should look into
	updating the list of contributors for the 2.2 release ...
2004-10-09 10:59:23 +00:00
Kevin Cozens af2eb68c70 ftx/Makefile.am re/Makefile.am scripts/Makefile.am
2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>

    * ftx/Makefile.am
    * re/Makefile.am
    * scripts/Makefile.am
    * scripts/images/Makefile.am
    * tiny-fu/Makefile.am
    * tinyscheme/Makefile.am: Cleaned up files, added EXTRA_DIST with
    list of files to include in a distribution. Fixed typo in filename
    in the re/Makefile.am file.
2004-10-09 04:23:59 +00:00
Kevin Cozens 4ba85ba3fb Added my name to the list of contributors.
2004-10-08  Kevin Cozens  <kcozens@cvs.gimp.org>

    * tools/authorsgen/contributors: Added my name to the
    list of contributors.
2004-10-09 02:07:23 +00:00
Sven Neumann dc539fda18 tweaked the text shown while updating the preview so that the dialog
2004-10-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpthumbbox.c: tweaked the text shown while
	updating the preview so that the dialog doesn't need to resize.
2004-10-08 22:33:07 +00:00
Sven Neumann d02f9b64f9 allow 0 for the thumbnail-filesize-limit 2004-10-08 19:35:27 +00:00
Sven Neumann ec693d7b09 app/config/gimpcoreconfig.[ch] added new gimprc option
2004-10-08  Sven Neumann  <sven@gimp.org>

	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h: added new gimprc option
	"thumbnail-filesize-limit" that allows to control the maximum
	filesize for automatic thumbnail creation.

	* app/dialogs/preferences-dialog.c: added a GUI for it, needs
	review.

	* app/core/gimpimagefile.[ch]: minor cleanups. Moved call to
	gimp_thumbnail_peek_image() from gimp_imagefile_save_thumb() to
	 gimp_imagefile_save_thumbnail() to avoid it being called twice.

	* app/file/file-utils.[ch]: export utility function
	file_utils_find_proc_by_extension() that allows to check for a
	file plug-in by looking at the filename extension only.

	* app/widgets/gimpthumbbox.[ch]: automatically create or update
	thumbnails for image files with a known extension that are smaller
	than "thumbnail-filesize-limit".  Fixes bug #137176.
2004-10-08 19:29:33 +00:00
Sven Neumann cc87c4c2f3 handle the tile parameter identically for preview and final result. Set
2004-10-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ripple.c: handle the tile parameter identically
	for preview and final result. Set Edges options insensitive when
	"Retain tileability" is checked. Reported by Olivier.
2004-10-08 18:29:42 +00:00
Sven Neumann 299dad1de3 invalidate the preview when the toggle buttons are used. Reported by
2004-10-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/apply_lens.c (lens_dialog): invalidate the
	preview when the toggle buttons are used. Reported by Olivier.

	* app/widgets/gimpview.c: minor cleanup.
2004-10-08 18:09:41 +00:00
Michael Natterer 8a622048f3 implement GimpTool::key_press() and cancel the tool on GDK_Escape. Come
2004-10-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpmeasuretool.c: implement GimpTool::key_press() and
	cancel the tool on GDK_Escape. Come cleanup.
2004-10-08 15:32:30 +00:00
Michael Natterer 57f9d32e56 Made the text options about two toolbox grid columns smaller. Addresses
2004-10-08  Michael Natterer  <mitch@gimp.org>

	Made the text options about two toolbox grid columns smaller.
	Addresses bug #122862.

	* app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new): use
	the number of digits of the property's max_val plus two as number
	of chars for the sizeentry'y spinbutton (instead of always 10 as
	before).

	* app/tools/gimptextoptions.c (gimp_text_options_gui): GtkEntry
	has a minimal width of 150 pixels (eek). Set a silly small minimal
	width instead (the entry expands to the available width anyway).
2004-10-08 14:00:41 +00:00
Sven Neumann 983e918d13 added lots of const qualifiers.
2004-10-08  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.c: added lots of const qualifiers.
2004-10-08 12:23:36 +00:00
Michael Natterer c9f9c56ce7 the gradient button in blend options got lost, added it back. Also moved
2004-10-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppaintoptions-gui.c: the gradient button in blend
	options got lost, added it back. Also moved creation of the brush,
	pattern and gradient buttons to utility functions and cleaned up
	the whole file a bit.
2004-10-08 11:08:50 +00:00
Michael Natterer fb315d6ca7 app/display/gimpdisplayshell.c (gimp_display_shell_real_scaled)
2004-10-08  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_real_scaled)
	(gimp_display_shell_flush)
	* app/gui/gui-vtable.c (gui_display_create): always pass a
	GimpDisplay, not a GimpDisplayShell as "data" to
	gimp_ui_manager_update().

	* app/actions/actions.c (action_data_get_*): removed checks if the
	passed data is a GimpDisplayShell and temporarily added g_assert()
	to be sure. The assertions will be removed before 2.2.
2004-10-08 09:16:04 +00:00
Sven Neumann de68f16e72 added some (disabled) debug output.
2004-10-07  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c: added some (disabled) debug output.

	* app/widgets/gimpviewrenderer-frame.[ch]: added a way to retrieve
	the size of the frame borders.

	* app/widgets/gimpthumbbox.c: don't set an arbitrary padding but
	exactly the size of the frame borders. Otherwise we get large
	thumbnails (scaled down) if we request normal sized ones.
2004-10-07 21:38:35 +00:00
Kevin Cozens cb8cb6e4f8 Changed deprecated constant ADD to CHANNEL-OP-ADD.
2004-10-07  Kevin Cozens  <kcozens@cvs.gimp.org>

    * plug-ins/script-fu/scripts/selection-round.scm: Changed deprecated
    constant ADD to CHANNEL-OP-ADD.
2004-10-07 20:03:23 +00:00
Michael Natterer a9e08991da gz.c and bz2.c are now compressor.c
2004-10-07  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: gz.c and bz2.c are now compressor.c
2004-10-07 17:00:12 +00:00
Michael Natterer 270c033695 Merged the gz and bz2 plug-ins into one generic compression handler that
2004-10-07  Michael Natterer  <mitch@gimp.org>

	Merged the gz and bz2 plug-ins into one generic compression
	handler that can be extended by adding entries to a table of
	compressor definitions:

	* configure.in: removed bz2 special casing for win32.

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c: removed.

	* plug-ins/common/compressor.c: new plug-in.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am: regenerated.
2004-10-07 16:51:06 +00:00
Simon Budig 236cd65540 fill in the formula... :-) untabbified.
2004-10-07  Simon Budig  <simon@gimp.org>

	* app/actions/view-commands.c: fill in the formula...  :-)
	untabbified.

	* app/display/gimpdisplayshell-scale.c: Micro-Cleanup, untabbified.
2004-10-07 10:12:26 +00:00
Kevin Cozens 7fa8c1519e Added directory name for location of scheme-private.h in include statement. 2004-10-07 05:54:42 +00:00
Kevin Cozens fcf69f02d6 Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
Michael Natterer 4117fa4474 changed zoom actions to be GimpEnumActions using the GimpActionSelectType
2004-10-07  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c: changed zoom actions to be
	GimpEnumActions using the GimpActionSelectType enum. Enables
	keyboard shortcuts for useless stuff like "zoom out a lot", and
	makes them better accessible for external controllers.

	* app/actions/view-commands.[ch]: renamed view_zoom_cmd_callback()
	to view_zoom_explicit_cmd_callback(), removed the zoom_in and
	zoom_out callbacks and added a new view_zoom_cmd_callback() for
	the new GimpActionSelectType-based actions. The implementation of
	the new zoom types is questionable but now there is a place where
	nomis can fill in nice formulas...
2004-10-07 00:35:04 +00:00
Kevin Cozens 8431d5f219 Forgot to change the caddr to car after the API call was changed. 2004-10-06 22:09:23 +00:00
Kevin Cozens c89e734084 Import of autoconf version of Tiny-Fu 0.9.3 2004-10-06 21:47:36 +00:00
Kevin Cozens 5a420188ad Initial revision 2004-10-06 21:47:36 +00:00
Michael Natterer 76d95a10d0 added new parameter "gboolean propagate_release" to
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpeditselectiontool.[ch]: added new parameter
	"gboolean propagate_release" to gimp_edit_slection_tool_start()
	and remember it in the GimpEditSelectionTool struct. If requested,
	propagate GimpTool::button_release() to the tool below in the tool
	stack.

	* app/tools/gimpselectiontool.c (gimp_selection_tool_start_edit):
	pass FALSE so we don't get the button_release().

	* app/tools/gimpmovetool.[ch]: pass TRUE so we get
	button_release(). If moving a layer or path in "pick active" mode,
	remember the old active layer/path and switch back to it in
	button_release(). Fixes bug #97734.

	Unrelated:

	* app/tools/gimpeditselectiontool.c
	(gimp_edit_selection_tool_motion): set "first_move" to FALSE only
	if a move actually happened. Fixes un-undoable moves at high zoom
	factors.
2004-10-06 21:04:13 +00:00
Michael Natterer da1a2de846 remember for which GdkDragContext the icon_widget was made.
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_data_drag_begin): remember for
	which GdkDragContext the icon_widget was made.

	(gimp_dnd_data_drag_end): destroy the icon_widget only if it was
	created for this GdkDragContext. Fixes broken DND icon_widgets
	when dragging the same source again while the old icon_widget is
	still floating back from an unsuccessful drop. Fixes bug #139337.
2004-10-06 18:55:24 +00:00
Manish Singh 131da633d5 Slight cleanup of doc generating code.
2004-10-05  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/lib.pl: Slight cleanup of doc generating code.
2004-10-06 18:44:48 +00:00
Michael Natterer c5d20b35e9 s/gimpgradientedit/gimpgradient/
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimpgradient.sgml: s/gimpgradientedit/gimpgradient/
2004-10-06 18:26:58 +00:00
Michael Natterer 5408ed1744 for deprecated procedures, create a gtk-doc comment that contains a link
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/lib.pl: for deprecated procedures, create a gtk-doc
	comment that contains a link to the replacement procedure and
	doesn't contain redundant information.

	* tools/pdbgen/pdb/text_tool.pdb: fixed names of replacement
	procedures.

	* libgimp/gimpbrushes.c
	* libgimp/gimpgradients.c
	* libgimp/gimppalettes.c
	* libgimp/gimppatterns.c: made the handwritten gtk-doc comments of
	deprecated procedures look like the generated ones.

	* app/pdb/text_tool_cmds.c
	* libgimp/gimpbrushes_pdb.c
	* libgimp/gimpgradients_pdb.c
	* libgimp/gimppalettes_pdb.c
	* libgimp/gimppatterns_pdb.c
	* libgimp/gimptexttool_pdb.c: regenerated.
2004-10-06 18:25:16 +00:00
Michael Natterer 62c23a2361 reset the tool options before deserializing so they have the correct
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimp-tools.c (gimp_tools_restore): reset the tool
	options before deserializing so they have the correct default
	values. Fixes bug #120832.

	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpmagnifyoptions.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimptransformoptions.c: removed all set_defaults()
	utility functions and moved their code to reset(). The change
	above calls them automatically so there is no need to call them
	from the GUI constructors any more.
2004-10-06 17:21:22 +00:00
Michael Natterer dc3e9ec8e4 use a scale_entry instead of a spinbutton, changed mnemonic from "R" to
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: use a
	scale_entry instead of a spinbutton, changed mnemonic from "R" to
	"E", indentation.

	* plug-ins/script-fu/scripts/test-sphere.scm: s/SF_BRUSH/SF-BRUSH/
	in a comment.
2004-10-06 15:20:29 +00:00
Sven Neumann bd218b2582 applied patch by Alan Horkan that improves usability and usefulness of
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: applied patch by
	Alan Horkan that improves usability and usefulness of this script.
	Did some code cleanup and added the old procedure for backward
	compatibility. Fixes bug #145147.

	* menus/image-menu.xml.in: renamed placeholder in Image->Select
	from "Outline" to "Modify".
2004-10-06 14:03:30 +00:00
Sven Neumann aed634d0c5 tweaed error message.
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (ps_open): tweaed error message.
2004-10-06 13:18:37 +00:00
Michael Natterer 8a47cc9216 changed new member "deprecated" from "gboolean" to a "gchar*" which holds
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.h (struct ProcRecord): changed new member
	"deprecated" from "gboolean" to a "gchar*" which holds the name of
	the replacement procedure.

	* tools/pdbgen/app.pl: changed accordingly.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
	the name of the replacement procedure in the warning message.

	* tools/pdbgen/stddefs.pdb: added utility function
	std_pdb_deprecated() which takes the name of the replacement
	procedure and fills the blurb, help, author, copyright, date and
	deprecated fields of the procedure definition.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
	the same code and strings for all deprecated procedures.

	* app/pdb/*_cmds.c
	* libgimp/gimppatterns_pdb.c
	* libgimp/gimptexttool_pdb.c: regenerated.

20
2004-10-06 13:14:47 +00:00
Michael Natterer 6f42c42db4 changed new member "deprecated" from "gboolean" to a "gchar*" which holds
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.h (struct ProcRecord): changed new member
	"deprecated" from "gboolean" to a "gchar*" which holds the name of
	the replacement procedure.

	* tools/pdbgen/app.pl: changed accordingly.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
	the name of the replacement procedure in the warning message.

	* tools/pdbgen/stddefs.pdb: added utility function
	std_pdb_deprecated() which takes the name of the replacement
	procedure and fills the blurb, help, author, copyright, date and
	deprecated fields of the procedure definition.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
	the same code and strings for all deprecated procedures.

	* app/pdb/*_cmds.c: regenerated.
2004-10-06 13:13:08 +00:00
Michael Natterer 3f2d5e68b5 Fixed the scale constraints radio buttons:
2004-10-06  Michael Natterer  <mitch@gimp.org>

	Fixed the scale constraints radio buttons:

	* app/tools/gimptransformoptions.c (gimp_transform_options_gui):
	initialize the radio group with the correct value instead of
	resetting the model before creating the group.

	(gimp_scale_options_constrain_callback): change the model
	only if the radio button became active.

	(gimp_scale_options_constrain_notify): new callback which makes
	the radio buttons a real view on the model again (fixes GUI
	updates on modifier press/release).
2004-10-06 12:05:35 +00:00
Sven Neumann 84696bcbe6 an image doesn't necessarily have a drawable. Handle the case when it
2004-10-06  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_update): an image
	doesn't necessarily have a drawable. Handle the case when it doesn't.
2004-10-06 11:27:45 +00:00
Sven Neumann 1956f31140 app/app_procs.[ch] app/batch.[ch] added new command-line option
2004-10-06  Sven Neumann  <sven@gimp.org>

	* app/app_procs.[ch]
	* app/batch.[ch]
	* app/main.c: added new command-line option "--batch-interpreter"
	that allows to specify the procedure to use to process batch
	commands. Removed the perl-server hack but kept Script-Fu as the
	default for backward compatibility.

	* docs/gimp.1.in: documented the new option.
2004-10-06 09:56:15 +00:00
Michael Natterer a1ff75dedb removed the code which sets the new image on all contexts where the old
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-commands.c (file_revert_confirm_callback):
	removed the code which sets the new image on all contexts where
	the old image was set...

	* app/display/gimpdisplay-foreach.c (gimp_displays_reconnect):
	...and added it here so it happens for all calls of this function,
	also from the PDB. Fixes bug #154638.
2004-10-06 09:28:35 +00:00
Sven Neumann 449a1c457c updated.
2004-10-06  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def: updated.

2004-10-06  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpbrush.sgml
	* libgimp/tmpl/gimpgradient.sgml
	* libgimp/tmpl/gimppattern.sgml: updated.
2004-10-06 03:45:43 +00:00