Closed Bug 272251 Opened 20 years ago Closed 8 years ago

create Firefox extension for sql support

Categories

(Core Graveyard :: SQL, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: bugzilla, Assigned: janv)

Details

Attachments

(3 files)

it could be nice if sql support was available as a firefox extension.
(In reply to comment #0)
> it could be nice if sql support was available as a firefox extension.

Agreed. It is very easy to repack the existing jar and dll to the new Firefox EM
format, however Firefox 1.0 (probably 0.9 too, haven't tested) needs the sql.dll
to be relinked against xpcom.dll. I'm trying to get Firefox to build on my WinXP
box so I can rebuild sql.dll, but I'm new at this so it could take a while :-)

If you are interested I can post my package structure and install.rdf for the
Extension Manager format.
(In reply to comment #1)
> If you are interested I can post my package structure and install.rdf for the
> Extension Manager format.

yes, I'm interested
New .xpi layout:
chrome/sql.jar
components/sql.dll
components/sql.xpt
components/sqlpgsql.xpt
install.rdf
install.js (for backwards compatibility with Mozilla not using EM)

install.rdf:
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
    <Description about="urn:mozilla:install-manifest">
        <em:id>{0602ECD6-845C-43d8-8B71-80E30B77BBB3}</em:id>
        <em:name>SQL</em:name>
        <em:version>0.1</em:version>
        <em:description>SQL support in Mozilla</em:description>
        <em:creator>Jan Varga</em:creator>
        <em:homepageURL>http://mozilla.org/projects/sql/</em:homepageURL>
        <em:optionsURL>chrome://sql/content/pref-sql.xul</em:optionsURL>
        <em:file>
            <Description about="urn:mozilla:extension:file:sql.jar">
                <em:package>content/</em:package>
                <em:locale>locale/en-US/sql/</em:locale>
            </Description>
        </em:file>
        <em:targetApplication>
            <Description>
                <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
                <em:minVersion>0.9</em:minVersion>
                <em:maxVersion>1.0</em:maxVersion>
            </Description>
        </em:targetApplication>
    </Description>
</RDF>

This patch removes several flex=1 attributes from the tree in the preferences
dialog since Firefox renders the tree a bit too narrow otherwise.
Contains my relinked sql.dll and the changes to pref-sql.xul. Tested on 2
machines in WinXP with Firefox 1.0, and works fine with the sqltest
application.

sql.dll was compiled using the latest AVIARY_1_0_20040515_BRANCH

Hope it works for someone else, too :-)
Summary: create Firefox extension → create Firefox extension for sql support
Hi,
Can you please put this xpi file onto the main sql extension page for Firefox
bowsers?

Thanks(In reply to comment #6)
> Created an attachment (id=169021) [edit]
> XPI for win32 Firefox 1.0
> 
> Contains my relinked sql.dll and the changes to pref-sql.xul. Tested on 2
> machines in WinXP with Firefox 1.0, and works fine with the sqltest
> application.
> 
> sql.dll was compiled using the latest AVIARY_1_0_20040515_BRANCH
> 
> Hope it works for someone else, too :-)
> 

Attachment #169021 - Attachment description: XPI for win32 Firefox 1.0 → XPI for win32 pgsql Firefox 1.0
The SQL extension and component are no longer active.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: