]> asedeno.scripts.mit.edu Git - PuTTY.git/log
PuTTY.git
19 years agoUse {Get,Set}WindowLongPtr() instead of {Get,Set}WindowLong() for compatibility
Jacob Nevins [Sat, 21 May 2005 14:16:43 +0000 (14:16 +0000)]
Use {Get,Set}WindowLongPtr() instead of {Get,Set}WindowLong() for compatibility
with 64-bit Windows. Untested on 64-bit, but it doesn't appear to have broken
anything on 32-bit.

[originally from svn r5819]

19 years agoMinor memory leak spotted by Mikhail Kruk.
Jacob Nevins [Fri, 20 May 2005 21:52:07 +0000 (21:52 +0000)]
Minor memory leak spotted by Mikhail Kruk.

[originally from svn r5815]

19 years agoconnection_fatal() should be called after ssh_closing() and other accesses to
Jacob Nevins [Mon, 16 May 2005 14:41:08 +0000 (14:41 +0000)]
connection_fatal() should be called after ssh_closing() and other accesses to
`ssh', since it potentially frees it and potentially doesn't return.
Only affected a couple of rare circumstances.

[originally from svn r5787]

19 years agoDon't try and set up reconfigured port-forwardings if the connection isn't yet
Jacob Nevins [Mon, 16 May 2005 08:31:05 +0000 (08:31 +0000)]
Don't try and set up reconfigured port-forwardings if the connection isn't yet
ready for them. Spotted by Martin Dushkov.

[originally from svn r5786]

19 years agoAdd experimental support for detecting BREAK on input and propagating it as
Ben Harris [Sat, 14 May 2005 22:01:10 +0000 (22:01 +0000)]
Add experimental support for detecting BREAK on input and propagating it as
TS_BRK on output.  This is tested to the extent that other data survive the
escaping performed by PARMRK, at least on my system.  Actual passing on
of BREAK is as-yet untested.

[originally from svn r5779]

19 years agoUse the packet dispatch table to handle USERAUTH_BANNER messages, which should
Jacob Nevins [Thu, 12 May 2005 15:09:35 +0000 (15:09 +0000)]
Use the packet dispatch table to handle USERAUTH_BANNER messages, which should
hopefully solve `drop-banner'. I haven't been able to test the failure case,
but the behaviour with OpenSSH appears no worse.

[originally from svn r5772]
[this svn revision also touched putty-wishlist]

19 years agos/public/private/ spotted by Walter Cleverly.
Jacob Nevins [Mon, 9 May 2005 21:01:11 +0000 (21:01 +0000)]
s/public/private/ spotted by Walter Cleverly.

[originally from svn r5765]

19 years agoMake Makefile.gtk build again on Linux (assume <utmpx.h>).
Jacob Nevins [Mon, 9 May 2005 13:27:51 +0000 (13:27 +0000)]
Make Makefile.gtk build again on Linux (assume <utmpx.h>).

[originally from svn r5764]

19 years agoFix what looks like a cut-and-paste error which was stopping Unix
Simon Tatham [Sun, 8 May 2005 11:47:59 +0000 (11:47 +0000)]
Fix what looks like a cut-and-paste error which was stopping Unix
Plink building on MacOS X.

[originally from svn r5762]

19 years agoCorrect apparent misspelling of `SIOCATMARK'.
Jacob Nevins [Thu, 5 May 2005 22:47:30 +0000 (22:47 +0000)]
Correct apparent misspelling of `SIOCATMARK'.

[originally from svn r5749]

19 years agoImplement `bypass-ssh2-userauth', since from correspondence it sounds like
Jacob Nevins [Thu, 5 May 2005 22:37:54 +0000 (22:37 +0000)]
Implement `bypass-ssh2-userauth', since from correspondence it sounds like
there are servers which could in principle operate in this mode, although I
don't know if any do in practice. (Hence, I haven't been able to test it.)

[originally from svn r5748]
[this svn revision also touched putty-wishlist]

19 years agoAlso blank X authentication data when using SSH-1, and add a comment explaining
Ben Harris [Sat, 30 Apr 2005 17:08:48 +0000 (17:08 +0000)]
Also blank X authentication data when using SSH-1, and add a comment explaining
why this may not be sufficient to hide it.

[originally from svn r5720]

19 years agoX11 authentication data are generally sensitive, so blank them from packet
Ben Harris [Sat, 30 Apr 2005 16:13:11 +0000 (16:13 +0000)]
X11 authentication data are generally sensitive, so blank them from packet
logs by default.

[originally from svn r5719]

19 years agoUnlike the AES and Blowfish code, our implementations of the various DES
Ben Harris [Sat, 30 Apr 2005 14:30:07 +0000 (14:30 +0000)]
Unlike the AES and Blowfish code, our implementations of the various DES
modes of operation all took separate source and destination pointers.  They
were never called with those pointers different, though, so reduce them to
a single pointer like everything else uses.

