Commit graph

6732 commits

Author SHA1 Message Date
Sven Neumann 48fb6b37ed app/core/gimpimagefile.[ch] moved code to generate a literate description
2002-04-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.[ch]
	* app/gui/file-open-dialog.c: moved code to generate a literate
	description of the image to the GimpImagefile object.
2002-04-16 23:59:53 +00:00
Michael Natterer 4aa4803dd0 register GimpImageType.
2002-04-17  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: register GimpImageType.

	* app/core/gimpimagefile.[ch]: read and write more image properties
	in thumbnails.

	* app/gui/file-open-dialog.c: changed accordingly.

	* app/widgets/gimpdialogfactory.c: disabled debugging output.

	* app/widgets/gimpdocumentview.c: changed the "Refresh" button to
	regenerate the preview on click and reload all previews on
	shift+click.

	* tools/pdbgen/enums.pl: regenerated.
2002-04-16 23:03:23 +00:00
Sven Neumann 8dfccd03bb create the thumbnail directories if they don't exist.
2002-04-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_png_thumb_path): create
	the thumbnail directories if they don't exist.
	(gimp_imagefile_png_thumb_name): reimplemented w/o snprintf().

	* app/pdb/color_cmds.c
	* tools/pdbgen/pdb/color.pdb: merged fix for bug #78877 from stable
	branch.
2002-04-16 21:36:04 +00:00
Michael Natterer 99e575d17d fixed temp_buf_copy() and temp_buf_to_[color|gray]() to (1) not crash and
2002-04-16  Michael Natterer  <mitch@gimp.org>

	* app/base/temp-buf.c: fixed temp_buf_copy() and
	temp_buf_to_[color|gray]() to (1) not crash and (2) to assume the
	correct pixelformat. Bugs were never noticed because the code was
	never used until today...

	* app/core/gimpviewable.c (gimp_viewable_get_new_preview_pixbuf):
	use temp_buf_copy() to convert GRAY* TempBufs to RGB* before
	creating the pixbuf.

	* app/app_procs.c: don't try to open command line images if the
	filename could not be converted to an URI.

	* app/file/file-open.c
	* app/file/file-save.c: use g_file_test() instead of stat().

	* app/file/file-utils.[ch]: cleanup, changed
	file_utils_filename_to_uri() to take a list of procs, not a Gimp
	pointer.

	* app/core/gimpimage.c: changed accordingly.

	* app/core/gimpimagefile.[ch]: implemented thumbnail saving
	following the thumbnail standard v0.5 (the implementation is not
	yet fully standard compliant).

	* app/gui/file-open-dialog.c: use the new thubmnail functions and
	removed all .xvpics code. Not finished yet...

	* app/core/gimpdocuments.c
	* app/widgets/gimpdocumentview.c: changed accordingly.

	* tools/pdbgen/pdb/fileops.pdb (file_save_thumbnail): set "success"
	correctly.

	* app/pdb/fileops_cmds.c: regenerated.
2002-04-16 20:25:27 +00:00
Sven Neumann 3da9502590 don't draw anything if an idle update is pending.
2002-04-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppreview.c (gimp_preview_expose_event): don't draw
	anything if an idle update is pending.

	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_expose): reordered
	conditions so that the one that is most expensive to check comes last.
2002-04-16 17:52:15 +00:00
Christophe Merlet bcca29b59b Updated French translation. 2002-04-15 11:46:55 +00:00
Sven Neumann 21fb2943b5 serialize doubles and floats using the locale independent
2002-04-15  Sven Neumann  <sven@gimp.org>

        * app/config/gimpconfig-serialize.c: serialize doubles and floats
        using the locale independent g_ascii_formatd().
2002-04-15 09:40:08 +00:00
Michael Natterer 2a8bab17de serialize the unit factor with g_ascii_formatd() so it is locale
2002-04-14  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpunits.c: serialize the unit factor with
	g_ascii_formatd() so it is locale independent.
