Commit Graph

3574 Commits

Author SHA1 Message Date
Eduardo Silva
f79d5a63db Palette: tooltip fix 2007-06-05 22:43:42 -04:00
Dan Williams
d849f573c5 Add network.py to makefile 2007-06-05 07:53:07 -04:00
Marc Maurer
88011ed22d Add set_current_toolbar 2007-06-04 23:53:40 +02:00
Marco Pesenti Gritti
39d1f7b581 Better regexp 2007-06-04 23:53:23 +02:00
Tomeu Vizoso
a9600516fb Take screenshot and save it to the journal (<alt>1). 2007-06-04 18:35:05 +01:00
Marco Pesenti Gritti
283a3f4c97 Better snapshot script 2007-06-04 13:09:41 +02:00
Marco Pesenti Gritti
b2980d7bd6 Restore get_id/get_service_name, didn't realize they was used by subclasses. 2007-06-03 22:12:47 +02:00
Eduardo Silva
aab18a866d Palette: Tooltip support 2007-06-02 00:33:41 -04:00
Marco Pesenti Gritti
e707f1b1cc Hrm how my icon name changes did get reverted... 2007-06-01 21:26:18 +02:00
Marco Pesenti Gritti
2b7ffe41d9 Make bundle_id and activity_id window properties to
avoid races.
2007-06-01 21:21:30 +02:00
Marco Pesenti Gritti
5cc9a8c424 Bindings to set activity_id and bundle_id hints 2007-06-01 20:38:30 +02:00
Marco Pesenti Gritti
d4bd7a5d05 Do not index icons by activity id. Raw X windows does not have one. 2007-06-01 14:19:14 +02:00
Marco Pesenti Gritti
cd3efeba49 Fix raw X windows 2007-06-01 14:04:54 +02:00
Marco Pesenti Gritti
b1a62c2fc0 Refactor part of the Home model. Should be much
cleaner and reliable. If you find bugs with it
please let me know.
2007-06-01 13:38:34 +02:00
Marco Pesenti Gritti
2f6790105d Make launching a property of the activity model 2007-06-01 11:03:18 +02:00
Marco Pesenti Gritti
e1f27fcd34 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-06-01 10:24:38 +02:00
Marco Pesenti Gritti
38c0cf411c Remove our custom launch timeout. The dbus timeout
is enough.
2007-06-01 10:24:13 +02:00
Eduardo Silva
0014ea0da0 Palette: Automatic positioning 2007-06-01 00:08:24 -04:00
Marco Pesenti Gritti
d271e1f481 Fix new instance message 2007-05-31 14:22:26 +02:00
Marco Pesenti Gritti
fc53bf8667 Support icons inside the activity 2007-05-31 11:30:16 +02:00
Eduardo Silva
9ea6b18027 Merge branch 'master' of git://dev.laptop.org/sugar 2007-05-30 14:37:51 -04:00
Simon McVittie
ef369e97de Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-30 19:33:14 +01:00
Eduardo Silva
7985a05274 Console: fix reading log files 2007-05-30 14:32:29 -04:00
Eduardo Silva
dd00dda41f Palette fixes 2007-05-30 13:29:29 -04:00
Marco Pesenti Gritti
75130719b5 Check for locks before using a display.
Patch by reinier@heeres.eu
2007-05-30 18:48:40 +02:00
Simon McVittie
cd12b59967 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-30 17:43:31 +01:00
Simon McVittie
22b1338ac5 services/presence/server_plugin: special-case the Owner when IDing buddies.
We always know who we are, so don't need to inspect our own handle or anything.
2007-05-30 17:43:16 +01:00
Simon McVittie
b362ed625c services/presence/server_plugin: fix thinko - take the right arguments to _subscribe_members_changed_cb 2007-05-30 17:42:19 +01:00
Simon McVittie
a54aaa54be services/presence/presenceservice: look up buddies by key-ID if we don't know the full key yet. 2007-05-30 17:41:08 +01:00
Simon McVittie
f90de752f6 services/presence/presenceservice: weakly reference Buddy objects in _buddies
This makes sure we re-use an existing Buddy object if it's still referenced
somewhere, rather than trying to make another and fighting over the object path.
2007-05-30 17:40:31 +01:00
Simon McVittie
fd4e514e21 services/presence/buddy: Fix thinko - register Owner with correct objid
Previously the keyid/ prefix was missing.
2007-05-30 17:38:58 +01:00
Simon McVittie
ee6c1b4283 services/presence/: Have joined Activities track membership via group interface.
This allows us to ignore the (trivially spoofable) PEP info for activities
that we're actually in, in favour of looking at the actual members.
2007-05-30 17:36:42 +01:00
Simon McVittie
87446bfb7f services/presence/buddyiconcache: remove unused import of sugar.util 2007-05-30 17:04:16 +01:00
Tomeu Vizoso
527e22ba5d Get one line back :) 2007-05-29 23:25:47 +02:00
Konrad Kleine
7b4333dc4e Bug 590# fixed (codestyle issues) 2007-05-29 21:29:14 +02:00
Konrad Kleine
76d3e78302 Bug #590 fixed.
All logfiles will be backed up to ~./sugar/default/logs/old .
You can adjust the backup directory and the number of backup
versions.

