summaryrefslogtreecommitdiff
path: root/src/test.cpp
AgeCommit message (Collapse)Author
2014-05-28Move the logging + config test on first positionFlorent Le Coz
2014-05-28Introduce the timed eventsFlorent Le Coz
2014-05-14Correctly handle the usage of ! as a IRC user mode indicatorFlorent Le Coz
Since “!” is also the separator between the nickname and the user hostname, having “!” as the user mode (e.g. !nick!~some@host.bla) would cause the nick to be empty. Now we skip it if it is a valid user mode indicator.
2014-05-06Implement next_id() toFlorent Le Coz
2014-04-21The logging test is less ambiguousFlorent Le Coz
2014-04-21Improve the test on jidprepFlorent Le Coz
2014-04-21test.cfg file is now created by the test suiteFlorent Le Coz
2014-04-18Actually do the last commit, but completely this timeFlorent Le Coz
2014-04-17No more missing text when converting IRC colors to xhtml-imFlorent Le Coz
fix #2496
2014-04-15Merge branch 'master' into dummy_chanFlorent Le Coz
2014-04-13[WIP] DummyIrcChannelFlorent Le Coz
2014-04-11Do not use exceptions for missing tags, improvement in code simplicityFlorent Le Coz
2014-01-28Jidprep also handles the resource partFlorent Le Coz
2013-12-15Use XML-sanitized strings when serializing stanzas for the XMPP serverFlorent Le Coz
2013-12-15Functions to provide xml-valid stringsFlorent Le Coz
By removing invalid chars, see http://www.w3.org/TR/xml/#charsets
2013-12-08Provide a JID for IRC users, and add a stringprep dependency for thisFlorent Le Coz
2013-12-03Add a logger classFlorent Le Coz
2013-11-28Channel names are case insensitiveFlorent Le Coz
But some servers (epiknet for example) send channel names with an uppercase
2013-11-28Print some stuff when ./test is runningFlorent Le Coz
2013-11-28Implement IRC format to xhtml-im conversionFlorent Le Coz
The generated XML is very verbose because each IRC formatting tag makes us close a <span/> element and reopen it with the new style applied. However, this works quite well and is easy to implement.
2013-11-27Remove incomplete implementation of remove_irc_colorsFlorent Le Coz
2013-11-21Send XMPP multi-line messages as multiple IRC messagesFlorent Le Coz
2013-11-16Add a test for xml escape/unescapeFlorent Le Coz
2013-11-14Fix JID parsingEmmanuel Gil Peyrot
2013-11-10Add a Config module, and use it to get the password from a fileFlorent Le Coz
2013-11-10Use the Expat library directly instead of relying on expatppFlorent Le Coz
And now we handle namespaces, yay. And a nice little test.
2013-11-09Remove IRC colors from the body when forwarding it to XMPPFlorent Le Coz
2013-11-09Check UTF-8 encoding, and convert strings to UTF-8Florent Le Coz
Handle conversion errors properly by inserting � instead. Add a binary header to provide portable way to write binary literals (I like them) Also add a test file. ref #2404