* some cleanups for debugging:
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Wed, 14 Nov 2007 22:19:31 +0000 (22:19 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Wed, 14 Nov 2007 22:19:31 +0000 (22:19 +0000)
- move debugging macro's to modest-debug.h (new file)
- capitalize/rename the macros to make it clearer they are macro's
- add the new MODEST_DEBUG_BLOCK; example:
MODEST_DEBUG_BLOCK(
g_debug ("DEBUG: modest: %s: prompt (not shown) = %s\n", __FUNCTION__, prompt_not_used);
);
         - this code will *only* run when the MODEST_DEBUG envir var contains "debug-code"
 - add something like this to your .emacs to make these blocks clear:
  (font-lock-add-keywords nil
                          '(("\\<\\(FIXME\\|TODO\\|XXX+\\|BUG\\|MODEST_DEBUG_BLOCK\\)"
                             1 font-lock-warning-face prepend))))
 - some coverity fixes in modest-tny-account.c (free stuff in error cases)
 - update the manpage

pmo-trunk-r3737


No differences found