MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
Nightingale Forums - I Need Someone Familiar with Gecko 1.9 to 2.0 Module Conversions

Nightingale Forums

Full Version: I Need Someone Familiar with Gecko 1.9 to 2.0 Module Conversions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I don't know the Mozilla SDK (yet), and my C++ is rusty. Please note I'm working with the current songbird svn trunk!

My git repo: https://github.com/ilikenwf/songbird-hacking

The problem is that to compile against native xulrunner on linux, we'll first need to convert songbird to build against the current version of xulrunner and gecko (6.0.2 and 2.0, respectively).

I've managed to build the songbird style linux-x86_64/i686 xulrunner and mozilla dependencies using the current 6.0.2 version of the source, but songbird can't build against them yet without errors. (If you want the makefiles, mozconfigs, and all for that let me know...I didn't actually build the i686 version but I know it will work).

The file in the songbird tree

components/moz/strings/components/src/sbStringsModule.cpp

is the first problem, and the first of many since the components all use the old xulrunner sdk.

Here are some docs:
https://developer.mozilla.org/en/XPCOM/X...components
https://developer.mozilla.org/En/Creatin...Components


I know that it says to just replace the include with the new header file, but that doesn't cut it due to other structural changes that I can't quite wrap my head around. It just currently replaces one compile error with another to change the header include.

Module examples - The first below is an example module from Gecko 1.9, the second is the current implementation in 2.0.
https://mxr.mozilla.org/mozilla/source/x....cpp?raw=1
https://mxr.mozilla.org/mozilla-central/....cpp?raw=1


I'd love it if some people would come along and help me develop this, I learn by example and I'm missing some needed examples here...