summaryrefslogtreecommitdiff
path: root/src/irc/core
AgeCommit message (Collapse)Author
2018-04-08Add "server cap req" signal, emitted before requesting capsdequis
2018-03-20Merge pull request #803 from ailin-nemui/bug-796-testailin-nemui
Postpone server cleanup until after unref
2018-02-13Merge branch 'security' into 'master'Nei
Security See merge request irssi/irssi!34
2018-02-08restore compat with glib <2.40ailin-nemui
2018-02-02do not reuse sasl timeoutailin-nemui
2018-01-24Accept CAPs with an empty value (KEY=)LemonBoy
2018-01-24Address some minor stylish nitsLemonBoy
2018-01-07Fix a problem with multiline responsesLemonBoy
Do not clear the whole table every time a response is received.
2018-01-07Nicer error message when a duplicate CAP in LSLemonBoy
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 #804 from ailin-nemui/patch-1ailin-nemui
handle an already used nick different from the one we send
2018-01-05Update irc-nicklist.cailin-nemui
move altnick check before the nick correction code
2018-01-04Postpone server cleanup until after unrefailin-nemui
Add a new signal, server destroyed, that is supposed to run the clean up tasks of server disconnected. This is so that some structures will stay around longer.
2018-01-03do not record topic change time when sender is blankailin-nemui
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-30fix commentsailin-nemui
2017-11-27Revert initializing pointers to NULLWill Storey
To maintain C89 compatibility
2017-11-10use enumailin-nemui
2017-11-01show initial nick and name on first startailin-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-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-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.
2017-10-20Merge branch 'fix-gl-13' into 'security'Nei
Fix use after free when channel is destroyed inbetween being synced See merge request irssi/irssi!19
2017-10-19Prevent a OOB read when parsing IRCNet ! channelsLemonBoy
Make sure the string has enough data. Fixes #16
2017-10-14Changes based on comments in pull #771.Paul Townsend
2017-10-11Add alternate_nick as a network-specific property.Paul Townsend
2017-10-08Fix segfault in query_remove_allJoseph Bisch
It is possible for rec to be NULL in query_remove_all, resulting in a segfault. So return without doing anything if rec is NULL.
2017-10-08fix uaf in chanquery moduleailin-nemui
the chanquery needs to be removed in any case if a channel rec is destroyed, regardless of any state Fixes GL#13
2017-07-25Allow the user to clear the sasl-related fieldsLemonBoy
There was no easy way for the user to disable the SASL authentication or to clear the username/password once the network was created. Closes #718
2017-01-24Prevent a memory leak during the processing of the SASL response.LemonBoy
We also get rid of an allocation in the process of doing so.
2017-01-10Revert "Don't reset wait_cmd during connection registration (fixes early ISON)"dx
2017-01-08Merge pull request #608 from tijko/masterLemonBoy
Follow g_strsplit with call to g_strfreev
2017-01-07Follow g_strsplit with call to g_strfreevTim Konick
2017-01-06Don't reset wait_cmd during connection registration (fixes early ISON)dequis
2017-01-03Merge branch 'master' into 'security'Nei
Sync to master See merge request !6