Commit Graph

15190 Commits

Author SHA1 Message Date
Michael Natterer b83dff24d5 apply evil size_request hacks to the color/image/foo areas' wrapbox
2005-02-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c (toolbox_area_notify): apply evil
	size_request hacks to the color/image/foo areas' wrapbox because
	its child requisition/allocation code is apparently broken. Works
	around bug #162500.
2005-02-21 18:21:50 +00:00
Sven Neumann 4339fb30aa fixed emboss on small images (bug #168022).
2005-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: fixed emboss on small images (bug #168022).
2005-02-21 16:12:27 +00:00
Sven Neumann f568dd4dd4 workaround for bug #167973: if no valid home directory exists, use the
2005-02-21  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.c (gimp_thumb_init): workaround for
	bug #167973: if no valid home directory exists, use the folder for
	temporary files to store thumbnails.
2005-02-21 13:14:15 +00:00
Takeshi AIHANA 981a36205a Updated Japanese translation for HEAD.
2005-02-21  Takeshi AIHANA <aihana@jcom.home.ne.jp>
	* ja.po: Updated Japanese translation for HEAD.
2005-02-21 12:49:57 +00:00
Takeshi AIHANA ea08637fb7 Updated Japanese translation for the HEAD.
2005-02-21  Takeshi AIHANA <aihana@jcom.home.ne.jp>
	* ja.po: Updated Japanese translation for the HEAD.
2005-02-21 12:40:42 +00:00
Michael Natterer 5ea3baa090 app/actions/context-actions.c removed the newly added color picker radius
2005-02-21  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c
	* app/actions/context-commands.[ch]: removed the newly added color
	picker radius actions...

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: ...and added them here.
2005-02-21 11:55:39 +00:00
Manish Singh da56b5305f add app/core/gimpinterpreterdb.c
2005-02-20  Manish Singh  <yosh@gimp.org>

        * POTFILES.in: add app/core/gimpinterpreterdb.c
2005-02-21 02:57:59 +00:00
Manish Singh 9706fce0a3 Support for custom plug-in interpreters, independent of OS support.
2005-02-20  Manish Singh  <yosh@gimp.org>

        Support for custom plug-in interpreters, independent of OS support.

        * app/core/Makefile.am
        * app/core/core-types.h
        * app/core/gimpinterpreterdb.[ch]: implemented GimpInterpreterDB,
        which handles registering and resolving custom plug-in interpreters.

        * app/core/gimp.[ch]: keep a GimpInterpreterDB around.

        * app/config/gimpcoreconfig.[ch]
        * app/config/gimprc-blurbs.h
        * app/dialogs/preferences-dialog.c
        * app/dialogs/user-install-dialog.c
        * app/widgets/gimphelp-ids.h: interpreter-path config stuff.

        * app/plug-in/plug-in.c: use registered interpreters when running
        plug-ins.

        * themes/Default/images/preferences/Makefile.am
        * themes/Default/images/preferences/folders-interp.png: just copied
        folders-plug-ins.png here, need a better one.

        * data/interpreters/Makefile.am: creates system interpreter directory.

        * data/interpreters/default.interp: sample interpreter file info.

        * data/Makefile.am
        * configure.in: add data/interpreters directory.

        * plug-ins/pygimp/Makefile.am: install pygimp.interp, which configures
        the python interpreter to point to the python we were built with. Also
        register the .py extension.

        * etc/gimprc
        * docs/gimprc.5.in: regenerated
2005-02-21 02:56:29 +00:00
jaycox fd809bfe92 Fix for changlog entry
Fix for changlog entry
2005-02-21 01:49:08 +00:00
jaycox c408ecebfa Fix layer mask support. Addresses bugs #166976 and #109841.
* plug-ins/common/psd.c: Fix layer mask support.  Addresses bugs
	#166976 and #109841.
2005-02-21 01:47:21 +00:00
Sven Neumann 8ec495f481 simplified the code 2005-02-21 01:08:44 +00:00
Sven Neumann 5157dba5cb Another step towards color management:
2005-02-21  Sven Neumann  <sven@gimp.org>

	Another step towards color management:

	* modules/Makefile.am
	* modules/cdisplay_lcms.c: added new color display module that
	implements color management for the image displays. Still work
	in progress...

	* modules/cdisplay_proof.c: no need to include <string.h> here.

	* libgimpconfig/gimpcolorconfig.[ch]: added new property
	"display-module" to configure the display color management module.

	* app/display/gimpdisplayshell-filter.[ch]
	* app/display/gimpdisplayshell.c: create the configured color
	management display filter for each display.
2005-02-21 00:45:17 +00:00
Sven Neumann 0c7778377b use g_filename_display_basename().
2005-02-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/presets.c (get_object_name): use
	g_filename_display_basename().
2005-02-20 21:58:40 +00:00
Sven Neumann 1e6a94e614 app/core/gimpgradient-load.c app/core/gimppalette.c app/core/gimppattern.c
2005-02-20  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgradient-load.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c
	* app/plug-in/plug-in.c
	* libgimpbase/gimputils.c
	* libgimpmodule/gimpmodule.c
	* libgimpwidgets/gimppatheditor.c
	* tools/pdbgen/pdb/image.pdb: use g_filename_display_name() or
	g_filename_display_basename() where appropriate.

	* app/pdb/image_cmds.c: regenerated.
2005-02-20 21:49:53 +00:00
Sven Neumann 7827c1dd88 better error reporting.
2005-02-20  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-processor.c: better error reporting.
2005-02-20 21:14:06 +00:00
Sven Neumann 8b1c3e9ded app/actions/context-actions.c added actions to control the average radius
2005-02-20  Sven Neumann  <sven@gimp.org>

	* app/actions/context-actions.c
	* app/actions/context-commands.c[ch]: added actions to control the
	average radius of color picker tools (bug #167765).

	* app/actions/tool-options-actions.c: fixed a typo in a comment.
2005-02-20 14:19:22 +00:00
Manish Singh 995f874af8 attempt to support Win32 (untested).
2005-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: attempt to support Win32 (untested).
2005-02-20 08:14:52 +00:00
Manish Singh 301a49b77c plug-ins/pygimp/plug-ins/gtkcons.py Use newer gtkcons widget from pygtk.
2005-02-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gtkcons.py
        * plug-ins/pygimp/plug-ins/gimpcons.py: Use newer gtkcons widget
        from pygtk. Some cosmetic additions.
2005-02-20 07:56:45 +00:00
Manish Singh caaf65cc7c Ignore guides at or beyond image bounds, since those aren't valid slicing
2005-02-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/py-slice.py: Ignore guides at or beyond
        image bounds, since those aren't valid slicing bounds. Fixes bug
        #167843.
2005-02-20 06:17:09 +00:00
Sven Neumann 17e7e13e58 migrate gimp-2.2 settings if available. Pass the version to
2005-02-20  Sven Neumann  <sven@gimp.org>

	* app/dialogs/user-install-dialog.c: migrate gimp-2.2 settings if
	available. Pass the version to gimp_templates_migrate().

	* app/core/gimp-templates.[ch] (gimp_templates_migrate): if
	migrating templaterc from ~/.gimp-2.0, do a case-insensitive match
	on template names to accommodate for the fact that we changed the
	spelling of some default templates between 2.0 and 2.2.
2005-02-19 23:38:59 +00:00
Michael Natterer 15ac13e2c4 block the "active-layer-changed" callback while anchoring the floating
2005-02-19  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptexttool.c (gimp_text_tool_create_layer): block
	the "active-layer-changed" callback while anchoring the floating
	selection so the callback doesn't reset the text tool in the
	middle of adding a new text layer. Fixes bug #166829.
2005-02-19 19:10:33 +00:00
Hans Breuer 1f4b749d11 now that I'm aware of script-fu-server running on win32 make it compile
2005-02-19  Hans Breuer  <hans@breuer.org>

	* plug-ins/makefile.msc plug-ins/script-fu/script-fu-server.c :
	now that I'm aware of script-fu-server running on win32 make it
	compile with msvc, too ;)
2005-02-19 17:00:25 +00:00
Ilkka Tuohela 319d1575c1 Small change to fi.po (_Ohje -> O_hje) 2005-02-19 06:30:37 +00:00
Sven Neumann 35d7fdfa5a app/widgets/gimpdockable.c added a tooltip and a help-id for the dockable
2005-02-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c
	* app/widgets/gimphelp-ids.h: added a tooltip and a help-id for the
	dockable menu.
2005-02-19 02:13:33 +00:00
Sven Neumann 695874dfd4 plug-ins/script-fu/script-fu.c there is script-fu server on Win32.
2005-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/siod-wrapper.c: there is script-fu server on
	Win32. Reverted this change, again!
2005-02-19 01:56:52 +00:00
Sven Neumann 267b6b25cd fixed a wrong translation (Debian bug report #292047).
2005-02-19  Sven Neumann  <sven@gimp.org>

	* fr.po: fixed a wrong translation (Debian bug report #292047).
2005-02-19 01:51:29 +00:00
Hans Breuer c6f63ea4e1 TILE_WIDTH is used unconditionally so always include "tile.h" WIN32 needs
2005-02-19  Hans Breuer  <hans@breuer.org>

	* app/base/pixel-processor.c : TILE_WIDTH is used unconditionally
	so always include "tile.h"
	* app/base/tile-swap.c : WIN32 needs <process.h> for _getpid()

	* app/dialogs/user-install-dialog.c : include gimpwin32-io.h
	* libgimpbase/gimpwin32-io.h : there are no group or other
	flags in msvcrt, define S_IGRP etc in terms of _S_IREAD etc

	* plug-ins/script-fu/script-fu.c plug-ins/script-fu/siod-wrapper.c :
	no script-fu server on win32, make respective function calls conditional

	* libgimpconfig/makefile.msc : new file
	* **/makefile.msc app/gimpcore.def : updated, gimp builds
	and runs once more with ms toolchain
2005-02-19 00:50:36 +00:00
Sven Neumann 41eed1e8b9 write a DEFI chunk to set the frame offset if the layer offsets are != 0,
2005-02-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (mng_save_image): write a DEFI chunk to
	set the frame offset if the layer offsets are != 0, not only if
	they are > 0. Fixes bug #166059.
2005-02-18 22:45:50 +00:00
Sven Neumann ed5e235fa6 unset the CAN_FOCUS flag on the combo boxes and the cancel button. Set
2005-02-18  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: unset the CAN_FOCUS flag on the
	combo boxes and the cancel button. Set "focus-on-click" to FALSE
	for the combo boxes. Fixes bug #167809.
2005-02-18 21:41:57 +00:00
Michael Natterer 93ed7cf85c applied patch from Patrice Tremblay which sets an alternative button order
2005-02-18  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpexport.c (export_dialog): applied patch from Patrice
	Tremblay which sets an alternative button order for the export
	dialog (bug #166678).
2005-02-18 18:37:27 +00:00
Alexander Shopov 7daa34d735 Updated Bulgarian translation by Iassen Pramatarov <turin@fsa-bg.org>
2005-02-18  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Iassen Pramatarov <turin@fsa-bg.org>
2005-02-18 17:38:12 +00:00
Sven Neumann 52d6f00e56 app/core/Makefile.am new files holding gimp_drawable_convert_rgb() and
2005-02-18  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpdrawable-convert.[ch]: new files holding
	gimp_drawable_convert_rgb() and gimp_drawable_convert_grayscale()
	moved out of gimpimage-convert.[ch].

	* app/core/gimpchannel.c
	* app/core/gimpimage-convert.[ch]
	* app/core/gimplayer.c: changed accordingly.
2005-02-18 16:16:24 +00:00
Sven Neumann 6300a9632c some simple loop unrolling, converted tabs to spaces and sprinkled the
2005-02-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c: some simple loop unrolling,
	converted tabs to spaces and sprinkled the code with const
	qualifiers.
2005-02-17 23:31:36 +00:00
Sven Neumann 0b2fc841f6 don't attempt to read beyond the pre-calculated render buffers, even if
2005-02-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrenderergradient.c
	(gimp_view_renderer_gradient_render): don't attempt to read beyond
	the pre-calculated render buffers, even if the gradient somehow
	has out-of-bounds values. Fixes the crash reported in bug #167604.
2005-02-17 22:01:30 +00:00
Sven Neumann 583f7d7958 fixed the build for compilers that don't support C99 extensions.
2005-02-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c: fixed the build for compilers that
	don't support C99 extensions.
2005-02-17 16:34:31 +00:00
Kevin Cozens 8ad5b3bd77 Added constants MIN-IMAGE-SIZE, MAX-IMAGE-SIZE, MIN-RESOLUTION, and
2005-02-16  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/siod-wrapper.c: Added constants MIN-IMAGE-SIZE,
	MAX-IMAGE-SIZE, MIN-RESOLUTION, and MAX-RESOLUTION for use in Script-Fu
	scripts. See comment #4 in bug #167529.
2005-02-17 00:24:31 +00:00
Sven Neumann d0e6a44640 app/widgets/gimpcontainercombobox.c set the "ellipsize" property on the
2005-02-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainercombobox.c
	* libgimpwidgets/gimpintcombobox.c: set the "ellipsize" property
	on the text cell-renderer. Not sure if it's a good idea to
	hardcode this for GimpIntComboBox, but let's give it a try. Fixes
	bug #136676.
2005-02-16 23:55:53 +00:00
Sven Neumann 046931480d use GOptionContext to parse the command-line.
2005-02-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/gimp-help-lookup.c: use GOptionContext to parse
	the command-line.
2005-02-16 23:29:26 +00:00
Sven Neumann 386731d6d4 switched to using a thread pool. Enables the progress callback for the
2005-02-16  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-processor.c: switched to using a thread pool.
	Enables the progress callback for the threaded case.
2005-02-16 21:24:13 +00:00
William Skaggs df13000318 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/plug-ins/script-fu/scripts/guides-new.scm:  committted
	slightly modified patch from  Joao S. O. Bueno Calligaris
	to raise guide position limit to 262144.
2005-02-16 19:39:41 +00:00
William Skaggs 963a484c51 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpclonetool.[ch]: make sure clone source is
	shown in correct display, fixes bug #167002.
2005-02-16 19:12:08 +00:00
Sven Neumann 82a5329fbf added a variant of pixel_regions_process_parallel() that takes a progress
2005-02-16  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-processor.[ch]: added a variant of
	pixel_regions_process_parallel() that takes a progress callback and
	progress data. Does only work for the single-threaded case yet.

	* app/core/gimpdrawable-blend.c (gradient_fill_region): parallelized.
2005-02-16 14:54:56 +00:00
Sven Neumann 6be469171d changed translations as suggested in bug #167562.
2005-02-16  Sven Neumann  <sven@gimp.org>

	* de.po: changed translations as suggested in bug #167562.
2005-02-16 10:20:54 +00:00
Sven Neumann 784fae02bb parallelized.
2005-02-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-contiguous-region.c
	(gimp_image_contiguous_region_by_color): parallelized.
2005-02-16 00:38:20 +00:00
Sven Neumann 637df82c71 parallelized.
2005-02-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-desaturate.c: parallelized.
2005-02-15 23:53:56 +00:00
Sven Neumann ddf6688fc8 code cleanup.
2005-02-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c (gimp_layer_transform_color): code cleanup.
2005-02-15 23:38:59 +00:00
Sven Neumann ca9ba32c45 formatting.
2005-02-15  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: formatting.
2005-02-15 15:48:46 +00:00
Sven Neumann 51710aa378 changed GimpImageMapApplyFunc to be compatible with PixelProcessorFunc.
2005-02-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.[ch]: changed GimpImageMapApplyFunc to
	be compatible with PixelProcessorFunc.

	* app/base/color-balance.[ch]
	* app/base/colorize.[ch]
	* app/base/gimplut.[ch]
	* app/base/hue-saturation.[ch]
	* app/base/threshold.[ch]: removed wrappers that used to
	shift parameters around to match GimpImageMapApplyFunc and
	PixelProcessorFunc signatures.

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c: changed accordingly.

	* tools/pdbgen/pdb/color.pdb: use pixel_region_process_parallel()
	for all color operations.

	* app/pdb/color_cmds.c: regenerated.
2005-02-15 15:39:27 +00:00
Marco Ciampa 9d5cb909fe Updated italian translation 2005-02-15 12:10:54 +00:00
Sven Neumann 3d0ebd0817 added a comment about the use of mallopt() and what could be done instead.
2005-02-15  Sven Neumann  <sven@gimp.org>

	* app/main.c (gimp_init_malloc): added a comment about the use of
	mallopt() and what could be done instead. Use the TILE_WIDTH and
	TILE_HEIGHT defines to determine the M_MMAP_THRESHOLD value.
2005-02-15 11:19:23 +00:00