Commit Graph

732 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
d2f76cc41d More work on the new home page.
Remove obsolete import.
2006-07-24 15:11:14 +02:00
Marco Pesenti Gritti
1acd82599a Start working on Diana's home window visual design 2006-07-24 12:48:12 +02:00
Marco Pesenti Gritti
e4a87bea06 Implement a stage view 2006-07-24 12:15:52 +02:00
Marco Pesenti Gritti
5cec8f9734 Better applying of transformations 2006-07-24 11:53:02 +02:00
Marco Pesenti Gritti
78660bfcf6 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-07-24 11:02:10 +02:00
Marco Pesenti Gritti
1e3633baf7 Implement translation 2006-07-24 11:01:25 +02:00
Dan Williams
5afb98d0ae Add missing import 2006-07-23 22:29:27 -05: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
Marco Pesenti Gritti
1c35f8d92c Small improvements 2006-07-22 14:32:04 +02:00
Marco Pesenti Gritti
1e3af85c40 Implement basic animation 2006-07-22 13:48:47 +02:00
Marco Pesenti Gritti
a292b642e1 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2006-07-22 12:42:02 +02:00
Marco Pesenti Gritti
fe69904b6c Add layout manager and a circle layout 2006-07-22 12:28:59 +02:00
Marco Pesenti Gritti
a02313d85a Beginnings of a simple scene API. Inspired opened-hand's Clutter 2006-07-22 11:54:27 +02:00
Dan Williams
ea264a1a83 More PS bits 2006-07-22 01:26:39 -04:00
Marco Pesenti Gritti
48a21ef143 Add each activity to a separate window group to get
a correct behavior with transient windows in matchbox.
Thanks to Matthew Allum for suggesting this.
2006-07-20 17:52:31 +02:00
Marco Pesenti Gritti
32bb288389 Some build fixes. pygtk.require at least one time for process. 2006-07-20 16:49:11 +02:00
Marco Pesenti Gritti
d6ec6db880 Make the console contextual to the activity and use the
window manager to activate it.
2006-07-20 12:13:47 +02:00
Marco Pesenti Gritti
87cb115aa0 Abstract activity on the shell side into an ActivityHost object.
Comment out/fix more ps borkage.
2006-07-20 11:34:06 +02: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
1590e15c25 Fix path building 2006-07-19 20:59:46 +02:00
Marco Pesenti Gritti
c3de9649b9 Use the new -kbdconfig option in matchbox 2006-07-19 20:58:29 +02:00
Marco Pesenti Gritti
5daa5aa69b Missing return, yay for python 2006-07-19 19:35:32 +02:00
Marco Pesenti Gritti
ae00121fbf Use matchbox to activate home and people page 2006-07-19 13:38:24 +02:00
Marco Pesenti Gritti
46d2f1c532 Get rid of pygtk.require. It doesn't make a lot of sense
and recent apps are not using it anyway.
2006-07-16 17:25:32 +02:00
Marco Pesenti Gritti
21b46a0022 Bunch of fixes, sharing should be back to work 2006-07-15 12:31:06 +02:00
Marco Pesenti Gritti
db08c3795f Read service type from the .activity file 2006-07-14 16:40:45 +02:00
Marco Pesenti Gritti
2bbedf988b Fix a bunch of bugs, more cleanups 2006-07-12 22:17:57 +02:00
Marco Pesenti Gritti
d12b780074 More work on session refactoring 2006-07-12 17:21:22 +02:00
Marco Pesenti Gritti
be806eb191 More cleanups and some fixes 2006-07-12 14:02:29 +02:00
Marco Pesenti Gritti
ca2b08f8b6 Cleanup and document session creation and activity registry 2006-07-12 13:20:41 +02:00
Marco Pesenti Gritti
01da885516 Lots of build fixes 2006-07-10 16:16:30 +02:00
Marco Pesenti Gritti
9f9f420863 Add tasks to the home window. A bunch of fixes. 2006-07-10 13:42:34 +02:00
Marco Pesenti Gritti
1cc14e406a More work on the window management refactor 2006-07-09 17:37:54 +02:00
Marco Pesenti Gritti
d4cb9a2714 More work on the new design 2006-07-08 15:47:51 +02:00
Marco Pesenti Gritti
2999244b54 Stat refactoring the shell to use windows rather than tabs.
Initial implementation of the new activity menu
2006-07-08 11:55:33 +02:00
Marco Pesenti Gritti
63c93e4f2d Rewrite the wm, implement smarter sliding, "merge"
presence window and chat, activate by F1
2006-07-07 16:37:52 +02:00
Marco Pesenti Gritti
ba09278c67 Split classes out of shell.py 2006-07-06 23:34:23 +02:00
Marco Pesenti Gritti
270bb8aaf6 This should fix one-to-one chat, can't test now though 2006-07-06 23:08:35 +02:00
Marco Pesenti Gritti
fbb2621fff Make missing strings translatable 2006-07-06 20:25:56 +02:00
Marco Pesenti Gritti
6f9ae0c769 Initialize the console 2006-07-06 16:06:07 +02:00
Marco Pesenti Gritti
85ff44db1c Forgot to commit changes... This breaks one-to-one chat,
I'm going to fix it.
2006-07-06 15:59:48 +02:00
Marco Pesenti Gritti
0cd9d86310 No need to use presence service if it's all well known 2006-06-30 12:32:15 -04:00
Marco Pesenti Gritti
23b6c1e98a Use well known address for mesh chat 2006-06-30 12:26:12 -04:00
Dan Williams
cb4b13bce7 Fixes for tracebacks on the receiving end 2006-06-29 14:01:46 -04:00
Dan Williams
29984ace33 Add positive acknowledgements to work around 802.11 + multicast unreliabilities 2006-06-29 13:30:41 -04:00
Marco Pesenti Gritti
9ef8013a6b Initialize the stream also when publishing 2006-06-27 12:27:30 -04:00
Marco Pesenti Gritti
d61c478168 Add some debug messages 2006-06-27 12:15:14 -04:00
Dan Williams
a0397b29df Add some simple network test code for 2 machines 2006-06-27 12:03:06 -04:00
Marco Pesenti Gritti
0ac820812a Another missing file 2006-06-23 23:22:17 -04:00
Marco Pesenti Gritti
8fa1efd703 Add some missing files 2006-06-23 23:20:41 -04:00
Marco Pesenti Gritti
7026006efd Make the send button larger and remove border 2006-06-23 16:08:58 -04:00
Marco Pesenti Gritti
7504297e72 Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar 2006-06-23 15:08:28 -04:00
Marco Pesenti Gritti
3fcfebf112 Fix chat focus 2006-06-23 15:08:00 -04:00
Marco Pesenti Gritti
92a4708244 Make sketches work in one-to-one chat 2006-06-23 14:11:26 -04:00
Dan Williams
e5c7dea51c Don't traceback when an icon isn't found 2006-06-23 14:00:37 -04:00
Dan Williams
db90d4a209 Use random port for local models, clean up some model code, and don't double-register models when we hear our own announcement 2006-06-23 13:13:28 -04:00
Dan Williams
7e50e0c8a1 Use correct arguments 2006-06-23 11:17:33 -04:00
Dan Williams
22dd92db71 Remove debug print 2006-06-23 11:13:47 -04:00
Dan Williams
4511d13fb5 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-22 22:42:35 -04:00
Dan Williams
f2ef2a6847 Make activities emit an ActivityShared dbus signal; and have the shell & presence window detect that and disable the 'share' button 2006-06-22 22:42:29 -04:00
Marco Pesenti Gritti
e2719f7fb4 Don't need this anymore 2006-06-22 18:29:46 -04:00
Marco Pesenti Gritti
59f25b0741 Get one-to-one chat to actually work... 2006-06-22 18:07:54 -04:00
Marco Pesenti Gritti
c234b7b4a3 Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar
Conflicts:

	sugar/presence/Buddy.py
