dequis
f39723f651
Fix FS#905, mangled text when pasted line length exceeds 400
...
http://bugs.irssi.org/index.php?do=details&task_id=905
Not using the patch from that ticket, the issue turned out to be that
(dest - last_lf_pos) returned number of unichr, not bytes, so that's 4
times less than what the size parameter of memmove() should be.
2015-09-21 17:53:46 -03:00
ailin-nemui
211e84c1e9
Merge pull request #267 from kyak/master
...
Add expandos for hostname
2015-09-21 18:47:09 +02:00
dx
0912a11050
Merge pull request #278 from LemonBoy/sasl
...
SASL support
2015-09-20 19:19:49 -03:00
LemonBoy
203c00938a
Use formats instead of g_warning
...
Add some copyright headers here and there too.
2015-09-21 00:04:37 +02:00
Alexander Færøy
a44c4b82de
More format warnings removed.
2015-09-20 23:11:39 +02:00
Alexander Færøy
6c9dcffb5e
Fix formatting warnings.
2015-09-20 22:51:13 +02:00
dx
9cf4dfd23d
Merge pull request #288 from irssi/ahf/kill-gc
...
Remove Garbage Collection support.
2015-09-20 16:49:48 -03:00
Alexander Færøy
519955ebe4
Fix warning.
...
Add comment on the use of ??) in C, since that string isn't entirely
obvious to people who are reading the code.
2015-09-20 21:45:33 +02:00
Alexander Færøy
29cf546ee4
Remove Garbage Collection support.
...
GC support was never enabled by default and nobody in the current
development team seems to care about it.
2015-09-20 21:28:14 +02:00
Alexander Færøy
be977bf1b7
Fix warning.
2015-09-20 21:21:40 +02:00
Alexander Færøy
1079ad46d2
Use g_string_append() instead of g_string_append_c() for string.
2015-09-20 21:12:07 +02:00
Alexander Færøy
ca363efe00
Use g_string_append() instead of g_string_append_c() for string.
2015-09-20 21:01:25 +02:00
LemonBoy
06040fb30b
Merge remote-tracking branch 'origin' into sasl
2015-09-19 23:58:16 +02:00
Jari Matilainen
9586766d87
Add setting to configure rejoin on reconnect behaviour
...
Closes #169
2015-09-19 18:34:05 -03:00
ailin-nemui
efc8f5f187
Merge pull request #283 from LemonBoy/unset-crnl
...
Clear the ICRNL flag
2015-09-19 23:09:29 +02:00
LemonBoy
061fb34750
Modify the terminal initialization sequence
...
We disable the ICRNL flag to make Enter independent from ^J from the
keybinding point of view since the former will now send ^M, leaving the
user free to remap ^J without trapping itself into the irssi session
because of a broken Enter key.
Also disable the software flow control because we don't expect anyone to
run irssi over a serial console; we gain some more freedom by having ^Q
and ^S freely mappable by the user.
2015-09-19 12:22:58 +02:00
dequis
f37f6ac0ed
Add two missing #include "fe-irc-channels.h"
...
Fixes #285
2015-09-18 23:56:17 -03:00
ailin-nemui
2b13e793c4
Merge pull request #259 from dequis/irssiproxy
...
Updates for irssiproxy
2015-09-19 02:53:25 +02:00
LemonBoy
24d32c28ee
Don't handle 908 as a critical failure
...
"if the mechanism is unknown, 908 is optional, 904 (or equivalent error condition) is required"
2015-09-11 23:21:33 +02:00
LemonBoy
49c4ea5fd9
Parse the error string received by the server
...
So that in case of SASL failure the user sees a nice error message.
2015-09-11 23:20:07 +02:00
LemonBoy
1f114d75c6
Consider the SASL handshake successful on 903
2015-09-11 23:17:46 +02:00
LemonBoy
55387dd93d
Handle event 906 and 908
2015-09-11 22:23:38 +02:00
LemonBoy
6645d0d38d
Explicitly set the authorization id during the PLAIN handshake
...
On error show the user the message sent by the server.
2015-09-11 22:09:47 +02:00
LemonBoy
171b67441d
Replace spaces with tabs
2015-09-11 01:17:18 +02:00
LemonBoy
c90c7deac3
Address all the points outlined in the first review
...
Replace G_SOURCE_REMOVE with FALSE for the compatibility sake.
Zero the timeout id after g_source_remove and when exipred.
Save the sasl_* options in sig_chatnet_saved().
2015-09-11 01:07:43 +02:00
LemonBoy
b8d3301d34
SASL support
...
The only supported methods are PLAIN and EXTERNAL, the latter is untested as of
now.
The code gets the values from the keys named sasl_{mechanism,username,password}
specified for each chatnet.
2015-09-11 00:30:16 +02:00
Alexander Færøy
7b46dae182
Merge pull request #248 from LemonBoy/chantypes
...
Implement CHANTYPES support
2015-09-10 01:37:08 +02:00
LemonBoy
4346c2a6d4
Move the function prototypes in a separate header
2015-09-09 23:55:00 +02:00
Alexander Færøy
762c1d7f2c
Merge pull request #276 from LemonBoy/terminfo-application-mode
...
Send smkx/rmkx sequence at terminal init
2015-09-09 22:55:24 +02:00
LemonBoy
b5b73cb471
Send smkx/rmkx sequence at terminal init
...
Enter the "application" mode when setting up the terminal, this improves the
compatiblity with the standards; as a side effect now DEL key works ootb when
irssi is run in the suckless's st terminal.
2015-09-06 15:47:08 +02:00
LemonBoy
21c1e4e9f8
Fix two minor issues outlined in the PR#222
...
irc-cap.c has now a licence header.
A minor style fix in misc.c
2015-09-02 22:40:10 +02:00
LemonBoy
57d645f246
Introduce some more chantypes awareness
2015-09-02 21:50:40 +02:00
LemonBoy
35d30c19a1
Whitespace fix
2015-09-02 20:24:47 +02:00
kyak
2f9cca8ec6
Remove extra line break
...
How did this extra break cripple in here?
2015-08-29 15:40:17 +03:00
kyak
b065f2a011
Use HOST_NAME_MAX for userhost and hostname expandos
...
Use HOST_NAME_MAX instead of hardcoded 100 for userhost
and hostname expandos.
2015-08-29 15:36:05 +03:00
kyak
b7d82ecdce
Use "(none)" as fallback for hostname and userhost expandos
...
Use "(none)" instead of "??" for hostname and userhost expandos
when these can't be reliably detected.
2015-08-29 15:32:22 +03:00
kyak
19760679eb
In expando_hostname, set *free_ret to TRUE
...
*free_ret must be set to TRUE in both cases, since we return
some newly initialised memory
2015-08-29 15:29:57 +03:00
kyak
0435331912
Clean up in hostname expando before return
...
Clean up the vector resulting from g_strsplit before
returning from expando_hostname(). Also, use g_strdup()
instead of g_strconcat() to return the pointer to hostname.
2015-08-26 09:34:48 +03:00
Alexander Færøy
d2c9f30977
Merge pull request #222 from LemonBoy/cap-support
...
[RFC] CAP support
2015-08-24 22:22:01 +02:00
LemonBoy
b0e7c18376
Send the CAP LS after sending the proxy strings
...
Patch by @dequis
2015-08-20 23:37:34 +02:00
blha303
92d03fe11e
Replace \n with \r\n in irssiproxy source, fixes bug
2015-07-25 02:41:26 -04:00
kyak
8e71d6ec73
Add expandos for hostname
...
See http://bugs.irssi.org/index.php?do=details&task_id=829
2015-07-19 09:45:50 +03:00
dequis
51496cd09f
Fix 'address already in use' when changing irssiproxy_ports
...
When changing the value of irssiproxy_ports to use a different network
name in a port that was already bound (so like changing from asd=6667 to
sdf=6667) it would throw "address already in use".
This fixes it by delaying the add_listen() calls after all the
remove_listen() were called.
2015-06-14 17:00:35 -03:00
dequis
a47f45b5b7
Rename /proxy command to /irssiproxy for clarity
2015-06-14 11:57:11 -03:00
dequis
29fb0d9802
Merge branch 'master' into irssiproxy
...
Conflicts:
src/irc/proxy/listen.c
2015-06-14 10:42:41 -03:00
Geert Hauwaerts
6fcafc5993
1k+ windows are now the default formatting ( #223 )
...
1k+ windows are now the default formatting (#223 )
2015-06-12 21:13:45 +02:00
Geert Hauwaerts
4cc6fdaaab
Add server check in irc_server_connect ( #208 )
...
Fail instead of crash, if irc_server_connect is called without object.
(#208 )
2015-06-12 17:44:13 +02:00
LemonBoy
e480b9b165
Improve ischannel_func ( #253 )
...
The function now skips all the leading characters that are in the STATUSMSG. If
the server didn't send the STATUSMSG option then it's assumed to be "@+" for
compatibility with bahamut 2.4 (sic).
2015-05-31 15:30:21 +02:00
LemonBoy
16c71cf1fb
Implement CHANTYPES support
2015-05-15 17:07:30 +02:00
LemonBoy
2d7030a844
Implement support for IRCv3.1 CAP negotiation
2015-05-05 23:14:26 +02:00