Dan Williams
982c112155
Make debugging tp-gabble easier
...
When the environment variable TP_DEBUG is set, the sugar shell
will print out the session bus address it's using, then poll that bus
every 5 seconds waiting for a gabble instance to appear. This allows
you to launch gabble in another window for debugging with LM_DEBUG and
gdb, which wasn't possible before because the sugar emulator uses
a custom session bus.
2007-04-13 13:46:07 -04:00
Dan Williams
773ae4965e
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-04-13 13:12:04 -04:00
Dan Williams
31000f6c3e
Asynchronize activity join/share in the PS
2007-04-13 13:11:59 -04:00
Guillaume Desmottes
6b6b72f9c9
implement org.laptop.Sugar.Presence.GetPreferredConnection
2007-04-13 18:29:50 +02:00
Dan Williams
7b40f9bf60
Asynchronize set_activity_properties
2007-04-12 17:03:30 -04:00
Dan Williams
118e039a8b
Remove test activity sharing code
2007-04-12 17:03:14 -04:00
Dan Williams
6e070996c9
Asynchronize setting owner properties
2007-04-12 16:48:40 -04:00
Dan Williams
924650750e
Re-enable the Share action in the frame
2007-04-12 14:44:38 -04:00
Dan Williams
5970bb6e62
Convert print statements to logging.debug
2007-04-12 14:44:23 -04:00
Dan Williams
3d3dd23390
Randomness tweak
2007-04-12 00:14:29 -04:00
Dan Williams
3f2f609c4a
Use different log file for test PS instances
2007-04-11 23:45:45 -04:00
Dan Williams
3d6bff9278
Ignore invalid handles on avatar updates
2007-04-11 23:45:20 -04:00
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