1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

4474 Commits

Author SHA1 Message Date
hawken93
510fa50c07 remove container_of, remove some underscores in the process 2014-10-05 01:03:46 +02:00
hawken93
c668e1add0 add missing proxy_username setting 2014-10-05 01:02:50 +02:00
hawken93
c2505203d0 Removed casts in g_free(), therefore also removed some const declarations 2014-10-04 23:22:50 +02:00
hawken93
67d343fd3a Fix compile warnings 2014-10-04 01:14:19 +02:00
hawken93
17ecad8285 Fixed stuff broken by the coding style cleanup 2014-10-04 00:52:26 +02:00
hawken93
714b0241cb Change coding style 2014-10-03 23:41:57 +02:00
hawken93
a35e5b4f9d Change coding style 2014-10-03 23:30:37 +02:00
hawken93
f153922759 no patching unrelated stuff 2014-10-03 17:43:50 +02:00
hawken93
d5727e1648 Porting some stuff to modern git version 2014-10-03 17:34:24 +02:00
Enrico Scholz
9fcd69b9ef http-proxy: fixed bad return value 2014-10-03 15:06:20 +02:00
Enrico Scholz
2e89752708 PROXY: merge proxy methods into buildsystem
This patch adds the code and rules to build the various proxy methods.
2014-10-03 15:06:20 +02:00
Enrico Scholz
bb276c0b80 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'
2014-10-03 15:06:20 +02:00
Enrico Scholz
47419298ef 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'
2014-10-03 15:06:20 +02:00
Enrico Scholz
3300e07f29 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
2014-10-03 15:06:20 +02:00
Enrico Scholz
0236ee5eaa 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).
2014-10-03 15:06:20 +02:00
Alexander Færøy
3d6051a03e Merge pull request #140 from sebth/master
Make line splitting fail-safe
2014-10-01 21:55:56 +02:00
Alexander Færøy
a2121efed3 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
2014-10-01 21:54:00 +02:00
Geert Hauwaerts
6884a74b29 Merge pull request #144 from jubalh/master
source cleanup: remove trailing whitespaces
2014-09-11 20:20:49 +02:00
Michael Vetter
51239925ec source cleanup: remove trailing whitespaces 2014-09-11 19:10:33 +02:00
dequis
d68ee06aa4 irc_server_send_away: don't send empty param if there's no away reason 2014-09-09 21:14:07 -03:00
Sebastian Thorarensen
42a34a78e8 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).
2014-09-01 00:24:17 +02:00
Alexander Færøy
503cbeb330 Head is now 0.8.17-head. 2014-08-31 18:35:15 +02:00
Alexander Færøy
56bd481974 Prepare for irssi 0.8.17-rc2. 2014-08-31 18:34:30 +02:00
Alexander Færøy
16784756b8 Merge pull request #134 from ailin-nemui/missing-printtext-after-signal
Add the signal for printtext_after that was missed in the original commit.
2014-08-26 21:49:43 +02:00
Ailin Nemui
9f6c76b028 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
2014-08-25 14:50:41 +02:00
Alexander Færøy
d40c0704f0 Merge pull request #123 from ailin-nemui/terminfo-scroll-check-bounds
Add bounds check to array access in terminfo driver.
2014-08-09 12:24:45 +02:00
Ailin Nemui
836d386823 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.
2014-08-09 11:40:37 +02:00
tomaw
2346d3b62f Merge pull request #109 from cpbills/master
Fix right aligned statusbar item redrawing
2014-08-08 18:57:50 +01:00
Geert Hauwaerts
22d4dc729e Updated ALIAS help
Updated ALIAS help.
2014-08-07 23:36:53 +02:00
Geert Hauwaerts
71ab0fbda6 Applied grammar and styling corrections
Applied grammar and styling corrections.
2014-08-07 22:00:40 +02:00
Geert Hauwaerts
f0aa2d2049 Syntax rewrite of U-Z commands
Rewrote the syntax documentation of U-Z commands.
2014-08-05 22:00:30 +02:00
Alexander Færøy
b9f532568b Merge pull request #118 from ailin-nemui/mirc_blink_fix-fix
fix mirc_blink_fix
2014-08-05 21:21:37 +02:00
Alexander Færøy
18a0cfa915 Merge pull request #121 from dgl/rawlog-fix
Fix rawlog saving after dac67a5 broke it
2014-08-05 21:21:02 +02:00
David Leadbeater
1dbc3dba78 Fix rawlog saving after dac67a5 broke it 2014-08-05 17:33:50 +01:00
Ailin Nemui
b602372e78 fix mirc_blink_fix
the background colours were totally off with mirc_blink_fix
enabled. oops.

reported by wodim
2014-07-31 03:09:19 +02:00
Geert Hauwaerts
1933c92532 Fixed a typo in the cmdmax argument
Fixed a typo in the cmdmax argument.
2014-07-30 23:27:41 +02:00
Geert Hauwaerts
a775a7c229 Updated the documentation for LIST
Updated the documentation for LIST.
2014-07-30 23:12:39 +02:00
Geert Hauwaerts
5a4e535cd7 Merge pull request #112 from ailin-nemui/italics-exception
fix rules for italics emphasis
2014-07-30 22:24:24 +02:00
Geert Hauwaerts
0836e59179 Removed the default autojoin channels
Removed the default autojoin channels.
2014-07-30 22:21:37 +02:00
Geert Hauwaerts
822db3090f Syntax rewrite for S-commands
Rewrote the syntax documentation for all commands starting with S.
2014-07-30 14:29:06 +02:00
Geert Hauwaerts
4beebe3238 Removed the obsolete SQUERY and SERVLIST commands
Removed the obsolete SQUERY and SERVLIST commands.
2014-07-30 13:02:26 +02:00
tomaw
cb6266f212 Fix typo in help for network command 2014-07-25 17:05:19 +01:00
Geert Hauwaerts
924f261448 Merge pull request #111 from ailin-nemui/colour-break
fix colour 0 again
2014-07-24 21:52:01 +02:00
Ailin Nemui
07e37c2329 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
2014-07-24 09:42:57 +02:00
Ailin Nemui
1cf7017ac9 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.
2014-07-24 00:11:42 +02:00
Geert Hauwaerts
e7f83c1dd2 Merge pull request #110 from ailin-nemui/colour-break
restore the colour 0 ("black") that got broken by extended colours
2014-07-23 23:58:22 +02:00
Ailin Nemui
41fab0707f 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
2014-07-23 23:42:05 +02:00
Christopher P. Bills
6a5f04b26a 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.
2014-07-22 22:03:46 -04:00
Alexander Færøy
5ddf127f6d Merge pull request #100 from ailin-nemui/24bit-uninitialised
fix uninitialised copy on 24bit colours
2014-07-20 19:37:37 +02:00
Ailin Nemui
8e062b7bd0 fix uninitialised copy on 24bit colours 2014-07-18 13:56:02 +02:00