Commit graph

15588 commits

Author SHA1 Message Date
Michael Natterer 88378adfde Connect to the GimpImage::update-sample-point and GimpProjection::update
2005-04-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsamplepointeditor.[ch]: Connect to the
	GimpImage::update-sample-point and GimpProjection::update signals
	and idle-pick colors at the sample points' coordinates.
	Addresses bug #137776.
2005-04-18 13:54:24 +00:00
Sven Neumann 1ff66ea24c restrict the menus to 15 items.
2005-04-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: restrict the menus to 15 items.
2005-04-18 10:50:44 +00:00
Raphael Quinet c9979abf5f Added parameter 'columns' to base64_encode() to add optional line breaks
2005-04-18  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/base64.[ch]: Added parameter 'columns' to
	base64_encode() to add optional line breaks in the output.
	Improved documentation.
2005-04-18 05:06:48 +00:00
Kevin Cozens 5c1b759a42 Made readstr_upto() stop reading input when it hits a NUL byte. Fixes
2005-04-17  Kevin Cozens  <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Made readstr_upto() stop reading input when it
	hits a NUL byte. Fixes problem reported by Sam Phillips. Added check
	for an EOF character in is_one_of() as was in the original version of
	TinyScheme. Also removed some #if'ed code.
2005-04-17 18:10:21 +00:00
Sven Neumann 129f83e205 code cleanup 2005-04-17 17:02:46 +00:00
Sven Neumann 9db2219e74 workaround a GTK+ bug to make the tooltips for the Back and Forward
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: workaround a GTK+ bug to make the
	tooltips for the Back and Forward buttons appear.
2005-04-17 16:32:10 +00:00
Sven Neumann b73e908ca5 use gimp_spin_button_new() which calls gtk_spin_button_set_numeric() for
2005-04-17  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.c: use gimp_spin_button_new() which
	calls gtk_spin_button_set_numeric() for us. Part of a fix for bug
	#300935.

	* libgimpwidgets/gimpwidgets.c: improved the API docs for
	gimp_spin_button_new().

	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimplevelstool.c
	* plug-ins/common/screenshot.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/winsnap/winsnap.c: use gimp_spin_button_new().
2005-04-17 15:28:28 +00:00
Sven Neumann ea67630394 set a busy cursor while loading a page. Offer drag as "text/uri-list" in
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: set a busy cursor while loading a
	page. Offer drag as "text/uri-list" in addition to "_NETSCAPE_URL".
2005-04-17 13:17:33 +00:00
Adam Weinberger 512ea694fc Updated Canadian English translation.
2005-04-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-04-17 06:25:01 +00:00
Sven Neumann 92bc757db7 corrected ChangeLog entry 2005-04-17 01:27:37 +00:00
Sven Neumann 99140085c3 libgimpwidgets/gimpstock.c register a wilber in button size.
2005-04-17  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.c
	* themes/Default/images/Makefile.am: register a wilber in button size.

	* plug-ins/helpbrowser/gimpthrobber.c: choose a slightly larger
	icon than the configured size for toolbars.
2005-04-17 01:22:35 +00:00
Sven Neumann f0d1f905ed added actions to zoom in/out.
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added actions to zoom in/out.

	* plug-ins/helpbrowser/gimpthrobberaction.[ch]: fixed handling of
	overflow menu items.
2005-04-17 00:57:22 +00:00
Sven Neumann dab360d9d4 plug-ins/helpbrowser/Makefile.am plug-ins/helpbrowser/gimpthrobber.[ch]
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/gimpthrobber.[ch]
	* plug-ins/helpbrowser/gimpthrobberaction.[ch]: new files
	implementing a custom GtkToolItem and a GtkAction to use it.

	* plug-ins/helpbrowser/dialog.c: use the new widget.
2005-04-17 00:22:50 +00:00
Sven Neumann 1967e63d6a app/widgets/gimpaction.h app/widgets/gimpactiongroup.h
2005-04-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpaction.h
	* app/widgets/gimpactiongroup.h
	* app/widgets/gimpcellrendereraccel.h
	* app/widgets/gimpenumaction.h
	* app/widgets/gimppluginaction.h
	* app/widgets/gimpstringaction.h
	* app/widgets/gimpuimanager.h: declare get_type() function as
	G_GNUC_CONST.
2005-04-16 23:48:29 +00:00
Michael Natterer cabb5e01a9 plug-ins/script-fu/scripts/guides-new-percent.scm don't use undo groups.
2005-04-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-new-percent.scm
	* plug-ins/script-fu/scripts/guides-new.scm: don't use undo
	groups. It's useless for a single operation and it's wrong to use
	the undo group unconditionally, but add the guides conditionally.
2005-04-16 23:43:37 +00:00
Michael Natterer 4e92a6cf32 no need to get base_config twice in the same function.
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.c (gimp_context_real_set_brush)
	(gimp_context_real_set_pattern): no need to get base_config twice
	in the same function.

	* app/widgets/gimpblobeditor.h: include the parent class.

	* app/widgets/gimpdataeditor.c (gimp_data_editor_init): set the
	name entry insensitive.
2005-04-16 21:53:12 +00:00
Michael Natterer b8e8822c7d implement GimpDocked::get_title() and add "(read only)" to the dialog's
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdataeditor.[ch]: implement
	GimpDocked::get_title() and add "(read only)" to the dialog's
	title if the data is not editable. Fixes bug #164003.

	(gimp_data_editor_real_set_data): call gimp_docked_title_changed()
	when the editable state changes.

	(struct GimpDataEditorClass): added "const gchar *title" member.

	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimppaletteeditor.c (class_init): set titles.
2005-04-16 20:48:33 +00:00
Sven Neumann 5448fc9056 added gimp_desaturate_mode_get_type.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def: added gimp_desaturate_mode_get_type.

2005-04-16  Sven Neumann  <sven@gimp.org>

	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimpbaseenums.sgml: added new enum.
2005-04-16 20:20:54 +00:00
Sven Neumann 83234bda75 use a GimpFileEntry to configure the web-browser setting.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: use a GimpFileEntry to
	configure the web-browser setting. GtkFileChooserButton just
	doesn't work for it.
2005-04-16 19:27:28 +00:00
Michael Natterer f92a497aae removed the "Close" button and added a "Wilber" button instead which opens
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/dialog.c: removed the "Close" button and
	added a "Wilber" button instead which opens the online docs in the
	web browser. Added accelerators ctrl+w and ctrl+q which close the
	help browser.

	* plug-ins/helpbrowser/queue.[ch]: updated my email address.
2005-04-16 18:21:21 +00:00
Adam Weinberger 2770299b91 Updated Canadian English translation.
2005-04-16  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-04-16 18:00:53 +00:00
Sven Neumann 971c7212f6 added an icon to the action button.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/desaturate-dialog.c: added an icon to the action
	button.

	* app/vectors/gimpvectors-import.c: reduce the number of string
	comparisons by using switches on the first character.
