Focus managing in the chrome

2012-02-29 Thread philippe
NextElement (returns NS_ERROR_NOT_IMPLEMENTED) - FocusPrevElement (returns NS_ERROR_NOT_IMPLEMENTED). If someone has sample of how to use it with such a version Thank's for your help philippe ___ dev-embedding mailing list dev-embedding@lists.m

Status code problem

2011-12-20 Thread philippe
ot;,line,mStatus); LOG(("mal-formed response status line; assuming statusText = 'OK'\n")); mStatusText.AssignLiteral("OK"); } else mStatusText = ++line; } the line is considered anyway a

Re: nsIDOMWindow->GetContentDOMWindow problem

2011-12-20 Thread philippe
); myHtmlDoc = do_QueryInterface(myDomDoc); After I can go through the DOM and the HTML. Thank's for your help here is where I got the information http://doxygen.db48x.net/mozilla-full/html/d6/d13/interfacensIDocShellTreeItem.html (All the classes). philippe

Re: nsIDOMWindow->GetContentDOMWindow problem

2011-12-06 Thread philippe
On 5 déc, 15:13, philippe wrote: > I use gecko 1.9.2.23 > > I have an error when I use the GetContentDomWindow on a > nsIWebBrowserObject > > What I do before is: > > I create a browser into a window. I navigate on a page using loadURI. > The page is OK > > I trap

nsIDOMWindow->GetContentDOMWindow problem

2011-12-05 Thread philippe
ith y code. Do you have some sample ? THank's a lot for your responses philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

script problem

2011-12-02 Thread philippe
doxygen.db48x.net/mozilla-full/html/index.html, but it's very deep Thank's a lot for your responses philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

Re: Firefox 3.6 , mozilla 1.9.2.23 embedded sample

2011-12-01 Thread philippe
On 1 déc, 14:13, philippe wrote: > Hello > > I built a browser wih gecko 1.8 using MOZILLA_INTERNALS.. It worked > fine. I could navigate, call external C functions through javascript, > inhject javascript, redirect on pages, extract HTML code > > Right now, I try to

Firefox 3.6 , mozilla 1.9.2.23 embedded sample

2011-12-01 Thread philippe
Hello I built a browser wih gecko 1.8 using MOZILLA_INTERNALS.. It worked fine. I could navigate, call external C functions through javascript, inhject javascript, redirect on pages, extract HTML code Right now, I try to embed gecko 1.9.2.23 (Firefox 3.6), but It's a great pain. I starte

nsString

2011-11-28 Thread philippe
l' to 'const nsACString &' ___ Is there a doc about such conversions in 1.9.2. Could you help me ? Thank's philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

Re: Link problem with gecko 1.9.2

2011-11-18 Thread philippe
ied... > > >> once name mangling process is applied we get: > > >> ??RnsCreateInstanceByContractID@@UBEIABUnsID@@PAPAX@Z > >> ??RnsCreateInstanceByContractID@@UBIIABUnsID@@PAPAX@Z > > >> The cause is simple. In xpcom\base\nscore.h we have: > > >> #elif

Link problem with gecko 1.9.2

2011-11-18 Thread philippe
Hello I have already built a gecko based browser, but with gecko 1.8.. It worked well. Now I need to work with HTML 5. So I need to built my application with gecko 1.9.2.23. I used mozmfc project to see what to do.. It worked except the input. I tried with my application. I solved a lot of proble

gecko mozilla 1.8 host name resolution

2009-10-26 Thread philippe
y with the next otherwise return the socket. If it exists, is it the same implementation... I looked into netwerk, nsSocket , nsSocketTransportService, nsSocketProviderService... But I didn't fail anything regarding round robin. Could someone help me tha

problem with nsIWebNAvigation->GetDocument

2009-08-06 Thread philippe
or. has anyOne an idea to correct this problem, and why I get it?? I know that unexpected means "you cannot expect", but sometimes things are corrected. thank's philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org htt

XmlHttpREquest

2009-07-02 Thread philippe
e text got from the URL. But I have no trace about the call to the URL , no trace from onStateCHange or from onLocationCHange I saw that there is an interface nsIXmlHttpREquest. Have I to use it ? Do you have samples thank's a lot philippe ___ dev-em

How to call the embedding application from the embedded Javascript ?

2008-11-18 Thread Philippe Torrelli
the xpt to the directory. Is there another way ? TIA Philippe -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] lla.org] De la part de Steve Lu Envoyé : jeudi 6 novembre 2008 14:42 À : Philippe Torrelli Cc : dev-embedding@lists.mozilla.org Objet : Re: How to call the e

RE: disable d&d ?

2008-11-17 Thread Philippe Torrelli
Replying to myself in case it's of interest for someone else. Still haven't found how to refuse drag and drop of files on my embedded browser.. However, the code below isn't without effect as it prevents cut and paste to work in the browser. Philippe -Message d'orig

How to call the embedding application from the embedded Javascript ?

2008-11-06 Thread Philippe Torrelli
? Any hint appreciated TIA Philippe Torrelli ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

disable d&d ?

2008-11-04 Thread Philippe Torrelli
bBrowserChrome, nsIWebBrowserChrome, nsIInterfaceRequestor, nsIEmbeddingSiteWindow, nsIClipboardDragDropHooks, nsIWebProgressListener, nsISupportsWeakReference ) At execution, the interface is never requested, and its methods never called. Any hint appreciated . TIA. Philippe.

a new guy again ... and questions :)

