Emanuele Giaquinta
f053542dcf
Extend net_sendbuffer by adding a LINEBUF_REC member and a net_sendbuffer_receive_line
...
function to read linewise from the associated io channel.
Rewrite irc/dcc/proxy read logic on top of it.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-05-22 22:38:29 +00:00
Emanuele Giaquinta
f74cc02f97
Disable versioning for the proxy module, patch by darix.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-10 15:21:45 +00:00
Emanuele Giaquinta
7df46597e1
Use g_ascii_str{,n}casecmp for case insensitive comparison with
...
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09 12:01:16 +00:00
Emanuele Giaquinta
3c7c3941d7
Remove .cvsignore files.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:49:10 +00:00
Jilles Tjoelker
0efac764f6
Pass through (redirect) WHOWAS reply to proxy clients.
...
Bug #490 (patch from Alex Schumann)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4644 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-18 21:21:51 +00:00
Jilles Tjoelker
90b66dbe6c
Rework redirections to deal with multiple concurrent redirects better.
...
These mostly happen when doing remote whois and the
target server is slow.
The code uses the source server but will try to do what it
can if servers think they need to mask it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-11-14 23:02:40 +00:00
Emanuele Giaquinta
de4c2af324
Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automake
...
PACKAGE/VERSION ones.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-07 14:55:14 +00:00
Wouter Coekaerts
9c2d621cc6
Oops. Update address correctly now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:41:10 +00:00
Wouter Coekaerts
023026e12b
Update FSF address
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:16:58 +00:00
Valentin Batz
e4a562d9ef
moved the _NET_SENDBUF_REC definition out of core/net-sendbuffer.c and irc/proxy/listen.c into core/net-sendbuffer.h
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-24 19:42:17 +00:00
Valentin Batz
bc91469cf7
replaced net_transmit by net_sendbuffer_send in the irssi-proxy module, there were no checks if the buffer was sent completely with net_transmit
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-24 19:25:47 +00:00
Wouter Coekaerts
abb28cae20
Add libtool's -module flag to get built properly on all platforms, by Toby Peterson (Bug 212)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:43:39 +00:00
Valentin Batz
7be7dd374c
Added <tag>/<target> support for recode.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20 13:59:15 +00:00
Valentin Batz
5f81451df6
Fixed a memleak, when using recode_out you have too free the memory it allocates for you.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-07 17:48:21 +00:00
Wouter Coekaerts
2ffae72fc0
If available, send who set topic and when to irssi-proxy clients
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-07 17:02:40 +00:00
Valentin Batz
5a7e889f4f
Fixed bug 120 where proxy doesn't set the server_rec->away_reason
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-14 16:41:02 +00:00
Wouter Coekaerts
c5982338c1
Fix own nick changes in irssi-proxy
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-05 12:36:57 +00:00
Timo Sirainen
119c028945
send max 15 005 parameters at once. Patch by Valentin Batz
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-31 22:32:58 +00:00
Timo Sirainen
226a567562
Recode patch by decadix/senneth
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20 00:03:40 +00:00
Timo Sirainen
334b07ac28
005 fix. Patch by Valentin Batz
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 23:24:24 +00:00
Timo Sirainen
5ee91babf8
crashfix by Valentin Batz
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3240 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 22:47:25 +00:00
Timo Sirainen
1757418c61
fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3227 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-03 00:26:30 +00:00
Timo Sirainen
0ccd528b33
compiler warning fix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3215 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-24 21:59:10 +00:00
Timo Sirainen
217283caea
isupport patch by David Leadbeater
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-20 10:57:57 +00:00
Timo Sirainen
2337386565
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-09 05:50:23 +00:00
Timo Sirainen
2d4a7d3595
0.8.8 with a few backwards compatibility fixes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 14:25:34 +00:00
Timo Sirainen
6122035f2f
CTCP forwarding fixes by Valentin Batz
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3133 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-19 18:56:58 +00:00
Timo Sirainen
6019a5cd15
Don't crash if /SET irssiproxy_ports is changed while having connected
...
clients
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-08-29 19:59:13 +00:00
Timo Sirainen
964ff29779
/SET irssiproxy_bind specifies the IP where to listen in, patch by BC-bd
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-06 20:14:31 +00:00
Timo Sirainen
ac61d08976
fixed /WHO handling
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-09 03:01:40 +00:00
Timo Sirainen
f4bd37a406
make clean should remove libirc_proxy.a symlink
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2587 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-11 18:14:29 +00:00
Timo Sirainen
db4a0e5003
PROXY CTCP ON|OFF - proxy clients can send this command to specify that they
...
want to handle the received CTCP requests.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2522 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-20 15:21:50 +00:00
Timo Sirainen
ce41d6b18a
If *=port was used with /SET irssiproxy_ports, connections to server weren't
...
sent to already connected clients.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-10 12:53:10 +00:00
Timo Sirainen
2f09d9be5a
Proxy is now emitting "proxy client connected" and "proxy client
...
disconnected" signals.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-08 07:25:51 +00:00
Timo Sirainen
c55bac3a09
We now handle PINGs from client properly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2328 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-01-20 12:21:18 +00:00
Timo Sirainen
68883efd3e
Better support for actions and CTCPs.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2249 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15 13:10:51 +00:00
Timo Sirainen
ec79871a7a
server_redirect_peek_signal() now contains int *redirected parameter which
...
indicates if event belongs to redirection even while it didn't have any
redirection signal. Proxy uses this to figure out if the event should be
sent to clients or not (/WHOIS in proxy sent 3 middle lines to all clients
before this).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2221 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 23:41:45 +00:00
Timo Sirainen
fe8971ac8f
Send NICK change before 001 request so that ircII also knows our real nick.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2211 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 15:58:58 +00:00
Timo Sirainen
cb6e1286cd
Several fixes to work better with non-irssi clients, also fixed a potential
...
crash if sending a wrong PASS.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-07 15:39:30 +00:00
Timo Sirainen
6e2b0d41d9
Treat all WHOIS requests as remote.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2203 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 23:05:08 +00:00
Timo Sirainen
9dd46372ff
Allow sending USER before NICK when logging in.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2198 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-06 15:11:08 +00:00
Timo Sirainen
100d92dff0
Reply to PINGs ourself if destination was proxy's address, our own nick or
...
no destination at all.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2048 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-18 12:35:19 +00:00
Timo Sirainen
e66ec6cf8b
Redirection fixes - added count parameter.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 22:15:04 +00:00
Timo Sirainen
09ca671577
Fixed to work with new redirection code. Also don't set the mode to +(null)
...
if there's no server mode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1986 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 22:41:03 +00:00
Timo Sirainen
6a82e806b4
Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
585527b979
compile fix - patch by manoj@io.com
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 14:53:39 +00:00
Timo Sirainen
b9cdd10a86
format string exploit found & patch by cph@cph.demon.co.uk
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-19 11:37:13 +00:00
Timo Sirainen
40edf12dca
Actions are now transferred correctly, own messages in main irssi are
...
transferred now to clients. Patch by ganesh@earth.li .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1848 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-19 11:28:56 +00:00
Timo Sirainen
1cd033943a
Added missing module_register() calls.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:43:50 +00:00
Timo Sirainen
7a9a50f70b
get the version from IRSSI_VERSION, not VERSION. #include "signals.h" was
...
missing from proxy.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1649 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25 20:07:10 +00:00
Timo Sirainen
7b4e1cb8a1
rm -f the libirc_proxy.a before ln -s.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1621 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14 19:16:53 +00:00
Timo Sirainen
a5a277c94d
Compiles now statically to irssi with --with-modules=proxy
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1612 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-13 13:09:58 +00:00
Timo Sirainen
3cea29ae82
Makefile fixed to use module directory again. If /SET irssiproxy_ports has
...
'*' as server tag, it will match for any of the servers (useful if you're
only using one). Fixed a crash if client sent a request to server and quit
before the reply was received.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1608 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-10 19:10:37 +00:00
Timo Sirainen
fc3918b0f0
dcc, flood and notifylist aren't compiled as loadable modules anymore,
...
no-one wants that and irssi crashes in AIX because of it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:39:45 +00:00
Timo Sirainen
ae68205a5b
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1392 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15 16:11:09 +00:00
Timo Sirainen
9f2f1dc70a
Server events: switched order of data and server parameters. it's now
...
SERVER_REC *server, const char *data, .. hope this doesn't cause too
many problems :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 21:12:52 +00:00
Timo Sirainen
4316840890
bot & proxy plugins fixed for GIOChannel changes
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 01:01:53 +00:00
Timo Sirainen
d1eaeca255
Split expandos from special-vars.c to expandos.c. Added list of signals
...
to each expando that can might change it's value.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 00:53:04 +00:00
Timo Sirainen
03b3322432
Reply to clients which send IRSSILAG notices to themselves.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-03 04:27:01 +00:00
Timo Sirainen
db1b93ee99
ARGH! %s format bug!
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@908 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-01 13:21:54 +00:00
Timo Sirainen
1fd6f8faf6
more changes from int xx:1 to unsigned int xx:1
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 22:57:59 +00:00
Timo Sirainen
d3250be956
Don't change client's nick every time someone else changes nick..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@830 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-10 00:38:48 +00:00
Timo Sirainen
f3d4c6bc63
let actions pass through the proxy to clients, they're not "real" CTCPs..
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@828 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 22:03:20 +00:00
Timo Sirainen
07106c4029
ping/pong was broken again, hope this now _finally_ works :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@827 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:48:51 +00:00
Timo Sirainen
4710a37762
I had broken the /names list.. :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@826 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:43:10 +00:00
Timo Sirainen
4211d1e80b
Use ircnet name as the proxy's "real address".
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@825 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:40:22 +00:00
Timo Sirainen
9895d0cc11
One final fix for ping/pong
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@824 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:32:46 +00:00
Timo Sirainen
ea5109d6c5
fix to ping/pong handling :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@823 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:29:39 +00:00
Timo Sirainen
82a3f10480
When sending /NAMES after join: Don't send lines longer than 512 chars -
...
non-irssi clients don't like them :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@822 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:26:55 +00:00
Timo Sirainen
76ca80087b
Hide IRSSILAG notices from clients
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@821 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:22:56 +00:00
Timo Sirainen
4b7bcde577
PING from client wasn't handled correctly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@820 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 21:21:29 +00:00
Timo Sirainen
6cc6f90468
Connecting to proxy when server connection was down didn't work correctly.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@811 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-06 23:27:46 +00:00
Timo Sirainen
a8c139d5e2
Proxy plugin fixes and cleanups. Supports now multiple servers, doesn't
...
let clients see CTCP requests and if one client writes message, other
clients will see it as well.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-06 02:29:01 +00:00
Timo Sirainen
6fc2a34121
Added -avoid-version options and disable-static for SILC module.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-02 01:11:53 +00:00
Timo Sirainen
e754aa1c30
bugfix
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-30 22:52:30 +00:00
Timo Sirainen
d549526735
Updated Irssi proxy to work with latest version, thanks to fuchs :)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-29 23:59:51 +00:00