summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Travis Reitter [Tue, 22 Jun 2010 17:37:56 +0000 (10:37 -0700)]
Merge remote branch 'pwith/fixes'
Philip Withnall [Tue, 22 Jun 2010 15:14:05 +0000 (16:14 +0100)]
gcc warning fixes in tp-lowlevel.[ch]
Philip Withnall [Tue, 22 Jun 2010 12:28:48 +0000 (13:28 +0100)]
Ensure the individual is removed if all its persona list property is emptied
This was already the case when existing personas were removed from the
individual due to their source going away. This commit fixes it for when the
persona list property is changed directly.
Philip Withnall [Tue, 22 Jun 2010 11:37:11 +0000 (12:37 +0100)]
Use a persona's UID as an individual's alias if no personas have an alias
Philip Withnall [Tue, 22 Jun 2010 11:28:03 +0000 (12:28 +0100)]
Make Individual.get_presence_message() return an unowned string
This prevents a completely unnecessary string copy.
Philip Withnall [Tue, 22 Jun 2010 10:42:51 +0000 (11:42 +0100)]
Remove system m4 macros from the m4 directory
Add them to a .gitignore file instead.
Philip Withnall [Tue, 22 Jun 2010 10:39:31 +0000 (11:39 +0100)]
Add some comments to the code
Travis Reitter [Thu, 17 Jun 2010 22:21:22 +0000 (15:21 -0700)]
Relocate folks_tp_lowlevel_connection_open_contact_list_channel_finish() next to its _async() function
Travis Reitter [Thu, 17 Jun 2010 00:16:21 +0000 (17:16 -0700)]
Use a hash table for tracking new incoming TpfPersonas and only add them if they're new.
Travis Reitter [Sun, 13 Jun 2010 00:55:21 +0000 (17:55 -0700)]
Clean up Telepathy PersonaStore removal and addition. This fixes a regression where a Telepathy persona store wouldn't emit 'removed' even if its account were disabled
Travis Reitter [Fri, 11 Jun 2010 23:04:23 +0000 (16:04 -0700)]
Use consistent naming and signatures for the Tpf.Persona property-notification-passing helper functions.
Travis Reitter [Fri, 11 Jun 2010 23:00:58 +0000 (16:00 -0700)]
Generalize overly-specific 'using' statement
Travis Reitter [Fri, 11 Jun 2010 22:59:01 +0000 (15:59 -0700)]
Trivial clean-up.
Travis Reitter [Fri, 11 Jun 2010 20:24:00 +0000 (13:24 -0700)]
Support avatars (generally, and for the Telepathy backend)
Travis Reitter [Thu, 10 Jun 2010 14:20:43 +0000 (07:20 -0700)]
Fix the location of libfolks-telepathy in its -uninstalled pkgconfig file.
Travis Reitter [Thu, 3 Jun 2010 19:48:58 +0000 (12:48 -0700)]
Bump the version number for the major changes of the last few commits.
Travis Reitter [Thu, 3 Jun 2010 19:42:19 +0000 (12:42 -0700)]
Add .deps files for the public libraries.
Travis Reitter [Thu, 3 Jun 2010 18:18:16 +0000 (11:18 -0700)]
Rename the folks-telepathy files, since they're in a different namespace than the folks-backend-telepathy files
Travis Reitter [Thu, 3 Jun 2010 18:09:16 +0000 (11:09 -0700)]
Add proper namespaces to the Telepathy backend and support libraries
Travis Reitter [Thu, 3 Jun 2010 16:20:46 +0000 (09:20 -0700)]
Rename liblowlevel to libtp-lowlevel for clarity
Travis Reitter [Thu, 3 Jun 2010 15:47:44 +0000 (08:47 -0700)]
Split the telepathy backend into a support library and a thin backend
wrapper (so applications can use the support library without linking against the
backend)
Travis Reitter [Wed, 2 Jun 2010 23:48:48 +0000 (16:48 -0700)]
Factor out the Telepathy backend into a separate, loadable module.
Travis Reitter [Mon, 31 May 2010 22:14:09 +0000 (15:14 -0700)]
Add tp-glib Vala bindings dependency to the .pc file and add a -uninstalled.pc file
Travis Reitter [Thu, 27 May 2010 18:30:54 +0000 (11:30 -0700)]
Support writing contact group changes back to Telepathy accounts.
Travis Reitter [Wed, 26 May 2010 16:51:41 +0000 (09:51 -0700)]
Don't try to process accounts which are currently being disconnected.
Travis Reitter [Wed, 26 May 2010 16:47:26 +0000 (09:47 -0700)]
Set a proper internal ID for TpPersonas and throw an error if its basis TpContact has an invalid UID.
Travis Reitter [Mon, 24 May 2010 23:57:20 +0000 (16:57 -0700)]
Add group notification/read support for Telepathy personas
Travis Reitter [Tue, 18 May 2010 23:23:10 +0000 (16:23 -0700)]
Avoid extraneous property notifications.
Travis Reitter [Wed, 19 May 2010 23:29:29 +0000 (16:29 -0700)]
Cut out debugging default value.
Travis Reitter [Tue, 18 May 2010 18:19:48 +0000 (11:19 -0700)]
Forward along TpPersona presence changes through their parent Individual.
Travis Reitter [Mon, 17 May 2010 23:02:38 +0000 (16:02 -0700)]
Cut outdated comment.
Travis Reitter [Mon, 17 May 2010 17:20:55 +0000 (10:20 -0700)]
Support account deletion
Travis Reitter [Fri, 14 May 2010 20:20:18 +0000 (13:20 -0700)]
Cut outdated comments
Travis Reitter [Fri, 14 May 2010 19:32:44 +0000 (12:32 -0700)]
Actually add the presence source.
Travis Reitter [Thu, 13 May 2010 02:50:00 +0000 (19:50 -0700)]
Update for the more accurate signature for Tp.Account.status_changed.
Travis Reitter [Thu, 13 May 2010 00:02:44 +0000 (17:02 -0700)]
Add stub Presence interface.
Travis Reitter [Wed, 12 May 2010 20:47:10 +0000 (13:47 -0700)]
Add a stub for the Capabilities interface.
Travis Reitter [Wed, 12 May 2010 20:42:17 +0000 (13:42 -0700)]
Fix the way we prepare Telepathy accounts and connections (including automatically handling ones that were already open)
Travis Reitter [Mon, 10 May 2010 20:20:08 +0000 (13:20 -0700)]
Update for symbol changes in the latest tp-glib bindings.
Travis Reitter [Fri, 23 Apr 2010 01:40:35 +0000 (18:40 -0700)]
Split PersonaStore into an abstract class and the TpPersonaStore derived class.
Travis Reitter [Thu, 22 Apr 2010 23:47:45 +0000 (16:47 -0700)]
Rename from libtelepathy-people to libfolks.
Travis Reitter [Thu, 22 Apr 2010 22:35:16 +0000 (15:35 -0700)]
Strip off the extraneous 'tpp-' prefix to the lowlevel files.
Travis Reitter [Thu, 22 Apr 2010 19:39:32 +0000 (12:39 -0700)]
Organize classes in the following sections in order:
* private (enum, class, signal, plain data, property)
* public (interface members, signal, properties), one block per interface
* public (enum, signal, plain data, property)
* constructor
* constructor's dependent functions, in order of reference
* destructor
* destructor's dependent functions
* public functions, followed by their dependent functions in order of ref
Travis Reitter [Thu, 22 Apr 2010 18:33:47 +0000 (11:33 -0700)]
Additional style changes.
* use 'var' instead of an explicit type whenever possible. It's still
type-safe yet reduces these types of redundancy (which would be common):
Foo foo = new Foo ();
Foo<Bar>[] foo_bar_array = new Foo<Bar>[size];
------------------->
var foo = new Foo ();
var foo_bar_array = new Foo<Bar>[size];
* declare variables as closely to their first use as possible. This is to make
all the relevant code as tight as possible, to minimize scrolling of all
types. Exceptions include: class data members, blocks of code where there
would be more than two variable definitions in a row; in this case, add a
blank line between the last definition and the next line of code (to avoid
making the code unreadably-dense); Eg, do this:
{
var manager = AccountManager.dup ();
unowned GLib.List<Account> accounts = manager.get_valid_accounts ();
this.stores = new HashMap<string, PersonaStore> ();
foreach (Account account in accounts)
{
var store = new PersonaStore (account);
this.stores.set (account.get_object_path (account), store);
}
...
}
Travis Reitter [Thu, 22 Apr 2010 17:57:05 +0000 (10:57 -0700)]
Switch the Vala source to Telepathy style, with minor clarifications:
* properties that use the default get() and set() functions should be on a
single line. Eg,
public string alias { get; set; default = "(No one of consequence)"; }
* custom one-line get() and set() functions should be on a single line. Eg,
get { return this._personas; }
* lambda blocks should be formatted as if they were regular blocks (with the {
indented once on the next line, another indent for the block content,
outdent once for the ending }). Any arguments following the lambda
definition in a function call should be continued on the next line (this
hasn't come up yet). Eg,
this._personas.foreach ((persona) =>
{
Persona p = (Persona) persona;
if (alias == null)
{
alias = p.alias;
}
});
Travis Reitter [Thu, 22 Apr 2010 05:05:41 +0000 (22:05 -0700)]
Change the namespace of the telepathy-people code to Tpp, to avoid ambiguity with telepathy-glib and its Vala bindings.
Travis Reitter [Wed, 21 Apr 2010 23:57:42 +0000 (16:57 -0700)]
Create Individuals from new Personas and notify of their creation.
Travis Reitter [Wed, 21 Apr 2010 17:21:24 +0000 (10:21 -0700)]
Change the personas_added type to a GLib.List from an array. This way we can consistently use GLists in the C API (since they're more conventional).
Travis Reitter [Wed, 21 Apr 2010 16:26:22 +0000 (09:26 -0700)]
Add the Alias interface
Travis Reitter [Tue, 20 Apr 2010 22:39:25 +0000 (15:39 -0700)]
Reduce the noise of our debug output.
Travis Reitter [Tue, 20 Apr 2010 21:23:08 +0000 (14:23 -0700)]
Signal the addition of personas to the persona store.
Travis Reitter [Tue, 20 Apr 2010 04:54:28 +0000 (21:54 -0700)]
Create the abstract class Tp.Persona and the Tp.TpPersona wrapper of TpContacts
Travis Reitter [Tue, 20 Apr 2010 00:12:00 +0000 (17:12 -0700)]
Retrieve the TpContacts for the discovered contact handles
Travis Reitter [Fri, 16 Apr 2010 04:25:26 +0000 (21:25 -0700)]
Make a trivial comment change
Travis Reitter [Fri, 16 Apr 2010 01:42:38 +0000 (18:42 -0700)]
Use debug statements instead of standard output for the various debug output
Travis Reitter [Fri, 16 Apr 2010 01:38:46 +0000 (18:38 -0700)]
Wait until the contact list channel is ready to connect other signal handlers and get the initial set of handles
Travis Reitter [Thu, 15 Apr 2010 20:48:37 +0000 (13:48 -0700)]
Make the build less noisy
Travis Reitter [Thu, 15 Apr 2010 20:56:02 +0000 (13:56 -0700)]
Cut some junk code and handle some error conditions
Travis Reitter [Thu, 15 Apr 2010 15:59:18 +0000 (08:59 -0700)]
Add a comment about the brokenness of Tp.Handle
Travis Reitter [Thu, 15 Apr 2010 15:49:41 +0000 (08:49 -0700)]
Mark telepathy-people.vapi as generated (and thus a target for 'make clean')
Travis Reitter [Thu, 15 Apr 2010 20:54:32 +0000 (13:54 -0700)]
Fetch the handles for the 'subscribe' contact list channel
Travis Reitter [Thu, 15 Apr 2010 20:52:17 +0000 (13:52 -0700)]
Create a utility class to bind low-level tp-glib code without really exposing it
Travis Reitter [Mon, 12 Apr 2010 18:34:32 +0000 (11:34 -0700)]
Create persona stores for the valid accounts and prep them
Travis Reitter [Mon, 12 Apr 2010 15:37:27 +0000 (08:37 -0700)]
Begin filling in the classes as intended; Fetch the valid accounts and prep them
Travis Reitter [Wed, 14 Apr 2010 20:11:20 +0000 (13:11 -0700)]
Begin building up the library, mainly in terms of build work.
Travis Reitter [Fri, 2 Apr 2010 21:43:08 +0000 (14:43 -0700)]
Initial commit for the telepathy-people library