Commit Graph

2730 Commits

Author SHA1 Message Date
Dan Williams
162a87f882 Create test owner for presence service
This owner changes properties periodically so we can test out the PS's handling
of property changes.  To execute, run Sugar and then make sure that the D-Bus
address is the one sugar is using (get it from ~/.sugar/default/session.info).
Then run:

build/bin/sugar-presence-service X

where X is a number 1 -> 9 inclusive.  It will generate fake buddy info for that
test buddy and then start up a presence service for that buddy, changing a random
property of the buddy every 10 seconds.
2007-04-11 22:49:14 -04:00
Dan Williams
894fcea9fc Remove get_default_type() and bundle default types; obsolete 2007-04-11 15:08:40 -04:00
Marco Pesenti Gritti
eeb09294d8 Revert "Start reworking the cliboard services to use the types registry."
This reverts commit fcb57779a2.
2007-04-11 18:22:52 +02:00
Marco Pesenti Gritti
c74a629080 Revert "Merge type definitions from the old registry."
This reverts commit 57e9789b8a.
2007-04-11 18:22:30 +02:00
Marco Pesenti Gritti
57e9789b8a Merge type definitions from the old registry. 2007-04-11 16:33:13 +02:00
Marco Pesenti Gritti
fcb57779a2 Start reworking the cliboard services to use the types registry. 2007-04-11 16:14:58 +02:00
Marco Pesenti Gritti
73f2577397 First go at the new type registry. 2007-04-11 14:06:27 +02:00
Dan Williams
defd9f76e3 Convert icon data to python string before exposing it 2007-04-10 22:24:31 -04:00
Dan Williams
117934f709 Fix making someone your friend 2007-04-10 22:22:58 -04:00
Dan Williams
c85985b55b Deal with no NetworkManager 2007-04-10 21:06:29 -04:00
Marco Pesenti Gritti
8c391386d7 Fix the buddy picture 2007-04-10 22:45:36 +02:00
Dan Williams
6710618a43 Use public keys rather than nicknames to differentiate buddies 2007-04-10 15:55:55 -04:00
Dan Williams
bf4b1a3f8f Fix icon changed signal handling in sugar PS bindings 2007-04-10 15:23:01 -04:00
Dan Williams
133a718f28 Really fix cache code this time; revert to previous code plus ensure directory exists 2007-04-10 15:22:28 -04:00
Dan Williams
a4792552f4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-10 15:15:30 -04:00
Dan Williams
e49b36c0f5 Cleanup new cache code 2007-04-10 15:15:21 -04:00
Dan Williams
3e862d517c Ensure icon cache directory exists 2007-04-10 15:14:19 -04:00
Marco Pesenti Gritti
f134efbb6f Swap class order here too, to fix FC7 2007-04-10 21:12:33 +02:00
Dan Williams
8d4d87a081 Make contact-online handler async; print -> logging.debug 2007-04-10 15:00:49 -04:00
Dan Williams
89ec9195e9 Fix for GObject-based PS buddy objects 2007-04-10 14:56:34 -04:00
Dan Williams
bf36e61816 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-10 14:50:34 -04:00
Dan Williams
bf9a375836 Send correct object in signal emission 2007-04-10 14:49:43 -04:00
Dan Williams
eee98e1f82 Re-enable new PresenceService by default 2007-04-10 14:49:14 -04:00
Marco Pesenti Gritti
3350d5772a Swap the classes order, which for some reason make it work on FC7 2007-04-10 20:29:34 +02:00
Dan Williams
a803b00251 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-10 14:12:22 -04:00
Dan Williams
dba902bd15 Fix unknown variable bug 2007-04-10 14:12:12 -04:00
Marco Pesenti Gritti
615bb50ab8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-10 17:00:20 +02:00
Marco Pesenti Gritti
a4fa50bd96 Update for new ps 2007-04-10 16:59:59 +02:00
Dan Williams
48cab08b33 PS fixes; use correct type on public keys and hide invalid buddies 2007-04-10 10:59:35 -04:00
Dan Williams
c9310c2220 PS fixes; use correct type on public keys and hide invalid buddies 2007-04-10 10:59:31 -04:00
Dan Williams
a07e946cc4 Readd mock presence service and enable it by default 2007-04-10 08:39:02 -04:00
Mike C. Fletcher
8302be4544 A few more docstrings 2007-04-09 23:56:14 -04:00
Mike C. Fletcher
3f10890319 Docstrings for modules all over sugar and shell.
These are just the doc strings I created as I was spelunking
through to see how Sugar manages launching applications.  The
resulting auto-documentation is neither polished or finished,
but it should help people reading the code somewhat.

There are a few minor code cleanups:

  * activityhandle (replacing C idiom for initialisation with
    a Python one)
  * bundle registry (using a parameterised directory name so
    that it shows up in the documentation)
  * validate_activity_id function, use isinstance( item, (str,unicode))
    for the query, rather than two separate checks with isinstance
2007-04-09 22:47:37 -04:00
Dan Williams
508a59b99b More Shell fixes for new PS 2007-04-09 16:30:30 -04:00
Dan Williams
76a0f45aa8 More new PS fixes 2007-04-09 16:05:32 -04:00
Dan Williams
4cf8f321f0 Fix activity ID generation logic 2007-04-09 15:08:04 -04:00
Dan Williams
3eeec9bf07 Remove references to obsolete p2p.Stream classes 2007-04-09 15:07:40 -04:00
Dan Williams
bc083dae5a Cut over to new PresenceService 2007-04-09 14:40:56 -04:00
Dan Williams
2509d990e4 Cut over to new PresenceService 2007-04-09 14:40:50 -04:00
Marco Pesenti Gritti
2f2f756939 Forgot to add this 2007-04-08 19:24:02 +02:00
Marco Pesenti Gritti
09304e8e5a Accept raw X windows in the shell 2007-04-08 19:20:59 +02:00
Marco Pesenti Gritti
3da95e9236 Really commit this, stupid git. 2007-04-07 15:44:48 +02:00
Marco Pesenti Gritti
fb9f53c8a1 Oops missing \ in the Makefile 2007-04-07 15:43:29 +02:00
Marco Pesenti Gritti
bd34f54d9a Forgot to add these. 2007-04-07 15:36:54 +02:00
Marco Pesenti Gritti
5343752c35 Make browser a modules inside sugar library 2007-04-07 13:17:36 +02:00
Marco Pesenti Gritti
4828870afd Use gtk to detect dpi. 2007-04-07 03:42:51 +02:00
Marco Pesenti Gritti
e3cf7aa1d3 Unused 2007-04-07 00:22:03 +02:00
Marco Pesenti Gritti
60557533a7 Remove,unused 2007-04-07 00:21:13 +02:00
Marco Pesenti Gritti
2d08ff0163 Move private extensions out of the lib, inside the shell. 2007-04-07 00:08:54 +02:00
Dan Williams
1d25366c4f Don't show Ad-Hoc mode networks in mesh view 2007-04-06 15:50:57 -04:00