2002-04-14 21:26:42 +00:00
Michael Natterer 65cfa8db19 added utility functions file_utils_uri_to_utf8_basename() and
2002-04-14  Michael Natterer  <mitch@gimp.org>

	* app/file/file-utils.[ch]: added utility functions
	file_utils_uri_to_utf8_basename() and
	file_utils_uri_to_utf8_filename().

	* app/nav_window.c
	* app/undo_history.c
	* app/display/gimpdisplayshell.c
	* app/gui/info-window.c
	* app/gui/menus.c
	* app/gui/palette-import-dialog.c
	* app/tools/gimpbycolorselecttool.c
	* app/widgets/gimpcontainerview-utils.c: use the new functions.
2002-04-14 17:28:58 +00:00
Michael Natterer 5e51cebc15 Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile.
2002-04-14  Michael Natterer  <mitch@gimp.org>

	Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile.

	* app/file/file-open.[ch]
	* app/file/file-save.[ch]
	* app/file/file-utils.[ch]: port everything to using URIs, removed
	file_open_absolute_filename() and added file_utils_filename_to_uri()
	instead.

	* app/core/gimpimage.[ch]: added gimp_image_[get|set]_uri() which
	works like the old gimp_image_[get|set]_filename().
	Changed gimp_image_[get|set]_filename() to call uri conversion
	functions.

	* app/app_procs.c: removed lots of code and use the new uri
	functions to open images passed on the command line.

	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c: changed accordingly.

	* app/nav_window.c
	* app/undo_history.c
	* app/display/gimpdisplayshell.c
	* app/gui/info-window.c
	* app/gui/palette-import-dialog.c
	* app/tools/gimpbycolorselecttool.c
	* app/widgets/gimpcontainerview-utils.c:
	s/gimp_image_get_filename()/gimp_image_get_uri()/g. Need to add
	a utility function which returns the basename in unescaped UTF-8.

	* app/gui/file-commands.c
	* app/widgets/gimpdocumentview.c: use "uri", not "filename" as
	variable name where appropriate.

	* app/gui/menus.c: some broken code for the "Open Recent" items,
	will be fixed soon...

	* app/widgets/gimpdnd.c: evil (!!!) hackery to convert dropped
	filenames to uris.

	* tools/pdbgen/pdb/fileops.pdb: changed accordingly. Clarified
	the meaning of the "raw_filename" parameter.

	* tools/pdbgen/pdb/message.pdb: use g_message("%s", message),
	*not* g_message(message).

	* app/pdb/fileops_cmds.c
	* app/pdb/message_cmds.c
	* libgimp/gimpfileops_pdb.c: regenerated.
2002-04-14 14:38:55 +00:00
Michael Natterer 6d215cae8d removed some #if 0'ed stuff.
2002-04-14  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.c: removed some #if 0'ed stuff.

	* app/gui/edit-commands.c (edit_copy_cmd_callback): call
	gdisplays_flush() so the menus are updated correctly.

	* app/widgets/gimpitemfactory.c (gimp_item_factory_set_color):
	pack the original menu item label with TRUE, TRUE into the created
	hbox so it's accel. label is visible.
2002-04-14 12:02:29 +00:00
Chyla Zbigniew 01e3832d0d Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-04-13 10:58:09 +00:00
Chyla Zbigniew ffb861a862 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-04-12 22:22:08 +00:00
Michael Natterer adad0f47e5 Well, sometimes the most obvious solution is not the first one...
2002-04-12  Michael Natterer  <mitch@gimp.org>

	Well, sometimes the most obvious solution is not the first one...

	* app/gimphelp.[ch]: removed _gimp_standard_help_func().

	* app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
	directly.
2002-04-12 18:26:43 +00:00
Michael Natterer b46ab216e6 removed usage of "the_gimp" by passing around more "Gimp" pointers.
2002-04-12  Michael Natterer  <mitch@gimp.org>

	* app/gimphelp.[ch]: removed usage of "the_gimp" by passing around
	more "Gimp" pointers. Renamed gimp_standard_help_func() to
	_gimp_standard_help_func() and declare it in the header.  Don't
	include "app_procs.h".

	* app/libgimp_glue.[ch]: added gimp_standard_help_func() here.
	Call _gimp_standard_help_func (the_gimp, ...) like all other
	wrappers in this file do. I know this is ugly but better let's
	have all uglyness in one place (here) :-)

	* app/widgets/gimpitemfactory.[ch]: added a "Gimp" member to the
	GimpItemFactory struct. Pass it to gimp_help(),

	* app/gui/menus.c: pass a Gimp to gimp_item_factory_new(), removed
	useless inclusion of "gimphelp.h".

	* tools/pdbgen/pdb/help.pdb: pass a Gimp to gimp_help()

	* app/pdb/help_cmds.c: regenerated.

	* app/gui/tips-dialog.c: removed gtk_quit_add_destroy() here too
	because the tips dialog is created by a dialog factory which takes
	care of dialog destruction.
2002-04-12 18:14:13 +00:00
Sven Neumann d0429f270a app/gui/file-open-dialog.c merged fix for bug #51781 from stable branch:
2002-04-12  Sven Neumann  <sven@gimp.org>

	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c: merged fix for bug #51781 from stable
	branch: don't gtk_quit_add_destroy() the fileload and filesave widgets.