You can also adjust the file suffix for the backup files.

Konrad Kleine
2007-05-29 21:28:59 +02:00
Eduardo Silva
b1ed24498c Palette: event improves 2007-05-29 12:27:54 -04:00
Simon McVittie
6957446167 services/presence/: Make Activities responsible for tracking their members.
Add a signal to notify the PS when all members have gone away.
2007-05-29 16:12:05 +01:00
Simon McVittie
9d812430bf services/presence/psutils.py: don't bother using sugar.util, it's easier to use hexdigest or sha directly 2007-05-29 16:11:07 +01:00
Simon McVittie
2f8ef7bd3b services/presence/test_psutils: trivial check for pubkey_to_keyid() 2007-05-29 16:10:19 +01:00
Tomeu Vizoso
c35db7acf8 Some refactoring of the DataStore API. 2007-05-29 15:53:58 +02:00
Simon McVittie
ea892796ae services/presence/Makefile.am: Include test_psutils.py in "make check" 2007-05-29 14:05:12 +01:00
Marco Pesenti Gritti
53d64a0536 Use the commit id for the snapshot name 2007-05-29 14:16:49 +02:00
Marco Pesenti Gritti
0c77275ba7 Very first go at the object type registry. 2007-05-29 12:39:57 +02:00
Simon McVittie
a4a06206e3 services/presence/: identify Buddies by "key ID" (pubkey hash), not whole key.
This allows us to create Buddy objects as soon as we see a contact on the
server. For contacts not on trusted servers, or seen in anonymous MUCs, we
create a Buddy identified by JID instead (so we have some way to talk
about the anonymous contact within the Sugar API).

The concept of "trusted server" means a server which we trust to validate that
users with a keyID as the username part of their JID do in fact have that key.
Currently we just pretend that olpc.collabora.co.uk does this - in future, the
school servers will do this validation by using key rather than password
authentication.

Also create Buddy object paths based on the keyID or JID (for easier debugging).
2007-05-28 17:25:52 +01:00
Simon McVittie
5dacfdd365 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-05-28 17:10:54 +01:00
Simon McVittie
706830c489 services/presence/server_plugin: Don't watch MembersChanged in activities.
My plan is now to do this in the Activity class, once the PS has a reliable
way to map handles to buddies.
2007-05-28 15:56:39 +01:00
Simon McVittie
aad2afdae2 services/presence/server_plugin: Use set operations to update the subscribe set 2007-05-28 15:54:40 +01:00
Tomeu Vizoso
8915657a08 Take out one try..except block. 2007-05-28 16:25:36 +02:00
Simon McVittie
7aee70e047 services/presence/pstest: Add Red Hat/Collabora GPL v2+ notice 2007-05-28 14:46:13 +01:00