summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-28Merge pull request #345 from LemonBoy/sasl-reconnectdx
Preserve the sasl_ options across reconnects.
2015-10-28Preserve the sasl_ options across reconnects.LemonBoy
2015-10-28Fix quote around macro argumentRodrigo Rebello
In m4/curses.m4, line 134, the 5th argument passed to AC_NCURSES was surrounded by '"' instead of '[' and ']'. Because of that, the expansion of AC_NCURSES in that case would produce the following line inside the configure script (note the repeated double quotes): screen_manager=""ncurses on $withval/include"" That would cause the following error when configure was executed with the "--with-ncurses=dir" argument: ./configure: line 13468: on: command not found Although in the case above the error doesn't actually influence the build process ('screen_manager' isn't used anywhere in the script), trying to execute 'on' might be harmful if it corresponded to an existing command in the user's environment.
2015-10-23Fix invalid reads in strsplit_len when splitting on spacesdequis
The symptom for this one is randomly getting lines split before the last word, even if there's no need for splitting. Also, this function is only reached if recode is on, and iconv failed (for example, due to an incorrect source charset). Thanks to vague for finding this and providing valgrind logs. The loop that looks for spaces tried to read backwards from the end of the current line, with the end being determined by len. Assuming strsplit_len() with len=400, this meant accessing str[399] in the first iteration. For strings that don't need splitting, this means an invalid read always. If that invalid read happens to hit garbage that has a space character, (len - offset) points after the end of string, which isn't a problem for g_strndup() since it stops at the first null, and no splitting happens. If the garbage doesn't have any spaces, it splits by the last word. This commit avoids that loop entirely if (remaining_len > len). It also changes the way it iterates over the string to be much less confusing.
2015-10-08Merge pull request #333 from dequis/recon-tag-fixailin-nemui
Fix /reconnect RECON-1 saying "Reconnection tag 1 not found"
2015-10-08Fix /reconnect RECON-1 saying "Reconnection tag 1 not found"dequis
Turns out it was fixing the wrong string, and trying to do atoi("RECON-1") instead of atoi("1"). "/reconnect 1" worked, but "/reconnect RECON-1" gave that confusing error message.
2015-10-06Add xterm's keypad enter, meta-O-M to "key return" bindingsdequis
From the 'kent' terminfo entry. Also applies to putty. Fixes #327
2015-10-04Merge pull request #318 from LemonBoy/fix-utf8-elementsailin-nemui
Fix the display of utf8 sequences in the gui
2015-10-04Fix the indentation.LemonBoy
2015-10-03Merge pull request #314 from LemonBoy/sasl_sessiondx
Save the sasl state in the session
2015-10-03Add -Wall and -Werror as CFLAGS to make.Alexander Færøy
2015-10-03Remove check for >= 0 for unsigned unichar.Alexander Færøy
2015-10-03Add SETTING_TYPE_ANY and replace -1 with it.Alexander Færøy
2015-10-03Simplify Travis config.Alexander Færøy
2015-10-03Merge pull request #322 from LemonBoy/fix-warning-awaylogAlexander Færøy
Include write-buffer.h in log-away.c
2015-10-03Include write-buffer.h in log-away.cLemonBoy
Silence a warning and make the world a better place.
2015-10-02Set HOST_NAME_MAX to 255, if it's undefined.Alexander Færøy
Thanks to Jilles and dx. Fixes #309
2015-10-02Use silent rules.Alexander Færøy
2015-10-02Add missing null terminator to the g_build_path() varargsdequis
Lemon broke it a few commits ago.
2015-10-02Merge pull request #316 from LemonBoy/fix_mem_leakGeert Hauwaerts
Fix a memory leak.
2015-10-02Merge pull request #319 from LemonBoy/awaylog-flushGeert Hauwaerts
Flush the dirty buffer to disk
2015-10-02Flush the dirty buffer to diskLemonBoy
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
2015-10-02Kill an unneeded declarationLemonBoy
2015-10-02Even simpler logicLemonBoy
2015-10-02Rework the logic to avoid allocating memoryLemonBoy
2015-10-02Fix the display of utf8 sequences in the guiLemonBoy
term_addstr() had a long-standing fixme that suggested it didn't take into account the string encoding when calculating the string length. The BIG5 code path is untested.
2015-10-02Fix a memory leak.LemonBoy
g_get_current_dir() returns a heap-allocated string.
2015-10-02Merge pull request #294 from dequis/key-states-rescan-recursion-limitdx
Limit recursion depth of key/combo expansion in key_states_scan()
2015-10-02Merge pull request #315 from LemonBoy/prevent_blank_usermodeailin-nemui
Don't set the usermode field if blank
2015-10-02Don't set the usermode field if blankLemonBoy
Fixes FS#919
2015-10-02Save the sasl state in the sessionLemonBoy
This is seemingly required to have irssi re-authenticate after a restart.
2015-10-01Fix return value of server_setup_remove_chatnetisundil
2015-10-01Updated server removalisundil
Removing network will also remove attached channels
2015-10-01Fix #45 Make it easy to delete default channels, servers and networksisundil
Removing network will now also remove all attached servers
2015-10-01Merge pull request #312 from Jellyfrog/patch-1dx
Switch to modern Travis CI infrastructure
2015-09-29Switch to modern Travis CI infrastructureJellyfrog
Fixes #310
2015-09-29Merge pull request #308 from vague666/sasl_in_network_listailin-nemui
Add sasl info to /network list output if available
2015-09-29Make sure sasl settings are defined before printing them outJari Matilainen
2015-09-29Add sasl info to /network list output if availableJari Matilainen
2015-09-28Merge pull request #307 from chi6rag/masterailin-nemui
Remove Typo from Startup FAQs
2015-09-28Remove Typo from FAQsChirag Aggarwal
2015-09-27Merge pull request #305 from dequis/install-doc-mention-local-libGeert Hauwaerts
INSTALL: mention local::lib for home directory installations
2015-09-27INSTALL: mention local::lib for home directory installationsdequis
I had problems installing this and this file didn't have the answer. So I'm adding what nei told me to do.
2015-09-26Merge pull request #304 from LemonBoy/sasl_user_optionsailin-nemui
Allow the user to set and modify the SASL parameters
2015-09-26Allow the user to set and modify the SASL parametersLemonBoy
The /NETWORK ADD command now is able to modify the SASL mechanism, the username and the password on a chatnet basis.
2015-09-24Merge pull request #302 from vague666/rawlog_save_with_dirGeert Hauwaerts
Added functionality to create dir if dir specified in rawlog filename
2015-09-24Added functionality to create dir if dir specified in rawlog filenameJari Matilainen
2015-09-24Merge pull request #301 from dequis/dcc-get-ntfs-temp-bugGeert Hauwaerts
dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mounts
2015-09-23dcc-get: close() the temp fd so we don't get ETXTBSY in ntfs mountsRobert C Jensen
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-23Merge pull request #298 from dequis/multi-prefixGeert Hauwaerts
Add multi-prefix to list of capabilities to request