Add asynchronous callback capability to the askappend() alert box.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 18 Feb 2005 18:33:31 +0000 (18:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 18 Feb 2005 18:33:31 +0000 (18:33 +0000)
commit919baedb34e9f6e351d70820529398181d8d0ea6
tree40b3faa3abcaeffcc36d044292ca776ad0069d86
parenta5a6f839780c4cb39f3001602162576d98e9fcca
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: svn://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