Dan Williams
f13a49b08e
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-05-11 18:41:39 -04:00
Dan Williams
a86293dcb4
Only set our own properties when we're connected
2007-05-11 17:25:44 -04:00
Dan Williams
a67d87c2a6
Fix server-based registration
2007-05-08 16:28:55 -04:00
Dan Williams
28637c098e
Fix activity creation ID collisions
2007-05-08 11:19:30 -04:00
Dan Williams
1994b5e6a9
Fix file closing
2007-05-08 11:07:27 -04:00
Dan Williams
d598097994
Fix retrieval of owner's object path
2007-05-07 14:18:20 -04:00
Dan Williams
c89bc07e0b
Fix nickname encoding and length issues
2007-05-07 00:18:42 -04:00
Dan Williams
44e8393bde
Fix type
2007-05-03 15:06:00 -04:00
Dan Williams
8421d5c04d
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-05-03 10:44:03 -04:00
Dan Williams
5057a0e653
Add a mock sharing read activity
2007-05-03 10:43:57 -04:00
Dan Williams
a5154aa011
Misc fixes; better GlibURLDownloader error handling, fix GlibXMLRPCRequestHandler argument passing
2007-05-03 01:14:39 -04:00
Dan Williams
66b7210481
Ignore network properties for the owner when their jabber contact comes online
2007-05-03 00:43:53 -04:00
Dan Williams
f0205fde5c
Make XMLRPC proxy object callback semantics saner
2007-05-02 23:58:14 -04:00
Dan Williams
7774073276
Make joining asynchronous on the activity side
2007-05-02 23:25:15 -04:00
Dan Williams
46d97015e6
Fix arguments
2007-05-02 23:20:38 -04:00
Dan Williams
b3a403c8f0
Fix more debug printout; print type not method itself
2007-05-02 23:16:14 -04:00
Dan Williams
886dbf288b
Fix debug printout; print type not method itself
2007-05-02 23:13:09 -04:00
Dan Williams
e392680f3e
Log activity launch failures with error info; fix typo
2007-05-02 22:31:26 -04:00
Dan Williams
e4be6fc1ba
Fix ps buddy object usage
2007-05-02 22:30:59 -04:00
Dan Williams
3f480c1495
Chunked glib-integrated HTTP server and url downloader classes
2007-05-02 22:23:01 -04:00
Dan Williams
587bc3be19
More verbose debug messages when starting activities
2007-05-02 22:22:02 -04:00
Dan Williams
65998a10c6
Use bundle registry correctly
2007-05-02 22:21:15 -04:00
Dan Williams
3502c58c47
Remove unused import
2007-05-02 22:19:58 -04:00
Dan Williams
570c7e6052
Add buddy ip4-address property (temporary)
2007-04-30 23:44:39 -04:00
Dan Williams
dc2cae382c
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-04-30 13:46:54 -04:00
Dan Williams
fda6690e7c
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-04-30 09:51:39 -04:00
Dan Williams
e432cc91ca
Fix split_properties usage
2007-04-30 09:51:35 -04:00
Dan Williams
58a8cfc795
Fix up activity property handling
2007-04-29 21:44:57 -04:00
Dan Williams
e63accc8be
Make test buddy attribute randomization optional
2007-04-29 18:01:23 -04:00
Dan Williams
0148f13ed6
Don't duplicate program name in argv
2007-04-29 17:55:52 -04:00
Dan Williams
d5d9c1fa0f
Fix activity join from mesh view
2007-04-27 17:48:35 -04:00
Dan Williams
01be59b84f
Re-enable activity sharing
2007-04-27 16:07:38 -04:00
Dan Williams
e785bbe2a7
Turn off wifi new AP log messages
2007-04-27 13:08:40 -04:00
Dan Williams
16162f74ff
Fix shell for sugar.presence.activity API changes
2007-04-27 12:56:13 -04:00
Dan Williams
9537082fc1
Finish current-activity test checks
2007-04-27 12:47:48 -04:00
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
Dan Williams
57592601cc
Clean up GSource and signal handler ID tear down
2007-04-26 10:48:49 -04: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
Dan Williams
6d8fd267e2
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-04-25 12:06:58 -04: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
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
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
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
Dan Williams
d450ea2dd6
Clean up buddy activity changed signals in MeshModel
2007-04-20 13:56:46 -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
Dan Williams
8aa84cd69e
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-04-19 10:35:45 -04:00
Dan Williams
cf5ef53070
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
2007-04-18 10:17:35 -04:00
Dan Williams
26ed1d1504
Don't leak invalid properties
2007-04-17 13:27:34 -04: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
Dan Williams
4449b4e237
Work around server not figuring out conference server address
2007-04-16 22:40:20 -04:00
Dan Williams
5f30901e62
Always set key; new buddy properties replace old ones
2007-04-16 22:39:07 -04:00
Dan Williams
8b47d93ad2
Fix debug output; print handle
2007-04-16 22:37:56 -04:00
Dan Williams
b2e0f257ce
Fix buddy icon rollovers; wasn't getting activity ID correctly from HomeActivity object
2007-04-15 16:51:01 -04:00
Dan Williams
879ef9b0e0
Add activity to owner's list after sharing it
2007-04-13 16:59:16 -04:00
Dan Williams
99737f8273
Clear share signal ID after disconnecting it
2007-04-13 16:58:32 -04:00
Dan Williams
66bbe56df9
Ignore reply from share() (hack to quiet traceback, but unused anyway)
2007-04-13 16:58:12 -04:00
Dan Williams
3abe79353a
Asynchronize activity sharing on the client side
2007-04-13 16:27:58 -04:00
Dan Williams
17adb7b58b
Add some debug output when sharing activities
2007-04-13 16:00:22 -04:00
Dan Williams
cc2d69e364
Forgot to import logging
2007-04-13 15:59:36 -04:00
Dan Williams
f169628cbd
Query non-local activity properties on discovery
2007-04-13 15:42:54 -04:00
Dan Williams
182de3af1c
Remove test code
2007-04-13 15:41:19 -04:00
Dan Williams
5015beaaa6
Clean up activity join/leave debug messages
2007-04-13 15:37:12 -04:00
Dan Williams
94431a66eb
Ensure local activities emit ActivityAppeared signal when shared
2007-04-13 15:15:09 -04:00
Dan Williams
15febc6620
Correctly handle blank activity list
2007-04-13 15:05:21 -04:00
Dan Williams
559c75a317
Fix friending somebody for real this time
2007-04-13 14:20:05 -04:00
Dan Williams
02900bbfbb
Fix traceback when sharing activity
2007-04-13 14:06:49 -04:00
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
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