Commit graph

10848 commits

Author SHA1 Message Date
Sven Neumann 8179ef7ef2 Made 2.0pre1 release.
2004-01-07  Sven Neumann  <sven@gimp.org>

        * Made 2.0pre1 release.
2004-01-07 03:53:28 +00:00
Sven Neumann c6f42dda80 set GIMP_VERSION to 2.0pre1.
2004-01-07  Sven Neumann  <sven@gimp.org>

        * configure.in: set GIMP_VERSION to 2.0pre1.

        * HACKING
        * INSTALL
        * NEWS
        * README: updated and changed accordingly.
2004-01-07 00:43:53 +00:00
Simon Budig 6d33e7750a Changed the string that is intended to be translated to the translators
2004-01-07  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: Changed the string that is intended
	to be translated to the translators names, to be the same as
	in Gnome. Sorry for the string change.
2004-01-06 23:09:43 +00:00
Sven Neumann eab63d3d3f added gimp_dash_editor_get_type.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* app/app.types: added gimp_dash_editor_get_type.

	* app/app-docs.sgml: include xml/dasheditor.xml.
2004-01-06 21:09:20 +00:00
Sven Neumann 9d77a4fd89 libgimp/gimp.def updated. Patch from Michael Schumacher.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def
	* libgimpthumb/gimpthumb.def: updated. Patch from Michael Schumacher.
2004-01-06 17:44:58 +00:00
Sven Neumann 8b01c7c17f should have gone in with the last commit 2004-01-06 17:42:01 +00:00
Sven Neumann 4db53911a0 fixed inline docs.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-scale.c (gimp_image_scale_check): fixed inline
	docs.

2004-01-06  Sven Neumann  <sven@gimp.org>

	* app/app-sections.txt: updated.

	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/tmpl/gimpthumbnail.sgml: updated.
2004-01-06 16:46:03 +00:00
Henrik Brix Andersen c633a419ea use gimp_edit_bucket_fill() and gimp_edit_blend() instead of deprecated
2004-01-06 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/pygimp/plug-ins/sphere.py (python_sphere): use
gimp_edit_bucket_fill() and gimp_edit_blend() instead of
deprecated functions.
2004-01-06 16:16:30 +00:00
Sven Neumann 8099e69264 added new function gimp_thumbnail_set_from_thumb() which will be useful
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.[ch]: added new function
	gimp_thumbnail_set_from_thumb() which will be useful when writing
	a thumbnail manager based on libgimpthumb.
2004-01-06 15:53:32 +00:00
Sven Neumann f831818a1a invalidate the description string before emitting "info_changed".
2004-01-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c: invalidate the description string
	before emitting "info_changed".
	(gimp_imagefile_save_thumb): use the enum value's name. not it's
	nick.