2002-04-12 17:49:39 +00:00
Sven Neumann 0b2fa49e73 fixed uninstall target (bug #78536).
2002-04-12  Sven Neumann  <sven@gimp.org>

	* data/misc/Makefile.am: fixed uninstall target (bug #78536).
2002-04-12 15:44:13 +00:00
Sven Neumann ffb7a3d59d plug-ins/common/gtm.c plug-ins/common/illusion.c plug-ins/common/ps.c
2002-04-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gtm.c
	* plug-ins/common/illusion.c
	* plug-ins/common/ps.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/wind.c
	* plug-ins/maze/maze_face.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sel2path/sel2path_adv_dialog.c: applied a patch from
	<iccii@hotmail.com> that adds calls to gimp_help_free() even though I
	think that omitting gimp_help_free() is tolerable lazyness (#76984).
2002-04-12 14:49:00 +00:00
Michael Natterer 1a259d681a reordered some lines, no logic changed.
2002-04-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-crop.c: reordered some lines, no logic
	changed.

	* app/core/gimplayer.[ch]: made gimp_layer_pick_correlate()
	return a gboolean, not gint.

	* app/display/gimpdisplayshell.c
	* app/gui/layers-commands.[ch]
	* app/gui/menus.c: added "<Image>/Layers/Crop Layer" which resizes
	the active layer to the current selection's bounds, just as
	"<Image>/Image/Crop Image"
2002-04-12 12:29:51 +00:00
Sven Neumann ebae1cae5b removed app/gradient.c again. This file has been removed a long time ago.
2002-04-12  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed app/gradient.c again. This file has been
	removed a long time ago.

	* de.po: updated german translation.
2002-04-12 12:14:50 +00:00
Zbigniew Chyla d108860d3a Marked some strings for translation.
2002-04-12  Zbigniew Chyla  <cyba@gnome.pl>

	* app/gui/dialogs-constructors.c: Marked some strings for translation.
2002-04-12 11:54:36 +00:00
Zbigniew Chyla 772c9162dc Updated Polish translation by GNOME PL Team <translators@gnome.pl>.
2002-04-12  Zbigniew Chyla  <cyba@gnome.pl>

	* pl.po: Updated Polish translation by
	GNOME PL Team <translators@gnome.pl>.

	* POTFILES.in: Added app/gradient.c.
2002-04-12 11:51:52 +00:00
Sven Neumann 8c3ea9955f merged fix for bug #75667 from stable branch.
2002-04-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ps.c: merged fix for bug #75667 from stable branch.

	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/rcm/rcm_misc.c: merged fix for bug #67018 from stable
	branch.

	* themes/Default/gtkrc: removed settings for tooltips color since
	GTK+-2.0 sets a reasonable default. Added a line to allow to change
	menu accelerators.
2002-04-11 10:58:19 +00:00
Manish Singh 57aaac8d9c merges from gimp-1-2 branch
2002-04-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/url.c: merges from gimp-1-2 branch
2002-04-10 23:10:37 +00:00
Ole Laursen f7f7d97ecf Fixed a few bad translations (<toolbox> instead of <image>).
2002-04-09  Ole Laursen  <olau@hardworking.dk>

	* da.po: Fixed a few bad translations (<toolbox> instead of <image>).
2002-04-09 19:33:20 +00:00
Ole Laursen de138fb66c Fixed a spelling mistake.
2002-04-09  Ole Laursen  <olau@hardworking.dk>

	* da.po: Fixed a spelling mistake.
2002-04-09 19:32:41 +00:00
Stanislav Brabec b3bac7dbb2 czech translation update 2002-04-09 18:52:45 +00:00
Ole Laursen 3f7e155d0f Fixed a string in Danish translation.
2002-04-09  Ole Laursen  <olau@hardworking.dk>

	* da.po: Fixed a string in Danish translation.
2002-04-09 18:08:41 +00:00
Sven Neumann 42c504b074 include libart.h instead of a selection of libart headers.
2002-04-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.c: include libart.h instead of a selection
	of libart headers.
2002-04-09 11:39:04 +00:00
Ole Laursen 548268011e Updated Danish translation.
2002-04-06  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-04-06 14:31:07 +00:00
Chyla Zbigniew 50d1f3a444 Updated Polish translation by GNOME PL Team <translators@gnome.pl> 2002-04-05 20:38:33 +00:00
Manish Singh e73a00799e for testing 2002-04-04 07:53:39 +00:00
Manish Singh 065431b04c use gobject marshaller names directly so libgimpproxy doesn't need
2002-04-03  Manish Singh  <yosh@gimp.org>

        * app/core/gimpobject.c: use gobject marshaller names directly so
        libgimpproxy doesn't need gimpmarshal.* around
2002-04-04 05:31:11 +00:00
Manish Singh e214e54554 make it work with automake 1.5 2002-04-04 02:24:58 +00:00
Manish Singh 2bff7f1fa5 Make it work with automake 1.5 2002-04-04 02:24:34 +00:00
Manish Singh a00da55ae1 sync 2002-04-04 01:57:54 +00:00
Stanislav Visnovsky 00f6b70cbb Updated Slovak translation by Zdenko Podobny <zdpo@mailbox.sk>.
2002-04-02  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation by Zdenko Podobny <zdpo@mailbox.sk>.
2002-04-02 15:03:51 +00:00
Duarte Loreto e8ae4da2f5 Updated Portuguese translation.
2002-04-01  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2002-04-01 23:15:47 +00:00
Nate Summers eb4e718daa Happy April 1. 2002-04-01 21:36:52 +00:00
Kjartan Maraas 2d35436e8e Updated Norwegian (bokmål) translation.
2002-04-01  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmål) translation.
2002-04-01 20:43:30 +00:00
Nate Summers 310fa16b35 plug-ins/tools/tool-safe-mode.c: fix a segfault 2002-03-30 02:42:30 +00:00
Nate Summers 5115f32d2a fix a segfault 2002-03-30 02:40:35 +00:00
Tor Lillqvist 13191ea22f Additions for Win32: Use -no-undefined. Use the .def file. Produce MS
2002-03-30  Tor Lillqvist  <tml@iki.fi>

	* libgimpmath/Makefile.am: Additions for Win32: Use
	-no-undefined. Use the .def file. Produce MS style import
	library if possible. Install (and uninstall) import
	libraries.

	* libgimpmath/makefile.mingw.in: Add comment that it is seriously
	out-of-date.
2002-03-29 23:39:00 +00:00
Tor Lillqvist ae07ec5709 Additions for Win32: Use -no-undefined. Use the .def file. Produce MS
2002-03-30  Tor Lillqvist  <tml@iki.fi>

	* libgimpcolor/Makefile.am: Additions for Win32: Use
	-no-undefined. Use the .def file. Produce MS style import
	library if possible. Install (and uninstall) import
	libraries.

	* libgimpcolor/makefile.mingw.in: Add comment that it is seriously
	out-of-date.
2002-03-29 23:24:42 +00:00
Tor Lillqvist 6e2568839b Additions for Win32: Use -no-undefined. Use the gimpbase.def file. Produce
2002-03-30  Tor Lillqvist  <tml@iki.fi>

	* libgimpbase/Makefile.am: Additions for Win32: Use
	-no-undefined. Use the gimpbase.def file. Produce MS style import
	library if possible. Install (and uninstall) import
	libraries. Pass definition of PREFIX in CPPFLAGS.

	* libgimpbase/gimpbase.def: Do export gimp_signal_private.

	* libgimpbase/gimpenv.c: Similar Win32 working as in the gimp-1-2
	branch:
	(gimp_directory): Replace funny chars in user name (when used as
	part of last-resort personal gimp directory name) with
	underscores.
	(gimp_toplevel_directory): New (Win32-only) function. Deduces the
	installation prefix at run-time.
	(gimp_path_runtime_fix): New function. On Win32, replace the
	string with one where the compile-time prefix has been replaced
	with the run-time one.
	(gimp_path_parse, gimp_env_get_dir): Call it.

	* libgimpbase/gimpsignal.c: Trim (lots of) trailing spaces in
	copyright notice.
	(gimp_signal_private): Bypass on Win32, return NULL. Or should we
	call g_error(), thus requiring that calls of this are enclosed with
	#ifdef G_OS_UNIX?

	* libgimpbase/makefile.mingw.in: Add comment that it is seriously
	out-of-date.

	* libgimpbase/makefile.msc: Do compile gimpsignal.c.
2002-03-29 23:10:18 +00:00
Tor Lillqvist 5f3a5a66f3 Start of changes for autoconfiscated build on Win32. Mostly similar to how
2002-03-29  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Start of changes for autoconfiscated build on
	Win32. Mostly similar to how it is done in the gimp-1-2 branch:

	Set LT_CURRENT_MINUS_AGE to $LT_CURRENT - $LT_AGE, this is used by
	libtool in DLL names, we need it for the *.rc.in files in case we
	want to have version resources in DLLs (these include the original
	filename). AC_SUBST it.

	Call AC_LIBTOOL_WIN32_DLL.

	Test for Win32 platform and native Win32, set automake
	conditionals PLATFORM_WIN32 and OS_WIN32. Set PATHSEP to ';' or
	':', AC_SUBST it.

	If on Win32, test for lib.exe availability (to build MS import
	libraries), set automake conditional MS_LIB_AVAILABLE.

	Include GLIB_LIBS when checking for bind_textdomain_codeset, in
	case using a separate -lintl.

	Don't try to link with -lX11 when looking for libXpm unless the
	GDK backend is x11. On Win32 we use the "no-X" version of libXpm.
2002-03-29 21:36:53 +00:00
Nate Summers 9e76b55173 displayshell 2002-03-29 05:03:11 +00:00
Nate Summers e97643f1c5 hi mom 2002-03-29 04:36:37 +00:00
Nate Summers 3b06d74b74 splrmgph 2002-03-29 04:10:31 +00:00
Nate Summers b2f4e8e4ea adfadfadf 2002-03-29 04:04:02 +00:00