Commit Graph

21467 Commits

Author SHA1 Message Date
Sven Neumann 4b52112b6a handle a NULL extension and create a filename without file extension.
2007-09-30  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-utils.c (gimp_get_temp_filename): handle a NULL
	extension and create a filename without file extension.

	* tools/pdbgen/pdb/fileops.pdb
	* app/pdb/fileops_cmds.c: allow NULL to be passed as extension
	parameter to gimp_temp_name().


svn path=/trunk/; revision=23697
2007-09-30 13:21:03 +00:00
Sven Neumann 17dd822af6 reverted last change. We would also have to change a string if we wanted
2007-09-30  Sven Neumann  <sven@gimp.org>

	* app/actions/templates-commands.c: reverted last change. We 
would
	also have to change a string if we wanted to do this change.


svn path=/trunk/; revision=23696
2007-09-30 10:31:32 +00:00
Sven Neumann da2d3eca7b when creating an image from a template, skip the New Image dialog as
2007-09-30  Sven Neumann  <sven@gimp.org>

	* app/actions/templates-commands.c
	(templates_create_image_cmd_callback): when creating an image 
from a
	template, skip the New Image dialog as suggested in bug #480802.


svn path=/trunk/; revision=23695
2007-09-30 10:24:53 +00:00
Manish Singh 9e13d05f5c drop the reference we added to the args tuple in the error case.
2007-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): drop the
        reference we added to the args tuple in the error case.

svn path=/trunk/; revision=23694
2007-09-30 08:37:45 +00:00
Manish Singh d70088c961 fill layer before using it. Fixes bug #481798, thanks to Jakub Friedl for
2007-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/foggify.py: fill layer before using it.
        Fixes bug #481798, thanks to Jakub Friedl for suggesting fix.

svn path=/trunk/; revision=23693
2007-09-30 08:22:06 +00:00
Adam Weinberger 7d7a9ca968 Updated Canadian English translation.
2007-09-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.



svn path=/trunk/; revision=23692
2007-09-30 00:46:37 +00:00
Adam Weinberger a99bc9a96b Updated Canadian English translation.
2007-09-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.



svn path=/trunk/; revision=23691
2007-09-30 00:41:00 +00:00
Adam Weinberger 709b2fa37c Updated Canadian English translation.
2007-09-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.



svn path=/trunk/; revision=23690
2007-09-30 00:39:19 +00:00
Adam Weinberger 88d83022de Updated Canadian English translation.
2007-09-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.



svn path=/trunk/; revision=23689
2007-09-30 00:38:22 +00:00
Adam Weinberger 6668294d46 Updated Canadian English translation.
2007-09-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.



svn path=/trunk/; revision=23688
2007-09-30 00:33:14 +00:00
Adam Weinberger 6acd27aed9 Updated Canadian English translation.
2007-09-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.



svn path=/trunk/; revision=23687
2007-09-30 00:30:15 +00:00
Michael Natterer 26745bf519 loop around select() as long as it returns EINTR. Enables debugging of
2007-09-29  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.c (gimp_extension_process): loop around select() as
	long as it returns EINTR. Enables debugging of script-fu on
	OSX (and maybe all BSDish systems).


svn path=/trunk/; revision=23686
2007-09-29 10:13:48 +00:00
Sven Neumann 4c0b47c34d allocate the ConsoleInterface struct on the stack.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: allocate the
	ConsoleInterface struct on the stack.


svn path=/trunk/; revision=23685
2007-09-28 17:26:15 +00:00
Kevin Cozens 14eb770a4c Made all the functions defined in the file local instead of global to
2007-09-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/addborder.scm: Made all the functions
	defined in the file local instead of global to avoid possible
	conflicts with other scripts.

svn path=/trunk/; revision=23684
2007-09-28 16:13:58 +00:00
Sven Neumann 4d77d9a2d1 plugged memory leaks.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c: plugged memory leaks.

	* libgimpbase/gimpprotocol.c (gp_params_destroy): formatting.

svn path=/trunk/; revision=23683
2007-09-28 14:20:35 +00:00
Sven Neumann 2e695e0e28 fixed error in ChangeLog entry
svn path=/trunk/; revision=23682
2007-09-28 10:47:12 +00:00
Sven Neumann 48741d2ceb avoid the ambiguity of returning different values for the same color and
2007-09-28  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.c (gimp_hsv_to_rgb_int): avoid the
	ambiguity of returning different values for the same color and
	limit the Hue output range to [0..359].

svn path=/trunk/; revision=23681
2007-09-28 10:46:35 +00:00
Sven Neumann bba7d1e0c4 use gimp_pixel_rgn_set_row() to set a single row of pixels.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_rgba): use
	gimp_pixel_rgn_set_row() to set a single row of pixels.

svn path=/trunk/; revision=23680
2007-09-28 10:10:28 +00:00
Sven Neumann f5caeaf0f2 fixed typo.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-splash.png: fixed typo.

svn path=/trunk/; revision=23679
2007-09-28 09:53:41 +00:00
Sven Neumann 3553d68652 fixed the twisted logic.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image): fixed the twisted logic.

svn path=/trunk/; revision=23678
2007-09-28 08:11:33 +00:00
Sven Neumann 8f2b37a8e5 moved handling of the CMYK profile to a utility function. Respect the
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c: moved handling of the CMYK profile 
to
	a utility function. Respect the user's color management 
settings.


svn path=/trunk/; revision=23677
2007-09-28 07:13:47 +00:00
Amanpreet Singh Alam 27c1f4e8e6 udpating for Punjabi
svn path=/trunk/; revision=23676
2007-09-28 05:16:04 +00:00
Amanpreet Singh Alam 4c90c20429 udpating for Punjabi
svn path=/trunk/; revision=23675
2007-09-28 00:19:28 +00:00
Kevin Cozens 0cb80bdcd8 Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893.
2007-09-27  Kevin Cozens  <kcozens@cvs.gnome.org>

	Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893.

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h: Added set_run_mode_constant()
	which creates a new constant called SF-RUN-MODE. This constant can
	be used by Script-Fu scripts when calling a plug-in that needs to
	know the current run mode.

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-server.c: Added calls to create the
	new SF-RUN-MODE constant.

	* plug-ins/script-fu/scripts/difference-clouds.scm: Pass SF-RUN-MODE
	to the solid noise plug-in instead of always using RUN-INTERACTIVE.

svn path=/trunk/; revision=23674
2007-09-27 19:54:28 +00:00
Michael Natterer a5ed305f62 new version which correctly updates the menus when items are added or
2007-09-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/ige-mac-menu.c: new version which correctly updates the
	menus when items are added or removed.


svn path=/trunk/; revision=23673
2007-09-27 15:52:35 +00:00
Sven Neumann d5afc9128b define HAVE_LCMS if lcms is available.
2007-09-27  Sven Neumann  <sven@gimp.org>

	* configure.in: define HAVE_LCMS if lcms is available.

	* plug-ins/jpeg/Makefile.am: link with LIBLCMS.

	* plug-ins/jpeg/jpeg-load.c (load_image): when loading a CMYK JPEG
	file and it comes with an embedded CMYK profile, use lcms to do
	the colorspace conversion.

svn path=/trunk/; revision=23672
2007-09-27 15:09:50 +00:00
Sven Neumann d920ed2eae same change here. Moved colorspace conversion to a utility function.
2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_thumbnail_image): same change
	here. Moved colorspace conversion to a utility function.

svn path=/trunk/; revision=23671
2007-09-27 14:35:01 +00:00
Sven Neumann 5064d56b16 get rid of one of the temporary buffers. We don't need an alpha channel on
2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image): get rid of one of the
	temporary buffers. We don't need an alpha channel on the preview
	layer and we can do the CMYK->RGB conversion in place.

