Posts tagged XPCOM

The best editor for IDL files?

Whenever I’ve edited my IDL files which defining components in Mozilla applications I never seen any outline in all editors I’m commonly using (Komodo Edit, Eclipse, NetBeans etc.) but than I’ve tried Geany (where I switch accidentally document type to C# language) and see what I’ve got :

Returning array of components

As I worked on next version of Boogie I encountered a really big problem with returning of an array of instances of my components returned from another component’s method. Here is the introduction: I have component odIBoogieDatatypeProject and also component odIBoogieDbService where is method getProjects(aWhere) which should returns array of all projects which matching given [...]

Using nsIDownloadManager

In my work I’m currently working on an application based on Mozilla’s XULRunner and I need to implement downloading of blank form (DOC file from remote URI) and I spent with it over one hour – I finally succeeded after I read this page on MXR. So here are is some code I used and [...]

nsIPasswordManager vs. nsILoginManager

In many of my extensions I used nsIPasswordManager for storing and retrieving user login informations but now is comming Mozilla Firefox 3 (currently the first beta version is released) and brings new component for this purpose – nsILoginManager. So I’ve decided to make a class which can be used without any worries about Firefox’s version. [...]