RESOLVED FIXED 49153
Move Cache.* into loader/cache in as a start to cleaning up loader/
https://bugs.webkit.org/show_bug.cgi?id=49153
Summary Move Cache.* into loader/cache in as a start to cleaning up loader/
Eric Seidel (no email)
Reported 2010-11-07 19:33:28 PST
Move Cache.* into loader/cache in as a start to cleaning up loader/
Attachments
Patch (8.31 KB, patch)
2010-11-07 19:35 PST, Eric Seidel (no email)
no flags
Patch (9.83 KB, patch)
2010-11-07 19:49 PST, Eric Seidel (no email)
no flags
manually created patch file (9.25 KB, patch)
2010-11-07 19:53 PST, Eric Seidel (no email)
no flags
created from an svn checkout (86.27 KB, patch)
2010-11-07 19:56 PST, Eric Seidel (no email)
no flags
Eric Seidel (no email)
Comment 1 2010-11-07 19:35:28 PST
Adam Barth
Comment 2 2010-11-07 19:39:46 PST
Comment on attachment 73203 [details] Patch This isn't going to compile, but yeah, this is what we want.
Eric Seidel (no email)
Comment 3 2010-11-07 19:42:04 PST
Andreas Kling
Comment 4 2010-11-07 19:43:12 PST
Comment on attachment 73203 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=73203&action=review > WebCore/WebCore.pro:1034 > - loader/Cache.cpp \ > + loader/cache/Cache.cpp \ You should do the same for loader/Cache.h in this file.
Early Warning System Bot
Comment 5 2010-11-07 19:45:55 PST
Eric Seidel (no email)
Comment 6 2010-11-07 19:49:16 PST
Eric Seidel (no email)
Comment 7 2010-11-07 19:51:13 PST
It built on mac for me, not sure why the bot failed.
Eric Seidel (no email)
Comment 8 2010-11-07 19:51:45 PST
It built on mac for me, not sure why the bot failed.
Eric Seidel (no email)
Comment 9 2010-11-07 19:52:13 PST
It looks like the file moves are missing from the patch. I suspect Abarth's webkit-patch chagned_files optimization broke file moves.
Eric Seidel (no email)
Comment 10 2010-11-07 19:53:16 PST
Created attachment 73205 [details] manually created patch file
Eric Seidel (no email)
Comment 11 2010-11-07 19:53:59 PST
it appears git diff does not include moved files?!
Eric Seidel (no email)
Comment 12 2010-11-07 19:54:42 PST
Eric Seidel (no email)
Comment 13 2010-11-07 19:56:05 PST
Created attachment 73206 [details] created from an svn checkout
Early Warning System Bot
Comment 14 2010-11-07 19:57:53 PST
Eric Seidel (no email)
Comment 15 2010-11-07 20:02:12 PST
Eric Seidel (no email)
Comment 16 2010-11-07 20:09:30 PST
Eric Seidel (no email)
Comment 17 2010-11-07 20:11:06 PST
Alexey Proskuryakov
Comment 18 2010-11-07 21:37:49 PST
Eric, why is this bug with a patch pending review in RESOLVED/FIXED state?
Eric Seidel (no email)
Comment 19 2010-11-07 21:39:48 PST
Probably because webkit-patch land doesn't clear r? I don't use webkit-patch land much, maybe clearing of r? broke (or never was?)
Adam Barth
Comment 20 2010-11-07 21:45:38 PST
Maybe because it only clears r+ ?
Darin Adler
Comment 21 2010-11-08 10:19:28 PST
The biggest problem with the Cache class right now is that it’s not just a cache. Moving it into a directory named cache makes that problem worse.
Adam Barth
Comment 22 2010-11-08 10:43:27 PST
(In reply to comment #21) > The biggest problem with the Cache class right now is that it’s not just a cache. Moving it into a directory named cache makes that problem worse. What else does it do besides being a cache? It's involved in the loading process too, but I was planning to move that logic out into a separate class in the interests of making the main document cachable in the memory cache.
Note You need to log in before you can comment on or make changes to this bug.