Commit Graph

13835 Commits

Author SHA1 Message Date
Sven Neumann 76d874e29c regenerated 2004-10-25 19:19:43 +00:00
Michael Natterer 6711646648 Don't store human readable and translatable enum/flag strings in
2004-10-25  Michael Natterer  <mitch@gimp.org>

	Don't store human readable and translatable enum/flag strings in
	GEnumValue's and GTypeValue's fields but attach them to their
	GType using separate structs and utility functions:

	* tools/gimp-mkenums: added params and perl voodoo to support
	generating a second array of values, which is used by the
	Makefiles below to create and register arrays of value
	descriptions.

	* libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive
	arrays of translatable strings to/from enum and flags types. Added
	structs GimpEnumDesc and GimpFlagsDesc for that purpose.

	* libgimpbase/gimputils.[ch]: changed existing enum utility
	functions, added new ones and added a symmetric API for flags.

	* app/base/Makefile.am
	* app/core/Makefile.am
	* app/display/Makefile.am
	* app/paint/Makefile.am
	* app/text/Makefile.am
	* app/tools/Makefile.am
	* app/widgets/Makefile.am
	* libgimp/Makefile.am
	* libgimpbase/Makefile.am: changed *-enums.c generation rules
	accordingly.

	* app/base/base-enums.c
	* app/core/core-enums.c
	* app/display/display-enums.c
	* app/paint/paint-enums.c
	* app/text/text-enums.c
	* app/tools/tools-enums.c
	* app/widgets/widgets-enums.c
	* libgimpbase/gimpbaseenums.c: regenerated.

	* app/widgets/gimpenumstore.c
	* app/widgets/gimpenumwidgets.c
	* app/widgets/gimptemplateeditor.c
	* libgimpwidgets/gimppreviewarea.c: follow the enum utility
	function API changes.
2004-10-25 17:55:25 +00:00
Adam Weinberger 14b1e0c258 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-25 17:21:13 +00:00
Kevin Cozens b20396f75f Changed gimp-data-dir to gimp-data-directory.
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>

	* scripts/tiny-fu.init: Changed gimp-data-dir to gimp-data-directory.
2004-10-25 17:12:55 +00:00
Sven Neumann 66ba9eca3e skip types for registered enums.
2004-10-25  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: skip types for registered enums.
2004-10-25 16:53:45 +00:00
Sven Neumann 4762ab0a05 plug-ins/imagemap/imap_cmd_gimp_guides.c
2004-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.[ch]
	* plug-ins/imagemap/imap_menu_funcs.[ch]
	* plug-ins/imagemap/imap_misc.c
	* plug-ins/imagemap/imap_settings.c
	* plug-ins/imagemap/imap_source.c: added a menu entry for Help.
	Did more minor layout adjustments for HIG compliance.
2004-10-25 16:11:40 +00:00
Kevin Cozens 865f4d8b21 Applied patch from Dimitrios Souflis which fixes error when parsing two or
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Applied patch from Dimitrios Souflis which
	fixes error when parsing two or more consecutive comment lines.
2004-10-25 16:05:12 +00:00
Michael Natterer a61ed834be #include "libgimpbase/gimpbase.h", not just gimputils.h
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpobject.c: #include "libgimpbase/gimpbase.h", not
	just gimputils.h
2004-10-25 15:36:55 +00:00
Michael Natterer 7989cbb770 commented out the "Debug" submenu. Should do this via an xsltproc --param
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* menus/toolbox-menu.xml.in: commented out the "Debug" submenu.
	Should do this via an xsltproc --param actually...
2004-10-25 14:36:21 +00:00
Hendrik Brandt 3f20d813b8 Updated German translation.
2004-10-25  Hendrik Brandt  <hebra@cvs.gnome.org>

	* po{,-libgimp,-plug-ins,-script-fu}/de.po: Updated German translation.
2004-10-25 14:29:50 +00:00
David Odin af42b25372 removed debugging g_print and remove my memory fix, since it was buggy and
* plug-ins/common/newsprint.c: removed debugging g_print and
  remove my memory fix, since it was buggy and shouldn't be done.
  My fix just broke this plug-in (reported by Joao S. O. Bueno
  Calligaris)
2004-10-25 13:45:58 +00:00
Simon Budig fdd150e310 Switch to design mode when Escape gets pressed. Untabbified.
2004-10-25  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: Switch to design mode when
	Escape gets pressed. Untabbified.
