Skip to content
  • Chris Wilson's avatar
    Janitorial work - near elimination of #ifdef VTE_DEBUG from within · d2dc8234
    Chris Wilson authored
    2007-01-26  Chris Wilson <chris@chris-wilson.co.uk>
    
    	Janitorial work - near elimination of #ifdef VTE_DEBUG from within
    	functions, trimming over a thousand lines of code.
    
    	We introduce a _vte_debug_print macro to cover the more common
    	occurrence of printing a message at a certain debug level.
    	And a _VTE_DEBUG_ON for a conditional code block.
    
    	src/debug.h     |   11 
    	src/iso2022.c   |  201 ++-------
    	src/keymap.c    |   41 -
    	src/matcher.c   |   24 -
    	src/pty.c       |  134 +-----
    	src/reaper.c    |   21 
    	src/ring.c      |   78 +--
    	src/table.c     |   11 
    	src/trie.c      |   19 
    	src/vte.c       | 1187 ++++++++++---------------------------------------
    	src/vteaccess.c |  198 +++------
    	src/vteapp.c    |   21 
    	src/vtebg.c     |   43 --
    	src/vteconv.c   |   60 +-
    	src/vteconv.h   |   12 
    	src/vtedraw.c   |    6 
    	src/vtefc.c     |    4 
    	src/vteft2.c    |    5 
    	src/vteglyph.c  |   27 -
    	src/vtepango.c  |   11 
    	src/vtepangox.c |    7 
    	src/vteregex.c  |    2 
    	src/vteseq.c    |  385 +++++-------------
    	src/vtexft.c    |   26 -
    	24 files changed, 789 insertions(+), 1745 deletions(-)
    
    
    svn path=/trunk/; revision=1539
    d2dc8234