Hi All (and hopefully bsemdberg),
I have been attempting on and off for (many) weeks to build & integrate
the gecko/xul rendering engine into an app I am writing. I have been
through all the doc I can find on mozilla.org, looked at all the
embedding examples in 'mozilla/embedding/tests/', googled til I nearly
dropped, and am, quite frankly, stumped as to how to proceed.
I'm hoping someone can help
- Building on Linux 2.6.18-gentoo-r6
- Mozilla src checked out of CVS HEAD Apr 14
- Built using .mozconfig with ". $topsrcdir/browser/config/mozconfig" &&
"ac_add_options --enable-debug" only
- Created embedding dist with "cd obj../embedding/config && make"
- Linking my app with standalone glue
One issue was no 'nsIBaseWindow.idl' or 'nsIDocShellTreeItem.idl' in
'sdk/idl', so I added it manually, ran xpidl on it and got header files.
App links, loads, and succeeds to initialise, but I get the follwoing
errors on stderr:
Couldn't convert chrome URL:
----
chrome://global/locale/layout/xmlparser.properties
-1233578320[826d070]: WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed:
file /home/goughy/devel/mozilla/parser/htmlparser/src/nsExpatDriver.cpp,
line 812
Couldn't convert chrome URL:
chrome://navigator/locale/navigator.properties
Couldn't convert chrome URL:
chrome://navigator-platform/locale/navigator.properties
Couldn't convert chrome URL: chrome://global/locale/css.properties
Couldn't convert chrome URL: chrome://global/content/xul.css
-1233578320[826d070]: WARNING: window not set for document!:
file /home/goughy/devel/mozilla/layout/base/nsDocumentViewer.cpp, line
1129
WARNING: window not set for document!:
file /home/goughy/devel/mozilla/layout/base/nsDocumentViewer.cpp, line
1129
<snip>
When I list the contents of 'embed.jar', I find that
'xmlparser.properties' actually has the path
'locale/en-US/global/layout/xmlparser.properties'
so I added pref("general.useragent.locale", "en-US"); to
default/pref/xx.js, but to no avail.
Is this just a deployment config problem, an embedding SDK problem
(embed.jar is just wrong?), or my coding problem?
Any help greatly appreciated :-)
Goughy
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding