Commit graph

15444 commits

Author SHA1 Message Date
Sven Neumann d28d006bc2 app/app-docs.sgml app/app-sections.txt udpated.
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: udpated.
2005-04-13 17:04:54 +00:00
Sven Neumann e3d08ef79b app/display/gimpdisplayshell-callbacks.c when using Ctrl-wheel to zoom
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-scale.[ch]: when using Ctrl-wheel
	to zoom in/out, center on the mouse position (bug #79384).
2005-04-13 16:34:53 +00:00
Marco Ciampa eb9374e5bc Updated italian translation 2005-04-13 14:44:46 +00:00
Adi Attar b249e87251 Added Xhosa translation Added Xhosa translation Added Xhosa translation
2005-04-13  Adi Attar  <aattar@cvs.gnome.org>

	* po/xh.po: Added Xhosa translation
	* po-libgimp/xh.po: Added Xhosa translation
	* po-plug-ins/xh.po: Added Xhosa translation
	* po-script-fu/xh.po: Added Xhosa translation
	* configure.in: Added "xh" to ALL_LINGUAS.
2005-04-13 14:22:41 +00:00
Sven Neumann f04aca1ef1 set GIMP_CONFIG_PARAM_CONFIRM on the "font-path" property. Set
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/config/gimpcoreconfig.c: set GIMP_CONFIG_PARAM_CONFIRM on
	the "font-path" property. Set GIMP_CONFIG_PARAM_IGNORE for
	"font-path-writable".

	* app/dialogs/preferences-dialog.c: don't use "font-path-writable".

	* app/core/gimp.c (gimp_restore)
	* app/text/gimp-fonts.c: handle --no-fonts similar to --no-data
	and allow to load the fonts later by pressing "Refresh" in the
	fonts dialog.
2005-04-13 13:14:24 +00:00
Artur Flinta d4107d4311 Updated Polish translation by GNOME PL Team.
2005-04-13  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2005-04-13 11:01:22 +00:00
Sven Neumann aca3e85384 register handler for the "GimpPaint" log domain.
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c: register handler for the "GimpPaint" log domain.

	* app/core/gimpdatafactory.c (gimp_data_factory_init): don't load
	any data if TRUE is passed for no_data.

	* app/tools/gimppainttool.c (gimp_paint_tool_draw): handle a NULL
	brush gracefully.
2005-04-13 00:16:24 +00:00
Sven Neumann 0e678c4caa handle a NULL palette with GIMP_CUSTOM_PALETTE type, use the builtin mono
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): handle a NULL
	palette with GIMP_CUSTOM_PALETTE type, use the builtin mono
	palette as fallback.

	* app/dialogs/convert-dialog.c: handle empty palette container.

	* app/gui/gui-vtable.c (gui_pdb_dialog_new): removed unused code.

	* tools/pdbgen/pdb/convert.pdb: don't load the palettes implicitely.

	* app/pdb/convert_cmds.c: regenerated.
2005-04-12 23:46:10 +00:00
Michael Natterer bf1b9651f8 don't use the image container as display container.
2005-04-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpimagedock.c (gimp_image_dock_image_changed):
	don't use the image container as display container.
2005-04-12 23:31:47 +00:00
Sven Neumann c3807c6a04 added gimp_data_factory_refresh().
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdatafactory.[ch]: added gimp_data_factory_refresh().

	* app/actions/data-commands.c
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: use the new function.

	* app/pdb/brushes_cmds.c
	* app/pdb/convert_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c: regenerated.
2005-04-12 22:58:12 +00:00
Sven Neumann 0c91d7d672 n2005-04-12 Sven Neumann <sven@gimp.org>
* app/core/gimpcontainer.[ch]: added gimp_container_is_empty().

	* app/core/gimpcontext.c
	* app/core/gimpimage.c
	* app/dialogs/palette-import-dialog.c
	* app/text/gimptextlayer.c
	* app/widgets/gimpimagedock.c: use the new function.
