WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
52955
Web Inspector: first step of splitting InspectorController
https://bugs.webkit.org/show_bug.cgi?id=52955
Summary
Web Inspector: first step of splitting InspectorController
Ilya Tikhonovsky
Reported
2011-01-22 03:59:04 PST
Splitting InspectorController is a bit tricky process. Especially when 4 people commit a number of patches a day. As a first step I'll do the next things: 1) rename existing InspectorController to InspectorAgent; 2) s/nspectorController/nspectorAgent/g everywhere in WebCore/inspector but InspectorInstrumentation; 3) create a fake InspectorController as a child of InspectorAgent for the rest of WebCore and WebKit; The second step is a migration a small set of functions described in
bug 52510
from InspectorAgent to InspectorController. As far as the second step will have significant changes in the functions' implementation I'll do it as a separate patch.
Attachments
[patch] initial version
(193.76 KB, patch)
2011-01-22 04:11 PST
,
Ilya Tikhonovsky
no flags
Details
Formatted Diff
Diff
[patch] initial version. Rebased.
(193.79 KB, patch)
2011-01-22 04:23 PST
,
Ilya Tikhonovsky
pfeldman
: review-
Details
Formatted Diff
Diff
[PATCH] More user-friendly diff (shows diff in copy)
(165.98 KB, patch)
2011-01-23 00:32 PST
,
Pavel Feldman
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Ilya Tikhonovsky
Comment 1
2011-01-22 04:11:35 PST
Created
attachment 79840
[details]
[patch] initial version
Ilya Tikhonovsky
Comment 2
2011-01-22 04:23:52 PST
Created
attachment 79841
[details]
[patch] initial version. Rebased.
Ilya Tikhonovsky
Comment 3
2011-01-22 04:33:57 PST
looks like efl has no dependency between InspectorBackendDispatcher and its generator CodeGeneratorInpsector.pm
Pavel Feldman
Comment 4
2011-01-23 00:11:45 PST
Comment on
attachment 79841
[details]
[patch] initial version. Rebased. View in context:
https://bugs.webkit.org/attachment.cgi?id=79841&action=review
Please provide proper diff for InspectorAgent copy. Rest looks good.
> Source/WebCore/ChangeLog:5 > + Web Inspector: first step of splitting InspectorController.
I'd say it is 41st step :)
> Source/WebCore/ChangeLog:11 > + 2) s/nspectorController/nspectorAgent/g everywhere in WebCore/inspector but InspectorInstrumentation;
Why not inspector instrumentation? Too many changes?
> Source/WebCore/ChangeLog:12 > + 3) create a fake InspectorController as a child of InspectorAgent for the rest of WebCore and WebKit;
"as a child of" -> "derived from"
> Source/WebCore/ChangeLog:14 > + The second step is a migration a small set of functions described in
bug 52510
from InspectorAgent to InspectorController.
is a migration _of_ small
> Source/WebCore/WebCore.exp.in:1359 > +__ZN7WebCore14InspectorAgent4showEv
This part is unnecessary. In the end of the day, WebCore should not expose InspectorAgent. But I see that it is a temporary measure.
> Source/WebCore/WebCore.xcodeproj/project.pbxproj:1268 > + 4F2D205412EAE7B3005C2874 /* InspectorAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F2D205212EAE7B3005C2874 /* InspectorAgent.h */; settings = {ATTRIBUTES = (Private, ); }; };
Same as for exports, ATTRIBUTES=Private should not be there after the refactoring.
> Source/WebCore/inspector/InspectorAgent.cpp:1 > +/*
Please add [diff] renames = copies In the .git/config so that we could see the changes in the file.
Pavel Feldman
Comment 5
2011-01-23 00:32:20 PST
Created
attachment 79864
[details]
[PATCH] More user-friendly diff (shows diff in copy)
Pavel Feldman
Comment 6
2011-01-23 01:37:47 PST
Committed
r76459
: <
http://trac.webkit.org/changeset/76459
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug