Gimp/app
Tor Lillqvist 92cdceed77 Make the handling of console output make more sense Win32. Should mostly
2007-01-26  Tor Lillqvist  <tml@novell.com>

	Make the handling of console output make more sense Win32. Should
	mostly fix #400927.
	    
	* app/app_procs.c (app_exit): Drop the Win32 "This console window
	will close in ten seconds" message from here.
	(app_run): Drop the call to FreeConsole() from here. GIMP is built
	as a GUI executable on Windows, and in case we do open a fresh
	console window in main() (see below), we shouldn't then
	immediately close it here.

	* app/errors.c (errors_init): Drop printing the "You can mimize
	this window, but don't close it" message on Win32 from here.

	* app/main.c (gimp_open_console_window): New Win32-only
	function. If either stdout or stderr are unconnected, open a new
	console window and connect stdout and/or stderr to it as
	needed. Set the console title to "GIMP output. You can minimize
	this window, but don't close it." Register an atexit function that
	waits for the user to close the console window.
	(wait_console_window): New Win32-only function. Registered as an
	atexit function when GIMP has opened a new console window. Prompts
	the user to type any character to close the window.
	(main, gimp_show_version): Always call gimp_open_console_window()
	in the unstable version. As the "This is a development version of
	GIMP. Debug messages may appear here" message says, one point of
	the unstable version is that debug messages should be visible, so
	I think it makes sense to always see them in an unstable
	version. In stable versions, call gimp_open_console_window() only
	if options that cause output that the user wants to see were
	given, like --help and --version.


svn path=/trunk/; revision=21781
2007-01-26 20:47:36 +00:00
..
actions app/actions/context-actions.c s/minumum/minimum/ typo spotted by Joao S. 2007-01-24 03:19:44 +00:00
base add support for non-tiled regions. 2007-01-15 21:54:51 +00:00
composite updated #include "file/file-utils.h" for file_utils_uri_display_name 2007-01-13 22:41:21 +00:00
config removed all .cvsignore files from SVN 2006-12-30 14:31:03 +00:00
core maintain an is_drawn boolean which indicates whether the drawn stuff is 2007-01-21 19:54:57 +00:00
dialogs reworded Monitor Resolution section as suggested in bug #398851. 2007-01-21 13:17:04 +00:00
display app/display/gimpstatusbar.[ch] add optional help text at the end of the 2007-01-21 01:24:51 +00:00
file added utility function that handles opening files passed on the 2007-01-22 21:39:57 +00:00
gui INSTALL check for D-Bus GLib bindings. 2007-01-19 14:50:13 +00:00
menus removed all .cvsignore files from SVN 2006-12-30 14:31:03 +00:00
paint added some comments. 2007-01-22 17:24:17 +00:00
paint-funcs removed all .cvsignore files from SVN 2006-12-30 14:31:03 +00:00
pdb let the filename -> uri functions take a Gimp parameter instead of the 2007-01-19 11:48:48 +00:00
plug-in On Win32 prevent plug-in from inheriting GIMP's ends of the pipes. Fixes 2007-01-25 11:38:04 +00:00
text removed all .cvsignore files from SVN 2006-12-30 14:31:03 +00:00
tools implement keyboard navigation as in the spec but without pointer warping. 2007-01-24 08:40:24 +00:00
vectors renamed gimp_anchor_duplicate() to gimp_anchor_copy(). 2007-01-12 20:31:27 +00:00
widgets added Activate method. 2007-01-22 23:25:37 +00:00
xcf removed all .cvsignore files from SVN 2006-12-30 14:31:03 +00:00
about.h updated copyright. 2007-01-12 14:46:30 +00:00
app_procs.c Make the handling of console output make more sense Win32. Should mostly 2007-01-26 20:47:36 +00:00
app_procs.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
batch.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
batch.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
errors.c Make the handling of console output make more sense Win32. Should mostly 2007-01-26 20:47:36 +00:00
errors.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
fileicon.ico fileicon.ico new icons for the Windows build created by Jernej 2006-05-02 06:37:08 +00:00
gimp-intl.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gimp.rc [new file] app/dialogs/Makefile.am : added to EXTRA_DIST 2004-11-21 14:22:45 +00:00
gimpcore.def updated #include "file/file-utils.h" for file_utils_uri_display_name 2007-01-13 22:41:21 +00:00
main.c Make the handling of console output make more sense Win32. Should mostly 2007-01-26 20:47:36 +00:00
Makefile.am INSTALL check for D-Bus GLib bindings. 2007-01-19 14:50:13 +00:00
makefile.msc updated #include "file/file-utils.h" for file_utils_uri_display_name 2007-01-13 22:41:21 +00:00
sanity.c configure.in depend on glib >= 2.12.3. 2007-01-12 13:48:30 +00:00
sanity.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
units.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
units.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
wilber.ico fileicon.ico new icons for the Windows build created by Jernej 2006-05-02 06:37:08 +00:00