4781 Commits (4d978fda14f7029dca7ec9925ac3716c56a74875)
 

Author SHA1 Message Date
Sascha Silbe 4d978fda14 PEP8 cleanup: ensure lines are shorter than 80 characters
Caught by PEP8. This is important for Sugar because the XO has a small screen
where long lines would make the code hard to understand (because you need to
constantly scroll horizontally).

Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer<simon@schampijer.de>
CC: Aleksey Lim <alsroot@member.fsf.org>
14 years ago
Sascha Silbe e2231d5620 PEP8 cleanup: fix number of blank lines
Caught by pep8.

Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
14 years ago
Sascha Silbe 131c28bb72 fix EOL spaces
Reviewed-by: James Cameron <quozl@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
CC: Aleksey Lim <alsroot@member.fsf.org>
14 years ago
Simon Schampijer c7a80a1e56 Add new numbering scheme #2425
- add class NormalizedVersion to parse and compare the new activity versions
- change the bundlebuilder and activitybundle to use the new scheme, instead
of an int version we expect a string that matches the format defined in
NormalizedVersion
14 years ago
Pootle daemon d8217d293e Commit from Sugar Labs: Translation System by user mschlager.: 40 of 40 messages translated (0 fuzzy). 14 years ago
Simon Schampijer db46363e9d Release 0.90.2 14 years ago
Tomeu Vizoso 29582de67f Add 'cache-palette' property to Invoker #1742
Meaning that the palette will be cached after it's created.
14 years ago
Simon Schampijer b91c2102b4 Release 0.90.1 14 years ago
Tomeu Vizoso 4fb2943ec4 Fix running multiple instances of Browse by adapting to API changes #2404
* sugar/presence/presenceservice.py: Specify the D-Bus interface when
  calling ActivityProperties.GetActivity
* sugar/activity/main.py: Set a default for the --invite option and
  make the create() D-Bus method accept a{sv} so we can pass the
  boolean value.
14 years ago
Tomeu Vizoso 7dedaeb7bb Cast floats to ints before calling cairo.ImageSurface() #2291
Otherwise Python 2.7 will raise an exception.
14 years ago
Simon Schampijer 969421b0d5 Release 0.90.0 14 years ago
Simon Schampijer 9f1fc0416e Merge branch 'master' of git.sugarlabs.org:sugar-toolkit/mainline 14 years ago
Simon Schampijer 106b9fba68 Do not break if the string contains no conversion specifier #2354 14 years ago
Pootle daemon 1540436bb8 Commit from Sugar Labs: Translation System by user tomeu.: 40 of 40 messages translated (0 fuzzy). 14 years ago
Pootle daemon 5326ebf53c Commit from Sugar Labs: Translation System by user mschlager.: 40 of 40 messages translated (0 fuzzy). 14 years ago
Tomeu Vizoso a2b8518489 Don't try to share the activity if we couldn't find a suitable connection #2217 14 years ago
Simon Schampijer e398f58e92 Release 0.89.5 14 years ago
Tomeu Vizoso 0002c93e96 sugar.presence: Remove dead code and make clear which methonds are deprecated 14 years ago
Tomeu Vizoso e21ab06e34 Read the public and private keys lazily 14 years ago
Tomeu Vizoso d780248e87 Use Account.ConnectionStatus instead of Account.Connection.Status 14 years ago
Simon Schampijer 7746dd72b7 Release 0.89.4 14 years ago
Martin Abente 4260a53d3f Merge branch 'master' of gitorious@git.sugarlabs.org:sugar-toolkit/mainline 14 years ago
Martin Abente f0a570b5ae Delete activities profile data when uninstall #2074
When activities are uninstalled, profile data persists. Profile
data can consume a lot of storage space. Therefore it is necessary
to delete it when required.

Signed-off-by: Martin Abente <mabente@paraguayeduca.org>
14 years ago
Tomeu Vizoso c56154d938 Remove sugar/__init__.py, it should come from sugar-base #1868 14 years ago
Tomeu Vizoso d156ff56a8 Address comments from Simon's review 14 years ago
Tomeu Vizoso 1af1bc9713 Address several nitpicks from Marco 14 years ago
Tomeu Vizoso 56679a3de6 Rename ActivityHandle.handle_invite to ActivityHandle.invited 14 years ago
Tomeu Vizoso d66eb39c9b Remove unused constant 14 years ago
Tomeu Vizoso 6a12411477 Add copyright statement due to the collaboration refactoring 14 years ago
Tomeu Vizoso fdfacaf26f Misc. pylint fixes 14 years ago
Tomeu Vizoso fab271ac9c Wrap lines with more than 80 chars 14 years ago
Tomeu Vizoso ead42a6945 Remove some unused imports 14 years ago
Tomeu Vizoso 1d16629d1b For several reasons, a shared activity won't survive to its connection
disconnecting and coming back.
14 years ago
Tomeu Vizoso cd6c0101af No need to dispose the buddies currently in the activity, as it is information that is needed through the whole life of the activity instance 14 years ago
Tomeu Vizoso 694c456ed3 Remove misleading comment, we are already listening Closed 14 years ago
Tomeu Vizoso 24df594203 Add the MAC address to the data that gets hashed to get an activity_id 14 years ago
Tomeu Vizoso d5dbe3616f Correctly use the connections from ConnectionManager 14 years ago
Tomeu Vizoso c0ed611aee Make sure that the connection we choose is connected 14 years ago
Tomeu Vizoso ba80f2a2c1 Set the properties of the channel after we have joined it 14 years ago
Tomeu Vizoso 1e7f499029 Translate handles if the channel has channel-specific handles (gabble) 14 years ago
Tomeu Vizoso 11d0574b3f Log when we fail to find a share activity for a given id 14 years ago
Tomeu Vizoso 633214e2b6 Call the new invite method in ActivityService InviteCommand and keep a stub for Invite 14 years ago
Tomeu Vizoso 7136145667 Add WOCKY_DEBUG to ~/.sugar/debug 14 years ago
Tomeu Vizoso 6b965fa98d Add mission control env vars for debugging 14 years ago
Tomeu Vizoso 8da18fe2aa Track the buddies inside the activity 14 years ago
Tomeu Vizoso 363f828205 Handle invitations using Mission Control 5.
src/sugar/activity/activity.py: If the activity is being invoked to
handle an invite, create a Client.Handler instance and share the
activity when HandleChannels is invoked.

src/sugar/activity/activityfactory.py,
src/sugar/activity/activityhandle.py,
src/sugar/activity/main.py: Add a -i switch that indicates to the
activity that it should handle the channel from an invitation.

src/sugar/presence/activity.py: Expose Activity.room_handle.

src/sugar/presence/presenceservice.py: Add get_activity_by_handle().

src/sugar/presence/util.py: Add get_account_for_connection().
14 years ago
Tomeu Vizoso af6e3aa5ef Restore use of ActivityProperties.GetActivity 14 years ago
Tomeu Vizoso 46159e987b Pass the account path to the Activity on creation 14 years ago
Tomeu Vizoso 1a4c721f3d Identify buddies and activities by their account and ids instead
of connection and handle.
14 years ago
Tomeu Vizoso cc8ecd81e7 Add src/sugar/presence/util.py 14 years ago