Commit Graph

8923 Commits

Author SHA1 Message Date
Sven Neumann 6b99ae0405 applied a patch from S. Mukund that fixes a problem with newer versions of
2003-07-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
	a problem with newer versions of libmng (bug #115544).
2003-07-07 13:49:45 +00:00
Michael Natterer 8a6b5d0df8 gui/device-status-dialog.c -> widgets/gimpdevicestatus.c
2003-07-07  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: gui/device-status-dialog.c -> widgets/gimpdevicestatus.c
2003-07-07 13:38:11 +00:00
Michael Natterer 878ee7b03e app/gui/Makefile.am removed...
2003-07-07  Michael Natterer  <mitch@gimp.org>

	* app/gui/Makefile.am
	* app/gui/device-status-dialog.[ch]: removed...

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpdevicestatus.[ch]: ...added here as widget. The
	thing is narrower now but not nicer and needs some polishing.

	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_color_area_new()
	and gimp_prop_stock_image_new() (the latter is still unused).

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c: made the device status a dockable.

	* app/gui/dialogs-menu.c
	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: changed accordingly.

	* app/gui/gui.c: update the device status dialog indirectly now
	using the new gui_device_change_notify() callback.
2003-07-07 13:37:19 +00:00
Sven Neumann 7cf24c4f86 app/text/Makefile.am app/text/gimptextlayout-private.h new files that
2003-07-06  Sven Neumann  <sven@gimp.org>

	* app/text/Makefile.am
	* app/text/gimptextlayout-private.h
	* app/text/gimptextlayout-render.[ch]: new files that implement
	text rendering. Right now it's basically code copied from PangoFT2
	but having it here will allow me to implement text transformations.

	* app/text/gimptextlayout.[ch]
	* app/text/gimptextlayer.c: changed accordingly.
2003-07-06 18:43:58 +00:00
Valek Frob 47021d0a22 Updated russian translation. 2003-07-06 17:50:19 +00:00
Valek Frob 6a819af814 Updated russian translation. 2003-07-06 16:26:44 +00:00
Valek Frob 483575ab83 Updated russian translation. 2003-07-06 13:43:40 +00:00
Sven Neumann 723f66d977 updates 2003-07-06 10:44:33 +00:00
Sven Neumann e971db8115 an updated version from Eric Pierce.
2003-07-06  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: an updated version from Eric Pierce.
2003-07-06 10:25:21 +00:00
Sven Neumann 8ce05330d1 removed a non-ASCII character. Seems to be causing trouble with newer
2003-07-05  Sven Neumann  <sven@gimp.org>

	* gimp-tips.xml.in: removed a non-ASCII character. Seems to be
	causing trouble with newer versions of xgettext and probably needs
	a fix in intltool to work.
2003-07-05 17:18:19 +00:00
Henrik Brix Andersen 84af6e1b2c applied a patch from Pedro Gimeno <pggimeno@wanadoo.es> which fixes
2003-07-04 Henrik Brix Andersen <brix@gimp.org>

* app/core/gimpdrawable-bucket-fill.c
(gimp_drawable_bucket_fill_full): applied a patch from Pedro
Gimeno <pggimeno@wanadoo.es> which fixes segmentation fault when
using <Image>/Edit/Fill with [FB]G Color.
2003-07-04 21:14:17 +00:00
Henrik Brix Andersen 5943f03135 Added persistent storage of image grid in XCF files.
2003-07-04 Henrik Brix Andersen <brix@gimp.org>

Added persistent storage of image grid in XCF files.

* app/core/gimpimage.[ch]: removed gimp_image_get_grid() and
gimp_image_set_grid() ...

* app/core/Makefile.am
* app/core/gimpimage-grid.[ch]: ... and added them to these new
files. Added gimp_grid_parasite_name(), gimp_grid_to_parasite()
and gimp_grid_from_parasite() functions.

* app/core/gimpimage-snap.c
* app/gui/grid-dialog.c: #include "gimpimage-grid.h"

* app/core/gimpimage-undo-push.c: #include "gimpimage-grid.h".
(gimp_image_undo_push_image_grid) mark image as dirty.

* app/xcf/xcf-save.c (xcf_save_image_props): save GimpGrid object
as a parasite.

* app/xcf/xcf-load.c (xcf_load_image): load GimpGrid from
parasite.

* devel-docs/parasites.txt: documented the new "gimp-image-grid"
parasite.
2003-07-04 19:55:58 +00:00
Sven Neumann 156eee04ae configure.in app/base/base.c added (untested) check for altivec assembly
2003-07-04  Sven Neumann  <sven@gimp.org>

	* configure.in
	* app/base/base.c
	* app/base/cpu-accel.c: added (untested) check for altivec assembly
	and enabled the run-time altivec check.
2003-07-04 17:28:56 +00:00
Sven Neumann 129f9492a0 fixed a typo (bug #116698).
2003-07-04  Sven Neumann  <sven@gimp.org>

	* gimp-tips.xml.in: fixed a typo (bug #116698).

	* de.po: updated.
2003-07-04 15:25:25 +00:00
Sven Neumann 18aa8f9ae3 minor fixes to the checks for assembler support.
2003-07-04  Sven Neumann  <sven@gimp.org>

	* configure.in: minor fixes to the checks for assembler support.
2003-07-04 12:13:18 +00:00
Michael Natterer 8395e6e89a use GIMP_COLOR_AREA_SMALL_CHECKS instead of _FLAT so the color's alpha is
2003-07-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemfactory.c (gimp_item_factory_set_color): use
	GIMP_COLOR_AREA_SMALL_CHECKS instead of _FLAT so the color's alpha
	is visible. Lookup GTK_ICON_SIZE_MENU's dimensions instead of
	hardcoding 16x16.
2003-07-04 12:05:06 +00:00
Sven Neumann 98bbc5297c use more inspiring initial values.
2003-07-04  Sven Neumann  <sven@gimp.org>

	* app/base/colorize.c (colorize_init): use more inspiring initial
	values.
2003-07-04 11:13:39 +00:00
Sven Neumann 8021dc31b0 removed from CVS.
2003-07-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/gdyntext/*: removed from CVS.
2003-07-04 10:39:09 +00:00
Jakub Steiner 358d053796 fix clashing mnemonics
2003-07-04  Jakub Steiner <jimmac@ximian.com>

* app/gui/image-menu.c: fix clashing mnemonics
2003-07-04 10:17:26 +00:00
Sven Neumann 5bb3149862 completely irrelevant cosmetics 2003-07-04 09:12:12 +00:00
Sven Neumann 4b46de45e4 removed some cruft we won't need 2003-07-04 00:36:23 +00:00
Sven Neumann 54adf6ffac redone target platform detection and MMX assembly checks. Basically copied
2003-07-04  Sven Neumann  <sven@gimp.org>

	* configure.in: redone target platform detection and MMX assembly
	checks. Basically copied from DirectFB.

	* app/Makefile.am
	* app/arch/i386/mmx/detect_mmx.S
	* app/arch/i386/mmx/paint_funcs_mmx.S
	* app/paint-funcs/Makefile.am
	* app/paint-funcs/paint-funcs-mmx.h
	* app/paint-funcs/paint-funcs-simd.S: removed the old MMX routines.
	New ones will come instead.

	* app/base/Makefile.am
	* app/base/detect-mmx.[Sh]: removed these two files...

	* app/base/cpu-accel.[ch]: ... and added new ones that do more
	fine-grained cpu acceleration detection. Again taken from DirectFB
	but the code is originally from mpeg2dec.

	* app/base/base.c: print results from cpu feature tests.
2003-07-04 00:31:05 +00:00
Dave Neary 6bbec4dd45 Add alpha channel to temp buffer from gimpimage if there's an alpha
2003-07-04  Dave Neary  <bolsh@gimp.org>

        * app/core/gimpdrawable-bucket-fill.c: Add alpha channel
        to temp buffer from gimpimage if there's an alpha
        channel in the pattern being applied.
2003-07-03 22:25:58 +00:00
Pablo Gonzalo del Campo a0c1420c34 Updated Spanish translation.
2003-07-03  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-07-03 20:27:35 +00:00
Sven Neumann aa28c532ab refuse to write comments that contain non-ASCII characters.
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c (save_image): refuse to write comments that
	contain non-ASCII characters.
2003-07-03 17:45:12 +00:00
Sven Neumann c7f573cc55 added a toggle that allows to disable saving of the image comment.
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added a toggle that allows to disable
	saving of the image comment.
2003-07-03 15:13:29 +00:00
Sven Neumann 2a35ff7f1d plug-ins/common/blur.c plug-ins/common/gifload.c plug-ins/common/gih.c
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/pcx.c
	* plug-ins/common/png.c
	* plug-ins/common/ps.c
	* plug-ins/common/psd.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/snoise.c
	* plug-ins/common/tga.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/fp/fp.h
	* plug-ins/fp/fp_gdk.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/paper.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/ifscompose/ifscompose_utils.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/xjt/xjt.c: fixed some minor code issues found compiling
	with -pedantic.
2003-07-03 13:26:06 +00:00
Manish Singh 69a19e763d remove gimp.spec stuff (leave gimp.spec.in in CVS for now as reference,
2003-07-03  Manish Singh  <yosh@gimp.org>

        * configure.in: remove gimp.spec stuff (leave gimp.spec.in in CVS
        for now as reference, maybe update it with the freshrpms spec at
        some point)
2003-07-03 00:49:27 +00:00
Manish Singh 122c006564 fix spelling of "quality" in comment
2003-07-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c: fix spelling of "quality" in comment

        * tools/pdbgen/*.pl: update copyright strings to 2003

        * libgimp/gimpenums.h
        * libgimp/*_pdb.[ch]
        * app/pdb/*_cmds.[ch]
        * app/pdb/internal_procs.[ch]
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/script-fu/script-fu-constants.c: regenerated
2003-07-03 00:47:26 +00:00
Sven Neumann 532975823f g_utf8_validate the iTXt chunk, just to be sure 2003-07-03 00:37:41 +00:00
Sven Neumann 5f63d557f1 added support for reading and writing comments. Handles tTXt (ISO-8859-1)
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added support for reading and writing
	comments. Handles tTXt (ISO-8859-1) and, if your libpng supports
	it, iTXt (UTF-8) chunks.
2003-07-03 00:30:33 +00:00
Sven Neumann b176a51d13 removed these files, they are of no purpose any longer.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* RPM/*: removed these files, they are of no purpose any longer.
2003-07-02 21:49:03 +00:00
Sven Neumann e78601452c app/gui/edit-commands.c added "Fill with Pattern" menu entry as suggested
2003-07-02  Sven Neumann  <sven@gimp.org>

	* app/gui/edit-commands.c
	* app/gui/image-menu.c: added "Fill with Pattern" menu entry as
	suggested in bug #116365.

	* app/base/temp-buf.c
	* app/base/tile-swap.c
	* app/config/gimpbaseconfig.c
	* app/config/gimpconfig-types.c
	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell.c
	* app/file/file-utils.c
	* app/paint-funcs/paint-funcs-types.h
	* app/tools/gimpdrawtool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.h
	* app/tools/gimptextoptions.c
	* app/paint-funcs/paint-funcs-types.h
	* app/vectors/gimpbezierstroke.c
	* app/vectors/gimpstroke.c
	* app/vectors/gimpvectors.c
	* app/vectors/vectors-types.h
	* libgimp/gimpbrushmenu.c
	* libgimp/gimpmisc.h
	* libgimpmodule/gimpmodule.c: fixed some minor issues found
	compiling with -pedantic.

	* app/pdb/misc_tools_cmds.c
	* tools/pdbgen/pdb/misc_tools.pdb: adapt to the changed order of
	arguments for gimp_image_pick_color().
2003-07-02 18:01:19 +00:00
Michael Natterer 43ff579702 libgimpbase/tmpl/gimpbasetypes.sgml regenerated.
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/tmpl/gimpbasetypes.sgml
	* libgimpbase/tmpl/gimpdatafiles.sgml: regenerated.
2003-07-02 17:12:31 +00:00
Michael Natterer 74710fccf4 changed GimpDatafileLoaderFunc to take a separate "gpointer user_data"
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbasetypes.h: changed GimpDatafileLoaderFunc to
	take a separate "gpointer user_data" parameter (passing user_data
	in a struct was a quite nonstandard API design). Made the
	GimpDatafileData pointer const.

	* libgimpbase/gimpdatafiles.[ch]: removed user_data from the
	GimpDatafileData struct and added "const gchar *basename" so we
	don't need to g_path_get_basename() in many callbacks.

	* libgimp/gimpmiscui.[ch]: changed gimp_plug_in_parse_path() to
	gimp_plug_in_get_path() and return the unparsed path.

	* app/core/gimpdatafactory.c
	* app/core/gimpenvirontable.c
	* app/gui/gui.c
	* app/plug-in/plug-ins.c
	* libgimpmodule/gimpmoduledb.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]
	* plug-ins/FractalExplorer/Globals.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c: use gimp_datafiles_read_directories()
	instead of fiddling with g_dir_open() manually. Random cleanups.
2003-07-02 17:11:00 +00:00
Sven Neumann 5143aa7c4b sprinkled some more const qualifiers 2003-07-02 15:23:47 +00:00
Pablo Gonzalo del Campo d94c3f36d9 Updated Spanish translation.
2003-06-26  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-07-02 14:31:47 +00:00
Pablo Gonzalo del Campo 57c6ae31b8 Updated Spanish translation by Francisco Javier F. Serrador
2003-07-02  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation by
                 Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-07-02 14:27:33 +00:00
Sven Neumann 11c8c14333 last bunch of plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: last bunch of plug-ins adapted to libgimp changes.
2003-07-02 13:00:16 +00:00
Michael Natterer 2b5541fb58 s/Appearence/Appearance/g, changed color_notebook titles to say "Change
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* app/gui/grid-dialog.c: s/Appearence/Appearance/g, changed
	color_notebook titles to say "Change Foo Color" instead of
	just "Foo Color".

	* app/widgets/gimplayertreeview.c: irrelevant code review.
2003-07-02 12:08:22 +00:00
Michael Natterer 69539fc5c4 added GimpMenuPositionFunc typedef.
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-types.h: added GimpMenuPositionFunc typedef.

	* app/widgets/gimpwidgets-utils.[ch]: made gimp_menu_position()
	a GimpMenuPositionFunc.

	* app/widgets/gimpitemfactory.[ch]
	(gimp_item_factory_popup_with_data): added position_func and
	position_data parameters. Use gimp_menu_position() if no
	position_func is given.

	* app/display/gimpdisplayshell-callbacks.c: removed
	gimp_display_shell_origin_menu_popup() and call
	gimp_item_factory_popup_with_data() directly from
	gimp_display_shell_popup_menu(), using
	gimp_display_shell_origin_menu_position() as position_func.

	* app/widgets/gimpeditor.[ch]: added a GtkWidget::popup_menu()
	implementation so all context menus are keyboard accessible.
	Added "gpointer factory_data" member so the menu can be popped up
	in the right context.

	* app/gui/channels-menu.c
	* app/gui/layers-menu.c
	* app/gui/vectors-menu.c: make them work without an active image
	since they can be popped up at any time now.

	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: cleanup.

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpdockbook.c
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppaletteeditor.c: pass NULL, NULL as
	position_func and position_data so the default implementation is
	used.
2003-07-02 12:03:56 +00:00
Sven Neumann b338b7718f more plug-ins adapted to libgimp changes. Includes fix for #12582.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
	Includes fix for #12582.
2003-07-02 12:03:08 +00:00
Sven Neumann adbec9c49d 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 11:07:41 +00:00
Michael Natterer 4162cf1656 misc cleanup. (gimp_item_factory_create_item): use
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemfactory.c: misc cleanup.
	(gimp_item_factory_create_item): use gimp_menu_path_strip_uline()
	here too.
2003-07-02 10:34:36 +00:00
Michael Natterer 9f530a3021 new function which takes menu_paths with mnemonics and removes them so
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch] (gimp_menu_path_strip_uline):
	new function which takes menu_paths with mnemonics and removes
	them so they can be used as identifiers.

	* app/gui/plug-in-menus.c: use the new function. Enables mnemonics
	for plug-in menu entries. Removed plug_in_escape_uline() which
	implemented disabling them.

	* app/widgets/gimptoolbox.c (toolbox_create_tools): use it here
	too, made the function more robust.
2003-07-02 09:54:48 +00:00
Manish Singh d46b87b1e4 constify input strings, colors, and arrays
2003-07-02  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/lib.pl: constify input strings, colors, and arrays

        * libgimp/*_pdb.[ch]: regenerated
2003-07-02 01:20:08 +00:00
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