]>
jfr.im git - irc/irssi/irssi.git/log
hawken93 [Sat, 4 Oct 2014 23:03:46 +0000 (01:03 +0200)]
remove container_of, remove some underscores in the process
hawken93 [Sat, 4 Oct 2014 23:02:50 +0000 (01:02 +0200)]
add missing proxy_username setting
hawken93 [Sat, 4 Oct 2014 21:22:50 +0000 (23:22 +0200)]
Removed casts in g_free(), therefore also removed some const declarations
hawken93 [Fri, 3 Oct 2014 23:14:19 +0000 (01:14 +0200)]
Fix compile warnings
hawken93 [Fri, 3 Oct 2014 22:52:26 +0000 (00:52 +0200)]
Fixed stuff broken by the coding style cleanup
hawken93 [Fri, 3 Oct 2014 21:41:57 +0000 (23:41 +0200)]
Change coding style
hawken93 [Fri, 3 Oct 2014 21:30:37 +0000 (23:30 +0200)]
Change coding style
hawken93 [Fri, 3 Oct 2014 15:43:50 +0000 (17:43 +0200)]
no patching unrelated stuff
hawken93 [Fri, 3 Oct 2014 15:34:24 +0000 (17:34 +0200)]
Porting some stuff to modern git version
Enrico Scholz [Wed, 7 Apr 2010 07:50:12 +0000 (09:50 +0200)]
http-proxy: fixed bad return value
Enrico Scholz [Tue, 26 Feb 2008 17:06:02 +0000 (18:06 +0100)]
PROXY: merge proxy methods into buildsystem
This patch adds the code and rules to build the various proxy methods.
Enrico Scholz [Tue, 26 Feb 2008 17:04:40 +0000 (18:04 +0100)]
PROXY/SOCKS5: added methods for SOCKS5 proxies
This patch adds code for connecting through SOCKS5 proxies. It was
primarily written for use with TOR, so there are some open issues:
* it only allows to make proxy requests with full hostnames; ipv4/ipv6 is
not supported
* GSSAPI authentication (which is mentioned as mandatory in RFC 1928) is
not implemented
* plaintext authentication is untested
To use it
* set 'proxy_type' to 'socks5'
Enrico Scholz [Tue, 26 Feb 2008 16:57:14 +0000 (17:57 +0100)]
PROXY/HTTP: added methods for HTTP proxies
This patch adds code for connecting through HTTP proxies. Open issues are:
* support of proxy authentication
* a possible DOS due to the usage of g_io_channel_read_line_string() which
does not allow to specify a maximum length of line.
To use this method:
* set 'proxy_type' to 'http'
Enrico Scholz [Tue, 26 Feb 2008 16:06:58 +0000 (17:06 +0100)]
PROXY/SIMPLE: added simple proxy method
This method implements the string + string_after mechanism implemented by
previous irssi versions.
To use, set
* proxy_type to 'simple' or keep it empty
* string + string_after in the known ways
Enrico Scholz [Tue, 26 Feb 2008 16:29:10 +0000 (17:29 +0100)]
PROXY: implemented native proxy support
This patch creates a hook into the net_connect*() methods which call a
method to connect to a proxy.
Previous solution to send certain strings in the normal IRC dialog was
some kind of hack as most proxies require some kind of negotation.
E.g. HTTP proxies sent a 'HTTP/1.0 200 Connection established' HTTP header
and clients have to wait for it. Else, sent bytes of the following IRC
login will be dropped silently.
With old method, it is also impossible to tunnel SSL IRC connections
through the proxy as proxy speaks plain text or a special protocol while
e.g. 'CONNECT ... HTTP/1.0' will be encrypted with key of IRC server.
There are further enhancements possible: the whole net_connect stuff
should be made asynchronously. Currently, only the hostname is resolved
in the background (which makes little sense of local proxies usually).
Alexander Færøy [Wed, 1 Oct 2014 19:55:56 +0000 (21:55 +0200)]
Merge pull request #140 from sebth/master
Make line splitting fail-safe
Alexander Færøy [Wed, 1 Oct 2014 19:54:00 +0000 (21:54 +0200)]
Merge pull request #142 from dequis/away-with-no-reason
irc_server_send_away: don't send empty param if there's no away reason
Geert Hauwaerts [Thu, 11 Sep 2014 18:20:49 +0000 (20:20 +0200)]
Merge pull request #144 from jubalh/master
source cleanup: remove trailing whitespaces
Michael Vetter [Thu, 11 Sep 2014 17:10:33 +0000 (19:10 +0200)]
source cleanup: remove trailing whitespaces
dequis [Wed, 10 Sep 2014 00:14:07 +0000 (21:14 -0300)]
irc_server_send_away: don't send empty param if there's no away reason
Sebastian Thorarensen [Sun, 31 Aug 2014 22:11:47 +0000 (00:11 +0200)]
Make line splitting fail-safe
The userhost Irssi uses for line splitting can in some cases be wrong,
for instance when a proxy is used or when a server cloaks the hostname
without telling the client. Now Irssi always assumes the userhost is of
maximum length. 10 for username (common value) and 63 for hostname (in
RFC 2812).
Alexander Færøy [Sun, 31 Aug 2014 16:35:15 +0000 (18:35 +0200)]
Head is now 0.8.17-head.
Alexander Færøy [Sun, 31 Aug 2014 16:34:30 +0000 (18:34 +0200)]
Prepare for irssi 0.8.17-rc2.
Alexander Færøy [Tue, 26 Aug 2014 19:49:43 +0000 (21:49 +0200)]
Merge pull request #134 from ailin-nemui/missing-printtext-after-signal
Add the signal for printtext_after that was missed in the original commit.
Ailin Nemui [Mon, 25 Aug 2014 12:50:41 +0000 (14:50 +0200)]
Add the signal for printtext_after that was missed in the original commit.
Now properly sends "gui print text after finished" signal when using
the printtext_after API that was fixed after 0.8.16
Alexander Færøy [Sat, 9 Aug 2014 10:24:45 +0000 (12:24 +0200)]
Merge pull request #123 from ailin-nemui/terminfo-scroll-check-bounds
Add bounds check to array access in terminfo driver.
Ailin Nemui [Sat, 9 Aug 2014 09:40:37 +0000 (11:40 +0200)]
Add bounds check to array access in terminfo driver.
this fixes a crash due to illegal memory access that can occur if
something is printed to the screen on the "terminal resized"
handler. It is not clear to me whether this race condition can be
triggered by external incoming messages, but it might be better safe
than sorry.
tomaw [Fri, 8 Aug 2014 17:57:50 +0000 (18:57 +0100)]
Merge pull request #109 from cpbills/master
Fix right aligned statusbar item redrawing
Geert Hauwaerts [Thu, 7 Aug 2014 21:36:53 +0000 (23:36 +0200)]
Updated ALIAS help
Updated ALIAS help.
Geert Hauwaerts [Thu, 7 Aug 2014 20:00:40 +0000 (22:00 +0200)]
Applied grammar and styling corrections
Applied grammar and styling corrections.
Geert Hauwaerts [Tue, 5 Aug 2014 20:00:30 +0000 (22:00 +0200)]
Syntax rewrite of U-Z commands
Rewrote the syntax documentation of U-Z commands.
Alexander Færøy [Tue, 5 Aug 2014 19:21:37 +0000 (21:21 +0200)]
Merge pull request #118 from ailin-nemui/mirc_blink_fix-fix
fix mirc_blink_fix
Alexander Færøy [Tue, 5 Aug 2014 19:21:02 +0000 (21:21 +0200)]
Merge pull request #121 from dgl/rawlog-fix
Fix rawlog saving after
dac67a5 broke it
David Leadbeater [Tue, 5 Aug 2014 16:21:02 +0000 (17:21 +0100)]
Fix rawlog saving after
dac67a5 broke it
Ailin Nemui [Thu, 31 Jul 2014 00:34:18 +0000 (02:34 +0200)]
fix mirc_blink_fix
the background colours were totally off with mirc_blink_fix
enabled. oops.
reported by wodim
Geert Hauwaerts [Wed, 30 Jul 2014 21:27:41 +0000 (23:27 +0200)]
Fixed a typo in the cmdmax argument
Fixed a typo in the cmdmax argument.
Geert Hauwaerts [Wed, 30 Jul 2014 21:12:39 +0000 (23:12 +0200)]
Updated the documentation for LIST
Updated the documentation for LIST.
Geert Hauwaerts [Wed, 30 Jul 2014 20:24:24 +0000 (22:24 +0200)]
Merge pull request #112 from ailin-nemui/italics-exception
fix rules for italics emphasis
Geert Hauwaerts [Wed, 30 Jul 2014 20:21:37 +0000 (22:21 +0200)]
Removed the default autojoin channels
Removed the default autojoin channels.
Geert Hauwaerts [Wed, 30 Jul 2014 12:29:06 +0000 (14:29 +0200)]
Syntax rewrite for S-commands
Rewrote the syntax documentation for all commands starting with S.
Geert Hauwaerts [Wed, 30 Jul 2014 11:02:26 +0000 (13:02 +0200)]
Removed the obsolete SQUERY and SERVLIST commands
Removed the obsolete SQUERY and SERVLIST commands.
tomaw [Fri, 25 Jul 2014 16:05:19 +0000 (17:05 +0100)]
Fix typo in help for network command
Geert Hauwaerts [Thu, 24 Jul 2014 19:52:01 +0000 (21:52 +0200)]
Merge pull request #111 from ailin-nemui/colour-break
fix colour 0 again
Ailin Nemui [Thu, 24 Jul 2014 07:42:57 +0000 (09:42 +0200)]
fix rules for italics emphasis
while the last patch did stop /path/.xxx from turning italic, it also
stopped any other /emphasis/ from becoming italic. correct this by
testing for ispunct, so spaces are valid italic terminators
Ailin Nemui [Wed, 23 Jul 2014 22:09:48 +0000 (00:09 +0200)]
fix colour 0 again
the previous commit was broken, as it conflicted with the colour
\#000000. Now both the "real colour black" and the "terminal colour 0"
are working.
Geert Hauwaerts [Wed, 23 Jul 2014 21:58:22 +0000 (23:58 +0200)]
Merge pull request #110 from ailin-nemui/colour-break
restore the colour 0 ("black") that got broken by extended colours
Ailin Nemui [Wed, 23 Jul 2014 21:38:38 +0000 (23:38 +0200)]
restore the colour 0 ("black") that got broken by extended colours
the colour 0 was broken by the extended colours patch because it needs
an explicit bit check (lower bits will be false since it is 0)
Thanks to lhynes for the report
Christopher P. Bills [Wed, 23 Jul 2014 02:03:46 +0000 (22:03 -0400)]
Fix right aligned statusbar item redrawing
Fixes Github issue #97 https://github.com/irssi/irssi/issues/97
Fix proposed by ailin-nemui, built and tested on Debian Jessie using
0.8.15 source, tested by GeertHauwaerts as well.
Alexander Færøy [Sun, 20 Jul 2014 17:37:37 +0000 (19:37 +0200)]
Merge pull request #100 from ailin-nemui/24bit-uninitialised
fix uninitialised copy on 24bit colours
Ailin Nemui [Fri, 18 Jul 2014 11:56:02 +0000 (13:56 +0200)]
fix uninitialised copy on 24bit colours
Geert Hauwaerts [Tue, 15 Jul 2014 17:52:56 +0000 (19:52 +0200)]
Syntax rewrite for R-commands
Rewrote the syntax documentation for all commands starting with the
letter R.
Geert Hauwaerts [Mon, 14 Jul 2014 18:38:01 +0000 (20:38 +0200)]
Removed the obsolete RPING command
The RPING command is obsolete.
Geert Hauwaerts [Mon, 14 Jul 2014 11:19:31 +0000 (13:19 +0200)]
Fixing a typo
Fixing a typo.
Alexander Færøy [Sun, 13 Jul 2014 19:27:10 +0000 (21:27 +0200)]
Merge pull request #96 from dgl/news-update
Update NEWS
Alexander Færøy [Sun, 13 Jul 2014 19:24:36 +0000 (21:24 +0200)]
irssi-version.h should only be a phony target if build in maintainer mode
David Leadbeater [Sun, 13 Jul 2014 19:01:08 +0000 (20:01 +0100)]
Update NEWS
Geert Hauwaerts [Sun, 13 Jul 2014 12:10:40 +0000 (14:10 +0200)]
Fixed an example of QUOTE
Fixed an example of QUOTE
Geert Hauwaerts [Sat, 12 Jul 2014 20:41:28 +0000 (22:41 +0200)]
Merge pull request #94 from dajohi/uninitialized
Avoid using uninitalized values.
David Hill [Sat, 12 Jul 2014 20:35:42 +0000 (16:35 -0400)]
Avoid using uninitalized values.
Geert Hauwaerts [Sat, 12 Jul 2014 16:46:44 +0000 (18:46 +0200)]
Syntax documentation rewrite for Q-commands
Rewrote the syntax documentation for all commands starting with the
letter Q.
Geert Hauwaerts [Fri, 11 Jul 2014 14:32:20 +0000 (16:32 +0200)]
Aligned the help for DEOP, DEVOICE and OP
Aligned the help for DEOP, DEVOICE and OP
Geert Hauwaerts [Thu, 10 Jul 2014 18:43:52 +0000 (20:43 +0200)]
Syntax documentation rewrite of O and P commands
Rewrote the syntax documentation of the commands starting with the
letters O and P.
Geert Hauwaerts [Wed, 9 Jul 2014 16:33:10 +0000 (18:33 +0200)]
Removed the obsolete NOTE command
I removed the binding for the NOTE command that doesn't exist anymore on
any major network.
Geert Hauwaerts [Wed, 9 Jul 2014 16:21:39 +0000 (18:21 +0200)]
Syntax documentation rewrite for N-commands.
Rewrote the syntax documentation for all commands starting with the
letter N.
Alexander Færøy [Tue, 8 Jul 2014 19:10:01 +0000 (21:10 +0200)]
Merge pull request #90 from ailin-nemui/italics-exception
more strict rules for italic emphasis to avoid file name clashes
Geert Hauwaerts [Tue, 8 Jul 2014 19:02:35 +0000 (21:02 +0200)]
Syntax documentation rewrite for M-commands
Rewrote the syntax documentation for all commands starting with the
letter M.
Ailin Nemui [Tue, 8 Jul 2014 11:42:06 +0000 (13:42 +0200)]
more strict rules for italic emphasis to avoid file name clashes
this additional check avoids /root/.hiddendir from italicising /root/,
because that is often used in path names
Geert Hauwaerts [Tue, 8 Jul 2014 10:00:45 +0000 (12:00 +0200)]
Merge pull request #88 from dgl/banner
Only show the banner when not connecting to servers
David Leadbeater [Tue, 8 Jul 2014 08:24:12 +0000 (09:24 +0100)]
Suggest /HELP rather than HELP
At this point cmdchars is definitely / and the user might not know they
need to add / to a command.
David Leadbeater [Tue, 8 Jul 2014 08:23:55 +0000 (09:23 +0100)]
Change to printtext for first time message too
David Leadbeater [Tue, 8 Jul 2014 00:38:08 +0000 (01:38 +0100)]
Only show banner if not connecting to servers
It's tricky to make the banner show first in all cases and it's unlikely
to be seen if someone is connecting to a server already, so just don't
show it.
Alexander Færøy [Mon, 7 Jul 2014 21:51:26 +0000 (23:51 +0200)]
Merge pull request #86 from dgl/configure-hints
Add some more helpful hints about packages to install to configure outpu...
David Leadbeater [Mon, 7 Jul 2014 21:41:38 +0000 (22:41 +0100)]
Add some more helpful hints about packages to install to configure output
Alexander Færøy [Mon, 7 Jul 2014 20:49:29 +0000 (22:49 +0200)]
Merge pull request #15 from ailin-nemui/hilights-network-tag
FS#155 hilight -tag
Ailin Nemui [Sun, 6 Jul 2014 22:55:15 +0000 (00:55 +0200)]
cleanup hilight -network patch
Alexander Færøy [Mon, 7 Jul 2014 20:26:04 +0000 (22:26 +0200)]
Fix Clang warnings
This patch fixes a few warnings emitted by clang by removing the
initialization of the list by itself.
Alexander Færøy [Mon, 7 Jul 2014 20:16:23 +0000 (22:16 +0200)]
Merge pull request #58 from ailin-nemui/italics
Implement italics support for Irssi
Geert Hauwaerts [Mon, 7 Jul 2014 17:47:51 +0000 (19:47 +0200)]
Syntax documentation rewrite for L-commands
Rewrote the syntax documentation for all commands starting with L.
Alexander Færøy [Mon, 7 Jul 2014 16:27:57 +0000 (18:27 +0200)]
Merge pull request #29 from sebth/master
Properly split long IRC messages
Geert Hauwaerts [Mon, 7 Jul 2014 09:18:32 +0000 (11:18 +0200)]
Restored the J and added a P alias
I restored the J alias and added a new P alias; both aliases are there for convenience after community requests.
Manuel Leiner [Sat, 11 Jan 2014 14:38:25 +0000 (15:38 +0100)]
FS#155 hilight -tag
Lukas Mai [Tue, 29 Nov 2011 23:54:42 +0000 (00:54 +0100)]
optionally render /foo/ as italics
Lukas Mai [Sun, 6 Nov 2011 19:40:25 +0000 (20:40 +0100)]
add italics support; don't use standout for reverse
Geert Hauwaerts [Sun, 6 Jul 2014 21:58:13 +0000 (23:58 +0200)]
Added the missing -! and -noautosendcmd options
The SERVER ADD completion was missing the -! and -noautosendcmd options.
Geert Hauwaerts [Sun, 6 Jul 2014 21:27:55 +0000 (23:27 +0200)]
Fixed a compiler warning for statusbar_redraw
Fixed a compiler warning for statusbar_redraw.
Sebastian Thorarensen [Sun, 6 Jul 2014 20:57:00 +0000 (22:57 +0200)]
Add information about message splitting to NEWS
(...and AUTHORS.)
Sebastian Thorarensen [Sun, 6 Jul 2014 18:31:58 +0000 (20:31 +0200)]
Fix minor coding style issues in message splitting
Sebastian Thorarensen [Sat, 5 Jul 2014 01:58:16 +0000 (03:58 +0200)]
Allow `server.split_message' being NULL
Now a module can set `server.split_message = NULL' to disable message
splitting, instead of having to implement the function.
Sebastian Thorarensen [Thu, 19 Jun 2014 00:24:25 +0000 (02:24 +0200)]
Replace an indent of eight spaces with a tab
Sebastian Thorarensen [Wed, 18 Jun 2014 23:11:08 +0000 (01:11 +0200)]
Replace a `goto out' with explicit freeing
Sebastian Thorarensen [Wed, 18 Jun 2014 23:02:35 +0000 (01:02 +0200)]
Introduce a MAX_USERHOST_LEN constant for IRC
Sebastian Thorarensen [Wed, 18 Jun 2014 22:50:46 +0000 (00:50 +0200)]
Move the definition of the `split_line' settings
Sebastian Thorarensen [Tue, 17 Jun 2014 16:17:28 +0000 (18:17 +0200)]
Split long IRC `ACTION' messages
Add line splitting logic to commands `/me' and `/action'.
Sebastian Thorarensen [Tue, 17 Jun 2014 15:25:40 +0000 (17:25 +0200)]
Fix the `userhostlen' fallback in `split_message'
ferret, the author of `splitlong-safe.pl' pointed out that `userhostlen'
should not only contain the maximum length of the hostname, but also the
maximum length of the username. Now 10 is used as the maximum username
length as a fallback. (`splitlong-safe.pl' uses the same limit.)
The username limit isn't defined in the standard, but 10 is common on
many networks. The odds that something goes wrong here is low, as
1) the fallback limit is only used when the user has not yet joined a
channel
2) the maximum hostname length (63) gives some error margin as the
hostname usually is shorter
Sebastian Thorarensen [Mon, 16 Jun 2014 19:59:48 +0000 (21:59 +0200)]
Avoid unnecessary splitting of lines
`split_line_end' could force lines to be unnecessarily split. This
commit fixes the problem by making sure that the last line isn't shorter
than `split_line_end'.
Sebastian Thorarensen [Mon, 16 Jun 2014 17:59:12 +0000 (19:59 +0200)]
Add configurable split line prefixes and suffixes
Add settings `split_line_start' and `split_line_end' analogous to
`splitlong_line_start' and `splitlong_line_end' in `splitlong.pl'. The
prefixes and suffixes are concatenated with a wrapper function to keep
`recode_split' and `strsplit_len' simple.
Sebastian Thorarensen [Fri, 13 Jun 2014 04:39:02 +0000 (06:39 +0200)]
Properly split long IRC messages
This commit adds handling of long IRC messages to the core. In contrast
to the `splitlong.pl' plugin, multi-byte encoded and recoded messages
are properly split.
To allow for this, a new function has been added to the server struct:
`split_message'. `split_message' returns a string array with the message
splitted to substrings of a length that the server can handle. If a
protocol module doesn't have any limit, it can simply return a singleton
array with a copy of the message.
The `MSG' chat command now calls `split_message' before `send_message',
and emits `message own_public' / `message own_private' with each
substring, so that the string splitting will be visible in the UI.
`split_message' in the IRC module uses `recode_split' which in turn uses
iconv to properly split multi-byte encoded (and recoded) messages.
Geert Hauwaerts [Sun, 6 Jul 2014 21:21:23 +0000 (23:21 +0200)]
Merge branch 'master' of https://github.com/irssi/irssi
Alexander Færøy [Sun, 6 Jul 2014 21:05:34 +0000 (23:05 +0200)]
Merge pull request #85 from dgl/werror
Make configure checks able to build with -Werror
Geert Hauwaerts [Sun, 6 Jul 2014 20:52:50 +0000 (22:52 +0200)]
Updated SERVER documentation
Added the noautosendcmd parameters to the SERVER syntax documentation