2004-01-06 14:29:35 +00:00
Michael Natterer e4e8b0e455 regenerated.
2004-01-06  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimpenums.sgml: regenerated.
2004-01-06 14:06:58 +00:00
Michael Natterer dec20d8214 Enabled skipping enum values for either the PDB or GType registration
2004-01-06  Michael Natterer  <mitch@gimp.org>

	Enabled skipping enum values for either the PDB or GType
	registration (don't always skip both targets):

	* tools/gimp-mkenums: skip enum values only if there is a literal
	"skip" (don't match "pdb-skip").

	* tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
	ones.

	* app/base/base-enums.h
	* app/core/core-enums.h
	* app/paint/paint-enums.h
	* libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
	combination to skip enum values. Changed comments accordingly.

	Cleaned up the fill functions:

	* app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
	the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
	because it's completely useless to export a NOP.

	* app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
	handle pattern fill requests.

	* app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
	parameter and fill with it if it's non-NULL.

	(gimp_drawable_fill_by_type): handle pattern fill and pass the
	current pattern to gimp_drawable_fill().

	* app/text/gimptextlayer.c: changed accordingly.

	* app/gui/edit-commands.c
	* app/gui/image-menu.c: use gimp_edit_fill() instead of
	gimp_drawable_bucket_fill() for FG, BG and pattern filling.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
	enum value. It should have never been exported to the PDB.

	* app/pdb/drawable_cmds.c
	* app/pdb/edit_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-01-06 14:02:08 +00:00
Sven Neumann 53a6199c8e use gimp->config; edit_config is just for the prefs dialog. This should
2004-01-06  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: use gimp->config; edit_config is
	just for the prefs dialog. This should fix gimp_gimprc_set().

	* app/pdb/gimprc_cmds.c: regenerated.
2004-01-06 13:06:56 +00:00
Sven Neumann 4667eac9a8 use a global parasite to store the default values. Such uglyness doesn't
2004-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: use a global parasite to store the default
	values. Such uglyness doesn't belong into gimprc.

	* devel-docs/parasites.txt: document the parasite used by the PNG
	plug-in.
2004-01-06 12:58:31 +00:00
Jan Morén aff1f0183b Updated Swedish translation.
2004-01-06  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2004-01-06 11:41:09 +00:00
Michael Natterer 2a713ed85d cosmetic.
2004-01-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptemplateeditor.c: cosmetic.
2004-01-06 11:37:00 +00:00
Sven Neumann 429cf13df9 added thumb_size variable to the GimpThumbnail struct. Fixed handling of
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.[ch]: added thumb_size variable to
	the GimpThumbnail struct. Fixed handling of failed thumbnails.
2004-01-06 11:29:10 +00:00
Sven Neumann bf65beb5c8 added missing casts to gint64.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_set_uri): added
	missing casts to gint64.
2004-01-06 10:09:02 +00:00
Manish Singh ba92cb3ea3 remove unnecessary GTK_WIDGET() cast.
2004-01-06  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimpdasheditor.c (gimp_dash_editor_new): remove
        unnecessary GTK_WIDGET() cast.

        * app/widgets/gimpstrokeeditor.c (gimp_stroke_editor_constructor):
        remove unnecessary G_OBJECT() casts.

        * libgimpbase/gimplimits.h: cosmetic cleanup.

        * libgimpbase/gimpenv.c (gimp_toplevel_directory): add (void)
        to prototype.

        * plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
        set cursor to end of line after history navigation.

        * plug-ins/common/struc.c (strucpi): use CLAMP0255.
2004-01-06 10:04:31 +00:00
Manish Singh ba35af08b2 Implemented default settings, for both the UI and the PDB. Settings are
2004-01-06  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: Implemented default settings, for both
        the UI and the PDB. Settings are stored in gimprc, but right now
        saving is broken since gimp_gimprc_set is broken right now.

        There are 3 new PDB entry points: file_png_save_defaults, which is
        a save function that only takes drawable and filename info, and
        uses the stored gimprc settings for the rest of the parameters.
        This is hooked up to the save magic, so using gimp_file_save to
        save as png now won't make big files anymore. The other two are
        file_png_get_defaults and file_png_set_defaults, which query
        and set the gimprc setting respectively.

        I also did some cleanup, and added a comment boolean to the
        file_png_save2 interface. The string serialization to the gimprc
        is sort of dumb, but it works.

        Next step is to do similar for jpeg and gif.
2004-01-06 09:53:35 +00:00
Sven Neumann 672a56b2db Fixes to the new thumbnail code. Will need more changes...
2004-01-06  Sven Neumann  <sven@gimp.org>

	Fixes to the new thumbnail code. Will need more changes...

	* app/core/gimpimagefile.c: set image information before calling
	gimp_thumbnail_save_thumb(). Emit the "info_changed" signal when
	the thumbnail states change.

	* libgimpthumb/gimpthumbnail.c: redone gimp_thumbnail_load_thumb().
	Added some debugging code that is by default disabled.
2004-01-06 02:33:08 +00:00
Manish Singh f6d50d1ba7 on second thought, just make everything signed. There is no reason for any
2004-01-05  Manish Singh  <yosh@gimp.org>

        * app/paint-funcs/paint-funcs.c (expand_line): on second thought, just
        make everything signed. There is no reason for any of it to be
        unsigned.
2004-01-05 23:42:28 +00:00
Manish Singh 37e133a0e5 cast usage of unsigned bytes variable in array subscripting to signed, so
2004-01-05  Manish Singh  <yosh@gimp.org>

        * app/paint-funcs/paint-funcs.c (expand_line): cast usage of unsigned
        bytes variable in array subscripting to signed, so we really do get
        a negative value when we need it. Fixes #130398.
2004-01-05 23:22:48 +00:00
Marco Ciampa a509552f4c Updated italian translation 2004-01-05 22:31:21 +00:00
Danilo Šegan 119e58675b Updated Serbian translation. 2004-01-05 22:19:49 +00:00
David Neary 80f03b1fe8 Add missing semicolon (no need for a changelog entry) 2004-01-05 21:32:25 +00:00
Sven Neumann ca0b8b046e check the return value of fopen() before using it.
2004-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CEL.c (need_palette): check the return value of
        fopen() before using it.
2004-01-05 19:01:33 +00:00
Sven Neumann 66ed5ca98d fixed coding style issues, removed trailing whitespace, use gsize instead
2004-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CEL.c: fixed coding style issues, removed
	trailing whitespace, use gsize instead of size_t.
2004-01-05 18:54:30 +00:00
Dov Grobgeld 1d0c9c9561 Added read and write support for 32-bit CEL files.
* Added read and write support for 32-bit CEL files.
2004-01-05 17:37:42 +00:00
Michael Natterer 4974f7a5e5 app/pdb/Makefile.am forgot to remove this file.
2004-01-05  Michael Natterer  <mitch@gimp.org>

	* app/pdb/Makefile.am
	* app/pdb/misc_tools_cmds.c: forgot to remove this file.
2004-01-05 17:22:26 +00:00
Michael Natterer b2e3434d38 tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "misc tools"
2004-01-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/misc_tools.pdb: removed the "misc tools" PDB group.

	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_bucket_fill() and
	gimp_edit_blend().

	* tools/pdbgen/pdb/image.pdb: added gimp_image_pick_color().

	* app/pdb/procedural_db.c
	* libgimp/gimpcompat.h: added compat stuff.

	* app/pdb/edit_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/misc_tools_cmds.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpedit_pdb.[ch]
	* libgimp/gimpimage_pdb.[ch]: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimpmisctools_pdb.[ch]: removed.

	* plug-ins/gfig/gfig.c
	* plug-ins/script-fu/scripts/3dTruchet.scm
	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
	* plug-ins/script-fu/scripts/alien-glow-bar.scm
	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/beveled-button.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/gradient-example.scm
	* plug-ins/script-fu/scripts/hsv-graph.scm
	* plug-ins/script-fu/scripts/pupi-button.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/sphere.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/title-header.scm
	* plug-ins/script-fu/scripts/weave.scm: follow "blend" and "color
	picker" changes. Leave "bucket fill" users unchanged because fill
	and bucket_fill need another cleanup (will follow next...)

2004-01-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt: moved color_picker, blend and
	bucket_fill to their new places.

	* libgimp/tmpl/gimpedit.sgml
	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimptools.sgml: regenerated.
2004-01-05 14:35:19 +00:00
Simon Budig 1f16d9cfc3 Fixed spelling of my name ("Simon" instead of "Nomis"). 2004-01-05 13:36:30 +00:00
Dave Neary 424d1ce65e Update news.
2004-01-05  Dave Neary  <bolsh@gimp.org>

        * NEWS: Update news.
2004-01-05 13:08:42 +00:00
Sven Neumann 69ac8e1a26 applied a modified patch provided by Joao S. O. Bueno and Dave Neary. The
2004-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: applied a modified patch provided by
	Joao S. O. Bueno and Dave Neary. The user can now specify whether
	color values for transparent pixels should be saved or nullified
	(bug #129472).
2004-01-05 00:57:43 +00:00
Sven Neumann 3451c82f4f added GIMP_UNDO_TEXT_LAYER to GimpUndoType enum.
2004-01-05  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: added GIMP_UNDO_TEXT_LAYER to
	GimpUndoType enum.

	* app/core/gimpimage-undo-push.[ch]: added new undo function
	gimp_image_undo_push_text_layer().

	* app/text/gimptextlayer.[ch]: renamed gimp_text_layer_render() to
	gimp_layer_text_layer_flush().
	Added new function gimp_text_layer_discard().

	* app/text/gimptextlayer-transform.c: changed accordingly.

	* app/gui/image-menu.c
	* app/gui/layers-commands.[ch]
	* app/gui/layers-menu.c: added menu entries that allow to discard
	the text information of a text layer (bug #118547).

	* app/widgets/gimppreviewrendererlayer.c
	(gimp_preview_renderer_layer_render): treat text layers without a
	text object like ordinary layers.

	* app/widgets/gimppreviewrenderer-utils.c: include gimplayer.h
	instead of gimptextlayer.h.
2004-01-05 00:28:12 +00:00
Ville Pätsi 985583f1c9 Remove last hardcoded -1.3's.
2004-01-04  Ville Pätsi  <drc@gimp.org>

        * gimp.spec.in: Remove last hardcoded -1.3's.
2004-01-04 21:42:26 +00:00
Michael Natterer 61a1d21c71 pass around GimpImage and GimpImageType parameters. For indexed images,
2004-01-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-contiguous-region.c
	(gimp_image_contiguous_region_by_seed)
	(find_contiguous_region_helper)
	(find_contiguous_segment): pass around GimpImage and GimpImageType
	parameters. For indexed images, convert the tile data to RGB using
	gimp_image_get_color(). Still use the raw tile data for RGB and
	GRAY images so the slowdown for these image types should be
	minimal. Fixes bug #128991.
2004-01-04 17:00:59 +00:00
Manish Singh bc56fc5325 plug-ins/twain/Makefile.am minor tweaks, to match changes that were made
2004-01-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/twain/Makefile.am
        * plug-ins/winsnap/Makefile.am: minor tweaks, to match changes that
        were made in the other Makefiles long ago.
2004-01-03 23:23:59 +00:00
Manish Singh 2ef383c499 fix setting of RT_LIBS.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: fix setting of RT_LIBS.
2004-01-03 22:50:00 +00:00
Manish Singh e211f6f73b check for shm_open in libc too, and define RT_LIBS accordingly.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: check for shm_open in libc too, and define RT_LIBS
        accordingly.

        * gimptool-1.3.in
        * app/Makefile.am
        * libgimp/Makefile.am
        * plug-ins/*/Makefile.am
        * plug-ins/common/mkgen.pl: use RT_LIBS.
2004-01-03 22:41:09 +00:00
Michael Natterer dfe0d687d7 some cosmetics while reviewing the code.
2004-01-03  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c: some cosmetics while reviewing
	the code.
2004-01-03 20:51:36 +00:00
Michael Natterer 3b38718296 updated. Patch from Michael Schumacher.
2004-01-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.def: updated. Patch from Michael Schumacher.
2004-01-03 18:19:49 +00:00
Duarte Loreto e3610c8991 Updated Portuguese translation.
2004-01-03  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2004-01-03 02:06:44 +00:00
Michael Natterer 9fe65d9765 NULL-terminate the list of strings passed to g_strconcat().
2004-01-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c (build_dialog): NULL-terminate
	the list of strings passed to g_strconcat().
2004-01-02 19:31:32 +00:00
Michael Natterer 84458f5b95 removed GimpTool::cursor_update() implementation (which was there only to
2004-01-02  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c: removed GimpTool::cursor_update()
	implementation (which was there only to stop drawing the brush
	preview when the mouse leaves the canvas). Instead, look at
	shell->proximity in GimpTool::oper_update() and just don't start
	drawing the preview if proximity is FALSE.

	* app/display/gimpdisplay.c (gimp_display_delete): set
	gdisp->shell to NULL *before* gtk_widget_destroy()ing the shell so
	our tool callbacks don't dispatch stuff while the shell is in the
	middle of being destroyed.

	Both changes fix bug #129374, though the latter is the fix for the
	real problem.
2004-01-02 17:36:45 +00:00
Marco Ciampa eeb0f8dc32 Updated italian translation 2004-01-02 11:41:42 +00:00
Miloslav Trmac 8b3c7b7155 Update Czech translation 2003-12-31 23:11:24 +00:00
Marco Ciampa d8115bebe6 Updated italian translation 2003-12-31 23:06:07 +00:00
Görkem Çetin 1b55c1ed10 CVS_SILENT 2003-12-31 15:55:12 +00:00
Görkem Çetin be5a46aec9 CVS_SILENT 2003-12-31 09:31:01 +00:00