Commit Graph

28 Commits

Author SHA1 Message Date
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
ae1b278d7a Fix getting published service values 2006-07-25 19:15:36 -05:00
Marco Pesenti Gritti
1ef5c576c2 Do not use dbus_bindings for exceptions. Use dbus.exceptions. Thanks J5 to point it out. 2006-07-25 22:52:45 +02:00
Dan Williams
7c996b0011 More fixes, and convert python PS bindings to more glib style method names 2006-07-23 09:21:00 -05:00
Dan Williams
b63e78a174 Make the PresenceService stuff start to work 2006-07-22 23:56:40 -05:00
Dan Williams
766b82d467 Switch sugar/presence module over to a thin API wrapper around the PresenceService dbus API 2006-07-19 15:27:37 -04:00
Marco Pesenti Gritti
59f25b0741 Get one-to-one chat to actually work... 2006-06-22 18:07:54 -04:00
Dan Williams
2840af85ce Stop abusing ZeroConf by overloading the service type field; overload the service name field instead like everyone else does 2006-06-22 14:05:38 -04:00
Dan Williams
e9f20cfe0f pylint fixes 2006-06-20 09:39:36 -04:00
Dan Williams
2c2ba14311 clarify addresses 2006-06-19 21:14:51 -04:00
Dan Williams
e7f9a0a728 When serializing an activity, allow using the owner's nick name for the service name 2006-06-19 15:12:24 -04:00
Dan Williams
69c1fd6252 Ensure properties arguments are local encoding (for now) 2006-06-19 14:52:46 -04:00
Marco Pesenti Gritti
73c94c7bfb Improve some debug output 2006-06-19 12:28:44 -04:00
Dan Williams
44752264e0 Ensure that deserialized Service arguments are not in Unicode (for the moment), since dbus passes strings as such 2006-06-19 09:47:04 -04:00
Dan Williams
9f1c77a55a Add serialize/deserialize functions for Service objects 2006-06-18 01:31:18 -04:00
Marco Pesenti Gritti
6d7940949a Empty addresses are valid, meaning the buddy own address.
For group (multicast) services publisher_address != service_address,
introduce the distinction in the API and in the avahi announcement.
2006-06-17 22:06:20 -04:00
Dan Williams
333d341c3d Remove debug prints 2006-06-16 15:31:07 -04:00
Dan Williams
b31a2176ba - Clarify when a service type is supposed to be full/network, and when it's supposed
to be a short one.  Activities should _never_ be exposed to the full/network stype
    since that's an implementation detail of the PresenceService
- Make everything having to do with service objects non-unicode (?) to stop the madness.
    Ideally we want everything to be UTF-8 eventually.
- Fix up PS to deal with service types of short/long variety
- Remove a hack from the Start Page that gets all service advertisements, will fix soon
2006-06-16 15:27:50 -04:00
Dan Williams
6db22150b1 Remove unused function 2006-06-16 13:05:45 -04:00
Dan Williams
31e9671190 Validate options for compose_service_type 2006-06-15 17:40:33 -04:00
Dan Williams
9034dc8f3b More fixes for sharing activities 2006-06-15 17:05:44 -04:00
Marco Pesenti Gritti
27b4f25fad Merge 2006-06-15 11:29:00 -04:00
Marco Pesenti Gritti
f0af49616c Fixed a bunch of issues reported by pylint 2006-06-15 11:18:33 -04:00
Dan Williams
ecf81ba35f Generalize activity publishing code for > 1 activity per process 2006-06-15 11:20:18 -04:00
Dan Williams
1cdaf97f20 Switch from Groups to grouping services based on activity UID 2006-06-14 14:42:44 -04:00
Dan Williams
26ee2d57d8 Clean up tracking of service advertisements and conversion to Service objects. 2006-06-13 15:25:54 -04:00
Dan Williams
17c371119d More presence service rework 2006-06-12 18:31:26 -04:00
Dan Williams
d931dca579 Main bits of presence service refactor 2006-06-09 17:23:42 -04:00