Commit Graph

2493 Commits

Author SHA1 Message Date
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
Dan Williams
68b402cb86 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-20 12:34:23 -04:00
Dan Williams
37953c47f7 Use well-defined names for properties rather than strings 2007-04-20 12:34:16 -04:00
Marco Pesenti Gritti
76e375749a Add more toolbars and a text area 2007-04-20 15:38:34 +02:00
Marco Pesenti Gritti
f6a93fd8e9 Some initial work on graphics2 2007-04-20 14:45:39 +02:00
Marco Pesenti Gritti
bf8dbeade5 Forgot to add this 2007-04-19 21:14:15 +02:00
Marco Pesenti Gritti
2f858c02a3 Split the gtkrc in sugar and sugar-xo. Make them load the
respective gtk theme.
2007-04-19 21:13:55 +02:00
Marco Pesenti Gritti
23bf7d94c6 Rename themes to sugar 2007-04-19 19:16:42 +02:00
Marco Pesenti Gritti
8a54707dc5 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-19 18:58:19 +02:00
Marco Pesenti Gritti
cb997a5264 More work on the new toolbars 2007-04-19 18:53:55 +02:00
Tomeu Vizoso
276d374b1a Remove debug message. 2007-04-19 12:20:48 -03:00
Tomeu Vizoso
96b0bd1cfa Recognize downloaded .xo as such. 2007-04-19 12:13:38 -03:00
Tomeu Vizoso
4ca48ffd09 Look for gecko-prefs.js and mime.types in the correct location. 2007-04-19 12:12:57 -03:00
Dan Williams
8aa84cd69e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-19 10:35:45 -04:00
Tomeu Vizoso
d223579f22 Recognize images dropped into the clipboard as such. 2007-04-18 18:52:46 -03:00
Dan Williams
cf5ef53070 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-18 10:17:35 -04:00
Marco Pesenti Gritti
71d718e97b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-18 16:05:43 +02:00
Marco Pesenti Gritti
7ef61620f7 Ui test 2007-04-18 16:04:27 +02:00
Tomeu Vizoso
f26ee4056b Assure dragged images have the right file extension. 2007-04-18 09:21:49 -03:00
Marco Pesenti Gritti
0bade58c23 Remove obsolete tests 2007-04-18 14:06:34 +02:00
Marco Pesenti Gritti
5df6fc0b0a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-18 14:03:48 +02:00
Marco Pesenti Gritti
0d4f555abb Switch to the sugar theme 2007-04-18 14:03:33 +02:00
Tomeu Vizoso
e9905b5dfc Include config.h before testing for HAVE_GECKO_1_9. 2007-04-17 19:31:06 -03:00
Marco Pesenti Gritti
093ed2f2f2 Make it compile with firefox 2007-04-17 22:46:33 +02:00
Tomeu Vizoso
734d16022e Don't try to show the popup of a detached canvas icon. 2007-04-17 16:54:01 -03:00
Tomeu Vizoso
b7030a74dd Drag images out of mozilla. 2007-04-17 16:53:34 -03:00
Dan Williams
26ed1d1504 Don't leak invalid properties 2007-04-17 13:27:34 -04:00
Marco Pesenti Gritti
92416d1519 Fix typo in the fallback code path 2007-04-17 18:17:26 +02:00
Dan Williams
99bf82b44f Make TestOwner create more realistic activities and switch between them 2007-04-16 22:44:54 -04:00
Dan Williams
845734eb72 Ignore unknown handles 2007-04-16 22:43:26 -04:00
Dan Williams
d45e6dd1a6 Show which buddy properties were updated 2007-04-16 22:42:35 -04:00