2008-10-29 Thread Philippe Torrelli
#x27;m not sure ... Is it the right path to go ? I would also like to retrieve authentication information from one of my windows and inject it into the http request, or set cookie values,.. but couldn't find a way ( yet ) to do that in the embed

flickering

2008-04-23 Thread philippe
. I found some interfaces and API's like nsDOMEventListener and nsIDOMEventTarget , but I don't know how all is jointed Could you please help me, with a sample if possible. And with doc if there is one ... Thak's very much for your responses philippe _

How to be informed that all elements of a page were loaded

2008-04-09 Thread Arne, Philippe
ded in the page (images, flash). No request pending, even if a request failed. How can I do that Thank's a lot for your responses philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

When a page is completly loaded

2008-04-09 Thread philippe
know is to be informed that no request are pending regarding the main url. Is it possible ? Thank's for your responses philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

gecko's formation

2007-11-22 Thread philippe
ledge regarding gecko. Is there a detailed documentation or tutorial about gecko and gecko's internals. (Even to be payed for). Is there a formation or consulting process from mozilla , to help us. Who have I to contact ? thanks philippe thanks

Re: How to get html's original source code

2007-11-22 Thread philippe
On 21 nov, 17:42, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > philippe wrote: > > I want to get the original code of the page (like this one, not with > > the script executed). > > You can't get it after the page has loaded, in general. > > You can get the byte

How to get html's original source code

2007-11-21 Thread philippe
;); | |TEST| | | | | |__ | how can I get the original page ? Thanks a lot for your responses philippe ___ de

How do I know that a jpeg, a .js associated with a page could'nt be loaded

2007-11-15 Thread philippe
ave been done. How it woks with .js files assciated with a page and .css etc Thanks for your responses philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

probem with cache

2007-08-30 Thread philippe
Hi I've got a cache problem with gecko , seaMonkey 1.1.1 and 1.1.4 and firefox 2.0.0.6. I do not have the problem with Mozilla 1.7.7 and with IE I created three pages containing the same image (jpg) the first page is loaded using a loadURI the second page is loaded via a script execution doing

Re: problem executing javascript from mfcembed

2006-12-19 Thread philippe
eturnValue; nsresult rv = theScriptContext->EvaluateString(NS_LITERAL_STRING("bob('http://www.yahoo.fr');"), nsnull,thePrincipal, "", 1, nsnull, (nsAString &)theReturnValue, &IsUndefined); philippe who is so alone philippe wrote: > Hello > > I

problem executing javascript from mfcembed

2006-12-07 Thread philippe
uintN lineno=0; JSBool ok=JS_EvaluateScript(theJSContext,theGlobalJSObject,script_PA,strlen(script_PA),"script",lineno,&reval); } ok is always false and nothing appends. Do you have , already executed a script into an existing context?

call embedder from Javascript

2006-10-16 Thread philippe
do I do, and have you samples. Thank's for your responses and help philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

I want to call a class or a function implemented into my embedder's code from javascript init a page loaded by this embedder.

2006-10-12 Thread philippe
the embedder (JS_NewRunTime) - 2 create a new context into the embedder (JS_NewContext) - 3 Declare my class JSCustomer using JS_InitClass Am I right, or did I understand nothing at all... Did someone of you do what I want to do, and do you have some

call embedder's C++ method from js

2006-09-28 Thread philippe
I have embedded gecko into a C++ app. I want to call a C++ embedder's method from java script. (Under windows) I could do that with ie using window.external and IDocHostUIHandler. But I cannot find how to have the same functionnality with mozilla and embedded gecko. HOWTO: Access Methods/Properti

make calls into the hosting application from javascript

2006-09-28 Thread philippe
I need to make calls into the gecko's embedder application from javascript into a page. I'm under windows XP with embedded mozilla With ie you could do that using the interface IDocHostUIHandler. Do you no how to get the same functionnality with an embedded mozilla thank's a lot for your respon

Re: How to embed

2006-09-22 Thread philippe
Nik thank's a lot for your proposal. I'll probably use it. philippe ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

mfcemebed/components compilation error

2006-09-22 Thread philippe
I get an error on the make under mfcemebed/components. I'd no problems to compile mfcembed.exe I use VC98 and have cygwin and moztools the error I get is PrintingPromptService.cpp C:\PROGRA~1\MICROS~3\VC98\INCLUDE\excpt.h(36) : error C2144: syntax error : miss ing ';' before type 'int' C:\PROG

How to embed

2006-09-22 Thread philippe
Hello I built mfcemebed, and look at it to see how it works. My purpose is: I'm on an automaton. There is no direct interact with the customer , no touch screen, an a minimal keyboard with just a keypad and some functions keys (it's quite like an ATM, but for trains), because of specials devices

loadURI error

2006-09-18 Thread philippe
I want to catch a loadUri Error. In the mfcEmebed for example, a dialogBox is displayed when you set a bad adress. " could not be found.." I want to catch those errors, and manage them by myself. How can I do that thank's a lot for your help _

mozilla's profiles

2006-09-15 Thread philippe
Is there a tutorial or a doc focusing on mozilla's profiles. (for developpers). thank's ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

Re: mfcembed vc6 question

2006-09-15 Thread philippe
I found the problem. It was with urls.txt. ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

mfcembed vc6 question

2006-09-13 Thread philippe
I try to build winembed from mozilla 1.7.13. I create a MFC Appwizard / Single document (Document/view architecture support)/including a container/(Docking toolbar ,initial status bar, printing and print preview , 3D controls)/MFC standard , MFC library shared dll) Then : - I replace all the sourc