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

[bmg-commit]



Update of /d9/projects/walkthru/src/gsim
In directory glint:/var/tmp/luka/walkthru/src/gsim

Modified Files:
	rtbuffer.cpp rtbuffer.hpp rtchannel.cpp rtchannel.hpp 
	rtsocket.cpp rtsocket.hpp rtthread.cpp rtthread.hpp 
	rttimer.cpp rttimer.hpp wkobject.cpp wkobject.hpp 
Log Message:
very much commenting/style/reformatting.  notably pretty much a full
review of all the tcl code under local/lib/walkthru (about 10k lines),
plus the C code responsible for interacting with it (gtui and other
things scattered about).  lots of cleanup and commenting in the
simulation manager code (newsim, simmgr.cpp, sim*.tcl) -- some internal
bugfixes there too (no significant interface changes).  in progress,
working bottom-up on the gsim stuff, to document and verify the
components provided.  (some bugs already found and marked.  fixes not
in this commit yet however.  in fact i'm checkpointing all this now
because those will really demand isolated testing and a separate commit.)

and a few significant functional changes:
  changed interface between dialogs.tcl and C code, not to pass around
more stringified-pointers than actually necessary.  this will affect
any other users not currently built.  (but i think i found and updated
all of them.)
  changed text entry widget to handle input more sanely.  the input
submitted to C is actually likely to be the same thing you type on the
screen now.  this is due to adding tab to the list of events that sync's
registered variables, plus forcing synchronization on "submit" at least
in the obvious case.  (there may still be code elsewhere that does not
do this right.)  note that this is just a band-aid, and the interface
design should get reworked all over at a later time.  (see comments
added throughout the relevant code.)