Commit Graph

21456 Commits

Author SHA1 Message Date
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
Simon Budig 2f7fb978c9 cover up for embarassing generated-file-edit.
2007-09-24  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: cover up for embarassing
	generated-file-edit.


svn path=/trunk/; revision=23647
2007-09-24 18:13:29 +00:00
Matic Žgur d481533d49 Updated/Added Slovenian translations
svn path=/trunk/; revision=23646
2007-09-24 17:49:37 +00:00
Matic Žgur ad15d3d261 Updated Slovenian translation
svn path=/trunk/; revision=23645
2007-09-24 17:28:46 +00:00
Simon Budig 30ce2be623 fixed error on how many points get initialized.
2007-09-24  Simon Budig  <simon@gimp.org>

	* app/pdb/vectors_cmds.c: fixed error on how many points get
	initialized.

	Probably fixes bug #479790.


svn path=/trunk/; revision=23644
2007-09-24 16:57:19 +00:00
Ulf-D. Ehlert fb3703fd26 po-plug-ins/de.po Bugfixes in German translation.
2007-09-24  Ulf-D. Ehlert  <ulfehlert@svn.gnome.org>

	* po-plug-ins/de.po
	* po-script-fu/de.po: Bugfixes in German translation.

svn path=/trunk/; revision=23643
2007-09-24 16:43:21 +00:00
Sven Neumann 816889b544 removed const qualifiers to fix compilation on Solaris 8 (bug #479817).
2007-09-24  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c: removed const qualifiers
	to fix compilation on Solaris 8 (bug #479817).

svn path=/trunk/; revision=23642
2007-09-24 15:43:01 +00:00
Michael Natterer 5e12d9a0a5 allow to pass NULL as label and get the label from the menu itew.
2007-09-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/ige-mac-menu.c (ige_mac_menu_add_app_menu_item): allow
	to pass NULL as label and get the label from the menu itew.

	* app/gui/gui.c (gui_restore_after_callback): pass NULL as labels
	for the preferences menu items.


svn path=/trunk/; revision=23641
2007-09-24 15:01:10 +00:00
Jakub Friedl 9eff074cf7 Updated Czech translation.
2007-09-24  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=23640
2007-09-24 13:39:58 +00:00
Michael Natterer 51f2f0c65f new versions with slight API renaming and new generalized API for adding
2007-09-24  Michael Natterer  <mitch@gimp.org>

	* app/gui/ige-mac-menu.[ch]: new versions with slight API renaming
	and new generalized API for adding application menu items.

	* app/gui/gui.c (gui_restore_after_callback): follow API changes
	and add "Preferences", "Keyboard Shortcuts" and "Units" to the
	application menu's preferences section.


svn path=/trunk/; revision=23639
2007-09-24 13:33:47 +00:00
Jakub Friedl f8699d68bc Updated Czech translation.
2007-09-24  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=23638
2007-09-24 13:09:54 +00:00
Simon Budig 93f66169bb use the correct default values for the control points of a loaded path.
2007-09-24  Simon Budig  <simon@gimp.org>

	* app/xcf/xcf-load.c: use the correct default values for the
	control points of a loaded path.

	Fixes bug #479176.


svn path=/trunk/; revision=23637
2007-09-24 08:20:59 +00:00