[originally from svn r5716]

19 years agoFix stupid typo that probably utterly broke SSH-1 support, and caused compiles
Ben Harris [Sat, 30 Apr 2005 14:26:46 +0000 (14:26 +0000)]
Fix stupid typo that probably utterly broke SSH-1 support, and caused compiles
with GCC to fail.  Not sure how it survived long enough to test, really.

[originally from svn r5715]

19 years agoMinimally document 3des-ctr and blowfish-ctr.
Ben Harris [Thu, 28 Apr 2005 09:03:16 +0000 (09:03 +0000)]
Minimally document 3des-ctr and blowfish-ctr.

[originally from svn r5703]

19 years agoRemove comment explaining why 3des-ctr is disabled, since it isn't.
Ben Harris [Thu, 28 Apr 2005 09:00:50 +0000 (09:00 +0000)]
Remove comment explaining why 3des-ctr is disabled, since it isn't.

[originally from svn r5702]

19 years agoEnable blowfish-ctr by default. It's been tested and found working.
Ben Harris [Thu, 28 Apr 2005 08:56:03 +0000 (08:56 +0000)]
Enable blowfish-ctr by default.  It's been tested and found working.
Thanks to der Mouse for help with the testing.

[originally from svn r5701]

19 years agoIn blowfish-ctr mode, increment the counter in the correct order. Thanks to
Ben Harris [Thu, 28 Apr 2005 08:24:46 +0000 (08:24 +0000)]
In blowfish-ctr mode, increment the counter in the correct order.  Thanks to
der Mouse for spotting the same error in my 3des-ctr implementation.

[originally from svn r5700]

19 years agoFix two more stupid bugs in 3des-ctr:
Ben Harris [Thu, 28 Apr 2005 08:21:04 +0000 (08:21 +0000)]
Fix two more stupid bugs in 3des-ctr:
 - We were using the first word of each block of keystream block twice and the
   second not at all.
 - We were incrementing the high-order word of the counter after every block
   rather than the low-order one.

With those fixed, our 3des-ctr implementation interoperates with the one in
Moussh.  Thanks to der Mouse for his help with the testing.

3des-ctr is now enabled by default.

[originally from svn r5699]

19 years agoOn monochrome displays, display the cursor in reverse video so that it's
Ben Harris [Wed, 27 Apr 2005 21:42:51 +0000 (21:42 +0000)]
On monochrome displays, display the cursor in reverse video so that it's
visible on reversed out text.  This only applies to active block cursors for
now.

[originally from svn r5698]

19 years agoTiny manual CSE of previous commit.
Ben Harris [Wed, 27 Apr 2005 21:22:40 +0000 (21:22 +0000)]
Tiny manual CSE of previous commit.

[originally from svn r5697]

19 years agoOn 1bpp displays, ignore colour attributes. This makes pterm minimally useful
Ben Harris [Wed, 27 Apr 2005 21:09:45 +0000 (21:09 +0000)]
On 1bpp displays, ignore colour attributes.  This makes pterm minimally useful
there, though (e.g.) switching to using reverse video for the cursor would
probably also help.  Displays with other silly depths (e.g. 2bpp) aren't
catered for, but I suspect they're rare in the X world.

[originally from svn r5696]

19 years agoMake palette changes use "best match" colours too.
Ben Harris [Wed, 27 Apr 2005 20:30:47 +0000 (20:30 +0000)]
Make palette changes use "best match" colours too.

[originally from svn r5695]

19 years agoRather than checking for <sys/sockio.h>, just include it if our other
Ben Harris [Wed, 27 Apr 2005 15:42:10 +0000 (15:42 +0000)]
Rather than checking for <sys/sockio.h>, just include it if our other
attempts at finding SIOCATMARK have failed.  This removes one of our
Autoconf tests, which is always nice.

[originally from svn r5690]

19 years agoUse the correct key order for 3des-ctr.
Ben Harris [Wed, 27 Apr 2005 12:39:52 +0000 (12:39 +0000)]
Use the correct key order for 3des-ctr.

[originally from svn r5687]

19 years agoIn SSH-2 mode, PuTTY wasn't sending KEXINIT until it had received one from the
Ben Harris [Wed, 27 Apr 2005 11:10:54 +0000 (11:10 +0000)]
In SSH-2 mode, PuTTY wasn't sending KEXINIT until it had received one from the
server, which led to stalemate if the server did the same.  PuTTY now sends
KEXINIT proactively as soon as it's worked out that it's talking SSH-2.

[originally from svn r5685]

19 years agomkunxarc.sh is supposed to be silent, so I'm having it discard the
Simon Tatham [Wed, 27 Apr 2005 08:09:32 +0000 (08:09 +0000)]
mkunxarc.sh is supposed to be silent, so I'm having it discard the
stderr output from mkauto.sh. (I debated discarding it within
mkauto.sh itself, but decided against it.)

[originally from svn r5684]

