Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

649 check-ins using file sshsh512.c version b407f5ac76

2003-01-05
17:32
rsa2_sign() is unused outside this file. Make it static. check-in: 3260047bd9 user: ben tags: trunk
17:30
random_stir() is unused outside this file. Make it static. Include putty.h to get prototypes for random_init() and random_get_savedata(). check-in: 636691c265 user: ben tags: trunk
17:28
Move prototypes for base64_decode_atom(), base64_lines(), and base64_encode() from import.c to ssh.h, so that the implementation can see them. This necessitates ssh.h's including <stdio.h>. Also remove a spare prototype for base64_encode_atom() from import.c. check-in: 07dc052ae1 user: ben tags: trunk
17:14
dss_sign() is unused outside this file. Make it static. check-in: 3934d17e64 user: ben tags: trunk
17:12
des_key_setup(), des_encipher(), and des_decipher() are unreferenced outside this file. Make them static. check-in: ba2fe1a855 user: ben tags: trunk
17:09
Include ssh.h for the crc32() and crc32_update() prototypes. check-in: 3755b0612b user: ben tags: trunk
17:05
bigdivmod() is unreferenced outside this file. Make it static. diagbn() is unreferenced. #if it out. check-in: e7b4c7d1a8 user: ben tags: trunk
17:03
aes_setup() is unused outside this file. Make it static. check-in: ac0529bede user: ben tags: trunk
17:01
Make ssh1_pkt_type(), ssh2_pkt_type, logeventf(), setup_userpass_input(), process_userpass_input(), and ssh_unthrottle() static, since they're not referenced outside this file. check-in: 0fbb2d9948 user: ben tags: trunk
16:53
Move x11fwd and portfwd prototypes from ssh.c into ssh.h so they can be seen by (and checked against) the definitions. check-in: f286ce2a32 user: ben tags: trunk
16:52
SC in "finding an actual bug" shocker! Set the port number before passing it to name_lookup(). check-in: 436176626c user: ben tags: trunk
09:31
sshsha.c and sshmd5.c compile fine on PowerPC now. check-in: d50d641ccf user: ben tags: trunk
09:31
Make SHA_Core_Init() (only used in this file) static. check-in: d794fd86f7 user: ben tags: trunk
09:29
Make MD5_Core_Init and MD5_Block (both only referenced in this file) static. check-in: d692d91a3c user: ben tags: trunk
08:23
"possible unintended assignment"? I think not. check-in: f6c15f8be1 user: ben tags: trunk
08:20
char * vs unsigned char * (by explicit cast). check-in: 546b9eaebf user: ben tags: trunk
08:18
Commas at the end of enumerator lists aren't allowed. check-in: 86f463676f user: ben tags: trunk
08:14
Eliminate more unsigned char * vs char * errors using explicit casts. check-in: 3bfa9585d4 user: ben tags: trunk
08:11
Fix more unsigned char * vs char * warnings, usually by making implicit casts explicit. check-in: 4f18716ac4 user: ben tags: trunk
08:00
Replace implict char-*-to-unsigned-char-* casts with explicit ones. check-in: 912e776089 user: ben tags: trunk
07:57
SC (Apple's 68K C compiler) seems to treat tentative definitions of complete arrya as full definitions, and hence gets upset when it finds a full definition later. This is a bug (see K&R2 A10.2), but an easy one to work around by making the tentative definitions incomplete, so I've done that. check-in: 5537b6e0a6 user: ben tags: trunk
07:46
Deal with "possible unintended assignment" warnings. check-in: 616c91e0f9 user: ben tags: trunk
07:43
Attack char * vs unsigned char * conversions. In most cases, I've just gone for replacing the implicit casts with explicit ones. Where there was something obviously better that I could do, I've done it, though. check-in: 768d1ae040 user: ben tags: trunk
07:04
Fix more "possible unintended assignment" warnings. check-in: 0a86a76f46 user: ben tags: trunk
06:53
Add reception support for MacTCP. Now I can log in over TELNET, just about. There are still lots of things to fix, like urgent data or the fact that everything seems to happen one keypress too late, but this is an important milestone. check-in: 36cecb15a9 user: ben tags: trunk
05:31
When looking for the correct backend to use, look in the configuration structure for the session, not the almost-dead global cfg. check-in: 4b17c5fd29 user: ben tags: trunk
04:52
Second work-in-progress MacTCP commit. We can now open a connection, but not transfer any data across it. check-in: 477d7eb08d user: ben tags: trunk
2003-01-04
18:06
Add some backends, a network interface and some library routines to the Mac port. check-in: 8b6dd26a4f user: ben tags: trunk
13:51
Beginnings of a MacTCP network layer. This has all of the DNS interface present, including stuff to find and load the MacTCP DNR. Actually making a TCP connection is still unimplemented, though, and much testing remains to be done. check-in: 84ea43dc4f user: ben tags: trunk
13:01
Add a vsnprintf() for the Mac, which doesn't have one of its own. This is the NetBSD kernel printf, which is integer-only and under a Berkeley-style (now 3-clause) copyright owned by UCB. This has only been compile-tested, but almost all of my changes were in the definitions at the top (the exception being to remove tty output). This lacks 64-bit support because the Apple 68K C compiler, SC, lacks it too. check-in: 2a57d4473b user: ben tags: trunk
11:24
Provide a version of stricmp() and strnicmp() for Mac OS, which doesn't have its own. These are from NetBSD's libc, and have a standard (now 3-clause) Berkeley licence. Also provide a definition of DWORD and a better definition of BYTE. check-in: 92d9baf2f5 user: ben tags: trunk
10:56
Fix some char * vs unsigned char * conversions, plus a stylistic nit, both courtesy of Apple's compilers. check-in: ad7d112417 user: ben tags: trunk
10:42
Hammer out some char * vs unsigned char * problems. In general, I've kept any buffers used internally by telnet.c as unsigned char, and cast to/from char * when interacting with the rest of PuTTY. Not actually tested, since I'm some way from actually being able to link this yet. Also clean up a couple of style warnings from Apple's compilers. check-in: c65b711d2a user: ben tags: trunk
10:21
Fix a few stylistic warnings from Apple's C compilers. check-in: bd0b904aca user: ben tags: trunk
06:45
<MacTypes.h> says we should use NULL rather than nil in C, so do that. check-in: ed057fdda3 user: ben tags: trunk
2003-01-03
18:48
Re-arrange the sums in the size tip code so as to ensure that we're always do division on positive numbers, hence avoiding nasty problems of rounding towards zero when I wanted rounding down. check-in: 75816ae5a8 user: ben tags: trunk
18:31
Small simplification in mac_init(). check-in: 552855f125 user: ben tags: trunk
18:13
Correct handling of Mac OS 8.5 Window Manager and Control Manager. The new functions turn out to be available only to PowerPC applications, through WindowsLib and ControlsLib respectively, so we weak-link against those in the obvious way. check-in: 93bc4dcd01 user: ben tags: trunk
11:52
Work around a weird bug in gdk_draw_text_wc(). check-in: f98d345130 user: simon tags: trunk
06:20
Update copyright notices that both Owen and Simon managed to miss. _How_ many copies of the licence do we need? *grin* check-in: 0d2d1aec4c user: ben tags: trunk
04:59
Update more copyright dates. Sometimes I think we ought to have an automated means of doing this every year :-( check-in: 93a7dacf1d user: simon tags: trunk
03:49
Update copyright dates check-in: 74696bae8c user: owen tags: trunk
2003-01-02
18:40
Pull in Script.r so we can use verBritain in the 'vers' resources rather than hardcoding 2. check-in: c4cf818e9f user: ben tags: trunk
17:52
Any Mac that can handle CFM-68K code must have at least a 68020 CPU, and hence be equipped with Color QuickDraw, as are all PowerPC systems. Hence, don't bother with support for basic QuickDraw in the CFM-68K and PowerPC builds. check-in: 4485563b58 user: ben tags: trunk
17:39
Add a prototype for init_ucs(). check-in: 0daf5a32d9 user: ben tags: trunk
12:09
Having tested it, note that the Classic 68K build seems to work on Mac OS X now. Also describe more generally which builds work where. check-in: 929436e185 user: ben tags: trunk
11:07
... of course, that would be better still if I remembered to update `nvalid'. Ahem. check-in: ad06ad29a5 user: simon tags: trunk
10:56
A better solution to the problem of duplicated positions in CS_ISO8859_1_X11: where two SBCS positions map to the same Unicode code point, we now have a `sortpriority' hint which can tell sbcsgen.pl which one it should preferentially generate when converting back to SBCS. check-in: aa609d3f62 user: simon tags: trunk
10:20
CJK cleanups. Correct handling when the cursor is covering the right-hand half of a CJK wide character; correct handling of cut and paste when CJK text wraps between lines _irrespective of the parity of the starting column_; correct handling of wordness values irrespective of which half of a CJK character the user double-clicked on; correct handling when any terminal activity overwrites only one half of a CJK wide character. I think we now behave marginally better than xterm in this respect (it has a redraw problem when you overwrite the RH half of a CJK char), so I'm happy. Also redefined the internal UCSWIDE marker to something in the surrogate range, while I'm here, so that U+303F is available for use by actual users. check-in: c969a020c7 user: simon tags: trunk
10:17
Fixes to direct-to-font mode: I'd inadvertently enabled it for any font whose encoding comes up as CS_NONE - but this is also true for iso10646-1 fonts, since libcharset doesn't support wide-character encodings! Hence UTF-8 cut and paste was enabled in ordinary modes, but disabled in UTF-8 mode, which was a bit embarrassing. Now we have a dedicated flag variable indicating direct-to-font mode. check-in: fb856615d4 user: simon tags: trunk
08:23
Mention that Shift-Ins works here. check-in: 5929f24830 user: ben tags: trunk
05:14
Fix `telnet-resize-iac'. (IAC bytes were not duplicated when they occurred in a NAWS subnegotiation. Result: a terminal width or height of 255 was not being correctly sent to the server.) check-in: 8a9f2bac80 user: simon tags: trunk
04:45
A couple of X forwarding fixes for Unix Plink. Firstly, under Unix the default X display should be whatever comes out of $DISPLAY, rather than Windows's hardwired `localhost:0'. Secondly, this may give rise to a display name without a hostname (`:0' or similar), which we now need to be able to deal with. Of course, we still don't _properly_ support X forwarding in Unix Plink, since we still can't authenticate with the local display. check-in: b7c53546d7 user: simon tags: trunk
04:41
Propagate the screen number from a local X display to the remote forwarded one. Fixes `x11-default-screen'. check-in: dc76e6731e user: simon tags: trunk
04:07
sk_nonamelookup() should ensure the sockaddr it returns has `error' set to NULL. Otherwise it'll be random uninitialised goop. Not good. check-in: cf579ee730 user: simon tags: trunk
04:07
Presence of unexpected characters in the proxy exclude list causes a tight loop in proxy_for_destination(). Fixed. check-in: 7801b75dda user: simon tags: trunk
2003-01-01
18:33
If for some reason do_text() fails to translate from Unicode to the font encoding, have it go through the rest of its motions with an empty string anyway, so as to at least give a sensible empty box of the right colour. If SetFallbackUnicodeToText() fails, switch over to using the charset library, hence avoiding problems in do_text(). If the version of the Unicode Converter we're using doesn't understand about interrupt-safe fallback functions, don't try to tell it we've got one. This prevents SetFallbackUnicodeToText() from failing on systems with old Unicode Converters. check-in: d8f4c0f611 user: ben tags: trunk
16:25
Proper support for using the font's own character encoding. If we know what that encoding actually is, we can do our best to support additional charsets (VT100 linedrawing, SCO ACS, UTF-8 mode) using the available characters; if we don't, we fall back to a mode where we disable all Unicode cut-and-paste and assume any Unicode character is undisplayable. check-in: 82f2469b77 user: simon tags: trunk
15:53
Support for double-width (CJK) characters, using the xterm-like options -fw and -fwb to specify wide and wide-bold fonts. check-in: 21b2cdb2c9 user: simon tags: trunk
14:28
The redirection operator I wanted was >>, not >. check-in: 136780623c user: ben tags: trunk
14:26
Ignore .rsrc files. check-in: 5467bbdbe0 user: ben tags: trunk
13:51
Add a mechanism for determining which charset to use for a given Mac OS font, and use it. check-in: d8ed6e3ca5 user: ben tags: trunk
11:03
Having painstakingly generated those reverse mapping tables in sbcsdat.c, it would seem a shame not to actually use them. Ahem. Thanks to Ben, without whose checkin in this area I'd have forgotten completely :-) check-in: bc2e7ebcc5 user: simon tags: trunk
10:24
Add all the Mac OS simple single-byte character sets from ftp.unicode.org. Also add the older variants described there, and the character set used by the "VT100" font (old and new). Since RFC 1345 defines "macintosh" to refer to the currency-sign variant of Mac OS Roman, update our table to match. check-in: d155c28797 user: ben tags: trunk
05:45
Remove a couple of unnecessary casts that my compiler seems to have taken exception to. check-in: 55215e0e23 user: ben tags: trunk
2002-12-31
16:49
Use the shiny new character-set library to handle conversion from Unicode to Mac OS Roman for display if the Unicode Converter isn't around. Support for Mac character sets other than Roman (e.g. the variant used by the Apple VT100 font) is still absent. check-in: f40b538bf5 user: ben tags: trunk
16:40
Add "-notOnce" to the compiler options on the Mac to stop the compiler assuming that duplicate #includes of the same file are idempotent. I mean, it's not even true for the standard headers (think <assert.h>), and certainly isn't true here. check-in: e4a7932213 user: ben tags: trunk
16:37
I have no idea what Simon thought he was doing casting what was once a struct sbcs_data * (first element an array of unsigned long) into a wchar_t *, but I think it's reasonably safe to assume that it was a mistake. check-in: 3aa3320e23 user: ben tags: trunk
15:12
Add internal prototypes to keep my compiler from complaining. check-in: b71b21ecfd user: ben tags: trunk
14:11
Add a small comment explaining my failure to find any way to get QuickDraw to give me the missing-character glyph for a font. While I'm here, change the character we substitute for unmappable ones to '.', since that's what the charset library uses. check-in: b4709f6309 user: ben tags: trunk
09:42
Better, I think, to avoid mapping 0x00 -> U+0020 in the X11 nonstandard font encoding. 0x20 maps to it, so it's not as if it's in short supply. check-in: 9f9d2dbfe3 user: simon tags: trunk
06:20
First draft of Unicode support in pterm. It's pretty complete: it does UTF-8 copy and paste (falling back to normal strings if necessary), it understands X font encodings and translates things accordingly so that if you have a Unicode font you can ask for virtually any single-byte encoding and get it (Mac-Roman pterm, anyone?), and so on. There's work left to be done (wide fonts for CJK spring to mind), but I reckon this is a pretty good start. check-in: 94580ef671 user: simon tags: trunk
05:03
SCO ACS part 2 (ESC[12m) apparently puts the top half of CP437 into _both_ halves of the character set, rather than flipping the two halves. My source for this is linux/drivers/char/console.c. check-in: ac8af152ff user: simon tags: trunk
04:04
Dimitrie Paun's patch for Winelib support. Actually does nothing except add a couple of commented-out lines to Makefile.cyg; the Winelib user must uncomment them to do the compilation. check-in: 631202fdb3 user: simon tags: trunk
2002-12-30
19:40
Add a minimalist settings dialogue, which contains a single button marked "open". Still, it seems to work. check-in: 7664066586 user: ben tags: trunk
17:33
Remove mentions of files and functions that no longer exist. check-in: 9f04a1cd91 user: ben tags: trunk
17:15
No need to compile resources manually now. check-in: 48c9502107 user: ben tags: trunk
17:14
Add support for compiling 'vers' resources into Mac applications. This is needlessly complex because Rez's preprocessor doesn't do either ANSI or K&R stringification, and the MPW Shell isn't much good as shells go. Also make _all_ the Mac executables depend on reources, not just the Classic 68K one. check-in: 14a9efc5f6 user: ben tags: trunk
13:01
Set the default directory to somewhere useful (the PuTTY saved sessions folder) when we start up. check-in: 0ae0844a7b user: ben tags: trunk
12:21
Add an "open" command to the "file" (now "session") menu on the Mac to open an existing saved session. This has entailed adding an extra hook to settings.c to allow for loading settings other than by name. check-in: f3d111cbe4 user: ben tags: trunk
09:41
Remove a spurious reference to a variable I've removed. check-in: d3b3e47d66 user: ben tags: trunk
08:20
Finally add support for building Mac resource forks. This adds a new kind of compiled resource file, .rsrc, which is built from .r, and adds mechanisms to the MPW makefile generator to handle this. check-in: c0c8b8421f user: ben tags: trunk
08:17
Add spaces to system include lines to that mkfiles.pl doesn't try to follow them (silly Rez can't do angle-bracket includes). check-in: f316f2470c user: ben tags: trunk
07:43
More cleanup to Mac build procedures, notably: - Remove an unused library from the CFM-68K link line. - Set the fragment name in CFM builds to "PuTTY". - Set the hasBundle and isShared bits on freshly-created applications. check-in: 7702162659 user: ben tags: trunk
2002-12-29
13:19
Add various files produced by the build system. check-in: 74c534d03c user: ben tags: trunk
13:14
Don't try to call TerminateUnicodeConverter() in the CFM world: it isn't there. check-in: d7b56f740a user: ben tags: trunk
13:11
Brutally simplify out all the junk that MPW left here when it first wrote this file. check-in: 056c43460d user: ben tags: trunk
13:01
Add support for building a CFM-68K version of PuTTY, which is rather smaller than the Classic 68K version. This requires installing more bits of the Text Encoding Converter SDK, since Apple seem to have forgotten to put _any_ 68k bits for it, either CFM or Classic, in Universal Interfaces. Also don't bother linking against libraries we don't seem to need. check-in: b4b1783c81 user: ben tags: trunk
09:44
Substantial overhaul of Mac build system. We now have working PowerPC builds, and optimisation (for size) enabled. check-in: 80dda9eb2c user: ben tags: trunk
09:08
Put prototypes for the functions exported by wcwidth.c in putty.h, and remove one from terminal.c. Have wcwidth.c include putty.h to get its prototypes. check-in: 84cbe1ec20 user: ben tags: trunk
08:47
Make resizeline() and lineptr() static and give them prototypes. check-in: 94a4a80b07 user: ben tags: trunk
07:41
Use the "far" versions of all libraries for which they seem to exist. This should make things less likely to break as the code gets bigger. check-in: 11541b383f user: ben tags: trunk
07:21
Add some pragmas so that Mac compilers know that fatalbox() and modalfatalbox() don't return. check-in: 90a15a28f3 user: ben tags: trunk
2002-12-28
16:44
It would be better if I deleted the unused variable from the correct function. check-in: 93fb9a8b45 user: ben tags: trunk
16:25
Remove more unused variables. check-in: 359457afa1 user: ben tags: trunk
16:22
Dispose of some unused local variables. check-in: e9823bb04e user: ben tags: trunk
16:17
The current version of SC generates warnings for unused parameters just like MrC. Turn them off, since they're clearly silly. check-in: 651fb5d66f user: ben tags: trunk
2002-12-27
10:54
Mention in the documentation that the method of generating RSA keys might give a bit count one less than the one the user asked for. Two people have been worried by this now, and it's probably worth documenting that it's perfectly normal. check-in: b523ff7892 user: simon tags: trunk
2002-12-19
08:24
Move the stderr output of event log messages in verbose mode to the general logging module rather than localising it in ssh.c. This means it should work in other protocols as well (notably Telnet, where it might actually be useful for debugging negotiations). check-in: 9ea3dc8f8a user: simon tags: trunk
08:22
First crack at an implementation of TELOPT_BINARY, which apparently RFC 1123 (host requirements) says is compulsory. check-in: 9adf61e6b9 user: simon tags: trunk
05:51
logeventf() shouldn't throw stuff at stderr, since it invokes the ssh.c logevent _macro_ which has already done so! Duhh. check-in: 919330be30 user: simon tags: trunk
2002-12-18
10:23
Support for doing DNS at the proxy end. I've invented a new type of SockAddr, which just contains an unresolved hostname and is created by a stub function in *net.c. It's an error to pass this to most of the real-meat functions in *net.c; these fake addresses should have been dealt with by the time they get down that far. proxy.c now contains name_lookup(), a wrapper on sk_namelookup() which decides whether or not to do real DNS, and the individual proxy implementations each deal sensibly with being handed an unresolved address and avoid ever passing one down to *net.c. check-in: 8d3480376f user: simon tags: trunk
06:32
Better reporting of DNS errors while trying to find the proxy server. check-in: 99f372c051 user: simon tags: trunk
06:18
Stop proxying connections to localhost by default; should fix `x11-proxy-crash'. check-in: 414b5ad689 user: simon tags: trunk
05:51
Placate a trivial compiler warning. check-in: aa211f76ec user: simon tags: trunk
05:49
Improve the tab order in the Tunnels box: the `Add' button should happen _after_ all the controls that set up the forwarding, since that's the obvious order you'd want to use them in. check-in: 8dd1f75204 user: simon tags: trunk
05:39
Implement `portfwd-loopback-choice'. Works on local side in Unix as well, though it's a lot less useful since you still can't bind to low-numbered ports of odd loopback IPs. Should work in principle for SSH2 remote forwardings as well as local ones, but OpenSSH seems unwilling to cooperate. check-in: dbd436ea57 user: simon tags: trunk
04:06
BUG_SSH2_DERIVEKEY is apparently only present in SSH 2.0.11 and before, not in 2.0.13. Verified on at least one host. Fixes bug `ssh2-keyderive-nonbug'. check-in: ae5af25955 user: simon tags: trunk
03:54
`Leonid' points out a stupid mistake in MD5 HMAC initialisation: we should initialise _both_ MD5 states, not the same one twice. check-in: 6d0701ede7 user: simon tags: trunk
03:47
logeventf()'s first argument is ssh, not ssh->frontend! This is what I get for making the latter a `void *' - type checking deserts me in my hour of need. Should fix Andrey Borzenkov's bug. check-in: d0d528cb50 user: simon tags: trunk
2002-12-15
07:31
Fixing trivial warnings spotted by Mingw-2.0.0/gcc-3.2: window.c:90: warning: `do_mouse_wheel_msg' declared `static' but never defined Introduced in 1.185 [r1499]. This function doesn't appear to ever have existed. check-in: 338cfdddcd user: jacob tags: trunk
07:25
Fixing trivial warnings spotted by Mingw-2.0.0/gcc-3.2: psftp.c: In function `sftp_cmd_chmod': psftp.c:835: warning: too many arguments for format check-in: 4bac67db09 user: jacob tags: trunk
07:23
Fixing trivial warnings spotted by Mingw-2.0.0/gcc-3.2: plink.c:65: warning: `password' defined but not used (introduced in 1.50 [r1525]) check-in: 9e1703aa20 user: jacob tags: trunk
07:19
Fixing trivial warnings spotted by Mingw-2.0.0/gcc-3.2: plink.c: In function `from_backend': plink.c:172: warning: unused variable `h' (introduced in 1.35 [r1198]) check-in: 79157afa19 user: jacob tags: trunk
06:44
From Greg Prosser: Apparently using "MS Shell Dlg" instead of "MS Sans Serif" in resource files interoperates better with WinXP (enabling font smoothing and improving display of password boxes). I've verified that it's harmless on Win95. check-in: fb34fb93ef user: jacob tags: trunk
05:51
faq-rh8-utf8: Problems with Red Hat 8.0 and UTF-8 check-in: ffc81b2da9 user: jacob tags: trunk
2002-12-12
18:50
Remove an unnecessary "{Includes}" from the example Rez command. check-in: 98b7dfbce8 user: ben tags: trunk
18:45
Provide a full set of small application icons for PuTTY, now equipped with small lightning flashes too. check-in: d805d34ee5 user: ben tags: trunk
18:02
Use the Unicode Converter to convert from Unicode to the display encoding if it's available. Linking against the static Unicode Converter library costs us about 30k on Classic 68K, which I can live with. Because the default fallback converter can generate multiple output characters for a single input character, we provide our own fallback that doesn't. It converts everything to '?' instead. check-in: dcc146b8f8 user: ben tags: trunk
17:55
When loading a string setting, expect in the same form we would have saved (raw text rather than Pascal string). check-in: 34cbd53221 user: ben tags: trunk
2002-12-11
12:34
Add some documentation for the Mac port. check-in: ec4bb81593 user: ben tags: trunk
2002-12-10
04:19
IPv4/IPv6 sense problem in SOCKS5 proxying spotted by Andrey Borzenkov -- recent change. check-in: 5bddd9c406 user: jacob tags: trunk
2002-12-09
19:11
Since PuTTY depends on lots of features of System 7, have it bale out if it finds itself running on anything older. This is better than killing the whole system with an umimplemented trap. check-in: e43ab09ead user: ben tags: trunk
17:26
When resizing the window, redraw the grow box as well as the scroll bar. I wasn't noticing the bug on my system, since the Appearance Manager handles the grow box itself when it's present. check-in: e3c1b93626 user: ben tags: trunk
16:49
Update the non-Color Quickdraw code in pre_paint() to match recent changes to the Color Quickdraw code. This makes redraw work properly on old Macs again. check-in: 5dc205fd4e user: ben tags: trunk
2002-12-08
16:23
Oops. When deciding which attributes are interesting, we want the union of all the screens' capabilites, not the intersection. check-in: 2e3d5339ea user: ben tags: trunk
16:15
Remove a stray prototype for mac_set_attr_mask(). check-in: 2940fe81db user: ben tags: trunk
16:09
Remove some unused cruft. check-in: eb485ece1b user: ben tags: trunk
10:54
Modify bug-compatibility checks to use wildcards. Should have exactly the same behaviour as before (tested a little bit), but should be easier to expand. (This is the easy bit -- work still needs to be done to fix ssh2-keyderive-nonbug, vshell-no-bug-compat, etc -- but should be easier now.) check-in: 2a30734076 user: jacob tags: trunk
09:32
Wrong length was causing spurious \0 to be sent during SSH negotiation with HTTP proxy -- fixed. (Also added a "len -= eol" to HTTP header munching, although it has no practical effect.) HTTP proxying now works again, hurrah. check-in: 4855a5106d user: jacob tags: trunk
08:44
Argh. With DEBUG and MALLOC_LOG enabled, I found output intended for the console was ending up in one or other of debug.log or putty_mem.log. I don't really understand why, but I've put some extra paranoia and caching in debug(()) and that seems to have fixed it (tm). Perhaps I can get back to debugging... check-in: e721a3bd3c user: jacob tags: trunk
06:10
Doofus Award: logfopen is shared between SSH-packet and session-logging modes, so of _course_ it has to be mode "wb". Restored, and added \r to all of the SSH packet logging stuff. check-in: cdc3577870 user: jacob tags: trunk
05:00
Add a new diagnostic in winnet.c, to attempt to pinpoint the reason for the tree234 assertion failure we've had reported recently. check-in: 3b797c50ef user: simon tags: trunk
2002-12-07
19:17
Slightly cheesy size-tip implementation. This is suboptimal in two ways: * It paints over the top-left corner of the terminal window. A little floating window would be rather nicer and not much harder to do. * It uses the low-memory global, DragHook, which is unavailable in Carbon and broken in some versions of Mac OS 8 (8.5?). I suspect this is unavoidable, though. check-in: adb5d2eab3 user: ben tags: trunk
15:35
For some reason Roman Pompejus' original logging patch opened the log in "wb" mode. Since we were mostly writing "\n" rather than "\r\n", I've changed it to just "w" and refunded the difference. check-in: fa81f923aa user: jacob tags: trunk
15:15
Fix write to freed memory in HTTP proxying. Things aren't entirely happy yet, though. check-in: 92c07321a3 user: jacob tags: trunk
09:21
When scrolling part of the window, scroll the update region as well so that parts that haven't been painted yet still get an update event in their new location. This code seems far too complicated, and I suspect there's a better way. Still, scrolling continuously with the window partially off-screen now works. check-in: dba4f50b19 user: ben tags: trunk
06:03
Ignore generated Mac Makefile check-in: eba08271c0 user: jacob tags: trunk
2002-12-05
18:09
Use the Script Manager to find a small Roman font for the licence box rather than assuming that the application font at 9pt will be useful (which it probably won't be on non-Roman systems). check-in: b171e8568d user: ben tags: trunk
2002-12-04
13:44
Add some comments explaining what each of these functions is used for. check-in: ab46b32ce0 user: ben tags: trunk
06:53
Avoid potential memory leak. check-in: 7582a3be6f user: owen tags: trunk
06:40
#include <signal.h>. Compiled fine without it on Debian 3.0, but not on 2.2. Wonder what changed. check-in: 861d27cdcc user: simon tags: trunk
06:39
Changed to use strerror() check-in: fe6c8e80c3 user: owen tags: trunk
2002-12-02
15:06
Driver script for building PuTTY under MPW. MPW isn't multi-tasking, so its "make" program just emits a script for us to run. This script wraps all that horribleness up so we don't have to see it. check-in: 3690b6d49e user: ben tags: trunk
15:03
Add an entry for the Mac version of PuTTY. check-in: c78f03d164 user: ben tags: trunk
15:01
Add support for generating MPW Makefiles. This makes the following changes: * splitline gets support for changing the continuation character. * deps returns a data structure for the output routine to format as appropriate. * There's a new program type, [M], for Macintosh. * There's a new backend to output mac/Makefile.mpw. check-in: 6656319f6a user: ben tags: trunk
2002-11-28
18:32
Improve support for non-colour displays by adding a mask of attributes to ignore when breaking text into runs for display, and implement setting this on Mac (other ports just use 0xffffffff). We don't use DeviceLoop for this any more because Apple Technical Q&A QA1024 says we shouldn't. Unlike their example, we don't depend on the Display Manager's being present either. check-in: a3ea3b85eb user: ben tags: trunk
15:10
Don't call SetFractEnable every time we draw some text, since SetFractEnable unconditionally flushes the Font Manager's width cache, and the default is fine for us anyway. This more or less doubles redraw speed, which is nice, but still not really fast enough. check-in: 670f1ee5f3 user: ben tags: trunk
15:02
Follow the recommendations in Tech Note TB575 for clipping off the space for the horizontal scroll bar when drawing the grow box. check-in: db92cc34a6 user: ben tags: trunk
2002-11-27
18:25
Use StdText() rather than DrawText, so that (later) we can support scaling of text to get double-width etc. Also set the background when scrolling in Original Quickdraw. check-in: 2fc3b84078 user: ben tags: trunk
2002-11-26
13:35
Increase the size of the `font' buffer in the Config structure, for the benefit of X font names which are rather more verbose than Windows. One day I want to replace all these fixed-size buffers with sensible dynamically allocated stuff, but not today. check-in: af1eb83a03 user: simon tags: trunk
2002-11-25
19:32
Substantial overhaul of colour handling in do_text(). Highlights include: * No more mucking about with transfer modes. We always set up the foreground and background sensibly, EraseRect the whole lot and use srcOr. Apple Tech Note QD505 suggests that this should be faster than srcCopy. * Always use the Palette Manager if we've got Color QuickDraw, even in 1bpp modes. * Apply the cursor colours _after_ all the other stuff, rather than trying to get them through everything else intact. Unfortunately, this doesn't make much difference to the speed. check-in: 027cb71bef user: ben tags: trunk
17:34
Make the default font on Mac OS be Monaco 9 rather than Monaco 10, since the former is available as a bitmap. check-in: 7d5b90b918 user: ben tags: trunk
13:02
Remove a spurious 'q'. check-in: ef26ead7b5 user: ben tags: trunk
2002-11-24
09:08
Add support for displaying the licence window. check-in: 8279651556 user: ben tags: trunk
2002-11-23
18:38
Fix scrolling on systems without Color QuickDraw. It seems that the current background colour and pen mode have some silly effects on ScrollRect, so set them back to their defaults before calling it. check-in: 0e0d9ebd85 user: ben tags: trunk
16:36
Don't try to initialise the palette unless we have Color QuickDraw. This gets PuTTY running on my Mac SE again (albeit very slowly and with scroll optimisation broken for some reason). check-in: d53a7b1a20 user: ben tags: trunk
15:42
Fix a bug in scroll_display(): when the scrolled region contains the cursor we need to update dispcurs as well as disptext. Add scroll optimisation to scroll(). This makes it rather obvious that scroll optimisation is breaking with PuTTY's usual policy of lazy updates, since scrolling is done eagerly. Fixing this so that all the scrolling is saved up for do_paint would be nice, but non-trivial. check-in: c9c0583c1f user: ben tags: trunk
14:40
Remove stray debugging printfs. check-in: 01da9b4054 user: ben tags: trunk
14:02
Add a Config * argument to ldisc_create(), and use it in place of the global cfg throughout ldisc.c. Not tested other than on Mac, but all other ports just pass &cfg as this argument for now. check-in: 94b6511b43 user: ben tags: trunk
13:58
Return the state information from loop_init() in the correct way. This means the backend actually works now. check-in: c4b4347f36 user: ben tags: trunk
13:01
Add a "Config *" argument to term_init(), and use that instead of the global cfg throughout the terminal emulator. Not tested in PuTTY and pterm, but they just pass in &cfg. check-in: 40ee80fefa user: ben tags: trunk
12:22
Only try to retrieve a 'vers' resource from the current resource file (the application), rather from the entire chain. This prevents us displaying the System version if PuTTY doesn't have one. Also cope with not finding any 'vers' resource. check-in: 89b1b55a38 user: ben tags: trunk
09:11
We don't currently need the Thread Manager (and all being well we never will), so stop checking for it. check-in: d3ceeb65ae user: ben tags: trunk
08:22
On a keypress, hide the mouse cursor, send the key to the line discipline (rather than straight to the backend), and then prod the terminal. I think this is closer to the correct set of things to do. check-in: 092c0546f5 user: ben tags: trunk
07:16
Remove a debugging printf. check-in: 3343e1370f user: ben tags: trunk
07:07
Bring in some of my scroll-optimisation stuff from the old Mac port. This introduces a new front-end function, do_scroll(), which is expected to scroll a part of the physical display and cause repaint events for any areas that couldn't be scrolled (e.g. because they were hidden). scroll_display() is a wrapper around this which also updates disptext to match. Currently, scroll_display is only used in response to user scrollback requests (via term_scroll()), but extending scroll() to use it as well should be easy. All of this is conditional on the front end's defining OPTIMISE_SCROLL, since only the Mac front end currently implements do_scroll(). check-in: 541d90c0c7 user: ben tags: trunk
05:22
Note about CTRL-C trick for copying text of error dialogs check-in: d1cf6a636f user: jacob tags: trunk
2002-11-21
18:07
Update the status of the Mac port. check-in: 444194ac16 user: ben tags: trunk
2002-11-20
18:15
Note that default will change to SSH-2 next release check-in: 3764566923 user: jacob tags: trunk
14:09
Fixes for more robust handling of command-line parse errors. check-in: 7ee5329b06 user: simon tags: trunk
13:56
Interchange two parameters in a printf, to prevent a silly segfault. check-in: f3b8077033 user: simon tags: trunk
13:49
Largely-placeholder man page for Plink, for the sake of not irritating `make install'. Thanks RJK, again. check-in: 48b2f36b44 user: simon tags: trunk
2002-11-19
18:33
Fiddle with mac_initpalette() so that the cursor works in 2bpp modes as well. check-in: c0ae1e21a6 user: ben tags: trunk
18:11
Remove has_focus from Session and use the one in Terminal. Active vs passive cursor now behaves correctly. check-in: 076340b548 user: ben tags: trunk
17:59
Remove CURSOR_FG_BOLD and CURSOR_BG_BOLD, and hence bring reality in line with palette_reset()'s expectations. check-in: b59ff742d9 user: ben tags: trunk
16:05
Pass co-ordinates to term_paint() in characters rather than pixels. Partial redraws now work rather better. check-in: 6ca95659b9 user: ben tags: trunk
13:36
Add mac/ to include paths after discussion with bjh21 check-in: aa7e2b5a71 user: jacob tags: trunk
06:29
A couple of useful test backends. check-in: f02d55cce3 user: ben tags: trunk
2002-11-18
20:14
Mac resource source file, missed in last commit. check-in: e9754805ae user: ben tags: trunk
20:13
Tentative merge of ben-mac-port (only dead for three years!) into the trunk. This doesn't include any mkfiles.pl glue, and is missing one or two other fixes. The terminal emulator is kind of working, though, as, I believe, is the store module. Everything else is yet to be done. check-in: a8c9c17c13 user: ben tags: trunk
17:49
When processing input, refer to CR and LF as \015 and \012 respectively, rather than \r and \n. The latter tend to get swapped around by Mac C compilers. check-in: 99f7b1fb00 user: ben tags: trunk
16:27
ISO-IR entry 157 appears to correspond to ISO/IEC 8859-10, and lists code point 3/13 as HORIZONTAL BAR, which agrees with unicode.org's mapping table. Change ours to match (it used to have EM DASH, courtesy of RDB). This brings all our 8859-to-Unicode tables into line with unicode.org. check-in: 6681056a36 user: ben tags: trunk
14:06
More comment cleanup. check-in: b5f2a15f53 user: ben tags: trunk
12:24
Don't forget the IEC! check-in: 5e93843f61 user: ben tags: trunk
12:14
Both ISO and unicode.org now admit the existence of 8859-11 (:2001, FWIW), and unicode.org agrees with our mapping table. Update text accordingly. check-in: 4aef9c405a user: ben tags: trunk
2002-11-17
09:06
Thanks to Hans-Juergen Petrich for spotting this tiny memory leak: `otherbuf' should still be freed even if the RegEnumKey function that was supposed to fill it with data failed. While I'm at it, also remove the redundant check for its non-NULL-ness (what's the point of having a malloc wrapper that dies rather than return NULL if you then waste effort checking its return value for NULL _anyway_, eh?). check-in: 0d0bacf563 user: simon tags: trunk
2002-11-16
20:00
Apple's C compilers don't think that putting parentheses around assignments in "if" conditions is enough. Use an actual comparison against NULL instead. check-in: 3f66765184 user: ben tags: trunk
19:56
Change a temporary buffer from unsigned chars to chars, avoiding a pointer-cast warning. check-in: 75b250d599 user: ben tags: trunk
2002-11-12
12:55
Bump latest version to 0.53b for release! check-in: 4ea63b3b0d user: simon tags: trunk
2002-11-09
18:03
Use <stddef.h> to get wchar_t, rather than <wchar.h> (or nothing, in putty.h). Both are required to contain wchar_t in C99, but only <stddef.h> does in the version of MPW I've got here. check-in: fb9bb66b3f user: ben tags: trunk
15:46
Rename CharWidth() to char_width(). The former name clashes with an API function in Mac OS. check-in: b80c92ed92 user: ben tags: trunk
2002-11-07
14:01
Improve robustness in random seed file handling. check-in: 609779a448 user: simon tags: trunk
13:49
Robustness fixes for KEXINIT handling and others. In particular, I've created a self-mallocing variant of sprintf, to obviate any future need for paranoid %.100s type stuff in format strings. check-in: c58e86fe39 user: simon tags: trunk
13:37
Borland makefile needs to define _WINDOWS; apparently this makefile hasn't worked since the Unix port started and nobody has noticed until now :-) check-in: fe11b098c6 user: simon tags: trunk
2002-11-05
07:21
Packet-level logging should now work properly in Unix Plink. check-in: e3ba678484 user: simon tags: trunk
07:20
Fix command-line error handling in pterm. (Hint: wrapping a multi- statement macro in `do ... while (0)' and putting a `continue' within it don't go well together. Oops.) check-in: e60a008b47 user: simon tags: trunk
03:37
Substitute `-' (magical hyphen) for `\-' (inert minus sign) in the manpage. Fixes Debian bug #167761. check-in: 275a40ba95 user: simon tags: trunk
2002-11-03
02:46
Half of Lars Gunnarsson's iXplorer compatibility patch: the PSFTP login prompt should be fflushed (presumably fgets fails to implicitly do this when stdin and stdout are redirected weirdly). check-in: 989155997f user: simon tags: trunk
2002-11-02
10:27
Probably about time we mentioned the nascent Unix port in the FAQ. Not that I desperately want to shout about it just yet, but I feel a bit bad about the FAQ saying `we don't have a Unix port, anyone who told you so was wrong'. :-) check-in: fcf7cbe8bc user: simon tags: trunk
10:16
Improve shadow bold mode: set the default shadow bold offset to +1 not -1 (it turns out _most_ X fonts prefer the former, though irritatingly my favourite real X font used to prefer the latter which was why I made the X version of my Font Of Choice do so too), and also clip to the boundaries of the rectangle we should be drawing text in. This still doesn't completely prevent display corruption in the case where text drawn in one sweep is partially overwritten in a future one, but gnome-terminal has this problem too, and now we've got the right default SB offset _and_ offer the opportunity to reconfigure it I think this is pretty good for now. check-in: 3114a70d88 user: simon tags: trunk
10:05
Another signal-handling refinement from RJK: the SIGCHLD handler should be prepared to reap more than one child per invocation if necessary, since we do after all have two. check-in: 66d4a347b6 user: simon tags: trunk
09:23
Improve the noise collection for the internal random pool. check-in: 3848a0c712 user: simon tags: trunk
08:35
RJK's general signal-handling robustness patch. Should fix the weird spin behaviour occasionally seen after pterm's child process dies. check-in: e1fb5ab154 user: simon tags: trunk
2002-11-01
15:50
s/public/private/ spotted by Clint Hastings; also change a "public key" to "key pair" check-in: cccd0a4419 user: jacob tags: trunk
12:51
Introduce program category U, for non-GTK-requiring Unix apps. Plink doesn't need to be linked with libgtk, libgdk, libX11 etc! check-in: a78f436a90 user: simon tags: trunk
12:51
Prevent another segfault. Oops. check-in: f4b568638e user: simon tags: trunk
07:49
.HLP files should be ignored as well. Oops. check-in: b204a23ad4 user: simon tags: trunk
07:37
Add a .cvsignore for the Unix subdir check-in: 31b7ddbfc4 user: simon tags: trunk
07:36
Improve handling of oobinline sockets; Plink in telnet mode now doesn't hang when you hit ^C, which is nice. I think a better solution would involve nonblocking sockets; as it stands it's a little dependent on what may be quirks of the Linux socket layer. check-in: 183065be03 user: simon tags: trunk
07:01
Another valgrind-caught error. This one has apparently been there since the Dawn O' Time, and consisted of me putting the two halves of a short-circuiting bounds check the wrong way round: instead of `p_in_range && *p', I had `*p && p_in_range'. Oops. valgrind rocks. check-in: 431505c3e0 user: simon tags: trunk
06:59
valgrind has caught two more uninitialised elements in the SSH context structure. I knew the Unix port would be a good idea! check-in: f50e29cc8f user: simon tags: trunk
06:55
Implement access to the SSH agent. This ought to make agent forwarding work as well, of course. check-in: 49ef903377 user: simon tags: trunk
06:54
Replace a \r\n with an ordinary \n - this isn't Windows! check-in: fc9f9f2883 user: simon tags: trunk
06:54
Stop the segfault on failure to resolve a host name. check-in: 9ed197e873 user: simon tags: trunk
06:54
Add a \n at the end of an error message - oops. check-in: 76e0288a44 user: simon tags: trunk
06:53
Move an output newline to make username entry in Plink/SSH2 look more sensible. check-in: e58385f685 user: simon tags: trunk
06:53
Pass int rather than char to va_arg (the latter gets promoted). check-in: 811ba17fbe user: simon tags: trunk
06:52
Split a trigraph sequence in a string constant. check-in: 3387cf424e user: simon tags: trunk
2002-10-31
13:49
First attempt at a Unix port of Plink. Seems to basically work; doesn't yet use the SSH agent, no way to specify arbitrary config options, no manpage yet, couple of other fiddly things need doing, but it makes SSH connections and doesn't fall over horribly so I say it's a good start. Now to run it under valgrind... check-in: b651a46968 user: simon tags: trunk
2002-10-30
12:22
RJK's `pterm --help' patch. I _must_ find a better alternative to this init sequence - it surely can't be right that `pterm --help' with no DISPLAY complains at the lack of DISPLAY rather than giving a help message! check-in: 8cab4c281e user: simon tags: trunk
12:17
RJK's `make install' patch for the Unix makefile. check-in: 869607cc8f user: simon tags: trunk
12:12
Further deglobalisation: settings.c now has a more sensible interface. check-in: ae09f4f6ac user: simon tags: trunk
12:12
Fix some consts. check-in: 3ae4c6e626 user: simon tags: trunk
11:57
More preparatory work: remove the <windows.h> include from lots of source files in which it's no longer required (it was previously required in anything that included <putty.h>, but not any more). Also moved a couple of stray bits of exposed WinSock back into winnet.c (getservbyname from ssh.c and AF_INET from proxy.c). check-in: 28f44ea3f8 user: simon tags: trunk
11:56
Preparatory work before attempting a Unix port of plink: mkfiles.pl needs to be able to handle separate Recipe entries for the same program with different types (plink [C] and plink [X] for example, with different object lists). check-in: 8e93ab2438 user: simon tags: trunk
2002-10-29
10:54
Yikes - put back a #include I accidentally removed two revs ago! That'd have been embarrassing. Mind you I'd like to remove this particular #include for good anyway, but the time is not now... check-in: 8742d8ab57 user: simon tags: trunk
08:41
Hmm. Probably best initialise mainchan as well; oops. check-in: 67b3ab0447 user: simon tags: trunk
07:05
Try actually initialising ssh->v1_compressing. With any luck this will be what was causing Owen's crash report today. check-in: ba0e8fb0ef user: simon tags: trunk
2002-10-28
15:58
terminal.c should call the frontend beep() routine even with mode==BELL_VISUAL, otherwise taskbar flashing won't happen on visual bells. It's up to the frontend routine to spot BELL_VISUAL and avoid making any noise. check-in: 29d816b14b user: simon tags: trunk
11:39
CloseOnExit now defaults to COE_ALWAYS for pterm, bringing it back into line with most other xtermalikes. On Unix, the exit code of a shell is the last exit code of one of its child processes, even if it's an interactive shell - so some pterms will close and some will not for no particularly good reason. Power-detaching a screen session is especially bad for this. COE_NORMAL is still useful for specialist purposes (running a single command in its own pterm), but I don't think it's a sane default, unfortunately. check-in: 5b5dba3625 user: simon tags: trunk
11:34
Fix Alt+numberpad in pterm. For a start, there was a bug whereby if a pterm came up while Alt was down, then releasing it would cause a ^@ to be generated. Also, though, I've decided that Alt plus a single numberpad key should not generate a low-numbered control code, because that's too easy to do by mistake and the codes are too powerful. Anyone who really _wants_ to create a ^C or ^D from the numberpad can do Alt-03 or Alt-04 easily enough; two-digit codes and more such as Alt-65 are unaffected. check-in: d50e64724d user: simon tags: trunk
11:30
Another deglobalisation bug: failed to initialise term->curstype. Thanks to valgrind for finding this one (aha! I knew there would be benefits from doing a Unix port!). check-in: 39c761da90 user: simon tags: trunk
03:38
First bug discovered as a result of global-removal: pasting into pterm caused a crash because I had the wrong prototype for the selection_received event handler. Should be fixed. check-in: 2b272e1f86 user: simon tags: trunk
2002-10-27
03:24
Arrgh! _Another_ missed commit. I really must do something about this bad habit of mine :-/ check-in: cbbd653fe6 user: simon tags: trunk
2002-10-26
09:06
Retire another global in favour of adding a feature to the terminal.c interface. check-in: 13567ae2ad user: simon tags: trunk
07:58
Yet more global-removal. The static variables in logging.c are now absent, and also (I think) all the frontend request functions (such as request_resize) take a context pointer, so that multiple windows can be handled sensibly. I wouldn't swear to this, but I _think_ that only leaves the Unicode stuff as the last stubborn holdout. check-in: 8fba443d8c user: simon tags: trunk
07:42
Richard points out that it would probably help if I committed ldisc.h. Bah. :-) check-in: fc513a6cb8 user: simon tags: trunk
06:23
X forwarding authentication is now invented on a per-SSH-connection basis, so the statics are gone from x11fwd.c. check-in: f79eb3364d user: simon tags: trunk
06:12
Fix proxy.c so that the static variables become const. check-in: a5d6220305 user: simon tags: trunk
06:08
Reorganised the Unicode layer somewhat: moved luni_send and lpage_send out into the line discipline, making them _clients_ of the Unicode layer rather than part of it. This means they can access ldisc->term, which in turn means I've been able to remove the temporary global variable `term'. We're slowly getting there. check-in: 457ce6905a user: simon tags: trunk
05:33
Port forwarding module now passes backend handles around properly. As a result I've now been able to turn the global variables `back' and `backhandle' into module-level statics in the individual front ends. Now _that's_ progress! check-in: 06cff2eb6c user: simon tags: trunk
05:16
Line discipline module now uses dynamically allocated data. Also fixed one or two other minor problems. check-in: d16199ae68 user: simon tags: trunk
2002-10-25
17:00
Oops; remembering to call term_provide_resize_fn in the Unix front end would probably help. Thanks Colin. check-in: 40732d161f user: simon tags: trunk
08:26
The Zlib module now uses dynamically allocated contexts. I think that completes the static-removal in the crypto library. Ooh. check-in: d666740d70 user: simon tags: trunk
08:08
Diffie-Hellman key exchange now uses a dynamically allocated context. check-in: 28d1810cc5 user: simon tags: trunk
08:00
Fix some compiler warnings. check-in: faa5c4fe6e user: simon tags: trunk
07:59
Tidy up and fix a compiler warning. check-in: 409a2fa882 user: simon tags: trunk
07:58
SSH CRC attack detector now uses a dynamically allocated context. check-in: 45540e784d user: simon tags: trunk
07:51
SSH2 MACs now use dynamically allocated contexts. check-in: fb0d4d686d user: simon tags: trunk
07:35
SSH ciphers now use dynamically allocated contexts. check-in: f12024de9a user: simon tags: trunk
06:58
Fix the nasty flashing-light-grey-on-resize problem, after MCV helpfully alerted me to the existence of gdk_window_set_background(). check-in: 5fa48e3449 user: simon tags: trunk
06:50
pty backend now supports the changed function interface, so pterm now compiles and runs again after the major destabilisation. Unfortunately it wasn't feasible to actually encapsulate all of the pty backend's data, since the utmp helper and the need to fork and drop privileges before doing anything else at all rather confuses matters. So the data handle passed around to the pty backend is a null pointer, and the pty backend is just as global-ridden as it always has been. Shame, but such is life. check-in: feb8faf680 user: simon tags: trunk
06:30
Major destabilisation, phase 2. This time it's the backends' turn: each backend now stores all its internal variables in a big struct, and each backend function gets a pointer to this struct passed to it. This still isn't the end of the work - lots of subsidiary things still use globals, notably all the cipher and compressor modules and the X11 forwarding authentication stuff. But ssh.c itself has now been transformed, and that was the really painful bit, so from here on it all ought to be a sequence of much smaller and simpler pieces of work. check-in: 92e8b2cec5 user: simon tags: trunk
2002-10-24
09:48
Need to stub frontend_keypress() in console.c as well as window.c. check-in: da3de94483 user: simon tags: trunk
09:12
Oops - repercussions of the close-on-exit stuff which I forgot to check in. I must stop doing my Unix checkins in the Unix subdir :-( check-in: 74f4ced28a user: simon tags: trunk
2002-10-23
09:24
Minor compiler nits: - use smalloc/sfree, not malloc/free - include <ctype.h> - include <string.h> (although this doesn't shut the compiler up about non-ANSI stricmp/strnicmp) check-in: 358caa17e7 user: jacob tags: trunk
09:21
Implement handling of all Close On Exit modes. Default is to close only on clean exit, which is a departure from most xterm-alikes but Ian reckons people will love me for it. If this turns out to be wrong, we can always change the default for Unix. check-in: e33f2e8338 user: simon tags: trunk
09:03
Fixes for (Backend)->size() changes -- internal declarations didn't include new arguments and neither did internal calls. check-in: f41c1604fd user: jacob tags: trunk
08:46
Remove apparently unnecessary declaration of typedef Config from winstuff.h -- it was breaking mingw builds (gcc being more picky than Visual C). check-in: dbc6f05d2a user: jacob tags: trunk
07:41
Cleanups from yesterday's destabilisation: lots of stuff in terminal.c was apparently relying on implicit initialisation to zero, and also I've removed the backends' dependency on terminal.h by having terminal sizes explicitly passed in to back->size(). check-in: 4bdb37398f user: simon tags: trunk
04:11
Oops. Forgot to check in terminal.h from yesterday's work. There's always one :-/ check-in: 4c7c6ce91d user: simon tags: trunk
2002-10-22
11:11
Major destabilisation, phase 1. In this phase I've moved (I think) all the global and function-static variables out of terminal.c into a dynamically allocated data structure. Note that this does not yet confer the ability to run more than one of them in the same process, because other things (the line discipline, the back end) are still global, and also in particular the address of the dynamically allocated terminal-data structure is held in a global variable `term'. But what I've got here represents a reasonable stopping point at which to check things in. In _theory_ this should all still work happily, on both Unix and Windows. In practice, who knows? check-in: c56a5fa8ee user: simon tags: trunk
08:27
Make -ut work the right way round! :-) check-in: b42bbd8274 user: simon tags: trunk
08:26
Stop `pterm -ut-' leaving the unnecessary utmp helper as a zombie process (Debian bug #165887). check-in: 9a67f6a55f user: simon tags: trunk
05:31
Thanks to Richard B for pointing out that xterm has its own variants of the alternate-screen and save-cursor control sequences, with subtly different semantics and entertaining interactions with the usual ones. No thanks to xterm for doing so in the first place :-( This checkin should sort it all out. check-in: c17e8cfefd user: simon tags: trunk
04:40
Justin Bradford's patch for increased proxy robustness. check-in: 76e58c77c8 user: simon tags: trunk
2002-10-21
18:01
Make sure SIGINT and SIGQUIT haven't been nobbled in our child process by weird POSIX-required shell behaviour. check-in: 179d3e66f2 user: simon tags: trunk
18:00
Don't bother closing fds 0-2 before dup2ing over them; there's no need, and it means we always have a valid open stderr. check-in: e44f39631e user: simon tags: trunk
17:59
VT100 line drawing characters should only happen between 0x5F and 0x7E, not everywhere else. Silly me thought nobody would bother to depend on this :-) check-in: 9f5e3fc49d user: simon tags: trunk
2002-10-20
08:23
Implement Richard's really clever idea about bell overload mode: it's automatically deactivated by any keypress, so that command-line beeps from (e.g.) filename completion don't suddenly stop occurring, but it still provides a rapid response to an accidental spewing of a binary to your terminal. check-in: 89a7cd7830 user: simon tags: trunk
07:44
ScrollOnKey wasn't working because I failed to set seen_key_event in pterm.c. check-in: ba3068e889 user: simon tags: trunk
2002-10-18
10:26
Reject unrecognised command-line options; thanks rjk. check-in: 6b1f39e18f user: simon tags: trunk
05:38
Fix typo in man page. Thanks Richard. check-in: f623806109 user: simon tags: trunk
2002-10-17
11:58
Oops - that fix wasn't _quite_ right, since it killed all non-function keys completely :-/ check-in: 13faee9f62 user: simon tags: trunk
11:51
Make the shadow bold offset configurable, after discovering that 7x13 goes the other way to all other X fonts I've ever seen. (Arrgh.) check-in: 4245aa8933 user: simon tags: trunk
11:45
This should fix the bug causing Alt-Shift to generate Escape. check-in: 2163edba1a user: simon tags: trunk
2002-10-16
17:54
Add the -xrm command-line option, to allow specification of an arbitrary X resource which doesn't have a dedicated command-line option. check-in: a258b8a88b user: simon tags: trunk
17:43
Add a man page. check-in: f1505a5669 user: simon tags: trunk
11:32
Temporarily change the default for cut-and-paste of line drawing characters, under Unix only, because the stub Unicode layer makes the usual default break moderately painfully. check-in: 2ef611e291 user: simon tags: trunk
11:00
A few more command-line options. check-in: c544ce865f user: simon tags: trunk
09:32
Oops, forgot to add BoldFont to the settings module. check-in: 53b9f89c82 user: simon tags: trunk
09:32
Implement reading of X resources, and -name to change the name under which to look them up. check-in: dc7f9c04de user: simon tags: trunk
07:30
Add a file to the source archive mentioning the version number of the latest release. This is so that .tar.gz snapshots for the Unix port can be versioned as `0.53-20021016' or similar, meaning that (e.g.) Debian version numbering can be monotonic between releases and snapshots. check-in: 0372c5661c user: simon tags: trunk
07:17
Fix utmp and pty handling so that GTK never complains about running set[ug]id. All privs-requiring pty operations are done at the very start of the run, then privs are dropped before initialising GTK. Utmp is handled by forking a still-privileged subprocess at this point, and later asking it (through a pipe) to stamp utmp. The subprocess cleans up utmp on exit, which has the additional advantage that if the main pterm process suffers some sort of unexpected termination (up to and including SIGKILL) the subprocess can still mop up utmp. check-in: 7f9a81d03e user: simon tags: trunk
06:35
Fix for `hostname-whitespace'; thanks to Justin Bradford. check-in: 39093dcc64 user: simon tags: trunk
04:40
Bug `shift-backspace': whichever of ^H and ^? is configured for Backspace, Shift-Backspace should do the _other_ one. Thanks to Justin Bradford. check-in: 74ba290d86 user: simon tags: trunk
04:28
Oops - check in leftovers from yesterday's development. That's what I get for running most of my cvs commands in the unix subdir :-/ check-in: 2d5d551feb user: simon tags: trunk
2002-10-15
13:42
Support bold-as-font, by means of a separate bold font (if one was supplied) or shadow bolding (if not). As usual, can't yet be turned on without a recompile. check-in: b2569827d3 user: simon tags: trunk
13:36
Configure the pty so that it agrees with our idea of whether Backspace sends ^H or ^?. check-in: 8a75f4f208 user: simon tags: trunk
13:18
Support underline and vertical-line cursors as well as block. check-in: 3931a8354d user: simon tags: trunk
12:41
If we can't load the specified font, give an error message rather than segfaulting. check-in: d6f20644bd user: simon tags: trunk
12:38
Printer support: cfg.printer is assumed to be a Unix command through which to pipe printed data. Of course by default printing is disabled; typically cfg.printer would be set to `lpr', perhaps with some arguments. check-in: 50eaa1e2b3 user: simon tags: trunk
12:24
Scrollbar can now be configured to go on the left (although the current configuration mechanism doesn't support it). check-in: 94f7e9d448 user: simon tags: trunk
12:18
Support ALT + numeric keypad for typing in strange character codes. check-in: 5a7aebaff7 user: simon tags: trunk
11:52
Add newline at EOF in uxucs.c. Thanks Richard. :-) check-in: 206255935f user: simon tags: trunk
11:50
Support scrolling with the mouse wheel (X servers apparently usually send a button 4 press for an upward wheel movement and a button 5 press for a downward one). Untested since my own trackball's button 4 does nothing obvious. Someone with a mouse wheel should give this a workout. check-in: 622fd3d843 user: simon tags: trunk
11:40
Fixes to terminal.c to support blinking and visual bells under Unix. check-in: b34b6047b5 user: simon tags: trunk
11:38
Support for blinking text and blinking cursor. Won't actually be accessible until there's a way to configure it on, but it worked in tests. check-in: a0a5506f59 user: simon tags: trunk
11:24
Use the appalling gnome-terminal hack for server-controlled resizes rather than the gtk_window_set_policy approach; the GNOME people say that the former is the Right Thing in spite of the latter looking obviously plausible. check-in: 6cb6d56d5f user: simon tags: trunk
10:44
Remove some rogue diagnostics. check-in: 842a63a48e user: simon tags: trunk
10:16
Don't forget to initialise the pixel size parameters of the window as passed to the pty... check-in: f47218505b user: simon tags: trunk
09:58
Richard's patch to fix `make clean' under Unix. check-in: 93fe7922e6 user: simon tags: trunk
09:55
Richard's patch to make the scrollbar configurably absent. (Still want a new option to configure it to be on the LHS though. And some lunatic is bound to ask for an xterm-style scrollbar too... :-) check-in: c816ac1e38 user: simon tags: trunk
09:31
Support for all the server-side window configuration requests, including server-controlled resizing. Irritatingly I've had to use a deprecated option to gtk_window_set_policy() to make this work, resulting in me raising GNOME bug #95818 to ask for it to be un- deprecated again... check-in: ef25478d2b user: simon tags: trunk
08:07
Introduce the ability to control whether the shell run in pterm is a login shell or not. Also moved these new pieces of configuration into the Config structure, though they won't stay there forever since they will need to be moved out into platform-dependent config. check-in: 889a957cfd user: simon tags: trunk
07:42
Finish up utmp processing: add the -ut- command-line option to suppress stamping it at all. (I suppose this ought to be part of the cfg structure really.) check-in: 48d2913a94 user: simon tags: trunk
07:29
Support for utmp, wtmp and lastlog. Probably not terribly portable as yet, but seems to work plausibly on Linux. check-in: 04380af359 user: simon tags: trunk
05:52
Deal with the warnings generated when passing a pointer-to-enum to gppi as a pointer-to-int. check-in: b55c35f796 user: simon tags: trunk
05:49
Support for BSD-style pty devices. Tested under Linux; might need minor tweaks to run under other BSD-style OSes. check-in: 29530e8f6a user: simon tags: trunk
04:30
Trim wide text properly at the RH edge of the screen. check-in: 1d7a84f45a user: simon tags: trunk
2002-10-14
19:22
Support for line attributes: ESC #3, #4 and #6 for double-width and double-height text. check-in: 3a57c840d6 user: simon tags: trunk
18:39
Don't cause the mouse pointer to reappear just because it's changed shape. check-in: b5dce740cb user: simon tags: trunk
18:32
Only engage a GTK idle function when absolutely necessary, otherwise the whole app spins on it and takes up CPU all the time. check-in: 7a5991bb3f user: simon tags: trunk
17:14
Set up the palette _before_ trying to paint the window black. check-in: 65d1404fa3 user: simon tags: trunk
05:33
Add the -log option, which activates full session logging. Should be handy next time I need to debug any weird terminal problems... check-in: c3440c092b user: simon tags: trunk
05:29
Bell overload was working in principle, but wasn't scaled to Unix's greater time resolution. Oops. check-in: 924bd61e8e user: simon tags: trunk
05:21
Support server requests for colour palette changes. check-in: 12a36f9ab5 user: simon tags: trunk
05:14
Don't forget to call term_paste() when we get the chance, or big pastes won't go through. (Not sure whether I should remove this weird behaviour completely for pterm. It's a bit bizarre.) check-in: 03a780c15b user: simon tags: trunk
05:06
Support NetHack keypad mode. :-) check-in: e8759a8b36 user: simon tags: trunk
04:58
Support for hiding the mouse pointer on keypresses. Currently activated by `-hide' on the command line. check-in: 26a987d390 user: simon tags: trunk
04:18
xterm-class programs should exit when their primary child process dies, rather than waiting around until the last open handle on the pty closes. check-in: fe669158ac user: simon tags: trunk
04:06
SEL_NL is different between Windows and Unix; move it out into the platform-specific header files. check-in: 85f63b0224 user: simon tags: trunk
04:04
Oops. Defining max() the wrong way round was breaking rect select. check-in: d0017c34d9 user: simon tags: trunk
03:56
Various faffs in the pty allocation process to get controlling terminals right. Irritatingly this was working when run from another [xsp]term but not when run from my GNOME panel. I think it's now more robust. check-in: ed8734df95 user: simon tags: trunk
2002-10-13
19:05
Window title configurability: -T to set it from the command line, support for the xterm escape sequences to set it, and support for the xterm escape sequence to query it. check-in: bcb2aa106a user: simon tags: trunk
18:57
Don't forget to set $TERM when we spawn the pty. Of course I haven't noticed this until now because I've always been spawning it _from_ another xterm! :-) check-in: d49f2941d0 user: simon tags: trunk
18:48
gnome-terminal insists on receiving the selection as COMPOUND_TEXT rather than STRING, so we can now supply that too. Pasting both ways between pterm and gnome-terminal now works. check-in: 525fd6d0f4 user: simon tags: trunk
07:54
Added two simple command-line arguments: -fn (so I can have my Font Of Choice back :-) and -e to run a command other than $SHELL. check-in: 7a2269ba51 user: simon tags: trunk
07:44
Resizing of pterm now works, and the size information is correctly sent on to the pty. check-in: 2fb4abdb44 user: simon tags: trunk
07:17
Deal with the appalling mouse pointer colours. (Why doesn't GTK let us select our own mouse pointer fg and bg for standard pointers? It's ludicrous that we can only do it for pixmap-derived ones. :-( ) check-in: c8de8d4871 user: simon tags: trunk
06:27
Shift-Ins pastes. check-in: 4b2f26182c user: simon tags: trunk
06:24
Selection now supported in pterm. Required small modifications outside the unix subdir, owing to more things needing to become platform-dependent. check-in: e4d89ad7c0 user: simon tags: trunk
04:57
Fix underline, which I cleverly broke while adding support for the window border. Oops. check-in: ebd5e8cfd3 user: simon tags: trunk
04:54
Scrollbar now exists and functions; so do Shift-PgUp / Shift-PgDn. check-in: 3bcb27e451 user: simon tags: trunk
03:56
The Great Defaults Change (and about time too)! SSH now defaults to protocol 2, and background-colour erase now defaults to on. check-in: 1f6b063eb7 user: simon tags: trunk
2002-10-11
07:29
Initialise some members of the Proxy_Socket structure that were left uninitialised. This problem only showed up with mingw builds of PuTTY (maybe MSVCRT is more forgiving with malloc initialisation than CRTDLL?). The 'error' field was causing me most trouble, and I think the other two were necessary too before things started working. Note however that I don't fully understand the code, and that there are more uninitialised fields in the structure. check-in: d8e30b5284 user: jacob tags: trunk
2002-10-10
09:42
Stop hard-coding a nonstandard font. We now default to `fixed', and pick up the font's real width and height. This means I now _can't_ use my font of choice until I implement some command-line options; I wonder what feature will appear next :-) check-in: 3628bd7d8c user: simon tags: trunk
09:39
Update to reflect 0.53 release. check-in: 79f1b92c1c user: jacob tags: trunk
07:40
And that's it! pty.c is now a real pty backend rather than a loopback interface; pterm now runs $SHELL and gives every impression of being not a bad terminal emulator. I'm quite pleased with that. :-) check-in: df838b2e56 user: simon tags: trunk
07:14
Half-decent keyboard handling for pterm. Not very well done - it would have been better to abstract the general key-handling rules away from the platform-specific keysyms rather than doing clone- and-hack as I've done - but it'll serve for now. Now all I need is a real pty back end and pterm should be a just-about-usable prototype. check-in: 85cfc8acc0 user: simon tags: trunk
06:33
Temporary hack which makes vt100 line drawing work in the prototype pterm. check-in: a571f42c1a user: simon tags: trunk
05:40
A sensible minimum of do_text() and do_cursor() is now implemented. This means pterm actually _looks_ like the PuTTY terminal emulator engine, instead of merely giving evidence to the expert eye that said engine is hidden in there somewhere :-) check-in: 3d9a36b500 user: simon tags: trunk
2002-10-09
13:09
First phase of porting. pterm now compiles and runs under Linux+gtk. The current pty.c backend is temporarily a loopback device for terminal emulator testing, the display handling is only just enough to show that terminal.c is functioning, the keyboard handling is laughable, and most features are absent. Next step: bring output and input up to a plausibly working state, and put a real pty on the back to create a vaguely usable prototype. Oh, and a scrollbar would be nice too. In _theory_ the Windows builds should still work fine after this... check-in: 2d8039929a user: simon tags: trunk
2002-10-07
17:21
Oops. Dirsep in Makefile.cyg should be / not \. check-in: fb7695beb0 user: simon tags: trunk
12:43
Remove "-log" option from Plink. AFAICT this code has been dead since Roman Pompejus' improved logging (Jan 2001). check-in: a0a2b7568d user: jacob tags: trunk
12:31
Fix pscp-cmdline-port-bug for PSFTP too. (Also removes what appears to be a gratuitous re-implementation of the "-l user" option.) check-in: 17d1c99570 user: jacob tags: trunk
11:52
Fix code which was clobbering people's -P arguments in PSCP (moved it to before the deferred command line processing). Also removed a couple of unused variables. check-in: a1e4761e51 user: jacob tags: trunk
11:45
Begin destabilisation in the wake of 0.53! This checkin contains the beginning of a Unix port. It's nowhere near done, and currently it won't even compile on Unix. But this represents the start of the process of separating out platform-specific code, and also contains the mkfiles.pl changes required to support a Unix makefile and a non-flat source tree. check-in: 1baf2504b1 user: simon tags: trunk
2002-10-01
13:30
Remove last vestiges of `buggymac' in the Config structure. Might have been cause of a Plink bug since it no longer got initialised. check-in: 53f6591e2e user: simon tags: trunk
12:27
Bump the version number on the installer script. check-in: c32f0eba5b user: simon tags: trunk
11:27
Add a chapter explaining common error messages check-in: a03fe734a9 user: simon tags: trunk
2002-09-26
13:37
Add a new SSH2 bug: some servers apparently claim to be able to do DH group exchange, but choke when you actually try it. Never automatically enabled; manual control only. check-in: 1f07089633 user: simon tags: trunk
13:01
Any application using non-modal dialogs must use IsDialogMessage in its main message loop, otherwise keyboard accelerators will not work in the dialogs. I MUST NOT FORGET THIS AGAIN. check-in: f27b8e7e8a user: simon tags: trunk
12:57
If the user asks for the Pageant key list window and it's already present, bring it to the front. check-in: b48429d153 user: simon tags: trunk
2002-09-24
14:27
Finish replacing `Network error' with `Proxy error' throughout proxy code. check-in: 4ffa7303ca user: simon tags: trunk
13:44
Add a missing space in an error message. check-in: faeaee8977 user: simon tags: trunk
2002-09-23
04:55
Add context help support for Proxy panel check-in: 712c459cab user: jacob tags: trunk
2002-09-21
11:52
Cleanups to proxy code: greater robustness in receiving proxy data, better error reporting for SOCKS 5 and HTTP proxies. check-in: 842273612c user: simon tags: trunk
11:07
Support username/password authentication in SOCKS 5. check-in: 8ec7225e99 user: simon tags: trunk
09:03
Support username and password authentication when talking to HTTP proxies. check-in: 67128cfa54 user: simon tags: trunk
2002-09-20
13:57
Update README to make it clear it's a _source_ README. check-in: b7747e0bae user: simon tags: trunk
13:57
Initial checkin of PuTTY installer script and associated files. check-in: 3d34fcadbe user: simon tags: trunk
12:54
Use memcpy rather than strncpy in sk_addrcopy! How did that happen? check-in: 4b5b64e694 user: simon tags: trunk
2002-09-15
17:18
Jordan Russell's mysterious workaround for an almost equally mysterious Windows GDI bug. Looks unlikely to cause any other trouble and it's pretty small, so it can go in. check-in: 42fa4ba837 user: simon tags: trunk
08:31
Be proactively pedantic about channel-close irregularities: we no longer just sit there like a lemon if we can't find the channel in question, we bomb out and complain. With any luck, remaining problems of this type should be easier to catch under this policy. check-in: ab762b8245 user: simon tags: trunk
08:24
Improvements to SSH1 channel close handling: track sending and receiving of CLOSE and CLOSE_CONFIRMATION separately rather than taking short cuts. I believe ssh-1.2.33 sending CLOSE_CONFIRMATION before CLOSE was causing the remaining incidences of bug `nonexistent-channel'. (ssh-1.2.33 appears to have unilaterally decreed that CLOSE and CLOSE_CONFIRMATION are respectively renamed INPUT_EOF and OUTPUT_CLOSING, hence there is no longer an ordering constraint on them. Bah.) check-in: 973da1f5cd user: simon tags: trunk
08:21
Log file tinkering: copy Event Log entries into the SSH packet log, so that when people send us a packet log they never forget to send the Event Log alongside it :-) check-in: 019c881e88 user: simon tags: trunk
2002-09-14
05:24
OpenSSH vs OpenSSL Q: mention older OpenSSH versions check-in: 248bdf7692 user: jacob tags: trunk
2002-09-12
11:05
Semi-bug "long-usernames": Bump username storage from 32 to 100 chars. Also replaced a couple of magic numbers with sizeof in ssh.c. I don't believe this is going to startle any of the protocols PuTTY talks. check-in: 1a39e619f8 user: jacob tags: trunk
2002-09-11
12:30
Updated usage messages for command-line utilities to reflect new options. Updated manual to reflect reality (e.g. usage messages, '-p port' not actually implemented, sprinkle references to '-i keyfile'). (I've put "Release 0.53" in the messages; let's hope this doesn't cause a flood of "where is 0.53?" email.) I don't guarantee that the result is entirely sane and sensible in all respects, but it is at least consistent. check-in: 8165c812b8 user: jacob tags: trunk
2002-09-10
07:30
Note about separate client-server and server-client encryption in SSH-2 check-in: c753f62b98 user: jacob tags: trunk
2002-09-08
08:28
Introduce the Bugs control panel, for overriding PuTTY's server version number checks to determine the presence or absence of server bugs. check-in: 748d581331 user: simon tags: trunk
08:25
Update to reflect the last batch of proxy stuff we got from Justin Bradford. check-in: 9d618c33f1 user: jacob tags: trunk
2002-09-07
07:27
Increase length limit on SSH1_MSG_DEBUG; 70 chars is short enough to lose vital information in some existing servers' messages. check-in: d6aae5e38d user: simon tags: trunk
2002-09-02
08:47
After trying a succession of tests on Jacob's machine, I think I've finally isolated the _important_ difference between Romano Trampus's working printing.c and my failing one: he ignores the error return from the first exploratory how-big-does-my-buffer-need-to-be call to EnumPrinters(), because not having enough buffer space counts as an error condition. Hence I am officially a klutz, but this should now work. (Also reverted ENUM_LEVEL to 1, again, because that seems to be the choice of people whose code works.) check-in: 61ff40d80b user: simon tags: trunk
08:04
Mention PocketPC in the WinCE question. I'm not sure how similar WinCE and PocketPC are, though -- perhaps it merits its own question. (Although I don't know of anyone who's looked into it yet.) check-in: fbf45efbb9 user: jacob tags: trunk
2002-09-01
08:12
I'm rapidly running out of patience for trying all possible combinations of options to EnumPrinters() to see which one works, but here's another one tried at random for now. *sigh* check-in: 0680fdc776 user: simon tags: trunk
2002-08-18
04:27
Add BUG_SSH2_DERIVEKEY, present (according to OpenSSH) in ssh.com versions 2.0.*, and causing the shared secret not to be included in key derivation hashes. (This doesn't quite cause a blatant security hole because the session ID - _derived_ from the shared secret - is still included.) check-in: 3926a303ff user: simon tags: trunk
04:10
In SSH2, if decrypting the packet length gave us a negative value, subsequent packet-receiver code would fail to notice anything was wrong and segfault. Since this is clearly a silly packet length anyway, we now explicitly reject it as a daft encryption error. check-in: c4a931b9c1 user: simon tags: trunk
2002-08-15
09:59
Changed wording of OpenSSH vs bad OpenSSL FAQ so that it's more obvious it applies to 3.4p1. check-in: e3ca79cb06 user: jacob tags: trunk
2002-08-12
09:08
Alter the Feedback page, so that instead of saying `at some point we plan to start blocking executable attachments' it now says we _do_ block executable attachments. :-) check-in: a941cdf400 user: simon tags: trunk
2002-08-11
08:02
Final fixes to keyboard-interactive so it now works with packets containing more than one prompt instead of less than one, and also correctly enables echo on prompts that the server requests it for. In the process I've moved the whole username/password input routine out into its own function, where it's called independently of which SSH protocol we're using, so this should even have _saved_ code size. Rock! check-in: 24d0aa25e9 user: simon tags: trunk
07:17
Anecdotal evidence suggests that a single EnumPrinters() call specifying both PRINTER_ENUM_LOCAL and PRINTER_ENUM_CONNECTIONS catches more printers in some circumstances than two EnumPrinters() calls each specifying just one of them. We'll try it for a bit; if it goes wrong I might have to put back the two original calls as well and sort out some means of removing duplicate printers from the list. check-in: 928ce21464 user: simon tags: trunk
2002-08-09
04:14
Actually, VirtualLock() looks better as \cw{} not \c{}. check-in: c30968c54c user: simon tags: trunk
04:11
Add two more FAQs: `why don't you use VirtualLock()' and `are you based on OpenSSH'. check-in: 9d65ceabbf user: simon tags: trunk
2002-08-08
12:03
ssh.com 3.2.0 uses zlib sync flush (start and close an empty uncompressed block at the end of each compressed packet) which we were embarrassingly unable to deal with because we assumed every uncompressed block contained at least one byte. Particularly silly because I _knew_ about the existence of sync flush when I coded this module. Arrgh. Still, now fixed. check-in: 826438c7fa user: simon tags: trunk
2002-08-07
14:20
Document all the new command-line stuff. check-in: 57c582a771 user: simon tags: trunk
14:09
Arrgh, we can't have -p for port number because we're already using it for preserving file attributes in PSCP! Ah well; looks as if that's one where we'll have to agree to differ with OpenSSH. check-in: 7e90e87344 user: simon tags: trunk
13:43
Some of the new options shouldn't be available in the file transfer tools. check-in: df30dee415 user: simon tags: trunk
13:08
Fix Halibut syntax error (oops). check-in: 68b76f620a user: simon tags: trunk
12:57
Oops. Didn't quite get the new SSH protocol selection code right. *blush* check-in: d5f0c03954 user: simon tags: trunk
12:55
Add a load of new command-line options pilfered from OpenSSH. Full list is: -A, -a, -X, -x, -T, -t, -C, -1, -2, -i keyfile. check-in: 3dc74c6868 user: simon tags: trunk
12:48
Add an option to force SSH1 protocol only. Partly for symmetry; mostly because I'm about to want it for the -1 command line option. check-in: a87a66409f user: simon tags: trunk
12:29
Clean up the argv splitter, and in particular stop it from bombing out ignominiously when given no arguments :-) check-in: 2b9d1f1799 user: simon tags: trunk
2002-08-06
12:57
Pageant's command line handling now uses my new split_into_argv() function, because it's silly to have two (and because the old one was not the same as the new one, violating the Principle of Least Surprise). check-in: 40423b941a user: simon tags: trunk
12:48
PuTTYgen will now start by loading a private key file if one is provided on its command line. check-in: c3af1e66ed user: simon tags: trunk
12:35
Oops. That is to say, only loading and saving of PuTTY private keys should default to .PPK - loading and saving of public keys and of foreign key formats still defaults to All Files. Ahem. check-in: 67bb09d557 user: simon tags: trunk
12:27
Now that we've decided on a file extension for private key files (.PPK), make it the default in all the private-key file dialogs. check-in: d49eafa9b5 user: simon tags: trunk
2002-08-05
05:35
Buttress is now Halibut: change the docs makefile. check-in: d58645e39d user: simon tags: trunk
05:35
Make it clear that we're only responsible for our own web site, and people should contact mirror admins for problems with mirrors. check-in: e27f739511 user: simon tags: trunk
2002-08-04
16:18
Revamp of command-line handling. Most command line options should now be processed in cmdline.c, which is called from all utilities (well, not Pageant or PuTTYgen). This should mean we get to standardise almost all options across almost all tools. Also one major change: `-load' is now the preferred option for loading a saved session in PuTTY proper. `@session' still works but is deprecated. check-in: 6e2207da2f user: simon tags: trunk
2002-08-03
11:22
Fix culpable lack of generality in keyboard-interactive authentication: a k-i request packet can contain any number of auth prompts (including zero!) and we must ask the user all of them and send back a packet containing the same number of responses. FreeBSD systems were sending a zero-prompts packet which was crashing us; this now appears fixed (we correctly return a zero-responses packet) but I haven't tested a multiple-prompts packet because I can't immediately think of a server that generates them. check-in: 2678a20dff user: simon tags: trunk
2002-07-09
06:34
OpenSSH/OpenSSL versioning problems: as of 3.4p1 this is _still_ not entirely fixed. check-in: 5dda0cf55f user: jacob tags: trunk
2002-06-25
13:51
Forgot to call fxp_init() in `pscp -ls' mode under SFTP. check-in: bb04719c42 user: simon tags: trunk
2002-06-17
11:45
Failure to initialise a local variable was leading to free(garbage) on loading an OpenSSH key and getting the wrong passphrase. check-in: 3eeccc764c user: simon tags: trunk
2002-06-15
11:52
One of the recent port forwarding crash reports contained details which suggested bufchain_prefix() was finding an improperly initialised bufchain structure. Looking at the code, this may indeed have been able to happen, since the bufchain in a SOCKDATA_DORMANT channel was not initialised until CHANNEL_OPEN_CONFIRMATION was received. This seems utterly daft, so I now call bufchain_init() when the channel structure is actually created. With any luck the crash will mystically disappear now (I wasn't able to reproduce it myself). check-in: 6e2c2cce2c user: simon tags: trunk
11:31
Padding on the end of the encrypted data in OpenSSH key format was broken: the OpenSSL EVP layer specifies a very particular form of padding, which I wasn't generating because it hadn't occurred to me that it might be mandatory. Irritatingly this was causing our exported OpenSSH keys to load perfectly happily back in through our OpenSSH import routines, but to be rejected by OpenSSH proper. Sigh. check-in: 6623e565a3 user: simon tags: trunk
10:37
Small memory allocation bug in openssh_encrypted() fixed. check-in: 463604eca5 user: simon tags: trunk
2002-06-08
04:00
Modify the Feedback page / Appendix B to expand the section about not sending us large attachments, and in particular remove the emphasis on screen shots in the hope of also decreasing the number of _other_ large attachments we get. check-in: 712fdd4664 user: simon tags: trunk
2002-05-31
12:39
Workaround for the SSH2 RSA padding bug in OpenSSH 2.5 - 3.2 inclusive. Padding is accomplished by rewriting the signature blob rather than at the point of generation, in order to avoid having to move part of the workaround into Pageant (and having to corrupt the agent wire protocol to allow PuTTY to specify whether it wants its signatures padded!). check-in: 7a4afe7b5e user: simon tags: trunk
2002-05-30
07:41
Fix AltGr/Application/Compose/CtrlAlt discrepancies introduced in windlg.c rev 1.118 [r1033] (pointed out by Rob Pitman). check-in: de3aa67d0b user: jacob tags: trunk
2002-05-23
17:02
Trying to use an SSH2 key with an SSH1 connection seems to be quite common, so I've added a FAQ. check-in: 7572c5d251 user: jacob tags: trunk
2002-05-22
16:18
Note that answerback string can contain control characters with ^C notation, and the ^~ escape, but don't go into the gory details. check-in: a8fffb9835 user: jacob tags: trunk
2002-05-18
04:20
UI changes for key imports. We now have a separate Load command and Import command; the former warns you if you load a foreign key, whereas the latter doesn't. So the user should always be aware, one way or the other, that a format conversion is taking place. check-in: 2cf1ef8dbd user: simon tags: trunk
2002-05-17
07:33
ieof-for-nonexistent-channel problem: avoid comparing an unsigned with -1 check-in: 9832c81afd user: simon tags: trunk
2002-05-16
17:36
Nit: PuTTYgen can generate RSA _and DSA_ keys check-in: 7dd851e21a user: jacob tags: trunk
2002-05-15
15:07
Final cleanups on key import/export work. Rationalised the UI (so that menu options are greyed out helpfully) and added documentation. check-in: 08285efb5d user: simon tags: trunk
14:16
Added export of ssh.com key files. check-in: c1a44eb091 user: simon tags: trunk
2002-05-14
13:11
Implemented export of OpenSSH keys. check-in: d43d5163af user: simon tags: trunk
2002-05-13
11:56
Add some basic framework code preparatory to adding key export. check-in: 43c3b91680 user: simon tags: trunk
11:48
Update FAQ to mention ssh.com key importing check-in: 0d41be3d2e user: simon tags: trunk
11:37
Be more careful about destroying sensitive data after private key load/store/import operations. check-in: fbb61c5a99 user: simon tags: trunk
11:32
Add import of ssh.com private keys. check-in: e22787ee8c user: simon tags: trunk
2002-05-11
11:45
Added a framework for importing foreign key formats, and implemented importing of OpenSSH SSH2 private key files (both encrypted and unencrypted). Seems to work fine. check-in: b7502058f0 user: simon tags: trunk
08:12
Remove tiny unnecessary faff in new SSH-2-only code check-in: afee84cb9a user: simon tags: trunk
08:08
SSH2 only support check-in: 9cc8742e75 user: owen tags: trunk
08:03
Added SSH2 only support. check-in: 9f710e4c31 user: owen tags: trunk
07:13
Improved error messages if you use the wrong key type: you should now be told that the key is the wrong type, _and_ what type it is, rather than being given a blanket `unable to read key file' message. check-in: 9f93ab88b5 user: simon tags: trunk
2002-04-27
11:30
Removed the old Visual C++ master makefile, since it has now been superseded by the new Recipe / mkfiles.pl mechanism. check-in: 8003f4c3f0 user: simon tags: trunk
11:20
Additions to the Feedback page to emphasise that we can't answer all our mail any more, and to encourage support questions to be sent elsewhere as a first resort. check-in: d58918be8c user: simon tags: trunk
10:01
SOCKS proxy support added (next instalment of Justin Bradford's proxy work). SOCKS 5 username/password authentication still unsupported. check-in: 12982b75cc user: simon tags: trunk
2002-04-18
17:23
Added comments to document '-gui' Windows messages, based on putty-bugs post <E14g2ty-0008WN-00@ixion.tartarus.org> (except for Ryan Finnie's extra messages). check-in: 1f3fc1c1eb user: jacob tags: trunk
15:45
Added documentation of PuTTY command-line options (derived from the source) check-in: 852da43114 user: jacob tags: trunk
2002-04-10
14:54
The SFTP form of PSCP should remember to send FXP_INIT! Oops. check-in: 4868a1912f user: simon tags: trunk
2002-04-03
12:24
Mention that numeric code pages can be entered manually in the Translation box. check-in: 871adbb898 user: simon tags: trunk
2002-04-01
09:18
Add a couple of extra FAQ entries. check-in: 645db2c88e user: simon tags: trunk
2002-03-31
10:28
The console version of askappend() completely forgot to check cfg.logxfovr to see whether the user had already specified what should happen to log files. Fixed. check-in: 7a188749df user: simon tags: trunk
10:26
Fix major memory leak in sftp_cmd_ls (thanks to Hans-Juergen Petrich for pointing it out). check-in: d8cae6eb26 user: simon tags: trunk
10:23
Fix bug in Minefield's realloc() which was throwing away most of any block > 4096 bytes. Arrgh. check-in: 94f8b8611a user: simon tags: trunk
2002-03-27
15:58
Remember to wait for SSH1_MSG_SUCCESS after enabling remote port forwardings in SSH1. Was causing several MSG_SUCCESS to be queued up unread, which was wrong-but-benign in most cases but caused a hard crash with compression enabled (one of those uncompressed MSG_SUCCESSes was fed to the zlib decompressor with spectacular results). check-in: c610b016d1 user: simon tags: trunk
15:43
Matt Harden's (modified) patch to do getservbyname() lookups on port- forwarding port numbers. check-in: 35e08ba4b4 user: simon tags: trunk
15:09
Updates to proxy support, both from me and from Justin Bradford. Removed unnecessary spin locks, added a few comments, added support for Telnet-type proxies, and wrote some documentation. check-in: 10a3981ef0 user: simon tags: trunk
14:30
Dominique Faure's patch (slightly modified) to implement the PuTTY saved-sessions menu in Pageant. Disabled if it can't find the PuTTY binary on startup (just like the help features are disabled if it can't find the help file). check-in: 3d17bc6c5e user: simon tags: trunk
14:08
Add -w-pia to the Borland makefile (suppress warnings about assignment statements used as truth values). check-in: 82411ffef7 user: simon tags: trunk
2002-03-24
08:08
OpenSSH 3.1p1 SSH2 3DES is also broken. check-in: 2717704a62 user: jacob tags: trunk
07:42
Added an entry for the "OpenSSH 3.1p1 built with wrong OpenSSL" problem. check-in: 9f7145e717 user: jacob tags: trunk
05:47
Fix apparent cut'n'paste error in new printing code. (Wasn't breaking anything, to my knowledge.) check-in: 4ec94c2a69 user: jacob tags: trunk
2002-03-23
12:59
Mention on the Feedback page that the mailing list archives are private, just in case anyone was concerned. check-in: d82bab87f6 user: simon tags: trunk
12:04
Attempt to ensure that everything passed to connection_fatal() is also logged to the Event Log, so that it's easy to cut-and-paste the error message afterwards. check-in: c6a325e8ff user: simon tags: trunk
11:47
Justin Bradford's proxy support patch. Currently supports only HTTP CONNECT, but contains an extensible framework to allow other proxies. Apparently SOCKS and ad-hoc-telnet-proxy are already planned (the GUI mentions them already even though they don't work yet). GUI includes full configurability and allows definition of exclusion zones. Rock and roll. check-in: dea04539ac user: simon tags: trunk
2002-03-20
16:34
Pedantic little patch to ensure blank usernames work vaguely as expected, in case anyone really wants to use one check-in: 4bc68efeeb user: simon tags: trunk
16:16
Fix bug in the alternative code for -DNO_MULTIMON (was breaking Cygwin build). check-in: c509d941a1 user: simon tags: trunk
2002-03-16
12:23
Fixed reference to putty-bugs@lists to putty@projects. check-in: 3b45961839 user: jacob tags: trunk
12:19
Add new 'Makefile.vc' to .cvsignore check-in: 92d1dcea9a user: jacob tags: trunk
09:49
Completely revamped mkfiles.pl which incorporates dependency analysis (for both .c and .rc files). Generates the VC++ makefile as well as the other two; the authoritative source is now the new file `Recipe' rather than any particular Makefile. Note that `Makefile' is still here as a relic of the old way until we stop the nightly builds using it, but it'll be gone soon. check-in: 3e4034af9e user: simon tags: trunk
2002-03-13
16:15
Fix multi-monitor / full-screen problems and clean up the code a little. Thanks to Wez Furlong for the patch. check-in: 3b90d0293e user: simon tags: trunk
13:55
Rev 1.189 [r1517] of this file introduced a bug. While it is correct to avoid calling term_out() during a drag-select, it's false to assume that all drags are selects - some are xterm mouse-reported drags, and term_out absolutely _should_ be called in those so that the application can show the dragged object moving. Should now be fixed. check-in: df653f67a1 user: simon tags: trunk
2002-03-12
12:27
Network printers weren't showing up on at least NT4. This version appears to be better, but Jacob has found that it still isn't perfect. Bah. check-in: abddd8b6bc user: simon tags: trunk
03:55
Avoid needless memory management error if EnumPrinters returns no printers. check-in: fa1c6c55a5 user: simon tags: trunk
2002-03-11
04:38
Bah. Add winspool.lib to libraries list. Maybe _now_ the nightly builds will start working again :-/ check-in: 8de9511573 user: simon tags: trunk
2002-03-10
16:00
Slightly less grotty script to convert OpenSSH known_hosts and known_hosts2 host key files to .REG files for Windows. (renamed from 'hosts2reg' because of 8.3 considerations) check-in: cd4ab0a613 user: jacob tags: trunk
15:56
Grotty script to sanity-check the accelerator keys in windlg.c. (private RCS rev 1.4) check-in: 0ec15b896a user: jacob tags: trunk
03:28
Arrgh! Forgot yet another fiddly Makefile bit. Perhaps it's really time I did something about my Makefile generator... check-in: abf3698983 user: simon tags: trunk
2002-03-09
13:07
... and add its dependencies to the Makefile too. check-in: 91d45d00be user: simon tags: trunk
13:06
As ever, There's Always One. Check in the extra source file. *blush* check-in: 991f88228b user: simon tags: trunk
11:59
ANSI remote printer support. Raw mode only. check-in: c972c28abd user: simon tags: trunk
06:03
Fix Makefile dependencies. check-in: be6f9d4c2f user: simon tags: trunk
05:47
Well, there was bound to be one I'd forgotten: the new Features panel should include an option to disable xterm mouse reporting. So now it does. Woo. check-in: e6d4001b7e user: simon tags: trunk
2002-03-07
16:17
Fix accelerator clash on Features panel, plus a couple of accelerator comments. (not tested) check-in: f637fcd00e user: jacob tags: trunk
2002-03-06
17:06
Oops. I wrote in the docs that no-remote-resize also included no-remote-move-window, so I'd better live up to that... check-in: dd33076068 user: simon tags: trunk
17:04
Add the Features panel, allowing you to disable a bunch of the more controversial terminal features. check-in: 3480bd8f5e user: simon tags: trunk
14:13
Ensure our network layer is properly cleaned up before PuTTY exits. Specifically, we explicitly closesocket() all open sockets, which appears to be necessary since otherwise Windows sends RST rather than FIN. I'm _sure_ that's a Windows bug, but there we go. check-in: c483e38b9f user: simon tags: trunk
2002-03-05
14:39
Add an extra example to the Plink-with-WinCVS section. check-in: 8626d85f04 user: simon tags: trunk
2002-03-02
11:37
The `wrapnext' flag should be saved and restored with the cursor position. Failure to do this can give wrapnext==TRUE even with the cursor not in the rightmost column. check-in: a05f233f95 user: simon tags: trunk
2002-03-01
07:17
from_backend() should always be called with len > 0. Only rlogin mode ever failed to do this, and only Plink actually had a problem with it, so this didn't become obvious for a while. rlogin mode is fixed, and all implementations of from_backend() now contain an assertion so that we should spot errors of this type more quickly in future. check-in: 30d5735d86 user: simon tags: trunk
07:16
Memory leak fix: repair endemic failure to call sftp_pkt_free(). check-in: 053caa622c user: simon tags: trunk
2002-02-27
16:45
Set SSH socket variable to NULL if connect() fails. Failure to do this was causing PSCP to hang indefinitely after reporting Connection Refused. check-in: fbc95c5557 user: simon tags: trunk
16:41
Cisco routers apparently have yet another bug: they can't handle RSA auth attempts at all without panicking and bombing out. Workaround added. check-in: d973d3ee29 user: simon tags: trunk
16:31
Patch to enable >512-character command lines. Thanks to Thomas Halling. check-in: f07d20bcb7 user: simon tags: trunk
16:30
Oops - get the forward declaration right in that hack check-in: b913c2b62b user: simon tags: trunk
16:20
Fix silly segfault due to PSFTP thinking connection is fine even if fxp_init() fails to get initial packet. check-in: 941e10e2d6 user: simon tags: trunk
16:20
Make sure out-of-memory errors are logged to malloc.log when we're logging mallocs. check-in: 85a2ea3a1e user: simon tags: trunk
2002-02-24
09:25
Document the fact that character classes are a default-only configuration option (and so you must reset the terminal if you change them in mid-session). check-in: 90955d18c2 user: simon tags: trunk
09:17
It's 2002. Update copyright statements :-) check-in: cfac5ddbae user: simon tags: trunk
2002-02-20
16:28
Work around surreal use of WM_COMMAND in radio button sets. Prevents port number field resetting unnecessarily when protocol is set to Raw using the arrow keys. check-in: a12b480dd9 user: simon tags: trunk
2002-02-12
05:07
Modify the donations bit in the FAQ. (We now don't need a copy of Win2k since we already have two, but XP might be nice; also added PayPal to the donation methods.) check-in: b36f6ad5b0 user: simon tags: trunk
2002-02-04
07:52
Add a general `what ports exist?' question to the FAQ, so that the next person who asks us whether we have a port for ${random_palmtop} can be treated with the contempt they deserve. check-in: 51c1e74e7f user: simon tags: trunk
07:29
-pw in Plink doesn't work in Telnet. Mention this. check-in: 43f1aaa059 user: simon tags: trunk
07:18
Make the section on terminal answerback mention that this is _not_ the same thing as sending the terminal type in the proper way. check-in: e1c97a2e01 user: simon tags: trunk
2002-01-23
03:43
Add `can PSCP and PSFTP do ASCII mode?' to the FAQ. check-in: 624ccc5137 user: simon tags: trunk
2002-01-17
07:47
Various accelerator clashes (due to the addition of the global Help button, which accel.pl wasn't prepared for) fixed. check-in: 0c073caede user: simon tags: trunk
06:22
Experimental checkin: re-enable support for the static WM_MOUSEWHEEL even on systems where the version number check thinks we should be expecting a dynamically registered message number. I have a suspicion the version check isn't accurate in all circumstances; and in any case, in a situation like this where Windows might send you either of two things, it's better to be ready to deal with both than to try and second-guess which one you'll get. check-in: 0361f8693e user: simon tags: trunk
2002-01-14
06:16
Update the FAQ to reflect 0.52 as being a current release rather than a future prospect. I'm going to move the beta-0-52 tag on this file, but that won't affect release binaries that have already been built. check-in: f8067a88c5 user: simon tags: trunk
2002-01-12
10:02
Update an accelerator comment. check-in: 03a0b03c92 user: simon tags: trunk
2002-01-10
13:50
Add support for sending SSH2_MSG_UNIMPLEMENTED for unrecognised messages; also do something with the debugging messages sent as SSH2_MSG_DEBUG. check-in: 877b8e74ee user: simon tags: trunk
13:50
Flush the log file after logging each packet (so that if we're going to crash, we get an up-to-the-minute log of what happened just before then). check-in: f686fc85ea user: simon tags: trunk
10:42
Support SSH2_MSG_GLOBAL_REQUEST (just return failure) check-in: a03d782645 user: simon tags: trunk
07:29
Extra safety feature to avoid sending SSH2_MSG_WINDOW_ADJUST on a nonexistent channel. I don't quite know why this was happening, but whatever it was this ought to fix it. check-in: 3947916546 user: simon tags: trunk
07:06
Plink's front-end select loop was failing to send error messages to winnet.c. The result was that complete failures to make an SSH connection (connection refused, for example) were causing a hang instead of a proper error report. check-in: a008202dd6 user: simon tags: trunk
2002-01-08
05:57
Add the CRC32 compensation attack detector that all other SSH clients have had for ages and I forgot about. Of course I've got the version with the buffer overflow fixed! check-in: b36f8f4376 user: simon tags: trunk
03:56
Patch from RDB: the ESC[8...t resize sequence and the ESC[18t size report should both quote rows before columns, not vice versa. check-in: 1b44a9efff user: simon tags: trunk
03:56
Patch from RDB: the xterm move-window sequences now don't screw up when the window is e.g. maximised. check-in: 90f72640be user: simon tags: trunk
03:45
Patch from RDB: invent a /DMSVC4 compile-time definition which renames header files and symbols etc. Now if I could only _find_ my copy of MSVC4 we might even be able to build Win32s binaries... check-in: 5da0466bad user: simon tags: trunk
03:44
Patch from RDB: make /DNO_MULTIMON (mentioned as a possible compile-time definition in the Makefile) actually work. D'oh. check-in: 2150c4cd76 user: simon tags: trunk
03:32
Add weird XML manifest resources, to enable WinXP skins to work within PuTTY's dialog boxen. check-in: 544ba776d4 user: simon tags: trunk
2002-01-02
09:44
Add `where can I buy silly putty' as a FAQ, pointing to Crazy Aaron's site :-) check-in: a0af199fca user: simon tags: trunk
2002-01-01
10:51
sshrsa.c should include misc.h in case I need to do debugging :-) check-in: f779ba2b19 user: simon tags: trunk
2001-12-31
10:15
Create the long-awaited console.c, and move the common routines out of scp.c, psftp.c and plink.c into it. Additionally, add `batch mode', in which all the interactive prompts (bad host key, log file exists, insecure cipher, password prompt) are disabled and safe responses are assumed. (The idea being that if you run PSCP, for example, in a cron job then you'd probably rather it failed and exited instead of leaving the cron job wedged while it waits for user input that will never arrive.) check-in: 9ce037d3b4 user: simon tags: trunk
2001-12-30
10:27
I have no brain at all. The SSH1 auth loop was trying all Pageant keys before _every_ other authentication; so if you tried a local pubkey _and_ a password, for example, you'd also try Pageant twice. Now fixed. check-in: dc7ec88000 user: simon tags: trunk
10:20
PuTTY can now detect when one of the Pageant keys it tries matches the private key file given in the config; if it spots this then it avoids trying it again (and in particular avoids needing to ask for the passphrase when it knows perfectly well it won't work). check-in: 5cc6289f02 user: simon tags: trunk
09:58
Pageant is now able to avoid asking for the passphrase when asked to load a key that is already loaded. This makes command lines such as `pageant mykey -c mycommand' almost infinitely more useful. check-in: 9fe4ceb718 user: simon tags: trunk
2001-12-29
11:25
Oops - the help for the new Telnet NL option wasn't quite there. check-in: fbda1b3467 user: simon tags: trunk
11:21
Add a configurable option to make Return in Telnet send an ordinary ^M instead of the Telnet New Line code. Unix-type telnetds don't care one way or the other; RDB claims some telnetds prefer Telnet NL; and now someone has found one that can't deal with Telnet NL and prefers ^M. Sigh. check-in: 7e1971702d user: simon tags: trunk
11:00
Add a FAQ about keyboard mapping problems: basically explaining that we really need to know what character sequence you were _expecting_ your function key to generate before we can even think about making PuTTY generate it. check-in: 82cec9fb59 user: simon tags: trunk
09:31
Add a new back-end function to return the exit code of the remote process. This is functional in SSH, and vestigial (just returns 0) in the other three protocols. Plink's Windows exit code is now determined by the remote process exit code, which should make it more usable in scripting applications. Tested in both SSH1 and SSH2. check-in: f5ca005b7e user: simon tags: trunk
08:47
Jordan Russell's patch (3rd of several). We now don't call TermOut() if the PuTTY window has the mouse capture (i.e. a drag-select is in progress). This means you can drag-select at your leisure without the screen contents wandering around providing you with a moving target. Likewise dragging the scrollbar to find a piece of history in the scrollback. check-in: 7968928a27 user: simon tags: trunk
08:18
Jordan Russell's patch (again): a couple of registry read operations were using RegCreateKey instead of RegOpenKey by mistake. This also required a fix in settings.c to deal gracefully with a NULL return from enum_settings_start() - since the use of RCK had caused this never to happen, the code path had never been tested. check-in: 31366f4fee user: simon tags: trunk
08:05
Jordan Russell's patch: only process mouse drags when we have the mouse capture, which in turn will only occur if the initial click was in the PuTTY client area. Prevents mouse drag events without an initiating click, and also prevents selection occurring at unexpected moments such as if you move the mouse before releasing the second click after double-clicking the title bar to maximise the window. check-in: 3107866ddc user: simon tags: trunk
2001-12-20
09:27
Document the Pageant command line. check-in: 04e8ba3b3d user: simon tags: trunk
08:19
Oops - fputs takes the file pointer second, not first! check-in: c4cb5ff3d0 user: simon tags: trunk
08:18
This should fix the busy-wait problem with the IME. check-in: 712c16f465 user: simon tags: trunk
2001-12-19
12:49
The alphabetical ordering in the psftp command list was broken. D'oh! check-in: e9b47a6384 user: simon tags: trunk
2001-12-16
09:30
Add the `can we run under win3.1' question to the FAQ. check-in: c9cc7b0785 user: simon tags: trunk
09:14
Fiddle the header of the new feedback section to make it carefully ambiguous about whether it thinks it's on the website or in the manual. check-in: 5f1b33dc82 user: simon tags: trunk
08:56
Add two extra appendices giving the licence text and details of how to give feedback. (I think the latter has suddenly become worthwhile now we have the ability to distribute a help file; so people won't have to come to the website for the feedback information.) check-in: 6b5fbea505 user: simon tags: trunk
07:33
Add the `local' command set to PSFTP: lcd, lpwd, and ! to spawn a Windows command. check-in: 5daa0dc7f9 user: simon tags: trunk
06:11
Replace the definition of WHEEL_DELTA which was removed in rev 1.185 [r1499]. For some reason Borland builds were working perfectly OK without it, but VC builds were failing. *shrug* check-in: 1a2c99f873 user: simon tags: trunk
2001-12-15
08:30
A contributor tells me that WM_MOUSEWHEEL is not supported in Win95, and offers a patch that uses RegisterMessage() to acquire the correct dynamic message number to use instead. check-in: 6d34997dec user: simon tags: trunk
08:29
`make clean' in the Borland makefile should ignore error returns from the delete commands in case nothing of a particular type needs to be cleaned up. check-in: cfdfd32153 user: simon tags: trunk
08:09
Improvements to the malloc debugging stuff: when MALLOC_LOG is enabled, so that all mallocs and reallocs are tagged with a file name and line number, this information is now shown in the `Out of memory!' panic box. check-in: 5c05b94414 user: simon tags: trunk
06:15
Add the remote counterpart for the `local port forwardings accept connections from outside localhost' switch. Interestingly OpenSSH 3.0 appears to ignore this (though I know it works because ssh.com 3.0 gets it right, and the SSH packet dump agrees that I'm doing the right thing). check-in: 0f9f757a26 user: simon tags: trunk
05:49
Reverse part of RDB's pedantic patch from rev 1.129 [r1105]: app cursor and app keypad modes are now once again independently switchable. The VT100 and VT102 manuals may have done it RDB's way as he said, but xterm and rxvt disagree and at least one app depends on the xterm way. It'll have to become a configurable option if anyone has trouble with this. check-in: be908f7252 user: simon tags: trunk
05:10
Jaeyoun Chung's mysterious patch that apparently makes Korean input work properly: call luni_send() one character at a time rather than all together after WM_IME_COMPOSITION. check-in: 823eb5868a user: simon tags: trunk
2001-12-14
08:57
Retired the #ifdef DUMP_PACKETS stuff in ssh.c because I'm utterly sick of recompiling to enable packet dumps. SSH packet dumping is now provided as a logging option, and dumps to putty.log like all the other logging options. While I'm at it I cleaned up the format so that packet types are translated into strings for easy browsing. POSSIBLE SIDE EFFECT: in the course of this work I had to re-enable the SSH1 packet length checks which it turns out hadn't actually been active for some time, so it's possible things might break as a result. If need be I can always disable those checks for the 0.52 release and think about it more carefully later. check-in: 94f359321d user: simon tags: trunk
06:48
Now that Buttress can spot duplicate section keywords, it turns out there are several of them I hadn't noticed! All fixed. check-in: 806884ea0b user: simon tags: trunk
06:22
Add the missing psftp-pubkey section, shamelessly cribbed from the corresponding section in the PSCP chapter. check-in: 30eda25c8e user: simon tags: trunk
06:19
Rename a clashing section keyword (why wasn't Buttress catching this? Oops). check-in: 2f6360d097 user: simon tags: trunk
06:15
Add a chapter to the manual describing PSFTP. check-in: b4ce495221 user: simon tags: trunk
04:12
Remove ghastly hack involving fxp_error_message. check-in: 8a0237bb44 user: simon tags: trunk
04:06
Fix trivial problems with PSFTP batch mode check-in: 47214a0fdc user: simon tags: trunk
03:58
Aargh, an Americanism crept in. Now corrected: favorite -> favourite. check-in: 1b93b09842 user: simon tags: trunk
2001-12-13
13:26
Tidied up PSFTP batch mode. The gross hack using fxp_error_message to report command failures is now gone; instead each sftp_cmd_* routine returns 0 or 1 depending on success, like they should have done right from the start. This fixes problems with `ls' prematurely terminating PSFTP batch files. check-in: f0cba4ce69 user: simon tags: trunk
12:42
Allow PSFTP to be run with no arguments, in which case it enters the command-line state but all commands are disallowed except `open host.name'. The idea is to provide marginal extra niceness for people who double-click the icon without realising it's a cmdline app. check-in: 3d26f9c83f user: simon tags: trunk
11:38
Clarify that port forwarding will not be enabled until the user has authenticated. check-in: a97280b22b user: simon tags: trunk
2001-12-12
12:45
Updated the PuTTYgen section in pubkey.but so that it gives individual documentation of the various PuTTYgen controls; also implemented context help in PuTTYgen to go with it. Shame there isn't space for a generic `Help' button in the PuTTYgen window. check-in: d1b6559149 user: simon tags: trunk
2001-12-11
15:00
Disable username switching between SSH2 auth attempts, and add a configurable option so users can re-enable the feature _if_ they know they have an SSH2 server that isn't going to get shirty about it. Inspired by a spectacular increase in OpenSSH's shirtiness. check-in: bbebf7bd6d user: simon tags: trunk
14:08
Fix error handling in sftp (the sftp_recv return value was being checked for NULL almost nowhere). check-in: 94042e50d4 user: simon tags: trunk
12:48
Add help support to Pageant. (For the primary - non-context - help, we just invoke the same help file and jump to the Pageant chapter. It would be nice to be able to bring up the contents box with the Pageant chapter expanded, but I don't think WinHelp() allows us to request this.) check-in: 7528006a75 user: simon tags: trunk
12:47
Fixes to full-screen mode. There were various problems when you went full-screen, then selected Change Settings and then changed the resize behaviour, ranging from the window staying FS but acquiring borders to the window restoring its previous size and _failing_ to acquire borders. Should now all be fixed. check-in: df96d39626 user: simon tags: trunk
12:47
Fix compiler warnings check-in: 33277f321e user: simon tags: trunk
2001-12-10
12:12
Apparently sending DISCONNECT on a normal SSH2 connection close is actually _less_ polite than just closing the connection, rather than more polite as I'd believed. So we now just close. check-in: 1aab7505ba user: simon tags: trunk
11:50
RDB's patch to allow the `-c' option to Pageant to take a command _with arguments_. Duh, should have thought of that myself. check-in: ff1c47a5c6 user: simon tags: trunk
11:40
Andrew Francis's Pageant updates: you can now multi-select key files to add and keys to remove (in the open-file dialog and the key list box respectively), and passphrases are cached during the process of adding several keys at once (in case two of the keys have the same passphrase). check-in: 3af2a243f1 user: simon tags: trunk
2001-12-07
15:21
FIFTH ATTEMPT at getting full-screen mode right. This new attempt (which I'll comment at some stage) should combine the believable semantics of RDB's fullscreen-by-maximise mode with the multi- monitor friendliness of Wez Furlong's approach while also working on Win98. If we're lucky. check-in: 0d4bfb165e user: simon tags: trunk
14:37
Owen's patch to allow PowerMenu (third-party transparency tool) to not crash PuTTY. check-in: 62789afced user: simon tags: trunk
14:36
Add -rlogin to Plink, for orthogonality (and because I documented it yesterday!). check-in: 538fc83b1f user: simon tags: trunk
2001-12-06
14:05
Documentation: filled the last few gaps and cleaned a few things up. PuTTY now has a complete manual. Stylistic review, content review and indexing are yet to do, but at least there's some plausible text in every section now. check-in: 34a3b244c4 user: simon tags: trunk
12:18
Sort out the silly filenames. check-in: c26d254e4e user: simon tags: trunk
07:28
Integrate PuTTY and its help file. Now that's what I call a good lunchtime's work :-) check-in: 70ffdc7b62 user: simon tags: trunk
2001-12-04
13:12
Oops - replacement section types should be capitalised check-in: 8795409762 user: simon tags: trunk
2001-11-29
17:58
Oops - check the _rest_ of the SSH2 DES patch back in. D'oh! check-in: 4eae8d09a2 user: simon tags: trunk
16:32
Document the three new configuration options I've added tonight check-in: 907ced8210 user: simon tags: trunk
16:26
Make the nonstandard "des-cbc" cipher disabled by default check-in: 3c0fa57097 user: simon tags: trunk
15:47
Configurable TCP_NODELAY option on network connections check-in: 8daaf4c09d user: simon tags: trunk
15:30
Set up kbd_codepage at the start of the program, as well as when the input locale changes. With any luck this should sort out the Polish Unicode problems. check-in: 2efa15e64a user: simon tags: trunk
14:34
Make keyboard-interactive authentication configurable off. (This is a stopgap until we get round to a proper authentications preference list.) check-in: f723110def user: simon tags: trunk
14:27
Remember to terminate the prompt string in keyboard-interactive check-in: 4fca606ec7 user: simon tags: trunk
2001-11-25
13:22
Further documentation work. Tidy up the Config chapter (add a few new features - the code had got ahead of the docs), and propagate a couple of cross-references to other files as a result. check-in: 86fe61faa7 user: simon tags: trunk
12:59
Add a new chapter full of intermediate-useful-things, somewhere between `Getting Started' (things we can barely believe you don't know) and the Configuration reference chapter (things you already knew and had just forgotten). Only half-written at the moment. check-in: afac4346f0 user: simon tags: trunk
12:55
Split the Window panel into two to make room for proper comments check-in: efcfe77741 user: simon tags: trunk
12:39
RDB's general resizing cleanup. He's put his favourite resize mode back in again, but as long as it's not the default it doesn't bother me too much :-) check-in: e11a7a7ba1 user: simon tags: trunk
11:32
Editorial policy change: I've decided that it's better to use \q than \e when describing button names and menu items: the "Foo" button rather than the _Foo_ button. Certainly consistent use of either is better than the mixed use of both we had before :-) check-in: 12a0ff2c10 user: simon tags: trunk
11:14
Arrgh, and "password" should be spelled "passphrase". check-in: 154099a773 user: simon tags: trunk
11:12
Oops - URLs in \W{...} have to be in real URL format :-/ check-in: 09efbff2fc user: simon tags: trunk
11:05
Oops - one last versionid :-) check-in: 577a699e63 user: simon tags: trunk
10:57
Miscellaneous documentation updates. Finished a first draft of the Pageant chapter; wrote something about passphrase lengths; added \versionid to all chapters that didn't have it yet. check-in: 15c12ce44f user: simon tags: trunk
09:21
Add support for most of the ESC[<low number>t sequences, which xterm uses to manipulate the window (minimise, maximise, front, back, move, resize) and report things about the window (is it minimised or maximised, how big is it, what's its title). Missing are ESC[4;X;Yt (resize to a specified pixel size; our resize code doesn't like it) and ESC[19;X;Yt (report size of _screen_ in _characters_, which it isn't even obvious how to do when you've got a variable font size). check-in: 6732f3ea58 user: simon tags: trunk
08:31
INCOMPATIBLE CHANGE to the SSH2 private key file format. There is now a passphrase-keyed MAC covering _all_ important data in the file, including the public blob and the key comment. Should conclusively scupper any attacks based on nobbling the key file in an attempt to sucker the machine that decrypts it. MACing the comment field also protects against a key-substitution attack (if someone's worked out a way past our DSA protections and can extract the private key from a signature, swapping key files and substituting comments might just enable them to get the signature they need to do this. Paranoid, but might as well). check-in: 33213fd301 user: simon tags: trunk
06:23
Oops - fix another segfault in that -L and -R code check-in: 885bc7aeb1 user: simon tags: trunk
05:36
Rob Wood's patch to provide standard -L and -R options for port forwarding in Plink. Cleaned up a bit to remove segfaults and work correctly with saved sessions. check-in: 3c190ee41b user: simon tags: trunk
04:24
Jacob's patch to make full-screen mode available even when Alt-Enter isn't configured to do it: we now have a sysmenu option for it. In addition, there's a special case such that clicking the top left pixel on the screen in full-screen mode brings up the sysmenu (so you can still get at the sysmenu in FS mode without Alt-anything configured to bring it up and without ghastly fiddling with the Windows key). Also Change Settings while in full-screen mode now adds/removes the scrollbar in response to scrollbar_in_fullscreen rather than scrollbar (oops). check-in: 498eba7d6b user: simon tags: trunk
2001-11-24
11:51
Make use of the new section-relabelling in Buttress to arrange for all the FAQ questions to be cross-referenced as `question A.1.2' instead of `section A.1.2'. check-in: dffa694e27 user: simon tags: trunk
07:11
Jacob's fix to the resize-behaviour GUI check-in: 61b233242b user: simon tags: trunk
05:56
Glenn Maynard's other IME fix check-in: bf596d8e40 user: simon tags: trunk
2001-11-23
13:12
Glenn Maynard's IMM cursor position fix check-in: 23fffa3d81 user: simon tags: trunk
06:51
Ensure we ignore a hostname in Default Settings, if a perverse user has set one up using regedit. It badly confuses Plink. check-in: 414f176325 user: simon tags: trunk
06:48
Make it clear that you can't save a hostname into Default Settings, and also make it clear why not and what you should do instead. check-in: 386b924cce user: simon tags: trunk
2001-11-22
16:00
Add background-colour erase and `set this at the start of the session' to the FAQ. check-in: 2e84da6d1b user: simon tags: trunk
2001-11-21
17:40
Comment/string tweaks to reflect new DES-in-SSH2 capability. check-in: a7d9da7e8c user: jacob tags: trunk
17:06
Add single-DES support in SSH2 check-in: f30ca2d0e9 user: simon tags: trunk
16:58
Ryan Finnie's extensions to the GUI feedback mode in pscp. check-in: 10bd47f228 user: simon tags: trunk
16:48
Primitive protection against SSH2 not actually agreeing a cipher in either direction. check-in: 6f9d4e869c user: jacob tags: trunk
16:31
Make sure we always unhide the mouse pointer when the System menu is displayed. check-in: 5701095abe user: simon tags: trunk
16:23
Ctrl and Alt shouldn't reset the scrollback even if reset-on- keypress is enabled. (Shift already didn't, because that was necessary for Shift-Pg{Up,Dn} to work sanely.) check-in: 72e56b86a0 user: simon tags: trunk
16:16
The dummy drag-list item wasn't being removed on a single-click or double-click (DL_BEGINDRAG followed immediately by DL_DROPPED with no intervening DL_DRAGGING). Fixed. check-in: a5a4c8da61 user: simon tags: trunk
16:06
Send SSH2_MSG_NEWKEYS _before_ expecting to receive it, rather than after. Shouldn't make a difference for any server that previously worked, but we should now interoperate sensibly with servers that wait to receive our NEWKEYS before sending their own. Apparently Unisphere produce one such. check-in: 4463361467 user: simon tags: trunk
2001-11-14
06:58
Yikes! sftp.c wasn't using the misc.h wrappered malloc functions, meaning that PSFTP couldn't meaningfully be debugged using Minefield. That's what I get for developing it under Unix and forgetting to port it properly :-/ check-in: 21dd6de37e user: simon tags: trunk
2001-11-13
17:13
Add a rant to the FAQ about host key checking. I'm _sick_ of people implementing a command line option to disable it and expecting us to cheerfully accept the patch. check-in: ed1ac9ce18 user: simon tags: trunk
16:39
Modify a comment to try to remind myself that the &-in-session-names hack (to create accelerators on the System menu) should have some official status. check-in: 78f4115f10 user: simon tags: trunk
16:06
Handle incoming SSH2_MSG_CHANNEL_REQUEST (by refusing all requests). Should have done this ages ago; the OpenSSH 3.0 ClientAliveInterval mechanism requires it so now it's really necessary. check-in: 8499811133 user: simon tags: trunk
04:34
Clarify the how-to-use-features-in-Plink question check-in: e5813d5518 user: simon tags: trunk
2001-11-12
03:19
Remember to initialise p->nphases to zero in progress report structure. check-in: e36e8a43a6 user: simon tags: trunk
2001-11-10
11:09
Oops - one missing set of the ssh1 throttling indicator check-in: 0f98131cf5 user: simon tags: trunk
2001-11-08
03:20
Whoops - missed out a vital bit of RTF Unicode fallback handling check-in: 16f631b503 user: simon tags: trunk
2001-11-07
16:22
Implement writing RTF to the clipboard (off by default), so that if you enable it text will paste into Word et al in the same font as PuTTY itself is displaying in. In particular, this will be a fixed- pitch font, so tables and `ls' and the like will naturally line up. check-in: 3f76bd5d3b user: simon tags: trunk
07:39
Makefile fix: we've been compiling ssh.c separately because it needs $(VER) defining, but forgetting that it also needs the rest of the stuff! check-in: 0c20a7ab29 user: simon tags: trunk
2001-11-04
10:41
RDB's fix to full-screen mode. Apparently sorts out most of the fullscreen/maximised confusions, by treating fullscreen as a special case of maximised (fair enough). Removes dependency on multimon.h, but Wez thinks (though he was unable to test) that this version should naturally do the Right Thing on multi-monitor systems anyway. check-in: 72255de130 user: simon tags: trunk
2001-10-31
12:51
Fix accelerators in Window panel check-in: d3cf436345 user: simon tags: trunk
12:50
Rectangular-block selection. Enabled by Alt+drag, unless you configure it to be the default in which case it's _dis_abled by Alt+drag. check-in: a0fdeb0323 user: simon tags: trunk
2001-10-30
16:33
Add a couple more FAQs (`where's the Tunnels panel' and `how do I do <blah> in Plink'). check-in: b9434b12c6 user: simon tags: trunk
16:12
Shrink the PuTTYgen window for 640x480 friendliness (thanks Jacob) check-in: c4565ece48 user: simon tags: trunk
16:02
Word-by-word (double-click) selection now spans line breaks if the line break was created by wrapping. (Equivalently, if the selection would _paste_ as a single word without a newline in the middle, then it will _select_ in the same way.) check-in: 5c1233a233 user: simon tags: trunk
15:45
The other utilities should do the same processing of the hostname (parsing `user@' prefixes etc) that PuTTY proper does. check-in: 0196b546dc user: simon tags: trunk
14:57
Tidy up the SERIOUS NETWORK ERROR fixes check-in: a36d0f7bf5 user: simon tags: trunk
14:35
Tidy up SSH packet-level debugging check-in: 20af56aea3 user: simon tags: trunk
09:37
Add the `will you write an SSH server' question to the FAQ. check-in: 0ef5f2ad8e user: simon tags: trunk
03:50
Increase cfg.line_codepage buffer size to cope with the explanatory text added in a recent unicode.c patch. check-in: f64cebfe2d user: simon tags: trunk
2001-10-28
09:32
Fix trivial UI buglets related to DSA key support. check-in: b361225304 user: jacob tags: trunk
09:11
Add the FAQ about `nothing happens when I try to type my password'. check-in: 332be76921 user: simon tags: trunk
04:40
Fix character set problems. Some systems lack the ISO8859 codepages, so we specify them explicitly to avoid this problem. Also in particular get_unitab() no longer depends on querying Windows codepage 28591 (ISO8859-1), so UTF-8 mode should stop failing on such systems. check-in: e5f0818d36 user: simon tags: trunk
03:57
Fix the `SERIOUS NETWORK INTERNAL ERROR' oversight in winnet.c. See the comment in try_send() for details of the problem. check-in: e90219ba63 user: simon tags: trunk
03:38
Fix silly scrolling-vs-selection bug: if you selected text on line 9, then did ANSI Delete Line on line 10, the selection highlight would move up a line even though it wasn't over any text that actually moved. Easy to reproduce in the likes of vi. Trivial fix. check-in: 822164c0fb user: simon tags: trunk
2001-10-27
06:06
Add remaining comments to the last checkin (gah, remember to hit Save in the editor _before_ running cvs commit). check-in: 6830d061c8 user: simon tags: trunk
05:39
Update to password length traffic analysis: one Cisco router can apparently not deal with SSH1_MSG_IGNORE _or_ padded passwords, so we must fall back to sending an undefended password. check-in: c0c42ff5c1 user: simon tags: trunk
2001-10-25
13:48
Tiny tinkerings with FAQ check-in: a95eb10144 user: simon tags: trunk
03:09
Fix a couple of errors in the FAQ. check-in: 71f8c6dcee user: simon tags: trunk
2001-10-24
14:05
Condense the docs into fewer HTML files. Particularly useful since the new-look FAQ is now one file. check-in: 01876567f2 user: simon tags: trunk
13:56
_Actually_ add the new-look PuTTY FAQ. When will I remember to run "cvs add"? check-in: b7fec8239b user: simon tags: trunk
13:56
Add the new-look PuTTY FAQ check-in: 67086a1fdf user: simon tags: trunk
06:50
Now that we can configure whether ^C and friends generate Telnet IP and friends, we should honour the user's choice even in line editing mode. In particular, Telnet talkers don't like us randomly spraying Telnet IP whenever the user accidentally hits ^C, so this is not a helpful default. check-in: e4402281bf user: simon tags: trunk
2001-10-23
15:25
Add Jacob's patch for compiling without multimon.h. check-in: 1e80b47e4c user: simon tags: trunk
14:51
Better robustness in visual bell timeouts: handling GetTickCount wraparound, not referencing vbell_timeout if in_vbell==FALSE, that sort of thing. I doubt it'll fix the reported problems with screen vbells, since none of the failure modes I've just prevented looked all that probable to me, but it's nice to have extra robustness anyway. check-in: 1a7ce9d42b user: simon tags: trunk
14:22
Don't quit the plink main loop until the stdout and stderr buffers are empty. check-in: 8c87b1302f user: simon tags: trunk
2001-10-17
16:21
Wez Furlong's patch to tidy up full-screen mode: make it multi-monitor aware and make the scrollbar separately configurable in and out of full-screen mode. Also (not Wez's patch, this bit) fix the case where the user reconfigures _while_ the window is full-screen, and disables full-screening. (In this case the window should return gracefully to normal, rather than losing all its title bars and getting confused.) check-in: e27f621300 user: simon tags: trunk
16:02
Finally remove this pile of obsoleteness check-in: b108b76d0f user: simon tags: trunk
2001-10-12
16:39
D'oh, trivial typo which was completely breaking log-all-output. check-in: 73e3e07fd0 user: simon tags: trunk
16:10
Revamp the window-resize behaviour UI so there are only three states rather than four. Should fix all sorts of bugs, since the fourth (and default!) state was behaving weirdly and nobody liked it. check-in: f5a6ba12ab user: simon tags: trunk
14:32
Due to fears that an incompetent WinSock might allow localhost- listening sockets to be talked to by non-local hosts, reinstate the explicit peer address check on connection acceptance. check-in: 994e1f8e80 user: simon tags: trunk
2001-09-26
15:31
Extra line in the help text to mention you can use a saved session as well as a hostname. check-in: 283443dabf user: simon tags: trunk
15:29
`Server got confused by' error messages now quote a packet type, so I can start debugging as soon as I get one sent to me. check-in: 8a15380719 user: simon tags: trunk
2001-09-25
16:08
Fiddly fixes in code page handling check-in: 7a02dfa92b user: simon tags: trunk
15:12
Spelling fix. When the user hits `Browse' next to the `Private key' box, they should see a file chooser labelled Select _Private_ Key File, not Public! check-in: a7e5666616 user: simon tags: trunk
15:07
Another potential segfault fixed. Thanks RDB :-) check-in: c86558597a user: simon tags: trunk
15:07
Tidy up a comment. check-in: 8fda669ade user: simon tags: trunk
15:05
John Sullivan's patch to recreate the Pageant systray icon if Explorer crashes and restarts while Pageant is running. check-in: ad172b9961 user: simon tags: trunk
14:59
Fix various fiddly little warnings. check-in: 74146824e9 user: simon tags: trunk
2001-09-24
17:00
Restore Lars Gunnarsson's old link for iXplorer. check-in: a14c43031f user: simon tags: trunk
2001-09-23
11:45
Destroy DOS line endings and unnecessary redefinition of uint32. check-in: d89d560347 user: simon tags: trunk