WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 44925
Move FileSystem related files from WebCore/storage to WebCore/fileapi.
https://bugs.webkit.org/show_bug.cgi?id=44925
Summary
Move FileSystem related files from WebCore/storage to WebCore/fileapi.
Kinuko Yasuda
Reported
2010-08-30 19:43:56 PDT
Move FileSystem related files from WebCore/html to WebCore/fileapi.
Attachments
Patch
(89.53 KB, patch)
2010-08-30 20:30 PDT
,
Kinuko Yasuda
abarth
: review+
abarth
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kinuko Yasuda
Comment 1
2010-08-30 20:30:15 PDT
(In reply to
comment #0
)
> Move FileSystem related files from WebCore/html to WebCore/fileapi.
Correction; Move FileSystem related files from WebCore/storage to WebCore/fileapi.
Kinuko Yasuda
Comment 2
2010-08-30 20:30:37 PDT
Created
attachment 66007
[details]
Patch
Adam Barth
Comment 3
2010-08-30 20:40:36 PDT
Comment on
attachment 66007
[details]
Patch
> WebCore/CMakeLists.txt:1593 > +if (ENABLE_FILE_SYSTEM) > + LIST(APPEND WebCore_SOURCES > + fileapi/DirectoryEntry.cpp > + fileapi/DirectoryReader.cpp > + fileapi/DOMFilePath.cpp > + fileapi/DOMFileSystem.cpp > + fileapi/Entry.cpp > + fileapi/EntryArray.cpp > + fileapi/FileEntry.cpp > + fileapi/FileSystemCallbacks.cpp > + fileapi/LocalFileSystem.cpp > + platform/AsyncFileSystem.cpp > + ) > +ENDIF ()
These weren't conditional before. Also, what about the existing files in fileapi? Should those be conditional too?
> WebCore/GNUmakefile.am:3052 > + WebCore/fileapi/DirectoryEntry.cpp \ > + WebCore/fileapi/DirectoryEntry.h \ > + WebCore/fileapi/DirectoryReader.cpp \ > + WebCore/fileapi/DirectoryReader.h \ > + WebCore/fileapi/DOMFilePath.cpp \ > + WebCore/fileapi/DOMFilePath.h \ > + WebCore/fileapi/DOMFileSystem.cpp \ > + WebCore/fileapi/DOMFileSystem.h \ > + WebCore/fileapi/EntriesCallback.h \ > + WebCore/fileapi/Entry.cpp \ > + WebCore/fileapi/Entry.h \ > + WebCore/fileapi/EntryArray.cpp \ > + WebCore/fileapi/EntryArray.h \ > + WebCore/fileapi/EntryCallback.h \ > + WebCore/fileapi/ErrorCallback.h \ > + WebCore/fileapi/FileEntry.cpp \ > + WebCore/fileapi/FileEntry.h \ > + WebCore/fileapi/FileSystemCallback.h \ > + WebCore/fileapi/FileSystemCallbacks.cpp \ > + WebCore/fileapi/FileSystemCallbacks.h \ > + WebCore/fileapi/Flags.h \ > + WebCore/fileapi/LocalFileSystem.cpp \ > + WebCore/fileapi/LocalFileSystem.h \ > + WebCore/fileapi/Metadata.h \ > + WebCore/fileapi/MetadataCallback.h
Should these be textually next to the other fileapi files?
Kinuko Yasuda
Comment 4
2010-08-30 21:00:10 PDT
Thanks for reviewing. (In reply to
comment #3
)
> (From update of
attachment 66007
[details]
) > > WebCore/CMakeLists.txt:1593 > > +if (ENABLE_FILE_SYSTEM) > > + LIST(APPEND WebCore_SOURCES > > + fileapi/DirectoryEntry.cpp > > + fileapi/DirectoryReader.cpp > > + fileapi/DOMFilePath.cpp > > + fileapi/DOMFileSystem.cpp > > + fileapi/Entry.cpp > > + fileapi/EntryArray.cpp > > + fileapi/FileEntry.cpp > > + fileapi/FileSystemCallbacks.cpp > > + fileapi/LocalFileSystem.cpp > > + platform/AsyncFileSystem.cpp > > + ) > > +ENDIF () > These weren't conditional before. Also, what about the existing files in fileapi? Should those be conditional too?
For now we don't need to build them if FILE_SYSTEM flag is not enabled, and there're no dependencies between existing files and files moved by this patch (yet).
> > WebCore/GNUmakefile.am:3052 > > + WebCore/fileapi/DirectoryEntry.cpp \ > > + WebCore/fileapi/DirectoryEntry.h \ > > + WebCore/fileapi/DirectoryReader.cpp \ > > + WebCore/fileapi/DirectoryReader.h \ > > + WebCore/fileapi/DOMFilePath.cpp \ > > + WebCore/fileapi/DOMFilePath.h \ > > + WebCore/fileapi/DOMFileSystem.cpp \ > > + WebCore/fileapi/DOMFileSystem.h \ > > + WebCore/fileapi/EntriesCallback.h \ > > + WebCore/fileapi/Entry.cpp \ > > + WebCore/fileapi/Entry.h \ > > + WebCore/fileapi/EntryArray.cpp \ > > + WebCore/fileapi/EntryArray.h \ > > + WebCore/fileapi/EntryCallback.h \ > > + WebCore/fileapi/ErrorCallback.h \ > > + WebCore/fileapi/FileEntry.cpp \ > > + WebCore/fileapi/FileEntry.h \ > > + WebCore/fileapi/FileSystemCallback.h \ > > + WebCore/fileapi/FileSystemCallbacks.cpp \ > > + WebCore/fileapi/FileSystemCallbacks.h \ > > + WebCore/fileapi/Flags.h \ > > + WebCore/fileapi/LocalFileSystem.cpp \ > > + WebCore/fileapi/LocalFileSystem.h \ > > + WebCore/fileapi/Metadata.h \ > > + WebCore/fileapi/MetadataCallback.h > Should these be textually next to the other fileapi files?
Same here, they are apart from others because they're in 'if ENABLE_FILE_SYSTEM' conditional. I'll move them next to the other fileapi files once we start to compile them by default.
Kinuko Yasuda
Comment 5
2010-09-01 01:06:17 PDT
Committed
r66586
: <
http://trac.webkit.org/changeset/66586
>
WebKit Review Bot
Comment 6
2010-09-01 01:12:54 PDT
http://trac.webkit.org/changeset/66586
might have broken Qt Linux Release minimal, Qt Linux ARMv5 Release, and Qt Linux ARMv7 Release
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