Commit Graph
100 Commits
Author SHA1 Message Date
Dan Williams 6ab478c6cd Validate percentage before setting it 2007-03-14 10:09:41 -04:00
Dan Williams b97edec4db Remove picture selection from intro screen for now 2007-03-14 10:06:45 -04:00
Dan Williams 8b4ccf3eb1 Cleanup clipboard D-Bus API
- The clipboard now determines each objects unique id and
    returns it from add_object()
- The ID is opaque to the client and should not be used/accessed
    other than with the clipboard service
- Add object type hints for dbus-python
- Sugar clipboard bindings for get_object() now return a dict rather
    than a tuple
- ClipboardIcon now retrieves the real file path and uses that
    to open the file
- Adapt sugar bits to clipboard changes
2007-03-14 00:50:06 -04:00
Dan Williams bfe04c2073 Add copyright header 2007-03-13 23:57:29 -04:00
Dan Williams 070c77c67f Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-13 08:20:02 -04:00
Dan Williams c58bb3549f Ensure animations reach last frame 2007-03-13 08:19:50 -04:00
Dan Williams 78fef2a48e Implement set_title 2007-03-12 16:52:11 -04:00
Dan Williams 521dd50112 Further zoom level set traceback fix 2007-03-12 16:39:25 -04:00
Dan Williams 9987c8a7d7 Fix traceback on zoom level update 2007-03-12 16:10:32 -04:00
Dan Williams 9713391c86 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-12 11:31:37 -04:00
Dan Williams 3ffaa06220 Fix uninitialized variable tracebacks 2007-03-12 11:31:34 -04:00
Dan Williams a1411040f1 Make frame animation faster and smoother 2007-03-11 21:39:00 -04:00
Dan Williams 9d837710f5 Listen for and respond to Owner property changes
Pass the PS's owner object to each plugin.  Make the server plugin
listen to property changes and push those changes to the Jabber
server when they occur.
2007-03-09 16:29:49 -05:00
Dan Williams d299cd4032 Update Owner properties on signals from the Shell
Listen to the shell's D-Bus service for property updates
of the Owner, and push those into the presence service.

Add test code to randomly change the properties, useful
when running the PS standalone without a shell.
2007-03-09 16:28:35 -05:00
Dan Williams f5c60b44c1 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 15:36:20 -05:00
Dan Williams f1aa2cf11a Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-09 10:18:37 -05:00
Dan Williams 723bd21e77 Require jpeg format buddy icon
Since the intro screen ensures that a buddy icon exists and
is in jpg format, we can simplify the buddy icon code in the
ShellOwner object.
2007-03-09 10:18:23 -05:00
Dan Williams 8dc201bc5f Expose owner details through the Shell's DBus service
For security, we need the PresenceService to listen for changes to the
owner's attributes, like changed color, nickname, icon, and current activity,
rather than having D-Bus API in the PS itself that any process could call.

So, the shell provides signals when these attributes change, which the PS
listens to and pushes out over the network accordingly.
2007-03-08 22:17:33 -05:00
Dan Williams 5210231e8f Merge 2007-03-08 12:52:19 -05:00
Dan Williams d46382921a Convert Activity objects to gobjects and ensure validity before using 2007-03-08 12:51:10 -05:00
Dan Williams 44f00a9cd8 Fix traceback due to bad merge 2007-03-07 16:24:21 -05:00
Dan Williams a2bd1194f3 Work around bus-python bug with named exceptions 2007-03-07 16:23:52 -05:00
Dan Williams 11320e8883 Ensure entry can accept input 2007-03-07 16:23:33 -05:00
Dan Williams 4c05c4247c Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-07 14:22:16 -05:00
Dan Williams 9fa72e4cba Remove some erroneous error handler code 2007-03-07 13:56:22 -05:00
Dan Williams 550fe95b5a Clean up sugar + NM client interaction
Change "init-failed" signal to 'initialized' so uninitialized
devices don't leak in the sugar model.