2004-10-25 13:29:32 +00:00
Michael Natterer e88a663631 app/actions/gradient-editor-commands.c irrelevant coding style and spacing
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/gradient-editor-commands.c
	* app/display/gimpdisplayshell-preview.c: irrelevant coding style
	and spacing cleanups.

	* app/widgets/gimpimageeditor.c: removed utility function
	gimp_image_editor_context_changed() and connect
	gimp_image_editor_set_image() directly using
	g_signal_connect_swapped().
2004-10-25 12:42:23 +00:00
Sven Neumann 537890aacb plug-ins/imagemap/imap_circle.c plug-ins/imagemap/imap_cmd_gimp_guides.c
2004-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_circle.c
	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_default_dialog.[ch]
	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_grid.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_misc.c
	* plug-ins/imagemap/imap_polygon.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/imagemap/imap_rectangle.c
	* plug-ins/imagemap/imap_selection.c
	* plug-ins/imagemap/imap_source.c
	* plug-ins/imagemap/imap_toolbar.c
	* plug-ins/imagemap/imap_tools.c: reviewed for HIG
	compliance. Various other minor fixes. Closes bug #150004.
2004-10-25 12:10:13 +00:00
Kevin Cozens 1cea494214 Added parameter missing from argument list.
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/test-sphere.scm: Added parameter
	missing from argument list.
2004-10-25 05:28:46 +00:00
Michael Natterer 5be33c97c7 tools/pdbgen/enumcode.pl register all enums in libgimp/gimenums.h with the
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/enumcode.pl
	* libgimp/Makefile.am: register all enums in libgimp/gimenums.h
	with the type system.

	* libgimp/gimpenums.h: regenerated.

	* libgimp/gimp.def: updated.
2004-10-25 01:54:53 +00:00
Michael Natterer a3eef8727f tools/pdbgen/enumcode.pl register all enums in libgimp/gimenums.h with the
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/enumcode.pl
	* libgimp/Makefile.am: register all enums in libgimp/gimenums.h
	with the type system.

	* libgimp/gimpenums.h: regenerated.
2004-10-25 01:52:12 +00:00
Vincent van Adrighem e11bcb15ba Translation updated by Tino Meinen.
2004-10-25  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2004-10-24 23:55:36 +00:00
Sven Neumann 6ce9ad7fd0 gimp_user_version should be 2.2.
2004-10-25  Sven Neumann  <sven@gimp.org>

	* configure.in: gimp_user_version should be 2.2.

	* libgimpmodule/Makefile.am (AM_CPPFLAGS): cleanup.
2004-10-24 23:55:29 +00:00
Sven Neumann 21d634e719 fixed ChangeLog entry 2004-10-24 22:56:23 +00:00
Sven Neumann 6108dc0212 configure.in app/Makefile.am bumped version to 2.2.0-pre1, set app version
2004-10-25  Sven Neumann  <sven@gimp.org>

	* configure.in
	* app/Makefile.am
	* tools/Makefile.am: bumped version to 2.2.0-pre1, set app version
	to 2.2, reset other versions to 2.0. Changed library versioning so
	we install with the same soname as gimp-2.0 again.
2004-10-24 22:55:36 +00:00
Sven Neumann 726821fef7 say "Click to create preview" if no preview is available.
2004-10-25  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_get_desc_string): say
	"Click to create preview" if no preview is available.
2004-10-24 22:30:52 +00:00
Michael Natterer 2e94997de6 added added app/actions/error-console-commands.c
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added added app/actions/error-console-commands.c
2004-10-24 22:26:48 +00:00
Michael Natterer df34354784 added gimp_text_buffer_save() which saves a GtkTextBuffer's contents to a
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_save()
	which saves a GtkTextBuffer's contents to a file.

	* app/widgets/gimperrorconsole.c: use
	gimp_editor_add_action_button() and removed all "clicked"
	callbacks, including all file saving code.

	* app/actions/error-console-actions.c
	* app/actions/error-console-commands.[ch]: added the code removed
	above to the action callbacks. Use gimp_text_buffer_save().
