Граф коммитов

1973 Коммитов

Автор SHA1 Сообщение Дата
Simon Tatham f6adc8a9e1 Alexey Savelyev's mkfiles.pl patch to support lcc-win32. This has
caused a small amount of extra inconvenience at the tops of .rc
files, but it's been positive overall since lcc has managed to point
out some pedantic errors (typically static/extern mismatches between
function prototypes and definitions) which everything else missed.

[originally from svn r3744]
2004-01-20 20:35:27 +00:00
Simon Tatham bb2ee13a8a Paul van der Meij points out that do_reconfig() should not free
dp.errtitle, since it's also freed in dp_cleanup(). Minefield
agrees. Fixed.

[originally from svn r3743]
2004-01-20 19:46:00 +00:00
Simon Tatham 6ee9738055 Josh Hill's patch for full-screen mode on a multi-monitor system:
clicks in the top left of the window should not be detected by
comparing the coordinates with (0,0) since this won't work on
secondary monitors.

[originally from svn r3742]
2004-01-20 19:41:43 +00:00
Simon Tatham 9601124a7a Mark Wutzke points out that the comment in sk_proxy_set_frozen()
states that plug_receive() may recurse back into
sk_proxy_set_frozen() again. Therefore, bufchain_consume() should
have been called _before_ calling plug_receive(), to prevent an
infinite loop overflowing the stack. I can't immediately figure out
under what circumstances this might happen, but it seems an
obviously sensible precaution.

[originally from svn r3741]
2004-01-20 19:30:41 +00:00
Jacob Nevins 352ec6a486 `portfwd-loopback-choice' was not consistently documented.
- update usage info in tools
   - ack, plink is over 24 lines now
 - update man pages for Unix version
 - Doc changes:
   - move long description from (GUI) "config" to "using"
     - sorry if complete specification isn't what this section is meant for,
       but if you only read "using" it was hard to find.
   - ensure enough references to this made in other sections (GUI,
     command-line)
   - update instance of plink usage info

[originally from svn r3740]
2004-01-20 12:46:36 +00:00
Simon Tatham 2dd7514b07 Idiot me _twice_! The new store_host_key() was failing in the
absence of an existing host key file. Duhh.

[originally from svn r3737]
2004-01-19 09:37:17 +00:00
Jacob Nevins b4b7ebd5e3 Re local X server auth, clarify that it's _us_ you should mail, and link
to the Feedback section.

[originally from svn r3734]
2004-01-19 00:19:32 +00:00
Simon Tatham 33a59e78f1 Memory management fixes. Fixed a segfault in SSH1 compression
cleanup noticed by Gerhard Wiesinger, and also fixed some memory
leaks spotted by valgrind while debugging same.

[originally from svn r3726]
2004-01-18 09:14:41 +00:00
Simon Tatham 5a11f18569 Oops, two lines moved out of my snapshot script should have been
left there! Bah.

[originally from svn r3725]
2004-01-18 08:45:50 +00:00
Simon Tatham 0f259c23ea Various uninitialised-variable accesses picked up by valgrind.
[originally from svn r3723]
2004-01-17 14:25:36 +00:00
Simon Tatham 6d7cc86470 Building source archives for previous releases has always been a
fiddly process. Let's have a magic script designed to do it right.

[originally from svn r3722]
2004-01-17 14:17:21 +00:00
Simon Tatham fb8d264f28 Joe Yates's patch to make mkfiles.pl generate Visual Studio project
files as well as an nmake makefile. Needed line-end tweakery in
order to be able to generate usable project files when run on Unix,
but other than that appears fine. Ooh!

[originally from svn r3721]
2004-01-17 13:48:40 +00:00
Simon Tatham b601727068 So _that's_ why mkfiles.pl was running so slowly on my Windows box!
&findfile() now caches its results. At least one full order of
magnitude speedup when running on an SMB-mounted volume. Phew.

[originally from svn r3720]
2004-01-17 13:24:59 +00:00
Simon Tatham 276c8335af Idiot me! store_host_key() was blindly _appending_ new host keys to
the end of the host key file. This is perfectly all right if a host
key never changes, but it's completely useless if you need to
replace an existing entry. This version should do better.

[originally from svn r3719]
2004-01-17 13:00:18 +00:00
Simon Tatham 2817a7e150 It's a new year.
[originally from svn r3679]
[this svn revision also touched putty-website]
2004-01-01 16:47:55 +00:00
Simon Tatham c53056f95c Joe Yates's memory leak patch was overenthusiastically freeing
things; it called freebn on the DH gex values even if DH gex had not
taken place. Bug was trivially reproducible as a NULL-dereference
segfault by making any SSH2 connection with DH gex disabled. Should
now be fixed.

[originally from svn r3678]
2004-01-01 16:42:48 +00:00
Simon Tatham cf0cfba9ca D'oh! WideFont and WideBoldFont were being read from session files,
but not written. I _thought_ something odd was happening with my
UTF-8 pterms.

[originally from svn r3673]
2003-12-31 16:09:55 +00:00
Simon Tatham 7a1eae7ff2 Joe Yates's memory leak patches.
[originally from svn r3650]
2003-12-19 12:44:46 +00:00
Simon Tatham 20bc740780 Andy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
benefit from _also_ being conditional on NO_MULTIMON not being
defined, to prevent the possibility of only half the multimon code
being included.

[originally from svn r3644]
2003-12-16 18:28:43 +00:00
Jacob Nevins 79ffeb97fc tweak for consistency with previous checkin
[originally from svn r3622]
2003-12-04 00:10:07 +00:00
Jacob Nevins 5438acd044 Fix from Michael Wardle in bell error message
[originally from svn r3619]
2003-12-03 23:32:47 +00:00
Jacob Nevins e9b9df0fb9 Spotted by Tim Kosse: reput on an already complete file was hanging.
Should be fixed now (we only wait for packets if we know there are some
that haven't been replied to yet).

[originally from svn r3618]
2003-12-03 23:25:48 +00:00
Jacob Nevins 40af5d16a3 Add updating the wishlist to the Release checklist
[originally from svn r3615]
2003-12-03 22:49:32 +00:00
Jacob Nevins 1c1c9d3ccf fflush(stdout) after each line of stats
[originally from svn r3614]
2003-12-03 22:45:32 +00:00
Jacob Nevins d80be3891a Fix for `logging-save-default': allow logging settings to be saved with
Default Settings.

