[webkit-dev] Style for Gtk/Qt code

Martin Robinson mrobinson at appcelerator.com
Mon Dec 21 11:57:08 PST 2009


On Mon, Dec 21, 2009 at 8:25 AM, Eric Seidel <eric at webkit.org> wrote:
> Can we get consensus on if the WebKit style applies to all sections of
> code?  And if it does not, what style applies to the code it does not?

This was recently an issue here as well:
https://bugs.webkit.org/show_bug.cgi?id=20736

For the GTK+ port I've been following the rules on the GTK+ sections
of the wiki (which I hope to clean up soon, by the way):
http://trac.webkit.org/wiki/HackingGtk .

I think I'm in agreement that when an entire file comes from outside
WebKit it's best to use the original style. It will make future merges
to and from upstream easier. One suggestion I have is to create a way
to mark certain files as non-WebKit-style, either because they
originate from outside WebKit or because they comprise a legacy
component.

Martin


More information about the webkit-dev mailing list