Commit Graph

9131 Commits

Author SHA1 Message Date
Henrik Brix Andersen 2ff979d421 added more intuitive decribtions
2003-07-31 Henrik Brix Andersen <brix@gimp.org>

* app/core/core-enums.h (GimpGridType): added more intuitive
decribtions

* app/core/core-enums.c: regenerated

* app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid):
use gdk_draw_point() instead of gdk_draw_line() for dots-only mode

* .cvsignore: added gimptool-win32.c
2003-07-31 01:41:01 +00:00
Manish Singh e53a776325 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl new plug-in,
2003-07-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/ccanalyze.c: new plug-in, Colorcube Analysis
        (counts colors in an image, an often requested feature)
2003-07-31 01:12:00 +00:00
Tor Lillqvist ac5dfb4774 [Win32] Plug handle leak, call CloseHandle().
2003-07-30  Tor Lillqvist  <tml@iki.fi>

	* app/plug-in/plug-in.c (plug_in_close): [Win32] Plug handle leak,
	call CloseHandle().
2003-07-31 01:08:08 +00:00
Manish Singh 117d73cea3 fixed UTF-8 reversed check.
2003-07-30  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/app.pl: fixed UTF-8 reversed check.

        * libgimp/gimptexttool_pdb.c: regenerated (doc string changes, forgot
        to commit from previous change)
2003-07-30 16:48:12 +00:00
Sven Neumann f4dc4407b9 tweaked some blurbs.
2003-07-30  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h: tweaked some blurbs.
2003-07-30 10:26:40 +00:00
Michael Natterer f23762ce56 fixed UTF-8 check.
2003-07-30  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/app.pl: fixed UTF-8 check.

	* app/pdb/text_tool_cmds.c: regenerated.
2003-07-30 09:33:06 +00:00
Dave Neary 0756a06d46 plug-ins/common/edge.c: Trivial clean-up.
2003-07-30  Dave Neary  <bolsh@gimp.org>

        plug-ins/common/edge.c: Trivial clean-up.
2003-07-30 06:42:05 +00:00
Duarte Loreto 92c646f854 Updated Portuguese translation.
2003-07-30  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2003-07-30 01:50:21 +00:00
Manish Singh 440c717948 added a utf8 option for string input parameters, and validate them.
2003-07-29  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/app.pl: added a utf8 option for string input
        parameters, and validate them.

        * tools/pdbgen/pdb/text_tool.pdb: make the text parameter use it.
        Partially addresses #79897. Also remove references to XLFD in the
        doc text.

        * app/pdb/text_tool_cmds.c: regenerated

        * configure.in: Really bump the version number
2003-07-30 00:43:56 +00:00
Dave Neary f716f07e2f Added several new edge detection algorithms. There are more complicated
2003-07-29  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/edge.c: Added several new edge detection
        algorithms. There are more complicated ways these could be
        done (using the rotations of the kernels in the plug-in) but
        this is a nice mix between speed and complexity. The
        algorithms, heavily modified, come from iccii's thin_line
        plug-in.
2003-07-29 20:55:37 +00:00
Michael Natterer 6c0c7fda33 moved the code which manipulates gimage->layer_stack and the call to
2003-07-29  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.c (gimp_image_set_active_layer): moved the
	code which manipulates gimage->layer_stack and the call to
	gimp_layer_invalidate_boundary() inside the if(layer != active_layer)
	branch so it is called less often. Fixes the slowness of bug #104440
	for most cases since we don't need to recalculate the selection
	boundary in the next step.

	(gimp_image_set_active_channel): call
	gimp_layer_invalidate_boundary() before setting the active_layer
	to NULL. Fixes stale layer boundary when switching to a channel.

	* app/display/gimpdisplay.c (gimp_display_flush_whenever): when
	there are no updates, we still need to restart the selection.
	Fixes missing layer boundary when switching from a channel to
	a layer.
2003-07-29 16:36:56 +00:00
Michael Natterer bd457be1c7 use the gimp_display_shell_selection_control() wrapper instead of calling
2003-07-29  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_ants_speed_notify_handler): use the
	gimp_display_shell_selection_control() wrapper instead of
	calling gimp_display_shell_selection_*() functions directly.
	Don't #include "gimpdisplayshell-selection.h".
2003-07-29 16:16:03 +00:00
Michael Natterer d9440b4136 skip double clicks by checking event->type == GDK_BUTTON_PRESS. Brings
2003-07-29  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_[hv]ruler_button_press): skip double clicks by
	checking event->type == GDK_BUTTON_PRESS. Brings press and release
	events sent to the move tool back in sync and fixes bug #75351.
