1. 14 Apr, 2009 24 commits
    • hausmann@webkit.org's avatar
      2009-04-14 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> · 098154a3
      hausmann@webkit.org authored
              Reviewed by Tor Arne Vestbø.
      
              Rename QWebElement::setHtml and html to setXml and toXml respectivily.
      
              Also add a mean to define the scope (inner or other).
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42494 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      098154a3
    • aroben@apple.com's avatar
      Land updated Windows results for two tests changed by r42471 · 1f507486
      aroben@apple.com authored
              Rubber-stamped by Anders Carlsson.
      
              * platform/win/css1/text_properties/text_transform-expected.txt: Copied from LayoutTests/platform/mac-leopard/css1/text_properties/text_transform-expected.txt.
              * platform/win/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt: Copied from LayoutTests/platform/mac-leopard/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42493 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1f507486
    • aroben@apple.com's avatar
      Small run-javascriptcore-tests cleanup · e4903eeb
      aroben@apple.com authored
              Reviewed by Cameron Zwarich.
      
              * Scripts/run-javascriptcore-tests: Move the list of tests to skip
              into its own variable, annotated with the bugs that are filed about
              the various failures.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42492 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e4903eeb
    • aroben@apple.com's avatar
      Skip another sometimes-failing ecma/Date test on Windows · 9d5db852
      aroben@apple.com authored
              These failing tests are covered by Bug 25160: Various ecma/Date tests
              sometimes fail on Windows (but not Mac)
              <https://bugs.webkit.org/show_bug.cgi?id=25160>
      
              Reviewed by Cameron Zwarich.
      
              * Scripts/run-javascriptcore-tests: Added ecma/Date/15.9.2.1.js to the
              list of tests to skip.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42491 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9d5db852
    • hausmann@webkit.org's avatar
      2009-04-14 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> · d94ea894
      hausmann@webkit.org authored
              Reviewed by Tor Arne Vestbø.
      
              Rename QWebElement::setText() and text() to ::setPlainText and
              ::toPlainText, respectively.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42490 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d94ea894
    • jmalonzo@webkit.org's avatar
      2009-04-14 Jan Michael Alonzo <jmalonzo@webkit.org> · 91e35e3f
      jmalonzo@webkit.org authored
              Reviewed by Holger Freyther.
      
              [Gtk] disable soup auth dialog when running DRT
              https://bugs.webkit.org/show_bug.cgi?id=24598
      
              Disable soup's auth dialog when running the tests.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (setDefaultsToConsistentStateValuesForTesting):
              * GNUmakefile.am:
      
      2009-04-14  Jan Michael Alonzo  <jmalonzo@webkit.org>
      
              Reviewed by Holger Freyther.
      
              [Gtk] disable soup auth dialog when running DRT
              https://bugs.webkit.org/show_bug.cgi?id=24598
      
              Enable http/tests/xmlhttprequest/failed-auth.html test. We should
              be able to run this test in non-interactive mode
      
              * platform/gtk/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42489 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      91e35e3f
    • jmalonzo@webkit.org's avatar
      2009-04-14 Jan Michael Alonzo <jmalonzo@webkit.org> · 7aa53962
      jmalonzo@webkit.org authored
              Gtk build fix when building minidom. Not reviewed.
      
              Use C-style comment instead of C++ style since autotools builds
              minidom using gcc and not g++.
      
              * wtf/Platform.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42488 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7aa53962
    • mrowe@apple.com's avatar
      Update WebKitSystemInterface so that the Tiger portion supports PowerPC. · 2eac9f75
      mrowe@apple.com authored
      * libWebKitSystemInterfaceLeopard.a:
      * libWebKitSystemInterfaceTiger.a:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42487 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2eac9f75
    • ap@webkit.org's avatar
      Another Windows build fix. · e523b98d
      ap@webkit.org authored
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::WebCoreSynchronousLoader::load):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42486 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e523b98d
    • ap@webkit.org's avatar
      Windows build fix. · 3fbd22dd
      ap@webkit.org authored
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::WebCoreSynchronousLoader::willSendRequest):
              (WebCore::WebCoreSynchronousLoader::didReceiveChallenge):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42485 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3fbd22dd
    • ap@webkit.org's avatar
      Removed mentions of tests from ChangeLog - I'll land those once OS-level... · e5ee18af
      ap@webkit.org authored
      Removed mentions of tests from ChangeLog - I'll land those once OS-level support for this feature is in.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42484 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e5ee18af
    • ap@webkit.org's avatar
      Reviewed by Sam Weinig. · 738667ac
      ap@webkit.org authored
              <rdar://problem/6698851> Implement XMLHttpRequest withCredentials attribute
      
              Tests: http/tests/xmlhttprequest/cross-origin-authorization.html
                     http/tests/xmlhttprequest/cross-origin-no-authorization.html
      
              * WebCore.xcodeproj/project.pbxproj: Made ThreadableLoader.h private, as enum definitions
              from it are now used in otehr private headers.
      
              * xml/XMLHttpRequest.h:
              * xml/XMLHttpRequest.idl:
              Added withCredentials attribute. When it is false (default), neither credentials nor cookies
              are sent with cross origin requests, When it is true, those are sent, but the server needs
              to allow handling results via Access-Control-Allow-Credentials header. It was always possible
              to send a cross-site request with credentials via IFRAME or IMG, so this just adds a way to
              read results, as long as the server reports that it's allowed.
              Having the default set to false ensures that requests won't fail unexpectedly because of
              stored credentials and cookies for other resources in the target protection space.
      
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::loadRequestSynchronously): Allow stored credentials for same origin
              requests, and for cross origin ones that have withCredentials attribute set. Such code already
              existed for cookies (but it's simpler, because we could just set a ResourceRequest flag).
              (WebCore::XMLHttpRequest::loadRequestAsynchronously): Ditto.
      
              * platform/network/ResourceHandle.h: Added willSendRequest() - just like for other callbacks,
              is is easier to have code in the class. Also, loadResourceSynchronously() now takes a
              StoredCredentials option, matching async case.
      
              * platform/network/ResourceHandleClient.h:
              (WebCore::ResourceHandleClient::receivedCredential): Removed. This method could never be
              called, and no client used it.
              (WebCore::ResourceHandleClient::receivedRequestToContinueWithoutCredential): Ditto.
      
              * platform/network/ResourceHandleInternal.h:
              (WebCore::ResourceHandleInternal::ResourceHandleInternal): Split username and password out
              of request URL. We want to always get a callback for credentials to manage them in WebCore,
              so network back-end shouldn't see them too early.
      
              * platform/network/ResourceRequestBase.cpp:
              (WebCore::ResourceRequestBase::removeCredentials):
              * platform/network/ResourceRequestBase.h:
              Added a removeCredentials() method that removes login and password parts from request URL.
      
              * platform/network/mac/ResourceHandleMac.mm:
              (WebCoreCredentialStorage): Added a simple storage class for per-session credentials.
              (WebCore::ResourceHandle::loadResourceSynchronously): Pass allowStoredCredentials through.
              (WebCore::ResourceHandle::willSendRequest): On a redirect, credentials should be replaced.
              (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): Try credentials from the URL
              and per-session credentials. Code was partially moved from Obj-C callback.
              (WebCore::ResourceHandle::receivedCredential): Intercept per-session credentials and store
              them in WebCore storage.
              (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]): Don't
              store the redirected URL - we only needed credentials, which are now stored separately.
              (-[WebCoreResourceHandleAsDelegate connection:didReceiveAuthenticationChallenge:]): Removed
              code that was setting credentials from URL. First, the code is now in ResourceHandle, and
              also, it wasn't actually needed in Leopard release before this patch, see <rdar://problem/5298142>.
              (-[WebCoreSynchronousLoader dealloc]): Release credentials. Note that unlike ResourceHandle,
              this class still needs to track URL for checking whether a redirect is allowed. This is
              not a great solution, and we should unify client code to use the same checks in sync and
              async cases.
              (-[WebCoreSynchronousLoader connection:willSendRequest:redirectResponse:]): Just like in
              async case, put credentials aside to ensure that network back-end asks for them.
              (-[WebCoreSynchronousLoader connection:didReceiveAuthenticationChallenge:]): Use credentials
              from URL, or from WebCore storage.
              (-[WebCoreSynchronousLoader connectionShouldUseCredentialStorage:]): Don't use stored
              credentials when not allowed to.
              (+[WebCoreSynchronousLoader loadRequest:allowStoredCredentials:returningResponse:error:]):
              Put credentials aside to ensure that network back-end asks for them.
      
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::WebCoreCredentialStorage::set):
              (WebCore::WebCoreCredentialStorage::get):
              (WebCore::willSendRequest):
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::willSendRequest):
              (WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
              (WebCore::ResourceHandle::receivedCredential):
              (WebCore::ResourceHandle::loadResourceSynchronously):
              (WebCore::WebCoreSynchronousLoader::willSendRequest):
              (WebCore::WebCoreSynchronousLoader::didReceiveChallenge):
              (WebCore::WebCoreSynchronousLoader::shouldUseCredentialStorage):
              (WebCore::WebCoreSynchronousLoader::load):
              Same changes as in Mac case.
      
              * platform/network/curl/ResourceHandleCurl.cpp:
              (WebCore::ResourceHandle::loadResourceSynchronously):
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::ResourceHandle::loadResourceSynchronously):
              * platform/network/soup/ResourceHandleSoup.cpp:
              (WebCore::ResourceHandle::loadResourceSynchronously):
              Trying not to break the build.
      
              * dom/XMLTokenizerLibxml2.cpp: (WebCore::openFunc):
              * xml/XSLTProcessor.cpp: (WebCore::docLoaderFunc):
              Unconditionally allow stored credentials for these, as they only support same origin loads.
      
              * workers/WorkerContext.cpp: (WebCore::WorkerContext::importScripts):
              WorkerContext.importScripts() can be cross-origin, but sending credentials with it is no worse
              than sending them with <script src=...>, so this is also unconditionally allowed.
      
              * loader/DocumentThreadableLoader.cpp:
              (WebCore::DocumentThreadableLoader::loadResourceSynchronously): Pass through storedCredentials.
              (WebCore::DocumentThreadableLoader::create): Ditto.
              (WebCore::DocumentThreadableLoader::DocumentThreadableLoader): Save storedCredentials and
              sameOrigin flags foruse in callbacks.
              (WebCore::DocumentThreadableLoader::willSendRequest): Assert that loaders aren't all confused.
              (WebCore::DocumentThreadableLoader::didSendData): Ditto.
              (WebCore::DocumentThreadableLoader::didReceiveResponse): Ditto.
              (WebCore::DocumentThreadableLoader::didReceiveData): Ditto.
              (WebCore::DocumentThreadableLoader::didFinishLoading): Ditto.
              (WebCore::DocumentThreadableLoader::didFail): Ditto.
              (WebCore::DocumentThreadableLoader::getShouldUseCredentialStorage): Don't use credential
              storage if that's not allowed by the code that invoked DocumentThreadableLoader.
              (WebCore::DocumentThreadableLoader::didReceiveAuthenticationChallenge): Simulate a failure
              and cancel the request if we are about to ask the user for credentials for a cross-origin
              request, which is forbidden by CORS (and would have been very confusing if allowed).
              (WebCore::DocumentThreadableLoader::receivedCancellation): Assert that loaders aren't all confused.
      
              * loader/DocumentThreadableLoader.h: Updated for the new flags (storedCredentials and
              sameOrigin) that affect the loader. Eventually, we need to move all CORS logic from XHR here.
      
              * loader/ThreadableLoader.h: (StoredCredentials): Added another flag that affects loader
              behavior. We should combine all of these into a structure, and use it for sync requests, too.
      
              * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadResourceSynchronously):
              * loader/FrameLoader.h:
              * loader/ThreadableLoader.cpp:
              (WebCore::ThreadableLoader::create):
              (WebCore::ThreadableLoader::loadResourceSynchronously):
              * loader/WorkerThreadableLoader.cpp:
              (WebCore::WorkerThreadableLoader::WorkerThreadableLoader):
              (WebCore::WorkerThreadableLoader::loadResourceSynchronously):
              (WebCore::WorkerThreadableLoader::MainThreadBridge::MainThreadBridge):
              (WebCore::WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader):
              * loader/WorkerThreadableLoader.h:
              (WebCore::WorkerThreadableLoader::create):
              Pass through storedCredentials.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42483 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      738667ac
    • barraclough@apple.com's avatar
      speculative 'doze build fix · c12b244c
      barraclough@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42482 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c12b244c
    • barraclough@apple.com's avatar
      2009-04-13 Gavin Barraclough <barraclough@apple.com> · 443fc42c
      barraclough@apple.com authored
              Reviewed by Cap'n Geoff Garen.
      
              Yarr!
              (Yet another regex runtime).
      
              Currently disabled by default since the interpreter, whilst awesomely
              functional, has not been optimized and is likely slower than PCRE, and
              the JIT, whilst faster than WREC, is presently incomplete and does not
              fallback to using an interpreter for the cases it cannot handle.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * assembler/MacroAssemblerX86Common.h:
              (JSC::MacroAssemblerX86Common::move):
              (JSC::MacroAssemblerX86Common::swap):
              (JSC::MacroAssemblerX86Common::signExtend32ToPtr):
              (JSC::MacroAssemblerX86Common::zeroExtend32ToPtr):
              (JSC::MacroAssemblerX86Common::branch32):
              (JSC::MacroAssemblerX86Common::branch16):
              * assembler/X86Assembler.h:
              (JSC::X86Assembler::cmpw_im):
              (JSC::X86Assembler::testw_rr):
              (JSC::X86Assembler::X86InstructionFormatter::immediate16):
              * runtime/RegExp.cpp:
              (JSC::RegExp::RegExp):
              (JSC::RegExp::~RegExp):
              (JSC::RegExp::create):
              (JSC::RegExp::compile):
              (JSC::RegExp::match):
              * runtime/RegExp.h:
              * wtf/Platform.h:
              * yarr: Added.
              * yarr/RegexCompiler.cpp: Added.
              (JSC::Yarr::CharacterClassConstructor::CharacterClassConstructor):
              (JSC::Yarr::CharacterClassConstructor::reset):
              (JSC::Yarr::CharacterClassConstructor::append):
              (JSC::Yarr::CharacterClassConstructor::putChar):
              (JSC::Yarr::CharacterClassConstructor::isUnicodeUpper):
              (JSC::Yarr::CharacterClassConstructor::isUnicodeLower):
              (JSC::Yarr::CharacterClassConstructor::putRange):
              (JSC::Yarr::CharacterClassConstructor::charClass):
              (JSC::Yarr::CharacterClassConstructor::addSorted):
              (JSC::Yarr::CharacterClassConstructor::addSortedRange):
              (JSC::Yarr::newlineCreate):
              (JSC::Yarr::digitsCreate):
              (JSC::Yarr::spacesCreate):
              (JSC::Yarr::wordcharCreate):
              (JSC::Yarr::nondigitsCreate):
              (JSC::Yarr::nonspacesCreate):
              (JSC::Yarr::nonwordcharCreate):
              (JSC::Yarr::RegexPatternConstructor::RegexPatternConstructor):
              (JSC::Yarr::RegexPatternConstructor::~RegexPatternConstructor):
              (JSC::Yarr::RegexPatternConstructor::reset):
              (JSC::Yarr::RegexPatternConstructor::assertionBOL):
              (JSC::Yarr::RegexPatternConstructor::assertionEOL):
              (JSC::Yarr::RegexPatternConstructor::assertionWordBoundary):
              (JSC::Yarr::RegexPatternConstructor::atomPatternCharacter):
              (JSC::Yarr::RegexPatternConstructor::atomBuiltInCharacterClass):
              (JSC::Yarr::RegexPatternConstructor::atomCharacterClassBegin):
              (JSC::Yarr::RegexPatternConstructor::atomCharacterClassAtom):
              (JSC::Yarr::RegexPatternConstructor::atomCharacterClassRange):
              (JSC::Yarr::RegexPatternConstructor::atomCharacterClassBuiltIn):
              (JSC::Yarr::RegexPatternConstructor::atomCharacterClassEnd):
              (JSC::Yarr::RegexPatternConstructor::atomParenthesesSubpatternBegin):
              (JSC::Yarr::RegexPatternConstructor::atomParentheticalAssertionBegin):
              (JSC::Yarr::RegexPatternConstructor::atomParenthesesEnd):
              (JSC::Yarr::RegexPatternConstructor::atomBackReference):
              (JSC::Yarr::RegexPatternConstructor::copyDisjunction):
              (JSC::Yarr::RegexPatternConstructor::copyTerm):
              (JSC::Yarr::RegexPatternConstructor::quantifyAtom):
              (JSC::Yarr::RegexPatternConstructor::disjunction):
              (JSC::Yarr::RegexPatternConstructor::regexBegin):
              (JSC::Yarr::RegexPatternConstructor::regexEnd):
              (JSC::Yarr::RegexPatternConstructor::regexError):
              (JSC::Yarr::RegexPatternConstructor::setupAlternativeOffsets):
              (JSC::Yarr::RegexPatternConstructor::setupDisjunctionOffsets):
              (JSC::Yarr::RegexPatternConstructor::setupOffsets):
              (JSC::Yarr::compileRegex):
              * yarr/RegexCompiler.h: Added.
              * yarr/RegexInterpreter.cpp: Added.
              (JSC::Yarr::Interpreter::appendParenthesesDisjunctionContext):
              (JSC::Yarr::Interpreter::popParenthesesDisjunctionContext):
              (JSC::Yarr::Interpreter::DisjunctionContext::DisjunctionContext):
              (JSC::Yarr::Interpreter::DisjunctionContext::operator new):
              (JSC::Yarr::Interpreter::allocDisjunctionContext):
              (JSC::Yarr::Interpreter::freeDisjunctionContext):
              (JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::ParenthesesDisjunctionContext):
              (JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::operator new):
              (JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::restoreOutput):
              (JSC::Yarr::Interpreter::ParenthesesDisjunctionContext::getDisjunctionContext):
              (JSC::Yarr::Interpreter::allocParenthesesDisjunctionContext):
              (JSC::Yarr::Interpreter::freeParenthesesDisjunctionContext):
              (JSC::Yarr::Interpreter::InputStream::InputStream):
              (JSC::Yarr::Interpreter::InputStream::next):
              (JSC::Yarr::Interpreter::InputStream::rewind):
              (JSC::Yarr::Interpreter::InputStream::read):
              (JSC::Yarr::Interpreter::InputStream::readChecked):
              (JSC::Yarr::Interpreter::InputStream::reread):
              (JSC::Yarr::Interpreter::InputStream::prev):
              (JSC::Yarr::Interpreter::InputStream::getPos):
              (JSC::Yarr::Interpreter::InputStream::setPos):
              (JSC::Yarr::Interpreter::InputStream::atStart):
              (JSC::Yarr::Interpreter::InputStream::atEnd):
              (JSC::Yarr::Interpreter::InputStream::checkInput):
              (JSC::Yarr::Interpreter::InputStream::uncheckInput):
              (JSC::Yarr::Interpreter::testCharacterClass):
              (JSC::Yarr::Interpreter::tryConsumeCharacter):
              (JSC::Yarr::Interpreter::checkCharacter):
              (JSC::Yarr::Interpreter::tryConsumeCharacterClass):
              (JSC::Yarr::Interpreter::checkCharacterClass):
              (JSC::Yarr::Interpreter::tryConsumeBackReference):
              (JSC::Yarr::Interpreter::matchAssertionBOL):
              (JSC::Yarr::Interpreter::matchAssertionEOL):
              (JSC::Yarr::Interpreter::matchAssertionWordBoundary):
              (JSC::Yarr::Interpreter::matchPatternCharacter):
              (JSC::Yarr::Interpreter::backtrackPatternCharacter):
              (JSC::Yarr::Interpreter::matchCharacterClass):
              (JSC::Yarr::Interpreter::backtrackCharacterClass):
              (JSC::Yarr::Interpreter::matchBackReference):
              (JSC::Yarr::Interpreter::backtrackBackReference):
              (JSC::Yarr::Interpreter::recordParenthesesMatch):
              (JSC::Yarr::Interpreter::resetMatches):
              (JSC::Yarr::Interpreter::resetAssertionMatches):
              (JSC::Yarr::Interpreter::parenthesesDoBacktrack):
              (JSC::Yarr::Interpreter::matchParenthesesOnceBegin):
              (JSC::Yarr::Interpreter::matchParenthesesOnceEnd):
              (JSC::Yarr::Interpreter::backtrackParenthesesOnceBegin):
              (JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd):
              (JSC::Yarr::Interpreter::matchParentheticalAssertionOnceBegin):
              (JSC::Yarr::Interpreter::matchParentheticalAssertionOnceEnd):
              (JSC::Yarr::Interpreter::backtrackParentheticalAssertionOnceBegin):
              (JSC::Yarr::Interpreter::backtrackParentheticalAssertionOnceEnd):
              (JSC::Yarr::Interpreter::matchParentheses):
              (JSC::Yarr::Interpreter::backtrackParentheses):
              (JSC::Yarr::Interpreter::matchTerm):
              (JSC::Yarr::Interpreter::backtrackTerm):
              (JSC::Yarr::Interpreter::matchAlternative):
              (JSC::Yarr::Interpreter::matchDisjunction):
              (JSC::Yarr::Interpreter::matchNonZeroDisjunction):
              (JSC::Yarr::Interpreter::interpret):
              (JSC::Yarr::Interpreter::Interpreter):
              (JSC::Yarr::ByteCompiler::ParenthesesStackEntry::ParenthesesStackEntry):
              (JSC::Yarr::ByteCompiler::ByteCompiler):
              (JSC::Yarr::ByteCompiler::compile):
              (JSC::Yarr::ByteCompiler::checkInput):
              (JSC::Yarr::ByteCompiler::assertionBOL):
              (JSC::Yarr::ByteCompiler::assertionEOL):
              (JSC::Yarr::ByteCompiler::assertionWordBoundary):
              (JSC::Yarr::ByteCompiler::atomPatternCharacter):
              (JSC::Yarr::ByteCompiler::atomCharacterClass):
              (JSC::Yarr::ByteCompiler::atomBackReference):
              (JSC::Yarr::ByteCompiler::atomParenthesesSubpatternBegin):
              (JSC::Yarr::ByteCompiler::atomParentheticalAssertionBegin):
              (JSC::Yarr::ByteCompiler::popParenthesesStack):
              (JSC::Yarr::ByteCompiler::dumpDisjunction):
              (JSC::Yarr::ByteCompiler::closeAlternative):
              (JSC::Yarr::ByteCompiler::atomParenthesesEnd):
              (JSC::Yarr::ByteCompiler::regexBegin):
              (JSC::Yarr::ByteCompiler::regexEnd):
              (JSC::Yarr::ByteCompiler::alterantiveDisjunction):
              (JSC::Yarr::ByteCompiler::emitDisjunction):
              (JSC::Yarr::byteCompileRegex):
              (JSC::Yarr::interpretRegex):
              * yarr/RegexInterpreter.h: Added.
              (JSC::Yarr::ByteTerm::):
              (JSC::Yarr::ByteTerm::ByteTerm):
              (JSC::Yarr::ByteTerm::BOL):
              (JSC::Yarr::ByteTerm::CheckInput):
              (JSC::Yarr::ByteTerm::EOL):
              (JSC::Yarr::ByteTerm::WordBoundary):
              (JSC::Yarr::ByteTerm::BackReference):
              (JSC::Yarr::ByteTerm::AlternativeBegin):
              (JSC::Yarr::ByteTerm::AlternativeDisjunction):
              (JSC::Yarr::ByteTerm::AlternativeEnd):
              (JSC::Yarr::ByteTerm::PatternEnd):
              (JSC::Yarr::ByteTerm::invert):
              (JSC::Yarr::ByteTerm::capture):
              (JSC::Yarr::ByteDisjunction::ByteDisjunction):
              (JSC::Yarr::BytecodePattern::BytecodePattern):
              (JSC::Yarr::BytecodePattern::~BytecodePattern):
              * yarr/RegexJIT.cpp: Added.
              (JSC::Yarr::RegexGenerator::optimizeAlternative):
              (JSC::Yarr::RegexGenerator::matchCharacterClassRange):
              (JSC::Yarr::RegexGenerator::matchCharacterClass):
              (JSC::Yarr::RegexGenerator::jumpIfNoAvailableInput):
              (JSC::Yarr::RegexGenerator::jumpIfAvailableInput):
              (JSC::Yarr::RegexGenerator::checkInput):
              (JSC::Yarr::RegexGenerator::atEndOfInput):
              (JSC::Yarr::RegexGenerator::notAtEndOfInput):
              (JSC::Yarr::RegexGenerator::jumpIfCharEquals):
              (JSC::Yarr::RegexGenerator::jumpIfCharNotEquals):
              (JSC::Yarr::RegexGenerator::readCharacter):
              (JSC::Yarr::RegexGenerator::storeToFrame):
              (JSC::Yarr::RegexGenerator::loadFromFrame):
              (JSC::Yarr::RegexGenerator::TermGenerationState::TermGenerationState):
              (JSC::Yarr::RegexGenerator::TermGenerationState::resetAlternative):
              (JSC::Yarr::RegexGenerator::TermGenerationState::alternativeValid):
              (JSC::Yarr::RegexGenerator::TermGenerationState::nextAlternative):
              (JSC::Yarr::RegexGenerator::TermGenerationState::alternative):
              (JSC::Yarr::RegexGenerator::TermGenerationState::resetTerm):
              (JSC::Yarr::RegexGenerator::TermGenerationState::termValid):
              (JSC::Yarr::RegexGenerator::TermGenerationState::nextTerm):
              (JSC::Yarr::RegexGenerator::TermGenerationState::term):
              (JSC::Yarr::RegexGenerator::TermGenerationState::lookaheadTerm):
              (JSC::Yarr::RegexGenerator::TermGenerationState::isSinglePatternCharacterLookaheadTerm):
              (JSC::Yarr::RegexGenerator::TermGenerationState::inputOffset):
              (JSC::Yarr::RegexGenerator::TermGenerationState::jumpToBacktrack):
              (JSC::Yarr::RegexGenerator::TermGenerationState::setBacktrackGenerated):
              (JSC::Yarr::RegexGenerator::jumpToBacktrackCheckEmitPending):
              (JSC::Yarr::RegexGenerator::genertateAssertionBOL):
              (JSC::Yarr::RegexGenerator::genertateAssertionEOL):
              (JSC::Yarr::RegexGenerator::matchAssertionWordchar):
              (JSC::Yarr::RegexGenerator::genertateAssertionWordBoundary):
              (JSC::Yarr::RegexGenerator::genertatePatternCharacterSingle):
              (JSC::Yarr::RegexGenerator::genertatePatternCharacterPair):
              (JSC::Yarr::RegexGenerator::genertatePatternCharacterFixed):
              (JSC::Yarr::RegexGenerator::genertatePatternCharacterGreedy):
              (JSC::Yarr::RegexGenerator::genertatePatternCharacterNonGreedy):
              (JSC::Yarr::RegexGenerator::genertateCharacterClassSingle):
              (JSC::Yarr::RegexGenerator::genertateCharacterClassFixed):
              (JSC::Yarr::RegexGenerator::genertateCharacterClassGreedy):
              (JSC::Yarr::RegexGenerator::genertateCharacterClassNonGreedy):
              (JSC::Yarr::RegexGenerator::generateParenthesesSingleDisjunctionOneAlternative):
              (JSC::Yarr::RegexGenerator::generateParenthesesSingle):
              (JSC::Yarr::RegexGenerator::generateTerm):
              (JSC::Yarr::RegexGenerator::generateDisjunction):
              (JSC::Yarr::RegexGenerator::RegexGenerator):
              (JSC::Yarr::RegexGenerator::generate):
              (JSC::Yarr::jitCompileRegex):
              (JSC::Yarr::executeRegex):
              * yarr/RegexJIT.h: Added.
              (JSC::Yarr::RegexCodeBlock::RegexCodeBlock):
              * yarr/RegexParser.h: Added.
              (JSC::Yarr::):
              (JSC::Yarr::Parser::):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::CharacterClassParserDelegate):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::begin):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::atomPatternCharacterUnescaped):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::atomPatternCharacter):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::atomBuiltInCharacterClass):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::end):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::assertionWordBoundary):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::atomBackReference):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::flush):
              (JSC::Yarr::Parser::CharacterClassParserDelegate::):
              (JSC::Yarr::Parser::Parser):
              (JSC::Yarr::Parser::parseEscape):
              (JSC::Yarr::Parser::parseAtomEscape):
              (JSC::Yarr::Parser::parseCharacterClassEscape):
              (JSC::Yarr::Parser::parseCharacterClass):
              (JSC::Yarr::Parser::parseParenthesesBegin):
              (JSC::Yarr::Parser::parseParenthesesEnd):
              (JSC::Yarr::Parser::parseQuantifier):
              (JSC::Yarr::Parser::parseTokens):
              (JSC::Yarr::Parser::parse):
              (JSC::Yarr::Parser::saveState):
              (JSC::Yarr::Parser::restoreState):
              (JSC::Yarr::Parser::atEndOfPattern):
              (JSC::Yarr::Parser::peek):
              (JSC::Yarr::Parser::peekIsDigit):
              (JSC::Yarr::Parser::peekDigit):
              (JSC::Yarr::Parser::consume):
              (JSC::Yarr::Parser::consumeDigit):
              (JSC::Yarr::Parser::consumeNumber):
              (JSC::Yarr::Parser::consumeOctal):
              (JSC::Yarr::Parser::tryConsume):
              (JSC::Yarr::Parser::tryConsumeHex):
              (JSC::Yarr::parse):
              * yarr/RegexPattern.h: Added.
              (JSC::Yarr::CharacterRange::CharacterRange):
              (JSC::Yarr::):
              (JSC::Yarr::PatternTerm::):
              (JSC::Yarr::PatternTerm::PatternTerm):
              (JSC::Yarr::PatternTerm::BOL):
              (JSC::Yarr::PatternTerm::EOL):
              (JSC::Yarr::PatternTerm::WordBoundary):
              (JSC::Yarr::PatternTerm::invert):
              (JSC::Yarr::PatternTerm::capture):
              (JSC::Yarr::PatternTerm::quantify):
              (JSC::Yarr::PatternAlternative::PatternAlternative):
              (JSC::Yarr::PatternAlternative::lastTerm):
              (JSC::Yarr::PatternAlternative::removeLastTerm):
              (JSC::Yarr::PatternDisjunction::PatternDisjunction):
              (JSC::Yarr::PatternDisjunction::~PatternDisjunction):
              (JSC::Yarr::PatternDisjunction::addNewAlternative):
              (JSC::Yarr::RegexPattern::RegexPattern):
              (JSC::Yarr::RegexPattern::~RegexPattern):
              (JSC::Yarr::RegexPattern::reset):
              (JSC::Yarr::RegexPattern::containsIllegalBackReference):
              (JSC::Yarr::RegexPattern::newlineCharacterClass):
              (JSC::Yarr::RegexPattern::digitsCharacterClass):
              (JSC::Yarr::RegexPattern::spacesCharacterClass):
              (JSC::Yarr::RegexPattern::wordcharCharacterClass):
              (JSC::Yarr::RegexPattern::nondigitsCharacterClass):
              (JSC::Yarr::RegexPattern::nonspacesCharacterClass):
              (JSC::Yarr::RegexPattern::nonwordcharCharacterClass):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42481 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      443fc42c
    • oliver@apple.com's avatar
      Missed code from last patch · 260717af
      oliver@apple.com authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      260717af
    • hyatt@apple.com's avatar
      2009-04-13 David Hyatt <hyatt@apple.com> · cd34074f
      hyatt@apple.com authored
              Reviewed by Cameron Zwarich.
      
              Remove an outdated comment in ScrollView.h
      
              * platform/ScrollView.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cd34074f
    • oliver@apple.com's avatar
      BUG 25171: It should be possible to manually set the name of an anonymous function · e2d8a9fb
      oliver@apple.com authored
      <https://bugs.webkit.org/show_bug.cgi?id=25171>
      
      Submitted by Francisco Tolmasky <francisco@280north.com>
      Reviewed by Oliver Hunt.
      
      This change adds the displayName property to functions, which when set overrides the
      normal name when appearing in the console.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e2d8a9fb
    • eric.carlson@apple.com's avatar
      2009-04-13 Eric Carlson <eric.carlson@apple.com> · 13d7235a
      eric.carlson@apple.com authored
              Reviewed by Mark Rowe.
      
              https://bugs.webkit.org/show_bug.cgi?id=25177
      
              QTTrack's -media method always return NULL in 64-bit QTKit, so
              MediaPlayerPrivate::disableUnsupportedTracks should use
              QTTrackMediaTypeAttribute to get a track's type.
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::disableUnsupportedTracks):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42477 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      13d7235a
    • ggaren@apple.com's avatar
      2009-04-13 Geoffrey Garen <ggaren@apple.com> · 8c8c968a
      ggaren@apple.com authored
              Reviewed by Cameron Zwarich.
      
              More fix for https://bugs.webkit.org/show_bug.cgi?id=21260
              Unbounded memory growth when churning elements with anonymous event handler functions
      
              Stop using protected event listeners on the window object.
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::mark): Mark our event listeners, since they're
              no longer protected.
      
              (WebCore::JSDOMWindow::addEventListener):
              (WebCore::JSDOMWindow::removeEventListener): Create unprotected event
              listeners, since we mark them now.
      
              * bindings/js/JSEventListener.h: Made some functions public so
              DOMWindow could call them.
      
              * bindings/js/JSNodeCustom.cpp: Moved markEventListeners to a header,
              so it could be shared.
      
              * bindings/scripts/CodeGeneratorJS.pm: Generate event listener marking
              and invalidating code for the DOMWindow.
      
              * dom/RegisteredEventListener.h:
              (WebCore::markEventListeners):
              (WebCore::invalidateEventListeners): Added helper functions.
      
              * page/DOMWindow.idl: Make the window's event listener attributes not
              protected.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42476 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8c8c968a
    • eric.carlson@apple.com's avatar
      2009-04-13 Eric Carlson <eric.carlson@apple.com> · c5b17e5b
      eric.carlson@apple.com authored
              Reviewed by Mark Rowe.
      
              OS X standalone media documents should not switch from <video> to <embed> when 
              QTKit load state is QTMovieLoadStateLoading as that happens frequently when a loading
              with a slow network connection or when a movie is not saved fast-start.
      
              * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
              (WebCore::MediaPlayerPrivate::updateStates): Don't open movie with plug-in when QTKit's
              loadstate is QTMovieLoadStateLoading, wait until it drops below QTMovieLoadStateError.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c5b17e5b
    • dimich@chromium.org's avatar
      2009-04-13 Dmitry Titov <dimich@chromium.org> · 6c250526
      dimich@chromium.org authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=24453
              REGRESSION: If setTimeout is called on a iframe's window, the DOM changes to
              the main document that timer callback makes are not flushed.
      
              * bindings/js/ScheduledAction.cpp:
              (WebCore::ScheduledAction::execute):
              Use Document::updateStyleForAllDocuments() instead of document->updateStyleIfNeeded()
              since timers may affect documents other then their own.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42474 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6c250526
    • kov@webkit.org's avatar
      2009-04-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 25c89d2d
      kov@webkit.org authored
              Reviewed by David Hyatt.
      
              Check document for nullity to avoid crashing on GTK+, when
              creating the WebView.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::needsLayout):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      25c89d2d
    • adachan@apple.com's avatar
      Forgot to capitalize the "US". · f1938f5f
      adachan@apple.com authored
              * platform/text/win/TextBreakIteratorInternalICUWin.cpp:
              (WebCore::currentTextBreakLocaleID):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42472 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f1938f5f
    • adachan@apple.com's avatar
      <rdar://problem/6564956> URL field double-click selects entire domain,... · a0c69adb
      adachan@apple.com authored
              <rdar://problem/6564956> URL field double-click selects entire domain, rather than single word or entire URL
              Revert back to the old word breaking behavior by using en_US_POSIX locale.        
      
              Reviewed by Steve Falkenburg.
      
              * platform/text/win/TextBreakIteratorInternalICUWin.cpp:
              (WebCore::currentTextBreakLocaleID):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42471 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a0c69adb
  2. 13 Apr, 2009 16 commits
    • kdecker@apple.com's avatar
      Reviewed by Darin. · fdf7c18d
      kdecker@apple.com authored
              <rdar://problem/6784955> REGRESSION: closing a tab containing a PDF causes world leaks
              
              Simplify the _trackFirstResponder method by just caching the value instead of retaining
              a Cocoa object.
              
              * WebView/WebPDFView.h: Eliminated trackedFirstResponder object and replaced it with
              a firstResponderIsPDFDocumentView boolean.
              * WebView/WebPDFView.mm: 
              (-[WebPDFView dealloc]): Removed no longer necessary ASSERT.
              (-[WebPDFView viewWillMoveToWindow:]): Removed call to release and nil-out trackedFirstResponder,
              which no longer exists. In the new code all we do now is set firstResponderIsPDFDocumentView to NO.
              (-[WebPDFView _trackFirstResponder]): Rewrote this method to just cache the value instead
              of retaining an object.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42470 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fdf7c18d
    • darin@apple.com's avatar
      2009-04-13 Darin Adler <darin@apple.com> · 1443e3a3
      darin@apple.com authored
              Reviewed by Mark Rowe.
      
              * Scripts/check-for-exit-time-destructors: Add ERROR: and WARNING: prefixes to
              make these scripts work better with the build window in new versions of Xcode.
              * Scripts/check-for-global-initializers: Ditto.
              * Scripts/check-for-weak-vtables: Ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42469 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1443e3a3
    • darin@apple.com's avatar
      2009-04-13 Darin Adler <darin@apple.com> · 37cd95be
      darin@apple.com authored
              Reviewed by Dan Bernstein.
      
              * platform/cf/BinaryPropertyList.cpp: Added comment.
              * platform/cf/BinaryPropertyList.h: Fixed mistakes in comments.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42468 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      37cd95be
    • darin@apple.com's avatar
      WebCore: · e000806d
      darin@apple.com authored
      2009-04-13  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              Bug 25158: hit testing doesn't work right in some cases involving anonymous blocks
              https://bugs.webkit.org/show_bug.cgi?id=25158
              rdar://problem/6769693
      
              Test: editing/selection/click-after-nested-block.html
      
              * rendering/RenderBlock.cpp:
              (WebCore::isChildHitTestCandidate): Added. Helper so the two loops in positionForPoint
              can share code.
              (WebCore::RenderBlock::positionForPoint): Removed unneeded special case for first
              child box. Changed special case for last child box to propertly handle the various
              types of child box that are not hit test candidates (the same ones already handled
              by the hit test loop below), adding in a loop so we find the last candidate.
      
      LayoutTests:
      
      2009-04-13  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              Bug 25158: hit testing doesn't work right in some cases involving anonymous blocks
              https://bugs.webkit.org/show_bug.cgi?id=25158
              rdar://problem/6769693
      
              * editing/selection/click-after-nested-block-expected.txt: Added.
              * editing/selection/click-after-nested-block.html: Added.
      
              * fast/events/pointer-events-expected.txt: Updated since this is now a plain-text test.
              * fast/events/pointer-events.html: Changed this to a plain-text test, because the old
              results reflected a difference in hit testing behavior that this test was not intended
              to exercise and it's better to have the test be more cross-platform. Also removed
              unneeded use of waitUntilDone.
      
              * fast/js/finally-codegen-failure.html: Replaced with standard wrapper created by
              running the make-js-test-wrappers script. If we want to include type and charset
              attributes in the script elements, we can change make-js-test-wrappers to do that
              for all tests at some point.
              * fast/js/function-apply-aliased.html: Ditto.
              * fast/js/function-call-aliased.html: Ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42467 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e000806d
    • ggaren@apple.com's avatar
      JavaScriptCore: · 9c8d4e5f
      ggaren@apple.com authored
      2009-04-13  Geoffrey Garen  <ggaren@apple.com>
      
              Reviewed by Sam Weinig.
      
              Disabled another JavaScriptCore test because it fails on Windows but
              not Mac, so it makes the bots red.
      
              * tests/mozilla/expected.html:
      
      WebKitTools:
      
      2009-04-13  Geoffrey Garen  <ggaren@apple.com>
      
              Reviewed by Sam Weinig.
      
              Disabled another JavaScriptCore test because it fails on Windows but
              not Mac, so it makes the bots red.
      
              * Scripts/run-javascriptcore-tests:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42466 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9c8d4e5f
    • hyatt@apple.com's avatar
      Update accessibility layout test from last checkin. · 9ad1481c
      hyatt@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42465 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9ad1481c
    • hyatt@apple.com's avatar
      Webcore: · 87e9faf3
      hyatt@apple.com authored
      2009-04-13  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Sam Weinig.
      
              Fix for https://bugs.webkit.org/show_bug.cgi?id=25125.  Rework scrolling so that a layout happens first when
              it's already needed so that the code doesn't end up making bad decisions based off invalid document sizes.
      
              * WebCore.base.exp:
              * page/FrameView.h:
              (WebCore::FrameView::visibleContentsResized):
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::ScrollView):
              (WebCore::ScrollView::updateScrollbars):
              * platform/ScrollView.h:
      
      WebKit/mac:
      
      2009-04-13  David Hyatt  <hyatt@apple.com>
      
              Reviewed by Sam Weinig.
      
              Fix for https://bugs.webkit.org/show_bug.cgi?id=25125.  Rework scrolling so that a layout happens first when
              it's already needed so that the code doesn't end up making bad decisions based off invalid document sizes.
      
              This patch also eliminates WebHTMLView's separate notion of needing a layout and just consolidates it with
              WebCore's notion of needing layout.
      
              * WebView/WebDynamicScrollBarsView.m:
              (-[WebDynamicScrollBarsView updateScrollers]):
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView _frameOrBoundsChanged]):
              (-[WebHTMLView initWithFrame:]):
              (-[WebHTMLView layoutToMinimumPageWidth:maximumPageWidth:adjustingViewSize:]):
              (-[WebHTMLView setNeedsLayout:]):
              (-[WebHTMLView _layoutIfNeeded]):
              (-[WebHTMLView _needsLayout]):
              * WebView/WebHTMLViewInternal.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42464 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      87e9faf3
    • aroben@apple.com's avatar
      Windows part 2 of <rdar://5438063> Saving history containing 100,000 entries... · 1e2e9ed5
      aroben@apple.com authored
      Windows part 2 of <rdar://5438063> Saving history containing 100,000 entries causes pauses of 2s while browsing
      
      WebCore:
      
              Add SharedBuffer::wrapCFData
      
              This is the CF-equivalent of wrapNSData.
      
              Reviewed by Brady Eidson.
      
              * platform/SharedBuffer.h:
              * platform/cf/SharedBufferCF.cpp:
              (WebCore::SharedBuffer::wrapCFData):
      
      WebKit/win:
      
              Windows part 2 of <rdar://5438063> Saving history containing 100,000
              entries causes pauses of 2s while browsing
      
              Reviewed by Brady Eidson.
      
              * Interfaces/IWebHistoryPrivate.idl: Added data, analagous to
              WebKit/mac's -[WebHistory _data] method.
      
              * WebHistory.cpp:
              (WebHistory::saveHistoryGuts): Changed to call data() to get the data for
              saving.
              (WebHistory::data): Added. Returns the data for saving as an IStream.
              (WebHistory::data): Added. Returns the data for saving as a CFDataRef.
      
              * WebHistory.h: Added data.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42463 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1e2e9ed5
    • kov@webkit.org's avatar
      2009-04-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 64d4d5d5
      kov@webkit.org authored
              Rubber-stamped by Holger Freyther.
      
              Further massage tests to disable tests that are failingto make the
              results more useful.
      
              * platform/gtk/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42462 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      64d4d5d5
    • ggaren@apple.com's avatar
      JavaScriptCore: · ddb98451
      ggaren@apple.com authored
      2009-04-13  Geoffrey Garen  <ggaren@apple.com>
      
              Reviewed by Sam Weinig.
              
              Disabled two JavaScriptCore tests because they fail on Window or Mac but
              not both, so they make the bots red.
      
              * tests/mozilla/expected.html: Updated expected results.
      
      WebKitTools:
      
      2009-04-13  Geoffrey Garen  <ggaren@apple.com>
      
              Reviewed by Sam Weinig.
      
              Disabled two JavaScriptCore tests because they fail on Window or Mac but
              not both, so they make the bots red.
      
              * Scripts/run-javascriptcore-tests:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42461 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ddb98451
    • justin.garcia@apple.com's avatar
      Adding a comment to my previous code change. · e090b190
      justin.garcia@apple.com authored
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42460 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e090b190
    • darin@apple.com's avatar
      2009-04-13 Darin Adler <darin@apple.com> · c6647243
      darin@apple.com authored
              * WebView/WebViewPrivate.h: Updated comments.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42459 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c6647243
    • mitz@apple.com's avatar
      - build fix · c9de2c91
      mitz@apple.com authored
              * page/EventHandler.cpp:
              (WebCore::documentPointForWindowPoint):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42458 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c9de2c91
    • antti@apple.com's avatar
      WebCore: · d43ca719
      antti@apple.com authored
      2009-04-13  Antti Koivisto  <antti@apple.com>
      
              Reviewed by Darin Adler.
      
              <rdar://problem/6740294> Increase the connection count per host
              
              Try to use six connections per host if possible.
      
              * WebCore.base.exp:
              * loader/loader.cpp:
              (WebCore::Loader::Loader):
              * platform/mac/WebCoreSystemInterface.h:
              * platform/mac/WebCoreSystemInterface.mm:
              * platform/network/ResourceRequestBase.cpp:
              (WebCore::initMaximumHTTPConnectionCountPerHost):
              * platform/network/ResourceRequestBase.h:
              * platform/network/mac/ResourceRequestMac.mm:
              (WebCore::initMaximumHTTPConnectionCountPerHost):
      
      WebKit/mac:
      
      2009-04-13  Antti Koivisto  <antti@apple.com>
      
              Reviewed by Darin Adler.
              
              <rdar://problem/6740294> Increase the connection count per host
      
              * WebCoreSupport/WebSystemInterface.m:
              (InitWebCoreSystemInterface):
      
      WebKitLibraries:
      
      2009-04-13  Antti Koivisto  <antti@apple.com>
      
              Reviewed by Darin Adler.
              
              <rdar://problem/6740294> Increase the connection count per host
      
              * WebKitSystemInterface.h:
              * libWebKitSystemInterfaceLeopard.a:
              * libWebKitSystemInterfaceTiger.a:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42457 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d43ca719
    • justin.garcia@apple.com's avatar
      WebCore: · 855bfa9a
      justin.garcia@apple.com authored
      2009-04-13  Justin Garcia  <justin.garcia@apple.com>
      
              Reviewed by Adele Peterson.
      
              https://bugs.webkit.org/show_bug.cgi?id=25153
              Can't place the caret into text field that scrolls the window on focus
              
              We refetch the target node in the shadow node case, and when we do so the window coordinate for the mouse event may
              be invalid because of scrolling that the focus handler did.  Cache the document point (that we derived from the window
              coordinate) and use that any time we refetch.
      
              * page/EventHandler.cpp:
              (WebCore::documentPointForWindowPoint):
              (WebCore::EventHandler::handleMousePressEvent):
              (WebCore::EventHandler::prepareMouseEvent):
      
      LayoutTests:
      
      2009-04-13  Justin Garcia  <justin.garcia@apple.com>
      
              Reviewed by Adele Peterson.
              
              <rdar://problem/6748324> REGRESSION (Kirkwood): Can't type in Netflix search field
      
              * fast/forms/25153-expected.txt: Added.
              * fast/forms/25153.html: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42456 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      855bfa9a
    • weinig@apple.com's avatar
      2009-04-13 Sam Weinig <sam@webkit.org> · 40603d7d
      weinig@apple.com authored
              Fix bad expected result.
      
              * fast/frames/frame-unload-crash-expected.txt:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42455 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      40603d7d