1. 07 Nov, 2006 5 commits
    • bdash's avatar
      2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com> · 808883b8
      bdash authored
              Reviewed by Maciej.
      
              Remove warning about garbage after #else. #else clause applies for all
              non-mac platforms, not only win.
      
              * kjs/date_object.cpp:
      2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Linux\Gdk build fixes.
      
              * loader/icon/IconDatabase.cpp:
              * loader/icon/SQLStatement.h:
              * platform/gdk/ChromeClientGdk.h: Added.
              (WebCore::ChromeClientGdk::~ChromeClientGdk):
              * platform/gdk/CursorGdk.cpp:
              (WebCore::pointerCursor):
              * platform/gdk/FrameGdk.cpp:
              (WebCore::doScroll):
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              (WebCore::FrameGdk::openURL):
              (WebCore::FrameGdk::handleGdkEvent):
              * platform/gdk/FrameGdk.h:
              (WebCore::FrameGdk::client):
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::PopupMenu::updateFromElement):
              * platform/gdk/ScreenGdk.cpp:
              * platform/gdk/TemporaryLinkStubs.cpp:
              (Slider::focusPolicy):
              (WebCore::ServeSynchronousRequest):
              (FrameGdk::goBackOrForward):
              (FrameGdk::getHistoryLength):
              (FrameGdk::historyURL):
              (ChromeClientGdk::canRunModal):
              (ChromeClientGdk::runModal):
              (WebCore::systemBeep):
              (WebCore::CachedResource::setPlatformResponse):
              (Path::transform):
              (ResourceLoader::loadsBlocked):
              (IconLoader::notifyIconChanged):
              * platform/network/gdk/ResourceHandleManager.cpp:
              (WebCore::writeCallback):
              (WebCore::ResourceHandleManager::downloadTimerCallback):
              (WebCore::ResourceHandleManager::remove):
              (WebCore::ResourceHandleManager::add):
      2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
      
              Reviewed by Maciej.
      
              Linux\gdk build fixes.
      
              * GdkLauncher/main.cpp:
              (LauncherFrameGdk::LauncherFrameGdk):
              (main):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      808883b8
    • thatcher's avatar
      64-bit build fix, take two. · ea75f145
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea75f145
    • thatcher's avatar
      Build fix for 64-bit. · 1d878c16
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d878c16
    • ggaren's avatar
      Reviewed by Darin. · 7d43f1ba
      ggaren authored
              
              Accidentally rolled out this change when removing the WebPageBridge. Now
              putting it back.
      
              * WebView/WebView.mm:
              (-[WebView _commonInitializationWithFrameName:groupName:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d43f1ba
    • ggaren's avatar
      build fix. · fefe700f
      ggaren authored
              
              * WebCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fefe700f
  2. 06 Nov, 2006 21 commits
    • ggaren's avatar
      WebCore: · 52fd1079
      ggaren authored
              Reviewed by Maciej, Anders, Darin.
      
              Removed the Page bridge. Beefed up Chrome. Added Screen and ScreenClient.
              Fixed a minor where WebCore would always assume it was displayed on the 
              monitor containing the menubar. window.open and window.showModalDialog 
              are now cross-platform. 
              
              Layout tests, manual-tests/show-modal-dialog, and manual-tests/
              window-open-features-parsing all pass. I verified the new screen functionality
              by running in DRT, and checking whether WebCore knew it was off-screen.
              
              Some refactoring remains, as all were not pleased by this design. I see
              in my future another patch.
      
              * bindings/js/kjs_window.cpp: Screen is now a stand-alone object with a
              client, to encapsulate asking the platform questions about the screen occupied by
              the page. (Previously, we always assumed we were on screen 0, which was a bug.)
              * bridge/mac/WebCoreFrameBridge.mm:
              (createMouseEventFromDraggingInfo): Reversed argument order, to match other
              functions.
              (-[WebCoreFrameBridge dragSourceMovedTo:]): ditto
              (-[WebCoreFrameBridge dragSourceEndedAt:operation:]): ditto
              * bridge/mac/WebCoreFrameNamespaces.h: Removed. Dead Code.
              * bridge/mac/WebCoreFrameNamespaces.mm: Removed. Dead Code.
              * bridge/mac/WebCorePageBridge.h: Removed. Dead Code.
              * bridge/mac/WebCorePageBridge.mm: Removed. Dead Code.
              * manual-tests/window-open-features-parsing.html: Updated for accuracy.
              (In this case, neither size nor position is specified, so you should
              get the default window size and position.)
              * page/Screen.cpp: Added. Includes screen-related helper functions used
              in WebCore and WebKit.
              * platform/PlatformMouseEvent.h: Exported common code so it doesn't have
              to be duplicated. Renamed "position" to "point" since both were used,
              and "point" seemed clearer.
              * platform/Screen.h: Removed. Dead Code.
              * platform/mac/LoggingMac.mm: Added. Moved code here from WebCorePageBridge
              initialization.
      
      WebKit:
      
              Reviewed by Maciej, Darin, Anders.
      
              Removed the Page bridge. Beefed up Chrome. Added Screen and ScreenClient.
              
              (WebChromeClient::pageRect): It may seem weird for the page to ask the Chrome/ChromeClient
              about its own dimensions. The idea here is that we're asking the Chrome how
              much space it has devoted to the page. We have API for this (-webViewContentRect), but 
              it was documented incorrectly (even Safari used it wrong), so we don't use 
              it anymore. Once we fix our API/documentation, we can return to making a
              delegate callback to ask for the page's size.
              (WebChromeClient::createWindow): Changed to take a FrameLoadRequest with
              an appropriate referrer, instead of making up its own.
              (WebChromeClient::createModalDialog): Changed to take a FrameLoadRequest with
              an appropriate referrer, instead of broken out parcels.
              * WebCoreSupport/WebPageBridge.h: Removed. Dead Code.
              * WebCoreSupport/WebPageBridge.mm: Removed. Dead Code.
              * WebCoreSupport/WebScreenClient.h: Added.
              * WebCoreSupport/WebScreenClient.mm: Added.
              * WebView/WebView.mm: Added NULL checks for new _private->page, since
              it's not NULL-safe like the bridge was, and it gets cleared before
              dealloc.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52fd1079
    • gdennis's avatar
      WebCore: · 10acb93c
      gdennis authored
              Reviewed by Tim Hatcher.
      
              Part of patch for http://bugs.webkit.org/show_bug.cgi?id=11323
              Link dragging behaviour does not obey WebKitEditableLinkBehavior WebPref
              
              No layout tests added as this must be tested manually by the test
              WebCore/manual-tests/contenteditable-link.html
      
              * WebCore.exp: Exported HitTestResult::isLiveLink().
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::HTMLAnchorElement):
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              (WebCore::HTMLAnchorElement::isLiveLink):
              * html/HTMLAnchorElement.h: added m_wasShiftKeyDownOnMouseDown variable
              to track shift key status.
              * manual-tests/contenteditable-link.html: Added description about link
              dragging behaviour.
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::isLiveLink): Added.
              * rendering/HitTestResult.h:
      
      WebKit:
      
              Reviewed by Tim Hatcher.
      
              Part of patch for http://bugs.webkit.org/show_bug.cgi?id=11323
              Link dragging behaviour does not obey WebKitEditableLinkBehavior WebPref
      
              * DefaultDelegates/WebDefaultUIDelegate.m:
              (-[NSApplication webView:dragSourceActionMaskForPoint:]): Logic moved to 
              WebHTMLView's _mayStartDragAtEventLocation
              * Misc/WebElementDictionary.m: added isLiveLink
              (+[WebElementDictionary initializeLookupTable]):
              (-[WebElementDictionary _isLiveLink]):
              * WebView/WebHTMLView.m: 
              (-[WebHTMLView _mayStartDragAtEventLocation:]): Editable links should
              only be followed if isLiveLink is true
              (-[WebHTMLView _isMoveDrag:]): A drag of a live editable link is not
              a move
              (-[WebHTMLView draggingUpdatedWithDraggingInfo:actionMask:]):
              (-[WebHTMLView concludeDragForDraggingInfo:actionMask:]):
              * WebView/WebView.mm: added WebElementLinkIsLiveKey
              * WebView/WebViewPrivate.h: ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10acb93c
    • thatcher's avatar
      Reviewed by Anders. · bf2cf324
      thatcher authored
              Update the site with new wiki and Trac links.
      
              * blog/wp-content/themes/webkit/sidebar.php:
              * building/build.html:
              * index.html:
              * nav.inc:
              * projects/svg/index.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf2cf324
    • beidson's avatar
      Reviewed by Oliver · a810bf1f
      beidson authored
              Fixes <rdar://problem/4812674> and http://bugs.webkit.org/show_bug.cgi?id=11530
              For now, we have to not load favicons when we have no Document - linking directly 
              to PDFs being the common case
      
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::startLoading): Check for the document and return if none
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a810bf1f
    • oliver's avatar
      2006-11-06 Oliver Hunt <oliver@apple.com> · 42aa0e35
      oliver authored
              Reviewed by Mitz.
      
              * svg/W3C-SVG-1.1/text-intro-01-t-expected.checksum: Added.
              * svg/W3C-SVG-1.1/text-intro-01-t-expected.png: Added.
              * svg/W3C-SVG-1.1/text-intro-01-t-expected.txt: Added.
              * svg/W3C-SVG-1.1/text-intro-01-t.svg-disabled: Removed.
              * svg/W3C-SVG-1.1/text-intro-02-b-expected.checksum: Added.
              * svg/W3C-SVG-1.1/text-intro-02-b-expected.png: Added.
              * svg/W3C-SVG-1.1/text-intro-02-b-expected.txt: Added.
              * svg/W3C-SVG-1.1/text-intro-02-b.svg-disabled: Removed.
              * svg/W3C-SVG-1.1/text-intro-03-b-expected.checksum: Added.
              * svg/W3C-SVG-1.1/text-intro-03-b-expected.png: Added.
              * svg/W3C-SVG-1.1/text-intro-03-b-expected.txt: Added.
              * svg/W3C-SVG-1.1/text-intro-03-b.svg-disabled: Removed.
              * svg/W3C-SVG-1.1/text-intro-04-t-expected.checksum: Added.
              * svg/W3C-SVG-1.1/text-intro-04-t-expected.png: Added.
              * svg/W3C-SVG-1.1/text-intro-04-t-expected.txt: Added.
              * svg/W3C-SVG-1.1/text-intro-04-t.svg-disabled: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42aa0e35
    • beidson's avatar
      Reviewed by Dave Harrison · 4dbf6432
      beidson authored
              <rdar://problem/4801066>
              Added a critical null frameLoader() check
      
              * loader/mac/MainResourceLoaderMac.mm:
              (WebCore::MainResourceLoader::loadNow):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4dbf6432
    • harrison's avatar
      LayoutTests: · 581c07bc
      harrison authored
              Reviewed by Darin.
      
              <rdar://problem/4813973> Pressing delete key to remove empty quoted line leaves cursor mis-positioned
      
              * editing/deleting/delete-br-012-expected.checksum: Added.
              * editing/deleting/delete-br-012-expected.png: Added.
              * editing/deleting/delete-br-012-expected.txt: Added.
              * editing/deleting/delete-br-012.html: Added.
      
      WebCore:
      
              Reviewed by Darin.
      
              <rdar://problem/4813973> Pressing delete key to remove empty quoted line leaves cursor mis-positioned
      
              Test:
              * editing/deleting/delete-br-012.html
              
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::handleSpecialCaseBRDelete):
              Update m_endingPosition when preventing merge.
              Also removed setting of m_mergeBlocksAfterDelete when this function returns true, because is is not checked in this case.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      581c07bc
    • ap's avatar
      Build fix, approved in principle by Tim H. · 84df0c82
      ap authored
              * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
              Disable deprecated warnings for main.c (TestNetscapePlugin),
              as it now uses QuickDraw to convert mouse event coordinates.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84df0c82
    • thatcher's avatar
      Reviewed by Maciej. · f36e7cf9
      thatcher authored
              Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
              http://bugs.webkit.org/show_bug.cgi?id=11525
      
              * Drosera/debugger.js: imporved the function name code
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f36e7cf9
    • ap's avatar
      Reviewed by Sam Weinig. · 1dbedce4
      ap authored
              Fix a layout test failure that happened with additional fonts installed - replace a fancy 
              Unicode character with a plain asterisk.
      
              * css2.1/t0905-c414-flt-00-d-expected.checksum:
              * css2.1/t0905-c414-flt-00-d-expected.png:
              * css2.1/t0905-c414-flt-00-d-expected.txt:
              * css2.1/t0905-c414-flt-00-d.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dbedce4
    • ap's avatar
      Reviewed by Maciej. · 35836b92
      ap authored
              Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
              being attributed to the next test.
      
      WebKitTools:
              * DumpRenderTree/EditingDelegate.m:
              (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
              (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
              (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
              (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
              (-[EditingDelegate webView:shouldDeleteDOMRange:]):
              (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
              (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
              (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
              (-[EditingDelegate webViewDidBeginEditing:]):
              (-[EditingDelegate webViewDidChange:]):
              (-[EditingDelegate webViewDidEndEditing:]):
              (-[EditingDelegate webViewDidChangeTypingStyle:]):
              (-[EditingDelegate webViewDidChangeSelection:]):
              * DumpRenderTree/UIDelegate.m:
              (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
      
      LayoutTests:
              Removed leftover results from the previous test.
      
              * editing/selection/drag-to-contenteditable-iframe-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35836b92
    • bdash's avatar
      2006-11-07 Mark Rowe <bdash@webkit.org> · b908d861
      bdash authored
              http://bugs.webkit.org/show_bug.cgi?id=11526
              Bug 11526: REGRESSION(r17610): Layout test failure in svg/custom/create-metadata-element.svg
      
              Correctly updated tests results.
      
              * fast/dom/HTMLMetaElement/meta-attributes-expected.txt:
              * fast/dom/HTMLMetaElement/meta-attributes.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b908d861
    • bdash's avatar
      2006-11-06 Mark Rowe <bdash@webkit.org> · 4d5173b5
      bdash authored
              Reviewed by Maciej.
      
              http://bugs.webkit.org/show_bug.cgi?id=11526
              Bug 11526: REGRESSION(r17610): Layout test failure in svg/custom/create-metadata-element.svg
      
              Update DOMNode::toString to always use className rather than preferring nodeName.
      
              * bindings/js/kjs_dom.cpp:
              (KJS::DOMNode::toString): Match the format returned by valueOf.
      2006-11-06  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by Maciej.
      
              http://bugs.webkit.org/show_bug.cgi?id=11526
              Bug 11526: REGRESSION(r17610): Layout test failure in svg/custom/create-metadata-element.svg
      
              Updated test results for change from nodeName to className in DOMNode::toString.
      
              * fast/dom/HTMLMetaElement/meta-attributes-expected.txt:
              * fast/dom/prototype-chain-expected.txt:
              * fast/dom/replace-first-child-expected.txt:
              * fast/events/mouseclick-target-and-positioning-expected.txt:
              * fast/forms/input-appearance-preventDefault-expected.checksum:
              * fast/forms/input-appearance-preventDefault-expected.png:
              * fast/forms/input-appearance-preventDefault-expected.txt:
              * fast/loader/loadInProgress-expected.txt:
              * fast/tokenizer/external-script-document-write-expected.checksum:
              * fast/tokenizer/external-script-document-write-expected.png:
              * fast/tokenizer/external-script-document-write-expected.txt:
              * traversal/stay-within-root-expected.checksum:
              * traversal/stay-within-root-expected.png:
              * traversal/stay-within-root-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d5173b5
    • bdash's avatar
      2006-11-06 Mark Rowe <bdash@webkit.org> · 853eb89b
      bdash authored
              Reviewed by Alexey.
      
              Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
      
              * Scripts/run-webkit-tests: import the POSIX module.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      853eb89b
    • bdash's avatar
      Clean build fix after r17607: removed obselete header include. · bf96ccfd
      bdash authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf96ccfd
    • oliver's avatar
      2006-11-06 Oliver Hunt <oliver@apple.com> · 68b0e2ba
      oliver authored
              Reviewed by Maciej.
      
              Fix RTL text in SVG to have correct positioning
      
              * rendering/SVGRootInlineBox.cpp:
              (WebCore::SVGRootInlineBox::placeBoxesHorizontally):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68b0e2ba
    • ap's avatar
      Reviewed by Maciej. · fdfb9d6f
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=11517
              REGRESSION: Flash clicks/interactivity not working properly
      
      WebCore:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::handleMouseMoveEvent):
              (WebCore::FrameMac::handleMouseReleaseEvent):
              Restore parts of event dispatching that were removed when fixing
              bug 7323 - just bypass those for subframes.
      
      WebKitTools:
              Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
      
              <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
              <script>
                  plg.eventLoggingEnabled = true;
                  // use eventSender to simulate events...
              </script>
      
              * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
              (pluginGetProperty):
              (pluginSetProperty):
              (pluginAllocate):
              * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
              * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
              (NPP_HandleEvent):
      
      LayoutTests:
              * plugins/mouse-events-expected.txt: Added.
              * plugins/mouse-events.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdfb9d6f
    • bdash's avatar
      2006-11-06 Mark Rowe <bdash@webkit.org> · c1b7cdcb
      bdash authored
              Reviewed by the wonderful Mitz Pettel.
      
              http://bugs.webkit.org/show_bug.cgi?id=11524
              Bug 11524: REGRESSION(r9842): Array.prototype.join should use ToString operator rather than calling toString on each element
      
              * kjs/array_object.cpp:
              (ArrayProtoFunc::callAsFunction): Use ToString operator on each element rather than calling their toString method.
      2006-11-06  Mark Rowe  <bdash@webkit.org>
      
              Reviewed by the wonderful Mitz Pettel.
      
              Test for http://bugs.webkit.org/show_bug.cgi?id=11524
              Bug 11524: REGRESSION(r9842): Array.prototype.join should use ToString operator rather than calling toString on each element
      
              * fast/js/array-join-bug-11524-expected.txt: Added.
              * fast/js/array-join-bug-11524.html: Added.
              * fast/js/resources/array-join-bug-11524.js: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1b7cdcb
    • darin's avatar
      - quick attempt to fix the no-SVG build · 6de7ecea
      darin authored
              * platform/graphics/svg/SVGResource.cpp:
              * platform/graphics/svg/SVGResource.h:
              * platform/graphics/svg/SVGResourceClipper.cpp:
              * platform/graphics/svg/SVGResourceClipper.h:
              * platform/graphics/svg/SVGResourceImage.h:
              * platform/graphics/svg/SVGResourceMarker.cpp:
              * platform/graphics/svg/SVGResourceMarker.h:
              * platform/graphics/svg/SVGResourceMasker.cpp:
              * platform/graphics/svg/SVGResourceMasker.h:
              * platform/graphics/svg/cg/SVGResourceMaskerCg.h:
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
              * platform/graphics/svg/qt/SVGResourceImageQt.cpp:
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
              Added #ifdef SVG_SUPPORT to these files.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6de7ecea
    • mjs's avatar
      Reviewed & landed by Maciej. · 9e508e5a
      mjs authored
              Fixes http://bugs.webkit.org/show_bug.cgi?id=11265
      
              * platform/win/ResourceLoaderWin.cpp:
              (WebCore::transferJobStatusCallback):
              (WebCore::ResourceLoader::start):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e508e5a
    • mjs's avatar
      WebCore: · 1b7c0150
      mjs authored
              Reviewed by Oliver.
      
              - moved FormData and FormDataStream to platform/network directory
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreFrameBridge.mm:
              * loader/FormData.cpp: Removed.
              * loader/FormData.h: Removed.
              * loader/mac/FormDataStream.h: Removed.
              * loader/mac/FormDataStream.m: Removed.
              * loader/mac/FrameLoaderMac.mm:
              * loader/mac/SubresourceLoaderMac.mm:
              * platform/network/mac/FormDataStreamMac.h: Added.
              * platform/network/mac/FormDataStreamMac.mm: Added.
              * platform/network/mac/ResourceRequestMac.mm:
      
      WebKit:
      
              Reviewed by Oliver.
              
              - removed unneeded (and obsolete) header includes
      
              * WebCoreSupport/WebFrameBridge.mm:
              * WebView/WebFrame.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b7c0150
  3. 05 Nov, 2006 12 commits
    • sfalken's avatar
      2006-11-05 Steve Falkenburg <sfalken@apple.com> · 49fc47c0
      sfalken authored
              Fix build breaks
      
              * loader/DocumentLoader.h:
              * platform/win/ScreenWin.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49fc47c0
    • darin's avatar
      - WebKit part of Frame.h check-in (forgot to land it) · 3365861c
      darin authored
              * WebCoreSupport/WebFrameBridge.h:
              * WebCoreSupport/WebFrameBridge.mm:
              (-[WebFrameBridge textViewWasFirstResponderAtMouseDownTime:]):
              (-[WebFrameBridge shouldInterruptJavaScript]):
              (-[WebFrameBridge saveDocumentState:]):
              (-[WebFrameBridge previousKeyViewOutsideWebFrameViews]):
              (-[WebFrameBridge valueForKey:keys:values:]):
              (-[WebFrameBridge getObjectCacheSize]):
              (-[WebFrameBridge startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]):
              (-[WebFrameBridge mayStartDragAtEventLocation:]):
              (-[WebFrameBridge canGoBackOrForward:]):
              (-[WebFrameBridge goBackOrForward:]):
              (-[WebFrameBridge print]):
              (-[WebFrameBridge getAppletInView:]):
              (-[WebFrameBridge pollForAppletInView:]):
              (-[WebFrameBridge respondToChangedContents]):
              (-[WebFrameBridge respondToChangedSelection]):
              (-[WebFrameBridge setIsSelected:forView:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3365861c
    • darin's avatar
      Reviewed by Geoff. · 647be15c
      darin authored
              - more preparation for splitting up Frame into sub-pieces
              - removed unnecessary includes from Frame.h
      
              * page/Frame.h: Removed unneeded includes and forward declarations.
              Added additional forward declarations. Removed the constant
              NoXPosForVerticalArrowNavigation, now moved inside SelectionController.
              Created sections of functions to be moved into Chrome, Editor,
              EventHandler, FrameLoader, SelectionController, and the Platform
              directory, as well as marking one function for deletion.
      
              * page/FramePrivate.h: Removed the definition of the constructor and
              destructor and removed unnecessary includes.
      
              * page/FrameView.h: Removed unneeded forward declarations and friend
              declarations. Created a section of functions and data to be moved into
              EventHandler.
      
              * bridge/mac/FrameMac.h: Removed unneeded forward declarations.
              Created sections of functions and data to be moved into Chrome,
              Editor, EventHandler, FrameLoader, and the Platform directory.
      
              * bridge/mac/WebCoreFrameBridge.h: Removed obsolete comment.
              Removed unused methods areScrollbarsVisible,
              nextValidKeyViewOutsideWebFrameViews, and fileWrapperForURL:.
      
              * page/Frame.cpp:
              (WebCore::Frame::begin): Added an overload, so Frame.h doesn't have
              to include KURL.h just for the KURL default constructor.
              (WebCore::FramePrivate::FramePrivate): Moved here from FramePrivate.h.
              (WebCore::FramePrivate::~FramePrivate): Ditto.
      
              * page/FrameView.cpp: Removed unused scrollbarMoved and scrollingSelf
              booleans, scrollbarMoved and cleared funcitons.
              (WebCore::FrameView::clear): Moved the code from the cleared
              function in here.
              (WebCore::FrameView::scrollTo): Removed code to set scrollingSelf.
      
              * bridge/mac/FrameMac.mm: (WebCore::FrameMac::FrameMac): Updated
              for changes to header.
      
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::setSelection):
              (WebCore::SelectionController::xPosForVerticalArrowNavigation):
              Moved NoXPosForVerticalArrowNavigation into this file.
      
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_window.cpp:
              * bridge/mac/WebCoreAXObject.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * css/cssstyleselector.cpp:
              * dom/Document.cpp:
              * dom/Element.cpp:
              * dom/EventTargetNode.cpp:
              * dom/MouseRelatedEvent.cpp:
              * dom/XMLTokenizer.cpp:
              * html/HTMLBaseElement.cpp:
              * html/HTMLDocument.cpp:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLFrameElementBase.cpp:
              * html/HTMLGenericFormElement.cpp:
              * html/HTMLObjectElement.cpp:
              * html/HTMLTokenizer.cpp:
              * loader/mac/FrameLoaderMac.mm:
              * page/PageState.cpp:
              * rendering/RenderApplet.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderLayer.cpp:
              * rendering/RenderObject.cpp:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderTreeAsText.cpp:
              * xml/XSLTProcessor.cpp:
              Added includes as needed to keep compiling, since there are fewer
              includes in Frame.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      647be15c
    • ap's avatar
      Reviewed by Dave Harrison. · 5ec33463
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=11402
              REGRESSION: onChange does not work anymore for 1st item in popup
      
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::HTMLSelectElement):
              (WebCore::HTMLSelectElement::reset):
              Set m_lastOnChangeIndex to -1.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ec33463
    • bdash's avatar
      2006-11-04 David Smith <catfish.man@gmail.com> · 2dbfa899
      bdash authored
              Reviewed by Tim H.
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
              Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
      
              * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2dbfa899
    • bdash's avatar
      2006-11-04 David Smith <catfish.man@gmail.com> · 78ec3b95
      bdash authored
              Reviewed by Tim H.
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
              Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
      
              * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78ec3b95
    • bdash's avatar
      2006-11-04 David Smith <catfish.man@gmail.com> · 991e48a5
      bdash authored
              Reviewed by Tim H.
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
              Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
      
              * Drosera/debugger.js: blur() the function popup when we're done with it.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      991e48a5
    • darin's avatar
      s · 125e46d4
      darin authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      125e46d4
    • darin's avatar
      Reviewed by Ander. · 6eb347fa
      darin authored
              - fix http://bugs.webkit.org/show_bug.cgi?id=11453
                REGRESSION: Status bar always shows cancelled opening the page
      
              * platform/network/mac/ResourceHandleMac.mm:
              (WebCore::ResourceHandle::~ResourceHandle): Removed call to cancel.
              Since the subresource owns the resource handle, there's no need to cancel.
              This arrangement is only temporary, anyway, since Maciej will soon change
              things so that the subresource loader uses the resource handle and the
              resource handle doesn't know anything about the subresource loader.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6eb347fa
    • darin's avatar
      WebCore: · 7c9aa2d4
      darin authored
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                converted most uses of NSURL to KURL and NSEvent to DOM Event in
                loader classes
      
                moved download function out of FrameLoader.h to avoid reference to
                NSURLConnection
      
                added DOM Event parameters to various functions so that the handlers
                can use the DOM Event instead of the global "current NSEvent";
                includes Frame::submitForm, HTMLFormElement::prepareSubmit,
                HTMLFormElement::submit, FrameLoader::load
      
                moved the setMainFrame call that hands ownership to the Page
                into one of the Frame constructors, and removed it from all
                the clients
      
                removed const from Event parameter to the urlSelected function
                (we rarely use const with DOM elements)
      
                removed some redundant includes and declarations from various
                header files
      
                removed NSURL parameter from userAgent function -- if we need it we
                can add it back, but converting from NSURL to KURL and back is
                inefficient enough that it's best to have it out for now (since it's
                been unused for years) -- if we add it back, we can choose an
                appropriate parameter type that's always inexpensive to pass
      
                did some basic cleanup in the IconLoader class, including removing
                an unnecessary loop that added icon data a byte at a time
      
                renamed safeLoad to load, since it's no different from the other
                FrameLoader load functions, safety-wise
      
                fixed some code that was trying to distinguish null frame name from
                empty string frame name -- both should be handled the same, but callers
                were doing it by checking for empty and turning it into null (in a way
                that was causing extra round trips between NSString and WebCore::String)
      
                corrected all uses of "get" and "post" to be uppercase "GET" and "POST"
                and got rid of case-insensitive compares of methods
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/kjs_navigator.cpp:
              (KJS::Navigator::getValueProperty):
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::submitForm):
              (WebCore::FrameMac::urlSelected):
              (WebCore::FrameMac::userAgent):
              * bridge/mac/FrameViewMac.mm:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject rendererForView:]):
              * bridge/mac/WebCorePageBridge.h:
              * bridge/mac/WebCorePageBridge.mm:
              * bridge/mac/WebCoreSettings.mm:
              * bridge/win/FrameWin.cpp:
              (WebCore::FrameWin::urlSelected):
              (WebCore::FrameWin::submitForm):
              * bridge/win/FrameWin.h:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/UIEvent.cpp:
              (WebCore::UIEvent::~UIEvent):
              * dom/UIEvent.h:
              * dom/UIEventWithKeyState.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::openFunc):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::defaultEventHandler):
              * html/HTMLButtonElement.cpp:
              (WebCore::HTMLButtonElement::defaultEventHandler):
              * html/HTMLFormElement.cpp:
              (WebCore::HTMLFormElement::submitClick):
              (WebCore::HTMLFormElement::prepareSubmit):
              (WebCore::HTMLFormElement::submit):
              * html/HTMLFormElement.h:
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::defaultEventHandler):
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::menuListDefaultEventHandler):
              * loader/DocumentLoader.h:
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/NavigationAction.h:
              (WebCore::NavigationAction::event):
              * loader/icon/IconLoader.cpp:
              (WebCore::IconLoader::create):
              (WebCore::IconLoader::startLoading):
              (WebCore::IconLoader::didReceiveData):
              (WebCore::IconLoader::didFinishLoading):
              * loader/icon/IconLoader.h:
              * loader/loader.cpp:
              * loader/mac/DocumentLoaderMac.mm:
              (WebCore::DocumentLoader::URL):
              (WebCore::DocumentLoader::unreachableURL):
              (WebCore::DocumentLoader::replaceRequestURLForAnchorScroll):
              (WebCore::DocumentLoader::URLForHistory):
              * loader/mac/FrameLoaderMac.mm:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::willSendRequest):
              (WebCore::FrameLoader::clientRedirected):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::notifyIconChanged):
              (WebCore::FrameLoader::URL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::didChangeTitle):
              (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
              (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
              (WebCore::FrameLoader::post):
              (WebCore::FrameLoader::addExtraFieldsToRequest):
              (WebCore::FrameLoader::loadResourceSynchronously):
              * loader/mac/IconLoaderMac.mm:
              (WebCore::IconLoader::notifyIconChanged):
              * loader/mac/LoaderFunctionsMac.mm:
              * loader/mac/MainResourceLoaderMac.mm:
              (WebCore::shouldLoadAsEmptyDocument):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              * loader/mac/NavigationActionMac.mm:
              (WebCore::navigationType):
              (WebCore::NavigationAction::NavigationAction):
              * loader/mac/ResourceLoaderMac.mm:
              * loader/mac/SubresourceLoaderMac.mm:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              (WebCore::Frame::urlSelected):
              (WebCore::Frame::submitFormAgain):
              (WebCore::Frame::submitForm):
              (WebCore::Frame::endIfNotLoading):
              (WebCore::Frame::hitTestResultAtPoint):
              * page/Frame.h:
              * page/FramePrivate.h:
              * platform/gdk/FrameGdk.cpp:
              (WebCore::FrameGdk::FrameGdk):
              (WebCore::FrameGdk::submitForm):
              (WebCore::FrameGdk::urlSelected):
              * platform/gdk/FrameGdk.h:
              * platform/mac/TextFieldMac.mm:
              * platform/network/HTTPHeaderMap.h:
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleClient.h:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/mac/ResourceHandleMac.mm:
              * platform/network/mac/ResourceResponseMac.h:
              * platform/network/mac/ResourceResponseMac.mm:
              (-[NSURLResponse WebCore]):
              * platform/network/win/ResourceHandleWin.cpp:
              * platform/qt/FrameQt.cpp:
              (WebCore::FrameQt::submitForm):
              (WebCore::FrameQt::urlSelected):
              * platform/qt/FrameQt.h:
              * rendering/RenderLineEdit.cpp:
              (WebCore::RenderLineEdit::returnPressed):
              * xml/XSLTProcessor.cpp:
              (WebCore::docLoaderFunc):
              * xml/xmlhttprequest.cpp:
      
      WebKit:
      
              Reviewed by Maciej.
      
              - converted more of the loader machinery to work with cross-platform
                data structures instead of Macintosh-specific ones
      
                store the computed user agent string as a WebCore::String instead
                of an NSString to avoid overhead converting it every time we get it
      
              * COM/WebFrame.cpp:
              (WebFrame::initWithName):
              * ChangeLog:
              * Misc/WebElementDictionary.m:
              (-[WebElementDictionary _image]):
              (-[WebElementDictionary _targetWebFrame]):
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::dispatchWillPerformClientRedirect):
              (WebFrameLoaderClient::shouldTreatURLAsSameAsCurrent):
              (WebFrameLoaderClient::setTitle):
              (WebFrameLoaderClient::userAgent):
              (WebFrameLoaderClient::actionDictionary):
              * WebCoreSupport/WebPageBridge.mm:
              (WebCore::if):
              * WebView/WebDataSource.mm:
              (-[WebDataSource _URL]):
              (-[WebDataSource _URLForHistory]):
              (-[WebDataSource unreachableURL]):
              * WebView/WebHTMLView.m:
              (-[WebHTMLView elementAtPoint:allowShadowContent:]):
              * WebView/WebPDFView.mm:
              (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
              (-[WebPDFView _path]):
              * WebView/WebView.mm:
              (-[WebViewPrivate init]):
              (-[WebViewPrivate dealloc]):
              (-[WebViewPrivate finalize]):
              (-[WebView _preferencesChangedNotification:]):
              (-[WebView _cachedResponseForURL:]):
              (-[WebView setApplicationNameForUserAgent:]):
              (-[WebView setCustomUserAgent:]):
              (-[WebView customUserAgent]):
              (-[WebView userAgentForURL:]):
              (-[WebView _computeUserAgent]):
              (-[WebView WebCore::]):
              * WebView/WebViewInternal.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c9aa2d4
    • bdash's avatar
      2006-11-04 Mark Rowe <bdash@webkit.org> · a0d698eb
      bdash authored
              Reviewed by Darin.
      
              Fix use of uninitialized value in pattern match.
      
              * Scripts/webkitdirs.pm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0d698eb
    • mjs's avatar
      Reviewed by Adele. · 8eb36210
      mjs authored
              - replaced receivedRedirect with new willSendRequest delegate
              - removed most mac-specific loader functions
              - use ResourceResponse more in loader code
      
              * WebCore.xcodeproj/project.pbxproj: Add new files.
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge getData:andResponse:forURL:]): Adapted
              for CachedResource method renames.
              (-[WebCoreFrameBridge getAllResourceDatas:andResponses:]):
              Ditto.
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::checkNotify): simplified
              based on ResourceResponse
              * loader/CachedImage.cpp:
              (WebCore::CachedImage::createImage): adapt for ResourceResponse
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::CachedResource): store a ResourceResponse;
              platform response is now called platformResponse and expiration date
              is removed.
              (WebCore::CachedResource::~CachedResource): ditto
              (WebCore::CachedResource::isExpired): ditto
              * loader/CachedResource.h:
              (WebCore::CachedResource::platformResponse): ditto
              (WebCore::CachedResource::setResponse): ditto
              (WebCore::CachedResource::canDelete): ditto
              * loader/LoaderFunctions.h:
              * loader/loader.cpp:
              (WebCore::Loader::receivedResponse): Adjusted for renames.
              (WebCore::Loader::didReceiveResponse): Store whole ResourceResponse
              in the CachedResource.
              * loader/loader.h:
              * loader/mac/FormDataStream.h:
              * loader/mac/FormDataStream.m:
              (WebCore::getStreamFormDatas): Rearranged things so it's
              possible to get a FormData back out of a form data stream.
              (WebCore::formCreate): ditto
              (WebCore::formFinalize): ditto
              (WebCore::httpBodyFromStream): ditto
              * loader/mac/ImageDocumentMac.mm:
              (WebCore::finishImageLoad): s/response/platformResponse/
              * loader/mac/LoaderFunctionsMac.mm:
              (WebCore::CheckCacheObjectStatus): ditto
              (WebCore::CachedResource::setPlatformResponse): ditto
              * loader/mac/SubresourceLoaderMac.mm:
              (WebCore::SubresourceLoader::willSendRequest): send redirect
              to client appropriately
              * platform/network/ResourceHandle.h:
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::willSendRequest): new entry
              point for SubresourceLoader, dispatch to client.
              * platform/network/ResourceRequest.h:
              (WebCore::ResourceRequest::allowHTTPCookies): implemented
              (WebCore::ResourceRequest::setAllowHTTPCookies): ditto
              * platform/network/ResourceResponse.h:
              (WebCore::ResourceResponse::ResourceResponse): initialize expiration
              date(!)
              * platform/network/cf/FormDataStreamCFNet.cpp: Added.
              (WebCore::getStreamFormDatas): Added this, ported from NSURL version.
              (WebCore::openNextStream): ditto
              (WebCore::formCreate): ditto
              (WebCore::formFinalize): ditto
              (WebCore::formCanRead): ditto
              (WebCore::formEventCallback): ditto
              (WebCore::setHTTPBody): ditto
              (WebCore::httpBodyFromStream): ditto
              * platform/network/cf/FormDataStreamCFNet.h: Added.
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::willSendRequest): implemented
              (WebCore::ResourceHandle::start): use new ResourceRequest stuff
              * platform/network/cf/ResourceResponseCFNet.cpp:
              (WebCore::getResourceResponse): do nothing for a null response
              * platform/network/mac/ResourceHandleMac.mm:
              (WebCore::ResourceHandle::willSendRequest): Implemented; dispatch to client.
              * platform/network/mac/ResourceRequestMac.h: Added.
              * platform/network/mac/ResourceRequestMac.mm: Added.
              (WebCore::getResourceRequest): Added way to convert an NSURLRequest
              to a ResourceRequest.
              (WebCore::nsURLRequest): Opposite of the above.
              * platform/network/cf/ResourceRequestCFNet.h: Added.
              * platform/network/cf/ResourceRequestCFNet.cpp: Added.
              (WebCore::getResourceRequest): Added way to convert an CFURLRequest
              to a ResourceRequest.
              (WebCore::cfURLRequest): Opposite of the above.
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::willSendRequest): Renamed from receivedRedirect,
              adjusted.
              * xml/xmlhttprequest.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8eb36210
  4. 04 Nov, 2006 2 commits