Apple Proposes Scrapping Safari Open Source Code for its Own, Report Says
Apple Proposes Scrapping Safari Open Source Code for its Own, Report Says
by , 7:30 AM EDT, May 12th, 2005
Two years after introducing its Safari Web browser, Apple Computer has proposed dumping the open-source rendering engine KHTML in favor of its own proprietary language, a published report said Thursday.
The report by CNET News.com says Apple has openly discussed abandoning the KHTML code base, or "tree," in favor of Apple's version, called WebCore.
In an e-mail dated May 5, Apple engineer Maciej Stachowiak admitted the company would be willing to port WebCore to work with the K Desktop Environment, which is an interface for Linux and Unix operating systems.
"One thing you may want to consider eventually is back-porting (WebCore) to work on top of (KDE), and merging your changes into that," he wrote. "I think the Apple trees have seen a lot more change since the two trees diverged, although both have useful changes. We'd be open to making our tree multi-platform."
WebCore is a framework for Mac OS X that takes the cross-platform KHTML library (part of the KDE project) and combines it with an adapter library specific to WebCore called KWQ that makes it work with Mac OS X technologies.
The suggestion, which KHTML developers have said they would likely not be in favor of, comes as Apple tries to fill cracks in the relationship with the open-source community who have accused Apple of one the one hand publicly embracing open-source code, but demand the community follow its rules.
KDE developers have been suggesting to Apple for some time that there should be a compromise between Apple and volunteer coders. It appears the e-mail from Mr. Stachowiak is suggesting Apple is willing to consider options.
"Business is constrained in ways that open source prides itself on not being constrained," said George Staikos, a software consultant, KDE developer and spokesman for the open-source group told CNET News.com. "There have been problems all along in the sense that Apple had their own internal issues to deal with (that) did not mesh well with the model used by KDE to develop KHTML, and it resulted in KHTML and (Safari) quickly diverging. This problem compounded over time."
Open-source developers have complained as of late that Apple took a less than professional attitude at fixing bugs and writing patches than what many are used to.
"In open source, everything's supposed to be done the right way, but sometimes the less correct way is faster," said KDE developer Zack Rusin. "In fixing one problem, they were breaking a whole bunch of other things. Apple developers were focused on fixing bugs in such a way that we could not merge them back into KHTML. Those fixes were never an option for us."
Observer Comments
Thu May 12, 2005 9:10 am Subject: More about KHTML and WebCore
One of the interesting back-and-forths about this releationship between Apple and KHTML's dev team can be found at Dave Hyatt's "Surfin' Safari" blog.
Dave Hyatt recently took on the Web Standards Project Acid2 test, and within 2 weeks managed to make Safari/WebCore fully standards compliant in regards to the test. Unfortunately, folks not in the know about development thought this would mean an instant patch to KHTML, and started voicing resentment at the KHTML developers for being so slow in implementing WebCore's changes.
The KHTML devs penned a rather angry notice towards those folks, letting them know just how little of the WebCore patches they could actually use when porting those changes back into KHTML. Part of the problem is that Apple isn't "playing well with others" in releasing it's patches in a timely and organized manner,but also because WebCore links to an adaptor library and to MacOS GUI hooks for certain effects, things that the KHTML team have to rewrite from scratch.
I hope Apple manages to work this out. Apple has benefitted well by Open Source technologies, and it would be a loss to both the community, and future development at Apple, if they don't reciprocate in a way that benefits the community as the community benefits Apple.
Oh please. You people obviously don't know too many software developers. I can gurantee Apple is just getting fed up with the whiney open source guys.
"Wah, wah Apple made a fix that we don't deem suitable for merging into our codebase!"
Ok so be happy that you're at least aware of the bug and go come up with your own fix. It sounds like enough process wasn't documented ahead of time to define how these types of situaitons would work. Most likely because Apple didn't have to. The KHTML guys probably didn't care since they probably aren't used to bothering with all the constricting formalities of proper engineering process.
Without Apple, KHTML has nothing. So hopefully they can suck it up and work with Apple to develop a system that allows corporate and open source teams to work together. Maybe Apple can spring to send them all to a nice Business 101 class.
Thu May 12, 2005 10:12 am Subject: Two different worlds
Apple and the open source guys live in two different world. Open source volunteer programmers can take all the time they want in fixing a problem where Apple has commercial users that want the fix ASAP. Apple is also going to do a lot of work integrating Safari into OS X that will be of little or no value to the open source group. No big deal as the open source community is not forced to use anything Apple gives them. This is just the difference between volunteer efforts and running a business.
Thu May 12, 2005 10:48 am Subject: Webcore vs. KHTML
Oh I'm sorry what's this story about again? Apple pondering ditching KHTML for something else? Oh so then lets see.. we have KHTML off on its own getting crushed by Firefox and Apple going on it's merry way.
The KHTML people were oh so happy when Apple "took their work". Suddenly KHTML had a major player behind it. But of course they didn't stop to think about what it meant. They just want everything their way. No compromising on the fact that this major player is a corporation and has certain rules they are constrained by.
Another part of the article I really liked was when some of the open source guys were upset they had to sign NDAs to look at Apple code. DER!!! These are the kind of people Apple has to deal with?! Good lord!
"Huh? Isn't that backwards? I believe you mean, 'without KHTML, Apple has no Safari.' Let's not forget who took what from whom. I, too, would be a tad annoyed if someone took my work, hijacked it, and profited from it. Oh yeah, that's Business 101."
Please allow me to then to quietly laugh at you for letting someone else make a profit off your product, rather then you yourself making a profit off it.
Really, it's as simple as that. Your "payment" if you are in Open Source is the knowledge that other people are benifitting from your ideas- that your solution is helping people. WHO benifits, and WHAT it helps them do is not something you can control, and you know that up front before you even contribute.
So why wouldn't you be HAPPY about that,
It's no wonder Apple is moving away from the Open Source community. Half the time all they are dealing with is a bunch of whiny bitches. On one hand you want to be all altrusitic and give your stuff away, and on the other you get upset when a company uses its financial resources to improve upon your idea and distribute it to more of the world. But think a moment- isn't your purpose to bring people value? If you get some big player like Apple, who takes your solution and runs with it, in actually MUCH MORE people will benifit from your solution then if it sat there on your computer doing nothing. Wouldn't you gain more satisfaction seeing MORE people benfiting from your stuff then less? Rather then spoutting off some crap like "waaah, waaah, they stole my idea!", you might consider the fact that you yourself learned from other people in your life, and that other people will learn from what you contribute. A cycle that brings more good things into the world, instead of less.
It's not some company's fault that you don't value your own stuff well enough to charge money for it.
Thu May 12, 2005 4:06 pm Subject: WebCore to OpenSource?
You know from reading this thread & putting it together with my knowledge, Apple could do something to REALLY put Linux in a good competitive spot against Microsquish, and STILL leave itself in a good competitive spot:
Open up WebCore to Open Source. That way Linux would get the better browsing experience, giving it a good leap forward in usability & rendering... making it that much more usable in enterprise & home environments.
(Yes Yes I know a lot of WebCore is MacOS Specific... Open up some of that too... just enough to make WebCore Mac AND OpenSource the best browsing experience.)
Just my 2Ñž
John Boyarsky
RSMS ISS Guy, Tutor & Dirt Burner
Fairbanks, AK
"WebCore is a framework for Mac OS X that takes the cross-platform KHTML library (part of the KDE project) and combines it with an adapter library specific to WebCore called KWQ that makes it work with Mac OS X technologies."
Uh... so an OS X-specific version of KHTML should be open sourced? Did I miss something? Is Apple going to open source the rest of their UI to go along with Darwin? I didn't see that press release.
Thu May 12, 2005 5:23 pm Subject: Lead-in is misleading or at least incomplete
Perhaps C|net is at fault here, but I think the TMO version could have corrected the misconceptions. The real story here is that KHTML and WebCore (Apple's version) have diverged to the point of a de facto fork, creating animosity that is pushing things closer to an official fork. It doesn't sound like the fault is 100% Apple's -- the KDE people have rejected at least some of Apple's patches, for reasons they believe to be valid, and Apple hasn't seen fit to remove those patches from their tree.
At the same time, there appears to be some effort to resolve the differences between KHTML and WebCore. Naturally, Apple is going to start with "why don't you ditch KHTML and replace it with WebCore?" That's Negotiation 101. Apple's engineers almost certainly didn't expect the KDE folks to take that offer. Whether they actually resolve their differences, or what form some resolution might take, remains to be seen.
Fri May 13, 2005 9:47 am Subject: Why automatically assume that the "little guy" is
"One thing you may want to consider eventually is back-porting (WebCore) to work on top of (KDE), and merging your changes into that," he wrote. "I think the Apple trees have seen a lot more change since the two trees diverged, although both have useful changes. We'd be open to making our tree multi-platform."
This statement is "conveniently omitted" by the Apple bashers, when it makes things clear that Apple is sticking to its part of the license, it clearly and ambiguously says "We'd be open to making our tree multi-platform", which is a major undertaking on its part. The ball is now in the camp of the KDE people. Instead of whining, they only have to make a decision: join Apple developers and keep improving their code, or let Apple ride on its fork. When they rejected Apple's patches, they may have had good reason to do so, but Apple had never promised to drop them in case of disagreement … they were still free to use them in their own work, and this is where the fork appeared. Now, we hear about the ones bitching, but an interesting questions is : is it unanimous, or is it a vocal minority ? Obviously, it'll be hard to find out …
Despite using a significant amount of open source software in their products, Apple is not now, nor has it ever been, an open source company. Apple does what it needs to do to win in the market against Windows and Linux. If the KHTML guys don't like it, they should not have licensed their code in such a way as to allow Apple to use it. Apple owes these people NOTHING, and that is as it should be.
Comments are currently closed. Please email the author instead.
Recent Headlines - Updated November 8th
- Sat, 7:58 PM
- News - Apple TV 3.0.1 Update Fixes Missing Content Bug
- Fri, 7:45 PM
- Rumor - Taiwan Leak Shows Verizon UTMS/CDMA iPhone for Q3 2010
- 6:40 PM
- News - iPhone Moves Into RadioShack
- 6:30 PM
- News - Apple to Open Stunning Paris Apple Store in Le Louvre on Saturday
- 5:43 PM
- Free on iTunes - Dictionary, Dictionary, Dictionary, And More
- 4:09 PM
- John Martellaro's Blog - Particle Debris (week ending 11/6) Failure IS an Option
- 3:32 PM
- Games - The Latest App Store Games: Gravity Sling, RocketBird, Ground Effect, Checkers!
- 2:25 PM
- Games - Star Soccer 2010 for Mac Puts Gamers in Role of Up-and-Coming Player
- 2:15 PM
- How-To - The Mysteries of Rosetta Housekeeping
- 1:33 PM
- News - iPhone Game Developer Sued for Collecting User’s Cell Numbers
- 1:17 PM
- Games - Warhammer Online Expands Trial Play Option
- 11:19 AM
- Rumor - Apple May Be Bringing RFID to the iPhone
The Mac Observer Reader Specials
- TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
RamJet Memory: Mac Pro 8-core 8GB Kit $199.99, 4GB Kits $109.99! Sale on MacBook and MacBook Pro 8GB kits $549.99! New MacBook DDR3 2GB for $49.99. iMac and Mac mini 4GB Kits for $79.99! 1TB SATA Hard Drives for $109.99! Click here
OWC: Mercury On-The-Go FW800+USB2 up to 1.0TB. Bus Powered, no external power supply needed. Macworld Editors Choice, CNET Very Good Starting from $99.97, 500GB $159.99. Click here
If you're using a Mac, then you've gotta check out Full Tilt Poker for Mac. This Full Tilt Poker bonus code does the unthinkable, it actually rewards!For the latest Apple products use Ciao, a price comparison website, to find laptops like MacBook Air. Then find the best prices on MP3 players and use our comparison tool to evaluate mobile phones like the Apple iPhone.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.