2005-04-12 21:36:54 +00:00
Adam Weinberger 74296d79c3 Updated Canadian English translation.
2005-04-12  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-04-12 20:40:18 +00:00
Michael Natterer b64b4a8f9a undo the "cosmetic changes" of 2005-03-20. Fixes bug #300269.
2005-04-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-transform-utils.c
	(gimp_transform_matrix_perspective): undo the "cosmetic changes"
	of 2005-03-20. Fixes bug #300269.
2005-04-12 09:09:41 +00:00
Raphael Quinet 5d300d575b updated test for libjpeg so that it requires version 6b (27-Mar-1998) or
2005-04-12  Raphael Quinet  <raphael@gimp.org>

	* configure.in: updated test for libjpeg so that it requires
	version 6b (27-Mar-1998) or later.

	* plug-ins/jpeg/jpeg.h
	* plug-ins/jpeg/jpeg.c
	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg-save.h
	* plug-ins/jpeg/jpeg-save.c: added support for loading and saving
	XMP packets in JPEG APP1 markers, simplified the code that reads
	comments from COM markers and removed #ifdef HAVE_PROGRESSIVE_JPEG
	because we require jpeg-6b, which includes progressive support.
2005-04-12 07:46:10 +00:00
Adam Weinberger c6df6e6a1a Updated Canadian English translation.
2005-04-12  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-04-12 06:51:18 +00:00
William Skaggs 2931f24626 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_shade.c:  Fix typo responsible for
	bug #300122, also revise env-mapping code to make it perform
	better.
2005-04-11 22:49:54 +00:00
David Odin 02878f0e34 small cleanups, more will come.
* plug-ins/common/convmatrix.c: small cleanups, more will come.
2005-04-11 21:42:28 +00:00
Michael Natterer e6063f61a2 Let the user decide whether tool options are persistant or not as
2005-04-11  Michael Natterer  <mitch@gimp.org>

	Let the user decide whether tool options are persistant or not as
	suggested in bug #165078:

	* app/config/gimprc-blurbs.h
	* app/config/gimpguiconfig.[ch]: added "gboolean save_tool_options".

	* app/tools/gimp-tools.[ch]: implement the same logic as for
	devicerc and essionrc: added gimp_tools_clear() which deletes the
	stored tool options and added "save_tool_options" and
	"always_save" parameters to gimp_tools_save(). Everything affects
	just the primary tool options, *not* the separately saved presets
	for each tool.

	* app/gui/gui.c (gui_exit_callback): changed accordingly.

	* app/dialogs/preferences-dialog.c: added GUI for the stuff above
	in the style of the devicerc and seccionrc prefs GUIs.
2005-04-11 21:17:59 +00:00
Raphael Quinet fc18afbf15 plug-ins/metadata/base64.h Added implementation of base64_decode(), use
2005-04-11  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/base64.h
	* plug-ins/metadata/base64.c: Added implementation of
	base64_decode(), use gsize or gssize for sizes.
2005-04-11 19:17:12 +00:00
Raphael Quinet 66f98bf32e Register plug_in_metadata_import and plug_in_metadata_export in the PDB.
2005-04-11  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/metadata.c: Register plug_in_metadata_import
	and plug_in_metadata_export in the PDB.

	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/base64.h
	* plug-ins/metadata/base64.c: Added base64 decoder, needed for
	reading the thumbnail images (base64 encoded inside XML element).

	* plug-ins/metadata/xmp-parse.h
	* plug-ins/metadata/xmp-parse.c: Added XMP_PTYPE_ALT_THUMBS for
	parsing a list of thumbnail images.  Decode and store the base64
	encoded images.

	* plug-ins/metadata/xmpdump.c
	* plug-ins/metadata/xmp-model.h
	* plug-ins/metadata/xmp-model.c: Added support for thumbnails,
	defined global symbols for standard XMP schema URIs.

	* plug-ins/metadata/interface.c: Preliminary support for widget
	cross-references just for testing - it does not save anything yet.
	Added thumbnail tab, although the thumbnail image is not displayed
	yet.
2005-04-11 16:53:17 +00:00
Michael Natterer 1fe869bbfd don't include "core/gimpviewable.h"
2005-04-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpclipboard.c: don't include "core/gimpviewable.h"
2005-04-11 16:01:25 +00:00
Sven Neumann 77379e882a added a hint to the statusbar. Closes bug #300125.
2005-04-11  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpfuzzyselecttool.c: added a hint to the statusbar.
	Closes bug #300125.
