1. 14 Apr, 2002 4 commits
    • Michael Natterer's avatar
      serialize the unit factor with g_ascii_formatd() so it is locale · 2a8bab17
      Michael Natterer authored
      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.
      2a8bab17
    • Michael Natterer's avatar
      added utility functions file_utils_uri_to_utf8_basename() and · 65cfa8db
      Michael Natterer authored
      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.
      65cfa8db
    • Michael Natterer's avatar
      Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile. · 5e51cebc
      Michael Natterer authored
      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.
      5e51cebc
    • Michael Natterer's avatar
      removed some #if 0'ed stuff. · 6d215cae
      Michael Natterer authored
      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.
      6d215cae
  2. 13 Apr, 2002 1 commit
  3. 12 Apr, 2002 10 commits
    • Chyla Zbigniew's avatar
    • Michael Natterer's avatar
      Well, sometimes the most obvious solution is not the first one... · adad0f47
      Michael Natterer authored
      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.
      adad0f47
    • Michael Natterer's avatar
      removed usage of "the_gimp" by passing around more "Gimp" pointers. · b46ab216
      Michael Natterer authored
      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.
      b46ab216
    • Sven Neumann's avatar
      app/gui/file-open-dialog.c merged fix for bug #51781 from stable branch: · d0429f27
      Sven Neumann authored
      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.
      d0429f27
    • Sven Neumann's avatar
      fixed uninstall target (bug #78536). · 0b2fa49e
      Sven Neumann authored
      2002-04-12  Sven Neumann  <sven@gimp.org>
      
      	* data/misc/Makefile.am: fixed uninstall target (bug #78536).
      0b2fa49e
    • Sven Neumann's avatar
      plug-ins/common/gtm.c plug-ins/common/illusion.c plug-ins/common/ps.c · ffb7a3d5
      Sven Neumann authored
      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).
      ffb7a3d5
    • Michael Natterer's avatar
      reordered some lines, no logic changed. · 1a259d68
      Michael Natterer authored
      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"
      1a259d68
    • Sven Neumann's avatar
      removed app/gradient.c again. This file has been removed a long time ago. · ebae1cae
      Sven Neumann authored
      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.
      ebae1cae
    • Zbigniew Chyla's avatar
      Marked some strings for translation. · d108860d
      Zbigniew Chyla authored
      
      2002-04-12  Zbigniew Chyla  <cyba@gnome.pl>
      
      	* app/gui/dialogs-constructors.c: Marked some strings for translation.
      d108860d
    • Zbigniew Chyla's avatar
      Updated Polish translation by GNOME PL Team <translators@gnome.pl>. · 772c9162
      Zbigniew Chyla authored
      
      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.
      772c9162
  4. 11 Apr, 2002 1 commit
    • Sven Neumann's avatar
      merged fix for bug #75667 from stable branch. · 8c3ea995
      Sven Neumann authored
      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.
      8c3ea995
  5. 10 Apr, 2002 1 commit
  6. 09 Apr, 2002 5 commits
  7. 06 Apr, 2002 1 commit
  8. 05 Apr, 2002 1 commit
  9. 04 Apr, 2002 5 commits
  10. 02 Apr, 2002 1 commit
  11. 01 Apr, 2002 3 commits
  12. 30 Mar, 2002 2 commits
  13. 29 Mar, 2002 5 commits
    • Tor Lillqvist's avatar
      Additions for Win32: Use -no-undefined. Use the .def file. Produce MS · 13191ea2
      Tor Lillqvist authored
      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.
      13191ea2
    • Tor Lillqvist's avatar
      Additions for Win32: Use -no-undefined. Use the .def file. Produce MS · ae07ec57
      Tor Lillqvist authored
      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.
      ae07ec57
    • Tor Lillqvist's avatar
      Additions for Win32: Use -no-undefined. Use the gimpbase.def file. Produce · 6e256883
      Tor Lillqvist authored
      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.
      6e256883
    • Tor Lillqvist's avatar
      Start of changes for autoconfiscated build on Win32. Mostly similar to how · 5f3a5a66
      Tor Lillqvist authored
      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.
      5f3a5a66
    • Nate Summers's avatar
      displayshell · 9e76b551
      Nate Summers authored
      9e76b551