summaryrefslogtreecommitdiff
path: root/src/tube-stream.c
Commit message (Collapse)AuthorAgeFilesLines
* NUM_TP_ got replaced by TP_NUM_Xavier Claessens2013-09-241-2/+2
|
* Don't use sealed struct membersSimon McVittie2013-01-041-6/+11
| | | | | | 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-9/+3
|
* Include config.h and our corresponding header first in every source fileSimon McVittie2013-01-041-0/+1
| | | | | Putting the corresponding header first exposed a missing header inclusion in text-helper.h; fix that by using the meta-header.
* Use GLib generic marshallers; stop generating our own marshallersSimon McVittie2013-01-041-9/+4
|
* tubes: use guint64s for all tube IDsJonny Lamb2012-08-021-7/+7
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* tube-{iface,dbus,stream}: remove tubes-channel propertyJonny Lamb2012-05-311-15/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* tube-stream: subclass TpBaseChannelJonny Lamb2012-05-311-366/+152
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Remove deprecated tp_handle_ref/unrefXavier Claessens2012-05-101-9/+0
|
* Use TP_ERROR instead of long-deprecated TP_ERRORSSimon McVittie2012-05-071-17/+17
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49594 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* tubes-stream: Make it compile under windows.Siraj Razick2012-02-221-3/+20
| | | | ifdef Unix specific code similar to tubes-stream in gabble
* Update Wocky snapshot for one big header.Will Thompson2012-02-061-4/+1
| | | | | | | | | | 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>
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-7/+7
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* stop using gibber-namespaces.hJonny Lamb2011-05-041-8/+9
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* remove all set but unused variablesJonny Lamb2011-05-031-2/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* src: remove annoying salut- prefixJonny Lamb2011-04-281-6/+6
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Merge branch 'meta-porter'Jonny Lamb2011-04-051-210/+41
|\ | | | | | | | | | | | | | | | | | | Conflicts: .gitignore src/salut-connection.c src/salut-disco.c src/salut-self.c Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tube-stream: set the WockyContact on a stanza to sendJonny Lamb2011-04-011-0/+2
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tube-stream: don't unref a NULL stanzaJonny Lamb2011-03-241-0/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes-channel: stop using the XCMJonny Lamb2011-03-021-210/+38
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Unconfuse TpTubeChannelState and TpTubeState a bitWill Thompson2011-03-211-2/+2
|/ | | | | | | | My version of GCC didn't like building a bunch of the tube code because it confuses TpTubeChannelState and TpTubeState. In practice this code works because the former is a superset of the latter and none of the confused code paths can encounter the extra value. This patch tidies up just enough for the compiler not to whine.
* gibber: remove GibberXmppNode wrapperJonny Lamb2011-02-091-7/+7
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber: remove GibberXmppStanza wrapperJonny Lamb2011-02-091-16/+16
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* fd.o #31665: use TpDBusDaemon, not tp_get_bus()Simon McVittie2010-11-181-6/+7
| | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Replace GibberXmppNode and GibberXmppStanza with WockyNode and WockyStanzaSimon McVittie2010-10-081-1/+3
| | | | | | | | | | 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
* SalutTubeStream: don't change the namespace of a node after creationSimon McVittie2010-10-081-2/+2
|
* tube-stream: use TP_ERROR_* from tp-glibGuillaume Desmottes2009-06-261-12/+4
|
* undraft tube new API implementationGuillaume Desmottes2009-06-261-42/+42
|
* tube-stream: fire ConnectionClosedGuillaume Desmottes2009-06-261-0/+44
|
* tube-stream: fire NewLocalConnectionGuillaume Desmottes2009-06-261-0/+16
|
* tube-stream: factor out fire_new_remote_connectionGuillaume Desmottes2009-06-261-12/+25
|
* tube-stream: associate a connection ID with each tube connectionGuillaume Desmottes2009-06-261-5/+42
|
* tube-stream: fix implementation with latest DRAFTGuillaume Desmottes2009-06-261-5/+9
| | | | | | Offer() doesn't have a access_control_param argument any more. The NewConnection signal has been renamed NewRemoteConnection and gained 2 new args.
* tube_stream_open: chmod the newly created UNIX socket to allow everyone to ↵Guillaume Desmottes2009-05-271-0/+7
| | | | access to it if access control is localhost
* sync with latest tube spec DRAFTGuillaume Desmottes2009-04-291-23/+23
| | | | | {Offer,Accept}StreamTube methods and the StreamTubeNewConnection signal have been renamed.
* identation fixGuillaume Desmottes2009-03-101-9/+9
|
* add salut_tube_stream_channel_get_allowed_properties accessor instead of ↵Guillaume Desmottes2009-02-121-0/+12
| | | | having the array in the header
* salut_tube_stream_offer_stream_tube: use salut_tube_stream_offerGuillaume Desmottes2009-02-121-17/+11
|
* Merge branch 'master' into muc-stream-tube-new-api-REBASEDGuillaume Desmottes2009-02-121-50/+40
|\ | | | | | | | | | | | | Conflicts: src/salut-tubes-manager.c tests/twisted/avahi/test-offer-private-stream-tube.py
| * tube-stream: Parameters property has to be in channel-properties only in ↵Guillaume Desmottes2009-02-111-13/+35
| | | | | | | | incoming tubes
| * tube-stream: salut_tube_stream_offer_stream_tube now takes parametersGuillaume Desmottes2009-02-111-0/+3
| |
| * tube-stream: Parameters is now ready onlyGuillaume Desmottes2009-02-111-37/+2
| |
* | salut_tube_stream_accept_stream_tube: set address_type, access_control and ↵Guillaume Desmottes2009-02-061-0/+6
| | | | | | | | access_control_param when accepting the tube
* | tube-stream: contact_new_connection_cb: unref the bytestream as ↵Guillaume Desmottes2009-02-061-0/+1
| | | | | | | | add_bytestream keep its own ref
* | tube-stream: start_stream_direct: no need to ref the bytestream as we just ↵Guillaume Desmottes2009-02-061-1/+1
| | | | | | | | create it
* | salut_tube_stream_accepted: fire TubeChannelStateChanged signalGuillaume Desmottes2009-02-061-0/+3
| |
* | tube-stream: free the object_path when finalizingGuillaume Desmottes2009-02-061-0/+1
| |
* | salut_tube_stream_offer_stream_tube: fire TubeChannelStateChanged signal ↵Guillaume Desmottes2009-02-061-0/+5
| | | | | | | | when accepting a muc tube
* | tube-stream: fire TubeChannelStateChanged signal when tube is openGuillaume Desmottes2009-02-061-0/+4
| |
* | add salut_tube_stream_offerGuillaume Desmottes2009-02-061-0/+34
| |