Commit Graph
100 Commits
Author SHA1 Message Date
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
Dan Williams 32fa3dc65b Fixup for mesh devices
- Understand mesh devices
- Don't send device signals unless device is fully initialized
2007-03-28 16:39:28 -04:00
Dan Williams 824cec3910 Fix typo in Server config section name 2007-03-26 07:49:46 -04:00
Dan Williams 5b20b05cc8 Current activity has its own signal now 2007-03-16 12:24:20 -04:00
Dan Williams ad5110f8df Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-16 12:19:29 -04:00
Dan Williams 5955f17197 Hook up current activity bits 2007-03-16 12:19:24 -04:00
Dan Williams 831c4c6828 Fix get of current-activity property; should be a string 2007-03-16 12:18:54 -04:00
Dan Williams d196fb89a7 Ignore owner property updates from the network; handled locally 2007-03-16 10:43:15 -04:00
Dan Williams bd2ff74be4 Trivial debug message cleanups 2007-03-16 10:12:50 -04:00
Dan Williams 64a67e28f6 Disable sharing for trial1 2007-03-16 10:00:16 -04:00
Dan Williams b45c810ca1 Make access points have persistent colors 2007-03-15 22:03:42 -04:00
Dan Williams d0c5050a25 Randomize color list so it can be indexed into with a hashed value 2007-03-15 22:02:41 -04:00
Dan Williams dee3953e34 Add property for mode 2007-03-15 22:00:35 -04:00
Dan Williams 0e1ec97663 Add accessor for mode 2007-03-15 22:00:22 -04:00
Dan Williams 4371fb0883 Update another get_width_request() for new hippo 2007-03-15 16:56:29 -04:00
Dan Williams 85961004bb Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-15 16:37:32 -04:00
Dan Williams 902fcd069b Expose AP capabilities 2007-03-15 16:37:28 -04:00
Dan Williams 85f8ef218d Rearrange network device handling bits 2007-03-15 16:37:15 -04:00
Dan Williams 672d06d85e Add accessor for AP capabilties 2007-03-15 16:17:08 -04:00
Dan Williams a83211dbb9 Fix tracebacks in snowflakeboxes 2007-03-15 11:21:35 -04:00
Dan Williams b4e4b3875a Better removal of intro video chooser 2007-03-14 14:44:58 -04:00
Dan Williams f2dcadaff5 Revert "Remove picture selection from intro screen for now"
This reverts commit b97edec4db.
2007-03-14 14:43:53 -04:00
Dan Williams 93e9d164c0 Auto-open some downloaded files 2007-03-14 14:43:42 -04:00
Dan Williams b35e6b6f2b Respect suggested name when downloading files 2007-03-14 13:15:39 -04:00
Dan Williams ca4c680f37 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-14 13:04:14 -04:00
Dan Williams 653191806f Copy interesting files to /home/dcbw after download 2007-03-14 13:04:10 -04:00
Dan Williams 6ab478c6cd Validate percentage before setting it 2007-03-14 10:09:41 -04:00