The Mac Observer

Skip navigational links

You're viewing an article in TMO's historic archive vault. Here, we've preserved the comments and how the site looked along with the article. Use this link to view the article on our current site:
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

Show: Subjects Only | Full Comments
Close Name:KitsuneStudios Posts: 2490 Joined: 25 Oct 2001
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.

Close Name:Guest
Subject: Open Standards

So much for Apple's support of open standards.

Close Name:Guest
Subject:

It's still better than Microsoft support of open standards.

"Damned with faint praise"

Close Name:Guest
Subject: Introducing...

Apple, the new Microsoft

Close Name:Guest
Subject: That's why...

...I hope that Microsoft will never be substituted for Apple! It doesn't matter who'll have the monopoly - it is bad either way. The important thing right now is that there is only two players who can do something about the near-monopoly - Apple and the open source community...

Close Name:Biff Posts: 1479 Joined: 08 Apr 2004
Subject:

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.

Close Name:kenaustus Posts: 602 Joined: 27 Jun 2003
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.

Close Name:Guest
Subject: "Without Apple, KHTML has nothing"

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.

Close Name:mike3k Posts: 61 Joined: 31 Dec 2001
Subject: Webcore vs. KHTML

The problem isn't that Apple isn't willing to help KHTML, but Webcore diverged so far from the original KHTML base that providing the enhancements would be a major effort.

Close Name:Biff Posts: 1479 Joined: 08 Apr 2004
Subject: Backwards?

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!

Close Name:Guest
Subject:

"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.

Close Name:Guest
Subject:

GPL means _ANYBODY_ can fork your code. Deal with it.

Close Name:Boyarsky Posts: 66 Joined: 03 Apr 2002
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

Close Name:Biff Posts: 1479 Joined: 08 Apr 2004
Subject:

"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.

Close Name:Dirt Road Posts: 1239 Joined: 24 Oct 2002
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.

Close Name:jacrav Posts: 268 Joined: 04 Jul 2001
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 …

Close Name:Guest
Subject: Apple is not an "open source" company

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.

Close Name:Guest
Subject: Apple owes them NOTHING

Apple is not a charity. It owes these guys nothing. If they cannot keep up with Apple's development, then they should leave the market.

Close Name:Guest
Subject:

Safari is an exercise in redundancy. Browser choice is about as important as "media choice". Why does apple need its own browser at all? To increase the development overhead of every web developer by rendering content differently than the other browsers

Comment on this Article


You cannot edit your comments.   You cannot delete your comments.

Comments are currently closed. Please email the author instead.


Recent Headlines - Updated July 6th

Mon, 5:50 PM
News - Counter-Rumor: Nvidia & Apple Doing “Just Fine”
5:28 PM
News - Arlington Police Release Video of Apple Store Shooter
4:40 PM
Deal Brothers - Apple Mac Pro 2.66GHz Intel Xeon Quad Core for $2,274.00 Delivered A/R
4:12 PM
Product News - Babylon Upgrade Adds New Translation Features to Mac Dictionary App
11:17 AM
Ted Landau's User Friendly View - Apple’s LED Cinema Display: A Too Short Story
11:11 AM
Product News - Photo Recovery for Mac Adds Photoshop Support
10:39 AM
Hot Forum Topic - iPhones in Education
8:47 AM
News - Apple Employee Injured in Store Shooting
Fri, 10:29 AM
News - Apple Warns of Learning Interchange Security Breach
7:30 AM
News - Happy Fourth of July!
Thu, 6:07 PM
TMO Scoop - Psystar Moves to Drop Bankruptcy Ahead of Apple Legal Battle
5:37 PM
News - Uncomfirmed Reports Say Apple & Nvidia On The Outs

The Mac Observer Reader Specials

  • __________
  • Buy Stuff, Support TMO!
  • Podcast: Mac Geek Gab
  • Podcast: Apple Weekly Report
  • TMO on Twitter!