Embedding Mozilla in Mac OS X Cocoa Apps 49
JimCricket writes "Art & Logic has published a new article: Embedding Mozilla in Mac OS X Cocoa Apps . The author presents a detailed step-by-step guide for Mac OS X developers that want to use Mozilla within their applications."
Why not WebKit/KHTML? (Score:5, Insightful)
WebKit Docs [apple.com]
Re:Why not WebKit/KHTML? (Score:1)
Re:Why not WebKit/KHTML? (Score:4, Informative)
Re:the point is this... (Score:3, Insightful)
Huh? No, Gecko is over 1 million lines of code, more than 10 times the size of KHTML. Most of that is stuff like their own string and basic container classes. (Why do people feel compelled to write THEIR OWN fundamental library classes? It boggles.)
but just around the corner there are *hundreds* of other sites, already workin in gecko mind you,
Re:the point is this... (Score:5, Interesting)
Re:the point is this... (Score:2)
I mean yes, it could be a likely situation, considering how Apple boasts Safari's speed. But then again, it could also be just speculation...
Re:the point is this... (Score:1, Informative)
Re:the point is this... (Score:1)
Re:the point is this... (Score:2)
But - as to *hundreds* of sites with problems - I have ~60 bookmarks. 3 of them are rendered oddly in Safari compared with Moz/Camino. So hundreds doesn't seem that unreasonable.
Apple has made some nice contributions to KHTML - but there are still some problems when it comes to standards support that
Re:Why not WebKit/KHTML? (Score:1)
One would want cross-platform solutions (Score:3, Informative)
Explorer is the world-wide de facto standard right now; it's a bad browser with a lot of propritary drek in it, and much more coming down the line, including possibly a subscription service. Wh
Re:One would want cross-platform solutions (Score:3, Insightful)
Re:Why not WebKit/KHTML? (Score:2, Interesting)
Re:Why not WebKit/KHTML? (Score:2)
Web Core? (Score:1)
It seems that the basic use for this would be to simply provide app support for all the basic web standards, but what other uses could it have?
embed _Mozilla_, or Gecko? (Score:4, Insightful)
READ THE ARTICLE (Score:2, Informative)
Re:READ THE ARTICLE (Score:2)
Re:embed _Mozilla_, or Gecko? (Score:4, Insightful)
Re:embed _Mozilla_, or Gecko? (Score:2)
Re:embed _Mozilla_, or Gecko? (Score:5, Informative)
Or haven't you heard of JavaScriptCore? It's a part of WebCore [apple.com].
Re:embed _Mozilla_, or Gecko? (Score:1, Offtopic)
Re:embed _Mozilla_, or Gecko? (Score:2, Insightful)
I use Safari all day every day, including for online banking and plenty of ecommerce, and I don't have any consistent problems.
Furthermore, using the CocoaDev One Line Browser [cocoadevcentral.com], I was able to login to my bank site and view my pending bill payments (https) as well as login to a site which uses HTTP basic auth without writing a single line of extra code.
What are these problems you
Re:embed _Mozilla_, or Gecko? (Score:2)
Re:embed _Mozilla_, or Gecko? (Score:2)
Why? Beats me. But it's true. With Safari 1.0.
Re:embed _Mozilla_, or Gecko? (Score:2, Insightful)
In your case, do you have the security preference "accept cookies" set to "only from sites you navigate to"? I've found that that setting doesn't play well with single-sign-on type systems where you (sometimes invisibly) bounce around from the initial server you visit to an auth server and back.
Then again, I have also found that Safari has some problem with regular cookies set by the SnipSnap [snipsnap.org] blog/wiki application (ultimately set b
Re:embed _Mozilla_, or Gecko? (Score:1)
Why yes, yes I do. I'll have to give you suggestion a try. Thanks!
Re:embed _Mozilla_, or Gecko? (Score:5, Interesting)
Why? (Score:1)
Ummm... (Score:1)
Re:Ummm... (Score:1)
Silly unless you want to make your own browser.. (Score:5, Insightful)
However, Apple has the edge here with WebCore, you can now make a generic web browser without a single line of C/C++/ObjC code. Using only project builder, Interface Builder and WebCore, you can create a custom browser. It won't have many options, but it's quick and easy. Takes like 10 minutes to get working if you have all the tools installed.
Vaguely related note: Embedding SDL in Cocoa Apps (Score:3, Informative)
"Mac OS X Cocoa Integration Patch and Sample Code"
http://www.libsdl.org/pipermail/sdl/2003-July/0
In theory, with this in place I believe it should also be possible to embed SDL in Mac OS X wxWindows apps, once the 'GetHandle' functionality is implemented there.
Camino (Score:3, Insightful)
Yet Another Person who didn't read the article (Score:1)