Posts tagged Development

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 [...]

PHP support for Geany’s Classbuilder plugin

Update: Enrico Tröger just submitted the patch so from now this change is included in Geany sources. I started working on feature request #2972547. With a new notebook which I got in my new work (PHP developer in Pears Health Cyber) I started using Geany editor. I’m mainly using it for PHP development and because [...]

Styling XUL elements

I allways have a troubles with styling XUL elements and without DOM Inspector it could be even worse. Today I’ve tried to style <button type=“menu“/> and it also was a hard work but result is pretty good: As you see I have two types of menu buttons – with label and without – the most [...]

Customizing Thunderbird’s message header view

As I worked on tbNotes extension I needed to add item to the message header view (see the picture). I didn’t found any usefull informations on MDC or Google so I look into the Thunderbird‘s sources (msgHdrViewOverlay.js) file and there I founded it. Solution is simple: Code placed in overlays.xul: <!– Message header view overlay [...]

MySQL Trick: GROUP_CONCAT

Today I discovered and firstly used MySQL aggregate function GROUP_CONCAT and it’s really usefull in same cases. Consider structure database like this: ┌───────────────────────────────┐ ┌───────────────────────┐ │ eshop_items │ │ eshop_items_to_genres │ ├───────────────────────────────┤ ├───────────────────────┤ │ * ID [INTEGER] |—-| item_ID [INTEGER] │ │ title [VARCHAR] │ │ genre_ID [INTEGER] |—-┐ │ image [VARCHAR] │ └───────────────────────┘ | │ [...]

Venkman JavaScript Debugger for Komodo Edit

Today I’ve noticed on ActiveState Community web that was released Venkman JavaScript Debugger with Komodo Edit/IDE support – this is really great for debugging your Komodo’s extensions. As on Firefox – the only thing you need to do is uncheck Exclude browser files in Venkman’s debug menu. As usual here are some screens:

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 [...]

Mozilla Dehydra Cross Reference

Wow, this is another „the must have“ tool for Mozilla-aimed developers – the Mozilla Dehydra Cross Reference. I packed it as a Prism application and I love it . See some screenshots bellow and try it!

VisualDiffer for Komodo Edit

Today I found really nice extension for Komodo Edit made by Davide Ficano. I think this is the best Komodo’s extension I’ve seen up today. And here some links: extension’s homepage post about it on Komodo’s forum And some screenshots: