Commit graph

14419 commits

Author SHA1 Message Date
Sven Neumann 7643d5e971 delay the creation of the display for the export image preview until the
2004-11-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: delay the creation of the display for
	the export image preview until the user requests a preview. Fixes
	bug #159376.
2004-11-27 22:07:23 +00:00
Øyvind Kolås 97fc44bf4e HIGification 2004-11-27 18:35:14 +00:00
Kevin Cozens 56b5d0612c Force number of teeth to be integer values. Changed default for Outer
2004-11-27  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/spyrogimp.scm: Force number of teeth
	to be integer values. Changed default for Outer teeth to give a
	more interesting image. Detabified file. Fixes bug #158448.
2004-11-27 17:57:18 +00:00
Sven Neumann 52ec7ed97e don't look at the menu path to determine if the script is image-based.
2004-11-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
	don't look at the menu path to determine if the script is
	image-based. Instead look at the number of parameters we are being
	called with.
2004-11-27 16:23:43 +00:00
Sven Neumann 027cec0d18 made the Size scale logarithmic as suggested in bug #159632.
2004-11-27  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpinkoptions-gui.c: made the Size scale logarithmic
	as suggested in bug #159632.
2004-11-27 13:06:39 +00:00
Sven Neumann 29eb62c231 tell the user that we can't handle indexed images with alpha channel (bug
2004-11-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c (save_image): tell the user that we can't
	handle indexed images with alpha channel (bug #159600).
2004-11-27 12:39:08 +00:00
Sven Neumann eb7b317d36 app/main.c app/widgets/gimpenumstore.h app/widgets/gimpunitstore.c applied
2004-11-27  Sven Neumann  <sven@gimp.org>

	* app/main.c
	* app/widgets/gimpenumstore.h
	* app/widgets/gimpunitstore.c
	* plug-ins/common/retinex.c: applied patch by Tim Mooney that
	removes extraneous ;
2004-11-27 12:09:13 +00:00
Sven Neumann 365af1b31b applied patch by Tim Mooney that increase the size of values[] + to
2004-11-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c (run): applied patch by Tim Mooney that
	increase the size of values[] + to accomodate the use of
	file_wmf_load_thumb (bug #159601).
2004-11-27 12:04:12 +00:00
Sven Neumann 4db3b93ffc minor change to the PDB docs.
2004-11-27  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: minor change to the PDB docs.

	* libgimp/gimpdrawable_pdb.c
	* tools/pdbgen/pdb/drawable.pdb: regenerated.
2004-11-27 11:25:36 +00:00
Sven Neumann 1afd9b1733 plug-ins/winicon/icosave.c moved code around.
2004-11-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c
	* plug-ins/winicon/main.[ch]: moved code around.
2004-11-27 11:19:38 +00:00
Manish Singh 448dd63f9d make sure the preview image type matches the source image type.
2004-11-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/dog.c: make sure the preview image type matches
        the source image type.
2004-11-26 18:55:41 +00:00
Sven Neumann 1b81778c9a don't fiddle with the source image, a save plug-in should save, nothing
2004-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c: don't fiddle with the source image,
	a save plug-in should save, nothing else.

	* plug-ins/winicon/main.[ch]: handle all sorts of image types.
	Fixes bug #157803.
2004-11-26 18:44:29 +00:00
Sven Neumann ec5a467857 fixed docs for gimp_drawable_type_with_alpha().
2004-11-26  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: fixed docs for
	gimp_drawable_type_with_alpha().

	* app/pdb/drawable_cmds.c
	* libgimp/gimpdrawable_pdb.c: regenerated.
2004-11-26 18:16:48 +00:00
Sven Neumann 006882a0bc plug-ins/winicon/main.[ch] (ico_image_get_reduced_buf)
2004-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/main.[ch] (ico_image_get_reduced_buf)
	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c: fixed drawable handling. This
	plug-in is still a complete mess and needs a lot more work.
2004-11-26 17:37:26 +00:00
Sven Neumann 9083a57e68 reverted last commit, it only contained binary gibberish.
2004-11-26  Sven Neumann  <sven@gimp.org>

	* sk.po: reverted last commit, it only contained binary gibberish.
2004-11-26 16:26:15 +00:00
Sven Neumann 2dcbec8418 only show the Incremental toggle for tools that use it (bug #159306).
2004-11-26  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): only
	show the Incremental toggle for tools that use it (bug #159306).
2004-11-26 15:14:21 +00:00
Sven Neumann 3e56a07190 don't add documents w/o a name to the list. Fixes bug #159510.
2004-11-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdocumentlist.c (gimp_document_list_deserialize):
	don't add documents w/o a name to the list. Fixes bug #159510.

	* app/core/gimpdrawable.c (gimp_drawable_resize): extended the
	check to take the offsets into account as well.
2004-11-26 14:45:10 +00:00
Görkem Çetin 03eae14008 CVS_SILENT 2004-11-26 09:05:01 +00:00
Stanislav Visnovsky 2435f1ae68 Updated Slovak translation by Zdeno Podobny.
2004-11-26  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation by Zdeno Podobny.
2004-11-26 07:36:44 +00:00
Manish Singh 787afc60bd Add the temporary layers to the image, so things work. Fixes bug #158895.
2004-11-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/dog.c: Add the temporary layers to the image, so
        things work. Fixes bug #158895.

        * plug-ins/common/iwarp.c: Fix same naughtiness as above. There's
        other naughtiness still though.

        * plug-ins/common/sunras.c: use gboolean for byte2bit invert argument.
2004-11-26 03:52:01 +00:00
Manish Singh 7a1647b1bf Use a jpeg_error_mgr that lives within PreviewPersistent, instead of an
2004-11-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c: Use a jpeg_error_mgr that lives within
        PreviewPersistent, instead of an automatic variable in save_image.
        Fixes bug #159076.
2004-11-26 03:16:03 +00:00
Simon Budig 26be95eb17 Add some sample code to retrieve the name of the connected MIDI device
2004-11-25  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: Add some sample code to retrieve
	the name of the connected MIDI device (ALSA).
	Do not set the "name" when connected to Alsa, since snd_seq_name()
	returns an uninteresting name.
2004-11-25 12:57:17 +00:00
Adam Weinberger 999881de6e Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-11-25 02:07:53 +00:00
Michael Natterer 99b12ef850 typo. 2004-11-24 16:43:05 +00:00
Michael Natterer cdb165874f if the active display becomes NULL (e.g. by closing a view), don't leave
2004-11-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/gui.c (gui_display_changed): if the active display
	becomes NULL (e.g. by closing a view), don't leave the user
	context with an image but no display. Instead, try to find another
	display of the same image instead and if that fails set the image
	to NULL.

	Prevents the various foo_actions_update() functions from being
	called with a NULL display while there is still an active image in
	the context.

	Fixes bug #159304.

	(Removed #warning about being misplaced from that function because
	it's a typical piece of ugly glue code that belongs exactly here).
2004-11-24 16:41:52 +00:00
Simon Budig b349746fc2 Accept >= 0 return values of the ioctl() to figure out the device name.
2004-11-24  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: Accept >= 0 return values of the
	ioctl() to figure out the device name. Apparently it is the number of
	bytes written to the string, so we might omit the strlen() following,
	but I don't like to rely on that...
2004-11-24 14:25:58 +00:00
Michael Natterer cfcb716d51 define GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION
2004-11-24  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am (GTKDOC_CFLAGS): define
	GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION

	* libgimpwidgets/libgimpwidgets.types: #include
	<libgimpwidgets/gimpcontroller.h> separately.
2004-11-24 14:10:37 +00:00
Cai Qian 52a58b39b5 updated Simplified Chinese translation.
2004-11-24  Cai Qian  <caiqian@gnome.org>

        * zh_CN.po: updated Simplified Chinese translation.
2004-11-24 12:26:13 +00:00
Dmitry Mastrukov 2cecaf078f ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2004-11-24 04:38:38 +00:00
Sven Neumann dd245c4433 fixes 2004-11-24 02:38:17 +00:00
Sven Neumann 1b627bd015 app/app-docs.sgml updated.
2004-11-24  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: updated.
2004-11-24 02:27:49 +00:00
Michael Natterer 808cbc5319 regenerated.
2004-11-24  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimpcontroller.sgml: regenerated.

	* libgimpwidgets/libgimpwidgets-docs.sgml: added note about the
	"work in progress" controller API.
2004-11-24 02:21:42 +00:00
Michael Natterer 6d63d50040 guarded the whole header with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION
2004-11-24  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcontroller.[ch]: guarded the whole header
	with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION because it's no
	fixed API yet. Added a "state" property bacause "name" was abused
	as the controller's state. Added "help_domain" to the controller
	class.

	* libgimpwidgets/gimpwidgets.h: don't include gimpcontroller.h

	* modules/controller_linux_input.c
	* modules/controller_midi.c: set the "name" property to the name
	retrieved from the device, or to a default string if no name is
	available. Store the status in the "state" property. Added and
	changed some strings, but it's better to have the controller
	strings untranslated than to have no tooltips at all or misleading
	labels.

	* app/widgets/gimpcontrollerkeyboard.c
	* app/widgets/gimpcontrollerwheel.c: set default strings for both.

	* app/widgets/gimpcontrollereditor.c: added a GUI for the "state"
	property.

	* app/widgets/gimpcontrollerkeyboard.h
	* app/widgets/gimpcontrollerwheel.h
	* app/widgets/gimpcontrollerinfo.c
	* app/widgets/gimpcontrollers.c: #define
	GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION (just as in all files
	above).

	* app/widgets/gimphelp-ids.h: added the IDs of all controller
	modules and also of all other modules. The defines are not
	actually used, but this file is the canonical place to collect all
	the core's help IDs.
2004-11-24 02:17:12 +00:00
Sven Neumann 7eed9323db app/core/gimp-templates.[ch] merge the migrated user templaterc with the
2004-11-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-templates.[ch]
	* app/dialogs/user-install-dialog.c: merge the migrated user
	templaterc with the system templaterc so the users who have used
	gimp-2.0 before get our changes to the default templates.
2004-11-23 21:00:15 +00:00
Michael Natterer d8a5ca6c1b added new function gimp_toggle_button_set_visible() which can be used as
2004-11-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added new function
	gimp_toggle_button_set_visible() which can be used as "toggled"
	callback on a GtkToggleButton and sets a widget (in)visible
	according to the toggle's "active" state.

	* app/tools/gimpblendoptions.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimpselectionoptions.c: use it to hide (rather than
	just insensitize) the seldomly used "Feather edges", "Autoshrink
	selection", "Adaptive supersampling", "Fade out" and "Use color
	from gradient" widgets when their enabling toggle is unchecked.
	Makes the affected tool options much less crowded and noisy in
	their default appearance. Fixes bug #159008.
2004-11-23 17:01:51 +00:00
Michael Natterer 518ab86b64 create dynamic sub-menus using a separate, ui-manager-global merge_id
2004-11-23  Michael Natterer  <mitch@gimp.org>

	* app/menus/plug-in-menus.c (plug_in_menus_add_proc): create
	dynamic sub-menus using a separate, ui-manager-global merge_id
	instead of the procedure's merge_id. Has the effect that the ui
	manager keeps around these sub-menus forever, even if the
	procedure that initially registered them is unregistered.
	Fixes menu ordering after Script-Fu->Refresh.
2004-11-23 14:35:45 +00:00
Michael Natterer bd57700685 cosmetics, untabified.
2004-11-23  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparasitelist.c: cosmetics, untabified.

	* libgimpbase/gimpparasiteio.[ch]: added g_return_if_fail()'s
	to all functions.

	(gimp_pixpipe_params_parse): changed "gchar*" param to "const
	gchar*" (sortof API change, but these files are most probably only
	used by GIMP itself). Still uses strtok() on the internal copy,
	but at least not on the passed string.

	* plug-ins/common/csource.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/png.c
	* plug-ins/common/tiff.c: use parasite getters instead of
	accessing the scruct members directly. Always use g_strndup()
	instead of just g_strdup() to get strings stored in parasites
	because there is no guarantee that they are nul-terminated.
2004-11-23 14:28:43 +00:00
Sven Neumann f6288226c3 do actually use a save dialog here. Fixes bug #159194.
2004-11-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): do
	actually use a save dialog here. Fixes bug #159194.
2004-11-23 14:09:40 +00:00
Sven Neumann f653295e5d do nothing if the size doesn't change. This keeps text layers from being
2004-11-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_resize): do nothing if
	the size doesn't change. This keeps text layers from being
	modified when an image is cropped and the layer is entirely inside
	the cropped area.

	* menus/image-menu.xml.in: put the Quit item back for now. We
	should think about this again in the next development cycle.
2004-11-23 09:32:54 +00:00
Jan Morén cacacb8e6c Updated Swedish translation.
2004-11-23  Jan Morén  <jan.moren@lucs.lu.se>

        * sv.po: Updated Swedish translation.
2004-11-23 05:23:06 +00:00
Kevin Cozens 6f7d0f515b Fixed incorrect comparison in if statement. Partial(?) fix for bug
2004-11-21  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/copy-visible.scm: Fixed incorrect
	comparison in if statement. Partial(?) fix for bug #138662.
2004-11-23 04:14:39 +00:00
Kevin Cozens d4120fe1ab Updated all scripts to use script-fu-menu-register and pass just the menu
2004-11-22  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/*.sct: Updated all scripts to use script-fu-menu-register
	and pass just the menu label in script-fu-register.

	Updates based on changes made by Michael Natterer to Script-Fu.

	* tiny-fu/tiny-fu-scripts.c: Pass untranslated menu_paths to the
	core, not translated ones. Don't store the scripts directly in the
	"script_list" tree but use a list of scripts per key because there
	can be identical keys for different scripts now. Renamed variable
	"script_list" to "script_tree" because it's a GTree. Sort the SFMenu
	structs by their menu_paths *and* the procedure's menu_labels. Fixes
	menu item sorting after "Refresh".
2004-11-23 04:01:41 +00:00
Manish Singh e995d8d6e7 plug-ins/pygimp/Makefile.am New pygimp logo, by Carol Spears.
2004-11-22  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/pygimp-logo.png: New pygimp logo, by Carol Spears.

        * plug-ins/pygimp/gimpfu.py: Use new external logo file, some layout
        tweaks.
2004-11-23 02:35:54 +00:00
Francisco Javier F. Serrador 7ce2e20499 Updated Spanish translation.
2004-11-22  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-11-22 22:59:33 +00:00
Francisco Javier F. Serrador 4f57f7bd87 Corrected error.
2004-11-22  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Corrected error.
2004-11-22 22:47:45 +00:00
Michael Natterer 69ead3955c always create the event mapping table. Fixes tons of warnings and
2004-11-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerinfo.c (gimp_controller_info_init):
	always create the event mapping table. Fixes tons of warnings and
	non-functional controller mapping dialog when an empty controller
	was deserialized from controllerrc. Spotted by drc.
2004-11-22 21:46:23 +00:00
Sven Neumann 6f4d9df019 call base_exit() before quitting the application using exit(). Fixes bug
2004-11-22  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c (app_exit_after_callback): call base_exit()
	before quitting the application using exit(). Fixes bug #159019.

	* app/base/tile-swap.c: moved the warning about a non-empty swap
	file into #ifdef GIMP_UNSTABLE ... #endif.
2004-11-22 21:29:41 +00:00
David Odin eaec0edf0d correctly initialize the Antialising check box. Reported by Zigomar.
* plug-ins/gfig/gfig-dialog.c: correctly initialize the Antialising
  check box.  Reported by Zigomar.
2004-11-22 21:13:25 +00:00
Francisco Javier F. Serrador 1944756345 Updated Spanish translation.
2004-11-22  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-11-22 21:11:10 +00:00
Michael Natterer b0bd80136f sort the SFMenu structs by their menu_paths *and* the procedure's
2004-11-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: sort the SFMenu structs
	by their menu_paths *and* the procedure's menu_labels. Fixes menu
	item sorting after "Refresh".
2004-11-22 21:01:28 +00:00