[originally from svn r3610]
2003-12-03 19:17:14 +00:00
Jacob Nevins 55402ab183 I think the time has come for PuTTYgen to mention "authorized_keys" instead
of "authorized_keys2" by default. I believe this change was made in OpenSSH
around June 2001, so any versions which it applies should have been replaced
by now for other reasons.
(The docs still adequately document the confusion surrounding this)

[originally from svn r3577]
2003-11-24 13:40:58 +00:00
Simon Tatham f9f6763a0e Trivial braino in parsing of the port forwarding config data. Was
causing all port forwardings after the first dynamic one to be
ignored.

[originally from svn r3572]
2003-11-22 14:50:57 +00:00
Simon Tatham c4f157a4e5 Introduce a new mouse handling option, in which the right button
brings up the context menu (and you can then paste by selecting
`Paste'). Should be more friendly to Windows-oriented users as
opposed to expatriate X users; also has the effect of making it more
difficult to paste into PuTTY by a single misplaced mouse click,
which has been a common theme of complaint recently.
For the moment, `Compromise' (the X-like behaviour with the right
and middle buttons reversed so that two-button users still get the
two most important functions) is still the default. I'm uncertain
that it might not be better to make the new option the default,
though, since the compromise option is optimal for _nobody_.

[originally from svn r3565]
2003-11-20 18:41:12 +00:00
Simon Tatham 5ff8c668e4 Move the `translation of line drawing characters when pasting'
option from the Selection panel to the Translation panel (where it
fits at least as well). This frees a line in the Selection panel
which I'm about to use for an additional mouse handling option.

[originally from svn r3564]
2003-11-20 18:33:22 +00:00
Simon Tatham 890582d297 Introduce a context menu which appears on Ctrl+rightclick. This menu
contains all the stuff in the System menu except for the standard
System menu bits (move, resize, close etc), and also contains `Paste'.

[originally from svn r3555]
2003-11-19 20:48:30 +00:00
Jacob Nevins 9f98f81271 Make that last checkin more explicit, and in particular reference the
"common errors" section of the documentation.

[originally from svn r3554]
2003-11-19 19:09:07 +00:00
Jacob Nevins 2778f4b825 Soften language in `faq-incorrect-mac': buggy ssh.com servers aren't the
only possible reason for this message.

[originally from svn r3553]
2003-11-19 19:03:24 +00:00
Simon Tatham a06375ab96 I _think_ this should fix the problem reported by `Stacey': failure
to fclose a private key file.

[originally from svn r3552]
2003-11-19 17:30:16 +00:00
Jacob Nevins a9e286ad57 Cosmetic fix from Daniel Fazekas: apparently we were failing to allow
window-furniture in Playschool Windows be animated on mouse-over. This
fix also seems like the Right Thing to do. I've tried it and it seems
harmless enough on Win2K.

