1. 30 Jan, 2007 4 commits
  2. 29 Jan, 2007 33 commits
    • ggaren's avatar
      I am the chosen one! I have seen the faces of the final five! I will · 0309d898
      ggaren authored
              save the WebKit build!
              
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::load):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0309d898
    • ap's avatar
      Reviewed by Darin. · 1f0642c1
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=12464
              Fix XPath test suite conversion problems
      
              * dom/svg/level3/xpath/svgunit.js: Fixed createXPathEvaluator() to work in Firefox (whose
              document.getFeature returns null for XPath). Changed load() to use XMLHttpRequest, instead of
              merely cloning the current document.
      
              * dom/svg/level3/xpath/resources/internaldtd.xml: Added.
              * dom/svg/level3/xpath/resources/staff.dtd: Added.
              * dom/svg/level3/xpath/resources/staff.xml: Added.
              * dom/svg/level3/xpath/resources/staffNS.dtd: Added.
              * dom/svg/level3/xpath/resources/staffNS.xml: Added.
              Added external test documents.
      
              * dom/svg/level3/xpath/XPathEvaluator_evaluate_WRONG_DOCUMENT_ERR-expected.txt:
              * dom/svg/level3/xpath/XPathExpression_evaluate_WRONG_DOCUMENT_ERR-expected.txt:
              These tests now run, but fail. They also fail in Firefox, but pass in Opera.
      
              * dom/svg/level3/xpath/XPath...
      1f0642c1
    • ggaren's avatar
      JavaScriptCore: · b76a6c20
      ggaren authored
              Reviewed by Maciej Stachowiak.
      
              Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
              
              The TCMalloc module now initializes, if needed, inside GetCache() and 
              fastMallocSetIsMultiThreaded(). We leverage the same synchronization 
              technique used for enabling / disabling the single-threaded optimization 
              to synchronize initialization of the library without requiring a lock 
              for every malloc.
              
              1,251 runs of tcmalloc_unittest, 2 runs of a custom, massively multi-threaded 
              tcmalloc_unittest, and my custom version of the PLT show no regressions.
              Super-accurate JS iBench reports a .24% regression, which is right at the
              limit of its error range, so I'm declaring victory.
      
              * wtf/FastMalloc.cpp:
              (WTF::fastMallocSetIsMultiThreaded): Initialize, if needed. (InitModule()
              checks the "if needed" part.)
              (WTF::TCMalloc_ThreadCache::GetCache): Restored o...
      b76a6c20
    • gdennis's avatar
      LayoutTests: · 1b1375a2
      gdennis authored
              Reviewed by Maciej.
              
              - test for http://bugs.webkit.org/show_bug.cgi?id=10725
                Image data in from RTFD clipboard data thrown away
      
              * editing/pasteboard/paste-RTFD-expected.checksum: Added.
              * editing/pasteboard/paste-RTFD-expected.png: Added.
              * editing/pasteboard/paste-RTFD-expected.txt: Added.
              * editing/pasteboard/paste-RTFD.html: Added.
              * editing/pasteboard/paste-TIFF-expected.checksum: Added.
              * editing/pasteboard/paste-TIFF-expected.png: Added.
              * editing/pasteboard/paste-TIFF-expected.txt: Added.
              * editing/pasteboard/paste-TIFF.html: Added.
              * editing/resources/RTFD-pasteboard-data.dat: Added.
              * editing/resources/TIFF-pasteboard-data.dat: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              Part of fix for http://bugs.webkit.org/show_bug.cgi?id=10725
              Image data in from RTFD clipboard data thrown away
              
              ResourceHandles no longer need to be able to defer load...
      1b1375a2
    • bdash's avatar
      2007-01-29 Jim Correia <jim.correia@pobox.com> · 78827b4a
      bdash authored
              Reviewed by Mark.
      
              Added support for -allowsUndo/-setAllowsUndo: to allow editable WebView
              clients to completely disable undo registration. This is functionally
              equivalent to the methods with the same names on NSTextView.
      
              * WebView/WebView.mm:
              (-[WebViewPrivate init]):
              (-[WebView initWithCoder:]):
              (-[WebView encodeWithCoder:]):
              (-[WebView allowsUndo]):
              (-[WebView setAllowsUndo:]):
              (-[WebView undoManager]):
              * WebView/WebViewPrivate.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78827b4a
    • beidson's avatar
      Use a RetainPtr instead of a raw pointer · ded5c60b
      beidson authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ded5c60b
    • justing's avatar
      LayoutTests: · bce32c2f
      justing authored
              Reviewed by harrison
       
              <rdar://problem/4960137>
              ASSERTION FAILURE calling SelectionController::setBaseAndExtent (11833)
      
              * editing/selection/4960137-expected.checksum: Added.
              * editing/selection/4960137-expected.png: Added.
              * editing/selection/4960137-expected.txt: Added.
              * editing/selection/4960137.html: Added.
      
      WebCore:
      
              Reviewed by harrison
              
              <rdar://problem/4960137>
              ASSERTION FAILURE calling SelectionController::setBaseAndExtent (11833)
      
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::setSelection): Hand off the selection
              to the selectionController responsible for it, instead of asserting.
              A selection object can't be constructed with endpoints in different 
              documents, so this code is only necessary for one endpoint.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bce32c2f
    • adachan's avatar
      2007-01-29 Ada Chan <adachan@apple.com> · 942b524d
      adachan authored
              Reviewed by Brady.
              
              Moved the update of the title of the current entry in the backforward list to WebCore.
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::didChangeTitle):
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::setTitle):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      942b524d
    • adele's avatar
      WebCore: · 91175f31
      adele authored
              Reviewed by Darin.
      
              More preparation for event handling fixes.
      
              * bridge/EditorClient.h: Removed EventTargetNode parameter from handleKeyPress since we can just get that from the event.
              * dom/EventTargetNode.cpp: (WebCore::EventTargetNode::defaultEventHandler): ditto.
              * page/EventHandler.cpp: (WebCore::EventHandler::defaultKeyboardEventHandler): ditto.
              * page/EventHandler.h: ditto.
              * platform/graphics/svg/SVGImageEmptyClients.h: (WebCore::SVGEmptyEditorClient::handleKeyPress): ditto.
      
              * editing/Editor.h:
              * editing/Editor.cpp:
              (WebCore::Editor::handleKeyPress): Removed EventTargetNode parameter.
              (WebCore::Editor::execCommand): Made commandMap use AtomicStringImpls instead of Strings.
              (WebCore::Editor::insertText): Moved from the bridge.
      
              * page/mac/WebCoreFrameBridge.h: Moved insertText method to Editor.
              * page/mac/WebCoreFrameBridge.mm:
      
              * WebCore.exp: Updated exports.
      
      WebKit:
      
              Reviewed by Darin.
      
              More preparation for event handling fixes.
      
              * WebCoreSupport/WebEditorClient.h: Removed EventTargetNode parameter, since you can
                just get this from the KeyboardEvent.
              * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::handleKeyPress): ditto.
      
              * WebView/WebHTMLViewInternal.h: Added interpretKeyEventsParameters struct.
              * WebView/WebViewInternal.h: Changed parameter from NSEvent to WebCoreKeyboardEvent in _interceptEditingKeyEvent.
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView yankAndSelect:]): Updated for new triggeringEvent parameter.
              (-[WebHTMLView _interceptEditingKeyEvent:]): Set the WebHTMLViewInterpretKeyEventsParameters.
              (-[WebHTMLView doCommandBySelector:]): Access WebHTMLViewInterpretKeyEventsParameters.
              (-[WebHTMLView insertText:]): ditto.
              (-[WebHTMLView _insertText:selectInsertedText:triggeringEvent:]): Added parameter for triggeringEvent.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91175f31
    • andersca's avatar
      LayoutTests: · ddd35425
      andersca authored
              Reviewed by Geoff.
      
              <rdar://problem/4960097>
              http://bugs.webkit.org/show_bug.cgi?id=12444
              Assertion failure in -[WebCoreFrameBridge installInFrame:]
      
              * fast/parser/xhtml-document-with-html-object-expected.txt: Added.
              * fast/parser/xhtml-document-with-html-object.xhtml: Added.
      
      WebCore:
      
              Reviewed by Geoff.
      
              <rdar://problem/4960097>
              http://bugs.webkit.org/show_bug.cgi?id=12444
              Assertion failure in -[WebCoreFrameBridge installInFrame:]
              
              The problem was that the XML tokenizer didn't create elements with 
              createdByParser set to true.
              
              * dom/Document.cpp:
              (WebCore::Document::createElement):
              New method which takes a QName. This is used by both the XML tokenizer and createElementNS.
              
              (WebCore::Document::createElementNS):
              Call new createElement method.
              
              * dom/XMLTokenizer.h:        
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::XMLTokenizer):
              (WebCore::XMLTokenizer::~XMLTokenizer):
              Use an OwnPtr for the pending callbacks object. Also, use String instead of StringImpl in the hash map.
              
              (WebCore::toString):
              (WebCore::XMLTokenizer::startElementNs):
              Call createElement.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddd35425
    • beidson's avatar
      Reviewed by Oliver · 65b67427
      beidson authored
              http://bugs.webkit.org/show_bug.cgi?id=12465
              Only set the iconURL port for non-zero ports
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::iconURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65b67427
    • kmccullo's avatar
      JavaScriptCore: · 7401f7ae
      kmccullo authored
              Reviewed by Geoff and Oliver.
      
              - rdar://problem/4955561
              - missusing JavaScript shouldn't crash webkit.  Now it doesn't, in this case.
      
              * bindings/objc/objc_runtime.mm:
              (ObjcFallbackObjectImp::callAsFunction):
              * bindings/runtime_method.cpp:
              (RuntimeMethod::callAsFunction):
              * bindings/runtime_object.cpp:
              (RuntimeObjectImp::callAsFunction):
      
      LayoutTests:
      
              Reviewed by Geoff and Oliver.
      
              - rdar://problem/4955561
              - missusing JavaScript shouldn't crash webkit.  Now it doesn't in this case.
      
              * plugins/call-as-function-test-expected.txt: Added.
              * plugins/call-as-function-test.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7401f7ae
    • oliver's avatar
      2007-01-29 Oliver Hunt <oliver@apple.com> · f4707497
      oliver authored
              build fix
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView _startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4707497
    • sullivan's avatar
      * platform/network/mac/ResourceRequestMac.mm: · cd5f82ba
      sullivan authored
              Build fix -- removed #import of no-longer-extant WebDataProtocol.h (and also one of the
              two #imports for WebCoreSystemInterface.h, while I was at it)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd5f82ba
    • andersca's avatar
      Reviewed by Oliver. · 67c57781
      andersca authored
              * page/DragController.cpp:
              (WebCore::DragController::dragEnteredOrUpdated):
              Only try a drag operation if the drag client explicitly specified that it is OK
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67c57781
    • oliver's avatar
      2007-01-25 Oliver Hunt <oliver@apple.com> · e71315c1
      oliver authored
              Reviewed by Adam.
      WebKit:
              Migrated drag state and logic to WebCore, removed superfluous methods
      
              * ChangeLog:
              * WebCoreSupport/WebDragClient.h:
              * WebCoreSupport/WebDragClient.mm:
              (WebDragClient::dragSourceActionMaskForPoint):
              * WebCoreSupport/WebFrameBridge.mm:
                 allowDHTMLDrag move to WebCore::EventHandler
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView _startDraggingImage:at:operation:event:sourceIsDHTML:DHTMLWroteData:]):
              (-[WebHTMLView draggedImage:movedTo:]):
              (-[WebHTMLView draggedImage:endedAt:operation:]):
                dragOffset and dragSourecAction is now stored in WebCore::DragController
                migrated _delegateDragSourceActionMask to WebCore::DragController
              * WebView/WebHTMLViewInternal.h:
                Removed dragOffset declaration, migrated to WebCore::DragController
              * WebView/WebView.mm:
                removed unnecessary method, _loadingDragOperationForDraggingInfo                       
      
      WebKitQt:       
              Reviewed by Adam.
      
              Stub for new DragClient method
      
              * WebCoreSupport/DragClientQt.cpp:
              (WebCore::DragClientQt::dragSourceActionMaskForPoint):
              * WebCoreSupport/DragClientQt.h:                  
      
      WebCore:
              Reviewed by Adam.
      
              Migrated more drag logic and state to WebCore
                                                    
              * page/DragClient.h:       
      
              * page/DragController.cpp:
              (WebCore::DragController::delegateDragSourceAction):
                New forwarding method for the UI delegate
              * page/DragController.h:
              (WebCore::DragController::dragOffset):
                Now store the drag offset -- the offset of the cursor relative to the drag image)
                in DragController
              * page/EventHandler.cpp:
              (WebCore::EventHandler::allowDHTMLDrag):
                Moved from WebFrameBridge
              * page/EventHandler.h:
              * page/mac/EventHandlerMac.mm:
              (WebCore::EventHandler::eventMayStartDrag):
              (WebCore::EventHandler::handleDrag):                  
                EventHandlerMac now uses EventHandler::allowDHTMLDrag rather than the 
                implementation in WebFrameBridge
              * page/mac/WebCoreFrameBridge.h:
                removed definition of allowDHTMLDrag from WebFrameBridge
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyDragClient::dragSourceActionMaskForPoint):
                Updated empty DragClient
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e71315c1
    • ap's avatar
      Reviewed by Darin. · fd9f8312
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=12359
              XPathEvaluator may return some nodes more than once in a result set
      
              Test: fast/xpath/nodeset-duplicates.html
      
              * xml/XPathPath.cpp:
              (WebCore::XPath::LocationPath::doEvaluate): Ensure uniqueness of elements
              in the node-set.
      
              * xml/XPathPredicate.cpp:
              (WebCore::XPath::Union::doEvaluate): Fixed a uniqueness algorithm that was
              already present here. Added a FIXME about incorrect result ordering.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd9f8312
    • ap's avatar
      Reviewed by Darin. · af0e1445
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=12340
              XPathEvaluator behavior does not match Firefox - name() and attribute nodes
      
      WebCore:
              * xml/XPathFunctions.cpp:
              (WebCore::XPath::FunName::doEvaluate): Do not try to append a prefix if it doesn't exist.
      
      LayoutTests:
              * fast/xpath/name-null-namespace-expected.txt: Added.
              * fast/xpath/name-null-namespace.html: Added.
              Test for the bug.
      
              * fast/dom/xpath-empty-string-expected.txt: Removed.
              * fast/dom/xpath-empty-string.html: Removed.
              Moved these to fast/xpath.
      
              * fast/xpath/xpath-namespaces.html: Fixed an inline document to be well-formed, so the test now passes in Firefox.
              This is really a quirk of our DOMParser that the test passed in WebKit: on error, a descriptive message is appended to
              the partially parsed document, instead of replacing it.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af0e1445
    • ap's avatar
      Reviewed by Darin. · 6eb5af47
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=11815
              XPathEvaluator behavior does not match Firefox - substring() and empty element
      
              Test: fast/xpath/empty-string-substring.html
      
              * xml/XPathValue.cpp:
              (WebCore::XPath::Value::Value):
              * xml/XPathValue.h:
              Added a constructor taking const char*, so that string literals and arrays don't 
              get converted to boolean values.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6eb5af47
    • zack's avatar
      Cosmetic fixes - don't resize the widget in the constructor · 6d5f76ba
      zack authored
      (it was a hack from the initial port) and fix the paint
      signature)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d5f76ba
    • mjs's avatar
      - change from struct to class to make picky compilers happy · d9116de7
      mjs authored
              * loader/SubstituteData.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9116de7
    • bdash's avatar
      2007-01-30 Mark Rowe <mrowe@apple.com> · 638e3d0a
      bdash authored
              Reviewed by Maciej.
      
              http://bugs.webkit.org/show_bug.cgi?id=12458
              Bug 12458: Crash in W3C-SVG-1.1/animate-elem-09-t.svg running layout tests under guard malloc
      
              * ksvg2/svg/SVGAnimationElement.cpp: 
              (WebCore::parseValues): ptr either points to a ';' or off the end of the buffer.  We're
              interested in what comes before the ';', so start there instead.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      638e3d0a
    • zack's avatar
      Take the scrollbars into considation when computing · 3b817005
      zack authored
      the contents size of the main frame
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b817005
    • mjs's avatar
      - fix includes · e52bab7a
      mjs authored
              * loader/SubstituteData.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e52bab7a
    • mjs's avatar
      - added new file that I forgot in the last commit · 32bef010
      mjs authored
              * loader/SubstituteData.h: Added.
              (WebCore::SubstituteData::SubstituteData):
              (WebCore::SubstituteData::isValid):
              (WebCore::SubstituteData::content):
              (WebCore::SubstituteData::mimeType):
              (WebCore::SubstituteData::textEncoding):
              (WebCore::SubstituteData::failingURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32bef010
    • mjs's avatar
      WebCore: · 2d326f5c
      mjs authored
              Reviewed by Mark.
      
              - made data loading cross-platform
              - fixed <rdar://problem/4910106>
      
              * WebCore.exp:
              * WebCore.xcodeproj/project.pbxproj:
              * loader/CachedResource.cpp:
              * loader/CachedResource.h:
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestResource):
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::DocumentLoader):
              (WebCore::DocumentLoader::setRequest):
              (WebCore::DocumentLoader::urlForHistory):
              (WebCore::DocumentLoader::unreachableURL):
              * loader/DocumentLoader.h:
              (WebCore::DocumentLoader::substituteData):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::load):
              (WebCore::FrameLoader::shouldReloadToHandleUnreachableURL):
              (WebCore::FrameLoader::reloadAllowingStaleData):
              (WebCore::FrameLoader::reload):
              (WebCore::FrameLoader::commitProvisionalLoad):
              (WebCore::FrameLoader::startLoadingMainResource):
              (WebCore::FrameLoader::startLoading):
              (WebCore::FrameLoader::checkNavigationPolicy):
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/MainResourceLoader.cpp:
              (WebCore::MainResourceLoader::willSendRequest):
              (WebCore::MainResourceLoader::continueAfterContentPolicy):
              (WebCore::MainResourceLoader::handleEmptyLoad):
              (WebCore::MainResourceLoader::handleDataLoad):
              (WebCore::MainResourceLoader::loadNow):
              (WebCore::MainResourceLoader::load):
              * loader/MainResourceLoader.h:
              * loader/mac/DocumentLoaderMac.mm:
              * loader/mac/WebDataProtocol.h: Removed.
              * loader/mac/WebDataProtocol.mm: Removed.
              * loader/qt/DocumentLoaderQt.cpp:
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyFrameLoaderClient::createDocumentLoader):
      
      WebKit:
      
              Reviewed by Mark.
      
              - updated for cross-platform data loading support
              
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::createDocumentLoader):
              * WebView/WebDataSource.mm:
              (-[WebDataSource initWithRequest:]):
              * WebView/WebDocumentLoaderMac.h:
              * WebView/WebDocumentLoaderMac.mm:
              (WebDocumentLoaderMac::WebDocumentLoaderMac):
              * WebView/WebFrame.mm:
              (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
              (-[WebFrame loadData:MIMEType:textEncodingName:baseURL:]):
              (-[WebFrame _loadHTMLString:baseURL:unreachableURL:]):
              (-[WebFrame loadArchive:]):
              * WebView/WebFrameInternal.h:
              * WebView/WebHTMLView.mm:
              (uniqueURLWithRelativePart):
              (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:chosePlainText:]):
      
      WebKitQt:
      
              Reviewed by Mark.
      
              - updated for cross-platform data loading support
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::createDocumentLoader):
              * WebCoreSupport/FrameLoaderClientQt.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d326f5c
    • zack's avatar
      Order the build files alphabetically instead of · d5d0c607
      zack authored
      the random mess we had before
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5d0c607
    • zack's avatar
      Use the platform independent scrollbar code. · 2fb3bc52
      zack authored
      Remove the redundant empty stubs and forward
      few missing platform scrollbar calls
      r=Lars
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fb3bc52
    • staikos's avatar
      Make window resizing work · de769d58
      staikos authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de769d58
    • staikos's avatar
      Make popup windows work · 019150f8
      staikos authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      019150f8
    • lars's avatar
      Reviewed by Zack · 80fc94e3
      lars authored
              Fix the way we handle native widgets (QWidget) inside
              WebCore. Now WebCore::Widget owns the QWidget in all
              cases. This is the only way to get well defined semantics
              for all teh native widgets we have (currently ScrollView
              and ScrollBar, but plugins will follow).
      
              This has the side effect that one cannot rely on a defined 
              lifetime of a QWebFrame when using the API. 
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80fc94e3
    • staikos's avatar
      Missed saving this file before the previous checkin. · 93b48bf8
      staikos authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93b48bf8
    • staikos's avatar
      Implement more functions for the Qt build · 089ddb4c
      staikos authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      089ddb4c
  3. 28 Jan, 2007 3 commits
    • staikos's avatar
      Fix redirects with the Qt resource implementation. · 059e5aeb
      staikos authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      059e5aeb
    • ggaren's avatar
      Reviewed by Maciej Stachowiak. · fda60011
      ggaren authored
              
              First step in fixing <rdar://problem/4485644> REGRESSION: JavaScriptCore 
              has init routines
              
              Don't rely on a static initializer to store the main thread's ID (which
              we would use to detect allocations on secondary threads). Instead, require 
              the caller to notify fastMalloc if it might allocate on a secondary thread.
              
              Also fixed what seemed like a race condition in do_malloc.
              
              tcmalloc_unittest and my custom versions of JS iBench and PLT show no
              regressions.
      
              * wtf/FastMalloc.cpp:
              (WTF::fastMallocSetIsMultiThreaded): 
              (1) Renamed from "fastMallocRegisterThread", which was a misleading name because 
              not all threads need to register with fastMalloc -- only secondary threads 
              need to, and only for the purpose of disabling its single-threaded optimization. 
      
              (2) Use the pageheap_lock instead of a custom one, since we need to synchronize
              with the read of isMultiThreaded inside CreateCacheIfNecessary. This is a new
              requirement, now that we can't guarantee that the first call to CreateCacheIfNecessary
              will occur on the main thread at init time, before any other threads have been created.
      
              (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (WTF::do_malloc): Reverted WTF change only to call GetCache() if size <= kMaxSize.
              The WTF code would read phinited without holding the pageheap_lock, which
              seemed like a race condition. Regardless, calling GetCache reduces the number 
              of code paths to module initialization, which will help in writing the 
              final fix for this bug.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fda60011
    • bdash's avatar
      2007-01-29 Mark Rowe <mrowe@apple.com> · e1d0d467
      bdash authored
              Reviewed by Brady.
      
              http://bugs.webkit.org/show_bug.cgi?id=11085
              Bug 11085: REGRESSION: favicon.ico always looked for on port 80
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::iconURL): Copy the port over to the favicon URL.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1d0d467