]> asedeno.scripts.mit.edu Git - PuTTY.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)
commitf73fcb042423866a06b9e41b6934906a0fe9502e
tree40b3faa3abcaeffcc36d044292ca776ad0069d86
parent775fe9eb3188c4180265e2f6a92cb47f966e3e07
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.

[originally from svn r5344]
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