1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 09:12:24 +00:00
putty-source/unix
Simon Tatham d93f7113d1 Rationalisation of the system of frontend handles. Most modular bits
of PuTTY (terminal, backend, logctx etc) take a `void *' handle
passed to them from the frontend, and used as a context for all
their callbacks. Most of these point at the frontend structure
itself (on platforms where this is meaningful), except that the
handle passed to the backend has always pointed at the terminal
because from_backend() was implemented in terminal.c. This has
finally bitten Unix PuTTY, because both backend and logctx have
been passing their respective and very different frontend handles to
logevent(), so I've fixed it.
from_backend() is now a function supplied by the _frontend_ itself,
in all cases, and the frontend handle passed to backends must be the
same as that passed to everything else. What was from_backend() in
terminal.c is now called term_data(), and the typical implementation
of from_backend() in a GUI frontend will just extract the terminal
handle from the frontend structure and delegate to that.
This appears to work on Unix and Windows, but has most likely broken
the Mac build.

[originally from svn r3100]
2003-04-11 18:36:27 +00:00
..
.cvsignore Further .cvsignore updates. 2003-04-02 09:14:38 +00:00
gtkcols.c Fix a _very_ subtle segfault in my two GTK container classes: the 2003-03-31 11:22:06 +00:00
gtkcols.h First stab at a GTK layout engine. It's missing all sorts of stuff 2003-03-13 19:52:28 +00:00
gtkdlg.c Implement Warn On Close. 2003-04-11 18:15:47 +00:00
gtkpanel.c Fix a _very_ subtle segfault in my two GTK container classes: the 2003-03-31 11:22:06 +00:00
gtkpanel.h First stab at a GTK layout engine. It's missing all sorts of stuff 2003-03-13 19:52:28 +00:00
plink.1 Largely-placeholder man page for Plink, for the sake of not 2002-11-20 19:49:59 +00:00
pterm.1 Proper support for using the font's own character encoding. If we 2003-01-01 22:25:25 +00:00
pterm.c Rationalisation of the system of frontend handles. Most modular bits 2003-04-11 18:36:27 +00:00
ptermm.c Event Log for Unix PuTTY. Doesn't yet allow X selection of its 2003-04-09 18:46:45 +00:00
pty.c Turned the old `Telnet Command' System-submenu into a more general 2003-04-04 20:21:05 +00:00
signal.c RJK's general signal-handling robustness patch. Should fix the weird 2002-11-02 14:35:57 +00:00
unix.h Implement Warn On Close. 2003-04-11 18:15:47 +00:00
ux_x11.c Introduced wrapper macros snew(), snewn() and sresize() for the 2003-03-29 16:14:26 +00:00
uxagentc.c Introduced wrapper macros snew(), snewn() and sresize() for the 2003-03-29 16:14:26 +00:00
uxcfg.c Minor improvements to subsidiary window placement; with any luck the 2003-04-10 08:53:43 +00:00
uxcons.c Turned the old `Telnet Command' System-submenu into a more general 2003-04-04 20:21:05 +00:00
uxmisc.c Reorganisation of misc.c: Minefield has moved out to winmisc.c, and 2003-03-06 13:24:02 +00:00
uxnet.c Added uxsel.c, into which I've moved those parts of the uxnet.c 2003-03-29 16:47:06 +00:00
uxnoise.c Improve robustness in random seed file handling. 2002-11-07 20:01:04 +00:00
uxplink.c Dynamic port forwarding by means of a local SOCKS server. Fully 2003-04-05 11:45:21 +00:00
uxprint.c Unix can't sensibly enumerate printers (since they're defined as 2003-04-05 16:12:52 +00:00
uxputty.c Rationalisation of the system of frontend handles. Most modular bits 2003-04-11 18:36:27 +00:00
uxsel.c Minor improvements to subsidiary window placement; with any luck the 2003-04-10 08:53:43 +00:00
uxstore.c Saving of Default Settings under Unix was broken, because mungestr() 2003-04-11 17:42:52 +00:00
uxucs.c Fixed the printing and charset combo boxes in Unix PuTTY. (The 2003-04-05 16:36:11 +00:00