louiz’
|
be9c577de8
|
Apply all the clang-tidy performance-* fixes
|
2017-04-07 19:01:49 +02:00 |
|
louiz’
|
5402a256d1
|
Apply all the clang-tidy modernize-* fixes
|
2017-04-07 18:45:24 +02:00 |
|
louiz’
|
0ab40dc1ab
|
Refactoring louloulibs and cmake
Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
|
2017-03-14 21:45:23 +01:00 |
|
Florent Le Coz
|
f0e07beacb
|
Forgot to remove some XMPP files that are now in louloulibs instead
|
2015-03-02 10:21:01 +01:00 |
|
Florent Le Coz
|
6a2240f593
|
Properly sanitize everything in the XML we send to the XMPP server
in this order:
- Make sure it is utf-8 encoded
- Remove all chars that are invalid in XML
- Escape all XML special chars (&'"<>)
|
2015-02-26 04:58:07 +01:00 |
|
Florent Le Coz
|
d33a3b7d35
|
XmlNode::get_children, to get a list of matching children instead of the first
|
2014-05-30 04:00:29 +02:00 |
|
Florent Le Coz
|
eb9a201870
|
Implement the support for adhoc commands
We have two basic example commands. But it’s not entirely finished because
there are some error checks that we don’t do.
ref #2521
|
2014-05-30 03:58:17 +02:00 |
|
Florent Le Coz
|
1c93afc9a7
|
Change the way the namespaces are handled in the XmlNode class
|
2014-05-28 17:40:45 +02:00 |
|
Florent Le Coz
|
bafde1af9f
|
Stanza:get_name() only returns the name of the tag, without the namespace
|
2014-05-15 00:32:31 +02:00 |
|
Florent Le Coz
|
f00f5c3ffb
|
Do not use exceptions for missing tags, improvement in code simplicity
|
2014-04-11 23:06:13 +02:00 |
|
Florent Le Coz
|
d1c6d64546
|
Add missing stdexcept includes
|
2014-01-13 20:19:10 +01:00 |
|
Florent Le Coz
|
7d8ce3b563
|
Use XML-sanitized strings when serializing stanzas for the XMPP server
|
2013-12-15 00:34:30 +01:00 |
|
Florent Le Coz
|
a4c845ab6c
|
Use the logger everywhere
|
2013-12-03 19:15:37 +01:00 |
|
Florent Le Coz
|
050cf1fd60
|
xml-escape the tail in an XmlNode
|
2013-12-02 13:15:51 +01:00 |
|
Florent Le Coz
|
959291afe6
|
Set the parent of a node passed to add_child, and return it for conveniance
|
2013-11-27 00:37:23 +01:00 |
|
Florent Le Coz
|
a85e1abaaa
|
Fix a warning
|
2013-11-14 23:39:28 +01:00 |
|
Florent Le Coz
|
2be4811d14
|
Unescape XML before sending messages over IRC
|
2013-11-11 00:29:44 +01:00 |
|
Florent Le Coz
|
3d92360310
|
Use the Expat library directly instead of relying on expatpp
And now we handle namespaces, yay.
And a nice little test.
|
2013-11-10 02:30:22 +01:00 |
|
Florent Le Coz
|
7c67149935
|
Implement part and join, both ways
|
2013-11-09 23:17:48 +01:00 |
|
Florent Le Coz
|
af5548897a
|
Cosmetic
|
2013-11-09 06:29:15 +01:00 |
|
Florent Le Coz
|
a418b6ed5d
|
Send and receive messages
Also correctly respond to PING with the id, escape some XML content, but not
always
|
2013-11-07 01:53:09 +01:00 |
|
Florent Le Coz
|
5bbd34a3a9
|
Add an XmppParser, and Stanza classes
Generate events on stanza and stream open/close.
Create Stanza and serialize them.
Note: XML namespaces are not handled yet.
|
2013-11-03 17:19:48 +01:00 |
|