[originally from svn r3536]
2003-11-06 14:17:56 +00:00
Simon Tatham f4a4551d5b We now mention the version number on the Download page, so I'd
better remember to change it next time :-)

[originally from svn r3528]
2003-11-03 13:59:46 +00:00
Simon Tatham d76a39d547 Close the host keys file after use. Well spotted Theo Markettos.
[originally from svn r3526]
2003-10-31 21:45:15 +00:00
Simon Tatham 69efc93547 Hmm, that relative link wasn't too good. Try a more helpful one.
Also add to the release checklist so that I'll remember to set this
up properly in the next set of release docs...

[originally from svn r3525]
2003-10-30 10:41:59 +00:00
Simon Tatham f9abc2b092 Move the reference to sitestyle.css out into a separate .but file
which is only included if you explicitly tell the docs Makefile to
do so. Also make it a relative reference, while we're at it.

[originally from svn r3524]
2003-10-30 10:30:23 +00:00
Jacob Nevins 7bc5b64c20 Fix usage comments
[originally from svn r3519]
2003-10-21 13:26:12 +00:00
Jacob Nevins 82d093c549 Update faq-pscp-ascii.
[originally from svn r3509]
2003-10-15 12:09:24 +00:00
Jacob Nevins a90f643907 Add `--unix' mode to generate ~/.putty/sshhostkeys from known_hosts.
(should now be called `kh2putty.py')

[originally from svn r3508]
2003-10-14 23:23:28 +00:00
Jacob Nevins f2676b6ccc Remove dead comment about writing settings, and query one about reading them.
[originally from svn r3507]
2003-10-14 21:01:12 +00:00
Jacob Nevins 9860f1a10c We now have Unix ports of PSCP and PSFTP.
[originally from svn r3506]
2003-10-14 19:57:50 +00:00
Simon Tatham 4d76ca6658 Actually fix winnet-if2lo, I think. Tested in an ad-hoc manner by
deliberately making a connection from nemesis's real IP address to
its loopback address; not tested in the original failing case of SMB.

[originally from svn r3503]
2003-10-12 14:12:54 +00:00
Simon Tatham e30aed9a6f The WinSock library is now loaded at run-time, which means we can
attempt to load WS2 and then fall back to WS1 if that fails. This
should allow us to use WS2-specific functionality to find out the
local system's list of IP addresses, thus fixing winnet-if2lo, while
degrading gracefully back to the previous behaviour if that
functionality is unavailable. (I haven't yet actually done this; I've
just laid the groundwork.)
This checkin _may_ cause instability; it seemed fine to me on
initial testing, but it's a bit of an upheaval and I wouldn't like
to make bets on it just yet.

[originally from svn r3502]
2003-10-12 13:46:12 +00:00
Jacob Nevins 8e2fd15bd5 Remove all the "assert(len>0)" which forbade zero-length writes across the
from_backend() interface, after having made all implementations safe against
being called with len==0 and possibly-NULL/undefined "data".

(This includes making misc.c:bufchain_add() more robust in this area.)

Assertion was originally added 2002-03-01; e.g., see plink.c:1.53 [r1571].

I believe this now shouldn't break anything.

This should hopefully make `ppk-empty-comment' finally GO AWAY. (Tested
with Unix PuTTY.)

[originally from svn r3500]
[r1571 == fdbd697801]
2003-10-12 13:16:39 +00:00
Jacob Nevins 5415873b3f Add random commentary to SOCKS code.
Also fix what I think are a couple of very minor bugs in SOCKS4; one won't
affect anyone AFAIK, and the other is unlikely to cause trouble.

[originally from svn r3497]
2003-10-10 22:58:53 +00:00
Jacob Nevins 4de860abcf In SOCKS5 dynamic forwarding, we were echoing back DST.{ADDR,PORT} as
BND.{ADDR,PORT}. Besides being clearly wrong, correspondence with
Sascha Schwarz suggests that this can confuse some SOCKS5 clients
(Aventail and sockscap32) which seem to assume that the reply must
have ATYP=1 (IPv4 literal) and so get the length wrong.

Now all replies have ATYP=1 with BND.{ADDR,PORT} = 0.0.0.0:0 -- this
apparently follows practice in OpenSSH. (We don't have enough info to
fill these fields in correctly.)

[originally from svn r3496]
2003-10-10 21:20:01 +00:00
Jacob Nevins c8a6df1e1c missed a bit in last commit
[originally from svn r3490]
2003-10-08 21:39:54 +00:00
Owen Dunn a03d04ba75 Cosmetic, to fix ssh2-des-cbc-is-std
[originally from svn r3488]
2003-10-08 20:09:55 +00:00