2003-07-29 14:36:18 +00:00
Pablo Gonzalo del Campo 4e30672e6b Updated Spanish translation from Francisco Javier Fernandez
2003-07-29  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation from
                 Francisco Javier Fernandez <serrador@arrakis.es>.
2003-07-29 12:38:11 +00:00
Sven Neumann 23bb2d1a4b bumped version number to 1.3.18.
2003-07-29  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.18.

	* INSTALL: documented new option --with-gif-compression.
2003-07-29 11:27:05 +00:00
Adam D. Moss 5d0845bcf7 Trivial -- tabs-to-spaces.
* plug-ins/common/gif.c: Trivial -- tabs-to-spaces.
2003-07-29 10:30:55 +00:00
Dave Neary ebc79a6559 Include a patch by Cameron Gergory <cameron@bloke.com> which allows a
2003-07-29  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/gif.c: Include a patch by Cameron Gergory
        <cameron@bloke.com> which allows a compile-time choice of the
        comression algorithm to be used in the gif plug-in.

        * configure.in: Added --with-gif-compress flag to allow
        specification of compression algorithm via configure.
2003-07-29 06:52:41 +00:00
Helvetix Victorinox 0aad627dbe Made the explicit target "regenerate" to regenerate the source files using
* app/composite/Makefile.am:
Made the explicit target "regenerate" to regenerate the source
files using the Python meta-generator.

* app/composite/gimp-composite-mmx.c
* app/composite/gimp-composite-mmx.h
* app/composite/gimp-composite-sse.c
* app/composite/gimp-composite-sse.h:
Now bounded by the conditional "#if __GNUC__ >= 3".  This is a
coarse fix to enable app/composite to build on a wider variety of
platforms.  Ideally, this will be refined to encompass different
versions of the compiler(s) supporting inline assembly code.
2003-07-29 02:54:09 +00:00
Henrik Brix Andersen 351557433b renamed GIMP_GRID_TYPE_INTERSECTION to GIMP_GRID_TYPE_INTERSECTIONS, added
2003-07-28 Henrik Brix Andersen <brix@gimp.org>

* app/core/core-enums.h (GimpGridType): renamed
  GIMP_GRID_TYPE_INTERSECTION to GIMP_GRID_TYPE_INTERSECTIONS, added
  GIMP_GRID_TYPE_DOTS

* app/core/core-enums.c: regenerated

* app/gui/grid-dialog.c
* app/core/gimpgrid.c: changed accordingly

* app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid): added
  code to draw the dots-only grid
2003-07-28 21:26:11 +00:00
Sven Neumann c217e77cb1 use g_alloca() instead of alloca().
2003-07-28  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (initial_sub_region)
	(combine_sub_region): use g_alloca() instead of alloca().
2003-07-28 20:49:22 +00:00
Sven Neumann fb63bb2fe4 exclude libgimbase/gimpwin32-io.h.
2003-07-28  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am: exclude libgimbase/gimpwin32-io.h.
2003-07-28 19:49:19 +00:00
Sven Neumann bd692e34ff added gimpwin32-io.h.
2003-07-28  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am (EXTRA_HEADERS): added gimpwin32-io.h.

	* libgimpbase/gimpdatafiles.c: properly include the new header.
2003-07-28 18:19:24 +00:00
Sven Neumann 15b80e0c1b added gimpwin32-io.h.
2003-07-28  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am (EXTRA_HEADERS): added gimpwin32-io.h.
2003-07-28 16:01:11 +00:00
Manish Singh 7254eb85bd add libgimpcolor to libgimpui's LIBADD, should fix bug #118475.
2003-07-28  Manish Singh  <yosh@gimp.org>

        * libgimp/Makefile.am: add libgimpcolor to libgimpui's LIBADD,
        should fix bug #118475.
2003-07-28 14:58:11 +00:00
Michael Natterer 4ffa2cdefa define FT_GLYPH_FORMAT_OUTLINE as ft_glyph_format_outline if it doesn't
2003-07-28  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptext-vectors.c: define FT_GLYPH_FORMAT_OUTLINE as
	ft_glyph_format_outline if it doesn't exist so it compiles with
	older freetype versions.
2003-07-28 12:51:51 +00:00
Michael Natterer 5802bbd486 add the GIMP_STOCK_GRID icon to the "Configure Grid..." menu item and set
2003-07-28  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c (image_menu_entries): add the
	GIMP_STOCK_GRID icon to the "Configure Grid..." menu item and set
	it insensitive if there is no image.
