summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-01-11Merge pull request #393 from ailin-nemui/moduleversion-perlailin-nemui
forward ABI to perl modules
2016-01-11Merge pull request #394 from ailin-nemui/reset-historyailin-nemui
option to clear the history
2016-01-11Merge pull request #389 from ailin-nemui/hilight2-upailin-nemui
keep track of address in text_dest for hilight purposes
2016-01-11Merge pull request #390 from LemonBoy/ignore-findailin-nemui
Clean up the ignore_find API to make it more powerful.
2016-01-08make /knockout use /unban to remove bansLukas Mai
/knockout uses /ban to set bans but calls ban_remove() directly to remove them. This commit makes it use /unban instead. This allows scripts that hook ban/unban to work automatically with /knockout.
2016-01-08irc/core/irc-commands.c: fix indentationLukas Mai
2016-01-08reorder history add and fixesailin-nemui
2016-01-08option to clear the historyailin-nemui
2016-01-07forward ABI to perl modulesailin-nemui
2016-01-06irssiproxy: avoid using pointer after freeing itLukas Mai
2016-01-03Don't break the API.LemonBoy
Have a ignore_find_full method that is the one that all the new code should be using and provide some working stubs for ignore_find and ignore_find_noact.
2016-01-03Clean up the ignore_find API to make it more powerful.LemonBoy
This way we prevent the creation of duplicate ignores since the old code skipped the ignore_find call when a pattern was specified. It should also cover all the cases where the ignores would be wrongly overwritten, such as the case outlined in #78.
2015-12-28keep track of address in text_dest for hilight purposesailin-nemui
2015-12-15clean up after #303ailin-nemui
2015-12-15Merge pull request #303 from vague666/fs275ailin-nemui
Applied patch from fs#275 to make /hilight -mask -line work properly
2015-12-15Merge pull request #306 from dequis/bracketed-pasteailin-nemui
Implement paste detection via the bracketed paste mode 2: bracket pasterer
2015-12-13Bracketed paste: fix nitpick from ahf's reviewdequis
Thanks ahf
2015-12-13ensure staticlib perl works on 5.22 (for now)ailin-nemui
2015-12-12Bracketed paste: Adjust paste line count if there's text after newlinesdequis
With bracketed paste, "a\nb" will result in two lines being pasted, because it's a single thing, with an end marker which the timeout based pastes don't have. Due to the way term_gets() counts lines, that input will have paste_line_count == 1. This can be misleading. This code adjusts it by looking at the last character, and increasing the count if it finds anything that isn't a newline.
2015-12-12Disable timeout-based paste detection if paste_use_bracketed_mode is ondequis
2015-12-10deinit perl on staticperl buildsailin-nemui
2015-12-10module check irssi versionailin-nemui
Add explicit checks into every module to match the ABI version defined in common.h
2015-12-09Merge pull request #371 from LemonBoy/rampageailin-nemui
Rewrite some faulty logic handling the saved channels. Fixes #340
2015-12-09Remove all WIN32 ifdefs (unifdef -UWIN32)dequis
Just use cygwin. This looks like it wasn't enough to do anything useful, and I don't think anyone cares about supporting win32 the hard way.
2015-12-09Minor adjustments.LemonBoy
Use g_strcmp0 instead of strcmp. Explicit checks added for the g_strcmp0 clauses.
2015-12-09Rewrite some faulty logic handling the saved servers.LemonBoy
2015-12-09Better function namingLemonBoy
2015-12-09add missing file to Makefileailin-nemui
2015-12-09Add bindings for exec-type window items to PerlAilin Nemui
These bindings were missing and resulted in non-hash non-undef active entries when an interactive process is executing.
2015-12-09Merge pull request #174 from ailin-nemui/entry-prompt-coloursailin-nemui
reimplement format and length logic for the entry prompt
2015-12-09Merge pull request #65 from ailin-nemui/perl-irc-polyailin-nemui
forward alternate_nick to Irc::Server attributes
2015-12-09Rewrite some faulty logic handling the saved channels.LemonBoy
Issue #340 brought to our attention the fact that under certain circumstances irssi would go on a wild rampage and carelessly overwrite some saved channel records in the configuration file. This happened because the code didn't take into account the case where the channel index in setupchannels wouldn't match the one in the configuration; this actually happens when the user removes a chatnet without removing the associated channels.
2015-11-26irc-cap: Don't send a space at the beginning of the CAP REQ parameterdequis
Turns out it confuses inspircd, making it reply a NAK with empty parameter. The rest is ACKed anyway. I've already whined at saberuk and there's a pending pull request over there fixing this issue. And, of course, this is cleaner.
2015-11-26Merge pull request #357 from LemonBoy/fix-99+1dx
Correctly alias 'channel' to '#channel'
2015-11-25more perl inheritance warning fixesailin-nemui
2015-11-23Merge pull request #365 from ailin-nemui/perl_nickdx
fix nick class hierarchy
2015-11-24fix nick class hierarchyailin-nemui
2015-11-24stop cap_saslailin-nemui
2015-11-23Merge pull request #360 from LemonBoy/backport-patchdx
Save a patch from the Flyspray oblivion, plus a nice unrelated commit to make everyone (un)happy
2015-11-23Merge pull request #359 from LemonBoy/dcc-assertailin-nemui
Let ignore_check do its work when server is NULL
2015-11-22Use the expanded filename when picking the awaylogLemonBoy
This fixes a long-standing bug where 'fname' was being feed to cat instead of 'real_fname', causing it to quit with a 'No such file or directory' error. FS#377
2015-11-22Use 'isblank()' instead of a custom macroLemonBoy
2015-11-22Correct a wrong use of the 'paste_buffer' variableFabian Kurz
The function "static void paste_buffer_join_lines(GArray *buf)" in "src/fe-text/gui-readline.c" is supposed to join lines from the GArray pointed to by *buf under certain circumstances. In the code of the function "buf" is actually used for getting the length of the GArray, but to get a pointer to the data, "paste_buffer->data" is used; paste_buffer is defined in the scope of the whole file. This delivers the desired result, because this function is only called once, with "paste_buffer" as the argument. If paste_buffer_join_lines() will ever be used with a different argument, it will fail.
2015-11-22Let ignore_check do its work when server is NULLLemonBoy
A NULL-check has been added to the ignore_match_server macro, making the function safe from a pointer perspective. Fixes #193 in the meanwhile.
2015-11-19Correctly alias 'channel' to '#channel'LemonBoy
Use the same approach used in 'irc_channels_join'. Remove 'irc_nick_strip' since it was unused.
2015-11-18Merge pull request #350 from LemonBoy/fix-99ailin-nemui
Strip trailing whitespace from commands
2015-11-10Merge pull request #351 from vague666/hilight_default_behaviourailin-nemui
Fix /hilight list output behaviour depending on enabled flags
2015-11-09/hilight list print output with enabled flags, except when -word and -nick ↵Jari Matilainen
are used
2015-11-09Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible.LemonBoy
2015-11-09Strip the trailing whitespace from /join commands.LemonBoy
Fixes #99 for great good.