Summary: | Redesign SVGAnimatedProperty concept to share "POD type wrappers" between all bindings (-> add ObjC SVG bindings) | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> | ||||||||||||||||||
Component: | SVG | Assignee: | Nikolas Zimmermann <zimmermann> | ||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||
Severity: | Normal | CC: | dglazkov, eric, gustavo, krit, mdelaney7, staikos, webkit-ews, webkit.review.bot, xan.lopez, zimmermann | ||||||||||||||||||
Priority: | P2 | ||||||||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||||||||
Hardware: | PC | ||||||||||||||||||||
OS: | OS X 10.5 | ||||||||||||||||||||
Bug Depends on: | 47973, 48125, 48179, 48204, 48469, 48623, 48686, 48715, 48822, 48898, 48979, 48990, 49067, 49311, 49580, 49796, 50229 | ||||||||||||||||||||
Bug Blocks: | 42025 | ||||||||||||||||||||
Attachments: |
|
Description
Nikolas Zimmermann
2010-10-19 07:38:08 PDT
Created attachment 71171 [details]
Patch
Not meant for review yet, still need to write a ChangeLog and finish the CodeGeneratorV8.pm changes. Need a chromium EWS result to continue though....
Attachment 71171 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/update-webkit']" exit_code: 2 Updating OpenSource RA layer request failed: OPTIONS of 'http://svn.webkit.org/repository/webkit': could not connect to server (http://svn.webkit.org) at /usr/lib/git-core/git-svn line 2295 Died at WebKitTools/Scripts/update-webkit line 129. If any of these errors are false positives, please file a bug against check-webkit-style. Created attachment 71175 [details]
Patch v2
Regenerate the patch, something went wrong before. Left out the LayoutTests, as I only want EWS results now.
NOTE: A large part of this patch is about renaming the existing SVGAnimated* files to DeprecatedSVGAnimated*.
Attachment 71175 [details] did not pass style-queue:
Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WebCore/svg/properties/SVGAnimatedPropertyMacros.h:27: Alphabetical sorting problem. [build/include_order] [4]
WebCore/svg/SVGAnimatedLengthList.h:25: Alphabetical sorting problem. [build/include_order] [4]
WebCore/svg/SVGElement.h:113: Alphabetical sorting problem. [build/include_order] [4]
WebCore/bindings/v8/custom/V8SVGLengthCustom.cpp:52: Tab found; better to use spaces [whitespace/tab] [1]
WebCore/svg/SVGAnimatedLength.h:25: Alphabetical sorting problem. [build/include_order] [4]
WebCore/svg/properties/SVGAnimatedProperty.h:25: Alphabetical sorting problem. [build/include_order] [4]
WebCore/bindings/scripts/CodeGeneratorV8.pm:454: Line contains tab character. [whitespace/tab] [5]
WebCore/bindings/scripts/CodeGeneratorV8.pm:916: Line contains tab character. [whitespace/tab] [5]
WebCore/bindings/scripts/CodeGeneratorV8.pm:1029: Line contains tab character. [whitespace/tab] [5]
WebCore/bindings/scripts/CodeGeneratorV8.pm:1030: Line contains tab character. [whitespace/tab] [5]
WebCore/bindings/scripts/CodeGeneratorV8.pm:1031: Line contains tab character. [whitespace/tab] [5]
WebCore/bindings/scripts/CodeGeneratorV8.pm:2575: Line contains tab character. [whitespace/tab] [5]
WebCore/bindings/scripts/CodeGeneratorV8.pm:2851: Line contains tab character. [whitespace/tab] [5]
Total errors found: 13 in 54 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Attachment 71175 [details] did not build on qt: Build output: http://queues.webkit.org/results/4459102 Attachment 71175 [details] did not build on chromium: Build output: http://queues.webkit.org/results/4466102 Attachment 71175 [details] did not build on mac: Build output: http://queues.webkit.org/results/4509001 Attachment 71175 [details] did not build on win: Build output: http://queues.webkit.org/results/4514001 Attachment 71175 [details] did not build on gtk: Build output: http://queues.webkit.org/results/4538001 Comment on attachment 71175 [details]
Patch v2
Clear review flag. I'm splitting off the SVGAnimated* -> DeprecatedSVGAnimated* move first, to upload a new version of this patch fixing the style issues, adding a ChangeLog, and updating the build systems. The patch is again larger, so I want to do the SVGAnimated* -> DeprecatedSVGAnimated* first in a seperate bug, otherwhise this is just too large.
Created attachment 71266 [details]
Patch v3
Didn't try a local build so far, just want some EWS feedback from other platforms. The SVGAnimatedProperty -> DeprecatedSVGAnimatedProperty patch landed.
Chromium is most interessting, as the V8 changes aren't done yet, it definately won't build there yet.
Attachment 71266 [details] did not pass style-queue:
Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WebCore/svg/SVGAnimatedLength.h:25: Alphabetical sorting problem. [build/include_order] [4]
Total errors found: 1 in 45 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Attachment 71266 [details] did not build on qt: Build output: http://queues.webkit.org/results/4540010 Created attachment 71267 [details]
Patch v4
Add all new files to all build systems, that list headers. Fix one style issue. Let's see...
Created attachment 71268 [details]
Patch v5
Oops, uploaded the wrong patch.
Attachment 71268 [details] did not build on chromium: Build output: http://queues.webkit.org/results/4566009 Created attachment 71282 [details]
Patch v6
More V8 work, let's see if it builds now...
Attachment 71282 [details] did not build on chromium: Build output: http://queues.webkit.org/results/4542013 (In reply to comment #18) > Attachment 71282 [details] did not build on chromium: > Build output: http://queues.webkit.org/results/4542013 Got a local chromium build now, otherwhise I'm not able to fix V8... Created attachment 71327 [details]
Patch v7
This should build on chromium, at least it does here locally :-)
Created attachment 71402 [details]
Patch v8
It works on JSC & V8, finally! This patch just adds a real ChangeLog.
Comment on attachment 71402 [details] Patch v8 View in context: https://bugs.webkit.org/attachment.cgi?id=71402&action=review > WebCore/bindings/scripts/CodeGeneratorV8.pm:1065 > + remove the spaces Had a looong review session on skype. Really great patch. And a very detailed test suite. r=me I'm glad those reviews happen. I wish Nico wrote smaller patches, and more reviews happened over bugs.webkit.org so the rest of us would share the knowledge. As is, I'm not sure I really understand SVG anymore, partially due to all the development happening in private. Thanks for the patch. (In reply to comment #23) > I'm glad those reviews happen. I wish Nico wrote smaller patches, and more reviews happened over bugs.webkit.org so the rest of us would share the knowledge. I wish the patch should have been smaller as well. But I only took one primitive type and one list to start. SVGLength and SVGLengthList. > As is, I'm not sure I really understand SVG anymore, partially due to all the development happening in private. Please have a look at the ChangeLog, I do my best to describe the changes in detail, so anyone interessted can follow the work. I'm not sure what else I could do... Landed in r70223. Leaving this bug open as master bug. Comment on attachment 71402 [details]
Patch v8
Clearing review flag.
This bug is completely fixed, I'm now working on 42025, to avoid including SVGNames.h in the svg/ headers. |