2003-07-28 12:06:41 +00:00
Michael Natterer d2bd22947b removed the name from the GimpOrientationType[Compat] enum. The enums in
2003-07-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpcompat.h: removed the name from the
	GimpOrientationType[Compat] enum. The enums in this header are
	just an anonymous mappings and not types by themselves.
2003-07-28 10:27:24 +00:00
Tor Lillqvist 761f6834f7 Use g_find_program_in_path().
2003-07-27  Tor Lillqvist  <tml@iki.fi>

	* gimptool-win32.c.in (get_prefix): Use g_find_program_in_path().

	* configure.in: Expand gimptool-win32.c.

	* Makefile.am: Distribute gimptool-win32.c.in.
2003-07-27 22:52:25 +00:00
Tor Lillqvist 9b117a6de7 Use -mwindows on Win32.
2003-07-27  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/*/Makefile.am: Use -mwindows on Win32.
2003-07-27 22:43:11 +00:00
Miloslav Trmac fc48c1e75f Update Czech translation 2003-07-27 22:28:03 +00:00
Henrik Brix Andersen 1669906bbe moved Configure Grid entry to the <Image>/Image branch
2003-07-27 Henrik Brix Andersen <brix@gimp.org>

* app/gui/image-menu.c (image_menu_entries): moved Configure Grid
entry to the <Image>/Image branch

* app/gui/view-commands.[ch] (view_configure_grid_cmd_callback):
removed function

* app/gui/image-commands.[ch] (image_configure_grid_cmd_callback):
added function here

* app/gui/grid-dialog.c: removed snap and show options from the
dialog
2003-07-27 10:34:15 +00:00
Henrik Brix Andersen ea648dc9be re-added fallback definitions for _O_BINARY and _O_TEMPORARY
2003-07-27 Henrik Brix Andersen <brix@gimp.org>

* app/base/tile-swap.c: re-added fallback definitions for
_O_BINARY and _O_TEMPORARY
2003-07-27 09:56:44 +00:00
Tor Lillqvist f62a884ea1 Merge from stable: On Win32 (with no X11), don't include <X11/Xlib.h>. (Do
2003-07-27  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/xpm.c: Merge from stable: On Win32 (with no
	X11), don't include <X11/Xlib.h>. (Do include <X11/xpm.h>, though,
	as such a file is provided by the libXpm-noX package.)
	(parse_colors): If XPM_NO_X (Win32), use GDK to parse color names.
2003-07-27 09:46:38 +00:00
Tor Lillqvist 8ed4e82cb9 libgimp/gimp.def Move gimp_{brush,font,gradient,pattern}_
2003-07-27  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.def
	* libgimp/gimpui.def: Move gimp_{brush,font,gradient,pattern}_
	select_{destroy,new} back to gimp.def (and actually add some of
	the _destroy entries). The files where these are defined go in
	libgimp, not libgimpui (see Makefile.am). Sort the .def files.
2003-07-27 02:20:40 +00:00
Tor Lillqvist e7b1738f71 Use -no-undefined on Windows.
2003-07-26  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/libgck/gck/Makefile.am: Use -no-undefined on Windows.
2003-07-26 18:41:51 +00:00
Hans Breuer b70d6c3317 renamed GimpOrientationType with Compat postfix to avoid name clashing
2003-07-26  Hans Breuer  <hans@breuer.org>

	* libgimp/gimpcompat.h : renamed GimpOrientationType
	with Compat postfix to avoid name clashing when using
	this header together with libgimp/gimpenums.h

	* app/composite/makefile.msc : (new file)
	  **/makefile.msc : updated

	* libgimp/gimp.c : use static defined _tile<widht|height>
	in this file instead of function call

	* libgimp/gimp.def libgimp/libgimpui.def : moved from former
	to latter : gimp_<brush|font|gradient|pattern>_select_<new|destroy>
	added to former gimp_<brushes|gradients|patterns>_popup

	* app/paint/gimppaintcore.h : removed double semicolon
	which gave msvc error C2059: syntax error : ';'

	* libgimpbase/gimpwin32-io.h : (new file) compatibilty defines
	which were spread over multiple files to make up mostly for
	missing unistd.h

	* app/base/tile-swap.c app/core/gimpimagefile.c
	  libgimpbase/gimpdatafiles.c
	  plug-ins/FractalExplorer/FractalExplorer.c : use new header

	* plug-ins/gflare/gflare.c
	  plug-ins/flame/flame.c
	  plug-ins/FractalExplorer/Dialogs.c :
	removed #ifdef G_OS_WIN32 special casing, not needed anymore
	due to g_file_test() usage

	* app/text/*.* : changes required for build with PangoWin32,
	but not commited ...
2003-07-26 17:37:32 +00:00
Adam D. Moss 4d1c6041f3 Explain the mix of licenses within the GIMP distribution, and make an
2003-07-26  Adam D. Moss  <adam@gimp.org>

	* LICENSE: (new file) Explain the mix of licenses within
	the GIMP distribution, and make an explicit statement clarifying
	our position on invoking methods in GPL-implemented code from
	non-GPL plugins/extentions via libgimp and/or the pdb (ie. that
	this does not automatically GPL-infect the program doing the
	invoking, which is otherwise an ambiguity in the GPL).
2003-07-26 14:30:41 +00:00
Manish Singh 4c3671b29f slight fix for arg handling, shouldn't have any functional difference.
2003-07-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: slight fix for arg handling, shouldn't
        have any functional difference. This code should be redone at some
        point.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-pdb.c: constify

        * plug-ins/pygimp/plug-ins/sphere.py: use new blend pdb interface
2003-07-25 23:46:40 +00:00
Jan Morén bb07ffe9a4 Updated Swedish translation.
2003-07-26  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-07-25 22:29:49 +00:00
Jan Morén 22b4b73ead Updated Swedish translation.
2003-07-25  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-07-25 21:57:48 +00:00
Miloslav Trmac da69667546 Update Czech translation 2003-07-25 20:42:35 +00:00
Michael Natterer 7a9e1ceb33 app/core/gimpimage-undo-push.c (gimp_image_remove_layer)
2003-07-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.c (gimp_image_remove_layer)
	* app/core/gimpimage.c (undo_pop_layer)
	* app/text/gimptextlayer.c (gimp_text_layer_render):
	gimp_layer_invalidate_boundary() must be called whenever a layer
	gets translated, resized or removed. Fixes stale layer outlines in
	the canvas padding area.
2003-07-25 16:12:35 +00:00
Pablo Gonzalo del Campo 759bbfa0c4 Updated Spanish translation.
2003-07-25  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-07-25 14:11:38 +00:00
Vincent van Adrighem 3c9b153b2c Dutch translation updated by Branko Collin.
2003-07-25  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

	* nl.po: Dutch translation updated by Branko Collin.
2003-07-25 13:41:15 +00:00
Sven Neumann 50e92f83db added blurbs for the style properties. These show up as descriptions in
2003-07-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolornotebook.c (gimp_color_notebook_class_init):
	added blurbs for the style properties. These show up as descriptions
	in the generated documentation.

	* devel-docs/libgimpwidgets/libgimpwidgets-docs.sgml: added object
	hierarchy, moved some chapters a level up and made them a part.

	* devel-docs/libgimpwidgets/tmpl/gimpcolorarea.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolornotebook.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolorscale.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpcolorselector.sgml
	* devel-docs/libgimpwidgets/tmpl/gimpoffsetarea.sgml: added short
	descriptions.
2003-07-25 12:48:06 +00:00
Sven Neumann a3fc6b98fc removed GimpGradientPaintMode.
2003-07-25  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: removed GimpGradientPaintMode.
2003-07-25 10:56:13 +00:00
Sven Neumann fdfc0f27c4 Made 1.3.17 release.
2003-07-25  Sven Neumann  <sven@gimp.org>

	* Made 1.3.17 release.
2003-07-25 00:59:27 +00:00
Sven Neumann 97cae0fb02 fixed the --without-aa option I added lately.
2003-07-25  Sven Neumann  <sven@gimp.org>

	* configure.in: fixed the --without-aa option I added lately.
2003-07-24 22:43:05 +00:00
Maurits Rijk 198e74fb15 Fix for #118081 (right alignment of Help menu) and removed deprecated gtk widgets from polar plug-in. 2003-07-24 19:55:37 +00:00
Michael Natterer 5ac4af9223 added a static boolean "busy" variable to make sure we handle only one
2003-07-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp.c (gimp_help_internal): added a static
	boolean "busy" variable to make sure we handle only one help
	request at a time. Together with the now synchronous
	GIMP_EXTENSION starting this keeps us from showing multiple help
	browsers.

	Pass the help_locale around instead oh hardcoding it to "C" at the
	bottom (now it's hardcoded a few functions above ;)
2003-07-24 17:30:14 +00:00