SF.net SVN: geany:[2886] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Wed Aug 13 18:44:11 UTC 2008
Revision: 2886
http://geany.svn.sourceforge.net/geany/?rev=2886&view=rev
Author: eht16
Date: 2008-08-13 18:44:09 +0000 (Wed, 13 Aug 2008)
Log Message:
-----------
Don't force debug mode when compiling with GEANY_DEBUG (this affects only the messages on stdout and stderr). Messages are logged always in the debug window.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/log.c
trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-08-13 18:42:11 UTC (rev 2885)
+++ trunk/ChangeLog 2008-08-13 18:44:09 UTC (rev 2886)
@@ -12,6 +12,10 @@
Fix logging of messages in the debug window on Windows.
When '--debug' option is given on Windows, set the
G_SPAWN_WIN32_DEBUG flag for more debug info for spawned processes.
+ * src/log.c, src/main.c:
+ Don't force debug mode when compiling with GEANY_DEBUG (this affects
+ only the messages on stdout and stderr). Messages are logged always
+ in the debug window.
2008-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/log.c
===================================================================
--- trunk/src/log.c 2008-08-13 18:42:11 UTC (rev 2885)
+++ trunk/src/log.c 2008-08-13 18:44:09 UTC (rev 2886)
@@ -94,9 +94,7 @@
{
gchar *time_str;
-#ifndef GEANY_DEBUG
if (app != NULL && app->debug_mode)
-#endif
{
#ifdef G_OS_WIN32
/* On Windows g_log_default_handler() is not enough, we need to print it
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2008-08-13 18:42:11 UTC (rev 2885)
+++ trunk/src/main.c 2008-08-13 18:44:09 UTC (rev 2886)
@@ -501,12 +501,7 @@
exit(0);
}
-#ifdef GEANY_DEBUG
- app->debug_mode = TRUE;
- geany_debug("debug mode built in (can't be disabled)");
-#else
app->debug_mode = debug_mode;
-#endif
#ifdef G_OS_WIN32
win32_init_debug_code();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list