Commit graph

9027 commits

Author SHA1 Message Date
Sven Neumann 1016c682c8 more plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
2003-07-02 00:15:09 +00:00
Sven Neumann 1240214a0a more plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
2003-07-01 23:21:36 +00:00
Sven Neumann c47cd67799 added const qualifiers.
* libgimp/gimppixelrgn.c: added const qualifiers.
2003-07-01 21:34:53 +00:00
Sven Neumann 2587f1a9f2 libgimp/gimpbrushselect.c libgimp/gimpfontselect.c
2003-07-01  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushselect.c
	* libgimp/gimpfontselect.c
	* libgimp/gimpgradientselect.c
	* libgimp/gimppatternselect.c: added const qualifiers.

	* libgimp/gimpmiscui.c: reverted a bogus change from my last commit.
2003-07-01 21:24:06 +00:00
Sven Neumann 3018ec35ad first set of plug-ins adapted to the constified libgimp API.
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common: first set of plug-ins adapted to the constified
	libgimp API.
2003-07-01 18:54:28 +00:00
Sven Neumann 4d61cc563d libgimp/gimp.[ch] libgimp/gimpchannel.[ch] libgimp/gimpdrawable.[ch]
2003-07-01  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch]
	* libgimp/gimpchannel.[ch]
	* libgimp/gimpdrawable.[ch]
	* libgimp/gimpimage.[ch]
	* libgimp/gimplayer.[ch]
	* libgimp/gimpmisc.[ch]
	* libgimp/gimpmiscui.[ch]
	* libgimp/gimppixelrgn.[ch]
	* libgimp/gimpproceduraldb.[ch]: added const qualifiers to the
	libgimp API. Will cause lots of compiler warnings until the
	generated PDB code has been constified as well.

	* libgimpbase/gimpparasite.[ch]: use gconstpointer, not const
	gpointer.
