Bug 34323 - [BREWMP] Port FileSystem
Summary: [BREWMP] Port FileSystem
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 33564
  Show dependency treegraph
 
Reported: 2010-01-29 03:19 PST by Kwang Yul Seo
Modified: 2010-06-23 19:55 PDT (History)
4 users (show)

See Also:


Attachments
Port FileSystem (10.39 KB, patch)
2010-01-29 03:23 PST, Kwang Yul Seo
no flags Details | Formatted Diff | Diff
Port FileSystem (10.39 KB, patch)
2010-01-29 03:29 PST, Kwang Yul Seo
skyul: review-
skyul: commit-queue-
Details | Formatted Diff | Diff
Port FileSystem (10.42 KB, patch)
2010-02-03 03:47 PST, Kwang Yul Seo
no flags Details | Formatted Diff | Diff
Revised patch (10.18 KB, patch)
2010-06-08 23:25 PDT, Kwang Yul Seo
no flags Details | Formatted Diff | Diff
Revised patch (10.19 KB, patch)
2010-06-14 20:37 PDT, Kwang Yul Seo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kwang Yul Seo 2010-01-29 03:19:35 PST
Port FileSystem to BREWMP with IFileMgr interface.
Comment 1 Kwang Yul Seo 2010-01-29 03:23:16 PST
Created attachment 47696 [details]
Port FileSystem
Comment 2 WebKit Review Bot 2010-01-29 03:29:05 PST
Attachment 47696 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebCore/platform/brew/FileSystemBrew.cpp:38:  Alphabetical sorting problem.  [build/include_order] [4]
WebCore/platform/brew/FileSystemBrew.cpp:41:  Alphabetical sorting problem.  [build/include_order] [4]
WebCore/platform/brew/FileSystemBrew.cpp:43:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 3


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Kwang Yul Seo 2010-01-29 03:29:58 PST
Created attachment 47697 [details]
Port FileSystem

Sort header files alphabetically.
Comment 4 Eric Seidel (no email) 2010-02-01 15:54:17 PST
Comment on attachment 47697 [details]
Port FileSystem

Given how often you use this in various places, seems you might want to add it to a common header at some point:
 49     IShell* shell = reinterpret_cast<AEEApplet*>(GETAPPINSTANCE())->m_pIShell;

This seems like  a bad idea:
 47 static PassOwnPtr<IFileMgr> createIFileMgr()

can you actually call "delete" with an IFileMgr pointer ant it will do the right thing?  It doesn't need some special release call?
Comment 5 Kwang Yul Seo 2010-02-01 17:24:32 PST
I modified OwnPtr to delete an IFileMgr pointer correctly though the patch is not submitted yet. However, GOwnPtr-like smart pointer sounds better as you suggested in https://bugs.webkit.org/show_bug.cgi?id=34412.
Comment 6 Kwang Yul Seo 2010-02-03 03:47:37 PST
Created attachment 48012 [details]
Port FileSystem

Use OwnPtrBrew submitted in https://bugs.webkit.org/show_bug.cgi?id=34518
Comment 7 Kwang Yul Seo 2010-02-08 08:16:30 PST
Comment on attachment 48012 [details]
Port FileSystem

createFileMgr can be replaced with createInstanceBrew submitted in https://bugs.webkit.org/show_bug.cgi?id=34705. Wait until it is reviewed.
Comment 8 Kwang Yul Seo 2010-06-08 23:25:49 PDT
Created attachment 58214 [details]
Revised patch
Comment 9 Kwang Yul Seo 2010-06-14 20:37:41 PDT
Created attachment 58747 [details]
Revised patch

Fix a typo: utf -> utf8
Comment 10 Kent Tamura 2010-06-23 07:00:52 PDT
Comment on attachment 58747 [details]
Revised patch

Looks ok
Comment 11 WebKit Commit Bot 2010-06-23 19:55:53 PDT
Comment on attachment 58747 [details]
Revised patch

Clearing flags on attachment: 58747

Committed r61729: <http://trac.webkit.org/changeset/61729>
Comment 12 WebKit Commit Bot 2010-06-23 19:55:58 PDT
All reviewed patches have been landed.  Closing bug.