Get rid of 'ssid-changed' signal on Network objects, makes no
sense conceptually, plus new 'initialized' signal replaces
what it was used for.
2007-03-07 11:40:04 -05:00
Dan Williams 7b11487995 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-03-03 12:05:08 -05:00
Dan Williams fc7f62359f Don't traceback on cleanup when disconnected already 2007-03-03 03:51:27 -05:00
Dan Williams fc970ccf3d Attempt periodic reconnection on connect error, traceback less on server problems 2007-03-03 03:15:18 -05:00
Dan Williams 7da177a054 color is required for a valid buddy 2007-03-03 03:12:52 -05:00
Dan Williams 6428fdc9a4 Give dbus-python a hint to icon return type 2007-03-03 03:12:27 -05:00
Dan Williams 08c791849f Convert buddies to GObjects; ensure signals don't emit before buddy is valid 2007-03-02 11:10:44 -05:00
Dan Williams a3e2803eb8 Clue dbus-python into the return type of get_data() 2007-03-01 13:23:29 -05:00
Dan Williams dbf2c0c1a2 get object path correctly 2007-03-01 12:52:42 -05:00
Dan Williams 7ab0b60b10 Update data store to new dbus-python bindings API and sqlite3 2007-03-01 11:53:43 -05:00
Dan Williams 57b887df30 PresenceService fixes; request buddy presence when using existing connection 2007-02-28 22:13:27 -05:00
Dan Williams 48e9887d92 Fix key release in keyhandler 2007-02-28 15:49:33 -05:00
Dan Williams 9333af3d07 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-28 15:48:48 -05:00
Dan Williams 7ce21d47bd Ensure video is realized before showing live video 2007-02-28 15:41:00 -05:00
Dan Williams 748275ca00 Add fixme for avatar optimization 2007-02-28 11:47:19 -05:00
Dan Williams 403c2abc5c Upload avatar; try to get and set BuddyInfo properties 2007-02-27 22:38:28 -05:00
Dan Williams 8a53a31c49 Have IntroWindow handle profile creation so it can hide itself before generating keys 2007-02-27 15:03:25 -05:00
Dan Williams f5051b7c14 Add get_color() function 2007-02-27 15:02:42 -05:00
Dan Williams a8cabac590 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-27 14:45:14 -05:00
Dan Williams f3cedf1bca Don't create already existing config sections 2007-02-27 14:45:06 -05:00
Dan Williams aeb162ae08 Remove a bit of debugging code 2007-02-27 13:19:04 -05:00
Dan Williams abf84970b5 always register the jid when connecting 2007-02-26 15:38:50 -05:00
Dan Williams ca8f3a0484 minor connection setup cleanups 2007-02-26 13:18:06 -05:00
Dan Williams a1f5684944 Make buddy icon selection a bit more consistent 2007-02-26 11:10:24 -05:00
Dan Williams 500bd702b1 First pass at attempting registration on failure 2007-02-25 22:45:16 -05:00
Dan Williams 88728f996e Remove debugging stuff 2007-02-25 22:27:33 -05:00
Dan Williams c1efa0a266 Ensure correctly formatted color 2007-02-25 22:23:27 -05:00
Dan Williams a48fe93cc3 Return list of devices, not dict 2007-02-25 22:06:41 -05:00
Dan Williams 0cad068bf4 Merge 2007-02-25 19:27:37 -05:00
Dan Williams bf98a5d064 Add link local plugin 2007-02-25 19:25:24 -05:00
Dan Williams a72175ff68 Create separate plugins for connection methods 2007-02-25 19:24:48 -05:00
Dan Williams 1f91f7f7af New intro/setup screen 2007-02-25 17:53:10 -05:00
Dan Williams 32a92a8c11 Clarify comment 2007-02-23 14:15:49 -05:00
Dan Williams bcc67dfb10 Clarify comment 2007-02-23 12:37:01 -05:00
Dan Williams 93386a4d8a Handle contact approval and request presence when using existing connection 2007-02-23 12:34:35 -05:00
Dan Williams 03747e2c6c Find and use an existing gabble connection, if any 2007-02-23 12:04:16 -05:00
Dan Williams 7ef6283ac4 Add telepathy glue bits (guilllaume) 2007-02-22 14:53:33 -05:00
Dan Williams 4037fc56ee Revert "Fix presence service starter script"
Wrong commit message

