Why doesn't this post appear in http://groups.google.com/group/mozilla.dev.embedding/topics ?
-----Original Message----- From: JC Francois [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2008 9:29 AM To: Jonathan Carse Cc: [email protected] Subject: Re: Newbie questions I support this request. For a while I have been trying to understand what it means to "use XULRunner to embed a browser into my app" but I do not have enough free time available to experiment until I eventually find out how it works by trial and error. It would be great if someone could point to or provide a simple set of steps to embed a basic browser. With some documentation I can probably manage from that point on. Thanks, ~/jc [EMAIL PROTECTED] wrote: > Hi, > > Sorry for posting newbie questions, but after spending a day going > through the documentation and not being able to tie everything > together, I need some help. > As I'm new I will be able to improve the documentation so anyone new > in the future will not have to go through this themselves... > > I am trying to embed a web-browser in my application. Very simple. > > My questions: > > 1) > The page at (https://developer.mozilla.org/en/ > Gecko_Embedding_Basics#Getting_the_Code) says I should download the > whole Mozilla tree. As I only need the latest stable version, I need > an archive of it, and not work with a version-control system. > Where do I get the latest stable version of the entire Mozilla tree? > This sounds a little funny to me, but that is what the guide says. > The page at (https://developer.mozilla.org/en/Mozilla_Source_Code_(HTTP > %2f%2fFTP)#Releases) specifically mentions the fact that it's not > possible to download the whole tree in a single archive. > What do I do? > > 2) > Still in the same page, it says that after I get the entire tree, I > should build using the provided appropriate makefile. > What is the appropriate makefile? The makefile in Firefox, since I > want to embed a firefox browser? > And how do I build using it? > > 3) > Assuming I am using the Firefox build, and after reading some more, I > ended up with the following .mozconfig in my c:\mozilla\src: > > mk_add_options [EMAIL PROTECTED]@/../[EMAIL PROTECTED]@ > ac_add_options --enable-application=browser > ac_add_options --disable-vista-sdk-requirements > mk_add_options MOZ_CO_PROJECT=browser > > I had to disable vista SDK requirements because even though I followed > the instructions and installed the Windows Vista SDK, I still get the > error in (https://developer.mozilla.org/en/wpcapi.h). > Anyone know how to fix this? > > 4) > I finished building the Firefox release, and now I have under /c/ > mozilla/obj-i686-pc-mingw32/browser/app in the cygwin (is that cygwin? > looks familiar to me) shell, the firefox.exe file. > Is that good? > What do I do now? > > 5) > The page in (https://developer.mozilla.org/en/Roll_your_own_browser_- > _An_embedding_HowTo) warns that I should use XULRunner to embed my > browser. > I do not need to create a XUL application, I just need an embedded web > browser, and besides specifying something about libxul and > XRE_InitEmbedding, the documentation doesn't really help here. > > Documentation seems scattered and at places out-of-date. > > I am anxious to use a Firefox browser in my application because it is > faster than IE and has a better future Javascript-wise, so I see in > the press. > > Please provide a little help to a beginner. > > Thanks > _______________________________________________ > dev-embedding mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-embedding > ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ ************************************************************************************ This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. ************************************************************************************ _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