2005-04-11 12:10:39 +00:00
Vincent van Adrighem 35cb6ea2e8 Translation updated by Tino Meinen.
2005-04-11  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-04-10 22:38:48 +00:00
David Odin 674010fa65 added a preview, but this plug-in certainly need some more work.
* plug-ins/common/convmatrix.c: added a preview, but this plug-in
  certainly need some more work.
2005-04-10 21:52:21 +00:00
Marco Ciampa 3bd7ab2d2a Updated italian translation 2005-04-10 21:37:38 +00:00
David Odin e876b395ba preliminary cleanup before implementing a preview.
* plug-ins/common/convmatrix.c: preliminary cleanup before
  implementing a preview.
2005-04-10 20:48:00 +00:00
Sven Neumann ada9dc2ae5 removed duplicate function declarations (spotted by Karine Delvare).
2005-04-10  Sven Neumann  <sven@gimp.org>

	* app/actions/drawable-commands.h: removed duplicate function
	declarations (spotted by Karine Delvare).
2005-04-10 18:20:05 +00:00
Adam Weinberger 7147f70c9b Updated Canadian English translation.
2005-04-09  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-04-10 03:30:02 +00:00
Sven Neumann beaef0b655 Merged from gimp-2-2 branch:
2005-04-10  Sven Neumann  <sven@gimp.org>

	Merged from gimp-2-2 branch:

	* plug-ins/print/print.c: reverted the previous change, it was wrong
	(see bug #169909).
2005-04-10 00:01:26 +00:00
Michael Natterer 09ef4b1d00 app/file/file-utils.c app/tools/gimpfliptool.c
2005-04-10  Michael Natterer  <mitch@gimp.org>

	* app/file/file-utils.c
	* app/tools/gimpfliptool.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimppaletteselect.c: removed unneeded base/ includes.
2005-04-09 22:47:51 +00:00
Sven Neumann bf83e5148c Merged from gimp-2-2 branch:
2005-04-09  Sven Neumann  <sven@gimp.org>

        Merged from gimp-2-2 branch:

        * menus/Makefile.am
        * tips/Makefile.am: changed the validate rules to work with srcdir
        != builddir.
2005-04-09 21:58:09 +00:00
Michael Natterer 9d439fe018 added gimp_buffer_new_from_pixbuf().
2005-04-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbuffer.[ch]: added gimp_buffer_new_from_pixbuf().

	* app/widgets/gimpclipboard.c: removed
	tile_manager_new_from_pixbuf() and base/ dependency.
2005-04-09 21:52:21 +00:00
Manish Singh b31216d037 #include <string.h> for strcmp, and fix gdk_atom_intern usage.
005-04-09  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimppixbuf.c: #include <string.h> for strcmp, and
        fix gdk_atom_intern usage.
2005-04-09 19:52:36 +00:00
Sven Neumann 094c7ed289 quote the shell command passed to execl(). Fixes bug #169909.
2005-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: quote the shell command passed to execl().
	Fixes bug #169909.
2005-04-09 19:40:43 +00:00
William Skaggs b41d8898e9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpnewrectselecttool.[ch]
	* app/tools/gimprectangletool.[ch]: more work on rectangle
	tool ui.
2005-04-09 18:08:47 +00:00
Sven Neumann 053a1913b2 typos 2005-04-09 18:05:50 +00:00
Michael Natterer 7609645970 Implement dragging and dropping in any GdkPixbuf supported format. Fixes
2005-04-09  Michael Natterer  <mitch@gimp.org>

	Implement dragging and dropping in any GdkPixbuf supported
	format. Fixes bug #172794 and bug #172795.

	* app/core/gimplayer.[ch] (gimp_layer_new_from_region): new
	function which contains all stuff that was in
	gimp_layer_new_from_tiles().

	(gimp_layer_new_from_tiles): use above function.
	(gimp_layer_new_from_pixbuf): new function.

	* app/widgets/Makefile.am
	* app/widgets/gimppixbuf.[ch]: new files containing GdkPixbuf
	utility functions for clipboard and DnD.

	* app/widgets/gimpselectiondata.[ch]: removed
	gimp_selection_data_set,get_pixbuf(), GTK+ provides the same API.
	Also removed GdkAtom parameters all over the place because it's
	always the same as selection_data->target.

	* app/widgets/gimpclipboard.c: use the new pixbuf utility
	functions and gtk_selection_data_set,get_pixbuf().

	* app/widgets/widgets-enums.h
	* app/widgets/gimpdnd.[ch]: removed never-implemented
	GIMP_DND_TYPE_PNG and added a generic GIMP_DND_TYPE_PIXBUF
	instead. Added API to drag and drop GdkPixbufs which transparently
	converts from/to and GdkPixbuf-supported image format. Removed
	passing around of GdkAtoms, since they were always the same
	as selection_data->target.

	* app/widgets/gimpdnd-xds.[ch]: follow GdkAtom parameter removal.

	* app/widgets/gimpcontainertreeview.[ch]: added virtual function
	GimpContainerTreeView::drop_pixbuf().

	* app/widgets/gimpcontainertreeview-dnd.c: dispatch drop_pixbuf().

	* app/widgets/gimplayertreeview.c: implement drop_pixbuf().

	* app/widgets/gimpdrawabletreeview.c: allow to drag all drawables
	as pixbufs.

	* app/display/gimpdisplayshell-dnd.c: allow dropping of pixbufs.
2005-04-09 17:56:04 +00:00
Adam Weinberger 97992621e7 Updated Canadian English translation.
2005-04-09  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-04-09 17:05:53 +00:00
Miloslav Trmac c79277639b Updated Czech translation.
2005-04-09  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-04-09 16:56:43 +00:00
Miloslav Trmac 82d155cece Updated Czech translation by Miloslav Trmač.
2005-04-09  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation by Miloslav Trmač.
2005-04-09 16:56:30 +00:00
William Skaggs 4581608580 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: Change default back to Window
	rather than Root.  When shooting window, delay after instead
	of before selecting, so shooting menus etc becomes possible.
2005-04-09 16:54:17 +00:00
Josep Puigdemont i Casamajó fec2d5bf82 Updated Catalan translation. 2005-04-09 15:36:54 +00:00
Josep Puigdemont i Casamajó 068b55c4f9 Updated Catalan translation by Quim Perez i Noguer, et al. 2005-04-09 15:04:14 +00:00
Vincent van Adrighem 207531c104 Translation updated by Tino Meinen.
2005-04-09  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-04-09 10:28:17 +00:00
Manish Singh 1996db3040 GetDataBlock returns -1 on error, so count should be an int, not an
2005-04-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gifload.c (GetCode): GetDataBlock returns -1 on
        error, so count should be an int, not an unsigned char. Fixes
        bug #173119.
2005-04-09 10:10:17 +00:00
Sven Neumann 361f8a6361 implement color counting without changing the image-type to RGB. A save
2005-04-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icosave.c: implement color counting without
	changing the image-type to RGB. A save plug-in must not change the
	image.
2005-04-09 00:16:08 +00:00
Sven Neumann 4ae64412df rewrote preview code to use GtkImage and pixbufs. The previous
2005-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c: rewrote preview code to use
	GtkImage and pixbufs. The previous implementation was severily
	broken.

	* plug-ins/winicon/icosave.c: cosmetics.
2005-04-08 20:16:23 +00:00
Sven Neumann d0163f9f3b code cleanup, no real changes.
2005-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: code cleanup, no real changes.
2005-04-08 17:49:43 +00:00
Simon Budig 4ba9786d6d Applied Patch by Sven Neumann to use the new statusbar functionality.
2005-04-08  Simon Budig  <simon@gimp.org>

        * app/tools/gimpvectortool.[ch]: Applied Patch by Sven Neumann
        to use the new statusbar functionality.
2005-04-08 13:43:10 +00:00
Sven Neumann 410ea35f15 coding style, no real changes.
2005-04-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: coding style, no real changes.
2005-04-08 13:11:07 +00:00