19 years agoAccording to the termio(7I) on Solaris, OLCUC is overridden by OPOST, so we
Ben Harris [Tue, 26 Apr 2005 00:03:50 +0000 (00:03 +0000)]
According to the termio(7I) on Solaris, OLCUC is overridden by OPOST, so we
should send it with the SSH terminal modes too.

[originally from svn r5680]

19 years agoSquash OPOST locally when we're not in line-editing mode, and propagate
Ben Harris [Mon, 25 Apr 2005 23:57:45 +0000 (23:57 +0000)]
Squash OPOST locally when we're not in line-editing mode, and propagate
the other output flags with SSH.  This means that when I log into a remote
system using Plink and then run "stty -onlcr" I get the expected
stair-stepping.

[originally from svn r5679]

19 years agoUse pututxline() in place of pututline(), since the former is standardised by
Ben Harris [Mon, 25 Apr 2005 23:28:25 +0000 (23:28 +0000)]
Use pututxline() in place of pututline(), since the former is standardised by
X/Open and actually seems to be more common (NetBSD has it).  Also use
updwtmpx() rather than directly writing to the wtmpx file, though more for
reasons of aesthetics than anything practical.

[originally from svn r5678]

19 years agoAsk GDK to give us reasonable approximations if it can't get precisely the
Ben Harris [Mon, 25 Apr 2005 22:46:08 +0000 (22:46 +0000)]
Ask GDK to give us reasonable approximations if it can't get precisely the
colours we asked it for.  This means that I can run pterm on an 8-bit
PseudoColor display even if I have another program running.

[originally from svn r5677]

19 years agoCheck for <sys/sockio.h> and include it in uxnet.c if we find it. It's
Ben Harris [Mon, 25 Apr 2005 18:51:15 +0000 (18:51 +0000)]
Check for <sys/sockio.h> and include it in uxnet.c if we find it.  It's
necessary on Solaris if we want to use SIOCATMARK.  Using sockatmark() might
be preferable, but despite being notionally standard it's missing on
Solaris 9 and Mac OS X 10.3.9, whereas everyone seems to have SIOCATMARK
somewhere.

[originally from svn r5676]

19 years agouxpty.c uses non-X/Open facilities (notably strsignal()), so don't define
Ben Harris [Mon, 25 Apr 2005 17:21:08 +0000 (17:21 +0000)]
uxpty.c uses non-X/Open facilities (notably strsignal()), so don't define
_XOPEN_SOURCE.  We do still need _GNU_SOURCE in order to get grantpt()
on GNU systems.  This allows uxpty.c to compile on NetBSD.

[originally from svn r5675]

19 years agoMove generation of the "configure" script into its own script so that
Ben Harris [Mon, 25 Apr 2005 16:36:43 +0000 (16:36 +0000)]
Move generation of the "configure" script into its own script so that
people who check the code out of Subversion can get it to go.

[originally from svn r5674]

19 years agoAdd a mechanism for using autoconf to detect the quirks of Unix systems
Ben Harris [Mon, 25 Apr 2005 15:55:06 +0000 (15:55 +0000)]
Add a mechanism for using autoconf to detect the quirks of Unix systems
rather than relying on the user to edit the Makefile.  Makefile.gtk
still works as well as it ever did, but now we get a Makefile.in alongside
it.  mkunxarc.sh now relies on autoconf and friends to build the configure
script for the Unix source distribution.

[originally from svn r5673]

19 years agoOn some systems (NetBSD 1.6 and Solaris 9, at least), GCC doesn't understand
Ben Harris [Sun, 24 Apr 2005 14:43:00 +0000 (14:43 +0000)]
On some systems (NetBSD 1.6 and Solaris 9, at least), GCC doesn't understand
the semantics of assert(0) and believes it can return.  Add a gratuitous
exit(1) to convince it that this won't happen, and hence quell a couple of
warnings about variables' being used uninitialised.

[originally from svn r5669]

19 years agoNow that we've got at least some SDCTR modes working (and aes256-ctr is our
Ben Harris [Sat, 23 Apr 2005 16:22:51 +0000 (16:22 +0000)]
Now that we've got at least some SDCTR modes working (and aes256-ctr is our
default preferred cipher), add code to inject SSH_MSG_IGNOREs to randomise
the IV when using CBC-mode ciphers.  Each cipher has a flag to indicate
whether it needs this workaround, and the SSH packet output maze has gained
some extra complexity to implement it.

[originally from svn r5659]

19 years agoStir in process ID at start.
Jacob Nevins [Fri, 22 Apr 2005 15:47:28 +0000 (15:47 +0000)]
Stir in process ID at start.

[originally from svn r5655]

19 years agoChange proxy-dns `Auto' default for SOCKS5 from local DNS to remote DNS.
Jacob Nevins [Fri, 22 Apr 2005 00:00:49 +0000 (00:00 +0000)]
Change proxy-dns `Auto' default for SOCKS5 from local DNS to remote DNS.
SOCKS5 should always be able to do this, and I suspect our not doing so
dates from when the SOCKS proxy types were under a single configuration
option (pre-r3168).

