No Mozilla Protocol Plug-in Example Or Documentation

http://www.mail-archive.com/mozilla-netlib@mozilla.org/msg02102.html

So looks like I’m giving up on Mozilla development of a protocol plugin in C++ – the platform is simply just not mature enough to develop against. I have wasted 4 hours of my life only to find that someone has been too lazy to build an example that builds against the gecko-sdk in C++, or too lazy to build a gecko-sdk that lets you build protocol plugins. Sorry Mozdev, but its just not reasonable to expect someone to have to download and use the entire Mozilla source tree to get a handful of IDL files.

Any modern browser should be able to have a pluggable protocol handler written in C++ (or at least something other than JavaScript)

Also the mozilla documentation is a bit of a joke.

Looks like I can do it under javascript – and hand off the binary stuff to a plugin – so we have a viable solution.

I will continue the C++ route for one more night – I’m hacking away at a C++ project file that builds me what I’m missing from gecko-sdk

I’m starting to miss the parser… want to get back to it soon. Wading through other people’s code and trying to get two interfaces to talk to each other but failing because I don’t know the secret undocumented massonic handshake is not my idea of fun.

This is why I prefer to write my own code from scratch – in some cases it takes just as long – and I learn something. if it does take longer At least you feel like you are achieving something and not hunting google for some scrap, anything that will make up for the lack of good docs – and I still learn something.

Research Notes

http://www.mozilla.org/projects/netlib/new-handler.html

http://archangel.mozdev.org/new-protocol.html

How to do it in JavaScript – yes but C++? No!

http://nexgenmedia.net/docs/protocol/

Promissing

http://www.mail-archive.com/mozilla-netlib@mozilla.org/msg02239.html

Not Perfectly Accurate Diagram

Mozilla Internals

http://mb.eschew.org/16.php

Looks like I can do it under javascript – and hand off the binary stuff to a plugin – so we have a viable solution.

About James McParlane

CTO Massive Interactive. Ex Computer Whiz Kid - Now Grumpy Old Guru.
This entry was posted in C#, MetaWrap Server, Rants. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s