2004-10-24 22:26:11 +00:00
Michael Natterer 714771d450 app/widgets/gimpgradienteditor.[ch] added public APIs for zooming the
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.[ch]
	* app/widgets/gimppaletteeditor.[ch]: added public APIs for
	zooming the editors. Use gimp_editor_add_action_button() to create
	all buttons. Removed all button callbacks and all duplicated
	button sensitivity logic.

	* app/widgets/gimpdataeditor.c (gimp_data_editor_set_data): update
	the editor's UI manager if it exists.

	* app/actions/gradient-editor-actions.c
	* app/actions/gradient-editor-commands.[ch]: added zoom actions
	and callback and call gimp_gradient_editor_zoom(). Fixed
	gradient_editor_actions_update() to actually set all items'
	sensitivity (it was possible to modify read-only gradients and
	even to crash GIMP).

	* app/actions/palette-editor-actions.c
	* app/actions/palette-editor-commands.[ch]: changed "new" and
	"zoom" actions to actually do their job instead of calling
	gtk_button_clicked(editor->foo_button).
2004-10-24 20:38:35 +00:00
Francisco Javier F. Serrador e64a292d45 Updated Spanish translation.
2004-10-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-10-24 20:34:56 +00:00
Michael Natterer d9f681b492 added app/actions/colormap-editor-commands.c and
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/actions/colormap-editor-commands.c
	and app/actions/palette-editor-commands.c
2004-10-24 18:33:21 +00:00
Michael Natterer 8afbb733c7 removed the "Edit Color" dialog callbacks and use
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.c: removed the "Edit Color"
	dialog callbacks and use gimp_editor_add_action_button() for
	the edit button. Removed button sensitivity logic. Hide the
	color dialog when the image's mode changes.

	* app/actions/colormap-editor-actions.c: added missing tooltip
	for the edit action.

	* app/actions/colormap-editor-commands.c: implement the dialog
	here.
2004-10-24 18:32:24 +00:00
David Odin bcfbc61e15 only return early if there's nothing to desaturate.
* app/core/gimpdrawable-desaturate.c: only return early if there's nothing
  to desaturate.
2004-10-24 16:25:26 +00:00
Michael Natterer ceaec00551 don't leak the filenames of the import and export dialogs.
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/actions/vectors-commands.c: don't leak the filenames of the
	import and export dialogs.
2004-10-24 13:13:21 +00:00
Adam Weinberger 46aba2fc98 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-23 23:32:41 +00:00
Michael Natterer fa7893629f added app/dialogs/vectors-[im|ex]port-dialog.c
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/vectors-[im|ex]port-dialog.c
2004-10-23 22:55:26 +00:00
Michael Natterer 86c108c5d3 app/dialogs/Makefile.am app/dialogs/vectors-export-dialog.[ch] new files.
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/vectors-export-dialog.[ch]
	* app/dialogs/vectors-import-dialog.[ch]: new files.

	* app/actions/vectors-commands.c: use the new dialogs and remember
	their last values.
2004-10-23 22:54:41 +00:00
Sven Neumann 868aefc322 libgimp/libgimp-sections.txt added gimp_drawable_mask_intersect().
2004-10-23  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpdrawable.sgml: added gimp_drawable_mask_intersect().
2004-10-23 21:54:58 +00:00
Sven Neumann f21e575bc2 added missing controls to the path import and export dialogs.
2004-10-23  Sven Neumann  <sven@gimp.org>

	* app/actions/vectors-commands.c: added missing controls to the
	path import and export dialogs.
2004-10-23 21:49:46 +00:00
David Odin c44f008737 cleaned it up, fixed a (documented) memory leak and the weird behaviour of
* plug-ins/common/newsprint.c: cleaned it up, fixed a (documented) memory
  leak and the weird behaviour of the resolution scales.
2004-10-23 21:29:56 +00:00
David Odin e4202235f0 added a preview.
* plug-ins/common/newsprint.c: added a preview.
2004-10-23 20:01:45 +00:00
Michael Natterer 66529903b9 libgimp/gimpaspectpreview.h libgimp/gimpdrawablepreview.h
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpaspectpreview.h
	* libgimp/gimpdrawablepreview.h
	* libgimp/gimpprogressbar.h
	* libgimpwidgets/gimpcellrenderercolor.h
	* libgimpwidgets/gimpcellrenderertoggle.h
	* libgimpwidgets/gimpframe.h
	* libgimpwidgets/gimpintcombobox.h
	* libgimpwidgets/gimpintstore.h
	* libgimpwidgets/gimppreview.h
	* libgimpwidgets/gimppreviewarea.h
	* libgimpwidgets/gimpscrolledpreview.h: added padding to all class
	structs which have been added since 2.0.
2004-10-23 19:59:18 +00:00
Michael Natterer fa79ae2844 don't g_return_if_fail() if there is no active drawable, just silently
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-commands.c (file_save_cmd_callback): don't
	g_return_if_fail() if there is no active drawable, just silently
	return.

	* app/actions/image-commands.c: remember the last merge_type of
	the "Merge Visible Layers" dialog.

	* app/actions/layers-commands.c: remeber the last values of the
	"Add Layer Mask" dialog.

	* app/actions/select-commands.c: renamed a bunch of static
	variables to be consistent with other variables used to remember
	dialog values.

	* app/actions/view-commands.c (view_fullscreen_cmd_callback): it's
	useless to update the "view-fullscreen" actions here because the
	"fullscreen" state of the shell changes asynchronously
2004-10-23 19:13:17 +00:00
Michael Natterer a01c6883f6 app/dialogs/image-merge-layers-dialog.c made them not resizable.
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/image-merge-layers-dialog.c
	* app/dialogs/layer-add-mask-dialog.c: made them not resizable.

	* app/dialogs/convert-dialog.c
	* app/dialogs/offset-dialog.c: renamed ugly variables.

	* app/dialogs/image-new-dialog.c
	* app/dialogs/stroke-dialog.c: irrelevant pedantic code reordering.
2004-10-23 19:01:26 +00:00
Michael Natterer b408ac301e added app/dialogs/image-merge-layers-dialog.c
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/image-merge-layers-dialog.c
2004-10-23 16:43:14 +00:00
Michael Natterer f50d4763a8 app/dialogs/Makefile.am one more dialog split out of actions/.
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/image-merge-layers-dialog.[ch]: one more dialog split
	out of actions/.

	* app/actions/image-commands.c: removed it here. Some cleanup.
2004-10-23 16:42:37 +00:00
Francisco Javier F. Serrador 39f7a4a923 Updated Spanish translation
2004-10-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation
2004-10-23 16:27:34 +00:00
Sven Neumann ea273aadb9 libgimpthumb/gimpthumb-utils.[ch] libgimpthumb/gimpthumbnail.[ch] added
2004-10-23  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]
	* libgimpthumb/gimpthumb.def: added missing API, mainly for deleting
	thumbnails.

	* app/core/gimpimagefile.[ch]: when saving a thumbnail, delete a
	failure thumbnail if one exists. Unless the thumbnail was created
	explicitely, remove all other thumbnails for this image.

	* app/actions/documents-commands.c: changed accordingly.

	* app/file/file-open.c: only save a thumbnail if there isn't a
	valid thumbnail already.

	* app/widgets/gimpthumbbox.c: before attempting to create a new
	thumbnail, check if there's an uptodate failure thumbnail.
2004-10-23 15:30:39 +00:00
Francisco Javier F. Serrador dab05392af Updated Spanish translation
2004-10-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation
2004-10-23 15:10:01 +00:00
Miloslav Trmac 87331970e2 Updated Czech translation.
2004-10-23  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2004-10-23 14:37:52 +00:00
Michael Natterer a315265676 added app/dialogs/layer-add-mask-dialog.c
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/layer-add-mask-dialog.c
2004-10-23 14:03:27 +00:00
Michael Natterer cbaf441fb4 app/dialogs/Makefile.am one more dialog split out of actions/.
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/layer-add-mask-dialog.[ch]: one more dialog split
	out of actions/.

	* app/actions/layers-commands.c: removed it here. Some cleanup.
2004-10-23 14:02:53 +00:00
Michael Natterer 6d9d93e15d don't tell nonsense by printing "I am going to run ./configure with no
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* autogen.sh: don't tell nonsense by printing "I am going to run
	./configure with no arguments", because we always pass at least
	--enable-maintainer-mode. Instead, simply always print all
	arguments. Also removed --copy from the calls to glib-gettextize
	and intltoolize.
2004-10-23 12:13:39 +00:00
Michael Natterer 6c0fd1dd9d don't tell nonsense by printing "I am going to run ./configure with no
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* autogen.sh: don't tell nonsense by printing "I am going to run
	./configure with no arguments", because we always pass at least
	--enable-maintainer-mode. Instead, simply always print all
	arguments.
2004-10-23 11:02:07 +00:00