summary refs log tree commit diff stats
path: root/src/common/url.c
AgeCommit message (Collapse)Author
2014-09-01Fix DOMAIN and EMAIL patterns.LightningW
Closes #1107
2013-10-23Match nick last when checking urlJahan Addison
Closes #796
2013-10-22url_check_line () now recognizes all urlsDiogo Sousa
previously it only recognized url with "://" after the scheme. Urls without a scheme are purposely not recognized by this function. Fixes #701 Closes #815
2013-10-22make_re() now doesn't free the argument.Diogo Sousa
This is good practice and also helped simplifying re_*() functions.
2013-09-23Only underline the channel part if nick prefixTingPing
2013-09-23Fix url detection of channel with nick prefixTingPing
Closes #769
2013-08-13Allow multiple channels in url, fix nick reFarow
- Multiple channels have to be separated by a comma - Fix #nick becoming a url for nick instead of #nick
2013-08-13Channel url and cursor fixFarow
- Allow colons in channel urls - Only add the channel part in the context menu - Fix cursor not changing between separator and url
2013-08-02Fixed memory leak.Diogo Sousa
2013-08-01Indentation fix.Diogo Sousa
2013-08-01Now nickname and channel matching is server aware: we only match words thatDiogo Sousa
have the prefixes the server uses. The url regex matching was designed to be more versatile. This was needed to disambiguate matches between nicks and channels, since they may have common prefixes now (&+!). In case of ambiguity, when the server supports prefixes that are common to both channels and nicknames, we choose the nickname (the nickname only matches if there is a user with that nick in the current session). Fixes #655.
2013-07-19Permit dot-less domain namesAnton Backer
Fixes #523
2013-06-19Add more uri schemesTingPing
2013-06-19Detect Spotify URIsTingPing
2013-06-18Added a few more useful url schemes.Diogo Sousa
2013-06-18Removed unused argument of make_re().Diogo Sousa
2013-06-18Now url_check_word() returns WORD_HOST6 when a ipv6 address is matched.Diogo Sousa
2013-06-17Fix IPv6 addr matching in url: must be enclosed in [].Diogo Sousa
2013-06-16Refined IPv6 address matching in url.c.Diogo Sousa
2013-06-16Added support for passwords in userinfo of urls.Diogo Sousa
2013-06-16Fixed irc:// and ircs:// url matching: irc://freenode was not working becauseDiogo Sousa
"freenode" doesn't match a hostname.
2013-06-16Fixed file:// url matching.Diogo Sousa
2013-06-16Rework url matching to make it easier to add schemes.Diogo Sousa
The new way allows great control of what a url is composed of. Added a bunch of new schemes.
2013-06-16Improved host matching in url:Diogo Sousa
* Refined ipv4 addr * Added ipv6 addr
2013-04-19In do_an_re() put WORD_CHANNEL before WORD_HOST. fixes #440RichardHitt
2013-04-06Allow nick starting with digit despite rfc 2812 violationRichardHitt
2013-03-31Don't clobber data, just adjust url endpointRichardHitt
2013-03-29Strip all \r and \n, not just a single \r.RichardHitt
2013-03-11Fix relative paths on windowsTingPing
2013-02-13Fix bug in url.c at re_host().RichardHitt
Unlike the other re_foo() functions it was not checking immediately and returning if host_ret had already been filled in. This would causes a memory leak since the previous GRegex would be lost.
2013-01-31only detect full paths on windows.TingPing
closes #302
2013-01-16Merge pull request #377 from RichardHitt/issue376TingPing
Parse url according to rfc 1738: add separate define for TLD. Closes 376.
2013-01-15Oops. didn't get the DOMAIN slight change last time. Here it is now.RichardHitt
2013-01-15Prev called anything a URL! Reverted but slight DOMAIN change.RichardHitt
2013-01-15Fix DOMAIN and TLD per rfc 1738, thanks ArnavionRichardHitt
2013-01-14Parse url according to rfc 1738: add separate define for TLD.RichardHitt
2013-01-11Oops, Windows doesn't offer strndup(). Use g_strndup().RichardHitt
2013-01-11Correct nick recognition. Closes 372.RichardHitt
2013-01-08Merge branch 'master' of http://github.com/RichardHitt/hexchatRichard Hitt
2013-01-08Add "ircs://" to the list of URL schemesRichard Hitt
2013-01-03Ywes, nicks can be as short as one character long!RichardHitt
2013-01-03For NICK0 use NICKSPE, not NICKDIGRichardHitt
2013-01-02Also allow URLs of of the form \.[a-z]+\/RichardHitt
2013-01-02I forgot to add case WORD_PATH to do_an_url()'s switch statementRichardHitt
2013-01-02Fix FSF address to be Franklin StreetRichardHitt
2013-01-02overhauling of URL detection, including channel, nick, etc 'words'RichardHitt
2012-12-23fix incorrect FSF addressDan Mashal
2012-11-13Limit url-grabbing to NOTICE, PRIVMSG, TOPIC, 332 (RPL_TOPIC), 372 (RPL_MOTD)Richard Hitt
2012-10-30Eliminate some more warningsBerke Viktor
2012-10-30Nah, even more rebrandingBerke Viktor