summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2012-02-15Update to latest specXavier Claessens1-9/+8
2012-02-13Call unit test: Use Media base classesXavier Claessens6-10/+28
To make it work, example CM needs to create an Endpoint and we have to wait for it to be connected to get to ACTIVE state.
2012-02-13Fix racy crash in call unit testXavier Claessens1-3/+19
Keeping a ref on the stream for the timeout make it survive its TpBaseCallChannel leading to issues later.
2012-02-09Consistently use G_PARAM_STATIC_STRINGS for propertiesSimon McVittie6-12/+6
Many didn't use this shorthand, and some even didn't declare one of the three strings as static (causing GObject to copy it). Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Vivek Dasmohapatra <vivek@collabora.co.uk>
2012-02-06Merge branch 'master' into call1Xavier Claessens24-0/+48
Conflicts: examples/cm/callable/conn.c examples/cm/callable/connection-manager.c examples/cm/callable/media-channel.c examples/cm/callable/media-manager.c examples/cm/callable/media-stream.c examples/cm/callable/protocol.c examples/future/call-cm/call-channel.c examples/future/call-cm/call-content.c examples/future/call-cm/call-stream.c extensions/call-content.c extensions/call-stream.c extensions/extensions-cli.c tests/dbus/call-example.c tests/dbus/callable-example.c
2012-02-06Add config.h include in all source filesXavier Claessens33-0/+66
2012-01-11Call1: Fix unit testsOlivier Crête1-4/+1
2012-01-10Replace TP_CALL_STATE_RINGING with TP_CALL_STATE_INITIALISEDXavier Claessens1-4/+4
2012-01-10Call CM example is not future anymoreXavier Claessens20-2/+2
2012-01-10Remove StreamedMedia exampleXavier Claessens16-3682/+0
2012-01-10Port example call CM to TpBaseCall*Xavier Claessens7-1550/+310
2012-01-10Port example call implementation to TpBaseChannelXavier Claessens2-271/+90
2012-01-10Remove extensions/Xavier Claessens6-176/+166
It was used only for Call draft APIs. Now we can use the stable APIs. Authors: Will Thompson and David Laban
2011-11-21TpBaseProtocol: Rename Get/get to Dup/dup on callbacks to retrieve the ↵Andre Moreira Magalhaes (andrunko)1-4/+4
supported vcard fields/uri schemes.
2011-11-21Make Protocol.Interface.Addressing functionality a GInterface.Eitan Isaacson1-12/+20
2011-11-21Basic protocol addressing test.Eitan Isaacson1-0/+24
2011-11-16Use _unref instead of _free _destroy when possible.Xavier Claessens13-28/+28
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/
2011-11-11python examples: update file transfer examplesJonny Lamb3-13/+90
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-11-11Bring back Mortem's codeGuillaume Desmottes1-0/+78
2011-11-10spec: update to version 0.25.0Jonny Lamb2-6/+86
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-10-31ExampleContactList: implement block_contacts_with_abuse_asyncGuillaume Desmottes1-3/+6
That doesn't change much for existing tests but will be handy to test the client side part of this property. https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-10-14remove unnecessary x bit from source codeSimon McVittie1-0/+0
2011-10-10codegen: add a whitelist of tp_cli_*_run_* methodsWill Thompson1-1/+0
We have to generate a bunch of (deprecated) tp_cli_*_run_* methods, for backwards-compatibility. But there's no reason to add any *more* every time we define a new channel interface. So here, we generate a list of methods we need to generate for backwards compatibility (based on their being listed in the documentation), and modify the code generator to refuse to generate any _run_ method not named in that file.
2011-10-10Update to telepathy-spec 0.24.0Will Thompson3-24/+65
This also includes the updates to the Call-based example code omitted from fa81060.
2011-09-02Do not mix static and dynamic GObject bindings in python examplesXavier Claessens3-9/+9
2011-08-24Add contact list JS exampleXavier Claessens3-1/+36
2011-08-24Include contact-list.py example in tarballsXavier Claessens1-0/+1
2011-08-05Add comment in example explaining what state SUCCESS meansXavier Claessens2-0/+7
2011-08-05contact-list.py: rename TelepathyGLib namespace as TpXavier Claessens1-7/+7
2011-08-05contact-list examples: verify state is SUCCESS before getting the contact listXavier Claessens2-2/+5
2011-08-04add contact-list.{c,py} exampleXavier Claessens3-0/+130
It demonstrate how to get all prepared contacts using a factory.
2011-08-02Deprecate constructors of TpBaseClient subclasses which do not take a ↵Xavier Claessens4-44/+19
TpAccountManager Those are misleading, if app created its own TpSimpleClientFactory and is using a TpAccountManager from it, they must pass their AM instead otherwise the default one will be used.
2011-05-30ExampleEcho2Channel: add a simple implementation of SMS.GetSMSLength()Guillaume Desmottes2-0/+42
2011-05-30ExampleEcho2Channel: implement SMS interfaceGuillaume Desmottes2-8/+118
2011-05-25Merge branch 'blocking'Will Thompson1-0/+3
Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=35331> Reviewed-by: Danielle Madeley <danielle.madeley@collabora.co.uk>
2011-05-10examples/client/approver.c: use tp_channel_dispatch_operation_claim_with_async()Guillaume Desmottes1-2/+3
2011-04-16Examples: implement Conn.I.ContactBlocking in CL exampleWill Thompson1-0/+3
2011-03-15Merge branch 'ldflags'Simon McVittie9-0/+27
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32976
2011-03-02echo-message-parts/chan: add Messages.MessageTypes to immutable propertiesGuillaume Desmottes1-0/+1
2011-01-28remove abbreviationsGuillaume Desmottes1-7/+7
2011-01-28link the bug blocking us from using TelepathyGLib.USER_ACTION_TIME_CURRENT_TIMEGuillaume Desmottes1-1/+1
2011-01-28ensure-channel.py: rename create_request to create_request_dictGuillaume Desmottes1-3/+3
2011-01-28add client/python/ensure-channel.py (#32986)Guillaume Desmottes2-0/+69
2011-01-28text-handler.py: add a comment about bgo #640812Guillaume Desmottes1-0/+2
2011-01-28use TelepathyGLib.ChannelTextMessageType.NORMALGuillaume Desmottes1-1/+2
2011-01-28add python/text-handler.py (fdo #32524)Guillaume Desmottes2-1/+67
2011-01-28add python client example directoryGuillaume Desmottes2-1/+2
2011-01-10Check for -Wl,--no-add-needed and add it to AM_LDFLAGS everywhere we compile CSimon McVittie9-0/+27
2010-12-16rename TP_TEXT_CHANNEL_FEATURE_PENDING_MESSAGES to ↵Guillaume Desmottes1-1/+1
TP_TEXT_CHANNEL_FEATURE_INCOMING_MESSAGES
2010-12-16make text-handler example more exemplaryGuillaume Desmottes1-6/+13