]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Add asynchronous callback capability to the askappend() alert box.
authorSimon Tatham <anakin@pobox.com>
Fri, 18 Feb 2005 18:33:31 +0000 (18:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 18 Feb 2005 18:33:31 +0000 (18:33 +0000)
commitb7f41bfb2429e4c6bfe22ff6cf8f2bffcdd117fb
tree40b3faa3abcaeffcc36d044292ca776ad0069d86
parent9355e6fe686a065c4112722f1119e995e54dfc38
Add asynchronous callback capability to the askappend() alert box.
This was harder than verify_ssh_host_key() and askalg() put
together, because:
 (a) askappend() can be called at any time, since it's a side effect
     of data-logging functions. Therefore there can be an unfinished
     askappend() alert at any time, and hence the OS X front end has
     to be prepared to _queue_ other alerts which occur during that
     time.
 (b) logging.c has to do something with data that comes in while
     it's waiting for an answer to askappend(). It buffers it until
     it knows what the user wants done with it. This involved
     something of a reorganisation of logging.c.

git-svn-id: http://svn.tartarus.org/sgt/putty@5344 cda61777-01e9-0310-a592-d414129be87e
logging.c
mac/macterm.c
macosx/osxclass.h
macosx/osxdlg.m
macosx/osxwin.m
putty.h
unix/gtkdlg.c
unix/uxcons.c
windows/wincons.c
windows/windlg.c