summaryrefslogtreecommitdiff
path: root/src/fe-common/core
AgeCommit message (Collapse)Author
2018-01-08Merge pull request #697 from ailin-nemui/rsplitailin-nemui
sideways split support for Irssi
2018-01-08Merge pull request #779 from vague666/activity_hide_target_only_channels_v2ailin-nemui
Allow selection of what kind of activity targets to ignore v2
2018-01-07Merge pull request #805 from ailin-nemui/exec-emptyailin-nemui
fix /exec -o for blank lines
2018-01-07fe-common-core: fix redeclaration of server_tag_lendequis
2018-01-06Update fe-common-core.cailin-nemui
fix mixed decls
2018-01-06Update fe-common-core.cailin-nemui
2018-01-06sideways split support for Irssiailin-nemui
warning: * may be buggy This commit adds support for sideways splits into Irssi. To that regard, there are a number of new commands available the "R" commands: /window new rsplit - make a new sideways split /window rshow - show an existing window to the right /window rgrow/rshrink/rsize/rbalance - manipulate the size of your sideways split windows the "D" commands: /window dup/ddown/dleft/dright - navigate the windows directionally, as an alternative to /window up/down that you can bind to some key /window move dleft/dright - the same for moving Enjoy!
2018-01-06make format_real_length left-collectingailin-nemui
2018-01-05fix /exec -o for blank linesailin-nemui
since it is not allowed to send nothing, instead of spamming the status window with error, send " " instead Fixes FS#902
2018-01-03rewrite completion code and check for direct match of separatorailin-nemui
2018-01-03Merge branch 'uaf-modify' into 'master'Nei
Prevent a UAF error during the execution of some commands See merge request irssi/irssi!24
2017-11-30move decls before codeailin-nemui
2017-11-26Merge pull request #790 from ailin-nemui/mirc-colourailin-nemui
reset colour at comma, like mIRC
2017-11-26Merge pull request #762 from ailin-nemui/global-historyailin-nemui
allow access to global command history when using a specifc history
2017-11-20Update formats.cailin-nemui
remove now useless check for ,
2017-11-15reset colour at comma, like mIRCailin-nemui
Fixes #742 and #740
2017-11-15Merge pull request #786 from ailin-nemui/show-inital-nickailin-nemui
show initial nick and name on first start
2017-11-11Prevent a UAF error during the execution of some commandsLemonBoy
Some arguments were free'd first and then printed, leading to gibberish being output to screen or a crash. Found by Joseph Bisch. Closes: !GL17
2017-11-03Keep a copy of the strings coming from the configLemonBoy
The "HILIGHT_REC" structure used to keep a pointer to the "servertag" string, owned by the "CONFIG_NODE", causing a double-free.
2017-11-02Allow selection of what kind of activity targets to ignoreJari Matilainen
Initialize tagtarget on declaration move code around for better flow, extra checks for uninitialized values remove unnecessary item->type checks don't strdup sign add braces around if statements, use strcmp0 with single characters and remove g_str_has_prefix refactoring changed g_ascii_strcasecmp to g_strcmp0 Add networktag/ shorthand fixed memory leaks changed from #@= to ::channels, ::queries and ::dccqueries check for empty string and continue; if found fixed bug with empty string check Clean up code
2017-11-01show initial nick and name on first startailin-nemui
2017-10-07fix out of bounds read in compress_colorsailin-nemui
Reported by Hanno Böck. Fixes GL#12
2017-10-06add a key binding to erase history entriesailin-nemui
it is possible to delete the current history entry using the erase_history_entry key binding
2017-10-06add two XSFuncs to manipulate command history entriesailin-nemui
it is possible to use Irssi::UI::Window::get_history_entries to save the history entries, load_history_entries to load entries into the command history and delete_history_entries to remove history entries (for example to remove history selectively)
2017-10-06refactor history to use history_entries listailin-nemui
this allows access to the global history even when a using /window history named or /set window_history on, and you want to recall something from one of the other windows' histories. usage (default): ctrl+up/down
2017-09-10Merge pull request #735 from trasz/capsicumailin-nemui
Add Capsicum support
2017-09-08Fix /back in Capsicum capability mode.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-08-29Complete filenames ending with a slashLemonBoy
2017-08-09Fix indentation; no functional changes.Edward Tomasz Napierala
(Take two.) Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-08-09Add back some ifdefs.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-08-01Clean up includes a bit.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-30Update copyrights.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-30Hook up capsicum.h and fe-capsicum.h to autotools.Edward Tomasz Napierala
This hopefully fixes Travis build. Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-29Fix build without Capsicum.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-29Add wrappers to reduce #ifdefs.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-29Working autolog.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-29Add capability mode error/success messages.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-28Don't compute log_dir_create_mode in three different places.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-03Merge pull request #653 from ailin-nemui/regexexailin-nemui
Enable UTF8 in GRegex
2017-06-23Merge pull request #709 from osm/masterailin-nemui
Escape nicks during nick completion when expand_escapes is enabled
2017-06-23Merge pull request #703 from vague666/server_modify_portailin-nemui
Allow -port <num> or irc.host.tld <num> in /server add
2017-06-22remove constailin-nemui
2017-06-21Escape nicks during nick completion when expand_escapes is enabledOscar Linderholm
Fixes #693
2017-06-19fix weird n-fold unescapingailin-nemui
2017-06-05get rid of new_textailin-nemui
2017-06-04Make backward compatible with ssl flagsJari Matilainen
2017-06-04change ternary operator to if/else statements, add default ssl port supportJari Matilainen
2017-06-04Refactor regex and implement UTF8 mode for GRegexailin-nemui
- with non-unicode byte to Private Use Area A mapping - move all ifdefs to iregex.h file only
2017-05-18Add parse_uint function to improve integer overflow handlingdequis
Originally found by oss-fuzz (issue 525) in get_ansi_color using ubsan. After a lot of analysis I'm 99% sure this isn't security relevant so it's fine to handle this publicly. The fix is mainly adding a function that does it right and use it everywhere. This is harder than it seems because the strtol() family of functions doesn't have the friendliest of interfaces. Aside from get_ansi_color(), there were other pieces of code that used the same (out*10+(*in-'0')) pattern, like the parse_size() and parse_time_interval() functions, which are mostly used for settings. Those are interesting cases, since they multiply the parsed number (resulting in more overflows) and they write to a signed integer parameter (which can accidentally make the uints negative without UB) Thanks to Pascal Cuoq for enlightening me about the undefined behavior of parse_size (and, in particular, the implementation-defined behavior of one of the WIP versions of this commit, where something like signed integer overflow happened, but it was legal). Also for writing tis-interpreter, which is better than ubsan to verify these things.
2017-05-15Make sure port is only set on /server modify if specifiedJari Matilainen