This reverts commit 1d304b939c.
2007-02-22 14:52:55 -05:00
Dan Williams e80f21ed25 Fix presence service starter script 2007-02-22 14:51:36 -05:00
Dan Williams 1d304b939c Fix presence service starter script 2007-02-22 14:51:26 -05:00
Dan Williams 1dcb9e9088 Add buddy and activity classes (guillaume) 2007-02-22 14:11:31 -05:00
Dan Williams 3b863f45a8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-22 14:08:00 -05:00
Dan Williams d091c60275 Add public key item to sugar profile 2007-02-22 14:07:53 -05:00
Dan Williams 4b7fabc33e Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-21 07:58:26 -05:00
Dan Williams e9abbcc152 Add owner bits and fill out GetOwner, GetBuddies, GetActivities 2007-02-21 07:58:16 -05:00
Dan Williams 44ce0a03a4 Add buddy icon cache 2007-02-21 07:20:59 -05:00
Dan Williams eb16219265 raise errors, not return them 2007-02-21 07:08:40 -05:00
Dan Williams 0cd1352111 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-21 07:07:02 -05:00
Dan Williams e52ce9de93 Stub out more of the PS object 2007-02-21 07:06:45 -05:00
Dan Williams 6946369ba5 Skeleton PS class 2007-02-21 06:41:26 -05:00
Dan Williams 548e2983dd Start on new presence service 2007-02-21 06:37:04 -05:00
Dan Williams c07dcbb28b Fix the fix for python 2.5 2007-02-03 14:41:31 -05:00
Dan Williams 63b2c74f90 Fix for python 2.5 2007-02-03 14:40:31 -05:00
Dan Williams a228e5297b Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-31 11:32:03 -05:00
Dan Williams de2cfecf92 Use screenshot for overlay window background
Instead of requiring a compositing manager for the transparent background
of the OverlayWindow, take a screenshot and use that instead.
2007-01-31 11:31:52 -05:00
Dan Williams 6930a8c11a Correctly set height/width the right way 2007-01-26 18:27:59 -05:00
Dan Williams 759c477e1f Revert "Set width/height the right way"
This reverts commit 0eaa29ee9d.
2007-01-26 11:28:45 -05:00
Dan Williams 0eaa29ee9d Set width/height the right way 2007-01-26 09:21:56 -05:00
Dan Williams d35413d8b0 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-26 09:18:53 -05:00
Dan Williams 89e10838d3 Stub Alt+Tab key handler 2007-01-24 14:56:44 -05:00
Dan Williams 0c66dd5fa2 Re-enable buddy streams now that XMLRPC is fixed for python 2.5 2007-01-24 14:25:31 -05:00
Dan Williams 9faf8bedd7 Fix GlibXMLRPCServer for Python 2.5 2007-01-24 14:24:55 -05:00
Dan Williams 55a459e63d Reduce launch feedback interval to boost launch times 2007-01-16 10:44:43 -05:00
Dan Williams a409c4ceec Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-01-16 09:59:44 -05:00
Dan Williams d42e4af65a Don't show WPA-enabled APs in the NM applet menu
We don't support WPA configuration yet, so don't show those access points
in the dropdown menu.
2007-01-16 09:59:31 -05:00
Dan Williams 9c75c80d7f Don't clear the current buffer on cleanup 2007-01-15 09:53:41 -05:00
Dan Williams a6aaff912b NM applet: store and return allowed networks correctly 2006-11-13 12:56:12 -05:00
Dan Williams 0ed4d028e2 Remove debugging code 2006-11-12 23:24:27 -05:00
Dan Williams 08bde38ebf Make the WEP key dialog work in async mode 2006-11-12 23:16:31 -05:00
Dan Williams 9c1f76b042 Fix returned dbus args so the applet works with WEP 2006-11-12 19:21:13 -05:00
Dan Williams 5e4d972f40 Fix more key dialog interaction 2006-11-12 19:12:17 -05:00
Dan Williams 9e6f1b6619 Fix icon update on NM going away 2006-11-12 18:37:25 -05:00
Dan Williams fa94236b78 Add wepkeydialog to the makefile 2006-11-12 18:37:03 -05:00
Dan Williams f5d2fd969c Hook up more of the key dialog bits 2006-11-12 14:42:30 -05:00
Dan Williams 823f1cf6f7 Work around non-bound HippoCanvas 'clickable' property by using button-press-event instead 2006-11-01 16:55:24 -05:00