vte r1471 - in trunk: . src



Author: cpwilson
Date: 2007-01-19 15:02:25 +0000 (Fri, 19 Jan 2007)
New Revision: 1471
ViewCVS link: http://svn.gnome.org/viewcvs/vte?rev=1471&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/debug.c
   trunk/src/debug.h
   trunk/src/vte.c
Log:
2007-01-19  Chris Wilson <chris chris-wilson co uk>

	Add a new debug flag to visualize the work flow.
	VTE_DEBUG_FLAGS=work generates output like:
	Debugging work flow (top input to bottom output):
	  .  _vte_terminal_process_incoming
	  (  start _vte_terminal_process_incoming
	  ?  _vte_invalidate_cells (call)
	  !  _vte_invalidate_cells (dirty)
	  *  _vte_invalidate_all
	  )  end _vte_terminal_process_incoming
	  -  gdk_window_process_all_updates
	  +  vte_terminal_expose
	  =  vte_terminal_paint
	*?!**+=*-+=..()?!(?!?!?!)-+=?!-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.().(?!?!?!)-+=.().(?!?!?!)-+=.().().(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!?!)-+=.(?!?!)-+=.............................................................................................................................................................................................................................................................................(?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????!??!)-+=.......................................................................

	Which tells me I have two bugs to track:
		1. the initial '..()' is a missing invalidate.
		2. '(?!?!????????????????????!??!)' is not very efficient.

	* src/debug.c: (_vte_debug_parse_string):
	* src/debug.h:
	* src/vte.c: (update_regions), (_vte_invalidate_cells),
	(_vte_invalidate_all), (vte_terminal_process_incoming),
	(vte_terminal_io_read), (vte_terminal_paint),
	(vte_terminal_expose), (vte_terminal_class_init):
		Add VTE_DEBUG_WORK






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]