Initial checkin of WinURL. Does nothing as yet, but it makes a nice
neat skeleton for a Systray app.


git-svn-id: svn://svn.tartarus.org/sgt@1625 cda61777-01e9-0310-a592-d414129be87e
Finished it up as a systray-app skeleton: added an About box and
Licence box, and removed the read_clip() code which would look out
of place in a template. (It'll come back in the next checkin.)


git-svn-id: svn://svn.tartarus.org/sgt@1626 cda61777-01e9-0310-a592-d414129be87e
Actually added the ability to launch URLs. Now seems to be working.


git-svn-id: svn://svn.tartarus.org/sgt@1627 cda61777-01e9-0310-a592-d414129be87e
Add a LICENCE file


git-svn-id: svn://svn.tartarus.org/sgt@1639 cda61777-01e9-0310-a592-d414129be87e
Fix licence text


git-svn-id: svn://svn.tartarus.org/sgt@1640 cda61777-01e9-0310-a592-d414129be87e
Add #include <ctype.h>.


git-svn-id: svn://svn.tartarus.org/sgt@1641 cda61777-01e9-0310-a592-d414129be87e
Include \xA0 (nonbreaking space) in the list of things trimmed out
after newlines. Also trim spaces at the start of the URL as well as
after internal newlines (so you can cut-and-paste line-by-line).


git-svn-id: svn://svn.tartarus.org/sgt@1670 cda61777-01e9-0310-a592-d414129be87e
Fix formatting (never cut-and-paste a diff again)


git-svn-id: svn://svn.tartarus.org/sgt@1671 cda61777-01e9-0310-a592-d414129be87e
Now add an http:// prefix on any putative URL which doesn't have a
protocol header already.


git-svn-id: svn://svn.tartarus.org/sgt@1684 cda61777-01e9-0310-a592-d414129be87e
RegisterHotKey() is really useful! Now Windows-W launches a URL. For
my next trick, maybe it'll become configurable as well...


git-svn-id: svn://svn.tartarus.org/sgt@2580 cda61777-01e9-0310-a592-d414129be87e
If the text in the clipboard isn't a URL (no protocol prefix) but
looks more like an email address than an HTTP URL, prefix `mailto:'
instead of `http://'. Should have thought of that myself. Thanks to
Stuart Begg, who did.


git-svn-id: svn://svn.tartarus.org/sgt@3988 cda61777-01e9-0310-a592-d414129be87e
Norm points out that we could helpfully deal with URL fragments
starting with `//' by prepending just `http:', particularly since
this is the part of a URL selected in PuTTY by a single double-
click. Also, we now support the `-o' command-line option which
causes WinURL to do a single launch operation and then quit.


git-svn-id: svn://svn.tartarus.org/sgt@4233 cda61777-01e9-0310-a592-d414129be87e
Patch from Jacob which I've been sitting on since April: adds
ability to launch multiple URLs in one go, plus recognition of
<URL:...> and <...> bracketing, and other heuristic tweaks.

With this much new sophistication, I'm half inclined to try to
abstract the URL-recognising parts of the code out into a cross-
platform module and turn my ad-hoc Perl URL-launcher-for-Unix into a
C program making use of the same code. On the other hand, that makes
the Unix version _less_ configurable for local issues such as line
wrapping conventions (if I happen to use an IRC client, say, which
indicates wrapped lines with a + at the start then I might
reasonably want to make a _local_ config change which strips those),
so I'm not entirely sure; there seem to be a number of future
directions for this software and they're mostly incompatible. Sigh.


git-svn-id: svn://svn.tartarus.org/sgt@6369 cda61777-01e9-0310-a592-d414129be87e
Arrange to build WinURL using bob.


git-svn-id: svn://svn.tartarus.org/sgt@7251 cda61777-01e9-0310-a592-d414129be87e
Various stuff either suggested or written by Jacob:
 - make text files in zip files use Windows line endings
 - make About box report source revision and basic usage instructions
 - mention Windows+W in README
 - bump copyright year
 - set a default item in the systray menu


git-svn-id: svn://svn.tartarus.org/sgt@7287 cda61777-01e9-0310-a592-d414129be87e
Add execute permission to winurl.exe in the zip files.


git-svn-id: svn://svn.tartarus.org/sgt@8633 cda61777-01e9-0310-a592-d414129be87e