New commits:

http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=1c82251e77e13038ee4c4c94401efef8361165e9
commit 1c82251e77e13038ee4c4c94401efef8361165e9
Author: Denis Oliver Kropp <[EMAIL PROTECTED]>
Date:   Sun Dec 23 13:22:03 2007 +0100

    DEBUG: Added "[no-]fatal-break", d_debug_at() and direct_debug_at_always().
    
    The new runtime option was added to enable/disable the trap in D_BREAK().
    
    Even without debug support (but text) in libdirect, changing one 
D_DEBUG_AT()
    to d_debug_at() - which is a single shortcut in my SlickEdit - will bypass 
the
    check for the domain or any debug macros and directly print out the message.
    
    The new function direct_debug_at_always() is called by the new d_debug_at() 
macro
    unless text support is completely disabled, e.g. configured with 
"--disable-text".
    
    Added static inline debug_domain_vprintf() to clean up debug message 
printing code
    a bit and optimize it, saving two intermediate printfs, one for "%s:" 
(domain name)
    and the other for the final format string.
    
    Domain less D_DEBUG() messages are using the same format/function now 
(domain "- - ").

 lib/direct/conf.c  |   10 ++++++
 lib/direct/conf.h  |    2 +
 lib/direct/debug.c |   83 +++++++++++++++++++++++++++++++++-------------------
 lib/direct/debug.h |   20 ++++++++----
 4 files changed, 78 insertions(+), 37 deletions(-)


_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to