Commit Graph

316 Commits

Author SHA1 Message Date
Dan Williams
4e6cbab48e Pass a serialized Service object through when joining an activity 2006-06-18 01:31:55 -04:00
Dan Williams
9f1c77a55a Add serialize/deserialize functions for Service objects 2006-06-18 01:31:18 -04:00
Marco Pesenti Gritti
b4413fe3c2 Some work to make group chat work again 2006-06-18 01:05:40 -04:00
Marco Pesenti Gritti
afc587212e Get page sharing back to work 2006-06-17 22:06:40 -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
Marco Pesenti Gritti
53f00b05b1 Setup python logging and use it in the PresenceService 2006-06-17 19:54:12 -04:00
Marco Pesenti Gritti
361eeff0c5 Implement page location sharing. Not yet working for
some reason.
2006-06-17 00:33:08 -04:00
Dan Williams
5938a6dc14 Add presence service-scope signals when new services appear on buddies, so that client's don't have to connect signal handlers to every single buddy 2006-06-16 23:55:26 -04:00
Marco Pesenti Gritti
63bff5cecd More fixes, not-presence works 2006-06-16 23:40:36 -04:00
Dan Williams
193c2ed4cd Add get_id() function to match activity.Activity's get_id() function; sort-of interface 2006-06-16 23:33:16 -04:00
Dan Williams
d353bd5ed1 Validate service type and check for uid-based services first 2006-06-16 23:32:50 -04:00
Marco Pesenti Gritti
0871ca9f3d Some fixes 2006-06-16 23:24:07 -04:00
Dan Williams
e060c07873 Make each activity have a default type for sharing 2006-06-16 23:10:30 -04:00
Dan Williams
358c548641 Don't log requests any more 2006-06-16 23:09:56 -04:00
Dan Williams
8746552ff7 Don't block on dbus for open_with_id either 2006-06-16 22:50:00 -04:00
Dan Williams
d60a85e83a don't try to resolve a service more than once 2006-06-16 22:46:18 -04:00
Dan Williams
b315480c5a Fix recognition of shared activities 2006-06-16 22:24:12 -04:00
Dan Williams
91b68d4103 Add back the new-service-adv signal for the start page 2006-06-16 22:23:39 -04:00
Dan Williams
a90071fef5 Use better escape function 2006-06-16 22:23:19 -04:00
Dan Williams
3ed0a1c259 Disable some in-progress code 2006-06-16 17:06:09 -04:00
Dan Williams
334dd101e8 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-16 17:01:37 -04:00
Dan Williams
a6c33403ff Listen to local activity lifecycle signals 2006-06-16 17:01:25 -04:00
Dan Williams
eb47a36701 Add a gobject helper which proxies signals for the ActivityContainer 2006-06-16 17:01:03 -04:00
Dan Williams
f89ddfaffa Fix typos in PresenceService 2006-06-16 17:00:42 -04:00
Marco Pesenti Gritti
b2fc0d7314 Get chat to show again 2006-06-16 16:44:03 -04:00
Marco Pesenti Gritti
6fc051bc8e Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar 2006-06-16 16:34:01 -04:00
Marco Pesenti Gritti
65bd2b284f No time to think about log 2006-06-16 16:33:55 -04:00
Dan Williams
563810ec56 Add hooks for filtering on specific application UIDs 2006-06-16 16:32:56 -04:00
Dan Williams
e4a8518d02 Fix starting browser activity 2006-06-16 16:31:54 -04:00
Marco Pesenti Gritti
0363ed5457 More work on chats 2006-06-16 16:29:51 -04:00
Marco Pesenti Gritti
99d26223e5 Fixup model iterations to take the new filter in
account.
2006-06-16 16:07:14 -04:00
Dan Williams
5e549e7a8f Fix up bits of presence window 2006-06-16 15:58:47 -04:00
Dan Williams
cd3d98cb77 A pass at fixing single-computer with more than one sugar instance work 2006-06-16 15:48:44 -04:00
Marco Pesenti Gritti
c7075255f8 Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar 2006-06-16 15:43:03 -04:00
Marco Pesenti Gritti
a4f9a15b5d Show buddies always if there is no activity 2006-06-16 15:42:55 -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
38565321d5 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-16 15:25:25 -04:00
Dan Williams
c46d300c18 merge 2006-06-16 15:25:21 -04:00
Marco Pesenti Gritti
29a730e0a4 Monitor service addition and update buddy list
on these.
2006-06-16 15:21:09 -04:00
Marco Pesenti Gritti
9db404afb9 Filter presence by activity 2006-06-16 15:13:39 -04:00
Marco Pesenti Gritti
0cae557ab5 Register the model service and start working on
looking it up
2006-06-16 14:20:09 -04:00
Marco Pesenti Gritti
792481c669 Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar 2006-06-16 13:21:34 -04:00
Marco Pesenti Gritti
e633c2ef8d Missing import 2006-06-16 13:21:28 -04:00
Dan Williams
73aecebb90 Another git test 2006-06-16 13:19:35 -04:00
Dan Williams
b16dd2a549 Test stuff to see if git is as irritating as mercurial 2006-06-16 13:11:01 -04:00
Dan Williams
48fa6a8934 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-16 13:09:37 -04:00
Dan Williams
d62060ae0d Test stuff to see if git is as irritating as mercurial 2006-06-16 13:09:02 -04:00
Marco Pesenti Gritti
e30f9c337a Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar 2006-06-16 13:07:10 -04:00
Marco Pesenti Gritti
4a0e8ac2d4 Some work on the getting model back 2006-06-16 13:06:11 -04:00
Dan Williams
6db22150b1 Remove unused function 2006-06-16 13:05:45 -04:00
Marco Pesenti Gritti
29fb2321fe Unquote title 2006-06-16 02:37:28 -04:00
Marco Pesenti Gritti
a6b2b4981c More unescaping... 2006-06-16 02:36:18 -04:00
Marco Pesenti Gritti
7eeb43b98a Fix with_id method signature 2006-06-16 02:04:31 -04:00
Marco Pesenti Gritti
bdce0eb48c Get activities sharing sort of working 2006-06-16 01:43:42 -04:00
Marco Pesenti Gritti
20afcfa475 Merge 2006-06-15 18:28:21 -04:00
Marco Pesenti Gritti
6a8e863a16 Fix the problem with service resolution (Dan please have a look...) 2006-06-15 18:27:50 -04:00
Dan Williams
7b507d545b Shorten activity service type 2006-06-15 18:03:12 -04:00
Dan Williams
be575803ae remove debug print 2006-06-15 18:02:52 -04:00
Dan Williams
f234ebfff0 Merge with Marco 2006-06-15 17:42:35 -04:00
Dan Williams
2aaefdd52b Hook into PresenceService to find new advertisements and track them 2006-06-15 17:41:49 -04:00
Dan Williams
e4677ee22a Announce new activities when we resolve them, and add a hook to intercept new service advertisements 2006-06-15 17:41:26 -04:00
Dan Williams
31e9671190 Validate options for compose_service_type 2006-06-15 17:40:33 -04:00
Marco Pesenti Gritti
9c4da3c172 F11 now put the activities window in fullscreen, 2006-06-15 17:31:41 -04:00
Marco Pesenti Gritti
122c0dad16 Simplify focus a lot by using transient windows 2006-06-15 17:22:36 -04:00
Dan Williams
9034dc8f3b More fixes for sharing activities 2006-06-15 17:05:44 -04:00
Dan Williams
97881ae7c0 Escape markup so we don't make pango angry 2006-06-15 17:03:59 -04:00
Dan Williams
a03f850ce8 Accept unicode types too 2006-06-15 17:03:43 -04:00
Dan Williams
465c49179c Make xmlrpc client non-blocking 2006-06-15 17:03:20 -04:00
Marco Pesenti Gritti
1b611fc842 More chat refactoring 2006-06-15 16:51:30 -04:00
Marco Pesenti Gritti
c05bc5a669 Fix 2006-06-15 11:46:42 -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
Marco Pesenti Gritti
f2ae132410 Fix a bunch of outdated makefiles. 2006-06-15 08:38:21 -04:00
Marco Pesenti Gritti
4fda4b8cb4 Start refactoring chat. Get the UI to show as a slide in (ctrl+up) 2006-06-14 23:24:11 -04:00
Marco Pesenti Gritti
7e6f6ec349 Dan doesn't like the big share button, tasteless! 2006-06-14 22:20:28 -04:00
Marco Pesenti Gritti
4eaa096576 Cast to int where necessary 2006-06-14 22:08:18 -04:00
Marco Pesenti Gritti
a4b2e74d25 Get rid of the web search activity, refactor 2006-06-14 22:04:44 -04:00
Marco Pesenti Gritti
3e3c168ab0 Cleanup searching some 2006-06-14 21:52:46 -04:00
Marco Pesenti Gritti
3497fd3ad2 More work on the slide in windows 2006-06-14 19:00:56 -04:00
Marco Pesenti Gritti
6cca4f34f3 My first window manager!!! :P 2006-06-14 16:30:53 -04:00
Marco Pesenti Gritti
26b117cff0 Use ignore_reply rather than idle_add, thanks j5 2006-06-14 15:27:54 -04:00
Dan Williams
ca60226fb0 Do callbacks in an idle handler so we don't dbus deadlock at any point 2006-06-14 15:06:25 -04:00
Marco Pesenti Gritti
3ea146e17c Initial start page implementation 2006-06-14 15:01:17 -04:00
Dan Williams
4a7aac0e01 Add makefile for presence module 2006-06-14 14:43:56 -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
55f538253c Error checking on activity UID 2006-06-13 16:01:39 -04:00
Dan Williams
b92c730457 Add uid argument to PresenceService.start() 2006-06-13 16:00:11 -04:00
Dan Williams
26ee2d57d8 Clean up tracking of service advertisements and conversion to Service objects. 2006-06-13 15:25:54 -04:00
Marco Pesenti Gritti
3e666c005f Forgot to add this 2006-06-13 15:18:29 -04:00
Marco Pesenti Gritti
0f3c33de86 Add messages on idle so that we don't break 2006-06-13 15:18:04 -04:00
Marco Pesenti Gritti
9ebcd65659 Implement the share button on the presence window 2006-06-13 14:49:01 -04:00
Marco Pesenti Gritti
2415fee0ed Add util to generate unique ids. 2006-06-13 13:32:49 -04:00
Dan Williams
21d1294c7a Fix service disappearance 2006-06-12 21:33:05 -04:00
Marco Pesenti Gritti
20d7582f1d Add scrollbars to the console, wrap word 2006-06-12 20:22:12 -04:00
Marco Pesenti Gritti
6037caa691 Run gtk_main only if it's __main__, 2006-06-12 20:08:27 -04:00
Marco Pesenti Gritti
cdf7583d39 Adapt to the new api... get back the browser running 2006-06-12 19:52:37 -04:00
Marco Pesenti Gritti
37d6c00fc3 Remove unused files 2006-06-12 19:44:08 -04:00
Dan Williams
ce1d1c879f Add Owner.py, forgot that one too 2006-06-12 18:51:40 -04:00