Commit Graph
100 Commits
Author SHA1 Message Date
Dan Williams 804848ba47 _stringify_hash -> printable_hash; generalize, make more public 2006-09-25 09:45:24 -04:00
Dan Williams 9fa9bd9583 Add BuddyActivityView.py to makefile 2006-09-25 09:25:44 -04:00
Dan Williams aa0adcf0c5 Unconditionally reschedule current activity switch timeout 2006-09-25 07:35:44 -04:00
Dan Williams 3e4c8cabc7 Switch to BuddyActivityView to show current activity 2006-09-24 23:15:53 -04:00
Dan Williams da221ee84e Add get_current_activity accessor 2006-09-24 23:12:46 -04:00
Dan Williams 07c0ffbb7d Use two different activity types 2006-09-24 23:12:09 -04:00
Dan Williams f83567ba32 Determine scale as a float so it's not clamped at 0 2006-09-24 21:53:39 -04:00
Dan Williams e2f82f02a0 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	shell/view/home/IconLayout.py
2006-09-24 21:37:46 -04:00
Dan Williams 701cef3f1d Only broadcast and activity change if it actually changed 2006-09-24 21:31:48 -04:00
Dan Williams b67c0a6b3d Don't print EntryGroup messages for now 2006-09-24 21:30:48 -04:00
Dan Williams d2e235838e Only print out service resolutions, not updates 2006-09-24 21:30:28 -04:00
Dan Williams 7268d8803d Ensure owner validity before using 2006-09-24 21:29:11 -04:00
Dan Williams d42b9da06d Use get/set_property rather than direct accessors 2006-09-24 18:52:10 -04:00
Dan Williams e92548df5c Use the new BuddyModel color-changed signal 2006-09-22 17:37:41 -04:00
Dan Williams d12c57895c Add color-changed and current-activity-changed signals 2006-09-22 17:37:16 -04:00
Dan Williams 188394f09f - Track BuddyModel appeared/disappeared signals, and update our icon colors accordingly
- s/friend/buddy since BuddyModel isn't just for friends
2006-09-22 17:24:56 -04:00
Dan Williams 2031eb650a - don't hardcode inactive buddy color
- shorten signal handler id variable names
- add appeared/disappeared signals to BuddyModel
- deal with buddy disappearance
2006-09-22 17:24:00 -04:00
Dan Williams 6473444e09 Add a 'Disappeared' signal on the buddy object 2006-09-22 17:21:34 -04:00
Dan Williams 0aea72f485 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-22 16:35:09 -04:00
Dan Williams 940329703f Clean up buddy checking & retrieval; make constructor choice between name & real buddy explicit. 2006-09-22 16:35:03 -04:00
Dan Williams 2d445fcc5f Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-09-22 15:49:23 -04:00
Dan Williams 2f7b3abef7 Monitor buddy property change signals on creation; misc cleanups 2006-09-22 15:49:16 -04:00
Dan Williams fcef47181b Don't hardcode property key names; protect against spurious _presence_olpc services; watch for changes on the _presence_olpc service, like current activity updates 2006-09-22 15:47:12 -04:00
Dan Williams 1ab8089457 Make Service a GObject subclass, and add a property-changed signal
Also fix bug where all property keys were sent in the property-changed signal
because the properties dict was cleared too early.
2006-09-22 15:44:25 -04:00
Dan Williams c978b5ed6d Ensure properties will always be an empty dict 2006-09-22 15:42:11 -04:00
Dan Williams 801d020058 Don't die on malformed friends config file 2006-09-22 12:50:55 -04:00
Dan Williams 7061434703 Don't traceback on Ctrl+C 2006-09-22 12:13:34 -04:00
Dan Williams 4d0dae0e35 Change update frequency to 10 - 20 seconds 2006-09-21 17:03:18 -04:00
Dan Williams 4410ad5056 Don't traceback on reset-by-peer errors 2006-09-21 17:02:20 -04:00
Dan Williams 3c11feca6f Start trying to deal with current activity changes 2006-09-21 16:49:25 -04:00
Dan Williams ab7ef75518 Add current activity accessor 2006-09-21 16:44:19 -04:00
Dan Williams 66a1539895 Let Kiu change activities randomly 2006-09-21 16:43:51 -04:00
Dan Williams f9012b88f6 Move remove code down to fix undefined var error 2006-09-21 13:52:17 -04:00
Dan Williams d0f23744f0 Use asynchronous service resolution to capture service updates too 2006-09-19 13:54:32 -04:00
Dan Williams 14763c0f5c Fix up registered service type checking code 2006-09-15 18:37:54 -04:00
Dan Williams 922b7238b9 Merge 2006-09-15 16:50:06 -04:00
Dan Williams b39eff3365 Refcount tracked service types; ensure only the process that registers a service can change it; add support for updated service properties/published values 2006-09-15 16:41:11 -04:00
Dan Williams 7fc7656f78 Fix dead code error 2006-09-12 14:22:06 -04:00
Dan Williams 1853ea3a3e Fix traceback in logging print 2006-09-12 14:04:35 -04:00
Dan Williams 8c58dcd540 spacing cleanups; refactor service addition so that service address checks aren't done for owner 2006-09-12 12:58:24 -04:00
Dan Williams bf035f3685 Cosmetic spacing fix 2006-09-12 12:48:32 -04:00
Dan Williams 13cca4606f Merge fix 2006-09-12 12:37:23 -04:00
Dan Williams f205e8c67b Rework PS owner service handling to use avahi flags for local services 2006-09-12 12:36:24 -04:00
Dan Williams 6e558713ff Add environment variable to control dbus monitor 2006-09-08 11:47:02 -04:00
Dan Williams e402fe3286 Get initial properties synchronously rather than async 2006-09-08 11:26:40 -04:00
Dan Williams e2306d81bd Add PropertyChanged signal for Buddy objects because color and address can change later. Also don't try to stuff None through dbus 2006-09-07 23:30:22 -04:00
Dan Williams 4c167037d4 Add Owner to buddy list 2006-09-07 23:29:28 -04:00
Dan Williams 45e37349d2 Add dbus-monitor service, but disable to reduce spew 2006-09-07 23:28:01 -04:00
Dan Williams ef254ce128 Create placeholder Owner object when PS starts, fill in services later 2006-09-06 10:16:49 -04:00
Dan Williams aea10ae900 Fix array signature for mdns call properties 2006-08-29 16:52:55 -04:00
Dan Williams 721ef6e29c Write out log strings as utf8 2006-08-29 11:52:49 -04:00
Dan Williams 93a97660b4 Remove obsolete gtk import and code and save 1.7MiB writeable. Whee\! 2006-08-25 16:09:54 -04:00
Dan Williams ef47f6e4c5 Fix buddy & activity visibility leaks if they are not yet valid; add Activity color attribute and don't make activity valid until we get the color 2006-08-25 14:55:19 -04:00
Dan Williams ba3d5fce8c Don't traceback when buddies have bad colors 2006-08-25 12:11:25 -04:00
Dan Williams f0a4459103 Don't die when an activity doesn't have an icon 2006-08-25 11:24:39 -04:00
Dan Williams 9e970b5b0f Add IconColor.py to makefile 2006-08-24 14:39:53 -04:00
Dan Williams 18a9ea1872 Try to fix MostlyReliablePipe tracebacks in multicast stuff 2006-08-24 12:40:12 -04:00
Dan Williams d2c0829165 Don't traceback when somebody doesn't advertise their color 2006-08-24 11:09:53 -04:00
Dan Williams c3d0ae0359 Add Theme.py to the makefile 2006-08-23 13:35:29 -04:00
Dan Williams eef5e5b18a Convert PS bindings instantiation into a singleton to cut resource usage 2006-08-23 11:38:56 -04:00
Dan Williams d334b6e3bd Add a color property and access to Buddy objects 2006-08-23 11:14:46 -04:00
Dan Williams e366753ab0 Make theme color accessors more descriptive; add mesh view zoom rects 2006-08-23 10:41:12 -04:00
Dan Williams 4eb5a61276 Actually make theme object a singleton 2006-08-23 08:13:15 -04:00
Dan Williams 3b9d3daa3b Implent color theming for Friends view 2006-08-23 08:06:45 -04:00
Dan Williams f3435bb914 Add simple theme support to pick up color themes in the Home Window 2006-08-23 07:09:10 -04:00
Dan Williams 4e85e24fa9 Add note about SUGAR_EMULATOR 2006-08-23 00:59:42 -04:00
Dan Williams 8b912fb9fa Don't use dbus for logging until we get deadlock issues sorted out 2006-08-17 16:27:16 -04:00
Dan Williams 212b9a49da Don't do anything if there's no console 2006-08-17 14:49:04 -04:00
Dan Williams f1d6f96dc4 Reset idle_id so we keep logging even if the console isn't set up yet 2006-08-17 14:46:52 -04:00
Dan Williams 396a32ba7c Make an uninstall target 2006-08-17 14:11:17 -04:00
Dan Williams 4c923db7ea Add traceback support to the session too 2006-08-17 12:02:29 -04:00
Dan Williams 01bc6cc71d Forgot to add Makefile.in 2006-08-16 23:12:22 -04:00
Dan Williams ea3b66aa0f Fix bug in get_services; self._services.values() is a list of lists of services 2006-08-16 23:07:28 -04:00
Dan Williams 3b8dbb0836 Enable traceback debugging in the PS 2006-08-16 23:06:13 -04:00
Dan Williams 6d7782654c Cache activity id 2006-08-16 23:05:53 -04:00
Dan Williams 95c06280ca Add threadframe and TracebackUtils.py so we can get tracebacks of dbus deadlocks 2006-08-16 23:05:44 -04:00
Dan Williams 6530653636 Wait for PS to start again to fix race issues with activation 2006-08-16 23:02:06 -04:00
Dan Williams 9ad1fe62ae Don't allow PS to be started twice 2006-08-16 12:09:43 -04:00
Dan Williams 2a50bbd3ca Fix service unregistration; the service will get cleaned up when Avahi notices that it has gone away so we don't have to delete it ourselves 2006-08-16 11:15:59 -04:00
Dan Williams c095192d08 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-08-09 15:50:03 -04:00
Dan Williams a3b81d5f0c Fix log message args 2006-08-09 15:49:50 -04:00
Dan Williams ddddde54b1 Add ChatController.py to the makefile 2006-08-09 15:05:45 -04:00
Dan Williams 3117d454b9 add service unregistration 2006-08-02 10:27:09 -04:00
Dan Williams 4cf8e8de49 Disable Share button when activity is already shared 2006-07-26 00:19:05 -05:00
Dan Williams cf35d9f374 Separate a service's address into source address and the service address, and explicitly set each when required 2006-07-26 00:14:09 -05:00
Dan Williams ae1b278d7a Fix getting published service values 2006-07-25 19:15:36 -05:00
Dan Williams 80b92fe2aa Merge branch 'master' of git+ssh://[email protected]/git/sugar 2006-07-25 19:04:20 -05:00
Dan Williams 164add907d Make shareActivity work 2006-07-25 19:04:15 -05:00
Dan Williams e5065263a9 s/publish/share 2006-07-25 17:17:05 -05:00
Dan Williams 8d232ae292 Fix spacing 2006-07-25 16:46:09 -05:00
Dan Williams e3065ba02d Merge branch 'master' of git+ssh://[email protected]/git/sugar 2006-07-25 16:38:52 -05:00
Dan Williams ea133a9c6d merge 2006-07-25 16:38:48 -05:00
Dan Williams c1e0bd39b2 presence.py is no longer used 2006-07-25 16:36:51 -05:00
Dan Williams 2c790da716 Add debug logging support to the PresenceService 2006-07-24 11:48:19 -05:00
Dan Williams 7cc68303f9 Don't import gtk, just use gobject 2006-07-24 11:45:53 -05:00
Dan Williams bfab84acc9 Poll for PS readiness rather than a hard wait time 2006-07-24 11:27:52 -05:00
Dan Williams 3798f29a6b Make dbus service properties public 2006-07-24 11:27:21 -05:00
Dan Williams 318c49bacf Don't traceback when our activity can't be found (because it's not shared) 2006-07-24 11:13:07 -05:00
Dan Williams a827175a28 Fix dbus_bindings import namespace 2006-07-24 11:08:59 -05:00
Dan Williams ba6c75725d Fix occurances of get_nick_name() -> get_name() 2006-07-24 10:57:21 -05:00