2006-06-22 16:01:14 -04:00
Marco Pesenti Gritti
0a305004b0 Some work getting the one-to-one chat back 2006-06-22 15:59:38 -04:00
Dan Williams
be992586b1 Don't create more than one activity chat, and join a published chat when it appears 2006-06-22 14:37:34 -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
2351ee0458 [hack] don't traceback when there's no network connection 2006-06-22 12:52:51 -04:00
Marco Pesenti Gritti
8797223ccd Fixup the chat toolbar layout a bit 2006-06-22 09:22:23 -04:00
Marco Pesenti Gritti
974ef81c1e Get back mesh chat (for the everyone tab) 2006-06-21 23:49:37 -04:00
Marco Pesenti Gritti
26684a091c Release 0.11 2006-06-21 16:18:25 -04:00
Marco Pesenti Gritti
37ad383be3 Forgot to add these 2006-06-21 16:06:56 -04:00
Marco Pesenti Gritti
9ea6805174 More work on packages refactoring, mostly working 2006-06-21 16:05:52 -04:00
Marco Pesenti Gritti
f4e2791c89 Big refactor of the directory structure and packages to
reflect private/public
2006-06-21 14:23:18 -04:00
Dan Williams
a6974cd597 fix undefined variable 2006-06-20 15:10:49 -04:00
Dan Williams
e9f20cfe0f pylint fixes 2006-06-20 09:39:36 -04:00
Marco Pesenti Gritti
7e20f07b6c Add some defines for the sliding parameters 2006-06-20 03:34:14 -04:00
Marco Pesenti Gritti
028b15d3df Initial bots code... probably a crack idea but let's see if I can
get something useful out of it.
2006-06-20 03:19:33 -04:00
Dan Williams
0df8d01dce Increase timeout for nicer animation 2006-06-19 23:23:35 -04:00
Dan Williams
ef0de497a5 clarify variable name 2006-06-19 23:20:18 -04:00
Dan Williams
d57fe375b9 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-19 23:18:57 -04:00
Dan Williams
2c04bf08b4 Use non-linear algorithm for sliding window animations 2006-06-19 23:18:51 -04:00
Marco Pesenti Gritti
8212ce7595 Ensure to not do unnecessary move when sliding 2006-06-19 23:05:25 -04:00
Marco Pesenti Gritti
758d9fba43 Always enable console 2006-06-19 23:04:53 -04:00
Marco Pesenti Gritti
8bcdb8f3dd Implement session shutdown. For now we are forcefully
killing activities. We will need to implement some sort
of shutdown notification system but... for now this
works.
2006-06-19 22:39:57 -04:00
Dan Williams
5485a4f958 Fix some typos 2006-06-19 21:24:24 -04:00
Dan Williams
7ba6033921 Use the service's _publisher_ address for buddy service verification, since that's the unicast address from which the buddy's service announcements are coming; not the service's
outbound address
2006-06-19 21:19:05 -04:00
Dan Williams
78ee3d2b20 Find chat service that may have already been resolved, and make sure we don't user services that aren't for our activity 2006-06-19 21:17:58 -04:00
Dan Williams
6fd464be7d Make get_activity_service() actually work 2006-06-19 21:16:55 -04:00
Dan Williams
f15d803cc6 Grab services that may already have been resolved 2006-06-19 21:16:30 -04:00
Dan Williams
2c2ba14311 clarify addresses 2006-06-19 21:14:51 -04:00
Marco Pesenti Gritti
9c0669dde4 Merge branch 'master' of git+ssh://crank.laptop.org/git/sugar 2006-06-19 15:31:32 -04:00
Marco Pesenti Gritti
4cef4cb3bd Implement sliding, dead slow with gradients.
Get keyboard focus in the dock with some evil hack.
2006-06-19 15:31:18 -04:00
Dan Williams
028f033344 Need to change the activity service's name to the owners name before passing it along to the new activity that we're going to join. 2006-06-19 15:12:56 -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
40483bb856 Don't share an activity if it's name doesn't match our owner's nickname 2006-06-19 15:10:37 -04:00
Dan Williams
072fea84a0 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar 2006-06-19 14:53:36 -04:00
Dan Williams
c218b3fc03 Ensure properties arguments are local encoding (for now), and tell the python dbus bindings explicitly what type to send them through dbus as (ie, ByteArray), because sometimes the bindings can't figure it out 2006-06-19 14:53:32 -04:00
Dan Williams
69c1fd6252 Ensure properties arguments are local encoding (for now) 2006-06-19 14:52:46 -04:00
Marco Pesenti Gritti
918c695b07 Do not assign {} to properties, if you do apparently
the table is not recreated on subsequent calls and
that obviously cause funny issues.
2006-06-19 12:38:25 -04:00
Marco Pesenti Gritti
73c94c7bfb Improve some debug output 2006-06-19 12:28:44 -04:00
Dan Williams
c65ef6f9cd Make the presence service resolve all shared activity services by default; it's up to the activities to ignore services that aren't theirs. Also add 'joined-activity' and 'left-activity' signals on Buddy objects, mainly for the PresenceWindow's 'Who's here' bits 2006-06-19 09:49:57 -04:00
Dan Williams
d08ea50d15 Start presence service later, so that we don't receive signals before we're ready to deal with them. Also ignore shared activities that aren't ours. 2006-06-19 09:48:45 -04:00
Dan Williams
8154529886 Fix some typos 2006-06-19 09:47:28 -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
Marco Pesenti Gritti
ea27f1ad8f Hint slide in windows as docs, this should allow us to
actually slide in.
2006-06-19 02:36:11 -04:00
Marco Pesenti Gritti
5c7da12cd5 Change the start page interface to make some sense.
Need some theme love...
(Code is an hack, but it's not worth implementing it
right until we have more definite plans about this)
2006-06-19 00:39:24 -04:00
Marco Pesenti Gritti
b129956aba Add back colors in the toolbar. Layout/appeareance sucks atm 2006-06-18 15:35:44 -04:00
Marco Pesenti Gritti
3fe0d7a580 Get sketches back to work, add a send button 2006-06-18 15:13:50 -04:00
Marco Pesenti Gritti
be051b2726 Mention ctrl+s 2006-06-18 14:45:04 -04:00
Marco Pesenti Gritti
3553882352 Factor out window logic to ChatWindow.
Hook the sketchpad to ctrl+s combination
2006-06-18 14:44:08 -04:00
Marco Pesenti Gritti
9d7a7f8050 Fix the confusion when running multiple instances on the
same box by passing the nick name in the message.
2006-06-18 14:14:59 -04:00
Marco Pesenti Gritti
51ea9eedba Get chat back to work. Well except it get very confused
if users have the same ip address.

