summaryrefslogtreecommitdiff
path: root/src/fe-common/core
AgeCommit message (Collapse)Author
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-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-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-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-20More format warnings removed.Alexander Færøy
2015-06-121k+ windows are now the default formatting (#223)Geert Hauwaerts
1k+ windows are now the default formatting (#223)
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
2014-12-16Merge pull request #164 from ailin-nemui/fix-ansi-resetAlexander Færøy
Fix reset of attributes with ansi
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-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-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.
2014-07-06Redraw the statusbar after reading the settingsGeert Hauwaerts
I fixed a bug where the statusbar was not redrawn after reading the settings.
2014-07-04Merge pull request #80 from dgl/noactAlexander Færøy
Change NO_ACT so it can be combined with other levels
2014-07-02Merge pull request #48 from ailin-nemui/256-colour-historyAlexander Færøy
256 colour support for Irssi
2014-06-30Finish 256 colour support for IrssiAilin Nemui
256 colour patch is cleaned up and the remaining cases are made work, this includes especially Theme support, which was not implemented before. Changes not related to colours were reverted again, making a review of the two patches against master easier to follow. As a byproduct of the Hex-colour code parser, the 24bit colours are also implemented. Actually using them in the terminal is guarded by a compile time switch (as well as a run time switch), as it breaks the existing colour protocol and requires additional storage. To make a seamless usage, down-conversion is provided for 8 and 16 colours. Diverging from Tom's approach, the colour protocol is reverted back to the original one. Unfortunately, the changes required in the Theme engine will break the API. For more details, please refer to the patch documentation at either http://irssi-docs.wikispaces.com/Notes-256-Colour or https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour
2014-06-30Remove NO_ACT if we see a user specified hilightDavid Leadbeater
In this path we can't look up ignores again because the print text signal doesn't know the nick, etc. Instead just show it. The user can use -actcolor %n or make the hilight more specific if desired.
2014-06-30Change NO_ACT so it can be used in addition to other ignoresDavid Leadbeater
This results in a more flexible system and is less surprising as it means levels can be used in the way they normally can in an ignore. As an example the current approach to NO_ACT provides no way to let HILIGHTS be shown, with this change /set activity_hide_targets can be recreated with: /ignore #channel NO_ACT /ignore #channel -except -regexp -pattern . NO_ACT HILIGHTS (but obviously this can be configured in many more ways if desired).
2014-06-30Make it more obvious if -pattern wasn't provided to a regexp /ignoreDavid Leadbeater
2014-06-30Initial implementation of 256 colour support for IrssiTom Feist
This patch implements some 256 colour support for Irssi up from the previous 16 colours. Initial parsing of the %x/%X format codes is implemented and the parser accounts in advances the char* for that. The colour attributes are widened from 4 to 8 bit. The colour protocol is changed to a new format. Some pointers to remaining work are written in the comment in textbuffer.h. Note that Irssi already does support requesting 256 colours from the terminal in the original source code, so this part did not have to be touched.
2014-06-27s/INCLUDES/AM_CPPFLAGS/gDave Reisner
Silences warnings on recent automake such as: src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-27Merge pull request #44 from dajohi/g_basenameAlexander Færøy
Replace deprecated g_basename with g_path_get_basename.
2014-06-26Remove unused variables to silence compiler warningsDavid Leadbeater
2014-06-22Replace deprecated g_basename with g_path_get_basename.David Hill
2014-06-18Add NO_ACT levelTom Feist
This patch adds a new NO_ACT level that can be used with /ignore to ignore activity notifications
2014-06-18Fix UTF-8 character corruption every 32kb of text bufferKuang-che Wu
2014-06-15speed up window_item_find by interning name and removing call to channel_findAilin Nemui
2014-06-15Disallow unloading of static modulesJaroslav Škarvada
2014-06-15Merge pull request #36 from dajohi/g_tree_foreachAlexander Færøy
Replace deprecated g_tree_traverse with g_tree_foreach.