Re-adding my changes to Putty.
pageant: Fixing the tray icon clean up upon exit

For some reason, the icon in the system tray does always not get removed
when the utility closes. This patch closes it.
The main reason for this change is to get rid of the dark blue that shows
up in directory listings when GNU ls has it's color support turned on.
Send log events to the terminal window if ssh->state != SSH_STATE_SESSION (successfully logged in).

git-svn-id: http://futty.googlecode.com/svn/trunk@15 8b5b7008-2324-11df-a154-f73f31f273f6
Avoid seeing duplicate messages from both c_write_str() and logevent() being sent to the terminal by also checking ssh->pkt_actx == SSH2_PKTCTX_NOAUTH
(The only duplicates I see are in the auth code)

git-svn-id: http://futty.googlecode.com/svn/trunk@19 8b5b7008-2324-11df-a154-f73f31f273f6
Added IP ToS support.  (only tested on XP/2003 with Winsock2.2)
IPTOS, if defined, contains the ToS for whatever is being compiled..
PuTTY & PuTTYTel = 0x10 = IPTOS_LOWDELAY
pscp & sftp = 0x08 = IPTOS_THROUGHPUT
plink = 0x04 = IPTOS_RELIABILITY

Notes:
Windows XP/2003 users must set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DisableUserTOSSetting (DWORD) to 0 to be able to set the ToS.
See http://support.microsoft.com/default.aspx?scid=kb;EN-US;q248611

git-svn-id: http://futty.googlecode.com/svn/trunk@24 8b5b7008-2324-11df-a154-f73f31f273f6

Conflicts:

	windows/MSVC/plink/plink.vcxproj
	windows/MSVC/pscp/pscp.vcxproj
	windows/MSVC/psftp/psftp.vcxproj
	windows/MSVC/putty.suo
	windows/MSVC/putty/putty.vcxproj
	windows/MSVC/puttytel/puttytel.vcxproj
Make it possible to disable ssh event logging to the terminal window.
Somebody requested this, and I didn't feel like figuring out how to add an option specifically for it, so it just checks to see if cfg.logomitdata is unset.  (uncheck "Omit session data" in Session/Logging options)

git-svn-id: http://futty.googlecode.com/svn/trunk@34 8b5b7008-2324-11df-a154-f73f31f273f6
Applied putty-0.60-cygterm-20101029.patch
Merge branch 'putty-svn-cygterm-20101029' into futty-new2

Conflicts:
	Recipe
Added utmp support to cthelper.c  (Code taken from mintty/child.c)
Note, there's no way to disable utmp support, so if you don't want this, use the cthelper.exe from puttycyg instead.

git-svn-id: http://futty.googlecode.com/svn/trunk@44 8b5b7008-2324-11df-a154-f73f31f273f6
ADB Enhanced Version
(Updated for the new conf system by FireEgl)
gh-24: Fix shortcut for "Change icon" button
Use two rows for "Connection type" in Session menu

When the "Adb" connection type was added the radio buttons got
extremely squashed together and it was no longer possible to read
their labels completely. Therefore splitting them into two rows
seemed like a good idea to me.

Since the space was quite limited already I also increased the
entire height of the config dialog box by 10. This appeared to be
the better option instead of making the "Sessions" control smaller
in its height.
gh-31: Allow jumplisting from file sessions

Conflicts:

	windows/window.c
Fixed window_icon_handler(), so window/tray icons now work!
Applied putty-0.60-url-cut-20070603.patch
IPv6 address literals work again.
Renamed the WinIcon setting back to WindowIcon.
Everybody that's used PuttyTray over the years has a WindowIcon setting, why rename it now.
Added url to the FuTTY source.