Re: python xpcom fails to build with gran paradiso alpha 1
On 19 Dec 2006 22:55:54 -0800, Kannan <[EMAIL PROTECTED]> wrote: Hi, Has anyone built python xpcom with the gran paradiso alpha 1 code base? I am getting compile error with nsXPTCStubBase class. http://groups-beta.google.com/group/mozilla.dev.tech.xpcom/browse_thread/thread/5ba9ed18e37f2014/a44256c87e4c6e74#a44256c87e4c6e74 Nickolay ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
Re: Firefox ActiveX control and cookies
On Dec 18, 4:29 pm, "Allen" <[EMAIL PROTECTED]> wrote: > Are cookies not supported when embedding the ActiveX control in an > application, or do they use a different store than the normal one available > to the full-blown Firefox browser? I've been developing an application and > have noticed that when navigating to a page with the ActiveX control, > persistant cookies that are sent are not available to the standalone > browser. most people here don't work on or use the activex control, you'll get much better results by building mozilla w/ the activex control w/ --enable-debug --disable-optimize and then following the flow and checking on things. alternatively, if you're feeling lazy look into using filemon.exe to find out what gecko is thinking. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
Re: Lightweight embedding of Firefox Gecko into application whose top level is Python--possible?
On Dec 19, 7:20 am, Kenneth McDonald <[EMAIL PROTECTED]> wrote: > Sorry for crossposting to several lists, but from what I can tell, what > I want to do may involve several different areas of expertise. (None of > which I have :-( ) I don't see the cross post, but it's definitely a bad idea. > I'd like to use Gecko as the UI for an application mostly implemented in > Python. Ideally, I'd like to somehow come up with a Python module that > wraps the Gecko, so that I can: Look at OLPC, afaict they're doing most of the things you want, if not all of them. certainly their gecko did not feel heavy and started faster than any gecko I've ever used before. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
Get firefox default profile directory from non-extension
Hi, the following code, when called from Firefox extension, retrieves firefox profile directory location. nsresult rv = NS_InitXPCOM2(nsnull, nsnull, nsnull); if (NS_FAILED(rv)) return; nsCOMPtr fileLocator = do_GetService("@mozilla.org/file/directory_service;1", &rv); if (NS_FAILED(rv)) return; if (fileLocator) { nsCOMPtr dir; rv = fileLocator->Get("ProfD", NS_GET_IID(nsILocalFile), getter_AddRefs(dir)); if (NS_FAILED(rv)) return; // here of course fails if called from non-extension if (dir) { nsEmbedCString path; dir->GetNativePath(path); aDir = path.get(); } } However I am wondering how to get the same from a standalone application (not extenson). Why do I need it for? I am making an installer which would install my firefox extension from the command-line. OS: Windows XP. Firefox 2.0 ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
Re: Get firefox default profile directory from non-extension
On Dec 20, 4:06 pm, "Andrei Korostelev" <[EMAIL PROTECTED]> wrote: > Hi, > > the following code, when called from Firefox extension, retrieves > firefox profile directory location. > nsresult rv = NS_InitXPCOM2(nsnull, nsnull, nsnull); > if (NS_FAILED(rv)) return; > nsCOMPtr fileLocator = > do_GetService("@mozilla.org/file/directory_service;1", &rv); > if (NS_FAILED(rv)) return; > if (fileLocator) > { > nsCOMPtr dir; > rv = fileLocator->Get("ProfD", NS_GET_IID(nsILocalFile), > getter_AddRefs(dir)); > if (NS_FAILED(rv)) return; // here of course fails if called from > non-extension > if (dir) > { > nsEmbedCString path; > dir->GetNativePath(path); > aDir = path.get(); > } > > }However I am wondering how to get the same from a standalone > application (not extenson). > > Why do I need it for? I am making an installer which would install my > firefox extension from the command-line. > OS: Windows XP. Firefox 2.0 Answering to myself ;) Look into profiles.ini in %APPDATA%\Mozilla\Firefox. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
ActiveX control, firefox browser, and cookies..?
(pardon if this is a repost, first attempt went into 'moderator approval' and i haven't seen it, sent from wrong address) I recently posted a similar message to the usenet group but so far, no reply, and I haven't seen any other traffic on the group so I figured I'd try email. I've recently written a Win32 Delphi application (BDS 2006) that uses the MozillaBrowser ActiveX control to do some minor web stuff. One of the things it does is visits a login page (in PHP) that can put a cookie on the machine, so if the user stops using the program and goes to the page in their browser they will remain logged in. However it looks like embedded browser control and the full blown browser don't use the same cookie store. Is that the case? I can't seem to get cookies from one to be available to the other, in either direction. Thanks for any insight. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
Re: ActiveX control, firefox browser, and cookies..?
Allen wrote: > However it looks like embedded browser control and the full blown > browser don't use the same cookie store. Is that the case? I can't > seem to get cookies from one to be available to the other, in either > direction. Yes, that is the case. Cookies are stored in the "profile" directory, which can only be accessed by one process at a time. So it is basically impossible to share cookies between firefox and embedded apps at this time, because you run the serious risk of corrupting the cookie store altogether. --BDS ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
Fake window handle
Hi, I know this has been asked before lots of times, but I'm just not able to find a clear answer. I'm trying to create a server side html rendering engine similar to http://www.webrenderer.com/. All I found so far is http://groups.google.com/group/mozilla.dev.embedding/browse_thread/th... The problem is, I cannot use the swt/awt toolkits because the app is running server side so, the question is: How do I create a fake window handle to pass to the initWindow method? or Is there some sort of Java GUI emulator? ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding
Embedding Mozilla
Hi List! I would like to embed Mozilla along with my application. But before that I have few doubts. The purpose of embedding mozilla in my application are... I am rebuilding TCP/IP sessions over a network. So I will get the application layer data (HTTP,SMTP,POP3 etc). along with its headers Like (GET http://www.google.com ) etc. Of-course I can remove these headers and get the actual HTML,java script,Image files etc. My question is... can I load these files stored on the disk (later I plan to do, instead of storing the files on to disk, just convert it into streams) to the Mozilla browser embedded in my application? (can I load Text,HTML,Image, scrips( to run in the browser)) Regards, Lloyd. __ Scanned and protected by Email scanner ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding