Fix Windows build and set the pref to allow FTP directory listings in Windows nightlies
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Jul 2007 23:21:36 +0000 (23:21 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 14 Jul 2007 23:21:36 +0000 (23:21 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24293 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/WebCore.vcproj/WebCore.vcproj
WebKit/win/ChangeLog
WebKit/win/WebView.cpp

index 637266c2dfb54a71a980e5077472f9cdc62e1cde..c3178061076ff35cc3db5280d1ff5b78d168ea42 100644 (file)
@@ -1,3 +1,11 @@
+2007-07-14  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Sam
+
+        Windows build fix
+
+        * WebCore.vcproj/WebCore.vcproj:
+
 2007-07-14  Sam Weinig  <sam@webkit.org>
 
         Fix Tiger build.
index 2c8af77ad01c7cdd102c8ea47843ec8c779bbdfa..54c39fe56843b4a168bbb4066623db7a896979ac 100644 (file)
                                RelativePath="..\loader\FrameLoaderTypes.h"
                                >
                        </File>
+            <File
+                               RelativePath="..\loader\FTPDirectoryDocument.cpp"
+                               >
+            </File>
+            <File
+                               RelativePath="..\loader\FTPDirectoryDocument.h"
+                               >
+            </File>
+            <File
+                               RelativePath="..\loader\FTPDirectoryParser.cpp"
+                               >
+            </File>
+            <File
+                               RelativePath="..\loader\FTPDirectoryParser.h"
+                               >
+            </File>
                        <File
                                RelativePath="..\loader\ImageDocument.cpp"
                                >
index f4af9f889fa78bc3718493aa29292c7c4cc442cc..81b8fb4f386fa5ed0f4c69a0f645ac1a84dcd075 100644 (file)
@@ -1,3 +1,12 @@
+2007-07-14  Brady Eidson  <beidson@apple.com>
+
+        Reviewed by Sam
+        
+        Set the pref to override the policy delegate for FTP directory listings on Windows
+
+        * WebView.cpp:
+        (WebView::updateWebCoreSettingsFromPreferences):
+
 2007-07-13  Oliver Hunt  <oliver@apple.com>
 
         Reviewed by Darin and Alexey.
index d31cf1ebb9e7ead39bf9bcfcea6970df6490f06b..91b36eaf27186d57dbf1ed11018e15614e0f638d 100644 (file)
@@ -1507,6 +1507,8 @@ HRESULT WebView::updateWebCoreSettingsFromPreferences(IWebPreferences* preferenc
 
     settings->setShowsURLsInToolTips(false);
 
+    settings->setForceFTPDirectoryListings(true);
+
     m_mainFrame->invalidate(); // FIXME
 
     return S_OK;