Commit Graph

2473 Commits

Author SHA1 Message Date
Dan Williams
6cc3e7acdb Add minimal current activity test 2007-04-26 16:52:24 -04:00
Dan Williams
f18df46c62 Add bits to support current activity and add/remove buddy to activity 2007-04-26 16:52:13 -04:00
Dan Williams
511c666a4a Fix current activity property; get activities when buddy is created 2007-04-26 16:51:37 -04:00
Dan Williams
274cc65c4e Use hashlib on python 2.5 2007-04-26 12:34:05 -04:00
Tomeu Vizoso
1c249a216b Fix for using with python 2.4. 2007-04-26 18:25:40 +02:00
Tomeu Vizoso
0b2658d3a8 Added some more notes. 2007-04-26 18:24:42 +02:00
Dan Williams
57592601cc Clean up GSource and signal handler ID tear down 2007-04-26 10:48:49 -04:00
Marco Pesenti Gritti
2d2e1368fb Add missing files 2007-04-26 12:21:03 +02:00
Marco Pesenti Gritti
e49146752f More work on the new graphics API. 2007-04-26 11:31:41 +02:00
Dan Williams
9446c951ac Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-25 22:39:39 -04:00
Dan Williams
4b177d329d Fix dbus connection re-use issues; clean up signals after each testcase; add activity join test 2007-04-25 22:39:12 -04:00
Dan Williams
8600a48fa2 Fix NotFoundError 2007-04-25 22:37:58 -04:00
Dan Williams
549a2df403 Make joining work 2007-04-25 22:37:35 -04:00
Marco Pesenti Gritti
78cdbbcb09 More stuff 2007-04-26 00:25:15 +02:00
Guillaume Desmottes
83b712bcb1 Fix properties bugs 2007-04-25 19:35:08 +02:00
Dan Williams
6d8fd267e2 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-25 12:06:58 -04:00
Guillaume Desmottes
a22d8a65f1 Fix logging.warn arguments 2007-04-25 12:47:29 +02:00
Dan Williams
51fa253e98 Test activity sharing 2007-04-24 20:04:21 -04:00
Dan Williams
290f2c2900 Add bits to handle join/leave activities 2007-04-24 20:04:09 -04:00
Marco Pesenti Gritti
cdb727109b More work on the controls doc 2007-04-24 23:28:27 +02:00
Dan Williams
8152672e49 add log handler since sugar ps bindings use logging 2007-04-24 12:13:08 -04:00
Dan Williams
716dadd0ad Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-24 12:11:43 -04:00
Dan Williams
f5305a3ea0 Test activity appeared/disappeared 2007-04-24 12:11:36 -04:00
Dan Williams
5d11e7fdd9 Convert activity properties to gproperties 2007-04-24 11:49:43 -04:00
Marco Pesenti Gritti
0c7690bc5f More work 2007-04-24 16:21:45 +02:00
Marco Pesenti Gritti
4e3b1c7ce2 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-24 14:13:04 +02:00
Marco Pesenti Gritti
299dffd9d5 Controls spec 2007-04-24 13:29:48 +02:00
Dan Williams
5a5b541da3 Add buddy-removed testcase 2007-04-23 13:21:34 -04:00
Dan Williams
05b7f678e9 Fix traceback in RemoveBuddy 2007-04-23 13:21:19 -04:00
Dan Williams
857aa1dcbf Rework mock ps start/stop; test BuddyAppeared signals 2007-04-23 13:12:10 -04:00
Dan Williams
86ab6ca36b Reconnect to the PS if it goes away and comes back 2007-04-23 13:11:21 -04:00
Dan Williams
30a50bd9fc Add test allow_offline_iface to get_instance() 2007-04-23 12:47:50 -04:00
Dan Williams
4ca4e5564e Add test code for Sugar PresenceService bindings 2007-04-23 12:06:41 -04:00
Dan Williams
6513fef6b2 Cleanups; replace ObjectCache with a straight dict; fix signal name; doc cleanups 2007-04-23 10:08:55 -04:00
Mike C. Fletcher
96ab3a10fe More code to handle service-offline cases and log messages to tell the
user/admin what's going on.
2007-04-22 00:31:32 -04:00
Mike C. Fletcher
a7af5b06cd Try to avoid Sugar's shell just crashing and leaving a blank X server
when the PresenceService isn't available on the back-end for whatever
reason, whether mis-configuration, corrupted installation, unexpected
circumstances, or what have you.

This patch makes as few changes as possible to the code,
simply replacing the _ps member with a property that re-attempts
connection on each access until an attempt is successful.
2007-04-22 00:23:19 -04:00
Mike C. Fletcher
a0ee487a40 Restructure to not execute code on speculative import
Add logging messages at "info" level to provide feedback
while launching in order to make debugging unsuccessful
launches easier.
2007-04-21 23:01:56 -04:00
Dan Williams
60c9e0ecb8 Let PresenceService._buddy_activities_changed see all joined activities, even invalid ones 2007-04-21 19:20:06 -04:00
Dan Williams
51f56ed7a3 Join/leave activity when its validity changes 2007-04-21 19:09:59 -04:00
Mike C. Fletcher
2848dc97ab Documentation patch from Amanda Yilmaz (services/clipboard/typeregistry.py) 2007-04-21 15:34:39 -04:00
Mike C. Fletcher
df4919de2f Merge branch 'master' of git+ssh://mcfletch@dev.laptop.org/git/sugar 2007-04-21 14:05:08 -04:00
Mike's Primary Account
a0348a565c Initial documentation for psutils and server_plugin 2007-04-20 21:09:51 -04:00
Mike's Primary Account
83a6a2e73e Initial documentation pass for activity by Amanda Yilmaz 2007-04-20 19:07:41 -04:00
Mike's Primary Account
81d9bed0d8 Merge branch 'master' of git+ssh://mcfletch@dev.laptop.org/git/sugar
Conflicts:

	services/presence/buddy.py
2007-04-20 16:42:47 -04:00
Mike's Primary Account
c0c64809a0 Initial documentation pass for buddy objects 2007-04-20 16:25:37 -04:00
Tomeu Vizoso
ec8bb21936 Implement installation of downloaded activities. 2007-04-20 20:12:49 +02:00
Dan Williams
d450ea2dd6 Clean up buddy activity changed signals in MeshModel 2007-04-20 13:56:46 -04:00
Mike's Primary Account
79d17c14f4 Initial documentation of presence service overview.
Fix weird indent in server_plugin module
2007-04-20 13:10:40 -04:00
Dan Williams
2866d3c4c9 Convert more string-named properties to var-named 2007-04-20 12:40:53 -04:00
Dan Williams
e46d31e0f4 Fix current-activity-changed signals in BuddyModel 2007-04-20 12:38:04 -04:00