Commit Graph
100 Commits
Author SHA1 Message Date
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
Dan Williams 894fcea9fc Remove get_default_type() and bundle default types; obsolete 2007-04-11 15:08:40 -04: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
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
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
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
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
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
Dan Williams 1d25366c4f Don't show Ad-Hoc mode networks in mesh view 2007-04-06 15:50:57 -04:00
Dan Williams fc12f73fba Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-06 15:29:14 -04:00
Dan Williams e37bba0094 PresenceService fixes; don't traceback on avahi errors 2007-04-06 15:29:11 -04:00
Dan Williams 9c0e0783db Fix execute command when using the new dbus-python 2007-04-06 10:27:14 -04:00
Dan Williams 396ca0e64e Don't hiccup on NM start/stop 2007-04-05 00:22:13 -04:00
Dan Williams 7a2a480850 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-04-04 23:48:18 -04:00
Dan Williams 4b4cf9673c Cleanup of sugar device handling code 2007-04-04 23:48:09 -04:00
Dan Williams 6c9eb64de3 Handle device addition and activation correctly 2007-03-29 15:02:36 -04:00
Dan Williams 83a86e0ea1 Add a 'device activating' signal 2007-03-29 15:01:46 -04:00
Dan Williams 40f4c81d06 Make the mesh icon pulse when activated and activating 2007-03-29 15:00:27 -04:00
Dan Williams d5826d1934 fix typo 2007-03-29 14:41:41 -04:00
Dan Williams 552af8aa56 Fix deprecation warning 2007-03-29 11:48:35 -04:00
Dan Williams de46d81828 Disable buddy icon request for trial 1 2007-03-29 11:48:21 -04:00
Dan Williams d0fdf59486 Really add mesh device bits 2007-03-29 10:10:34 -04:00
Dan Williams 1352e5be94 Mesh network device support 2007-03-28 17:38:47 -04:00
Dan Williams a24dd155b4 Make activating non-802-11-wireless devices work 2007-03-28 17:37:46 -04:00