Geert Hauwaerts
fc3c0a8420
Merge pull request #301 from dequis/dcc-get-ntfs-temp-bug
...
dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mounts
2015-09-24 10:05:30 +02:00
Robert C Jensen
b984f1fa25
dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mounts
...
Patch from debian bug 696963 [1]
Fixes github bug #220 and flyspray bug 867 [2]
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696963
[2]: http://bugs.irssi.org/index.php?do=details&task_id=867
2015-09-23 23:39:37 -03:00
Geert Hauwaerts
3daadfa4a2
Merge pull request #298 from dequis/multi-prefix
...
Add multi-prefix to list of capabilities to request
2015-09-23 20:13:25 +02:00
Geert Hauwaerts
33e90c5ae3
Merge pull request #300 from dequis/drop-centos5
...
Drop centos 5 support, bump glib requirement to 2.16
2015-09-23 20:11:47 +02:00
dequis
9da445ab86
Drop some glib version checks that are not needed anymore
...
The g_strcmp0 fallback in particular was broken since it was used in a
few places as a GCompareFunc, and macros don't work that way.
Yes, that one was my fault, but nobody complained :D
2015-09-23 13:58:22 -03:00
dequis
e833521cef
Bump glib2 requirement from 2.6 to 2.16
...
This drops support for rhel/centos 5 (18 months left of its 10 year
support cycle)
Keeps support for debian 5.0 (lenny) and ubuntu 8.04 LTS, both of
which are unsupported, so bumping up to glib 2.24 wouldn't be a problem,
but it's not needed atm.
2015-09-23 13:58:22 -03:00
dequis
c9be1a7a80
Revert "Revert "Bug fix - docdir is ignored during installation.""
...
This reverts commit d222c11f74
.
2015-09-23 13:58:22 -03:00
Geert Hauwaerts
ce70288488
Merge pull request #264 from ailin-nemui/window-help
...
Improve the WINDOW help
2015-09-23 18:52:14 +02:00
Ailin Nemui
d3df165e0b
Improve the WINDOW help
...
Properly describe the window command.
Make help sort order deterministic.
2015-09-23 14:21:27 +02:00
dequis
7ae7422939
Add multi-prefix to list of capabilities to request
...
Turns out event_names_list() in irc-nicklist.c already handles this.
event_who() just ignores it, which is probably a good idea since some of
the irc servers I tested this with have a bug that results in sending
multiple prefixes in the NAMES reply but not in the WHO one (they were
forks of ircd-hybrid before 7.3.0)
And NAMES always happens, anyway. WHO is omitted sometimes for huge
channels.
2015-09-23 03:17:29 -03:00
dequis
f247a43b97
sig_message_irc_op_public: fix nickmode lookup, use cleantarget instead
2015-09-22 19:35:10 -03:00
ailin-nemui
618a636f7c
Merge pull request #297 from vague666/hilight_nick_matches
...
Add new setting to modify behaviour of hilight_nick_matches to match anywhere in message
Fixes #56
2015-09-23 00:07:03 +02:00
Jari Matilainen
3f2eaf1d3a
Fix return value from nick_match_msg_everywhere, remove #include 'settings.h'
2015-09-22 23:16:41 +02:00
Jari Matilainen
b5c3e90802
Fix return value from nick_match_msg_everywhere
2015-09-22 23:09:55 +02:00
Jari Matilainen
5a4be0f4f5
Add new setting to optionally modify behaviour of hilight_nick_matches
...
Fix indentation
Remove unused variables that crept into the nick_match_msg_everywhere function
2015-09-22 22:49:50 +02:00
ailin-nemui
f32620673e
Merge pull request #296 from irssi/revert-290-ipv6
...
Revert "Network and IPv{4,6} related changes"
it wasn't ready yet and I merged this in error
2015-09-22 22:00:31 +02:00
ailin-nemui
f5f3d7cc98
Revert "Network and IPv{4,6} related changes"
2015-09-22 21:59:17 +02:00
ailin-nemui
2d69deb0a3
Merge pull request #290 from LemonBoy/ipv6
...
Network and IPv{4,6} related changes
2015-09-22 17:43:31 +02:00
ailin-nemui
5ced71e1ac
Merge pull request #295 from dequis/fix-bug-291
...
Fix #291 , "/msg +#channel incorrectly shows up as Nick:@#channel"
2015-09-22 12:20:35 +02:00
dequis
99f074b0db
fe_channel_skip_prefix: fix return value (FALSE/NULL isn't valid)
...
The return value is a char*, and here it was false which is 0 which is
more or less the same as null.
That could have been a crash somewhere, the functions that call this
don't expect null ever.
2015-09-22 01:17:15 -03:00
dequis
bf36f71b99
Fix #291 , "/msg +#channel incorrectly shows up as Nick:@#channel"
...
Just passing the full target to the "message irc op_public" signal
handler and letting it do the cleanup.
The fe_channel_skip_prefix() call in event_privmsg() is kept because
recode_in() needs a real channel name, but
There was similar code in sig_message_own_wall(), but that one is
correct - the /wall command always sends NOTICE @#chan, so I added a
comment down there to make it clear.
2015-09-22 00:01:04 -03:00
ailin-nemui
85223a9b6b
Merge pull request #292 from dequis/mangled-text-paste-fix
...
Fix FS#905, mangled text when pasted line length exceeds 400
2015-09-21 23:00:31 +02:00
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
LemonBoy
564829610d
Ding dong the switch is dead
2015-09-21 14:55:35 +02:00
LemonBoy
ffaa890e99
Initial work to make irssi respect the resolved ip order
...
Ip's aren't selected using random() anymore, also select the ip version
by using getaddrinfo and some proper hints.
2015-09-21 14:19:35 +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
5c3ef84a0b
Undefine PACKAGE_VERSION before overwriting it.
2015-09-20 23:02:51 +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
dx
9556062a9d
Merge pull request #286 from dequis/missing-fe-irc-channels-include
...
Add two missing #include "fe-irc-channels.h"
2015-09-19 17:02:11 -03:00
Geert Hauwaerts
3e7c8a6f26
Merge pull request #284 from ailin-nemui/document-perl-crashes
...
Document some shortcomings in perl.txt
2015-09-19 13:24:19 +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
ailin-nemui
54a2fafbde
Update perl.txt
2015-09-18 23:33:52 +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