2003-07-01 18:11:18 +00:00
Sven Neumann a6264ada31 fixed the non-alpha case (bug #116470).
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ripple.c (average_four_pixels): fixed the
	non-alpha case (bug #116470).
2003-07-01 16:53:33 +00:00
Jakub Steiner 7e6b71c8fd app/gui/image-menu.c app/gui/plug-in-menus.c app/gui/toolbox-menu.c Added
2003-07-01  Jakub Steiner <jimmac@ximian.com>

* app/gui/image-menu.c
* app/gui/plug-in-menus.c
* app/gui/toolbox-menu.c
* app/tools/gimp*tool.c: Added mnemonics (bug #106991).
  Plug-ins and Script-Fus next.
2003-07-01 16:22:03 +00:00
Sven Neumann a8f6d6de9b plug-ins/ifscompose/ifscompose.[ch] use Pango to draw text.
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.[ch]
	* plug-ins/ifscompose/ifscompose_utils.c: use Pango to draw text.

	* plug-ins/ifscompose/ifscompose_storage.c: minor code cleanup.
2003-07-01 16:07:13 +00:00
Sven Neumann 5b181dcf4d bumped version number to 1.3.17.
2003-07-01  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.17.
2003-07-01 15:12:21 +00:00
Sven Neumann d75b958007 fixed my latest ChangeLog entry 2003-07-01 15:08:33 +00:00
Michael Natterer 92297ab605 removed all brush, font, gradient and pattern related code.
2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpmenu.[ch]: removed all brush, font, gradient
	and pattern related code.

	* libgimp/gimpbrushselect.[ch]
	* libgimp/gimpfontselect.[ch]
	* libgimp/gimpgradientselect.[ch]
	* libgimp/gimppatternselect.[ch]: new files containing the
	wrappers around their resp. _pdb.[ch] files. Changed function
	names to gimp_*_select_new(). Added gimp_*_select_destroy()
	functions so we're not forced to leak all wrappers. Cleanup.

	* libgimp/gimpbrushmenu.h
	* libgimp/gimpfontmenu.h
	* libgimp/gimpgradientmenu.h
	* libgimp/gimppatternmenu.h: new files. Changed function names
	here too.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c: changed accordingly. Free the
	foo_select wrappers when they are no longer needed (generally,
	free everthing instead of leaking everything). Lots of cleanup.

	* libgimp/Makefile.am
	* libgimp/gimp.def
	* libgimp/gimpui.def: changed accordingly.

	* libgimp/gimp.h
	* libgimp/gimpui.h: include the new headers.

	* libgimp/gimpcompat.h: added the old function names here.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/film.c
	* plug-ins/gfig/gfig.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt: follow libgimp cleanup, moved the
	brush, font, gradient and pattern selection stuff to their own
	sections.

	* libgimp/tmpl/gimpfonts.sgml: removed.

	* libgimp/tmpl/gimpbrushmenu.sgml
	* libgimp/tmpl/gimpbrushselect.sgml
	* libgimp/tmpl/gimpfontmenu.sgml
	* libgimp/tmpl/gimpfontselect.sgml
	* libgimp/tmpl/gimpgradientmenu.sgml
	* libgimp/tmpl/gimpgradientselect.sgml
	* libgimp/tmpl/gimppatternmenu.sgml
	* libgimp/tmpl/gimppatternselect.sgml: new files.

	* libgimp/tmpl/gimpbrushes.sgml
	* libgimp/tmpl/gimpgradients.sgml
	* libgimp/tmpl/gimpmenu.sgml
	* libgimp/tmpl/gimppatterns.sgml: regenerated.
2003-07-01 15:06:06 +00:00
Sven Neumann 2eb4486dd0 removed a double entry, added some new ones.
2003-07-01  Sven Neumann  <sven@gimp.org>

	* tools/authorsgen/contributors: removed a double entry, added
	some new ones.

	* AUTHORS
	* app/gui/authors.h: regenerated.
2003-07-01 12:50:44 +00:00
Sven Neumann 4ebac2e791 app/base/base-enums.h app/paint/paint-enums.h use /*< pdb-skip, skip >*/,
2003-07-01  Sven Neumann  <sven@gimp.org>

	* app/base/base-enums.h
	* app/paint/paint-enums.h
	* app/tools/tools-enums.h: use /*< pdb-skip, skip >*/, updated the
	comment that explains how to use the trigraph sequences.

	* app/tools/tools-enums.c: regenerated.
2003-07-01 10:53:38 +00:00
Sven Neumann ef45090462 app/gui/dialogs.c app/gui/module-browser.c changed "Module Browser" to
2003-06-30  Sven Neumann  <sven@gimp.org>

	* app/gui/dialogs.c
	* app/gui/module-browser.c
	* app/gui/toolbox-menu.c: changed "Module Browser" to "Module
	Manager" as suggested in bug #116171.
2003-06-30 13:20:17 +00:00
Michael Natterer 8ae599a2fa removed app/tools/tool_options.c, changed app/tools/paint_options.c to
2003-06-30  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: removed app/tools/tool_options.c, changed
	app/tools/paint_options.c to app/tools/gimppaintoptions-gui.c
2003-06-30 09:45:08 +00:00
Valek Frob 572bcdadf3 Updated russian translation from Anatoly Yakushin. 2003-06-30 07:45:30 +00:00
Mohammad DAMT 9a9800906b Added Indonesian translation Added Indonesian translation Added Indonesian
2003-06-30  Mohammad DAMT  <mdamt@bisnisweb.com>

	* po-libgimp/id.po: Added Indonesian translation
	* po-plug-ins/id.po: Added Indonesian translation
	* po-script-fu/id.po: Added Indonesian translation
	* tips/id.po: Added Indonesian translation
	* configure.in: Added "id" to ALL_LINGUAS
2003-06-30 05:51:09 +00:00
Manish Singh 35907ff2f6 handle options with -'s in them
2003-06-29  Manish Singh  <yosh@gimp.org>

        * tools/gimp-mkenums: handle options with -'s in them

        * tools/pdbgen/enumgen.pl: redo a bunch of logic for the below

        * app/core/core-enums.h: use /*< pdb-skip, skip >*/ for skipping
        in both gimp-mkenums and enumgen.pl

        * app/core/core-enums.c: regenerated
2003-06-29 21:54:09 +00:00
Michael Natterer 8dd2e80792 Getting rid of some legacy filenames:
2003-06-29  Michael Natterer  <mitch@gimp.org>

	Getting rid of some legacy filenames:

	* app/core/Makefile.am
	* app/core/gimptooloptions.[ch]: new files.

	* app/paint/gimppaintoptions.h: changed #include accordingly.
	#define GIMP_PAINT_OPTIONS_CONTEXT_MASK here.

	* app/tools/paint_options.[ch]
	* app/tools/tool_options.[ch]: removed these files.

	* app/tools/gimppaintoptions-gui.[ch]
	* app/tools/gimptooloptions-gui.[ch]: new files.

	* app/tools/gimppainttool.h: removed GIMP_PAINT_TOOL_OPTIONS_MASK
	define again.

	* app/tools/Makefile.am
	* app/tools/gimpairbrushtool.c
	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcoloroptions.[ch]
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcropoptions.[ch]
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpflipoptions.[ch]
	* app/tools/gimpinkoptions.c
	* app/tools/gimpmagnifyoptions.[ch]
	* app/tools/gimpmeasureoptions.[ch]
	* app/tools/gimpmoveoptions.[ch]
	* app/tools/gimppaintbrushtool.c
	* app/tools/gimppenciltool.c
	* app/tools/gimpselectionoptions.[ch]
	* app/tools/gimpsmudgetool.c
	* app/tools/gimptextoptions.[ch]
	* app/tools/gimptransformoptions.[ch]
	* app/tools/tool_manager.c
	* app/gui/tool-options-dialog.c: changed accordingly.

	* app/tools/tools.c: moved the vector tool before iscissors.
2003-06-29 20:40:45 +00:00
Michael Natterer 4233ddbcd2 added missing gimp_image_flush(). Fixes bug #116190.
2003-06-29  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpvectorstreeview.c
	(gimp_vectors_tree_view_toselection_extended_clicked): added
	missing gimp_image_flush(). Fixes bug #116190.
2003-06-29 19:54:12 +00:00
Manish Singh 40daabb1fd fix --enable-default-binary
2003-06-29  Manish Singh  <yosh@gimp.org>

        * configure.in: fix --enable-default-binary
2003-06-29 16:38:55 +00:00
Christophe Merlet a612ee112c Updated French translation. 2003-06-29 13:01:27 +00:00
Miloslav Trmac db977dbe92 Update Czech translation 2003-06-29 02:09:33 +00:00
Dave Neary 46ca5a780b Save patterns with alpha channels, and remove warning while loading
2003-06-28  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/pat.c: Save patterns with alpha
        channels, and remove warning while loading patterns
        with an alpha channel.

        * app/core/gimppattern.c
        * app/core/gimpdrawable-bucket-fill.c
        * app/paint/gimpclone.c: Make cloning from a pattern
        source, and bucket filling with a pattern, work when
        there's an alpha channel present in the pattern.

        I'm not particularly happy with this, because the only
        way to tell whether there's an alpha channel or not is
        by the number of bytes in the TempBuf the clone and
        bucketfill routines get passed, which is rather
        restrictive. It would be nice if a TempBuf had a
        _has_alpha () method.
2003-06-28 12:36:52 +00:00
Michael Natterer e14e158e70 removed enum GimpContextPropType and enum GimpContextPropMask.
2003-06-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.h: removed enum GimpContextPropType and
	enum GimpContextPropMask.

	* app/core/core-enums.[ch]: added them here.

	* app/core/gimptoolinfo.[ch]: replaced "gboolean tool_context"
	member by "GimpContextPropMask context_props" so each tool can
	specify exactly which context properties it wants to have
	persistently remembered.

	* app/tools/tools-types.h: changed typedef GimpToolRegisterCallback
	accordingly.

	* app/tools/tool_manager.[ch] (tool_manager_register_tool): ditto.

	Removed the "global_tool_context" and initialize all tool info
	objects from the user_context after creation. Removed the
	PAINT_OPTIONS_MASK #define and use the new context_props stored in
	tool_info insted.

	* app/tools/gimppainttool.h: #define the common properties of the
	paint tools as GIMP_PAINT_TOOL_OPTIONS_MASK (which is OPACITY |
	PAINT_MODE | BRUSH).

	* app/tools/[all tools].c (gimp_*_tool_register): replaced the
	"use_context" boolean by the actual mask of context properties the
	tools need.
2003-06-28 11:20:37 +00:00
Michael Natterer e39f334f72 fixed Czech translation so it doesn't break the build.
2003-06-28  Michael Natterer  <mitch@gimp.org>

	* cs.po: fixed Czech translation so it doesn't break the build.
2003-06-28 10:20:02 +00:00
Manish Singh 36d6509b79 fix date 2003-06-28 00:09:21 +00:00
Manish Singh c1e165d32d Missing self. reference. Fixes #115714.
2003-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Missing self. reference. Fixes #115714.

        * plug-ins/pygimp/gimpui.py: Move item.show() in Selector so that all
        items are shown. Fixes bug #115715. Thanks to Dave Corrie for catching
        both these.

        * plug-ins/pygimp/gimpfu.py: Always register as type PLUGIN, to
        reflect the recent changes in semantics.

        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: s/extension/plug_in/ to
        reflect above, for consistency.

        * plug-ins/pygimp/gimpfu.py: Add a fail method which uses
        gimp.message and then raises an error.

        * plug-ins/pygimp/gimpmodule.c: remove declarations for
        gimp_extension_ack and gimp_extension_process, they are in gimp.h.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpui.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Added pygtk.require('2.0').
        Fixes bug #115545.
2003-06-28 00:06:58 +00:00
Miloslav Trmac 377d184946 Updated Czech translation 2003-06-27 23:00:54 +00:00
Christian Rose d555fe944f Converted to UTF-8.
2003-06-28  Christian Rose  <menthos@menthos.com>

	* ca.po, en_GB.po, fi.po, ga.po, gl.po, hr.po, it.po, nl.po,
	no.po, ro.po, sk.po, uk.po: Converted to UTF-8.
2003-06-27 22:30:54 +00:00
Christian Rose d02b7e520b Converted to UTF-8.
2003-06-28  Christian Rose  <menthos@menthos.com>

	* ca.po, en_GB.po, fi.po, ga.po, gl.po, hr.po, it.po, nl.po,
	no.po, ro.po, ru.po, tr.po, uk.po: Converted to UTF-8.
2003-06-27 22:23:35 +00:00
Christian Rose b983026f09 Converted to UTF-8.
2003-06-28  Christian Rose  <menthos@menthos.com>

	* ca.po, en_GB.po, fi.po, ga.po, gl.po, hr.po, it.po, lt.po,
	nl.po, no.po, ro.po, ru.po, sk.po, tr.po, uk.po: Converted
	to UTF-8.
2003-06-27 22:17:52 +00:00
Henrik Brix Andersen 67e946e2b3 removed unneeded variable.
2003-06-28 Henrik Brix Andersen <brix@gimp.org>

* app/gui/grid-dialog.c (cancel_callback): removed unneeded
variable.
2003-06-27 22:15:53 +00:00
Christian Rose 1df25b28d7 Converted to UTF-8.
2003-06-28  Christian Rose  <menthos@menthos.com>

	* am.po, ca.po, en_GB.po, fi.po, gl.po, hr.po, it.po, lt.po,
	nl.po, ro.po, sr.po, sr@Latn.po, tr.po, uk.po: Converted to
	UTF-8.
2003-06-27 22:11:53 +00:00
Michael Natterer d2e66f2aac new function which returns (draw_tool->gdisp != NULL).
2003-06-27  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_is_active): new
	function which returns (draw_tool->gdisp != NULL).
2003-06-27 16:05:05 +00:00
Michael Natterer e40a5b5370 added an entry for the text tool editor.
2003-06-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs.c (toplevel_entries): added an entry for the
	text tool editor.

	* app/tools/gimptexttool.c (gimp_text_tool_editor): register
	the editor window with the dialog factory so it becomes
	session-menaged.
2003-06-27 14:26:04 +00:00
Michael Natterer b264fa1f4c #include "config/gimpconfig.h"
2003-06-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/grid-dialog.c: #include "config/gimpconfig.h"
2003-06-27 14:18:54 +00:00
Sven Neumann 8abc548d47 some release fixes that I will try to sneak into the tarball 2003-06-27 01:06:50 +00:00
Sven Neumann a401d3ca77 Made 1.3.16 release.
2003-06-26  Sven Neumann  <sven@gimp.org>

	* Made 1.3.16 release.
2003-06-26 22:49:51 +00:00
Pablo Gonzalo del Campo 0308dea0be Updated Spanish translation by Francisco Javier F. Serrador
2003-06-26  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation by
                 Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-06-26 17:56:43 +00:00
Sven Neumann 2e5314c340 select items on "button_press_event" not on "clicked". Makes the grid view
2003-06-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainergridview.c: select items on
	"button_press_event" not on "clicked". Makes the grid view behave
	like the list view and fixes bug #115797.
2003-06-26 16:37:43 +00:00
Sven Neumann b1df5513df don't set the focus on the size_entry. This change allows to accept the
2003-06-26  Sven Neumann  <sven@gimp.org>

	* app/gui/file-new-dialog.c (file_new_dialog_new): don't set the
	focus on the size_entry. This change allows to accept the default
	values by pressing OK. Fixes bug #115876.
2003-06-26 15:57:20 +00:00
Michael Natterer 319fbf849b update copyright notice to "1995-2003". Fixes bug #116026.
2003-06-26  Michael Natterer  <mitch@gimp.org>

	* app/gui/user-install-dialog.c (user_install_dialog_create):
	update copyright notice to "1995-2003". Fixes bug #116026.
2003-06-26 15:08:39 +00:00
Simon Budig 1a80262e7e rewrote gimp_bezier_stroke_extend for the case when the neighbor is not
2003-06-26  Simon Budig  <simon@gimp.org>

        * app/vectors/gimpbezierstroke.c: rewrote gimp_bezier_stroke_extend
        for the case when the neighbor is not really an end point of the
        stroke, but close enough to the end to still be acceptable.

        * app/tools/gimpvectortool.c: Make the tool behave sanely
        and more symetrically (both ends of a stroke behave basically the
        same now), gimp_draw_on_handle () now prefers the anchor passed
        into it via the *ret_anchor parameter over other preferred anchors.
2003-06-26 09:54:56 +00:00
Sven Neumann 4e4b91eda1 attempt to convert text from locale encoding.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-parasite.c (gimp_text_from_gdyntext_parasite):
	attempt to convert text from locale encoding.

	* app/vectors/gimpvectors-compat.c (gimp_vectors_compat_new):
	allow paths with zero points (bug # 115955).

	* plug-ins/script-fu/script-fu-server.c: if a connection to a
	client is lost, invalidate file descriptors in the command queue.
	Plugged a couple of memleaks.
2003-06-25 21:18:45 +00:00
Sven Neumann 043bfd25b3 added app/text/gimptext-parasite.c.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/text/gimptext-parasite.c.

	* de.po: updated.
2003-06-25 19:11:15 +00:00
Sven Neumann 9ab74cad7a some minor fixes.
2003-06-25  Sven Neumann  <sven@gimp.org>

	* gimp-tips.xml.in: some minor fixes.

	* de.po: updated German translation.
2003-06-25 19:10:27 +00:00
Sven Neumann 81c62c5865 added convenience function gimp_text_set_font_from_xlfd(). Improved and
2003-06-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-xlfd.[ch]: added convenience function
	gimp_text_set_font_from_xlfd(). Improved and documented XLFD parsing.

	* app/text/gimptext-parasite.c: use the new function.
2003-06-25 11:43:36 +00:00
Jan Morén e3efdc1e07 Updated Swedish translation.
2003-06-25  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-25 10:48:29 +00:00