[Zeitgeist] [Bug 594215] Re: Add thunderbird support

2011-10-16 Thread Teester
** Branch linked: lp:~markjtully/zeitgeist-datasources/thunderbird

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/594215

Title:
  Add thunderbird support

Status in Zeitgeist Data-Sources:
  In Progress

Bug description:
  I would like to have support for send and/or received Emails for a
  specified account.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist-datasources/+bug/594215/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 594215] Re: Add thunderbird support

2011-10-16 Thread Teester
Ok. I got that email (it's at http://lists.zeitgeist-
project.com/pipermail/dev/2011-October/000298.html by the way), and I've
proposed the branch for merging.  It could do with reviewing before
merging.  The extension part should be fine, but it probably needs more
testing than on just my own machine.  I just copied the build parts from
the Firefox extension and changed the relevant file paths to ones
suitable for Thunderbird, so hopefully it works correctly.  Tricote's
response suggests that it is, though.

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/594215

Title:
  Add thunderbird support

Status in Zeitgeist Data-Sources:
  In Progress

Bug description:
  I would like to have support for send and/or received Emails for a
  specified account.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist-datasources/+bug/594215/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 800169] Re: Firefox extension doesn't work with FF5

2011-08-24 Thread Teester
** Branch linked: lp:~markjtully/zeitgeist-datasources/firefox

** Changed in: zeitgeist-datasources
   Status: New = In Progress

** Changed in: zeitgeist-datasources
 Assignee: (unassigned) = Teester (markjtully)

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/800169

Title:
  Firefox extension doesn't work with FF5

Status in Zeitgeist Data-Sources:
  In Progress

Bug description:
  TypeError: 
Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is 
undefined
  looks like XPCOM API has been changed again

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist-datasources/+bug/800169/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 594215] Re: Add thunderbird support

2011-08-24 Thread Teester
Attached is a first attempt at a Thunderbird add-on for Zeitgeist.  It adds 
entries for new messages to Zeitgeist as follows:
Event interpretation: EVENT_INTERPRETATION.RECEIVE_EVENT
Event manifestation: EVENT_MANIFESTATION.SYSTEM_NOTIFICATION
Actor: application://thunderbird.desktop
Subject:
Subject interpretation: MESSAGE.EMAIL
Subject manifestation: MAILBOX_DATA_OBJECT
url: Thunderbird's message uri
mimetype: message/rfc822
origin: mail sender's address
title: message subject
storage: net

The details of the event are also recorded in Thunderbird's error
console, for debugging purposes.

There are a few issues with the extension as it stands:
  1: It adds more than one event to Zeitgeist (with different uris) if the 
message is in more than one folder. This is a particular problem in Gmail, 
where messages and easily be in several different folders.
  2: It does not yet distinguish between email messages and any of the other 
types of message that Thunderbird can handle (so newsgroup messages will also 
get added)
  3: Thunderbird doesn't seem to open a message if it's passed a message uri.

** Attachment added: Initial attempt at an extension for Thunderbird
   
https://bugs.launchpad.net/zeitgeist-datasources/+bug/594215/+attachment/2310902/+files/extension.xpi

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/594215

Title:
  Add thunderbird support

Status in Zeitgeist Data-Sources:
  New

Bug description:
  I would like to have support for send and/or received Emails for a
  specified account.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist-datasources/+bug/594215/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 800169] Re: Firefox extension doesn't work with FF5

2011-08-20 Thread Teester
I've been looking at js-ctypes (https://developer.mozilla.org/en/js-
ctypes, https://developer.mozilla.org/en/js-ctypes/Using_js-ctypes)  as
a solution to the problem of the changing XPCOM API, and have managed to
create a version of the dataprovider which uses them.

Js-ctypes have a number of advantages over using C++ components in the 
extension:
  1: The extension doesn't require building as it is all Javascript.  Creating 
the .xpi is a matter of compressing the files, renaming it an .xpi and copying 
it to the required location.
  2: The extension should need minimal maintenance as the Firefox version 
increases (mainly just bumping the max version in its install.rdf file)
  3: The method used should be able to be reused to create extensions for other 
Mozilla products (Thunderbird and Lightning) with minimal difficulty compared 
to using XPCOM

Js-ctypes were introduced in Firefox 4, so the existing XPCOM extension
would still need to be maintained for Firefox 3.6.

Attached is a new version of the Firefox extension which works (at
least, it does on my system).  The main requirement is that
/usr/lib/libzeitgeist-1.0.so exists on the system (either as a file or
as a link to another file).  I am uncertain if this is the most
appropriate file to point the extension at.  It exists as a link to
/usr/lib/libzeitgeist-1.0.so.1.0.3, but it seems the most generically
named libzeitgeist file in my lib folder, so I'm assuming it's the most
likely to exist everywhere.  I've tried to retain all the features of
the original extension, but I'm unsure if the ignored_uris and
enable_googlemail parts work correctly.

** Attachment added: Firefox-Zeitgeist extension using js-ctypes
   
https://bugs.launchpad.net/zeitgeist-datasources/+bug/800169/+attachment/2294663/+files/extension.xpi

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Data-Sources.
https://bugs.launchpad.net/bugs/800169

Title:
  Firefox extension doesn't work with FF5

Status in Zeitgeist Data-Sources:
  New

Bug description:
  TypeError: 
Components.classes['@zeitgeist-project.com/DATAPROVIDER/firefox-xpcom;1'] is 
undefined
  looks like XPCOM API has been changed again

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist-datasources/+bug/800169/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp