#4432 NORM Never A: web-activity: Should use 'ay' rather than Base64 for thumbnails
Zarro Boogs per Child
bugtracker at laptop.org
Wed Oct 24 08:11:12 EDT 2007
#4432: web-activity: Should use 'ay' rather than Base64 for thumbnails
-------------------------+--------------------------------------------------
Reporter: smcv | Owner: marco
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: web browser | Version:
Keywords: | Verified: 0
-------------------------+--------------------------------------------------
D-Bus can transfer arbitrary binary data using the byte array type
(signature 'ay'). Messenger.send_link and Messenger._add_link should use
that rather than Base64'ing the thumbnail.
The D-Bus methods and signals would also be better named according to
D-Bus convention - names are CamelCase, methods are verbs, signals are
noun events - as something like:
method SynchronizeLinks(as) -> ass (formerly sync_with_members)
method NotifyOfLink(ssssssd) -> nothing (formerly send_link)
signal LinkAdded(sssssd)
The D-Bus API seems a bit weird - I'll look at what it does/needs to do
and see if I can simplify it. (I plan to go round all the core activities
fixing up their D-Bus Tubes API.)
--
Ticket URL: <https://dev.laptop.org/ticket/4432>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list