summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-01-07Match LS instead of checking the first letter onlyLemonBoy
2018-01-07Command names may be in lower-caseLemonBoy
Do not take the string case into account when comparing the command name.
2018-01-07Simplify the codeLemonBoy
Early exit, simpler code.
2018-01-07Keep processing the CAPs on errorLemonBoy
If an invalid CAP is found we keep going by parsing the next one.
2018-01-07Prevent a memory leakLemonBoy
When a CAP DEL is received the key/val pair is not stored in the hashtable at all so just free them when we're done.
2018-01-07Miscellaneous fixesLemonBoy
Stylistic stuff, please ignore.
2018-01-07Prevent a NULL pointer deferenceLemonBoy
Always create the cap_supported table when a CAP event is received.
2018-01-07Use strcmp instead of g_strcmp0LemonBoy
There's no need to use the latter.
2018-01-07Properly dispose the GSList chainsLemonBoy
We forgot to free the link and the data, oops.
2018-01-07Handle CAP {ADD,DEL} from cap-notifyLemonBoy
This is the last piece of the puzzle.
2018-01-07Parse multiline responses to CAP LSLemonBoy
The parsing logic isn't too elegant because of the optional parameter used for signaling if a response has a continuation one.
2018-01-07Don't free the hash table if there's noneLemonBoy
Glib doesn't like that and shows a harmless warning.
2018-01-07Factor out the parsing functionLemonBoy
This is also needed for CAP NEW and CAP DEL.
2018-01-07Parse the K/V form in CAP LSLemonBoy
This is a prerequisite for the IRC v3.2 compliance.
2018-01-07Merge pull request #805 from ailin-nemui/exec-emptyailin-nemui
fix /exec -o for blank lines
2018-01-07Merge pull request #804 from ailin-nemui/patch-1ailin-nemui
handle an already used nick different from the one we send
2018-01-07Merge pull request #746 from ailin-nemui/hide-linesailin-nemui
Add method to hide lines in a view
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-05Update irc-nicklist.cailin-nemui
move altnick check before the nick correction code
2018-01-04Merge branch 'fix-gl-20' into 'security'Nei
do not record topic change time when sender is blank See merge request irssi/irssi!25
2018-01-04Merge branch 'fix-gl-21' into 'security'Nei
check if \\c is complete in eval See merge request irssi/irssi!26
2018-01-04Merge branch 'fix-gl-19' into 'security'Nei
rewrite completion code and check for direct match of separator See merge request irssi/irssi!27
2018-01-03disable variable arguments codeailin-nemui
2018-01-03rewrite completion code and check for direct match of separatorailin-nemui
2018-01-03check if \\c is complete in evalailin-nemui
2018-01-03do not record topic change time when sender is blankailin-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-12-11Merge pull request #766 from horgh/horgh/mode-parsingailin-nemui
Fix MODE parameter parsing
2017-12-02Update NULL comparison style and be C89 compatibleWill Storey
2017-11-30move decls before codeailin-nemui
2017-11-30fix commentsailin-nemui
2017-11-27Revert initializing pointers to NULLWill Storey
To maintain C89 compatibility
2017-11-26Merge pull request #790 from ailin-nemui/mirc-colourailin-nemui
reset colour at comma, like mIRC
2017-11-26Merge branch 'master' into hide-linesailin-nemui
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-10use enumailin-nemui
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-01up abiailin-nemui
2017-11-01show initial nick and name on first startailin-nemui
2017-10-26clean up file path after moveailin-nemui
2017-10-24Strip : from <trailing> parametersWill Storey
This is to fix #601. The function used to extract the mode string assumed that ":" would only occur in a particular spot. This lead to the possibility that ":" could be treated as part of things like nicknames or mode arguments, where it should have been stripped as part of protocol escaping.
2017-10-23Merge pull request #770 from horgh/horgh/rm-unused-functionailin-nemui
Remove a couple unused functions
2017-10-20Merge branch 'fix-16' into 'security'Nei
Prevent a OOB read when parsing IRCNet ! channels See merge request irssi/irssi!22
2017-10-20Merge branch 'fix-gl-15' into 'security'Nei
Don't proceed with cmd_msg if there was an error splitting msg See merge request irssi/irssi!21
2017-10-20Merge branch 'fix-dcc' into 'security'Nei
fix dcc See merge request irssi/irssi!20
2017-10-20Make split functions return an array with NULL instead of NULLJoseph Bisch
This avoids undefined behavior in functions that call these split functions and expect an array back instead of just a NULL pointer.