[originally from svn r5654]

19 years agoFirst crack at `terminal-modes' in SSH. PuTTY now sends ERASE by default,
Jacob Nevins [Thu, 21 Apr 2005 13:57:08 +0000 (13:57 +0000)]
First crack at `terminal-modes' in SSH. PuTTY now sends ERASE by default,
Unix Plink sends everything sensible it can find, and it's fully configurable
from the GUI.

I'm not entirely sure about the precise set of modes that Unix Plink should
look at; informed tweaks are welcome.

Also the Mac bits are guesses (but trivial).

[originally from svn r5653]
[this svn revision also touched putty-wishlist]

19 years agoIfdef out the actual code supporting 3des-ctr and blowfish-ctr, since GCC
Ben Harris [Wed, 20 Apr 2005 22:52:54 +0000 (22:52 +0000)]
Ifdef out the actual code supporting 3des-ctr and blowfish-ctr, since GCC
now notices that it isn't used.

[originally from svn r5652]

19 years agoSimon (accidentally, I think) enabled 3des-ctr and blowfish-ctr. Turn them
Ben Harris [Wed, 20 Apr 2005 22:47:29 +0000 (22:47 +0000)]
Simon (accidentally, I think) enabled 3des-ctr and blowfish-ctr.  Turn them
back off again since they're still untested.

[originally from svn r5651]

19 years agoMinimally document our support of aes*-ctr.
Ben Harris [Wed, 20 Apr 2005 21:29:57 +0000 (21:29 +0000)]
Minimally document our support of aes*-ctr.

[originally from svn r5650]

19 years agoEnable arcfour256-draft-00@putty.projects.tartarus.org, since I've now tested
Ben Harris [Wed, 20 Apr 2005 20:57:00 +0000 (20:57 +0000)]
Enable arcfour256-draft-00@putty.projects.tartarus.org, since I've now tested
it against an independent implementation.

[originally from svn r5649]

19 years agoInvent a way of specifying control characters numerically in ctrlparse():
Jacob Nevins [Tue, 19 Apr 2005 19:18:14 +0000 (19:18 +0000)]
Invent a way of specifying control characters numerically in ctrlparse():
^<27>, ^<0x1B>, ^<033>. (This doesn't tread on any syntax that already had a
non-null behaviour.)

[originally from svn r5647]

19 years agoPull out parsing of ^C style strings from the terminal answerback code to
Jacob Nevins [Tue, 19 Apr 2005 18:58:29 +0000 (18:58 +0000)]
Pull out parsing of ^C style strings from the terminal answerback code to
its own function, since I'll be wanting it for `terminal-modes'.

[originally from svn r5646]

