summaryrefslogtreecommitdiff
path: root/telepathy-glib/group-mixin.c
Commit message (Collapse)AuthorAgeFilesLines
* Use tp_value_array_free instead of g_value_array_freeSimon McVittie2013-09-261-1/+1
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69849 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Replace more printf() with DEBUG()Xavier Claessens2013-03-191-4/+4
|
* GroupMixin: Use DEBUG() instead of printf()Xavier Claessens2013-03-191-6/+2
|
* Deprecate tp_handle(s)_ref/unref, tp_handle(s)_client_hold/release and ↵Xavier Claessens2012-05-101-61/+3
| | | | | | tp_connection_unref_handles() They are no-op now, so we can safely remove them all
* Stop using TP_ERRORSSimon McVittie2012-05-021-8/+8
| | | | We deprecated this in 0.11.
* Use GLib's default marshaller everywhereSimon McVittie2012-03-011-2/+0
| | | | | | | | In contrast to the previous commit, I'm just using NULL here - telepathy-glib has an explicit dependency on GLib 2.30. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46523 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add config.h include in all source filesXavier Claessens2012-02-061-0/+2
|
* Use _unref instead of _free _destroy when possible.Xavier Claessens2011-11-161-21/+21
| | | | | | | | | | | 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/
* group-mixin: always set the Members_Changed_Detailed flagGuillaume Desmottes2011-10-311-1/+1
| | | | | | | We unconditionally implements the MembersChangedDetailed signal so this flag should always be set. https://bugs.freedesktop.org/show_bug.cgi?id=42305
* Implement new Channel.Group spec in TpGroupMixinXavier Claessens2011-09-301-3/+85
|
* GroupMixin: also update variable names to contact_idsWill Thompson2011-05-111-18/+18
| | | | | | Unlike the previous patch, this introduces no functional changes. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* GroupMixin: correctly use contact-ids, not member-idsWill Thompson2011-05-111-4/+4
| | | | | | | | | | | | | For the past two-ish years telepathy-glib has included a key named 'member-ids' in the MembersChangedDetailed details dictionary. This is wrong: the spec says it should be called contact-ids. Whoops. I've checked Empathy, telepathy-logger, tp-glib and tp-qt4, and none of them rely on the incorrect name. So … I think we're safe to just change it. Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=37116> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Use "Since:" and "Deprecated:" instead of "@since" and "@deprecated"Simon McVittie2010-12-131-2/+2
| | | | | | The latter don't actually have any special meaning in gtk-doc: they're a reference to a (presumably nonexistent) parameter or variable called "since" or "deprecated".
* Prepare version 0.13.9telepathy-glib-0.13.9Simon McVittie2010-12-101-0/+4
|
* TP_HAS_GROUP_MIXIN, TP_HAS_GROUP_MIXIN_CLASS: addSimon McVittie2010-12-101-0/+17
|
* Merge branch 'tp-handle-ref'Jonny Lamb2010-11-151-8/+7
|\
| * use tp_handle_ref's new return type around sourceJonny Lamb2010-11-151-8/+7
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Merge branch 'telepathy-glib-0.12'Simon McVittie2010-11-151-3/+4
|\ \ | |/ |/|
| * fd.o #31581: tp_group_mixin_remove_members_with_reason: don't edit a const arraySimon McVittie2010-11-151-3/+4
| | | | | | | | | | | | | | The compiler didn't pick this up because g_array_index involves a cast to (TpHandle *), so it returns a non-const lvalue, even for const arrays. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | TpGroupMixin, TpPropertiesMixin: stop putting ANSI colours in outputSimon McVittie2010-10-211-10/+8
|/
* Change uses of TpIntSet to TpIntsetPhilip Withnall2010-09-141-17/+17
|
* Whitelist core TpGroupMixin symbols for introspection.Travis Reitter2010-09-011-32/+32
| | | | | | | | This exposes the bare minimum number of symbols such that it's possible to introspect C-based libraries that use this mixin. It's not meant to make these mixin interfaces usable from another language (which is probably infeasible).
* tp_group_mixin_change_members: be more const-correctSimon McVittie2010-06-291-16/+16
|
* TpGroupMixin: when removing members, don't raise an error if it's a no-opSimon McVittie2010-05-211-5/+5
| | | | | This is awkward if two clients both try to remove the same member at the same time, for instance.
* TpGroupMixin: allow no-op AddMembers for members, even without CAN_ADDSimon McVittie2010-05-211-0/+1
| | | | | The spec says "Attempting to add contacts who are already members is allowed; connection managers must silently accept this, without error."
* Fix "Since" annotationsSimon McVittie2009-03-171-1/+1
|
* tp_group_mixin_class_always_allow_removing_self: shorten to ↵Simon McVittie2009-03-171-5/+5
| | | | ...allow_self_removal
* TpGroupMixin: allow channels to make the self-handle always removableSimon McVittie2009-03-161-1/+44
| | | | | | | | Removing the self-handle is (meant to be) the documented way to leave a chatroom or call gracefully, and possibly with a message or reason code, so we should support it in all cases. Sadly, that risks crashing connection managers whose remove callback makes assertions about who can be removed, so it has to be "opt-in".
* TpGroupMixin: if flags allow adding or removing a member, but the callback ↵Simon McVittie2009-03-161-2/+14
| | | | is NULL, raise error rather than segfaulting
* Fix indentation as per review from wjt, and merge branch 'sliced-woot'Simon McVittie2009-03-051-1/+1
| | | | Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
* TpGroupMixin: avoid temporary variables for legibilitySimon McVittie2009-03-041-14/+9
|
* Use TP_HASH_TYPE_HANDLE_IDENTIFIER_MAP for a{us}Will Thompson2009-02-031-2/+1
|
* Set correct "Since:" annotations on the functions new in 0.7.21Simon McVittie2009-01-201-1/+1
|
* Make group_mixin_change_members accept message=NULLWill Thompson2009-01-131-1/+1
| | | | Also, tweak the test to check this.
* _change_members_detailed: Document details' GTypesWill Thompson2009-01-121-2/+3
|
* Add missing stringifications of GroupChangeReasonWill Thompson2009-01-071-0/+12
|
* Add missing cases to GroupFlags stringificationWill Thompson2009-01-071-0/+5
|
* Ensure all group flags are printed in mixin's debug outputWill Thompson2009-01-071-0/+12
| | | | | | The stringification code has a case for the first eight members of the TpChannelGroupFlags enum, but didn't do anything with any unhandled flags.
* Correct indentation in group mixin's debug outputWill Thompson2009-01-071-1/+3
|
* MembersChangedDetailed: include new members' IDs in detailsWill Thompson2009-01-071-0/+79
|
* Group: add _change_members_detailed()Will Thompson2009-01-071-0/+84
|
* Group: document _change_members emitting MembersChangedDetailedWill Thompson2009-01-071-4/+5
|
* Group: keep details dict const until the bindings won't let usWill Thompson2009-01-071-4/+5
|
* Group: Make _change_members a thin wrapperWill Thompson2009-01-071-67/+88
|
* Group: emit MembersChangedDetailedWill Thompson2009-01-071-5/+35
|
* Group: extract emitting MembersChanged signals to a functionWill Thompson2009-01-071-45/+62
|
* TpGroupMixin: fix whitespace, remove some unnecessary castsSimon McVittie2008-10-151-31/+31
|
* Document the need to set Group_Flag_Properties after ↵Will Thompson2008-08-181-2/+8
| | | | tp_group_mixin_init_dbus_properties()
* Update TpGroupMixin docs to indicate that the recent changes were not in ↵Simon McVittie2008-06-061-2/+10
| | | | | | 0.7.9 but will be in 0.7.10 20080606130718-53eee-fe673e8bb890cb04273df05af7d211e88a8ea74e.gz
* TpGroupMixin: provide a properties implementation for the external group ↵Simon McVittie2008-06-061-10/+76
| | | | | | mixin too 20080606124752-53eee-351ddca3096a002f311bfeb5f25c93880d11a573.gz