Commit graph

4,942 commits

Author SHA1 Message Date
Bob Mottram
e9211c8ed4 Removed casts in g_free(), therefore also removed some const declarations
From original patch by hawken93 <hawken@thehawken.org> 4th Oct 2014
2016-04-14 14:23:57 +01:00
Bob Mottram
1f43db16d4 Fix compile warnings
From original patch by hawken93 <hawken@thehawken.org> 4th Oct 2014
2016-04-14 14:16:56 +01:00
Bob Mottram
5587d78cfd Fixed stuff broken by the coding style cleanup
From the original patch by hawken93 <hawken@thehawken.org> 4th Oct 2014
2016-04-14 14:13:50 +01:00
Bob Mottram
4a8a6cfcbf Change coding style
Based on original patch by hawken93 <hawken@thehawken.org> 3 Oct 2014
2016-04-14 14:06:54 +01:00
Bob Mottram
4b0610e317 no patching unrelated stuff
From original patch by hawken93 <hawken@thehawken.org> 3 Oct 2014
2016-04-14 11:51:28 +01:00
Bob Mottram
646d17d9d4 Porting some stuff to modern git version
From the original patch by hawken93 <hawken@thehawken.org> 3 Oct 2014
2016-04-14 11:47:57 +01:00
Bob Mottram
bade9e3d9e http-proxy: fixed bad return value
From the original patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 7 Apr 2010
2016-04-14 11:41:05 +01:00
Bob Mottram
3bc24696a4 PROXY: merge proxy methods into buildsystem
From the original patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 26 Feb 2008
This patch adds the code and rules to build the various proxy methods.
2016-04-14 11:35:53 +01:00
Bob Mottram
7ef54cc29f PROXY/SOCKS5: added methods for SOCKS5 proxies
From original patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 26 Feb 2008
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'
2016-04-14 11:21:25 +01:00
Bob Mottram
3698ae06ff PROXY/HTTP: added methods for HTTP proxies
From original patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 26 Feb 2008
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.
2016-04-14 11:17:48 +01:00
Bob Mottram
c79aae7824 PROXY: implemented native proxy support
For the original patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> 26 Feb 2008

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).
2016-04-14 10:57:46 +01:00
ailin-nemui
0e5a32fb62 Merge pull request #467 from dequis/EAI_SYSTEM
net_gethosterror: Handle EAI_SYSTEM ("System error") properly
2016-04-07 12:33:03 +02:00
dequis
2ba4b9d26a net_gethosterror: Handle EAI_SYSTEM ("System error") properly
That error code means "check errno". A few users got it and we never
figured out what happened - it usually fixed itself after restarting
something - so hopefully with this we'll have more information the next
time.
2016-04-07 07:26:19 -03:00
ailin-nemui
1349755bb5 Merge pull request #453 from LemonBoy/dcc-quote
Support quoted filenames in some /DCC commands
2016-04-05 22:39:54 +02:00
ailin-nemui
26f875263a Merge pull request #455 from ailin-nemui/cutbuffer
improved cutbuffer handling
2016-03-31 19:13:53 +02:00
ailin-nemui
70a44daad2 Merge pull request #461 from ailin-nemui/fix_squery
Revert "Removed the obsolete SQUERY and SERVLIST commands"
2016-03-29 22:45:47 +02:00
ailin-nemui
ec4ecd844b Revert "Removed the obsolete SQUERY and SERVLIST commands"
This reverts commit 4beebe3238.
2016-03-29 22:41:01 +02:00
ailin-nemui
aec2466e36 Improve cutbuffer handling
* Adds two new keys which you can bind in /bind:
  yank_next_cutbuffer: Revert to the previous last deleted text
  append_next_kill: Append next deletion
* Consecutive kills are now appended to the current cutbuffer
2016-03-29 15:20:45 +02:00
ailin-nemui
0c69b75f77 Merge pull request #460 from ailin-nemui/integrate/0.8.19
Merge tag '0.8.19'
2016-03-24 15:24:08 +01:00
ailin-nemui
bab60daa17 Merge tag '0.8.19' 2016-03-24 15:02:33 +01:00
ailin-nemui
ce5a6929f5 Merge pull request #459 from ailin-nemui/fix_430
Make use of terminal application keys configurable
2016-03-24 14:52:53 +01:00
ailin-nemui
c438315741 tag as 0.8.19 0.8.19 2016-03-23 00:24:25 +01:00
ailin-nemui
6c0c0c60ad Make use of terminal application keys configurable
adds a new setting term_appkey_mode which can enable or disable the use
of keyboard transmit (application keys) mode. Fixes #430
2016-03-23 00:08:36 +01:00
ailin-nemui
6572005d3d Merge pull request #458 from ailin-nemui/fix_449
Properly toggle bracketed paste mode on stop/cont
2016-03-23 00:08:36 +01:00
ailin-nemui
5ef2b958d9 Merge pull request #457 from ailin-nemui/fix_450
fix race condition in terminal init
2016-03-23 00:08:36 +01:00
ailin-nemui
c657b9c3b1 Merge pull request #447 from ailin-nemui/fix_dcc_help
correct quoting in /help dcc
2016-03-23 00:08:36 +01:00
ailin-nemui
4a2ee3c344 Merge pull request #446 from ailin-nemui/fix_445
strip less whitespace from commands
2016-03-23 00:08:36 +01:00
ailin-nemui
fe600dd5dc Merge pull request #442 from LemonBoy/fix-435
Do not assume any default value for statusmsg.
2016-03-23 00:08:36 +01:00
ailin-nemui
15296a0165 Merge pull request #444 from LemonBoy/timeout-id
Use 0 as a sentinel value for sasl_timeout
2016-03-23 00:08:35 +01:00
TheLemonMan
7d3fe66e50 Merge pull request #439 from horgh/ssl-errors
Clear error queue before SSL I/O operations
2016-03-23 00:08:35 +01:00
ailin-nemui
d20872ac27 Merge pull request #438 from dequis/sasl-timeout-disconnect
Remove sasl timeout source when the server disconnects
2016-03-23 00:08:35 +01:00
Giuseppe
4416942fcd Merge pull request #432 from grawity/fix-external
fix SASL EXTERNAL
2016-03-23 00:08:35 +01:00
ailin-nemui
025f08d5fc Merge pull request #407 from irssi/ailin-nemui-perl-bugs
Mention known Perl Bugs in perl.txt
2016-03-23 00:08:35 +01:00
dx
22d772890e Merge pull request #405 from LemonBoy/serialize-channel-name
Serialize the 'name' attribute of the CHANNEL_REC.
2016-03-23 00:08:35 +01:00
ailin-nemui
15f79a713f set version to 0.8.18a-head 2016-03-23 00:08:35 +01:00
ailin-nemui
b9914abbf3 Make use of terminal application keys configurable
adds a new setting term_appkey_mode which can enable or disable the use
of keyboard transmit (application keys) mode. Fixes #430
2016-03-22 23:58:34 +01:00
ailin-nemui
b1ffd5f647 Merge pull request #452 from LemonBoy/terminfo-cup
Don't call terminfo_cont() twice on resume
2016-03-22 23:05:27 +01:00
ailin-nemui
9cb0419435 Merge pull request #443 from LemonBoy/chatnet
Throw an error when a chatnet has no available url
2016-03-22 23:00:01 +01:00
ailin-nemui
29e160f0bf Merge pull request #457 from ailin-nemui/fix_450
fix race condition in terminal init
2016-03-22 22:57:28 +01:00
ailin-nemui
3bc8afa740 Merge pull request #458 from ailin-nemui/fix_449
Properly toggle bracketed paste mode on stop/cont
2016-03-22 22:54:43 +01:00
LemonBoy
897016131e Don't call terminfo_cont() twice on resume
Fixes some weirdness when using ^Z with zsh.
2016-03-22 22:50:24 +01:00
ailin-nemui
d36d34fe04 Merge pull request #456 from ailin-nemui/fix_454
cutbuffer: do not unconditionally use replace when noop was requested
2016-03-22 22:47:42 +01:00
ailin-nemui
35d255fc8c Properly toggle bracketed paste mode on stop/cont
Fixes #449
2016-03-22 16:36:30 +01:00
LemonBoy
be93c8d5be Update the documentation about DCC 2016-03-22 16:03:05 +01:00
LemonBoy
8b54366d95 Support quoted filenames in some /DCC commands 2016-03-22 16:00:00 +01:00
LemonBoy
e5ee243ab6 Simplify some logic in server_create_conn 2016-03-22 15:45:08 +01:00
ailin-nemui
83bee9c6b7 Merge pull request #447 from ailin-nemui/fix_dcc_help
correct quoting in /help dcc
2016-03-22 15:25:13 +01:00
ailin-nemui
195c44a76e Merge pull request #446 from ailin-nemui/fix_445
strip less whitespace from commands
2016-03-22 15:23:37 +01:00
ailin-nemui
938d0071c6 fix race condition in terminal init
remove the tcgetattr call to a single time on irssi load instead of
querying it each time. Fixes #450
2016-03-22 15:21:20 +01:00
ailin-nemui
117c890d98 cutbuffer: do not unconditionally use replace when noop was requested 2016-03-22 14:43:31 +01:00