19 years agoRemove "none" from the MACs we offer to support in SSH-2. (It was at the
Jacob Nevins [Tue, 19 Apr 2005 13:27:21 +0000 (13:27 +0000)]
Remove "none" from the MACs we offer to support in SSH-2. (It was at the
end, after the REQUIRED "hmac-sha1".) This has been present since SSH-2
support was introduced (r569).

[originally from svn r5643]
[r569 == 35205e5cb764dca5afaf1e90dc6d485fcc5ed283]

19 years agoAdd ability to construct SSH-1 packets incrementally (not used yet).
Jacob Nevins [Mon, 18 Apr 2005 21:09:58 +0000 (21:09 +0000)]
Add ability to construct SSH-1 packets incrementally (not used yet).
I've added this to support `terminal-modes', but since this unifies some
SSH-1 and SSH-2 packet construction code, it saves a few hundred bytes.
Bonus.

[originally from svn r5642]

19 years agoAdd a comment describing `dummyitem' in prefslist and associated problems.
Jacob Nevins [Mon, 18 Apr 2005 12:21:53 +0000 (12:21 +0000)]
Add a comment describing `dummyitem' in prefslist and associated problems.

[originally from svn r5641]

19 years agoRecent CTR mode changes stopped OS X PuTTY from compiling, because
Simon Tatham [Mon, 18 Apr 2005 10:01:57 +0000 (10:01 +0000)]
Recent CTR mode changes stopped OS X PuTTY from compiling, because
-Werror objects at various static data items being defined but not
used. Ifdef some things out to restore warning-free compilability.

[originally from svn r5640]

19 years agoIndex "Event Log", "system menu", and "context menu" better.
Ben Harris [Fri, 15 Apr 2005 13:11:27 +0000 (13:11 +0000)]
Index "Event Log", "system menu", and "context menu" better.

[originally from svn r5636]

19 years agoImplement my experimental arcfour modes. The 256-bit version is disabled
Ben Harris [Thu, 14 Apr 2005 22:58:29 +0000 (22:58 +0000)]
Implement my experimental arcfour modes.  The 256-bit version is disabled
until I can test it against someone else's implementation.

[originally from svn r5633]

19 years agoUnify GET_32BIT()/PUT_32BIT() et al from numerous source files into misc.h.
Jacob Nevins [Tue, 12 Apr 2005 20:04:56 +0000 (20:04 +0000)]
Unify GET_32BIT()/PUT_32BIT() et al from numerous source files into misc.h.
I've done a bit of testing (not exhaustive), and I don't _think_ I've broken
anything...

[originally from svn r5632]

19 years agoComment: change "window.c" to "the front end"
Jacob Nevins [Mon, 11 Apr 2005 17:37:02 +0000 (17:37 +0000)]
Comment: change "window.c" to "the front end"

[originally from svn r5628]

19 years agoFactor out the code to read and write the Environment and PortForwardings
Jacob Nevins [Mon, 11 Apr 2005 16:24:58 +0000 (16:24 +0000)]
Factor out the code to read and write the Environment and PortForwardings
mappings into two new functions.

[originally from svn r5627]

19 years agoRetire winctrls.c:multiedit() in favour of a new simpler function for a
Jacob Nevins [Mon, 11 Apr 2005 16:23:35 +0000 (16:23 +0000)]
Retire winctrls.c:multiedit() in favour of a new simpler function for a
single full-width edit box. multiedit()'s extra functionality has been
superseded by the "columns" mechanism, and it didn't allow an edit box to
be created with no label.

Also add no-label capability to a couple of other controls.

[originally from svn r5626]

19 years agoAdd WS_VSCROLL style to drop-down non-combo boxes, to add a scroll bar
Jacob Nevins [Sat, 9 Apr 2005 23:02:55 +0000 (23:02 +0000)]
Add WS_VSCROLL style to drop-down non-combo boxes, to add a scroll bar
if needed. (Doesn't affect the appearance of any existing controls.)

[originally from svn r5621]

19 years agoTone down canonical-name resolution when using getaddrinfo(). Previously
Jacob Nevins [Thu, 7 Apr 2005 22:33:42 +0000 (22:33 +0000)]
Tone down canonical-name resolution when using getaddrinfo(). Previously
we were doing a forward+reverse lookup, which seems above and beyond the
call of duty, especially given that getaddrinfo() can be persuaded to
return a canonical name (this is what unix/uxnet.c does).

Unfortunately, I'm unable to test this at all as Win98 doesn't have
getaddrinfo(); hopefully I'll be able to find a mug with a modern version
of Windows to check it's not completely broken.

I think the effects of this are mostly cosmetic -- the canonical name is
used for window titles (and some people have been annoyed at the new
behaviour), other displays, and probably also for proxy exclusions.

[originally from svn r5614]

19 years agoI always get a lot of personal mail about PuTTY when I send out a
Simon Tatham [Thu, 7 Apr 2005 12:38:17 +0000 (12:38 +0000)]
I always get a lot of personal mail about PuTTY when I send out a
release announcement, because people reply directly to the
putty-announce mail. I should remember to set a Reply-To header next
time.

[originally from svn r5613]

19 years agoOops, forgot to credit Ahmad Khalifa of arabeyes.org for the bidi/shaping work.
Jacob Nevins [Thu, 7 Apr 2005 12:00:01 +0000 (12:00 +0000)]
Oops, forgot to credit Ahmad Khalifa of arabeyes.org for the bidi/shaping work.

[originally from svn r5612]
[this svn revision also touched putty-website]

19 years agoAdd keyboard accelerators for IPv4/IPv6 selections options.
Jacob Nevins [Thu, 7 Apr 2005 01:42:36 +0000 (01:42 +0000)]
Add keyboard accelerators for IPv4/IPv6 selections options.
(Also for `window_border'.)

[originally from svn r5610]

19 years agoIf a new session was saved from Change Settings, a side-effect on Windows was
Jacob Nevins [Thu, 7 Apr 2005 01:36:28 +0000 (01:36 +0000)]
If a new session was saved from Change Settings, a side-effect on Windows was
that the global `sesslist' got out of sync with the saved-sessions submenu,
causing the latter to launch the wrong sessions.

Also, Change Settings wasn't getting a fresh session list, so if the set of
sessions had changed since session startup it wouldn't reflect that (at least
until a session was saved). Fixed (on all platforms).

Therefore, since the global sesslist didn't seem to be useful, I've got rid
of it; config.c creates one as needed, as do the frontends. (Not tried
compiling Mac changes.)

Also, we now build the saved-sessions submenu on demand on Windows and Unix.
(This should probably also be done on the Mac.)

[originally from svn r5609]

19 years agoIn get_sesslist(), when freeing, set freed members to NULL on general
Jacob Nevins [Thu, 7 Apr 2005 01:32:41 +0000 (01:32 +0000)]
In get_sesslist(), when freeing, set freed members to NULL on general
principles.

[originally from svn r5608]

19 years agoRemove support for the "rijndael256-cbc", "rijndael192-cbc", and
Ben Harris [Wed, 6 Apr 2005 23:40:30 +0000 (23:40 +0000)]
Remove support for the "rijndael256-cbc", "rijndael192-cbc", and
"rijndael128-cbc" names for AES.  These are in the IANA namespace, but
never appeared in any secsh-transport draft, and no version of OpenSSH
has supported them without also supporting the aes*-cbc names.

"rijndael-cbc@lysator.liu.se" gets to live because it's in the private
namespace.

[originally from svn r5607]

19 years agoImplement SDCTR modes, as defined in the newmodes draft. This adds
Ben Harris [Wed, 6 Apr 2005 23:27:08 +0000 (23:27 +0000)]
Implement SDCTR modes, as defined in the newmodes draft.  This adds
aes128-ctr, aes192-ctr, and aes256-ctr.  blowfish-ctr and 3des-ctr are
present but disabled, since I haven't tested them yet.

In addition, change the user-visible names of ciphers (as displayed in the
Event Log) to include the mode name and, in Blowfish's case, the key size.

[originally from svn r5605]

19 years ago`xp-wont-run': Apparently my application-manifest trims of r5534 aren't
Jacob Nevins [Wed, 6 Apr 2005 22:16:42 +0000 (22:16 +0000)]
`xp-wont-run': Apparently my application-manifest trims of r5534 aren't
acceptable on all versions of XP. Bah. Revert to pre-r5534 format (but
keep version number as 0.0.0.0). People who've had this problem have
reported putty.mft to make it go away.

NB, putting these updated manifests alongside the executable (e.g. as
`putty.exe.manifest') is also reported to work.

[originally from svn r5604]
[r5534 == deadab0900aec14efa94a116b4cb4f1f4536757c]
[this svn revision also touched putty-wishlist]

19 years agoVersion number and other tweakings prior to the 0.58 release. 0.58
Simon Tatham [Tue, 5 Apr 2005 19:36:25 +0000 (19:36 +0000)]
Version number and other tweakings prior to the 0.58 release.

[originally from svn r5598]

19 years agotweak wording in "pscp -ls"
Jacob Nevins [Tue, 5 Apr 2005 18:38:26 +0000 (18:38 +0000)]
tweak wording in "pscp -ls"

[originally from svn r5597]

19 years agoadd XXX-REMOVE-BEFORE-RELEASE re uninstaller
Jacob Nevins [Tue, 5 Apr 2005 18:15:41 +0000 (18:15 +0000)]
add XXX-REMOVE-BEFORE-RELEASE re uninstaller

[originally from svn r5596]

19 years agoAdd target to build `info' file.
Jacob Nevins [Tue, 5 Apr 2005 18:11:31 +0000 (18:11 +0000)]
Add target to build `info' file.
We probably already require a new enough version of Halibut that this isn't
a problem; nevertheless, I've put it in a separate target for now.

[originally from svn r5595]

19 years agoAdd versionid for index.
Jacob Nevins [Tue, 5 Apr 2005 18:03:13 +0000 (18:03 +0000)]
Add versionid for index.
Also plumb in pgpkeys.but versionid.

[originally from svn r5594]

19 years agoIndex the complete PuTTY manual.
Jacob Nevins [Tue, 5 Apr 2005 18:01:32 +0000 (18:01 +0000)]
Index the complete PuTTY manual.
This was a bit rushed, and could doubtless be improved.
Also fix a couple of things I noted on the way, including:
 - "pscp -ls" wasn't documented
 - Windows XP wasn't mentioned enough

[originally from svn r5593]

19 years agoNULL needs to be cast to void * when passed to a variadic function like
Ben Harris [Mon, 4 Apr 2005 13:44:45 +0000 (13:44 +0000)]
NULL needs to be cast to void * when passed to a variadic function like
execl().  Spotted by Damien Miller.

[originally from svn r5592]

19 years ago#ifdef out expensive combining-character/scrollback diagnostics (for now).
Jacob Nevins [Fri, 1 Apr 2005 13:25:13 +0000 (13:25 +0000)]
#ifdef out expensive combining-character/scrollback diagnostics (for now).

[originally from svn r5589]

19 years agosk_address_is_local() was ignoring the possibility that a SockAddr
Simon Tatham [Fri, 1 Apr 2005 08:46:26 +0000 (08:46 +0000)]
sk_address_is_local() was ignoring the possibility that a SockAddr
might have an IPv4 address in `ai' rather than in `addresses'.
Thanks to Martin Prikryl for pointing this out.

[originally from svn r5587]

19 years agoAdd text to the troubleshooting chapter about the errors that can be
Simon Tatham [Thu, 31 Mar 2005 18:52:21 +0000 (18:52 +0000)]
Add text to the troubleshooting chapter about the errors that can be
caused when an active connection times out due to outgoing data
exceeding its maximum number of retries, and mention that this can
occur even when you didn't think you'd sent anything due to rekeys
and/or keepalives.

Unix generates ETIMEDOUT in this situation. Windows, it turns out
after doing an actual experiment by disabling my firewall, generates
ECONNABORTED! So _that's_ what it means under Windows. I wish I'd
done this experiment years ago now.

[originally from svn r5585]

19 years agoFAQ entry on rekeys: Jacob would like to pre-emptively try to avoid
Simon Tatham [Thu, 31 Mar 2005 13:45:41 +0000 (13:45 +0000)]
FAQ entry on rekeys: Jacob would like to pre-emptively try to avoid
the possibility of people falling back to SSH-1 just because it gets
rid of the irritating delays.

[originally from svn r5584]

19 years agoBeef up the `unfinished and experimental' warnings for the two Mac
Simon Tatham [Thu, 31 Mar 2005 12:25:48 +0000 (12:25 +0000)]
Beef up the `unfinished and experimental' warnings for the two Mac
ports, mentioning in particular that even if you downloaded a
_release_ source archive these particular ports are not considered
to be of release quality.

[originally from svn r5583]

19 years agoXXX-REMOVE-BEFORE-RELEASE: check docs too
Jacob Nevins [Thu, 31 Mar 2005 09:02:07 +0000 (09:02 +0000)]
XXX-REMOVE-BEFORE-RELEASE: check docs too

[originally from svn r5574]

19 years agoFurther fix for lcc-win32. The PuTTY suite now compiles fine for me
Simon Tatham [Wed, 30 Mar 2005 19:33:24 +0000 (19:33 +0000)]
Further fix for lcc-win32. The PuTTY suite now compiles fine for me
using lcc-win32 v3.8 (compilation date Mar 2 2005 18:40:17) provided
I pass COMPAT="-DNO_IPV6 -DNO_MULTIMON" on the command line.

[originally from svn r5573]

19 years agofaq-timeout: update for XP
Jacob Nevins [Wed, 30 Mar 2005 10:20:31 +0000 (10:20 +0000)]
faq-timeout: update for XP

[originally from svn r5565]

19 years ago<1112163342.018492.101240@f14g2000cwb.googlegroups.com> on
Simon Tatham [Wed, 30 Mar 2005 08:27:54 +0000 (08:27 +0000)]
<1112163342.018492.101240@f14g2000cwb.googlegroups.com> on
comp.security.ssh contains a Dr Watson log which looks to me as if
`unclean-close-crash' occurred due to a rekey timer going off after
the session had closed. Hence, ssh2_timer() now avoids doing
anything if the session is already closed, and also ssh_do_close()
proactively calls expire_timer_context(). Between those I think they
ought to solve the problem.

[originally from svn r5564]

19 years agoSmall markup fixes I just noticed, mostly use of literal double
Simon Tatham [Tue, 29 Mar 2005 14:24:14 +0000 (14:24 +0000)]
Small markup fixes I just noticed, mostly use of literal double
quotes where \q{} would be better.

[originally from svn r5562]

19 years agoAfter we receive EOF on stdin, we should clear ssh->send_ok so that
Simon Tatham [Tue, 29 Mar 2005 13:10:33 +0000 (13:10 +0000)]
After we receive EOF on stdin, we should clear ssh->send_ok so that
we stop trying to read anything further from stdin. Otherwise we
send a continuous stream of SSH2_MSG_CHANNEL_EOF.

[originally from svn r5561]

19 years agoRender timing.c robust in the face of strangeness. The strangenesses
Simon Tatham [Mon, 28 Mar 2005 17:48:24 +0000 (17:48 +0000)]
Render timing.c robust in the face of strangeness. The strangenesses
in question vary per OS: on Windows the problem is that WM_TIMER
sometimes goes off too early, so that GetTickCount() is right and
the callback time is wrong, whereas on Unix the problem is that my
GETTICKCOUNT implementation comes from the system clock which means
it can change suddenly and non-monotonically if the sysadmin is
messing about (meaning that the timing of callbacks from GTK or
select timeouts is _more_ likely to be right than GETTICKCOUNT).
This checkin provides band-aid workarounds for both problems, which
aren't pretty but ought to at least prevent catastrophic assertion
failure.

[originally from svn r5556]

19 years agoIn fact, I'll document the wrinkle with "plink -load", rather than just
Jacob Nevins [Thu, 24 Mar 2005 02:22:21 +0000 (02:22 +0000)]
In fact, I'll document the wrinkle with "plink -load", rather than just
wittering about it on a mailing list.

[originally from svn r5550]

19 years agoFix comment re dmemdumpl()
Jacob Nevins [Thu, 24 Mar 2005 01:01:24 +0000 (01:01 +0000)]
Fix comment re dmemdumpl()

[originally from svn r5549]

19 years agoSince Markus Kuhn no longer explicitly places wcwidth.c in the public domain,
Jacob Nevins [Wed, 23 Mar 2005 20:23:07 +0000 (20:23 +0000)]
Since Markus Kuhn no longer explicitly places wcwidth.c in the public domain,
it'd probably be generous to list him in the copyrights.

[originally from svn r5548]
[this svn revision also touched putty-website]

19 years ago`wcwidth-upgrade': upgrade to latest wcwidth.c from Markus Kuhn
Jacob Nevins [Wed, 23 Mar 2005 20:04:08 +0000 (20:04 +0000)]
`wcwidth-upgrade': upgrade to latest wcwidth.c from Markus Kuhn
<http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c>.
This is identified both internally and in HTTP headers as 2003-05-20,
for Unicode 4.0.

Only changes from upstream are to make mk_wcwidth_cjk() non-static and to
#include "putty.h" for prototypes.

The status of some code points has changed; see the wishlist item. We've
had some feedback from the CJK and Arabic communities that upgrading is
probably the right thing to do.

[originally from svn r5547]
[this svn revision also touched putty-wishlist]

19 years agoAnother fix from Hung-Te Lin; apparently in some IMEs (such as
Jacob Nevins [Wed, 23 Mar 2005 01:08:18 +0000 (01:08 +0000)]
Another fix from Hung-Te Lin; apparently in some IMEs (such as
"MS NewPhonetics"), move events (arrow keys) were being doubled up,
apparently because we turned both KEYDOWN and KEYUP events into new
KEYDOWN events.

I don't claim to understand the precise effect of this patch :( but
I'm reasonably confident that it only affects IME users, and experimentally
it doesn't seem to break anything obvious, so if piaip says it makes
things better that's good enough for me :)

[originally from svn r5545]

19 years agoFix my fix (r5539) to the `multi-changesettings-crash' fix. Ahem.
Jacob Nevins [Tue, 22 Mar 2005 23:25:21 +0000 (23:25 +0000)]
Fix my fix (r5539) to the `multi-changesettings-crash' fix. Ahem.

[originally from svn r5543]
[r5539 == 5b695d81ade64effdbe36d0516fc72362bff78e6]

19 years agoAdd an option to use wcwidth_cjk() instead of wcwidth(), as several people
Jacob Nevins [Tue, 22 Mar 2005 23:20:23 +0000 (23:20 +0000)]
Add an option to use wcwidth_cjk() instead of wcwidth(), as several people
have asked for it.

[originally from svn r5542]

19 years agoHung-Te Lin spotted that the `multi-changesettings-crash' workaround for Windows
Jacob Nevins [Mon, 21 Mar 2005 22:20:22 +0000 (22:20 +0000)]
Hung-Te Lin spotted that the `multi-changesettings-crash' workaround for Windows
would prevent a user opening Change Settings if they'd cancelled a previous
Change Settings.

[originally from svn r5539]

19 years agoMention PUTTY.RND by name
Jacob Nevins [Mon, 21 Mar 2005 17:43:59 +0000 (17:43 +0000)]
Mention PUTTY.RND by name

[originally from svn r5538]

19 years agoMartin Trautmann spotted a bare char being passed to isspace.
Simon Tatham [Mon, 21 Mar 2005 13:46:16 +0000 (13:46 +0000)]
Martin Trautmann spotted a bare char being passed to isspace.

[originally from svn r5536]

19 years agoTrim application manifests as much as MS' documentation and Owen's experiments
Jacob Nevins [Mon, 21 Mar 2005 01:51:22 +0000 (01:51 +0000)]
Trim application manifests as much as MS' documentation and Owen's experiments
on XP allow while still having the desired effect -- this allows removal of
some fibs.
Also, change version number to 0.0.0.0 in preparation for `win-versioninfo'
(not that we found anything that took any notice of the version number
declared here).

[originally from svn r5534]

19 years agoImprovement for IME font display from Hung-Te Lin.
Jacob Nevins [Mon, 21 Mar 2005 01:05:38 +0000 (01:05 +0000)]
Improvement for IME font display from Hung-Te Lin.
Not tested, but it appears only to affect Glenn Maynard's r1406 code from
<20011006170741.A23470@zewt.org> and nothing else, so seems harmless enough.

[originally from svn r5533]
[r1406 == d9f7fc44bc177da552a14b879c199cc99f991e19]

19 years agoAdd comments about default processing in DialogProc/WindowProc, since I
Jacob Nevins [Sun, 20 Mar 2005 22:28:13 +0000 (22:28 +0000)]
Add comments about default processing in DialogProc/WindowProc, since I
often forget the rules.

[originally from svn r5532]

19 years agoRevert last change: Some versions of the GNU C Library (notably SUSE
Ben Harris [Sat, 19 Mar 2005 19:23:49 +0000 (19:23 +0000)]
Revert last change: Some versions of the GNU C Library (notably SUSE
glibc-2.3.3-118 and Debian libc6 2.3.2.ds1-20) have clock_gettime() and
CLOCK_MONOTONIC in their headers, but not in libc itself, which we can't
detect easily.

[originally from svn r5529]