Commit Graph

181 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
bc0ee6d34c Refactor startup. In progress, give me a couple hours.
For now start sugar with "sugar-emulator shell/sugar-shell"
2006-10-16 13:34:43 +02:00
Marco Pesenti Gritti
a3be4492b2 Delete unused p2p model code. Fix distcheck. 2006-10-15 02:03:58 +02:00
Marco Pesenti Gritti
94dcfa8a94 Add GPL headers 2006-10-15 01:25:50 +02:00
Marco Pesenti Gritti
cbd3a52a68 Do not set up the owner of the presence service if there
is no nick name in the env. I'm not sure this is the best
approach, we need to figure it out.

First go at the new simulator.
2006-10-09 15:11:15 +02:00
Dan Williams
75fb1a33de Send empty lists rather than NotFoundError exceptions where appropriate; compact some code 2006-10-06 11:05:27 -04:00
Dan Williams
022c183016 Fix wrong conversion of typechecking to isinstance 2006-10-06 10:46:17 -04:00
John (J5) Palmieri
6f337e0b14 Changed all type checking to use isinstance 2006-10-03 17:06:48 -04:00
John (J5) Palmieri
7c342e75bf s/type(val) == type({})/isinstance(val, dict)
This needs to be changed everwhere in the code because
isinstance will match derived types where == will not
2006-10-03 14:32:29 -04:00
Dan Williams
3919643c7d Expose local name collision errors (ie, somebody else registered that service) 2006-10-02 17:11:20 -04:00
Dan Williams
fc9c923da9 Ignore local name collisions again 2006-09-29 16:53:42 -04:00
Dan Williams
22be6cb0da Work around bug where Avahi passes back a blank service type; and don't traceback on invalid service types 2006-09-27 16:47:23 -04:00
Dan Williams
9ce768ca39 Add and remove activities to/from Buddy objects at appropriate times 2006-09-27 11:35:34 -04:00
Dan Williams
38e85f3987 Ignore duplicate activity additions 2006-09-27 11:35:15 -04:00
Dan Williams
ce577a6376 Refactor current activity handling to be top-level attributes and D-Bus signals, not stuck in the property dict 2006-09-26 13:31:14 -04:00
Dan Williams
31c69ed167 Hook up Buddy.add_activity() and Buddy.remove_activity() 2006-09-26 13:23:12 -04:00
Dan Williams
0e67d939a8 Set icon cache earlier 2006-09-25 14:15:42 -04:00
Dan Williams
7ba30ea0d2 Clean up debug messages 2006-09-25 13:42:37 -04:00
Dan Williams
e89c88b191 Fix location of cache debug prints 2006-09-25 13:24:27 -04:00
Dan Williams
5e3d56fe77 Rename function to match previous _request_buddy_icon->_get_buddy_icon 2006-09-25 13:15:36 -04:00
Dan Williams
85d70f2383 Use the buddy icon cache 2006-09-25 10:57:21 -04:00
Dan Williams
f6c043b204 Add a buddy icon cache 2006-09-25 10:56:31 -04:00
Dan Williams
b67c0a6b3d Don't print EntryGroup messages for now 2006-09-24 21:30:48 -04:00
Dan Williams
d2e235838e Only print out service resolutions, not updates 2006-09-24 21:30:28 -04:00
Dan Williams
7268d8803d Ensure owner validity before using 2006-09-24 21:29:11 -04:00
Dan Williams
6473444e09 Add a 'Disappeared' signal on the buddy object 2006-09-22 17:21:34 -04:00
Dan Williams
fcef47181b Don't hardcode property key names; protect against spurious _presence_olpc services; watch for changes on the _presence_olpc service, like current activity updates 2006-09-22 15:47:12 -04:00
Dan Williams
1ab8089457 Make Service a GObject subclass, and add a property-changed signal
Also fix bug where all property keys were sent in the property-changed signal
because the properties dict was cleared too early.
2006-09-22 15:44:25 -04:00
Dan Williams
d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -04:00
Dan Williams
14763c0f5c Fix up registered service type checking code 2006-09-15 18:37:54 -04:00
Dan Williams
922b7238b9 Merge 2006-09-15 16:50:06 -04:00
Marco Pesenti Gritti
5f99dcf9a5 Move the presence service out of the shell 2006-09-15 13:54:16 +02:00