1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 09:12:24 +00:00
putty-source/windows
Simon Tatham dbbd6eb5ec Fix `win-randseed-location': use SHGetFolderPath() to find the
Application Data directory in preference to the old-fashioned
attempt to find the user's home directory, and use the _local-
machine_ Application Data directory in preference even to that.

SHGetFolderPath() is called via GetProcAddress, so this degrades
gracefully on old Windowses. (Tested myself on Win95.)

As part of this change, we now search for a location for the seed
file separately for reading and writing, so that installing the new
PuTTY should cause a seamless migration as the old seed file is read
from the old location and then a new one written to the new location.

`putty -cleanup' attempts to delete the seed file from _all_
affected locations.

Naturally, a user-specified seed file path in the Registry still
takes priority over all other means of finding the location.

[originally from svn r7082]
2007-01-09 18:05:17 +00:00
..
pageant.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
pageant.mft `xp-wont-run': Apparently my application-manifest trims of r5534 aren't 2005-04-06 22:16:42 +00:00
pageant.rc It's a new year. 2007-01-01 21:19:14 +00:00
pageants.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
plink.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
pscp.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
pscp.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
psftp.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
putty.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
putty.iss Nearly forgot: add the .CHM to the PuTTY installer. This involves 2006-12-28 10:39:56 +00:00
putty.mft `xp-wont-run': Apparently my application-manifest trims of r5534 aren't 2005-04-06 22:16:42 +00:00
putty.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
puttycfg.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
puttygen.ico Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
puttygen.mft `xp-wont-run': Apparently my application-manifest trims of r5534 aren't 2005-04-06 22:16:42 +00:00
puttygen.rc It's a new year. 2007-01-01 21:19:14 +00:00
puttytel.rc `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
rcstuff.h `win-versioninfo': all builds of all Windows binaries now contain 2005-10-04 14:13:28 +00:00
sizetip.c Sprinkle some header comments in various files in an attempt to explain what 2006-04-23 18:26:03 +00:00
version.rc2 It's a new year. 2007-01-01 21:19:14 +00:00
website.url Now that we have Subversion's file renaming ability, it's time at 2004-11-16 22:14:56 +00:00
win_res.h Sprinkle some header comments in various files in an attempt to explain what 2006-04-23 18:26:03 +00:00
win_res.rc2 It's a new year. 2007-01-01 21:19:14 +00:00
wincfg.c Inhibit the Serial configuration panel in mid-session if the session 2006-08-29 09:18:09 +00:00
wincons.c After discussion with Jeroen Massar, here's a patch (mostly his) 2006-12-23 09:04:27 +00:00
winctrls.c Initial support for HTML Help. All the ad-hoc help-file finding code 2006-12-17 11:16:07 +00:00
windefs.c Support for Windows PuTTY connecting straight to a local serial port 2006-08-28 10:35:12 +00:00
windlg.c The remaining issue in `win-askappend-multi' appears to have been 2007-01-08 19:38:39 +00:00
window.c Reinstate RDB's pending_netevent mechanism, which was removed in 2007-01-07 12:40:21 +00:00
winhandl.c Add a mini-rant to the top comment explaining why threads are 2006-09-03 12:55:16 +00:00
winhelp.c Add a NO_HTMLHELP option, and enable it by default in the Cygwin Makefile, 2006-12-28 20:56:01 +00:00
winhelp.h Initial support for HTML Help. All the ad-hoc help-file finding code 2006-12-17 11:16:07 +00:00
winmisc.c Move SaneDialogBox()/SaneEndDialog() from winmisc.c to windlg.c, since they 2005-02-27 23:57:17 +00:00
winnet.c The remaining issue in `win-askappend-multi' appears to have been 2007-01-08 19:38:39 +00:00
winnoise.c Stir in process ID at start. 2005-04-22 15:47:28 +00:00
winpgen.c Initial support for HTML Help. All the ad-hoc help-file finding code 2006-12-17 11:16:07 +00:00
winpgnt.c Initial support for HTML Help. All the ad-hoc help-file finding code 2006-12-17 11:16:07 +00:00
winpgntc.c The Windows HANDLE type, despite being a `void *', does not actually 2006-08-29 18:32:44 +00:00
winplink.c Explicitly closing logctx on various kinds of error exit means that 2006-08-29 18:50:07 +00:00
winprint.c Now that we have Subversion's file renaming ability, it's time at 2004-11-16 22:14:56 +00:00
winproxy.c Fix line endings (svn:eol-style properties and actual CRs). 2006-08-28 11:13:56 +00:00
winser.c The Windows HANDLE type, despite being a `void *', does not actually 2006-08-29 18:32:44 +00:00
winsftp.c The Windows HANDLE type, despite being a `void *', does not actually 2006-08-29 18:32:44 +00:00
winstore.c Fix `win-randseed-location': use SHGetFolderPath() to find the 2007-01-09 18:05:17 +00:00
winstuff.h The remaining issue in `win-askappend-multi' appears to have been 2007-01-08 19:38:39 +00:00
wintime.c Sprinkle some header comments in various files in an attempt to explain what 2006-04-23 18:26:03 +00:00
winucs.c Now that we have Subversion's file renaming ability, it's time at 2004-11-16 22:14:56 +00:00
winutils.c Initial support for HTML Help. All the ad-hoc help-file finding code 2006-12-17 11:16:07 +00:00