summaryrefslogtreecommitdiff
path: root/src/fe-common
AgeCommit message (Collapse)Author
2015-09-24Applied patch from fs#275 to make /hilight -mask -line work properlyJari Matilainen
2015-09-23Drop some glib version checks that are not needed anymoredequis
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-22sig_message_irc_op_public: fix nickmode lookup, use cleantarget insteaddequis
2015-09-23Merge pull request #297 from vague666/hilight_nick_matchesailin-nemui
Add new setting to modify behaviour of hilight_nick_matches to match anywhere in message Fixes #56
2015-09-22Add new setting to optionally modify behaviour of hilight_nick_matchesJari Matilainen
Fix indentation Remove unused variables that crept into the nick_match_msg_everywhere function
2015-09-22Revert "Network and IPv{4,6} related changes"ailin-nemui
2015-09-22Merge pull request #290 from LemonBoy/ipv6ailin-nemui
Network and IPv{4,6} related changes
2015-09-22fe_channel_skip_prefix: fix return value (FALSE/NULL isn't valid)dequis
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-22Fix #291, "/msg +#channel incorrectly shows up as Nick:@#channel"dequis
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-21Limit recursion depth of key/combo expansion in key_states_scan()dequis
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
2015-09-21Initial work to make irssi respect the resolved ip orderLemonBoy
Ip's aren't selected using random() anymore, also select the ip version by using getaddrinfo and some proper hints.
2015-09-20Merge pull request #278 from LemonBoy/sasldx
SASL support
2015-09-21Use formats instead of g_warningLemonBoy
Add some copyright headers here and there too.
2015-09-20More format warnings removed.Alexander Færøy
2015-09-18Add two missing #include "fe-irc-channels.h"dequis
Fixes #285
2015-09-10Merge pull request #248 from LemonBoy/chantypesAlexander Færøy
Implement CHANTYPES support
2015-09-09Move the function prototypes in a separate headerLemonBoy
2015-09-02Introduce some more chantypes awarenessLemonBoy
2015-06-121k+ windows are now the default formatting (#223)Geert Hauwaerts
1k+ windows are now the default formatting (#223)
2015-05-15Implement CHANTYPES supportLemonBoy
2015-04-17Merge pull request #199 from ailin-nemui/config-parserAlexander Færøy
Make config parser more robust
2015-04-17Merge pull request #235 from dequis/g_strcmp0Alexander Færøy
Change all strcmp() to g_strcmp0() to handle nulls gracefully
2015-04-14ssl: Add option to specify SSL cipher suite preference.Haw Loeung
2015-04-07Change all strcmp() to g_strcmp0() to handle nulls gracefullydequis
Just a string replacement (but i did check every one of them) sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2015-04-07Make sure NO_ACT isn't cleared when -actcolor %n is usedDavid Leadbeater
Fixes issue #227.
2015-02-17fix crash in layout code when encountering wrong configAilin Nemui
2015-02-17add CONFIG_REC to config_node_section* APIsAilin Nemui
this adds the CONFIG_REC * to the config_node_section and config_node_section_index APIs as they will require access to the config cache later on to make the config parser more robust.
2015-02-16Merge pull request #115 from ailin-nemui/fix-hat-keyAlexander Færøy
Make ^ key and Ctrl+^ key usable with /BIND
2015-01-17Do not let the ctcp action of an inital query go into the status window.KindOne
2014-12-16Merge pull request #164 from ailin-nemui/fix-ansi-resetAlexander Færøy
Fix reset of attributes with ansi
2014-12-06Merge pull request #161 from anadrome/patch-1Alexander Færøy
Update old bug URLs
2014-11-10reimplement format and length logic for the entry promptAilin Nemui
2014-10-28Fix reset of attributes with ansiAilin Nemui
reported by Christopher Ohlsson (dmnc)
2014-10-26Receive 'self messages' in the right query windowdequis
Original patch by hondza <sedaj2@gmail.com>, from FS#833. I applied several needed style changes, and rebased to current HEAD. This implements the IRCv3.2 self-message extension partially (we can't announce its support through CAP yet). This is also the format used by the 'privmsg' znc module, and is already implemented by several other clients.
2014-10-25Update old bug URLsmjn
At some point in the past few years, Flyspray changed its URL scheme from id=nnn to task_id=nnn, which broke some old comments in the source. Update those comments to URLs that still work.
2014-09-30Fix use-after-free bug with cached settings valuesAlexander Færøy
This patch fixes a couple of use-after-free bugs when caching various string related setting values. Fixes: #143
2014-09-11source cleanup: remove trailing whitespacesMichael Vetter
2014-07-28Modify escape of ^ key so it can be used as well as Ctrl+^Ailin Nemui
Fixes FS#721 This makes Ctrl+^ and ^ bindable again as different keys. We do this by escaping single `^` as `^-`, which is not a valid control character (unlike `^^`) The original approach suggested in FS#721 is insufficient, it will break bindings such as `meta-^` because Irssi is convinced that `^` introduces a Control-key ("key combo") so it is waiting for what may follow.
2014-07-24fix rules for italics emphasisAilin Nemui
while the last patch did stop /path/.xxx from turning italic, it also stopped any other /emphasis/ from becoming italic. correct this by testing for ispunct, so spaces are valid italic terminators
2014-07-12Avoid using uninitalized values.David Hill
2014-07-08more strict rules for italic emphasis to avoid file name clashesAilin Nemui
this additional check avoids /root/.hiddendir from italicising /root/, because that is often used in path names
2014-07-07Merge pull request #15 from ailin-nemui/hilights-network-tagAlexander Færøy
FS#155 hilight -tag
2014-07-07cleanup hilight -network patchAilin Nemui
2014-07-07Merge pull request #58 from ailin-nemui/italicsAlexander Færøy
Implement italics support for Irssi
2014-07-07Merge pull request #29 from sebth/masterAlexander Færøy
Properly split long IRC messages
2014-07-07FS#155 hilight -tagManuel Leiner
2014-07-07optionally render /foo/ as italicsLukas Mai
2014-07-07add italics support; don't use standout for reverseLukas Mai
2014-07-06Added the missing -! and -noautosendcmd optionsGeert Hauwaerts
The SERVER ADD completion was missing the -! and -noautosendcmd options.
2014-07-06Fixed a compiler warning for statusbar_redrawGeert Hauwaerts
Fixed a compiler warning for statusbar_redraw.