svn path=/trunk/; revision=23670
2007-09-27 14:22:40 +00:00
Sven Neumann e8d323c805 show the dialog when called with GIMP_RUN_WITH_LAST_VALS. This is better
2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (run): show the dialog when called with
	GIMP_RUN_WITH_LAST_VALS. This is better than just doing nothing
	when being called from the Repeat menu item (bug #480796).

svn path=/trunk/; revision=23669
2007-09-27 13:05:07 +00:00
Amanpreet Singh Alam 71e394f896 udpating for Punjabi
svn path=/trunk/; revision=23668
2007-09-27 11:09:28 +00:00
Sven Neumann c2020bf56d fixed GimpImageType parameter passed to gimp-layer-new. Do not register
2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: fixed GimpImageType
	parameter passed to gimp-layer-new. Do not register the script for
	grayscale images, it doesn't handle them properly.

svn path=/trunk/; revision=23667
2007-09-27 10:45:03 +00:00
Sven Neumann b774625eee unified error messages, removed trailing newlines.
2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c: unified error
	messages, removed trailing newlines.

svn path=/trunk/; revision=23666
2007-09-27 10:27:46 +00:00
Amanpreet Singh Alam 41d9df0d4c udpating for Punjabi
svn path=/trunk/; revision=23665
2007-09-27 04:34:25 +00:00
Gil Forcada Codinachs 0cd3472255 Updated Catalan translation by Joaquim Perez
svn path=/trunk/; revision=23664
2007-09-26 19:46:31 +00:00
Gil Forcada Codinachs 4d250ee65e Updated Catalan translation by Joaquim Perez
svn path=/trunk/; revision=23663
2007-09-26 19:46:18 +00:00
Sven Neumann 85deee0aef don't create nested undo groups.
2007-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: don't create nested undo groups.


svn path=/trunk/; revision=23662
2007-09-26 19:29:54 +00:00
Sven Neumann 387c830231 call gimp_color_managed_profile_changed() if an icc-profile is attached or
2007-09-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimageundo.c (gimp_image_undo_pop): call
	gimp_color_managed_profile_changed() if an icc-profile is 
attached
	or removed from an image by an undo operation (bug #475983).


svn path=/trunk/; revision=23661
2007-09-26 19:27:05 +00:00
Inaki Larranaga b3f52f4cfe Updated Basque translation.
2007-09-26  Inaki Larranaga  <dooteo@zundan.com>

        * eu.po: Updated Basque translation.


svn path=/trunk/; revision=23660
2007-09-26 15:51:37 +00:00
Simon Budig 2f4e32a7d5 fix the numerical overflow for the new box-filtering stuff.
2007-09-26  Simon Budig  <simon@gimp.org>

	* app/display/gimpdisplayshell-render.c: fix the numerical overflow
	for the new box-filtering stuff.

	Fixes bug #479807.


svn path=/trunk/; revision=23659
2007-09-26 14:49:21 +00:00
Sven Neumann bda4441973 use separate variables for width and height entry. Fixes bug #480303.
2007-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/maze/maze_face.c (maze_dialog): use separate variables
	for width and height entry. Fixes bug #480303.

svn path=/trunk/; revision=23658
2007-09-26 10:57:44 +00:00
Sven Neumann c9635dddec fixed check for modifier keys and always return on a matched event(bug
2007-09-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerwheel.c (gimp_controller_wheel_scroll):
	fixed check for modifier keys and always return on a matched
	event(bug #480319). Also reordered the list of events as the code
	does not any longer rely on a certain order.

svn path=/trunk/; revision=23657
2007-09-26 09:55:09 +00:00
Sven Neumann c8ef39e096 minor cleanup, removed unused code.
2007-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/maze/maze_face.c: minor cleanup, removed unused code.

svn path=/trunk/; revision=23656
2007-09-26 09:01:20 +00:00
Alexandre Prokoudine 5fdfca1019 Updated Russian translation.
2007-09-25  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/trunk/; revision=23655
2007-09-25 18:51:33 +00:00
Alexandre Prokoudine a120a485c0 Updated Russian translation.
2007-09-25  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/trunk/; revision=23654
2007-09-25 18:49:44 +00:00
Alexandre Prokoudine 7d7a3862db Updated Russian translation.
2007-09-25  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.


svn path=/trunk/; revision=23653
2007-09-25 18:49:01 +00:00
Alexandre Prokoudine 213f1ed8c2 Updated Russian translation.
2007-09-24  Alexandre Prokoudine <alexandre.prokoudine@gmail.com>

	* ru.po: Updated Russian translation.



svn path=/trunk/; revision=23652
2007-09-25 18:48:14 +00:00
Sven Neumann 5297f9bd3e left-align the image.
2007-09-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpmessagebox.c (gimp_message_box_constructor):
	left-align the image.

	* app/actions/data-commands.c
	* app/actions/documents-commands.c
	* app/actions/file-commands.c
	* app/actions/templates-commands.c: use more meaningful stock
	icons for message dialogs.

svn path=/trunk/; revision=23651
2007-09-25 14:03:33 +00:00
Sven Neumann e2ed6cd182 reverted "fix" for bug #477008.
2007-09-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/decompose.c: reverted "fix" for bug #477008.

	* tools/pdbgen/pdb/display.pdb
	* app/pdb/display_cmds.c: flush the image before creating a new
	display for it. Fixes bug #477008 also for other plug-ins like
	Screenshot.

svn path=/trunk/; revision=23650
2007-09-25 11:25:05 +00:00
Sven Neumann 501231ddd9 show the keyboard shortcut in brackets, as we do in other places.
2007-09-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed):
	show the keyboard shortcut in brackets, as we do in other places.

svn path=/trunk/; revision=23649
2007-09-25 11:12:56 +00:00
Kevin Cozens 0bd67f281f Applied patch from Ulf-D. Ehlert which pushes and pops a context to
2007-09-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/fuzzyborder.scm: Applied patch from
	Ulf-D. Ehlert which pushes and pops a context to prevent
	changing background colour in the UI. Fixes bug #479974.

svn path=/trunk/; revision=23648
2007-09-25 05:17:35 +00:00