Re: nsIURI and string encodings
Christian Biesinger wrote: Hm... darin: isn't nsEmbedString replaced by other string classes (nsString) on trunk? Yes, but nsEmbedString is still supported. More importantly, the nsString provided by the Gecko SDK is not exactly the same as the nsString provided internally to the Mozilla codebase. This is actually better than doing the string conversion/comparison myself, as when the URI is built, it appears to replace 'space' with %20 so my comparison was failing (I was using system libraries on mac to convert from UTF-8 to UTF-16 and then compare. Of course I'd rather use the platform-independent solution). Ah, yes. There's also another question: Are http://foo:80/ and http://foo/ equal? Since it's the default port, they really are. I think the nsIURI functions handle this. Yes, when you generate a nsIURI from a URI string, the result is canonicalized. In other words, we fixup the default port, lowercase the hostname (or handle IDN), convert to the "origin charset" if necessary, and apply escaping rules, etc. One thing we do not do is unescape anything. So, "http://foo/%41"; is not treated as equal to "http://foo/A";. In practice, this hasn't been much of an issue since web servers treat them equally. It's possible that we might want to unescape anything that doesn't need to be escaped as part of our canonicalization process. -Darin ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding
Re: How to determine is every frame loaded?
Mikkel Blanné wrote: Most of it is pretty good, but I think the STATE_IS_WINDOW is still a bit unclear to me when I'm trying to relate it to the document and network states. Exactly what would it be useful for? Nothing. We couldn't quite remove it because too many people were depending on the interface as it was. So we settled for documenting what the behavior is. -Boris ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding
Re: How to determine is every frame loaded?
Boris Zbarsky wrote: Which parts could use better documentation? We'd be perfectly happy to make the documentation clearer as needed. Most of it is pretty good, but I think the STATE_IS_WINDOW is still a bit unclear to me when I'm trying to relate it to the document and network states. Exactly what would it be useful for? But then again - maybe it's just me... /Mikkel ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding
Re: How to determine is every frame loaded?
Mikkel Blanné wrote: I can see now that nsIWebProgressListener.idl has been updated with a substantial amount of documentation since the 1.7 release, which is what I'm still working on. Thanks for that! It was rather difficult to guess which states meant what in connection with other states... There's still room for improvement in the user friendlyness department though :) Yeah, we actually wrote some docs for it when we froze it... ;) Which parts could use better documentation? We'd be perfectly happy to make the documentation clearer as needed. -Boris ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding
Re: How to determine is every frame loaded?
Boris Zbarsky wrote: Mikkel Blanné wrote: You just have to check in OnStateChange, whether the nsIDOMWindow that finished loading is the top nsIDOMWindow! That actually doesn't work right, for cases when a subframe is being navigated in after the page has finished loading. That explains why it's working for me, because I never need to navigate subframes in my application :) The thing to look for is a STATE_STOP with STATE_IS_NETWORK set. Per the documentation on nsIWebProgressListener, this should be what you want in this case. I did try that once, and it worked. I just thought STATE_IS_NETWORK sounded a bit wrong for what I needed. I can see now that nsIWebProgressListener.idl has been updated with a substantial amount of documentation since the 1.7 release, which is what I'm still working on. Thanks for that! It was rather difficult to guess which states meant what in connection with other states... There's still room for improvement in the user friendlyness department though :) /Mikkel ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding
need a startpoint for embedding Gecko
Hi, I would like to create an embedded XUL application. It won't be a browser, but it will use gecko to render the GUI. I downloaded & compiled mozilla sources some time ago, an started to look at the mfcEmbed application, but this wasn't a real vc6 project, I was unable to compile or debug it using vc6, I was just able to compile it from the command line. Now, maybe there is something more usefull around ? If someone can provide links, code snipets or something, like a basic embedded project with a simple "hello world", it would help me a lot ! Julien ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding
I can't see scrollbars
I've compiled the mozilla with the following .mozconfig. When using it the TestGtkEmbed scrollbars are not showed! What I have to do? I've tryied to take out the disable-xul line and insere the enable-libxul, but I got an error! (can't find ../../dist/lib/components/libfileview.a') # use GTK+-2 widget set with XFT font rendering ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-xft ac_add_options --disable-freetype2 # disable XUL support to reduce codesize # ac_add_options --disable-xul ac_add_options --enable-libxul # enable minimal profile support ac_add_options --disable-profilesharing ac_add_options --disable-profilelocking ac_add_options --enable-single-profile # disable features and skip various build steps ac_add_options --disable-extensions ac_add_options --disable-accessibility ac_add_options --disable-composer ac_add_options --enable-plaintext-editor-only ac_add_options --disable-mailnews ac_add_options --disable-ldap ac_add_options --disable-postscript ac_add_options --disable-mathml ac_add_options --disable-jsd ac_add_options --disable-jsloader ac_add_options --disable-installer ac_add_options --disable-xpinstall ac_add_options --disable-xpfe-components ac_add_options --disable-xprint ac_add_options --disable-necko-disk-cache # configure necko to allocate smaller network buffers ac_add_options --enable-necko-small-buffers # disable debug logging and tests ac_add_options --disable-logging ac_add_options --disable-tests # build crypto module (PSM + NSS) ac_add_options --enable-crypto # build minimal set of protocol handlers ac_add_options --enable-necko-protocols=http,file,res,jar # build minimal set of image decoders ac_add_options --enable-image-decoders=png,gif,jpeg # code generation options (optimize for size) # ac_add_options --enable-optimize=-Os # ac_add_options --enable-strip # ac_add_options --disable-debug ac_add_options --enable-reorder ac_add_options --enable-elf-dynstr-gc # enable static build ac_add_options --disable-shared ac_add_options --enable-static # remove link dependency on libstdc++.so LIBS=-lsupc++ CXX=gcc ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding
E monografia Administração E
O site Monografia express auxilia estudantes e profissionais na preparação de suas pesquisas. Temos uma equipe preparada para o desenvolvimento de monografias e projetos de monografia para a conclusão de cursos de graduação, pós-graduação e especialização. Também desenvolvemos a formatação de monografias de acordo com as normas da ABNT (Associação Brasileira de Normas Técnicas) ou conforme as regras de sua Faculdade/Universidade. Os serviços são desenvolvidos por profissionais altamente capacitados, ou seja, pessoas preparadas especialmente para este tipo de serviço e que realizam o trabalho de acordo com as normas da ABNT e da Metodologia do Trabalho Científico. monografia administração direito turismo economia letras pedagogia monografias teses tese. Sua monografia a partir de 350,00 http://monografiaex.t35.com/index1.html http://monografiaex.vilabol.uol.com.br ___ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding