]>
jfr.im git - irc/irssi/irssi.git/log
dequis [Tue, 6 Oct 2015 11:05:11 +0000 (08:05 -0300)]
irssiproxy: Fix warning about uninitalized value
dequis [Sat, 27 Jun 2015 16:13:03 +0000 (13:13 -0300)]
irssiproxy: Use TLS 1.0/1.1/1.2, disable SSLv2 and SSLv3
dequis [Sat, 27 Jun 2015 15:22:09 +0000 (12:22 -0300)]
irssiproxy: use a single goto for error handling in add_listen()
dequis [Sat, 27 Jun 2015 14:59:41 +0000 (11:59 -0300)]
irssiproxy: Remove openssl ifdefs, and several style fixes
dequis [Sat, 27 Jun 2015 14:33:55 +0000 (11:33 -0300)]
Initial irssiproxy SSL support
Patch by "Christian Sachs" from FS#645, rebased to current head.
http://bugs.irssi.org/index.php?do=details&task_id=645
Alexander Færøy [Sat, 3 Oct 2015 16:50:23 +0000 (18:50 +0200)]
Simplify Travis config.
Alexander Færøy [Sat, 3 Oct 2015 12:33:02 +0000 (14:33 +0200)]
Merge pull request #322 from LemonBoy/fix-warning-awaylog
Include write-buffer.h in log-away.c
LemonBoy [Sat, 3 Oct 2015 12:32:38 +0000 (14:32 +0200)]
Include write-buffer.h in log-away.c
Silence a warning and make the world a better place.
Alexander Færøy [Fri, 2 Oct 2015 17:51:54 +0000 (19:51 +0200)]
Set HOST_NAME_MAX to 255, if it's undefined.
Thanks to Jilles and dx.
Fixes #309
Alexander Færøy [Fri, 2 Oct 2015 16:57:06 +0000 (18:57 +0200)]
Use silent rules.
dequis [Fri, 2 Oct 2015 16:48:23 +0000 (13:48 -0300)]
Add missing null terminator to the g_build_path() varargs
Lemon broke it a few commits ago.
Geert Hauwaerts [Fri, 2 Oct 2015 16:39:10 +0000 (09:39 -0700)]
Merge pull request #316 from LemonBoy/fix_mem_leak
Fix a memory leak.
Geert Hauwaerts [Fri, 2 Oct 2015 16:33:03 +0000 (09:33 -0700)]
Merge pull request #319 from LemonBoy/awaylog-flush
Flush the dirty buffer to disk
LemonBoy [Fri, 2 Oct 2015 15:13:49 +0000 (17:13 +0200)]
Flush the dirty buffer to disk
Given a big enough write_buffer_size and a long enough
write_buffer_timeout it might be possible to show the user an incomplete
or empty awaylog.
Patch by: Petteri Aimonen
LemonBoy [Fri, 2 Oct 2015 10:39:08 +0000 (12:39 +0200)]
Fix a memory leak.
g_get_current_dir() returns a heap-allocated string.
dx [Fri, 2 Oct 2015 10:22:48 +0000 (07:22 -0300)]
Merge pull request #294 from dequis/key-states-rescan-recursion-limit
Limit recursion depth of key/combo expansion in key_states_scan()
ailin-nemui [Fri, 2 Oct 2015 09:48:11 +0000 (11:48 +0200)]
Merge pull request #315 from LemonBoy/prevent_blank_usermode
Don't set the usermode field if blank
LemonBoy [Fri, 2 Oct 2015 09:25:30 +0000 (11:25 +0200)]
Don't set the usermode field if blank
Fixes FS#919
dx [Thu, 1 Oct 2015 04:48:06 +0000 (01:48 -0300)]
Merge pull request #312 from Jellyfrog/patch-1
Switch to modern Travis CI infrastructure
Jellyfrog [Tue, 29 Sep 2015 15:34:35 +0000 (17:34 +0200)]
Switch to modern Travis CI infrastructure
Fixes #310
ailin-nemui [Tue, 29 Sep 2015 10:00:44 +0000 (12:00 +0200)]
Merge pull request #308 from vague666/sasl_in_network_list
Add sasl info to /network list output if available
Jari Matilainen [Tue, 29 Sep 2015 09:44:11 +0000 (11:44 +0200)]
Make sure sasl settings are defined before printing them out
Jari Matilainen [Tue, 29 Sep 2015 08:39:49 +0000 (10:39 +0200)]
Add sasl info to /network list output if available
ailin-nemui [Mon, 28 Sep 2015 03:34:38 +0000 (05:34 +0200)]
Merge pull request #307 from chi6rag/master
Remove Typo from Startup FAQs
Chirag Aggarwal [Mon, 28 Sep 2015 03:24:19 +0000 (08:54 +0530)]
Remove Typo from FAQs
Geert Hauwaerts [Sun, 27 Sep 2015 08:04:24 +0000 (10:04 +0200)]
Merge pull request #305 from dequis/install-doc-mention-local-lib
INSTALL: mention local::lib for home directory installations
dequis [Sun, 27 Sep 2015 05:15:14 +0000 (02:15 -0300)]
INSTALL: mention local::lib for home directory installations
I had problems installing this and this file didn't have the answer.
So I'm adding what nei told me to do.
ailin-nemui [Sat, 26 Sep 2015 17:07:54 +0000 (19:07 +0200)]
Merge pull request #304 from LemonBoy/sasl_user_options
Allow the user to set and modify the SASL parameters
LemonBoy [Sat, 26 Sep 2015 16:53:10 +0000 (18:53 +0200)]
Allow the user to set and modify the SASL parameters
The /NETWORK ADD command now is able to modify the SASL mechanism, the
username and the password on a chatnet basis.
Geert Hauwaerts [Thu, 24 Sep 2015 16:04:29 +0000 (18:04 +0200)]
Merge pull request #302 from vague666/rawlog_save_with_dir
Added functionality to create dir if dir specified in rawlog filename
Jari Matilainen [Thu, 24 Sep 2015 09:59:18 +0000 (11:59 +0200)]
Added functionality to create dir if dir specified in rawlog filename
Geert Hauwaerts [Thu, 24 Sep 2015 08:05:30 +0000 (10:05 +0200)]
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
Robert C Jensen [Thu, 24 Sep 2015 02:39:37 +0000 (23:39 -0300)]
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
Geert Hauwaerts [Wed, 23 Sep 2015 18:13:25 +0000 (20:13 +0200)]
Merge pull request #298 from dequis/multi-prefix
Add multi-prefix to list of capabilities to request
Geert Hauwaerts [Wed, 23 Sep 2015 18:11:47 +0000 (20:11 +0200)]
Merge pull request #300 from dequis/drop-centos5
Drop centos 5 support, bump glib requirement to 2.16
dequis [Wed, 23 Sep 2015 16:42:00 +0000 (13:42 -0300)]
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
dequis [Wed, 23 Sep 2015 16:39:07 +0000 (13:39 -0300)]
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.
dequis [Wed, 23 Sep 2015 16:37:14 +0000 (13:37 -0300)]
Revert "Revert "Bug fix - docdir is ignored during installation.""
This reverts commit
d222c11f74a5662df59e00e7ae6c8105179a804e .
Geert Hauwaerts [Wed, 23 Sep 2015 16:52:14 +0000 (18:52 +0200)]
Merge pull request #264 from ailin-nemui/window-help
Improve the WINDOW help
Ailin Nemui [Sun, 12 Jul 2015 17:03:58 +0000 (19:03 +0200)]
Improve the WINDOW help
Properly describe the window command.
Make help sort order deterministic.
dequis [Wed, 23 Sep 2015 06:17:29 +0000 (03:17 -0300)]
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.
dequis [Tue, 22 Sep 2015 22:35:10 +0000 (19:35 -0300)]
sig_message_irc_op_public: fix nickmode lookup, use cleantarget instead
ailin-nemui [Tue, 22 Sep 2015 22:07:03 +0000 (00:07 +0200)]
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
Jari Matilainen [Tue, 22 Sep 2015 21:16:41 +0000 (23:16 +0200)]
Fix return value from nick_match_msg_everywhere, remove #include 'settings.h'
Jari Matilainen [Tue, 22 Sep 2015 21:09:55 +0000 (23:09 +0200)]
Fix return value from nick_match_msg_everywhere
Jari Matilainen [Tue, 22 Sep 2015 20:39:44 +0000 (22:39 +0200)]
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
ailin-nemui [Tue, 22 Sep 2015 20:00:31 +0000 (22:00 +0200)]
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
ailin-nemui [Tue, 22 Sep 2015 19:59:17 +0000 (21:59 +0200)]
Revert "Network and IPv{4,6} related changes"
ailin-nemui [Tue, 22 Sep 2015 15:43:31 +0000 (17:43 +0200)]
Merge pull request #290 from LemonBoy/ipv6
Network and IPv{4,6} related changes
ailin-nemui [Tue, 22 Sep 2015 10:20:35 +0000 (12:20 +0200)]
Merge pull request #295 from dequis/fix-bug-291
Fix #291, "/msg +#channel incorrectly shows up as Nick:@#channel"
dequis [Tue, 22 Sep 2015 04:17:15 +0000 (01:17 -0300)]
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.
dequis [Tue, 22 Sep 2015 03:01:04 +0000 (00:01 -0300)]
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.
dequis [Tue, 22 Sep 2015 01:53:53 +0000 (22:53 -0300)]
Limit recursion depth of key/combo expansion in key_states_scan()
Fixes FS#817 - "SegFault when executing bind command", which provides
the test case "/bind cleft key meta", which is stupid but now it doesn't
break things.
The limit of 100 is arbitrary, it means roughly 140 stack frames total.
The flyspray ticket mentions it crashes at 512, in my system it goes all
the way to 149677 stack frames.
http://bugs.irssi.org/index.php?do=details&task_id=817
ailin-nemui [Mon, 21 Sep 2015 21:00:31 +0000 (23:00 +0200)]
Merge pull request #292 from dequis/mangled-text-paste-fix
Fix FS#905, mangled text when pasted line length exceeds 400
dequis [Thu, 17 Sep 2015 03:55:31 +0000 (00:55 -0300)]
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.
ailin-nemui [Mon, 21 Sep 2015 16:47:09 +0000 (18:47 +0200)]
Merge pull request #267 from kyak/master
Add expandos for hostname
LemonBoy [Mon, 21 Sep 2015 12:38:10 +0000 (14:38 +0200)]
Ding dong the switch is dead
LemonBoy [Mon, 21 Sep 2015 11:54:13 +0000 (13:54 +0200)]
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.
dx [Sun, 20 Sep 2015 22:19:49 +0000 (19:19 -0300)]
Merge pull request #278 from LemonBoy/sasl
SASL support
LemonBoy [Sun, 20 Sep 2015 21:13:43 +0000 (23:13 +0200)]
Use formats instead of g_warning
Add some copyright headers here and there too.
Alexander Færøy [Sun, 20 Sep 2015 21:11:39 +0000 (23:11 +0200)]
More format warnings removed.
Alexander Færøy [Sun, 20 Sep 2015 21:02:51 +0000 (23:02 +0200)]
Undefine PACKAGE_VERSION before overwriting it.
Alexander Færøy [Sun, 20 Sep 2015 20:51:13 +0000 (22:51 +0200)]
Fix formatting warnings.
dx [Sun, 20 Sep 2015 19:49:48 +0000 (16:49 -0300)]
Merge pull request #288 from irssi/ahf/kill-gc
Remove Garbage Collection support.
Alexander Færøy [Sun, 20 Sep 2015 19:45:33 +0000 (21:45 +0200)]
Fix warning.
Add comment on the use of ??) in C, since that string isn't entirely
obvious to people who are reading the code.
Alexander Færøy [Sun, 20 Sep 2015 18:54:29 +0000 (20:54 +0200)]
Remove Garbage Collection support.
GC support was never enabled by default and nobody in the current
development team seems to care about it.
Alexander Færøy [Sun, 20 Sep 2015 19:21:40 +0000 (21:21 +0200)]
Fix warning.
Alexander Færøy [Sun, 20 Sep 2015 19:12:07 +0000 (21:12 +0200)]
Use g_string_append() instead of g_string_append_c() for string.
Alexander Færøy [Sun, 20 Sep 2015 19:01:25 +0000 (21:01 +0200)]
Use g_string_append() instead of g_string_append_c() for string.
LemonBoy [Sat, 19 Sep 2015 21:58:16 +0000 (23:58 +0200)]
Merge remote-tracking branch 'origin' into sasl
Jari Matilainen [Sat, 19 Sep 2015 21:27:48 +0000 (18:27 -0300)]
Add setting to configure rejoin on reconnect behaviour
Closes #169
ailin-nemui [Sat, 19 Sep 2015 21:09:29 +0000 (23:09 +0200)]
Merge pull request #283 from LemonBoy/unset-crnl
Clear the ICRNL flag
dx [Sat, 19 Sep 2015 20:02:11 +0000 (17:02 -0300)]
Merge pull request #286 from dequis/missing-fe-irc-channels-include
Add two missing #include "fe-irc-channels.h"
Geert Hauwaerts [Sat, 19 Sep 2015 11:24:19 +0000 (13:24 +0200)]
Merge pull request #284 from ailin-nemui/document-perl-crashes
Document some shortcomings in perl.txt
LemonBoy [Wed, 16 Sep 2015 13:31:51 +0000 (15:31 +0200)]
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.
dequis [Sat, 19 Sep 2015 02:56:17 +0000 (23:56 -0300)]
Add two missing #include "fe-irc-channels.h"
Fixes #285
ailin-nemui [Sat, 19 Sep 2015 00:53:25 +0000 (02:53 +0200)]
Merge pull request #259 from dequis/irssiproxy
Updates for irssiproxy
ailin-nemui [Fri, 18 Sep 2015 21:33:52 +0000 (23:33 +0200)]
Update perl.txt
LemonBoy [Fri, 11 Sep 2015 21:21:33 +0000 (23:21 +0200)]
Don't handle 908 as a critical failure
"if the mechanism is unknown, 908 is optional, 904 (or equivalent error condition) is required"
LemonBoy [Fri, 11 Sep 2015 21:20:07 +0000 (23:20 +0200)]
Parse the error string received by the server
So that in case of SASL failure the user sees a nice error message.
LemonBoy [Fri, 11 Sep 2015 21:17:46 +0000 (23:17 +0200)]
Consider the SASL handshake successful on 903
LemonBoy [Fri, 11 Sep 2015 20:23:38 +0000 (22:23 +0200)]
Handle event 906 and 908
LemonBoy [Fri, 11 Sep 2015 20:09:47 +0000 (22:09 +0200)]
Explicitly set the authorization id during the PLAIN handshake
On error show the user the message sent by the server.
LemonBoy [Thu, 10 Sep 2015 23:17:18 +0000 (01:17 +0200)]
Replace spaces with tabs
LemonBoy [Thu, 10 Sep 2015 22:58:01 +0000 (00:58 +0200)]
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().
LemonBoy [Wed, 9 Sep 2015 23:02:44 +0000 (01:02 +0200)]
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.
Alexander Færøy [Wed, 9 Sep 2015 23:37:08 +0000 (01:37 +0200)]
Merge pull request #248 from LemonBoy/chantypes
Implement CHANTYPES support
LemonBoy [Wed, 9 Sep 2015 21:55:00 +0000 (23:55 +0200)]
Move the function prototypes in a separate header
Alexander Færøy [Wed, 9 Sep 2015 20:55:24 +0000 (22:55 +0200)]
Merge pull request #276 from LemonBoy/terminfo-application-mode
Send smkx/rmkx sequence at terminal init
Alexander Færøy [Wed, 9 Sep 2015 20:51:40 +0000 (22:51 +0200)]
Merge pull request #275 from LemonBoy/cap-support-nitpicks
Fix two minor issues outlined in the PR#222
LemonBoy [Sun, 6 Sep 2015 13:47:08 +0000 (15:47 +0200)]
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.
LemonBoy [Wed, 2 Sep 2015 20:40:10 +0000 (22:40 +0200)]
Fix two minor issues outlined in the PR#222
irc-cap.c has now a licence header.
A minor style fix in misc.c
LemonBoy [Wed, 2 Sep 2015 19:50:40 +0000 (21:50 +0200)]
Introduce some more chantypes awareness
LemonBoy [Wed, 2 Sep 2015 18:24:47 +0000 (20:24 +0200)]
Whitespace fix
kyak [Sat, 29 Aug 2015 12:40:17 +0000 (15:40 +0300)]
Remove extra line break
How did this extra break cripple in here?
kyak [Sat, 29 Aug 2015 12:36:05 +0000 (15:36 +0300)]
Use HOST_NAME_MAX for userhost and hostname expandos
Use HOST_NAME_MAX instead of hardcoded 100 for userhost
and hostname expandos.
kyak [Sat, 29 Aug 2015 12:32:22 +0000 (15:32 +0300)]
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.
kyak [Sat, 29 Aug 2015 12:29:57 +0000 (15:29 +0300)]
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
kyak [Wed, 26 Aug 2015 06:34:48 +0000 (09:34 +0300)]
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.
Alexander Færøy [Mon, 24 Aug 2015 20:27:51 +0000 (22:27 +0200)]
Merge pull request #263 from ailin-nemui/git-clone-check
Introduce check for git commands in autogen