Dan I commented out the service deserialization in BrowserShell
because it was not really working (also there was a few typos in
that code)
2006-06-18 03:00:23 -04:00
Dan Williams
bc43e25e10 Filter out duplicate shared activities from the Start Page list 2006-06-18 01:50:01 -04:00
Marco Pesenti Gritti
bf55ae8644 Fix a bunch of issues with the chat window 2006-06-18 01:47:53 -04:00
Dan Williams
b703d93534 Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar
Conflicts:

	sugar/browser/BrowserActivity.py
2006-06-18 01:33:05 -04:00
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
Dan Williams
ef35f9327e Forgot to add the Group.py file 2006-06-12 18:51:06 -04:00
Dan Williams
e934e153f6 Add module init file 2006-06-12 18:50:04 -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
Marco Pesenti Gritti
c4b112366c Force themes to be olpc, so people can get 2006-06-07 16:08:14 -04:00
Marco Pesenti Gritti
09353c0154 Merge 2006-06-07 13:26:38 -04:00
Marco Pesenti Gritti
8ae9f43540 ugly workaround for a dbus < 0.61 bug 2006-06-07 13:26:01 -04:00
Dan Williams
a0ed2fa232 merge 2006-06-07 12:23:14 -04:00
Dan Williams
f7cd0939c4 Fix traceback on focus changes 2006-06-07 12:22:28 -04:00
Marco Pesenti Gritti
55d863fc71 Add a few missing files to the makefiles, 2006-06-07 12:21:47 -04:00
Marco Pesenti Gritti
3710eea217 Start factoring out the presence stuff from chat UI... very very very broken right now 2006-06-06 12:43:26 -04:00
Dan Williams
046a954de1 Change Activity so that subclasses don't have to call Activity superclass methods from the shell callbacks. Makes subclasses simpler since they don't (necessarily) have to care about OO concepts like superclasses right away. 2006-06-05 12:35:00 -04:00
Dan Williams
93333ed5cf Ignore avahi 'Local name collision' exceptions for now, but this should really get fixed 2006-06-05 10:47:14 -04:00
Dan Williams
a0f7a4abc6 Only try for buddy icon 3 times 2006-06-05 10:46:41 -04:00
Dan Williams
46a6122d26 Return correct GSource callback return value 2006-06-05 10:46:26 -04:00
Dan Williams
f2161d533b Further fixes for Activity refactoring changes. 2006-06-02 15:02:59 -04:00
Dan Williams
4c7f15f694 Refactor dbus out of Activity objects so that we're sure when 2006-06-02 14:52:20 -04:00
Marco Pesenti Gritti
f96fbfc10b Split up the browser, some cleanups and 2006-05-31 18:01:24 -04:00
Marco Pesenti Gritti
03af8bceea Simplify redirecting output to the console 2006-05-23 16:02:13 -04:00
Marco Pesenti Gritti
f2e9500a9b s/Web Browser/Web 2006-05-23 15:46:42 -04:00
Marco Pesenti Gritti
92280c8503 Remove notify_new.. again, bad dcbw 2006-05-23 13:47:01 -04:00
Marco Pesenti Gritti
b9734f4da3 Add missing file 2006-05-23 13:04:06 -04:00
Marco Pesenti Gritti
dde63625a5 Merge 2006-05-23 12:48:29 -04:00
Marco Pesenti Gritti
178468e2c0 Don't show hidden tabs border in the editor 2006-05-23 12:48:08 -04:00
Dan Williams
a7a0c2cda5 Fix some spacing issues; catch exceptions in XMLRPC client code and return result status (success or failure) to XMLRPC client callback 2006-05-23 12:42:26 -04:00
Marco Pesenti Gritti
89f9730641 Merge 2006-05-23 12:42:17 -04:00
Marco Pesenti Gritti
dcf78f2665 Change notification for browser sharing 2006-05-23 12:37:31 -04:00
Dan Williams
d9314f5314 Remove hack for scroll-to-bottom and do it properly. 2006-05-23 12:23:38 -04:00
Marco Pesenti Gritti
5879cc8190 Fix links in one-to-one chat 2006-05-23 12:01:42 -04:00
Dan Williams
8c21c67cf1 - (__key_press_event_cb): don't send zero-length messages 2006-05-23 02:59:27 -04:00
Dan Williams
54450d3482 Nicely space buddy icons, and bold-ify nicknames in chat view 2006-05-23 01:55:27 -04:00
Dan Williams
6cc5d749f6 - Implement async XML-RPC client 2006-05-23 00:15:14 -04:00
Dan Williams
8e7a72c9da Fix traceback on activity disconnect 2006-05-23 00:10:10 -04:00
Marco Pesenti Gritti
fc5e077bdc Make that red not so red ;) 2006-05-22 23:16:54 -04:00
Marco Pesenti Gritti
073ffd1bff Default to tab active, this is damn racy 2006-05-22 23:10:12 -04:00
Marco Pesenti Gritti
bbeced56e5 Finish up chat notification, there are races but it seem 2006-05-22 23:08:41 -04:00
Marco Pesenti Gritti
9df1c653d5 Make it easy to run two instances. See README 2006-05-22 22:40:49 -04:00
Marco Pesenti Gritti
a32007ec7a Add two env vars to set nick name and user dir 2006-05-22 22:14:22 -04:00
Marco Pesenti Gritti
d213eada76 Change tab label color when there are 2006-05-22 17:59:42 -04:00
Marco Pesenti Gritti
a6b1307eb4 Fix tab focus stuff 2006-05-22 16:45:50 -04:00
Marco Pesenti Gritti
112f067c01 Merge 2006-05-22 16:36:02 -04:00
Marco Pesenti Gritti
d5ff67caa5 Listen on buddy for icon changes 2006-05-22 16:35:31 -04:00
Dan Williams
4fb745e204 Turn off debug print 2006-05-22 16:12:45 -04:00
Dan Williams
c52b59cd6c Turn off debug print 2006-05-22 16:11:02 -04:00
Dan Williams
a7a2211b68 Ensure that services this sugar instance registers are register with the owner as well. 2006-05-22 16:05:17 -04:00
Marco Pesenti Gritti
0c2940d56e Get rid of the new message icon entirely 2006-05-22 15:25:10 -04:00
Dan Williams
30f3c73dcb Add some comments; retry icon requests after a bit 2006-05-22 14:27:35 -04:00
Dan Williams
84ae7feb3a String-ify data before trying to pack it into the struct. 2006-05-22 14:27:06 -04:00
Dan Williams
55bf8c79cb Fix bad usage of a dict 2006-05-22 14:26:14 -04:00
Marco Pesenti Gritti
2b2dbc8099 Clear the setchpad after sending 2006-05-22 13:36:58 -04:00
Dan Williams
8b4a4e2afe Ensure buddy icon is at least None; if the sugar directory doesn't exist, make it. 2006-05-22 13:30:13 -04:00
Dan Williams
dabfae4763 Remove thread init stuff again, dbus angry 2006-05-22 12:53:27 -04:00
Dan Williams
d4fb0608fd Another try at not making dbus angry with threads. 2006-05-22 12:52:07 -04:00
Dan Williams
6998f6b3a6 Ensure keys exist or don't exist before using them or adding them, respectively 2006-05-22 12:51:39 -04:00
Dan Williams
3f320fcc52 Get group from the right place 2006-05-22 12:02:00 -04:00
Dan Williams
560648afa5 Make dbus happy by _not_ initializing gtk threading... (WTF?) 2006-05-22 11:53:22 -04:00
Dan Williams
58ed74bae6 Stick main code into main() 2006-05-22 11:47:59 -04:00
Marco Pesenti Gritti
cf283a91a8 Missing [] 2006-05-22 02:35:22 -04:00
Marco Pesenti Gritti
7ecf98ba95 Check if the icon exists 2006-05-22 02:32:34 -04:00
Marco Pesenti Gritti
f5173c33d0 Merge 2006-05-22 02:11:39 -04:00
Marco Pesenti Gritti
d3c5da1a66 Display icons in the chat 2006-05-22 02:10:30 -04:00
Dan Williams
3b2f185e5c - Refactor service handling. Buddies can now have more than one service associated 2006-05-22 01:21:12 -04:00
Marco Pesenti Gritti
cbae21b487 Add an .hgignore file so that I stop to forget 2006-05-22 00:18:33 -04:00
Marco Pesenti Gritti
e4cad71b56 Forgot to add this 2006-05-21 23:33:47 -04:00
Marco Pesenti Gritti
67beb6298b Merge 2006-05-21 22:21:42 -04:00
Marco Pesenti Gritti
325fb8ff25 Add an emoticons menu 2006-05-21 22:20:37 -04:00
Dan Williams
3841ac9983 merge 2006-05-21 21:31:57 -04:00
Dan Williams
2c272cc892 Do buddy icons 2006-05-21 21:30:26 -04:00
Dan Williams
1c54ef5002 Make colors work in Sketch 2006-05-21 00:29:20 -04:00
Marco Pesenti Gritti
1a2f5cc3f7 Parse text emoticons 2006-05-21 20:37:29 -04:00
Marco Pesenti Gritti
58d6cbd76f Add support for icons 2006-05-21 20:02:14 -04:00
Marco Pesenti Gritti
bd8b2437a6 Start drawing from the actual start point 2006-05-21 18:55:37 -04:00
Marco Pesenti Gritti
2174b6e0fd Add a way to get user dir 2006-05-21 17:49:27 -04:00
Marco Pesenti Gritti
41ec035dc7 First go at drawing UI 2006-05-20 18:50:39 -04:00
Dan Williams
dc276e7b7f Show sketches inline in chat 2006-05-19 20:45:17 -04:00
Dan Williams
3267a94c06 Extract and receive sketches as well as text messages 2006-05-19 20:01:03 -04:00
Marco Pesenti Gritti
19c75f6c4f Forgot to add this 2006-05-19 19:55:55 -04:00
Marco Pesenti Gritti
b4d4d9eb21 Merge 2006-05-19 18:05:59 -04:00
Marco Pesenti Gritti
11a1925c2d Write a toolbox and partially integrate it with the chat. 2006-05-19 18:05:00 -04:00
Dan Williams
2a2903d1fb Change chat's send_message() -> send_text_message() to prepare for sketch-in-chat 2006-05-19 16:27:29 -04:00
Dan Williams
2b8d593f4a Only parse <richtext> tagged XML 2006-05-19 16:26:08 -04:00
Dan Williams
887034c8a4 Consolidate recv_message() and send_message() code 2006-05-19 15:52:44 -04:00
Dan Williams
9a1324d0b0 Replace StreamReader and StreamWriter with a unified Stream class. Since the 2006-05-19 14:50:20 -04:00
Dan Williams
8cfc17ff55 argument is a string, not a buddy 2006-05-19 14:44:42 -04:00
Marco Pesenti Gritti
8499e97a00 Merge 2006-05-19 14:19:03 -04:00
Marco Pesenti Gritti
d2cc475095 Get something basic working 2006-05-19 14:18:41 -04:00
Dan Williams
795e4bb2db Deal with keyboard interrupt correctly. 2006-05-19 13:23:07 -04:00
Dan Williams
1e2d880d6d More informative error if avahi isn't around. 2006-05-19 13:20:52 -04:00
Dan Williams
825f1d205d Don't traceback on Ctrl+C 2006-05-19 12:57:56 -04:00
Marco Pesenti Gritti
6fd95df6b5 First go at the sketch pad thing 2006-05-19 12:45:08 -04:00
Dan Williams
96a90ca32c Pathetically simplify retransmit timings. 2006-05-19 11:37:05 -04:00
Marco Pesenti Gritti
4dca6521aa Some tiny UI improvements 2006-05-18 17:31:23 -04:00
Marco Pesenti Gritti
745f5982b4 Add icon to the bar 2006-05-18 17:11:09 -04:00
Marco Pesenti Gritti
c87af3d782 Fix switched title/address 2006-05-18 16:52:20 -04:00
Marco Pesenti Gritti
230c7379be Forgot to add these 2006-05-18 16:46:31 -04:00
Marco Pesenti Gritti
8b24b5eaaa Dont break if PYTHONPATH is undefined 2006-05-18 16:42:56 -04:00
Marco Pesenti Gritti
fd8a921d96 Improve the page sharing UI 2006-05-18 16:35:12 -04:00
Marco Pesenti Gritti
6f77290880 Improve notification bar appeareance. 2006-05-18 15:58:42 -04:00
Dan Williams
533dbd638e Implement retransmit requests on receiver side, fix some stuff up. 2006-05-18 13:09:56 -04:00
Marco Pesenti Gritti
3e1f404879 Check activities dir exists 2006-05-18 12:17:25 -04:00
Marco Pesenti Gritti
b67a967699 Remove the old, non functional activity example. We have a 2006-05-18 01:43:05 -04:00
Marco Pesenti Gritti
3f624fdcf7 Add a sample activity. Too bad gmail crashes the 2006-05-18 01:17:40 -04:00
Marco Pesenti Gritti
e31583daad Merge 2006-05-18 00:25:40 -04:00
Marco Pesenti Gritti
11a923d4b1 Load session from .activity files 2006-05-18 00:24:32 -04:00
Dan Williams
64dc217f52 Ensure that RetransmitSegment construction from data is correct. 2006-05-17 22:33:52 -04:00
Marco Pesenti Gritti
2b310dda96 Some renaming 2006-05-17 17:29:23 -04:00
Marco Pesenti Gritti
e0658bfc1d Wrong function signature 2006-05-17 17:21:18 -04:00
Marco Pesenti Gritti
d89682bfe5 merge 2006-05-17 17:17:21 -04:00
Marco Pesenti Gritti
8d1e105e51 Actually hook up the action button 2006-05-17 17:14:36 -04:00
Dan Williams
7f33469924 More testcases for RetransmitSegment, and fix some RetransmitSegment bugs 2006-05-17 17:06:06 -04:00
Marco Pesenti Gritti
de8ef99294 Forgot to add the file 2006-05-17 17:04:42 -04:00
Marco Pesenti Gritti
835bb66852 First implementation of the totems ui 2006-05-17 16:56:42 -04:00
Dan Williams
11d54d71a9 Add a bunch of testcases 2006-05-17 16:23:35 -04:00
Dan Williams
f751407d50 Refactor the segment class into two type-specific classes and base class 2006-05-17 13:11:48 -04:00
Dan Williams
093667d253 Refactor global vars into appropriate classes 2006-05-17 10:30:11 -04:00
Marco Pesenti Gritti
6d7e1dcb4c Do not crash if cannot find icon 2006-05-17 00:23:00 -04:00
Marco Pesenti Gritti
2ae62db4cc Enable the console only when running from source path. 2006-05-17 00:12:01 -04:00
Marco Pesenti Gritti
53ccec5267 Forgot to add new file 2006-05-16 19:23:42 -04:00
Marco Pesenti Gritti
8a9d0b657c Add a gui console so I can see output in 2006-05-16 19:21:52 -04:00
Dan Williams
b6d50a215b Add a segment type and start bits for retransmission requests. 2006-05-16 17:08:39 -04:00
Marco Pesenti Gritti
17b77fc7cc Make this work also when running from inside sugar/ 2006-05-16 16:52:54 -04:00
Marco Pesenti Gritti
1f33120951 Merge 2006-05-16 16:33:11 -04:00
Marco Pesenti Gritti
8162cc8468 Do not rely on dbus auto-activation. 2006-05-16 16:32:08 -04:00
Dan Williams
0f7dc51ac0 Do message reassembly 2006-05-16 16:26:23 -04:00
Dan Williams
e4516c6d81 Add start of mostly reliable UDP pipe communication code 2006-05-16 14:40:52 -04:00
Marco Pesenti Gritti
7fa4630cd3 Fixup a bunch of missing files in the makefiles 2006-05-16 13:42:39 -04:00
Marco Pesenti Gritti
7b2927166b Typo 2006-05-15 17:33:33 -04:00
Marco Pesenti Gritti
5bc2a8a483 Get the damned thing to work, finally! 2006-05-15 17:16:55 -04:00
Marco Pesenti Gritti
04d57855f8 Actually use the group address now that we have it 2006-05-15 17:01:31 -04:00
Marco Pesenti Gritti
f6d9916b4a Cleanup the service stuff for the multicast case 2006-05-15 16:57:23 -04:00
Marco Pesenti Gritti
2fdedc751e More work on notification 2006-05-15 16:28:09 -04:00
Marco Pesenti Gritti
d2a0bd4d65 More fixes... 2006-05-15 15:36:17 -04:00
Marco Pesenti Gritti
7300b8e429 More fixes 2006-05-15 15:12:08 -04:00
Marco Pesenti Gritti
0660a72a34 Mercurial deleted this for some reason!? 2006-05-15 15:05:56 -04:00
Marco Pesenti Gritti
1bba0e9414 Merge 2006-05-15 15:05:09 -04:00
Marco Pesenti Gritti
27b89c5b24 The notifier should own the server not the listener! 2006-05-15 15:03:05 -04:00
Dan Williams
6b78600646 Merge SVGdraw.py 2006-05-15 14:48:08 -04:00
Dan Williams
0ca5a7fed5 More SVGdraw fixups, make namespaces work on import 2006-05-15 14:47:06 -04:00
Dan Williams
ae2eb70b6c Add import capability to SVGdraw.py 2006-05-12 17:42:40 -04:00
Marco Pesenti Gritti
acf29ef25e Forgot to add this 2006-05-15 14:33:02 -04:00
Marco Pesenti Gritti
94355dd372 Empty init file 2006-05-15 14:32:17 -04:00
Marco Pesenti Gritti
2da875af68 Fix a bunch of bugs 2006-05-15 14:24:31 -04:00
Marco Pesenti Gritti
e752cda5e6 Implement model changes notification and hook 2006-05-15 14:07:16 -04:00
Marco Pesenti Gritti
e0a046cd53 Split the model classes in different files 2006-05-15 12:27:36 -04:00
Marco Pesenti Gritti
6cbe5256e9 Typo 2006-05-13 01:40:04 -04:00
Marco Pesenti Gritti
a3d69ab879 pylintize!!! 2006-05-13 01:28:51 -04:00
Marco Pesenti Gritti
4479a14eea Add missing return, I want a compiler! 2006-05-12 22:58:27 -04:00
Marco Pesenti Gritti
d90e9a115a Some more fixes 2006-05-12 19:27:04 -04:00
Marco Pesenti Gritti
bb04e24082 Correct the name of request handler class 2006-05-12 19:07:29 -04:00
Marco Pesenti Gritti
8a2cef6a4f Missing includes 2006-05-12 18:59:14 -04:00
Marco Pesenti Gritti
42feca7cb3 Typo 2006-05-12 18:47:23 -04:00
Marco Pesenti Gritti
c481c3f270 Return None if the service is unknown 2006-05-12 18:46:33 -04:00
Marco Pesenti Gritti
d9ad506f88 Actually register the service. Fix a typo 2006-05-12 18:43:03 -04:00
Marco Pesenti Gritti
aba40b2fd9 Initial model and totems code 2006-05-12 18:09:13 -04:00
Marco Pesenti Gritti
343761bd8c Fix running from installation 2006-05-12 03:04:07 -04:00
Marco Pesenti Gritti
a55dc687bf Fix the sugar script for the new packages 2006-05-12 02:52:32 -04:00
Marco Pesenti Gritti
0f969404eb Some minor fixes 2006-05-12 02:46:59 -04:00
Marco Pesenti Gritti
34987e1ef8 Some new files I forgot in the previous commit 2006-05-12 02:34:20 -04:00
Marco Pesenti Gritti
f6491e6afc Refactor the directory structure to match the packages 2006-05-12 02:32:03 -04:00
Dan Williams
81d59b371b More build fixes. 2006-05-08 15:48:34 -04:00
Marco Pesenti Gritti
07434a4834 Restore the sugar script so we can run from installation too 2006-04-27 15:23:11 -04:00
Dan Williams
81f45f1447 merge to tip of tree 2006-04-27 15:01:42 -04:00
Marco Pesenti Gritti
38c5e5847b Add some tab icons, still missing web site icons 2006-04-27 14:58:10 -04:00
Dan Williams
87241c2e8c Clarify README. Remove the sugar utility as it's kinda misleading. 2006-04-27 14:21:21 -04:00
Marco Pesenti Gritti
200c3d077a Install service files so that services are automatically 2006-04-26 02:25:58 -04:00
Marco Pesenti Gritti
7c2531899b Automakeify 2006-04-26 00:18:21 -04:00