2005-04-16 16:15:23 +00:00
Sven Neumann b7ad665c28 Applied a patch (with minor modifications) from Karine Delvare that makes
2005-04-16  Sven Neumann  <sven@gimp.org>

	Applied a patch (with minor modifications) from Karine Delvare
	that makes it possible to choose between various ways to remove
	color from a drawable (bug #155507):

	* libgimpbase/gimpbaseenums.h: added new enum GimpDesaturateMode.

	* libgimpbase/gimpbaseenums.c
	* libgimp/gimpenums.c.tail
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimpdrawable-desaturate.[ch]: implement other formulas
	to remove colors from a drawable.

	* tools/pdbgen/pdb/color.pdb: let gimp_desaturate() call
	gimp_drawable_desaturate() with GIMP_DESATURATE_LIGHTNESS so that
	it behaves like it always did.

	* app/pdb/color_cmds.c: regenerated.

	* app/dialogs/Makefile.am
	* app/dialogs/desaturate-dialog.[ch]: new files that define a simple
	dialog to choose a mode for desaturation.

	* app/actions/drawable-actions.[ch]: use the new dialog.
2005-04-16 14:51:49 +00:00
Sven Neumann ffd655fe32 let pdbgen create the code to initialize the variables.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: let pdbgen create the code to
	initialize the variables.

	* app/pdb/vectors_cmds.c: regenerated.
2005-04-16 14:25:45 +00:00
Sven Neumann ce802aa18d plug-ins/helpbrowser/dialog.c finished menu implementation.
2005-04-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: finished menu implementation.
2005-04-15 19:04:07 +00:00
Manish Singh 1ebeec5ff3 call has_next/prev functions with arguments.
2005-04-15  Manish Singh  <yosh@gimp.org>

        * plug-ins/helpbrowser/queue.c: call has_next/prev functions with
        arguments.
2005-04-15 18:38:01 +00:00
Michael Natterer e3b7c8a988 CVS surgery to keep the locading functions' revision history. 2005-04-15 17:31:04 +00:00
Sven Neumann 443b71cb68 plug-ins/helpbrowser/dialog.c added menu toolbar buttons; not functional
2005-04-15  Sven Neumann  <sven@gimp.org>

        * plug-ins/helpbrowser/dialog.c
        * plug-ins/helpbrowser/queue.[ch]: added menu toolbar buttons; not
        functional yet.
2005-04-15 17:09:05 +00:00
Michael Natterer 4d06f1fa8f added app/core/gimpbrush-load.c
2005-04-15  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/core/gimpbrush-load.c
2005-04-15 15:59:13 +00:00
Michael Natterer 4ffe1f03d3 Added loading of Photoshop brushes. Fixes bug #163047:
2005-04-15  Michael Natterer  <mitch@gimp.org>

	Added loading of Photoshop brushes. Fixes bug #163047:

	* app/core/Makefile.am
	* app/core/gimpbrush-load.[ch]: new files holding all brush
	loading code. Added .abr loader based on a patch by Adrian
	Likins. Didn't add a new brush subclass as in the original patch,
	but only a loading function which loads the brushes into standard
	GimpBrush objects. Did misc fixes to the code, needs further
	cleanup.

	* app/core/gimpbrush.[ch]: removed brush loading code here.

	* app/core/gimpbrushpipe.c: changed #includes accordingly.

	* app/core/gimp.c (gimp_real_initialize): register the new load
	functions and their extensions with the brush factory.
2005-04-15 15:56:34 +00:00
Adam Weinberger d92c1cf3a1 Updated Canadian English translation.
2005-04-14  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-04-15 02:33:23 +00:00
Simon Budig 7295b9cec4 NULLified the Keyboard Shortcut for the new rect select tool (clash with
2005-04-15  Simon Budig  <simon@gimp.org>

	* app/tools/gimpnewrectselecttool.c: NULLified the Keyboard
	Shortcut for the new rect select tool (clash with the Crop tool).
2005-04-15 01:13:47 +00:00
Sven Neumann 9fd886e379 added a simple right-click menu.
2005-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added a simple right-click menu.
2005-04-14 20:03:00 +00:00
Maurits Rijk e543e3086a plug-ins/imagemap/imap_cmd_unselect_all.c plug-ins/imagemap/imap_main.c
2005-04-14  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_cmd_unselect_all.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object_popup.c: removed bunch of
	compilation warnings (spotted by Sven Neumann).
2005-04-14 19:41:49 +00:00
Sven Neumann a4b94c04b1 cleanup gint/gboolean confusion (spotted by Maurits Rijk).
2005-04-14  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawable.[ch] (gimp_drawable_get_tile)
	(gimp_drawable_get_tile2): cleanup gint/gboolean confusion (spotted
	by Maurits Rijk).
2005-04-14 19:26:38 +00:00
Sven Neumann 99a1fbe32d use a GtkUIManager to construct the toolbar.
2005-04-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: use a GtkUIManager to construct the
	toolbar.

	* plug-ins/ifscompose/ifscompose.c: use gtk_action_set_sensitive().
2005-04-14 17:03:06 +00:00
William Skaggs 5a9dbb44e2 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/dialogs/image-new-dialog.c
	* app/dialogs/image-scale-dialog.c
	* app/widgets/gtkhwrapbox.c
	* app/widgets/gtkvwrapbox.c: s/choosen/chosen/g; fixes bug #300608.
2005-04-14 16:19:30 +00:00
Sven Neumann 1f137406c3 don't call gimp_display_shell_scale() if the display isn't completely
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_set_property):
	don't call gimp_display_shell_scale() if the display isn't
	completely setup yet.

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	hack around to find out whether we should pass the pointer location
	or the center of the display to gimp_display_shell_scale_to().
2005-04-14 13:01:34 +00:00
Sven Neumann 6d471b9231 center on the canvas widget, not on the display shell 2005-04-14 12:08:01 +00:00
Sven Neumann 2f753123e5 changed to use the location of the pointer instead of the display center.
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	changed to use the location of the pointer instead of the display
	center. This is the behaviour requested in bug #79384.
2005-04-14 11:50:23 +00:00
Sven Neumann f595dfa78e app/display/gimpdisplayshell-callbacks.c reduced code duplication.
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-scale.[ch]: reduced code duplication.
2005-04-14 11:46:07 +00:00
Sven Neumann 2db22a5045 changed to keep the point under the mouse at the same location, rather
2005-04-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale_to):
	changed to keep the point under the mouse at the same location,
	rather than to center it. Also added API docs.
2005-04-14 11:06:49 +00:00
Simon Budig 5658edd077 Started a PDB api for vectors/strokes. Not yet functional, this commit is
2005-04-14  Simon Budig  <simon@gimp.org>

	Started a PDB api for vectors/strokes. Not yet functional, this
	commit is to get the infrastructure up and running.

	* app/vectors/gimpstroke.[ch]
	* app/vectors/gimpvectors.[ch]: Added IDs to the strokes

	* tools/pdbgen/pdb.pl: corrected "vectors" type, deleted "path" type.
	* tools/pdbgen/pdb/image.pdb: added gimp_image_get_vectors()
	* tools/pdbgen/pdb/vectors.pdb: New file for the vectors API
	(just a stub for now)

	* tools/pdbgen/Makefile.am: Added vectors.pdb
	* tools/pdbgen/groups.pl: regenerated.

	* plug-ins/script-fu/siod-wrapper.c: Enable the Path/Vectors type.

	* libgimp/gimpvectors_pdb.[ch]
	* app/pdb/vectors_cmds.c: new autogenerated files.

	* libgimp/Makefile.am
	* app/pdb/Makefile.am: Added new autogenerated file.

	* libgimp/gimp_pdb.h
	* libgimp/gimpimage_pdb.[ch]
	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c: regenerated.
2005-04-14 02:32:23 +00:00
Sven Neumann 21a16899da fixed gtk-doc comment.
2005-04-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c: fixed gtk-doc comment.
2005-04-13 17:45:53 +00:00
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