1. 21 May, 2010 1 commit
    • tony@chromium.org's avatar
      2010-05-20 Tony Chang <tony@chromium.org> · 638815b8
      tony@chromium.org authored
              Reviewed by Kent Tamura.
      
              escape link text when copying or dragging links on win or chromium
              https://bugs.webkit.org/show_bug.cgi?id=39413
      
              * editing/pasteboard/drop-link-expected.txt: Added.
              * editing/pasteboard/drop-link.html:
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/chromium-linux/editing/pasteboard/drop-link-expected.txt: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/drop-link-expected.txt: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.checksum: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.png: Removed.
              * platform/mac/editing/pasteboard/drop-link-expected.txt: Removed.
      2010-05-20  Tony Chang  <tony@chromium.org>
      
              Reviewed by Kent Tamura.
      
              escape link text when copying or dragging links on win or chromium
              https://bugs.webkit.org/show_bug.cgi?id=39413
      
              * editing/markup.cpp:
              (WebCore::urlToMarkup):
              * editing/markup.h:
              * platform/chromium/ClipboardUtilitiesChromium.cpp:
              * platform/chromium/ClipboardUtilitiesChromium.h:
              * platform/win/ClipboardUtilitiesWin.cpp:
              * platform/win/ClipboardUtilitiesWin.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      638815b8
  2. 30 Mar, 2010 1 commit
    • barraclough@apple.com's avatar
      Rubber stamped by Sam Weinig. · 00b7992e
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=36866
      Move CString to WTF
      
      JavaScriptCore: 
      
      * Android.mk:
      * GNUmakefile.am:
      * JavaScriptCore.exp:
      * JavaScriptCore.gypi:
      * JavaScriptCore.pro:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.vcproj/WTF/WTF.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * wtf/text: Added.
      * wtf/text/CString.cpp: Copied from WebCore/platform/text/CString.cpp.
      * wtf/text/CString.h: Copied from WebCore/platform/text/CString.h.
      (WTF::CStringBuffer::data):
      (WTF::CStringBuffer::length):
      (WTF::CStringBuffer::create):
      (WTF::CStringBuffer::CStringBuffer):
      (WTF::CStringBuffer::mutableData):
      (WTF::CString::CString):
      (WTF::CString::isNull):
      (WTF::CString::buffer):
      (WTF::operator!=):
      
      WebCore: 
      
      * Android.mk:
      * ForwardingHeaders/wtf/text: Added.
      * ForwardingHeaders/wtf/text/CString.h: Added.
      * GNUmakefile.am:
      * WebCore.base.exp:
      * WebCore.gypi:
      * WebCore.order:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
      * bindings/js/JSDOMWindowBase.cpp:
      * bindings/js/ScheduledAction.cpp:
      * bindings/js/ScriptController.cpp:
      * bindings/v8/ScriptController.cpp:
      * bindings/v8/V8Binding.cpp:
      * bindings/v8/V8DOMWindowShell.cpp:
      * bridge/jni/JNIBridge.cpp:
      * bridge/jni/v8/JavaStringV8.h:
      (JSC::Bindings::JavaStringImpl::init):
      * css/CSSParser.cpp:
      * dom/CharacterData.cpp:
      * dom/Document.cpp:
      * dom/Element.cpp:
      * dom/Node.cpp:
      * dom/Position.cpp:
      * dom/Range.cpp:
      * dom/Text.cpp:
      * dom/XMLTokenizer.cpp:
      * dom/XMLTokenizerLibxml2.cpp:
      * dom/XMLTokenizerQt.cpp:
      * editing/SelectionController.cpp:
      * editing/VisiblePosition.cpp:
      * editing/VisibleSelection.cpp:
      * history/CachedFrame.cpp:
      * history/HistoryItem.cpp:
      * history/qt/HistoryItemQt.cpp:
      * html/FormDataList.h:
      (WebCore::FormDataList::appendData):
      (WebCore::FormDataList::Item::Item):
      (WebCore::FormDataList::Item::data):
      * html/HTMLDocument.cpp:
      * html/PreloadScanner.cpp:
      * inspector/InspectorController.cpp:
      * inspector/InspectorDOMAgent.cpp:
      * loader/DocLoader.cpp:
      * loader/FTPDirectoryDocument.cpp:
      * loader/FrameLoader.cpp:
      * loader/HistoryController.cpp:
      * loader/ProgressTracker.cpp:
      * loader/appcache/ApplicationCacheStorage.cpp:
      * loader/archive/cf/LegacyWebArchive.cpp:
      * loader/icon/wince/IconDatabaseWince.cpp:
      * loader/loader.cpp:
      * page/Console.cpp:
      * page/DOMWindow.cpp:
      * page/SecurityOrigin.cpp:
      * page/XSSAuditor.cpp:
      * page/animation/AnimationBase.cpp:
      * platform/ContextMenu.cpp:
      * platform/FileSystem.h:
      * platform/KURL.cpp:
      * platform/KURLGoogle.cpp:
      * platform/KURLGooglePrivate.h:
      * platform/Pasteboard.h:
      * platform/android/FileSystemAndroid.cpp:
      * platform/android/TemporaryLinkStubs.cpp:
      * platform/brew/KURLBrew.cpp:
      * platform/cf/FileSystemCF.cpp:
      * platform/chromium/MIMETypeRegistryChromium.cpp:
      * platform/efl/FileSystemEfl.cpp:
      * platform/efl/PasteboardEfl.cpp:
      * platform/efl/PlatformKeyboardEventEfl.cpp:
      * platform/efl/PlatformScreenEfl.cpp:
      * platform/efl/RenderThemeEfl.cpp:
      * platform/efl/ScrollbarEfl.cpp:
      * platform/efl/SharedBufferEfl.cpp:
      * platform/efl/WidgetEfl.cpp:
      * platform/graphics/GlyphPageTreeNode.cpp:
      * platform/graphics/cairo/FontPlatformDataCairo.cpp:
      * platform/graphics/cg/ImageBufferCG.cpp:
      * platform/graphics/chromium/FontCacheLinux.cpp:
      * platform/graphics/chromium/FontPlatformDataLinux.h:
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
      * platform/graphics/gtk/FontPlatformDataPango.cpp:
      * platform/graphics/gtk/IconGtk.cpp:
      * platform/graphics/gtk/ImageGtk.cpp:
      * platform/graphics/haiku/GraphicsContextHaiku.cpp:
      * platform/graphics/mac/GraphicsContext3DMac.cpp:
      * platform/graphics/mac/GraphicsLayerCA.mm:
      * platform/graphics/qt/GraphicsContext3DQt.cpp:
      * platform/graphics/qt/ImageBufferQt.cpp:
      * platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
      * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
      * platform/graphics/skia/GraphicsLayerSkia.cpp:
      * platform/graphics/win/GraphicsLayerCACF.cpp:
      * platform/graphics/win/WKCACFLayer.cpp:
      * platform/graphics/wx/FontPlatformData.h:
      * platform/gtk/ClipboardGtk.cpp:
      * platform/gtk/ContextMenuItemGtk.cpp:
      * platform/gtk/DataObjectGtk.h:
      * platform/gtk/FileChooserGtk.cpp:
      * platform/gtk/FileSystemGtk.cpp:
      * platform/gtk/GeolocationServiceGtk.cpp:
      * platform/gtk/KURLGtk.cpp:
      * platform/gtk/Language.cpp:
      * platform/gtk/LocalizedStringsGtk.cpp:
      * platform/gtk/PasteboardGtk.cpp:
      * platform/gtk/PopupMenuGtk.cpp:
      * platform/gtk/RenderThemeGtk.cpp:
      * platform/gtk/SharedBufferGtk.cpp:
      * platform/haiku/FileSystemHaiku.cpp:
      * platform/haiku/PlatformKeyboardEventHaiku.cpp:
      * platform/network/CredentialStorage.cpp:
      * platform/network/FormData.cpp:
      * platform/network/FormData.h:
      * platform/network/FormDataBuilder.cpp:
      * platform/network/FormDataBuilder.h:
      * platform/network/HTTPParsers.cpp:
      * platform/network/android/ResourceHandleAndroid.cpp:
      * platform/network/cf/FormDataStreamCFNet.cpp:
      * platform/network/cf/ResourceHandleCFNet.cpp:
      * platform/network/chromium/ResourceResponse.h:
      * platform/network/curl/FormDataStreamCurl.cpp:
      * platform/network/curl/ResourceHandleManager.cpp:
      * platform/network/curl/ResourceHandleManager.h:
      * platform/network/mac/FormDataStreamMac.mm:
      * platform/network/mac/ResourceHandleMac.mm:
      * platform/network/qt/QNetworkReplyHandler.cpp:
      * platform/network/soup/CookieJarSoup.cpp:
      * platform/network/soup/ResourceHandleSoup.cpp:
      * platform/network/soup/ResourceRequestSoup.cpp:
      * platform/network/soup/ResourceResponseSoup.cpp:
      * platform/network/win/ResourceHandleWin.cpp:
      * platform/posix/FileSystemPOSIX.cpp:
      * platform/qt/FileSystemQt.cpp:
      * platform/qt/KURLQt.cpp:
      * platform/qt/TemporaryLinkStubs.cpp:
      * platform/sql/chromium/SQLiteFileSystemChromium.cpp:
      * platform/text/CString.cpp: Removed.
      * platform/text/CString.h: Removed.
      * platform/text/PlatformString.h:
      * platform/text/String.cpp:
      * platform/text/StringImpl.cpp:
      * platform/text/TextCodec.h:
      * platform/text/TextCodecICU.cpp:
      * platform/text/TextCodecLatin1.cpp:
      * platform/text/TextCodecUTF16.cpp:
      * platform/text/TextCodecUserDefined.cpp:
      * platform/text/TextEncoding.cpp:
      * platform/text/TextEncoding.h:
      * platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp:
      * platform/text/gtk/TextCodecGtk.cpp:
      * platform/text/haiku/StringHaiku.cpp:
      * platform/text/mac/TextCodecMac.cpp:
      * platform/text/qt/TextCodecQt.cpp:
      * platform/text/wx/StringWx.cpp:
      * platform/win/ClipboardUtilitiesWin.cpp:
      * platform/win/ClipboardWin.cpp:
      * platform/win/ContextMenuItemWin.cpp:
      * platform/win/ContextMenuWin.cpp:
      * platform/win/FileSystemWin.cpp:
      * platform/win/GDIObjectCounter.cpp:
      * platform/win/Language.cpp:
      * platform/win/PasteboardWin.cpp:
      * platform/wince/FileSystemWince.cpp:
      * platform/wince/KeygenWince.cpp:
      * platform/wince/PasteboardWince.cpp:
      * platform/wx/FileSystemWx.cpp:
      * platform/wx/LoggingWx.cpp:
      * plugins/PluginDebug.h:
      * plugins/PluginPackage.cpp:
      * plugins/PluginStream.cpp:
      * plugins/PluginStream.h:
      * plugins/PluginView.h:
      * plugins/gtk/PluginPackageGtk.cpp:
      * plugins/mac/PluginPackageMac.cpp:
      * plugins/qt/PluginPackageQt.cpp:
      * plugins/symbian/PluginPackageSymbian.cpp:
      * plugins/win/PluginPackageWin.cpp:
      * rendering/RenderLayer.cpp:
      * rendering/RenderLayerCompositor.cpp:
      * rendering/RenderTreeAsText.cpp:
      * storage/Database.cpp:
      * storage/SQLTransactionCoordinator.cpp:
      * storage/SQLTransactionCoordinator.h:
      * storage/StorageAreaSync.cpp:
      * storage/StorageSyncManager.cpp:
      * storage/chromium/DatabaseTrackerChromium.cpp:
      * storage/chromium/QuotaTracker.cpp:
      * storage/chromium/QuotaTracker.h:
      * svg/SVGFontFaceElement.cpp:
      * svg/SVGStyledElement.cpp:
      * svg/SVGUseElement.cpp:
      * websockets/WebSocket.cpp:
      * websockets/WebSocketChannel.cpp:
      * websockets/WebSocketHandshake.cpp:
      * wml/WMLErrorHandling.cpp:
      * wml/WMLGoElement.cpp:
      * wml/WMLPageState.cpp:
      * wml/WMLPostfieldElement.cpp:
      * wml/WMLSelectElement.cpp:
      * xml/XMLHttpRequest.cpp:
      * xml/XSLStyleSheetLibxslt.cpp:
      * xml/XSLTProcessorLibxslt.cpp:
      
      WebKit: 
      
      * efl/WebCoreSupport/ChromeClientEfl.cpp:
      * efl/ewk/ewk_frame.cpp:
      (ewk_frame_name_get):
      (ewk_frame_selection_get):
      (ewk_frame_uri_changed):
      * efl/ewk/ewk_history.cpp:
      * efl/ewk/ewk_settings.cpp:
      
      WebKit/chromium: 
      
      * public/WebCString.h:
      * src/FrameLoaderClientImpl.cpp:
      * src/GraphicsContext3D.cpp:
      * src/WebCString.cpp:
      (WebKit::WebCString::assign):
      (WebKit::WebCString::WebCString):
      (WebKit::WebCString::operator=):
      (WebKit::WebCString::operator WTF::CString):
      * src/WebMediaPlayerClientImpl.cpp:
      * src/WebString.cpp:
      * src/WebURLError.cpp:
      
      WebKit/gtk: 
      
      * WebCoreSupport/ChromeClientGtk.cpp:
      * WebCoreSupport/ContextMenuClientGtk.cpp:
      * WebCoreSupport/EditorClientGtk.cpp:
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      * WebCoreSupport/InspectorClientGtk.cpp:
      * gdom/ConvertToGCharPrivate.h:
      * webkit/webkitdownload.cpp:
      * webkit/webkithittestresult.cpp:
      * webkit/webkitnetworkrequest.cpp:
      * webkit/webkitprivate.h:
      * webkit/webkitsecurityorigin.cpp:
      * webkit/webkitwebdatabase.cpp:
      * webkit/webkitwebframe.cpp:
      * webkit/webkitwebhistoryitem.cpp:
      (webkit_web_history_item_finalize):
      (webkit_web_history_item_get_target):
      * webkit/webkitwebresource.cpp:
      * webkit/webkitwebsettings.cpp:
      * webkit/webkitwebview.cpp:
      
      WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::getCookies):
      (WebKit::NetscapePluginInstanceProxy::getProxy):
      (WebKit::NetscapePluginInstanceProxy::getAuthenticationInfo):
      (WebKit::NetscapePluginInstanceProxy::resolveURL):
      * Plugins/WebBaseNetscapePluginView.h:
      * Plugins/WebBaseNetscapePluginView.mm:
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView resolveURL:forTarget:]):
      
      WebKit/qt: 
      
      * Api/qwebelement.cpp:
      
      WebKit/win: 
      
      * WebDownload.cpp:
      * WebDownloadCFNet.cpp:
      * WebDownloadCurl.cpp:
      * WebHistoryItem.cpp:
      * WebLocalizableStrings.cpp:
      * WebMutableURLRequest.cpp:
      * WebPreferences.cpp:
      (WebPreferences::migrateWebKitPreferencesToCFPreferences):
      * WebView.cpp:
      
      WebKit/wx: 
      
      * WebFrame.cpp:
      * WebView.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00b7992e
  3. 18 Jan, 2010 3 commits
    • enrica@apple.com's avatar
      Script attributes are copied and pasted, making cross-domain attacks possible (30019) · a0a06312
      enrica@apple.com authored
      <rdar://problem/6008809>
      https://bugs.webkit.org/show_bug.cgi?id=30019
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      When we create the document fragment from a markup string,
      either to perform a paste operation or a drag and drop, we
      want to remove all the event handlers and any attribute that contain
      a value that leads to code execution.
      The HTMLParser class is now aware of the needs of stripping these attributes.
      I've modified the call to createMarkupString for every platform.
      
      Test: editing/pasteboard/paste-noscript.html
      
      * WebCore.base.exp:
      * dom/Element.cpp:
      (WebCore::isEventHandlerAttribute):
      (WebCore::Element::setAttributeMap):
      * dom/Element.h:
      * dom/MappedAttributeEntry.h:
      (WebCore::):
      * editing/markup.cpp:
      (WebCore::createFragmentFromMarkup):
      * editing/markup.h:
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::createContextualFragment):
      * html/HTMLElement.h:
      * html/HTMLParser.cpp:
      (WebCore::HTMLParser::HTMLParser):
      (WebCore::HTMLParser::parseToken):
      * html/HTMLParser.h:
      * html/HTMLTokenizer.cpp:
      (WebCore::HTMLTokenizer::HTMLTokenizer):
      (WebCore::parseHTMLDocumentFragment):
      * html/HTMLTokenizer.h:
      * platform/chromium/DragDataChromium.cpp:
      (WebCore::DragData::asFragment):
      * platform/chromium/PasteboardChromium.cpp:
      (WebCore::Pasteboard::documentFragment):
      * platform/gtk/PasteboardGtk.cpp:
      (WebCore::Pasteboard::documentFragment):
      * platform/mac/PasteboardMac.mm:
      (WebCore::Pasteboard::documentFragment):
      * platform/qt/DragDataQt.cpp:
      (WebCore::DragData::asFragment):
      * platform/qt/PasteboardQt.cpp:
      (WebCore::Pasteboard::documentFragment):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::fragmentFromCF_HTML):
      (WebCore::fragmentFromHTML):
      
      WebKit/mac: 
      
      * WebView/WebFrame.mm:
      (-[WebFrame _documentFragmentWithMarkupString:baseURLString:]): Modified the call to createMarkupString.
      
      LayoutTests: 
      
      * editing/pasteboard/paste-noscript-expected.txt: Added.
      * editing/pasteboard/paste-noscript.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0a06312
    • barraclough@apple.com's avatar
      Eeeep! reverting r53416 & r53417, more to be done to fix windows. · 162c8651
      barraclough@apple.com authored
      Reviewed by NOBODY (build fix).
      
      * WebCore.base.exp:
      * platform/sql/SQLiteFileSystem.cpp:
      (WebCore::SQLiteFileSystem::openDatabase):
      * platform/sql/SQLiteStatement.cpp:
      (WebCore::SQLiteStatement::prepare):
      * platform/sql/SQLiteStatement.h:
      * platform/sql/chromium/SQLiteFileSystemChromium.cpp:
      (WebCore::SQLiteFileSystem::openDatabase):
      * platform/text/PlatformString.h:
      * platform/text/String.cpp:
      (WebCore::String::charactersWithNullTermination):
      * platform/text/StringImpl.cpp:
      (WebCore::StringImpl::operator new):
      (WebCore::StringImpl::operator delete):
      (WebCore::StringImpl::StringImpl):
      (WebCore::StringImpl::~StringImpl):
      (WebCore::StringImpl::create):
      (WebCore::StringImpl::createWithTerminatingNullCharacter):
      (WebCore::StringImpl::crossThreadString):
      (WebCore::StringImpl::sharedBuffer):
      * platform/text/StringImpl.h:
      (WebCore::StringImpl::hasTerminatingNullCharacter):
      (WebCore::StringImpl::inTable):
      (WebCore::StringImpl::setInTable):
      (WebCore::StringImpl::):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::createGlobalData):
      * storage/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::addDatabase):
      (WebCore::OriginUsageRecord::markDatabase):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      162c8651
    • barraclough@apple.com's avatar
      * platform/win/ClipboardUtilitiesWin.cpp: · 5e40486a
      barraclough@apple.com authored
      (WebCore::createGlobalData):
      
      Reviewed by NOBODY (windows build fix).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e40486a
  4. 05 May, 2009 1 commit
  5. 22 Jun, 2008 1 commit
  6. 26 Feb, 2008 1 commit
    • darin@apple.com's avatar
      Reviewed by Sam. · 263724c6
      darin@apple.com authored
              - remove use of DeprecatedCString from Windows pasteboard code
      
              * platform/win/ClipboardUtilitiesWin.cpp:
              (WebCore::createGlobalData): Added an overload for Vector<char>.
              Streamlined the logic a bit.
              (WebCore::append): Added. Helper functions for appending to a
              Vector<char>.
              (WebCore::markupToCF_HTML): Rewrote to use Vector<char> instead
              of DeprecatedCString. Also simplified the logic a bit and used
              macros to handle the integer width.
              (WebCore::urlToMarkup): Use Vector<UChar> instead of String.
              (WebCore::replaceNewlinesWithWindowsStyleNewlines): Tweaked.
              * platform/win/ClipboardUtilitiesWin.h: Update type of return
              value from markupToCF_HTML. Did a bit of streamlining too.
              * platform/win/ClipboardWin.cpp:
              (WebCore::writeURL): Update for above changes.
              (WebCore::ClipboardWin::declareAndWriteDragImage): Ditto.
              (WebCore::ClipboardWin::writeRange): Ditto.
              * platform/win/PasteboardWin.cpp:
              (WebCore::Pasteboard::writeSelection): Ditto.
              (WebCore::Pasteboard::writeURL): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      263724c6
  7. 22 Feb, 2008 1 commit
  8. 14 Feb, 2008 1 commit
    • darin@apple.com's avatar
      WebCore: · 640fa305
      darin@apple.com authored
              Reviewed by Eric Seidel.
      
              Based on work by Marvin Decker <marv.decker@gmail.com>
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=16538
                KURL should use String instead of DeprecatedString
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=16485
                DocLoader::checkForReload will crash if the URL isNull
                and a similar problem in IconDatabase
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=16487
                KURL doesn't preserve isNull when constructed with a DeprecatedString
      
              - changed completeURL and various DOM getters to return KURL, to avoid
                conversion back and forth from KURL to String
      
              - changed the conversion of KURL to NSURL or NSString to be automatic,
                to ease the use of KURL in Objective C DOM bindings, and eliminated
                the getNSURL function
      
              - because I had to visit the DOM bindings anyway, eliminated almost all
                the use of the KJS namespace for things in WebCore
      
              - fixed HTMLOptionElement constructor to check for undefined rather
                than size of the arguments array
      
              - eliminated some other unnecessary uses of DeprecatedString
      
              - changed String::split to take a Vector parameter instead of returning
                a Vector, for better performance
      
              - added a couple of missing calls to do layout in SVG image handling;
                I was able to reproduce these only because I had broken URLs for a
                while -- not sure how to reproduce them now but the changes are
                clearly needed
      
              Performance testing shows this to be at least a 1% speedup.
      
              Added a new function protocolIs to efficiently compare protocols
              without case errors and a blankURL function so we don't have to
              code "about:blank" in multiple places in the code and don't have to
              construct a frash KURL each time. Moved decode_string and encode_string
              out of KURL and gave them clearer names.
      
              Made KURL constructors explicit to highlight potentially-expensive
              operations and the poor semantics of KURL's constructor that takes
              a String.
      
              * WebCore.base.exp: Updated.
      
              * bindings/js/JSAttrCustom.cpp:
              (WebCore::JSAttr::setValue): Use protocolIs.
              * bindings/js/JSAudioConstructor.h: KJS namespace change.
              * bindings/js/JSCSSRuleCustom.cpp:
              (WebCore::toJS): Ditto.
              * bindings/js/JSCSSValueCustom.cpp:
              (WebCore::toJS): Ditto.
              * bindings/js/JSDocumentCustom.cpp:
              (WebCore::JSDocument::location): Ditto.
              (WebCore::JSDocument::setLocation): Updated for KURL change.
              (WebCore::toJS): KJS namespace change.
              * bindings/js/JSElementCustom.cpp:
              (WebCore::allowSettingSrcToJavascriptURL): Use protocolIs.
              (WebCore::JSElement::setAttribute): KJS namespace change.
              (WebCore::JSElement::setAttributeNode): Ditto.
              (WebCore::JSElement::setAttributeNS): Ditto.
              (WebCore::JSElement::setAttributeNodeNS): Ditto.
              * bindings/js/JSHTMLFrameElementCustom.cpp:
              (WebCore::allowSettingJavascriptURL): Use protocolIs.
              (WebCore::JSHTMLFrameElement::setSrc): KJS namespace change.
              (WebCore::JSHTMLFrameElement::setLocation): Ditto.
              * bindings/js/JSHTMLIFrameElementCustom.cpp:
              (WebCore::JSHTMLIFrameElement::setSrc): Use protocolIs.
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              (WebCore::JSHTMLOptionElementConstructor::JSHTMLOptionElementConstructor):
              (WebCore::JSHTMLOptionElementConstructor::construct): Cleaned up the
              structure a bit and changed checking to check for undefined rather than
              number of arguments.
              * bindings/js/JSHTMLOptionElementConstructor.h: KJS namespace change.
              * bindings/js/JSLocation.cpp:
              (WebCore::JSLocation::put): Eliminated some DeprecatedString use,
              and use protocolIs.
              (WebCore::jsLocationProtoFuncReplace): Ditto.
              (WebCore::jsLocationProtoFuncReload): Ditto.
              (WebCore::jsLocationProtoFuncAssign): Ditto.
              * bindings/js/JSLocation.h: KJS namespace change.
              * bindings/js/JSNamedNodeMapCustom.cpp:
              (WebCore::JSNamedNodeMap::canGetItemsForName): Ditto.
              (WebCore::JSNamedNodeMap::nameGetter): Ditto.
              * bindings/js/JSNamedNodesCollection.cpp:
              (WebCore::JSNamedNodesCollection::JSNamedNodesCollection): Ditto.
              * bindings/js/JSNamedNodesCollection.h: Ditto.
              * bindings/js/JSXMLHttpRequest.cpp:
              (WebCore::jsXMLHttpRequestPrototypeFunctionOpen): Removed
              DeprecatedString use.
              (WebCore::jsXMLHttpRequestPrototypeFunctionSend): Ditto.
              * bindings/js/JSXMLHttpRequest.h: Moved this class into the WebCore
              namespace.
              * bindings/js/JSXSLTProcessor.cpp: Namespace change.
              * bindings/js/JSXSLTProcessor.h: Ditto.
      
              * bindings/js/kjs_binding.cpp: Updated for namespace change.
              (WebCore::jsStringOrNull): Added an overload for KURL to allow DOM
              classes to return KURL even if the DOM expects a string.
              (WebCore::jsStringOrUndefined): Ditto.
              (WebCore::jsStringOrFalse): Ditto.
              * bindings/js/kjs_binding.h: Moved everything into the WebCore
              namespace.
      
              * bindings/js/kjs_css.h: Namespace change.
              * bindings/js/kjs_events.cpp: Removed an include.
              * bindings/js/kjs_events.h: Namespace change.
              * bindings/js/kjs_html.h: Namespace change.
      
              * bindings/js/kjs_navigator.cpp: Moved everything into the
              WebCore namespace.
              * bindings/js/kjs_navigator.h: Ditto.
      
              * bindings/js/kjs_window.cpp:
              (KJS::parseModalDialogFeatures): Updated for String::split change.
              (KJS::createWindow): Use protocolIs and removed some DeprecatedString.
              (KJS::Window::put): Ditto.
              (KJS::Window::allowsAccessFrom): Ditto.
              (KJS::windowProtoFuncOpen): Ditto.
      
              * bindings/objc/DOM.mm:
              (-[DOMElement _getURLAttribute:]): Removed getNSURL call.
              * bindings/objc/DOMHTML.mm:
              (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]): Ditto.
      
              * bindings/scripts/CodeGeneratorCOM.pm: Updated includes so conversions from
              KURL will work.
              * bindings/scripts/CodeGeneratorJS.pm: Updated for namespace changes, and also
              updated includes so conversions from KURL will work.
              * bindings/scripts/CodeGeneratorObjC.pm: Updated includes so conversions from
              KURL will work.
      
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject accessibilityAttributeValue:]): Removed getNSURL call.
              Also streamlined the logic.
              (AXAttributedStringAppendText): Ditto.
      
              * bridge/mac/WebCoreScriptDebugger.mm:
              (toNSString): Tweaked.
              (toNSURL): Removed getNSURL call.
      
              * css/CSSImageValue.cpp:
              (WebCore::CSSImageValue::image): Removed DeprecatedString use.
              * css/CSSImportRule.cpp:
              (WebCore::CSSImportRule::insertedIntoParent): Ditto.
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseValue): Ditto.
              (WebCore::CSSParser::parseContent): Ditto.
              (WebCore::CSSParser::parseBackgroundImage): Ditto.
              (WebCore::CSSParser::parseFontFaceSrc): Ditto.
              (WebCore::CSSParser::parseBorderImage): Ditto.
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::setEncodedURL): Ditto.
              (WebCore::checkPseudoState): Ditto.
              * css/CSSStyleSelector.h: Ditto.
      
              * css/MediaList.cpp:
              (WebCore::MediaList::setMediaText): Updated for String::split change.
      
              * css/StyleBase.cpp:
              (WebCore::StyleBase::baseURL): Return KURL.
              * css/StyleBase.h: DItto.
      
              * dom/Document.cpp:
              (WebCore::Document::~Document): Updated for namespace change.
              (WebCore::Document::documentURI): Return KURL.
              (WebCore::Document::setDocumentURI): Removed DeprecatedString use.
              (WebCore::Document::baseURI): Return KURL.
              (WebCore::Document::open): Updated to use blankURL.
              (WebCore::Document::setURL): Take KURL.
              (WebCore::Document::shouldBeAllowedToLoadLocalResources): Updated for
              change to use KURL
              (WebCore::Document::setBaseURL): Take KURL.
              (WebCore::Document::elementSheet): Updated for KURL change.
              (WebCore::Document::mappedElementSheet): Ditto.
              (WebCore::Document::processHttpEquiv): Ditto.
              (WebCore::Document::recalcStyleSelector): Removed use of
              DeprecatedString -- also noticed some dead code here!
              (WebCore::Document::setCookie): Ditto.
              (WebCore::Document::completeURL): Return KURL.
              * dom/Document.h: Use KURL instead of String in a few places.
      
              * dom/DocumentType.cpp:
              (WebCore::DocumentType::baseURI): Return KURL.
              * dom/DocumentType.h: Ditto.
      
              * dom/Element.cpp:
              (WebCore::Element::baseURI): Return KURL.
              * dom/Element.h: Ditto.
      
              * dom/Node.cpp:
              (WebCore::Node::setDocument): Namespace change.
              (WebCore::Node::baseURI): Return KURL.
              * dom/Node.h: Ditto.
      
              * dom/ProcessingInstruction.cpp:
              (WebCore::ProcessingInstruction::checkStyleSheet): Updated for KURL change.
              * dom/StyleElement.cpp:
              (WebCore::StyleElement::process): Changed to use Vector<UChar> instead of
              String for better performance.
              (WebCore::StyleElement::createSheet): Removed use of DeprecateString.
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::endElementNs): Updated for KURL change.
              (WebCore::XMLTokenizer::end): Ditto.
              (WebCore::xmlDocPtrForString): Removed use of DeprecateString.
              * dom/XMLTokenizer.h: Ditto.
      
              * editing/markup.cpp: Moved appendString to PlatformString.h.
              (WebCore::appendQuotedURLAttributeValue): Use protocolIs.
              (WebCore::completeURLs): Removed DeprecatedString use.
              (WebCore::createFragmentFromMarkup): Use blankURL.
              (WebCore::fillContainerFromString): Removed DeprecatedString use.
              (WebCore::createFragmentFromText): Ditto.
      
              * history/HistoryItem.cpp:
              (WebCore::HistoryItem::url): Removed DeprecatedString use.
              (WebCore::HistoryItem::originalURL): Ditto.
              * history/HistoryItem.h: Removed include.
      
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler): Removed use of
              DeprecatedString.
              (WebCore::HTMLAnchorElement::href): Return KURL.
              (WebCore::HTMLAnchorElement::hash): Removed DeprecatedString use.
              (WebCore::HTMLAnchorElement::host): Ditto.
              (WebCore::HTMLAnchorElement::hostname): Ditto.
              (WebCore::HTMLAnchorElement::pathname): Ditto.
              (WebCore::HTMLAnchorElement::port): Ditto.
              (WebCore::HTMLAnchorElement::protocol): Ditto.
              (WebCore::HTMLAnchorElement::search): Ditto.
              (WebCore::HTMLAnchorElement::toString): Ditto.
              * html/HTMLAnchorElement.h: Ditto.
              * html/HTMLAppletElement.cpp:
              (WebCore::HTMLAppletElement::createRenderer): Updated for KURL change.
              * html/HTMLAreaElement.cpp:
              (WebCore::HTMLAreaElement::href): Return KURL.
              * html/HTMLAreaElement.h: Ditto.
              * html/HTMLBaseElement.cpp:
              (WebCore::HTMLBaseElement::removedFromDocument): Updated for KURL change.
              (WebCore::HTMLBaseElement::process): Removed DeprecatedString use.
              * html/HTMLBodyElement.cpp:
              (WebCore::HTMLBodyElement::parseMappedAttribute): Updated for KURL change.
              * html/HTMLEmbedElement.cpp:
              (WebCore::HTMLEmbedElement::parseMappedAttribute): Removed use of
              DeprecatedString.
              * html/HTMLEmbedElement.h: Removed DeprecatedString use.
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::formWouldHaveSecureSubmission): Use protocolIs.
              (WebCore::encodeCString): Updated for change to String::split.
              (WebCore::HTMLFormElement::dataEncoding): Ditto.
              (WebCore::HTMLFormElement::formData): Removed DeprecatedString use.
              (WebCore::HTMLFormElement::isMailtoForm): Use protocolIs.
              (WebCore::HTMLFormElement::submit): Updated for KURL change.
              (WebCore::HTMLFormElement::reset): Ditto.
              * html/HTMLFrameElementBase.cpp:
              (WebCore::HTMLFrameElementBase::isURLAllowed): Updated for KURL change
              and use equalIgnoringRef instead of doing a setRef to get the same effect.
              (WebCore::HTMLFrameElementBase::openURL): Use blankURL.
              (WebCore::HTMLFrameElementBase::location): Return KURL.
              (WebCore::HTMLFrameElementBase::src): Return KURL.
              * html/HTMLFrameElementBase.h: Ditto.
              * html/HTMLImageElement.cpp:
              (WebCore::HTMLImageElement::parseMappedAttribute): Updated for KURL change.
              (WebCore::HTMLImageElement::longDesc): Return KURL.
              (WebCore::HTMLImageElement::lowsrc): Return KURL.
              (WebCore::HTMLImageElement::src): Return KURL.
              * html/HTMLImageElement.h: Ditto. Also removed imageMap() function.
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::src): Return KURL.
              * html/HTMLInputElement.h: Ditto.
              * html/HTMLLinkElement.cpp:
              (WebCore::HTMLLinkElement::parseMappedAttribute): Updated for KURL change.
              (WebCore::HTMLLinkElement::tokenizeRelAttribute): Updated for String::split change.
              (WebCore::HTMLLinkElement::href): Return KURL.
              * html/HTMLLinkElement.h: Ditto.
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::src): Return KURL.
              (WebCore::HTMLMediaElement::pickMedia): Updated for KURL change.
              * html/HTMLMediaElement.h: Ditto.
              * html/HTMLObjectElement.cpp:
              (WebCore::HTMLObjectElement::isImageType): Use protocolIs.
              (WebCore::HTMLObjectElement::data): Return KURL.
              * html/HTMLObjectElement.h: Ditto.
              * html/HTMLOptGroupElement.cpp:
              (WebCore::HTMLOptGroupElement::groupLabelText): Removed DeprecatedString use.
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::reportErrorToConsole): Updated for KURL change.
              * html/HTMLScriptElement.cpp:
              (WebCore::HTMLScriptElement::insertedIntoDocument): Ditto.
              (WebCore::HTMLScriptElement::text): Changed to use Vector<UChar> instead of
              String for better performance.
              (WebCore::HTMLScriptElement::src): Return KURL.
              * html/HTMLScriptElement.h: Ditto.
              * html/HTMLSourceElement.cpp:
              (WebCore::HTMLSourceElement::src): Return KURL.
              * html/HTMLSourceElement.h: Ditto.
              * html/HTMLTableElement.cpp:
              (WebCore::HTMLTableElement::parseMappedAttribute): Updated for KURL change.
              * html/HTMLTablePartElement.cpp:
              (WebCore::HTMLTablePartElement::parseMappedAttribute): Updated for KURL change.
              * html/HTMLTextAreaElement.cpp:
              (WebCore::HTMLTextAreaElement::setValue): Removed DeprecatedString use.
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptExecution): Ditto.
              (WebCore::HTMLTokenizer::notifyFinished): Use protocolIs.
              * html/HTMLVideoElement.cpp:
              (WebCore::HTMLVideoElement::poster): Return KURL.
              * html/HTMLVideoElement.h: Ditto.
              * html/HTMLViewSourceDocument.cpp:
              (WebCore::HTMLViewSourceDocument::addText): Updated for String::split change.
      
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::checkForReload): Add an explicit check for an empty URL
              here to avoid problems using its string as a hash table key later.
              (WebCore::DocLoader::requestResource): Removed DeprecatedString use.
      
              * loader/FTPDirectoryDocument.cpp:
              (WebCore::FTPDirectoryTokenizer::createTDForFilename): Updated for KURL change.
              (WebCore::FTPDirectoryTokenizer::parseAndAppendOneLine): Removed use of
              DeprecatedString.
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::requestFrame): Use protocolIs.
              (WebCore::FrameLoader::loadSubframe): Use blankURL.
              (WebCore::FrameLoader::submitForm): Use protocolIs and removed use of
              DeprecatedString.
              (WebCore::FrameLoader::iconURL): Return KURL. Use protcolIs.
              (WebCore::FrameLoader::didOpenURL): Use protocolIs.
              (WebCore::FrameLoader::didExplicitOpen): Use blankURL.
              (WebCore::FrameLoader::executeIfJavaScriptURL): Use protocolIs.
              Update for name change to decodeURLEscapeSequences.
              (WebCore::FrameLoader::receivedFirstData): Updated for KURL changes.
              (WebCore::FrameLoader::begin): Removed DeprecatedString use.
              Renamed baseurl to baseURL. Updated to use KURL more.
              (WebCore::FrameLoader::gotoAnchor): Removed use of encodedHtmlRef
              function, which is no different from ref.
              (WebCore::FrameLoader::completeURL): Updated for KURL change.
              (WebCore::FrameLoader::scheduleLocationChange): Ditto.
              (WebCore::FrameLoader::canCachePage): Use protocolIs.
              (WebCore::FrameLoader::updatePolicyBaseURL): Update for KURL change.
              (WebCore::FrameLoader::setPolicyBaseURL): Take KURL.
              (WebCore::FrameLoader::startRedirectionTimer): Removed use of
              DeprecatedString.
              (WebCore::FrameLoader::load): Use protocolIs.
              (WebCore::FrameLoader::shouldHideReferrer): Use protocolIs.
              (WebCore::FrameLoader::shouldAllowNavigation): Updated for KURL change.
              (WebCore::FrameLoader::commitProvisionalLoad): Use blankURL.
              (WebCore::FrameLoader::open): Use protcolIs.
              (WebCore::FrameLoader::createHistoryItem): Use blankURL.
              (WebCore::FrameLoader::createJavaAppletWidget): Updated for KURL change.
              (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady): Removed
              DeprecatedString use.
              * loader/FrameLoader.h: Ditto.
      
              * loader/ImageDocument.cpp:
              (WebCore::ImageDocument::createDocumentStructure): Updated for KURL change.
              * loader/PluginDocument.cpp:
              (WebCore::PluginTokenizer::createDocumentStructure): Ditto.
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::iconForPageURL): Added a check for an empty URL
              before trying to use it as a hash table key.
      
              * loader/icon/IconLoader.h: Tweaked includes.
      
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests): Use protcolIs. Also removed some
              code to set up a local variable that is never used (and a DeprecatedString
              on to boot!).
      
              * loader/mac/LoaderNSURLExtras.m:
              (suggestedFilenameWithMIMEType): Removed unnecessary typecast.
      
              * page/ContextMenuController.cpp: Removed include.
      
              * page/mac/EventHandlerMac.mm:
              (WebCore::EventHandler::needsKeyboardEventDisambiguationQuirks):
              Use protocolIs.
      
              * page/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge URLWithAttributeString:]): Removed getNSURL call.
              (-[WebCoreFrameBridge baseURL]): Ditto.
      
              * platform/KURL.cpp:
              (WebCore::isSchemeFirstChar): Fixed bug in handling of values >= 0x80.
              (WebCore::isSchemeChar): Ditto.
              (WebCore::isPathSegmentEndChar): Ditto.
              (WebCore::hexDigitValue): Changed parameter type to UChar.
              (WebCore::copyASCII): Added.
              (WebCore::findFirstOf): Added.
              (WebCore::KURL::protocolIs): Added.
              (WebCore::KURL::KURL): Tightened logic up quite a bit. Changed parameter
              types from DeprecatedString to String.
              (WebCore::KURL::init): Changed parameter type to String. Preserved the
              passed-in string even if the base is invalid. Cleaned up logic to determine
              if the originalString should be pased in to the parse function. Simplified
              by calling the new parse overload that takes String in many cases.
              (WebCore::KURL::lastPathComponent): Return String.
              (WebCore::KURL::protocol): Ditto.
              (WebCore::KURL::host): Ditto.
              (WebCore::KURL::port): Changed logic to use early return for clarity.
              (WebCore::KURL::pass): Return String.
              (WebCore::KURL::user): Ditto.
              (WebCore::KURL::ref): Ditto.
              (WebCore::assertProtocolIsGood): Added.
              (WebCore::KURL::protocolIs): Added.
              (WebCore::KURL::query): Return String.
              (WebCore::KURL::path): Ditto.
              (WebCore::KURL::setProtocol): Take String.
              (WebCore::KURL::setHost): Ditto.
              (WebCore::KURL::setPort): Use String.
              (WebCore::KURL::setHostAndPort): Take String.
              (WebCore::KURL::setUser): Ditto.
              (WebCore::KURL::setPass): Ditto.
              (WebCore::KURL::setRef): Ditto.
              (WebCore::KURL::setQuery): Ditto.
              (WebCore::KURL::setPath): Ditto.
              (WebCore::KURL::prettyURL): Return String. Use Vector<UChar> to build it.
              (WebCore::decodeURLEscapeSequences): Renamed from KURL::decode_string.
              Return String. Use Vector<UChar> to build it.
              (WebCore::KURL::isLocalFile): Use protocolIs.
              (WebCore::KURL::parse): Added an overload that takes a String to replace
              the use of DeprecatedString::ascii at various call sites. Updated for
              name change (urlString -> m_string).
              (WebCore::equalIgnoringRef): Wrote a new implementation that doesn't
              do any allocation.
              (WebCore::encodeWithURLEscapeSequences): Renamed from KURL::encode_string.
              Return String.
              (WebCore::appendEncodedHostname): Added. Replaces encodeHostname and
              avoids the need to allocate a string.
              (WebCore::findHostnamesInMailToURL): Update to use findFirstOf instead of
              regular expressions.
              (WebCore::findHostnameInHierarchicalURL): Ditto.
              (WebCore::encodeHostnames): Use protocolIs and the other helpers above.
              (WebCore::encodeRelativeString): Changed to put result into a CharBuffer.
              (WebCore::substituteBackslashes): Updated to use String.
              (WebCore::KURL::copyToBuffer): Added.
              (WebCore::protocolIs): Added.
              (WebCore::blankURL): Added.
              (WebCore::KURL::print): Updated.
              * platform/KURL.h: Added a number of comments. Reorganized the header a bit.
              Made the string constructors explicit. Changed to use String instead of
              DeprecatedString. Removed encodedHTMLRef. Renamed and added a few functions.
      
              * platform/cf/KURLCFNet.cpp:
              (WebCore::KURL::KURL): Streamlined the logic a bit.
              (WebCore::KURL::createCFURL): Changed to use copyToBuffer.
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::createQTMovie): Removed getNSURL call.
              Use protocolIs.
              * platform/mac/ClipboardMac.mm:
              (WebCore::ClipboardMac::declareAndWriteDragImage): Removed getNSURL call.
              * platform/mac/CookieJar.mm:
              (WebCore::cookies): Removed getNSURL call.
              (WebCore::setCookies): Removed getNSURL call.
              * platform/mac/KURLMac.mm:
              (WebCore::KURL::KURL): Streamlined the logic a bit.
              * platform/mac/PasteboardMac.mm:
              (WebCore::Pasteboard::writeURL): Removed getNSURL call.
              (WebCore::Pasteboard::writeImage): Ditto.
              * platform/mac/SSLKeyGeneratorMac.mm:
              (WebCore::signedPublicKeyAndChallengeString): Ditto.
      
              * platform/network/HTTPParsers.cpp:
              (WebCore::filenameFromHTTPContentDisposition): Updated for String::split.
              * platform/network/ResourceHandle.cpp:
              (WebCore::ResourceHandle::portAllowed): Use protocolIs.
      
              * platform/network/cf/ResourceErrorCF.cpp:
              (WebCore::ResourceError::operator CFErrorRef): Removed deprecatedString call.
              * platform/network/curl/ResourceHandleManager.cpp:
              (WebCore::headerCallback): Ditto.
              (WebCore::parseDataUrl): Use String instead of DeprecatedString.
              (WebCore::ResourceHandleManager::startJob): Updated for KURL changes.
              * platform/network/mac/ResourceErrorMac.mm:
              (WebCore::ResourceError::operator NSError*): Removed getNSURL call.
              * platform/network/mac/ResourceRequest.h:
              (WebCore::ResourceRequest::ResourceRequest): Removed DeprecatedString use.
              * platform/network/mac/ResourceRequestMac.mm:
              (WebCore::ResourceRequest::doUpdatePlatformRequest): Removed getNSURL call.
              * platform/network/mac/ResourceResponseMac.mm:
              (WebCore::ResourceResponse::nsURLResponse): Removed getNSURL call.
      
              * platform/qt/ClipboardQt.cpp:
              (WebCore::ClipboardQt::writeURL): Removed deprecatedString call.
      
              * platform/text/CString.h:
              (WebCore::CStringBuffer::length): Fixed size_t/unsigned mismatch to make it
              possible to compile this on Windows with higher warning level
      
              * platform/text/PlatformString.h: Updated split to modify a result parameter
              rather than returning a Vector. Added charactersAreAllASCII and an append
              function that appends a String to a Vector<UChar>.
              * platform/text/String.cpp:
              (WebCore::String::split): Updated.
      
              * platform/win/BString.cpp:
              (WebCore::BString::BString): Added conversion from KURL.
              * platform/win/BString.h: Ditto.
      
              * platform/win/ClipboardUtilitiesWin.cpp:
              (WebCore::markupToCF_HTML): Removed use of deprecatedString.
              * platform/win/ClipboardWin.cpp:
              (WebCore::filesystemPathFromUrlOrTitle): Ditto.
              (WebCore::createGlobalHDropContent): Ditto.
              (WebCore::ClipboardWin::setData): Ditto.
              (WebCore::ClipboardWin::writeRange): Ditto.
              * platform/win/PasteboardWin.cpp:
              (WebCore::Pasteboard::writeSelection): Ditto.
              * plugins/PluginStream.cpp:
              (WebCore::PluginStream::startStream): Ditto.
              (WebCore::PluginStream::destroyStream): Ditto.
              * plugins/win/PluginViewWin.cpp:
              (WebCore::scriptStringIfJavaScriptURL): Ditto.
              (WebCore::PluginView::performRequest): Ditto.
              (WebCore::PluginView::PluginView): Ditto.
      
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::absoluteImageURL): Removed DeprecatedString use.
              (WebCore::HitTestResult::absoluteLinkURL): Ditto.
      
              * rendering/RenderFrameSet.cpp:
              (WebCore::RenderFrameSet::layOutAxis): Fixed comment wording.
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::paintReplaced): Removed use of DeperecatedString,
              (WebCore::RenderImage::imageMap): Changed to call useMap instead of imageMap;
              both do the same thing, and the first is standard DOM.
      
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::addPDFURLRect): Rewrote and streamlined to remove
              DeprecatedString use.
              * rendering/RenderObject.h: Changed addPDFURLRect to take const IntRect&.
      
              * rendering/RenderPartObject.cpp:
              (WebCore::isURLAllowed): Updated for KURL change and use equalIgnoringRef
              instead of doing a setRef to get the same effect.
              (WebCore::RenderPartObject::updateWidget): Updated for KURL change.
      
              * rendering/RenderText.cpp:
              (WebCore::charactersAreAllASCII): Moved the guts to PlatformString.h.
      
              * rendering/SVGRenderSupport.cpp:
              (WebCore::renderSubtreeToImage): Added missing call to do layout. I ran
              into this while doing some layout tests while URL processing was broken.
      
              * rendering/SVGRenderTreeAsText.h: Removed include.
      
              * svg/SVGImageLoader.cpp:
              (WebCore::SVGImageLoader::updateFromElement): Removed DeprecatedString use.
      
              * svg/graphics/SVGImage.cpp:
              (WebCore::SVGImage::draw): Added missing call to do layout. I ran
              into this while doing some layout tests while URL processing was broken.
              (WebCore::SVGImage::dataChanged): Use a null URL rather than an arbitrary
              string for the document.
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::getResponseXML): Removed DeprecatedString use.
              (WebCore::XMLHttpRequest::urlMatchesDocumentDomain): Ditto.
              (WebCore::XMLHttpRequest::open): Ditto.
              (WebCore::XMLHttpRequest::send):  Namespace change.
              (WebCore::XMLHttpRequest::dropProtection): Ditto.
              * xml/XMLHttpRequest.h: Removed DeprecatedString use.
      
              * xml/XSLImportRule.cpp:
              (WebCore::XSLImportRule::loadSheet): Removed DeprecatedString use.
              * xml/XSLStyleSheet.cpp:
              (WebCore::XSLStyleSheet::loadChildSheets): Ditto.
              (WebCore::XSLStyleSheet::loadChildSheet): Ditto.
              * xml/XSLStyleSheet.h: Ditto.
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc): Ditto.
              (WebCore::xsltStylesheetPointer): Ditto.
              (WebCore::xmlDocPtrFromNode): Ditto.
      
      WebKit/gtk:
      
              * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
              * webkit/webkitwebview.cpp: Ditto.
      
      WebKit/mac:
      
              Reviewed by Eric Seidel.
      
              - updated for WebCore KURL changes
      
              * History/WebHistoryItem.mm:
              (-[WebHistoryItem URL]): Removed getNSURL call.
              * Misc/WebElementDictionary.mm:
              (-[WebElementDictionary _absoluteImageURL]): Ditto.
              (-[WebElementDictionary _absoluteLinkURL]): Ditto.
              * Misc/WebNSAttributedStringExtras.mm:
              (fileWrapperForElement): Ditto.
              (+[NSAttributedString _web_attributedStringFromRange:]): Ditto.
              * Misc/WebNSURLExtras.mm:
              (-[NSString _webkit_stringByReplacingValidPercentEscapes]): Updated
              for function name change.
              * WebCoreSupport/WebContextMenuClient.mm:
              (WebContextMenuClient::downloadURL): Removed getNSURL call.
              * WebCoreSupport/WebDragClient.mm:
              (WebDragClient::createDragImageForLink): Ditto.
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect): Ditto.
              (WebFrameLoaderClient::startDownload): Ditto.
              (WebFrameLoaderClient::updateGlobalHistoryForStandardLoad): Ditto.
              (WebFrameLoaderClient::updateGlobalHistoryForReload): Ditto.
              (WebFrameLoaderClient::cancelledError): Ditto.
              (WebFrameLoaderClient::blockedError): Ditto.
              (WebFrameLoaderClient::cannotShowURLError): Ditto.
              (WebFrameLoaderClient::interruptForPolicyChangeError): Ditto.
              (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto.
              (WebFrameLoaderClient::fileDoesNotExistError): Ditto.
              (WebFrameLoaderClient::willUseArchive): Ditto.
              (WebFrameLoaderClient::setTitle): Ditto.
              (WebFrameLoaderClient::actionDictionary): Ditto.
              (WebFrameLoaderClient::createFrame): Ditto.
              (WebFrameLoaderClient::objectContentType): Ditto.
              (WebFrameLoaderClient::createPlugin): Ditto.
              (WebFrameLoaderClient::createJavaAppletWidget): Ditto.
              * WebView/WebDataSource.mm:
              (-[WebDataSource _URL]): Ditto.
              (-[WebDataSource _initWithDocumentLoader:]): Ditto.
              (-[WebDataSource unreachableURL]): Ditto.
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]): Ditto.
      
      WebKit/win:
      
              - updated for WebCore KURL changes
      
              * MarshallingHelpers.cpp:
              (MarshallingHelpers::BSTRToKURL): Removed deprecatedString call.
              (MarshallingHelpers::KURLToBSTR): Tweaked for efficiency.
              * WebContextMenuClient.cpp:
              (WebContextMenuClient::searchWithGoogle): Updated for KURL changes.
              * WebDataSource.cpp:
              (WebDataSource::unreachableURL): Ditto.
              * WebDownload.cpp:
              (WebDownload::init): Ditto.
              (WebDownload::initWithRequest): Ditto.
              * WebFrame.cpp:
              (WebFrame::loadData): Ditto.
              (WebFrame::loadURLIntoChild): Ditto.
              (WebFrame::objectContentType): Ditto.
              * WebResource.cpp:
              (WebResource::initWithData): Ditto.
              * WebURLResponse.cpp:
              (WebURLResponse::createInstance): Ditto.
              (WebURLResponse::initWithURL): Ditto.
              * WebView.cpp:
              (WebView::userAgentForURL): Ditto.
              (WebView::copyURL): Ditto.
              (WebView::notifyPreferencesChanged): Ditto.
      
      WebKit/wx:
      
              * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      640fa305
  9. 17 Jan, 2008 1 commit
  10. 12 Dec, 2007 1 commit
    • weinig@apple.com's avatar
      WebCore: · c5002665
      weinig@apple.com authored
              Reviewed by Darin Adler.
      
              Scrub URL out of the tree in preparation for renaming KURL to URL.
                  - Renames Document::URL() -> Document::url()
                  - Renames DocumentLoader::URL() -> DocumentLoader::url()
                  - Renames KURL::url() to KURL::string() and KURL::deprecatedString()
                  - Remove FrameLoader::URL()
                  - Various variable renames.
      
              The change from Document::URL() to Document::url() required changes
              to the bindings scripts as well, because URL() is the name of a DOM
              method.  The code generation scripts now have code to special case URL()
              to url().
      
              * WebCore.base.exp:
              * bindings/js/kjs_events.cpp:
              (WebCore::JSLazyEventListener::parseCode):
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * bindings/js/kjs_proxy.cpp:
              (WebCore::KJSProxy::initScript):
              * bindings/js/kjs_window.cpp:
              (KJS::Window::put):
              (KJS::Window::allowsAccessFrom):
              (KJS::Location::put):
              (KJS::LocationProtoFuncReplace::callAsFunction):
              (KJS::LocationProtoFuncReload::callAsFunction):
              (KJS::LocationProtoFuncAssign::callAsFunction):
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorCOM.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * css/CSSImportRule.cpp:
              (WebCore::CSSImportRule::insertedIntoParent):
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseValue):
              (WebCore::CSSParser::parseContent):
              (WebCore::CSSParser::parseBackgroundImage):
              (WebCore::CSSParser::parseFontFaceSrc):
              (WebCore::CSSParser::parseBorderImage):
              (WebCore::CSSParser::createImportRule):
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::setEncodedURL):
              * dom/Document.cpp:
              (WebCore::Document::processHttpEquiv):
              (WebCore::Document::cookie):
              (WebCore::Document::setCookie):
              (WebCore::Document::domain):
              (WebCore::Document::setDomain):
              (WebCore::Document::getImageMap):
              (WebCore::Document::completeURL):
              * dom/Document.h:
              (WebCore::Document::url):
              (WebCore::Document::baseURL):
              * dom/Element.cpp:
              (WebCore::Element::baseURI):
              * dom/ProcessingInstruction.h:
              * dom/StyledElement.cpp:
              (WebCore::StyledElement::addCSSImageProperty):
              * dom/StyledElement.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::endElementNs):
              (WebCore::XMLTokenizer::end):
              (WebCore::):
              * dom/XMLTokenizer.h:
              * editing/Editor.cpp:
              (WebCore::Editor::copy):
              * editing/markup.cpp:
              (WebCore::completeURLs):
              * history/CachedPage.h:
              (WebCore::CachedPage::url):
              * history/HistoryItem.cpp:
              (WebCore::HistoryItem::HistoryItem):
              (WebCore::HistoryItem::setURL):
              (WebCore::HistoryItem::isCurrentDocument):
              * html/HTMLBaseElement.cpp:
              (WebCore::HTMLBaseElement::process):
              * html/HTMLParser.cpp:
              (WebCore::HTMLParser::reportErrorToConsole):
              * html/HTMLScriptElement.cpp:
              (WebCore::HTMLScriptElement::childrenChanged):
              (WebCore::HTMLScriptElement::insertedIntoDocument):
              (WebCore::HTMLScriptElement::evaluateScript):
              * html/HTMLScriptElement.h:
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptExecution):
              * loader/Cache.cpp:
              (WebCore::createResource):
              (WebCore::Cache::requestResource):
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::checkNotify):
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::CachedResource):
              * loader/CachedResource.h:
              (WebCore::CachedResource::):
              * loader/CachedScript.h:
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::checkForReload):
              (WebCore::DocLoader::requestResource):
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::url):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::setRequest):
              (WebCore::DocumentLoader::startLoadingMainResource):
              * loader/DocumentLoader.h:
              * loader/FrameLoader.cpp:
              (WebCore::FormSubmission::FormSubmission):
              (WebCore::ScheduledRedirection::ScheduledRedirection):
              (WebCore::FrameLoader::changeLocation):
              (WebCore::FrameLoader::urlSelected):
              (WebCore::FrameLoader::requestFrame):
              (WebCore::FrameLoader::loadSubframe):
              (WebCore::FrameLoader::submitFormAgain):
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::didExplicitOpen):
              (WebCore::FrameLoader::replaceContentsWithScriptResult):
              (WebCore::FrameLoader::executeScript):
              (WebCore::FrameLoader::receivedFirstData):
              (WebCore::FrameLoader::begin):
              (WebCore::FrameLoader::startIconLoader):
              (WebCore::FrameLoader::commitIconURLToIconDatabase):
              (WebCore::FrameLoader::scheduleRefresh):
              (WebCore::FrameLoader::redirectionTimerFired):
              (WebCore::FrameLoader::loadPlugin):
              (WebCore::FrameLoader::didNotOpenURL):
              (WebCore::FrameLoader::updatePolicyBaseURL):
              (WebCore::FrameLoader::scrollToAnchor):
              (WebCore::FrameLoader::startRedirectionTimer):
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::canLoad):
              (WebCore::FrameLoader::shouldHideReferrer):
              (WebCore::FrameLoader::shouldAllowNavigation):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::open):
              (WebCore::FrameLoader::didTellBridgeAboutLoad):
              (WebCore::FrameLoader::haveToldBridgeAboutLoad):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::loadResourceSynchronously):
              (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
              (WebCore::FrameLoader::shouldTreatURLAsSameAsCurrent):
              (WebCore::FrameLoader::createHistoryItem):
              (WebCore::FrameLoader::addBackForwardItemClippedAtTarget):
              (WebCore::FrameLoader::loadItem):
              (WebCore::FrameLoader::urlsMatchItem):
              (WebCore::FrameLoader::recursiveGoToItem):
              (WebCore::FrameLoader::updateHistoryForStandardLoad):
              (WebCore::FrameLoader::updateHistoryForRedirectWithLockedHistory):
              * loader/FrameLoader.h:
              (WebCore::FrameLoader::url):
              * loader/ImageDocument.cpp:
              (WebCore::ImageDocument::createDocumentStructure):
              * loader/MainResourceLoader.cpp:
              (WebCore::shouldLoadAsEmptyDocument):
              (WebCore::MainResourceLoader::didFinishLoading):
              * loader/NavigationAction.cpp:
              (WebCore::NavigationAction::NavigationAction):
              * loader/NavigationAction.h:
              (WebCore::NavigationAction::url):
              * loader/PluginDocument.cpp:
              (WebCore::PluginTokenizer::createDocumentStructure):
              * loader/SubresourceLoader.cpp:
              (WebCore::SubresourceLoader::load):
              (WebCore::SubresourceLoader::create):
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::startLoading):
              (WebCore::IconLoader::finishLoading):
              * loader/loader.cpp:
              (WebCore::Loader::servePendingRequests):
              * loader/mac/LoaderNSURLExtras.m:
              (urlOriginalData):
              * page/Chrome.cpp:
              (WebCore::Chrome::setToolTip):
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::contextMenuItemSelected):
              * page/Frame.cpp:
              (WebCore::Frame::setUserStyleSheetLocation):
              * page/InspectorController.cpp:
              (WebCore::InspectorResource::type):
              (WebCore::addSourceToFrame):
              (WebCore::InspectorController::addScriptResource):
              (WebCore::InspectorController::updateScriptResourceRequest):
              (WebCore::InspectorController::didCommitLoad):
              * page/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge getData:andResponse:forURL:]):
              * platform/KURL.h:
              (WebCore::KURL::string):
              (WebCore::KURL::deprecatedString):
              * platform/mac/ClipboardMac.mm:
              (WebCore::ClipboardMac::getData):
              * platform/mac/CookieJar.mm:
              (WebCore::cookies):
              (WebCore::setCookies):
              * platform/mac/PasteboardMac.mm:
              (WebCore::Pasteboard::writeURL):
              (WebCore::fileWrapperForImage):
              (WebCore::Pasteboard::writeImage):
              (WebCore::Pasteboard::plainText):
              * platform/network/ResourceHandle.cpp:
              (WebCore::ResourceHandle::portAllowed):
              * platform/network/ResourceRequestBase.cpp:
              (WebCore::ResourceRequestBase::isNull):
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::willSendRequest):
              (WebCore::didReceiveResponse):
              (WebCore::didReceiveData):
              (WebCore::didFinishLoading):
              (WebCore::didFail):
              (WebCore::didReceiveChallenge):
              (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
              (WebCore::ResourceHandle::~ResourceHandle):
              (WebCore::ResourceHandle::start):
              * platform/win/ClipboardUtilitiesWin.cpp:
              (WebCore::createGlobalData):
              (WebCore::urlToMarkup):
              * platform/win/ClipboardWin.cpp:
              (WebCore::writeURL):
              (WebCore::writeImageToDataObject):
              (WebCore::ClipboardWin::writeURL):
              (WebCore::ClipboardWin::writeRange):
              * platform/win/PasteboardWin.cpp:
              (WebCore::Pasteboard::writeSelection):
              (WebCore::Pasteboard::writeURL):
              * plugins/win/PluginDatabaseWin.cpp:
              (WebCore::PluginDatabaseWin::findPlugin):
              * plugins/win/PluginStreamWin.cpp:
              (WebCore::PluginStreamWin::startStream):
              (WebCore::PluginStreamWin::destroyStream):
              * plugins/win/PluginViewWin.cpp:
              (WebCore::scriptStringIfJavaScriptURL):
              (WebCore::PluginViewWin::performRequest):
              * svg/SVGImageLoader.cpp:
              (WebCore::SVGImageLoader::updateFromElement):
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::getResponseXML):
              (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
              * xml/XSLImportRule.cpp:
              (WebCore::XSLImportRule::loadSheet):
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::createDocumentFromSource):
              (WebCore::xsltStylesheetPointer):
              (WebCore::xmlDocPtrFromNode):
      
      WebKit/mac:
      
              Reviewed by Darin Adler.
      
              Scrub URL out of the tree in preparation for renaming KURL to URL.
      
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::actionDictionary):
              * WebView/WebDataSource.mm:
              (-[WebDataSource _URL]):
              * WebView/WebView.mm:
              (-[WebView _dispatchDidReceiveIconFromWebFrame:]):
      
      WebKit/win:
      
              Reviewed by Darin Adler.
      
              Scrub URL out of the tree in preparation for renaming KURL to URL.
      
              * WebFrame.cpp:
              (WebFrame::url):
              (WebFrame::dispatchWillPerformClientRedirect):
              (WebFrame::setTitle):
              (WebFrame::updateGlobalHistoryForStandardLoad):
              (WebFrame::updateGlobalHistoryForReload):
              (WebFrame::cancelledError):
              (WebFrame::blockedError):
              (WebFrame::interruptForPolicyChangeError):
              (WebFrame::createPlugin):
              * WebView.cpp:
              (WebView::notifyDidAddIcon):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5002665
  11. 02 Oct, 2007 1 commit
    • weinig's avatar
      Reviewed by Oliver and Adam. · ee09932a
      weinig authored
              Patch for <rdar://problem/5506968> Fail to DnD local file with non-ascii character in path from desktop to Safari (can open it with file menu)
      
              Use CoreFoundation to do the conversion from path to URL, as the Windows API was not
              correctly converting to UTF-8 and we know CFURL will.
      
              * platform/win/ClipboardUtilitiesWin.cpp:
              (WebCore::urlFromPath):
              (WebCore::getURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee09932a
  12. 30 Jun, 2007 1 commit
    • aroben's avatar
      Give CString an equality operator to fix a bug in HTMLFormElement::formData · 3883cb8e
      aroben authored
      WebCore:
      
              Give CString an equality operator to fix a bug in HTMLFormElement::formData
      
              The bug was spotted by MSVC /W4. The problem was that we were comparing
              a CString to a char* using ==, but CString had no equality operator.
              The result was that the CString was being cast to a const char* and a
              pointer comparison was being done, which would (essentially) always
              return false.
      
              There are two parts to the fix: get rid of CString's const char*
              casting operator, and add an equality operator. Previous uses of the
              casting operator have been changed to use CString::data().
      
              Test: http/misc/isindex-formdata.html
      
              Reviewed by Oliver.
      
              * dom/XMLTokenizer.cpp:
              (WebCore::parseXMLDocumentFragment):
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::determineParseMode):
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::formData):
              * loader/TextResourceDecoder.cpp:
              (WebCore::TextResourceDecoder::checkForCSSCharset):
              * platform/CString.cpp:
              (WebCore::operator==):
              * platform/CString.h:
              * platform/KURL.cpp:
              (WebCore::encodeRelativeString):
              * platform/StringImpl.cpp:
              (WebCore::StringImpl::toDouble):
              * platform/network/cf/FormDataStreamCFNet.cpp:
              (WebCore::setHTTPBody):
              * platform/network/mac/FormDataStreamMac.mm:
              (WebCore::setHTTPBody):
              * platform/win/ClipboardUtilitiesWin.cpp:
              (WebCore::markupToCF_HTML):
              * plugins/win/PluginPackageWin.cpp:
              (WebCore::splitString):
              * plugins/win/PluginStreamWin.cpp:
              (WebCore::PluginStreamWin::startStream):
              (WebCore::PluginStreamWin::destroyStream):
              (WebCore::PluginStreamWin::sendJavaScriptStream):
              (WebCore::PluginStreamWin::didFinishLoading):
              * plugins/win/PluginViewWin.cpp:
              (WebCore::PluginViewWin::start):
              (WebCore::createUTF8String):
              (WebCore::PluginViewWin::userAgent):
              * xml/XSLStyleSheet.cpp:
              (WebCore::XSLStyleSheet::locateStylesheetSubResource):
              * xml/XSLTProcessor.cpp:
              (WebCore::xsltParamArrayFromParameterMap):
      
      LayoutTests:
      
              New test that makes sure we handle putting isindex into form data correctly.
      
              Reviewed by Oliver.
      
              * http/tests/misc/isindex-formdata-expected.txt: Added.
              * http/tests/misc/isindex-formdata.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3883cb8e
  13. 12 Jun, 2007 1 commit