summaryrefslogtreecommitdiff
path: root/src/text-helper.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use sealed struct membersSimon McVittie2013-01-041-1/+2
| | | | | | This exposes a bug in the tests: several tests assumed that tubes' Interfaces would always come out in the same order, but the new APIs we're using break that assumption. Fix that too.
* Be single-include-compliantSimon McVittie2013-01-041-3/+1
|
* Include config.h and our corresponding header first in every source fileSimon McVittie2013-01-041-2/+3
| | | | | Putting the corresponding header first exposed a missing header inclusion in text-helper.h; fix that by using the meta-header.
* Use non-deprecated TpMessage APIsSimon McVittie2012-05-071-9/+10
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49594 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Use TP_ERROR instead of long-deprecated TP_ERRORSSimon McVittie2012-05-071-4/+4
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49594 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Update Wocky snapshot for one big header.Will Thompson2012-02-061-3/+0
| | | | | | | | | | We have to lose the reference to wocky_heartbeat_source_new from the symbol hack table, because it's not exposed in Wocky's public headers any more. That's okay, though: it's not intended for use by applications, let alone plugins. https://bugs.freedesktop.org/show_bug.cgi?id=45703 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* stop using gibber-namespaces.hJonny Lamb2011-05-041-5/+5
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* src: remove annoying salut- prefixJonny Lamb2011-04-281-1/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* all: use specific to/from when referring to contacts in stanzas nowJonny Lamb2011-03-141-1/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* im-channel: stop using the XCMJonny Lamb2011-03-021-6/+9
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* message-sent and message-received are int64, not uint64 or uint32Danielle Madeley2011-03-021-2/+2
|
* gibber: remove GibberXmppNode wrapperJonny Lamb2011-02-091-18/+18
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber: remove GibberXmppStanza wrapperJonny Lamb2011-02-091-9/+9
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Replace GibberXmppNode and GibberXmppStanza with WockyNode and WockyStanzaSimon McVittie2010-10-081-12/+22
| | | | | | | | | | Most of the API is similar enough to add a pile of #defines and not touch application code. Exceptions: - wocky_node_each_attribute passes an extra argument to the callback, so adjust GibberXmppWriter and test-xmpp-connection to cope - WockyStanza->node doesn't exist, so use wocky_xmpp_stanza_get_top_node a lot
* Always create stanzas with a specified namespaceSimon McVittie2010-10-081-1/+2
| | | | | | Also create nodes that already have an XMLNS where possible. The Wocky equivalents enforce having an XMLNS.
* text-helper: pass the correct timestamp as the "message-sent" valueJonny Lamb2010-04-291-1/+1
| | | | | | time is a pointer to time(2) which is not what we want. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add helper functions for the message interface.Mike Ruprecht2010-03-251-1/+129
| | | | | Add some helper functions which contain code for the messaging interface are common to both the IM and MUC text channels.
* create_message_stanza has to be staticGuillaume Desmottes2008-12-121-1/+1
|
* Ignore ichats type notification messageSjoerd Simons2008-10-301-0/+15
|
* Add coding style checker tools from gabble and make the main salut src tree ↵Sjoerd Simons2008-06-031-10/+9
| | | | | | valid coding style 20080603133118-93b9a-1171eedccfe23199c466c9062c56c3a88227f090.gz
* Salut doesn't support messages of type autoreply, but does support type noticeSjoerd Simons2008-06-021-2/+0
| | | | 20080602140521-93b9a-86207025c37274ba8f2e4a7b1315a7210ec54685.gz
* Only send message types salut knows aboutSjoerd Simons2008-06-021-0/+6
| | | | 20080602135159-93b9a-a748b0fce7559aa15b25e4fa677930234e95e10d.gz
* text-helper.c: kill trailing whitespaceSimon McVittie2007-07-021-2/+2
| | | | 20070702142510-53eee-5ba22b77c118801906dee0debcd4a650e867b0a1.gz
* text-helper: add text_helper_create_message_groupchatGuillaume Desmottes2007-06-141-28/+75
| | | | 20070614092711-7fe3f-6bb01027e7c056509dffa821d5fca7d02144b439.gz
* Megapatch to port to telepathy-glibSjoerd Simons2007-03-301-0/+154
20070330104423-93b9a-d86c98af93de306470bd26138e7ed05e08b60dd6.gz