Timeline



May 21, 2009:

11:20 PM Changeset in webkit [44034] by xan@webkit.org
  • 2 edits in trunk/JavaScriptCore

2009-05-21 Xan Lopez <xlopez@igalia.com>

Unreviewed build fix.

Add MacroAssemblerCodeRef.h to file list.

  • GNUmakefile.am:
9:44 PM Changeset in webkit [44033] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebCore

Merge r44031.

9:44 PM Changeset in webkit [44032] by mrowe@apple.com
  • 1 edit in branches/WWDC-2009-branch/WebCore/page/DragController.cpp

Build fix.

8:57 PM Changeset in webkit [44031] by Stephanie Lewis
  • 2 edits in trunk/WebCore

2009-05-21 Stephanie Lewis <Stephanie Lewis>

Reviewed by Mark Rowe.

<rdar://problem/6913680> Update image caching options.
Disable extra ImageIO cache because we already handle caching decoded image data.

  • platform/graphics/cg/ImageSourceCG.cpp: (WebCore::imageSourceOptions):
7:34 PM Changeset in webkit [44030] by barraclough@apple.com
  • 17 edits
    1 add in trunk/JavaScriptCore

2009-05-21 Gavin Barraclough <barraclough@apple.com>

Reviewed by Darin Adler.
Addition of MacroAssemblerCodeRef.h rubber stamped by Geoff Garen.

Refactor JIT code-handle objects. The representation of generated code is currently
a bit of a mess. We have a class JITCode which wraps the pointer to a block of
generated code, but this object does not reference the executable pool meaning that
external events (the pool being derefed) could make the pointer become invalid.
To overcome this both the JIT and Yarr implement further (and similar) objects to
wrap the code pointer with a RefPtr to the pool. To add to the mire, as well as the
CodeBlock containing a handle onto the code the FunctionBodyNode also contains a
copy of the code pointer which is used almost (but not entirely) uniquely to access
the JIT code for a function.

Rationalization of all this:

  • Add a new type 'MacroAssembler::CodeRef' as a handle for a block of JIT generated code.
  • Change the JIT & Yarr to internally handle code using CodeRefs.
  • Move the CodeRef (formerly anow defunct JITCodeRef) from CodeBlock to its owner node.
  • Remove the (now) redundant code pointer from FunctionBodyNode.

While tidying this up I've made the PatchBuffer return code in new allocations using a CodeRef,
and have enforced an interface that the PatchBuffer will always be used, and 'finalizeCode()' or
'finalizeCodeAddendum()' will always be called exactly once on the PatchBuffer to complete code generation.

This gives us a potentially useful hook ('PatchBuffer::performFinalization()') at the end of generation,
which may have a number of uses. It may be helpful should we wish to switch our generation
model to allow RW/RX exclusive memory, and it may be useful on non-cache-coherent platforms to
give us an oportunity to cache flush as necessary.

No performance impact.

  • assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::ProcessorReturnAddress::relinkCallerToTrampoline): (JSC::AbstractMacroAssembler::CodeRef::CodeRef): (JSC::AbstractMacroAssembler::CodeRef::trampolineAt): (JSC::AbstractMacroAssembler::PatchBuffer::PatchBuffer): (JSC::AbstractMacroAssembler::PatchBuffer::~PatchBuffer): (JSC::AbstractMacroAssembler::PatchBuffer::link): (JSC::AbstractMacroAssembler::PatchBuffer::linkTailRecursive): (JSC::AbstractMacroAssembler::PatchBuffer::patch): (JSC::AbstractMacroAssembler::PatchBuffer::complete): (JSC::AbstractMacroAssembler::PatchBuffer::finalize): (JSC::AbstractMacroAssembler::PatchBuffer::entry):
  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::CodeBlock): (JSC::CodeBlock::reparseForExceptionInfoIfNecessary): (JSC::CodeBlock::setJITCode):
  • bytecode/CodeBlock.h: (JSC::CodeBlock::getBytecodeIndex): (JSC::CodeBlock::executablePool):
  • interpreter/CallFrameClosure.h:
  • interpreter/Interpreter.cpp: (JSC::Interpreter::execute): (JSC::Interpreter::prepareForRepeatCall):
  • jit/JIT.cpp: (JSC::JIT::privateCompile): (JSC::JIT::privateCompileCTIMachineTrampolines): (JSC::JIT::linkCall):
  • jit/JIT.h:
  • jit/JITCode.h: (JSC::JITCode::JITCode): (JSC::JITCode::operator bool): (JSC::JITCode::addressForCall): (JSC::JITCode::offsetOf): (JSC::JITCode::execute): (JSC::JITCode::size): (JSC::JITCode::executablePool): (JSC::JITCode::HostFunction):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompilePutByIdTransition): (JSC::JIT::privateCompilePatchGetArrayLength): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
  • jit/JITStubs.cpp: (JSC::JITStubs::cti_vm_dontLazyLinkCall): (JSC::JITStubs::cti_vm_lazyLinkCall):
  • parser/Nodes.cpp: (JSC::ProgramNode::generateJITCode): (JSC::EvalNode::generateJITCode): (JSC::FunctionBodyNode::FunctionBodyNode): (JSC::FunctionBodyNode::createNativeThunk): (JSC::FunctionBodyNode::generateJITCode):
  • parser/Nodes.h: (JSC::ScopeNode::generatedJITCode): (JSC::ScopeNode::getExecutablePool): (JSC::ScopeNode::setJITCode): (JSC::ProgramNode::jitCode): (JSC::EvalNode::jitCode): (JSC::FunctionBodyNode::jitCode):
  • runtime/RegExp.cpp: (JSC::RegExp::match):
  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::compile): (JSC::Yarr::jitCompileRegex): (JSC::Yarr::executeRegex):
  • yarr/RegexJIT.h: (JSC::Yarr::RegexCodeBlock::RegexCodeBlock): (JSC::Yarr::RegexCodeBlock::pcreFallback): (JSC::Yarr::RegexCodeBlock::setFallback): (JSC::Yarr::RegexCodeBlock::operator bool): (JSC::Yarr::RegexCodeBlock::set): (JSC::Yarr::RegexCodeBlock::execute):
6:55 PM Changeset in webkit [44029] by levin@chromium.org
  • 5 edits
    1 add in trunk/WebCore

2009-05-21 Albert J. Wong <ajwong@chromium.org>

Reviewed by Eric Seidel.

Bug 25903: Create a default UI theme for media controls in Chromium.
https://bugs.webkit.org/show_bug.cgi?id=25903

Implement a default UI for chromium. Add a style sheet for Chromium
media controls with good defaults and implemented basic draw functions
for play/pause & mute buttons.

  • css/mediaControlsChromium.css: Added.
  • rendering/RenderThemeChromiumLinux.cpp: (WebCore::RenderThemeChromiumWin::extraMediaControlsStyleSheet): Export our custom media controls style sheet. (WebCore::RenderThemeChromiumLinux::paintMediaButtonInternal): Paint buttons respecting chromium media controls color scheme. (WebCore::RenderThemeChromiumLinux::paintMediaPlayButton): Paint logic specific to play/pause button. (WebCore::RenderThemeChromiumLinux::paintMediaMuteButton): Paint specific to mute button.
  • rendering/RenderThemeChromiumLinux.h: Appropriate header changes.
  • rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::extraMediaControlsStyleSheet): Export our custom media controls style sheet. (WebCore::RenderThemeChromiumWin::paintMediaButtonInternal): Paint buttons respecting chromium media controls color scheme. (WebCore::RenderThemeChromiumWin::paintMediaPlayButton): Paint logic specific to play/pause button. (WebCore::RenderThemeChromiumWin::paintMediaMuteButton): Paint specific to mute button. (WebCore::RenderThemeChromiumWin::setDefaultFontSize): Appropriate header changes.
  • rendering/RenderThemeChromiumWin.h:
6:48 PM Changeset in webkit [44028] by mrowe@apple.com
  • 4 adds in branches/WWDC-2009-branch/LayoutTests/http/tests

Merge r44027.

6:46 PM Changeset in webkit [44027] by ggaren@apple.com
  • 4 adds in trunk/LayoutTests/http/tests

Checked in layout tests I accidentally left out of my last check-in.

6:39 PM Changeset in webkit [44026] by mrowe@apple.com
  • 4 edits
    3 adds in branches/WWDC-2009-branch

Merge r44016.

6:39 PM Changeset in webkit [44025] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebCore

Merge r44011.

6:39 PM Changeset in webkit [44024] by mrowe@apple.com
  • 3 edits in branches/WWDC-2009-branch

Merge r44010.

6:38 PM Changeset in webkit [44023] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebCore

Merge r43993.

6:38 PM Changeset in webkit [44022] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/JavaScriptCore

Merge r43976.

6:38 PM Changeset in webkit [44021] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebKit/mac

Merge r43970.

6:35 PM Changeset in webkit [44020] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2009-05-21 Eric Seidel <eric@webkit.org>

Rubber-stamped by Antti Koivisto.

Make it possible to write js-only http tests by exposing a /js-test-resources alias.
https://bugs.webkit.org/show_bug.cgi?id=25915

Second attempt at landing, now using -c instead of -C to make sure
that mod_alias is loaded on Apache 1.x instances before using Alias.

  • Scripts/run-webkit-httpd:
  • Scripts/run-webkit-tests:
6:33 PM Changeset in webkit [44019] by weinig@apple.com
  • 6 edits in branches/nitro-extreme/JavaScriptCore

2009-05-21 Sam Weinig <sam@webkit.org>

Reviewed by Gavin Barraclough.

Implement op_negate inline fast cases.

  • assembler/MacroAssemblerX86Common.h: (JSC::MacroAssemblerX86Common::neg32):
  • assembler/X86Assembler.h: (JSC::X86Assembler::): (JSC::X86Assembler::negl_m): (JSC::X86Assembler::xorpd_rr):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_negate): (JSC::JIT::emitSlow_op_negate):
6:10 PM Changeset in webkit [44018] by kevino@webkit.org
  • 2 edits in trunk/WebCore

Reviewed by Kevin Ollivier.

When stripping the query from a file:// URL, do not leave a trailing question mark.

https://bugs.webkit.org/show_bug.cgi?id=25940

5:57 PM Changeset in webkit [44017] by kevino@webkit.org
  • 2 edits in trunk/WebCore

Reviewed by Kevin Ollivier.

Notify ImageObserver::didDraw to help the cache purge alive resources.

https://bugs.webkit.org/show_bug.cgi?id=25942

5:28 PM Changeset in webkit [44016] by oliver@apple.com
  • 4 edits
    3 adds in trunk

<rdar://problem/6910264> REGRESSION: Cached DOM global object property access fails in browser (25921)
<https://bugs.webkit.org/show_bug.cgi?id=25921>

Reviewed by Maciej Stachowiak.

When caching properties on the global object we need to ensure that we're
not attempting to cache through a shell object.

5:15 PM Changeset in webkit [44015] by levin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-21 Evan Martin <evan@chromium.org>

Reviewed by Eric Seidel.

Flesh out font fallback for Chromium's Skia port.
getLastResortFallbackFont should fall back on well-known fonts.
https://bugs.webkit.org/show_bug.cgi?id=25860

  • platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::getLastResortFallbackFont): try known font names.
5:09 PM Changeset in webkit [44014] by sfalken@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows build fix.

4:36 PM Changeset in webkit [44013] by mrowe@apple.com
  • 1 edit
    1 delete in branches/WWDC-2009-branch/LayoutTests

Merge r43891.

4:36 PM Changeset in webkit [44012] by mrowe@apple.com
  • 2 edits
    1 add
    1 delete in branches/WWDC-2009-branch

Merge r43880.

4:32 PM Changeset in webkit [44011] by mitz@apple.com
  • 2 edits in trunk/WebCore

Reviewed by John Sullivan.

  • speculative fix for <rdar://problem/6890716> crash at FontCache::purgeInactiveFontData + 199
  • platform/graphics/FontCache.cpp: (WebCore::FontCache::purgeInactiveFontData): Deleting a SimpleFontData can cause releaseFontData() to be called, which modifies gInactiveFontData. Therefore, avoid deleting SimpleFontData instances while iterating over gInactiveFontData and delete them afterwards.
4:26 PM Changeset in webkit [44010] by ggaren@apple.com
  • 3 edits in trunk

WebCore:

2009-05-21 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Test for <rdar://problem/6910832> | https://bugs.webkit.org/show_bug.cgi?id=25907
Incorrect URL returned to the DOM while the user drags a file

  • page/DragController.cpp: (WebCore::DragController::dragExited): (WebCore::DragController::tryDHTMLDrag): Don't base our decision on KURL, since that only looks at the text of the document's URL. Do base our decision on the securityOrigin(), which knows more about the document's actual origin.

LayoutTests:

2009-05-21 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Tests for <rdar://problem/6910832> | https://bugs.webkit.org/show_bug.cgi?id=25907
Incorrect URL returned to the DOM while the user drags a file

  • http/tests/local/drag-over-remote-content-expected.txt: Added.
  • http/tests/local/drag-over-remote-content.html: Added.
  • http/tests/security/drag-over-remote-content-iframe-expected.txt: Added.
  • http/tests/security/drag-over-remote-content-iframe.html: Added.
4:23 PM Changeset in webkit [44009] by mitz@apple.com
  • 1 edit in trunk/WebCore/ChangeLog

Correct change log

4:23 PM Changeset in webkit [44008] by mrowe@apple.com
  • 3 edits in branches/WWDC-2009-branch/WebKit/mac

Merge r43973.

4:23 PM Changeset in webkit [44007] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebKit/mac

Merge r43969.

4:22 PM Changeset in webkit [44006] by mrowe@apple.com
  • 12 edits
    2 adds in branches/WWDC-2009-branch

Merge r43964.

4:22 PM Changeset in webkit [44005] by mrowe@apple.com
  • 6 edits in branches/WWDC-2009-branch

Merge r43951.

4:22 PM Changeset in webkit [44004] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebCore

Merge r43942.

4:22 PM Changeset in webkit [44003] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebKit/mac

Merge r43937.

4:22 PM Changeset in webkit [44002] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebKit/mac

Merge r43931.

4:22 PM Changeset in webkit [44001] by mrowe@apple.com
  • 3 edits in branches/WWDC-2009-branch/WebCore

Merge r43949.

4:22 PM Changeset in webkit [44000] by mitz@apple.com
  • 2 edits in trunk/WebCore

Rubber-stamped by Mark Rowe.

Rolled out r43985.

  • platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes): (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
4:22 PM Changeset in webkit [43999] by mrowe@apple.com
  • 13 edits
    2 adds in branches/WWDC-2009-branch

Merge r43929.

4:22 PM Changeset in webkit [43998] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/WebKit/mac

Merge r43912.

4:22 PM Changeset in webkit [43997] by mrowe@apple.com
  • 4 edits in branches/WWDC-2009-branch/WebCore

Merge r43878.

4:22 PM Changeset in webkit [43996] by mrowe@apple.com
  • 3 edits
    2 adds in branches/WWDC-2009-branch

Merge r43876.

4:22 PM Changeset in webkit [43995] by mrowe@apple.com
  • 5 edits in branches/WWDC-2009-branch

Merge r43869.

4:21 PM Changeset in webkit [43994] by mrowe@apple.com
  • 3 edits in branches/WWDC-2009-branch/WebCore

Merge r43866.

4:00 PM Changeset in webkit [43993] by weinig@apple.com
  • 2 edits in trunk/WebCore

2009-05-21 Sam Weinig <sam@webkit.org>

Reviewed by Brady Eidson and Mark Rowe.

Fix for <rdar://problem/6901522>
REGRESSION: Office 2008: Preview with browser is not shown, and Finder window is in the front of Safari

If the NSURLRequest is annotated with a "ForceHTMLMIMEType" property, force
the MIME type to be text/html.

  • platform/network/mac/ResourceHandleMac.mm: (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
3:56 PM Changeset in webkit [43992] by kevino@webkit.org
  • 2 edits in trunk/WebCore

Blind windows fix after last commit.

3:42 PM Changeset in webkit [43991] by kov@webkit.org
  • 2 edits in trunk/LayoutTests

2009-05-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Fixing test to actually use the correct names for the frames.

  • http/tests/mime/accept-all-text-types.html:
3:29 PM Changeset in webkit [43990] by kevino@webkit.org
  • 4 edits in trunk/WebCore

Reviewed by Kevin Ollivier.

Use an environment variable to control which logs are on and off.
Also, make a generic function for translating channel name to its log.

https://bugs.webkit.org/show_bug.cgi?id=25936

3:15 PM Changeset in webkit [43989] by kov@webkit.org
  • 2 edits in trunk/LayoutTests

2009-05-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Disable 2 more tests that sometimes fail.

  • platform/gtk/Skipped:
3:12 PM Changeset in webkit [43988] by cwzwarich@webkit.org
  • 3 edits in trunk/JavaScriptCore

2009-05-21 Cameron Zwarich <zwarich@apple.com>

Reviewed by Mark Rowe.

Bug 25945: Add support for MADV_FREE to TCMalloc
<https://bugs.webkit.org/show_bug.cgi?id=25945>
<rdar://problem/6910754>

Add support for MADV_FREE to TCMalloc_SystemRelease for platforms that
don't also support MADV_FREE_REUSE. The code is identical to the MADV_DONTNEED
case except for the advice passed to madvise(), so combining the two cases
makes the most sense.

  • wtf/Platform.h: Only define HAVE_MADV_FREE when not building on Tiger or Leopard, because while it is defined on these platforms it actually does nothing.
  • wtf/TCSystemAlloc.cpp: (TCMalloc_SystemRelease): use MADV_FREE if it is available; otherwise use MADV_DONTNEED.
3:07 PM Changeset in webkit [43987] by kevino@webkit.org
  • 3 edits in trunk/WebKit/wx

wx build fix after method added to EditorClient.

2:54 PM Changeset in webkit [43986] by kov@webkit.org
  • 1 edit
    1 add in trunk/LayoutTests

2009-05-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Adding file I forgot to add to last commit.

  • http/tests/mime/resources/accept-all-text-types.cgi: Added.
2:47 PM Changeset in webkit [43985] by kov@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

2009-05-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Darin Adler.

Test that WebKit accepts any text/* type.

  • http/tests/mime/accept-all-text-types-expected.txt: Added.
  • http/tests/mime/accept-all-text-types.html: Added.
2:36 PM Changeset in webkit [43984] by darin@chromium.org
  • 2 edits in trunk/WebKit/mac

2009-05-21 Darin Fisher <darin@chromium.org>

Fix-up coding style.

  • WebCoreSupport/WebEditorClient.mm: (WebEditorClient::getAutoCorrectSuggestionForMisspelledWord):
2:36 PM Changeset in webkit [43983] by darin@chromium.org
  • 2 edits in trunk/WebKit/win

2009-05-21 Darin Fisher <darin@chromium.org>

Fix-up coding style.

  • WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::getAutoCorrectSuggestionForMisspelledWord):
2:35 PM Changeset in webkit [43982] by darin@chromium.org
  • 3 edits in trunk/WebKit/gtk

2009-05-21 Darin Fisher <darin@chromium.org>

Fix build bustage.

  • WebCoreSupport/EditorClientGtk.cpp: (WebKit::EditorClient::getAutoCorrectSuggestionForMisspelledWord): Add stub for method.
  • WebCoreSupport/EditorClientGtk.h:
2:19 PM Changeset in webkit [43981] by levin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-21 David Levin <levin@chromium.org>

Reviewed by Darin Fisher.

Bug 25946: Chromium needs MIMETypeRegistry::getMediaMIMETypeForExtension implementation.
https://bugs.webkit.org/show_bug.cgi?id=25946

A very simple implementation to keep it working. A bug has been filed in the chromium db
(http://code.google.com/p/chromium/issues/detail?id=12441) to investigate doing something more
complete.

  • platform/chromium/MimeTypeRegistryChromium.cpp: (WebCore::MIMETypeRegistry::getMediaMIMETypeForExtension):
2:02 PM Changeset in webkit [43980] by darin@chromium.org
  • 11 edits in trunk

2009-05-20 Siddhartha Chattopadhyaya <sidchat@google.com>

Reviewed by Justin Garcia.


Add automatic spell correction support in WebKit

https://bugs.webkit.org/show_bug.cgi?id=24953

  • editing/Editor.cpp: (WebCore::findFirstMisspellingInRange): (WebCore::Editor::advanceToNextMisspelling): (WebCore::Editor::markMisspellingsAfterTypingToPosition): (WebCore::markAllMisspellingsInRange): (WebCore::markMisspellingsOrBadGrammar): (WebCore::Editor::markMisspellings): (WebCore::Editor::markBadGrammar): (WebCore::Editor::markMisspellingsAndBadGrammar):
  • editing/Editor.h:
  • loader/EmptyClients.h: (WebCore::EmptyEditorClient::getAutoCorrectSuggestionForMisspelledWord):
  • page/EditorClient.h:
1:57 PM Changeset in webkit [43979] by christian@webkit.org
  • 2 edits in trunk/WebCore

2009-05-21 Christian Dywan <christian@twotoasts.de>

Reviewed by Darin Adler.

Text files which have sub MIME types are treated as not displayable
http://bugs.webkit.org/show_bug.cgi?id=24903

  • platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes): (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType): Regard any MIME type beginning with "text/" as supported and remove all "text/" types from the list.
1:54 PM Changeset in webkit [43978] by kov@webkit.org
  • 4 edits in trunk

LayoutTests

2009-05-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

Disable failing HTTP tests now that we are enabling HTTP on the
bot.

  • platform/gtk/Skipped:

WebKitTools

2009-05-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

Default to running HTTP tests for GTK+.

  • Scripts/run-webkit-tests:
1:30 PM Changeset in webkit [43977] by Darin Adler
  • 3 edits in trunk/WebKitTools

2009-05-21 Darin Adler <Darin Adler>

Rolled the httpd changes out, since many machines (including the bots)
have an older version of Apache that does not support the Alias command.
Or maybe it's something else, but the bots are failing.

  • Scripts/run-webkit-httpd: Rolled back.
  • Scripts/run-webkit-tests: Ditto.
12:57 PM Changeset in webkit [43976] by mrowe@apple.com
  • 2 edits in trunk/JavaScriptCore

Fix <https://bugs.webkit.org/show_bug.cgi?id=25917> / <rdar://problem/6910066>.
Bug 25917: REGRESSION (r43559?): Javascript debugger crashes when pausing page

Reviewed by Oliver Hunt.

The debugger currently retrieves the arguments object from an activation rather than pulling
it from a call frame. This is unreliable to due to the recent optimization to lazily create
the arguments object. In the long-term it should stop doing that (<rdar://problem/6911886>),
but for now we force eager creation of the arguments object when debugging.

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::BytecodeGenerator):

12:25 PM Changeset in webkit [43975] by ggaren@apple.com
  • 3 edits in trunk/WebKitTools

2009-05-21 Eric Seidel <eric@webkit.org>

Reviewed by Geoffrey Garen.

Make it possible to write js-only http tests by exposing a /js-test-resources alias.
https://bugs.webkit.org/show_bug.cgi?id=25915

  • Scripts/run-webkit-httpd:
  • Scripts/run-webkit-tests:
11:51 AM Changeset in webkit [43974] by ap@webkit.org
  • 2 edits in trunk/WebCore

Reviewed by David Kilzer.

https://bugs.webkit.org/show_bug.cgi?id=25890
Implement Network logging channel on Mac

  • platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::~ResourceHandle): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::cancel): (WebCore::ResourceHandle::setDefersLoading): (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]): (-[WebCoreResourceHandleAsDelegate connectionShouldUseCredentialStorage:]): (-[WebCoreResourceHandleAsDelegate connection:didReceiveAuthenticationChallenge:]): (-[WebCoreResourceHandleAsDelegate connection:didCancelAuthenticationChallenge:]): (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]): (-[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:]): (-[WebCoreResourceHandleAsDelegate connection:willStopBufferingData:]): (-[WebCoreResourceHandleAsDelegate connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:]): (-[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]): (-[WebCoreResourceHandleAsDelegate connection:didFailWithError:]): (-[WebCoreResourceHandleAsDelegate connection:willCacheResponse:]): Added logging for async requests (as these are most interesting).
11:19 AM Changeset in webkit [43973] by ap@webkit.org
  • 3 edits in trunk/WebKit/mac

Reviewed by Darin Adler.

<rdar://problem/6907542> REGRESSION (r43143): Hang in RenderLineBoxList::dirtyLinesFromChangedChild
when clicking link to load Flash animation (http://www.roambi.com)

  • WebCoreSupport/WebEditorClient.mm: (WebEditorClient::respondToChangedSelection): Don't call -[NSApplication updateWindows] here, WebHTMLView can take care of this.
  • WebView/WebHTMLView.mm: (-[WebHTMLView inputContext]): Use a precomputed boolean stored in WebHTMLViewPrivate, as calling isTextInput() is not always safe. (-[WebHTMLView textStorage]): Ditto. (-[WebHTMLView _updateSelectionForInputManager]): Update _private->exposeInputContext when selection changes, and let AppKit update its cache if necessary.
11:17 AM Changeset in webkit [43972] by eric.carlson@apple.com
  • 5 edits in trunk/WebCore

2009-05-21 Eric Carlson <eric.carlson@apple.com>

Reviewed by David Kilzer.

<rdar://problem/6902197> WebCore doesn't know about all of the MIME types supported by QTKit


Add a static table to map from some common file extensions to their MIME types so it
is possible to detect support even when the platform mapping is incomplete. Use the
table to lookup types not found by UTI on the OSX, and when looking for a media engine
with a generic or missing type.

  • platform/MIMETypeRegistry.cpp: (WebCore::initializeMediaTypeMaps): New, initialize the mediaMIMETypeForExtensionMap. (WebCore::MIMETypeRegistry::getMediaMIMETypeForExtension): New. Look for the specified MIME type in the static mapping table if the platform specific getMIMETypeForExtension doesn't find a match.
  • platform/MIMETypeRegistry.h: Declare getMediaMIMETypeForExtension.
  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::load): When the type passed is empty, "application/octet-stream", or "text/plain", try to look it up based on the file extension with getMediaMIMETypeForExtension.
  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::addFileTypesToCache): See if getMediaMIMETypeForExtension can map from file extension to MIME type if UTI fails.
9:36 AM Changeset in webkit [43971] by kov@webkit.org
  • 3 edits in trunk/WebKitTools

2009-05-21 Andre Pedralho <andre.pedralho@openbossa.org>

Reviewed by Gustavo Noronha.

Added --makeargs flag to the build script.

  • Scripts/build-webkit:
  • Scripts/webkitdirs.pm:
9:29 AM Changeset in webkit [43970] by ap@webkit.org
  • 2 edits in trunk/WebKit/mac

Reviewed by Darin Adler.

<rdar://problem/5579292> REGRESSION (2-3): "Default default" encoding for Korean changed
from Korean (Windows, DOS) to Korean (ISO 2022-KR), which breaks some sites

  • WebView/WebPreferences.mm:

(+[WebPreferences _setInitialDefaultTextEncodingToSystemEncoding]): Update the existing fix
for the changed result of CFStringConvertEncodingToIANACharSetName().

9:03 AM Changeset in webkit [43969] by ap@webkit.org
  • 2 edits in trunk/WebKit/mac

Reviewed by Darin Adler.

<rdar://problem/6883758> REGRESSION (r43143): First character typed with input method does
not go into inline hole (seen with Chinese & Kotoeri on top Chinese website www.baidu.com)

  • WebCoreSupport/WebEditorClient.mm: (WebEditorClient::respondToChangedSelection): Call -[NSApplication updateWindows] to make AppKit re-fetch the input context when selection changes. Since we use SelectionController to check whether the view is editable, it is important not to re-fetch the context too early, e.g. from a focus changed notification.
7:05 AM Changeset in webkit [43968] by eric@webkit.org
  • 4 edits in trunk/WebCore

2009-05-21 Eric Seidel <eric@webkit.org>

Reviewed by Alexey Proskuryakov.

Clean up DragController
https://bugs.webkit.org/show_bug.cgi?id=25926

I renamed m_document to m_documentUnderMouse to better document what it does
I could call it m_lastDocumentUnderMouse to be most-accurate, but this seemed
long enough.

I also saw copy/paste code involving clearing the selection when moving out of
one document and into another. I moved that code into a function called
mouseMovedIntoDocument.

I also got rid of a couple needless null-checks after confirming via source
inspection they were not ever possible.
In Mac WebKit it's not possible to have a Page that doesn't have a mainFrame()
I left an ASSERT(m_page->mainFrame()) in case some other port ever violates this.
It's also not possible to return a document from documentAtPoint that is not
in a frame (as such a document would not be rendered).

No functional changes, thus no tests.

  • page/DragController.cpp: (WebCore::DragController::DragController): (WebCore::DragController::dragIsMove): (WebCore::DragController::dragExited): (WebCore::DragController::performDrag): (WebCore::DragController::mouseMovedIntoDocument): (WebCore::DragController::dragEnteredOrUpdated): (WebCore::DragController::tryDocumentDrag): (WebCore::DragController::operationForLoad): (WebCore::DragController::concludeEditDrag): (WebCore::DragController::canProcessDrag): (WebCore::DragController::tryDHTMLDrag): (WebCore::DragController::placeDragCaret):
  • page/DragController.h: (WebCore::DragController::documentUnderMouse):
5:50 AM Changeset in webkit [43967] by eric@webkit.org
  • 5 edits in trunk

2009-05-21 Eric Seidel <eric@webkit.org>

Reviewed by Alexey Proskuryakov.

Rename DragController::dragOperation() to sourceDragOperation() for clarity
Remove unused setDragOperation()

There are two times DragOperation is used. The source specifies
what drag operations it supports (in a mask) and the destination
picks a subset of those as DragOperations it supports if a drop were
to occur. I was confused when I first saw this accessor as to which
it meant. It turns out that this is only used when WebKit starts a
drag, and we keep it around so that we can provide this information
to other Mac OS X applications when they ask. I've renamed the method
for clarity so the next person in this code will be less confused.

No functional changes, thus no tests.

  • page/DragController.h: (WebCore::DragController::sourceDragOperation):
5:34 AM Changeset in webkit [43966] by ap@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=19517
<rdar://problem/6007112> DOM modification of textArea causes Access Violation (NULL pointer?)

This no longer happens with ToT, just adding a test.

  • fast/parser/head-parsing-19517-expected.txt: Added.
  • fast/parser/head-parsing-19517.html: Added.
2:30 AM Changeset in webkit [43965] by mitz@apple.com
  • 2 edits in trunk/WebKitLibraries

Rubber-stamped by Mark Rowe.

  • correct a copyright header accidently reverted in r43964
  • WebKitSystemInterface.h:
2:16 AM Changeset in webkit [43964] by mitz@apple.com
  • 12 edits
    2 adds in trunk

WebCore:

Reviewed by Anders Carlsson.

  • WebCore part of <rdar://problem/6901751> REGRESSION (r35515): Tiger crash painting the selection on registration page of car2go.com

A bug in old versions of Core Graphics causes memory corruption to occur
when clipping under certain conditions. Make the clipping functions
fail silently under those conditions.

Test: fast/block/float/selection-gap-clip-out-tiger-crash.html

  • WebCore.Tiger.exp: Added wkCGContextIsSafeToClip
  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::safeCGContextClip): Added a wrapper around CGContextClip that, on Tiger, bails out if wkCGContextIsSafeToClip() returns false. (WebCore::safeCGContextEOClip): Ditto for CGContextEOClip. (WebCore::safeCGContextClipToRect): Ditto for CGContextClipToRect. (WebCore::GraphicsContext::fillPath): Changed to call the safe variants of CGContextClip, CGContextEOClip and CGContextClipToRect. (WebCore::GraphicsContext::strokePath): Ditto. (WebCore::GraphicsContext::fillRect): Ditto. (WebCore::GraphicsContext::clip): Ditto. (WebCore::GraphicsContext::clipOut): Ditto. (WebCore::GraphicsContext::clipOutEllipseInRect): Ditto. (WebCore::GraphicsContext::clipPath): Ditto. (WebCore::GraphicsContext::addInnerRoundedRectClip): Ditto. (WebCore::GraphicsContext::strokeRect): Ditto.
  • platform/mac/WebCoreSystemInterface.h: Added wkCGContextIsSafeToClip.
  • platform/mac/WebCoreSystemInterface.mm: Added wkCGContextIsSafeToClip.

WebKit/mac:

Reviewed by Anders Carlsson.

  • WebKit part of <rdar://problem/6901751> REGRESSION (r35515): Tiger crash painting the selection on registration page of car2go.com
  • WebCoreSupport/WebSystemInterface.m: (InitWebCoreSystemInterface): Added CGContextIsSafeToClip.

WebKitLibraries:

Reviewed by Anders Carlsson.

  • WebKitSystemInterface part of <rdar://problem/6901751> REGRESSION (r35515): Tiger crash painting the selection on registration page of car2go.com
  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceTiger.a:

LayoutTests:

Reviewed by Anders Carlsson.

  • test for <rdar://problem/6901751> REGRESSION (r35515): Tiger crash painting the selection on registration page of car2go.com
  • fast/block/float/selection-gap-clip-out-tiger-crash-expected.txt: Added.
  • fast/block/float/selection-gap-clip-out-tiger-crash.html: Added.
2:08 AM Changeset in webkit [43963] by xan@webkit.org
  • 2 edits in trunk/WebCore

2009-05-21 Xan Lopez <xlopez@igalia.com>

Unreviewed build fix.

https://bugs.webkit.org/show_bug.cgi?id=25910
WebkitGTK r43960 cannot compile

Do not include local copy of guriescape header, which was
removed. We now use the copy in glib.

  • platform/gtk/FileSystemGtk.cpp:
1:41 AM Changeset in webkit [43962] by cwzwarich@webkit.org
  • 2 edits in trunk/JavaScriptCore

2009-05-21 Cameron Zwarich <zwarich@apple.com>

Reviewed by Maciej Stachowiak.

Bug 25912: Harden NumberPrototype.cpp by removing use of strcpy()
<https://bugs.webkit.org/show_bug.cgi?id=25912>

This causes no change on SunSpider.

  • runtime/NumberPrototype.cpp: (JSC::integerPartNoExp): replace strcpy() with memcpy(), ASSERT that the temporary buffer has sufficient space to store the result, and move the explicit null-termination closer to the memcpy() for easier visual inspection of the code. (JSC::fractionalPartToString): replace strcpy() with memcpy(), and ASSERT that the temporary buffer has sufficient space to store the result. There is no explicit null-termination because this is done by the caller. The same is already true for exponentialPartToString(). (JSC::numberProtoFuncToExponential): replace strcpy() with memcpy(), explicitly null-terminate the result, and ASSERT that the temporary buffer has sufficient space to store the result.
1:02 AM Changeset in webkit [43961] by eric@webkit.org
  • 3 edits in trunk/LayoutTests

2009-05-21 Eric Seidel <eric@webkit.org>

Reviewed by Alexey Proskuryakov.

Fix file-input-files-access which was passing for the wrong reasons.

The log was pushing the drop target off screen and the drops were failing!

  • editing/pasteboard/file-input-files-access-expected.txt:
  • editing/pasteboard/resources/file-input-files-access.js: (testOrderedDraggingWithDirectory): (runTest):

May 20, 2009:

10:52 PM Changeset in webkit [43960] by weinig@apple.com
  • 2 edits in trunk/JavaScriptCore

2009-05-20 Sam Weinig <sam@webkit.org>

Reviewed by Cameron Zwarich.

Cleanup the JSGlobalData when exiting early with the usage statement in jsc.

  • jsc.cpp: (printUsageStatement): (parseArguments): (jscmain):
10:46 PM Changeset in webkit [43959] by weinig@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-05-20 Sam Weinig <sam@webkit.org>

Reviewed by Gavin Barraclough.

Update the patchOffsetGetByIdSlowCaseCall constant for the
case that OPCODE_SAMPLING is enabled.

  • jit/JIT.h:
9:06 PM Changeset in webkit [43958] by abarth@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

https://bugs.webkit.org/show_bug.cgi?id=25706

It turns out the CurrentContext wasn't currect either because it gave
us the frame for the write() function itself. We actually want the
*calling* context.

  • bindings/v8/custom/V8HTMLDocumentCustom.cpp: (WebCore::CALLBACK_FUNC_DECL):
7:52 PM Changeset in webkit [43957] by kov@webkit.org
  • 2 edits in trunk/LayoutTests

2009-05-20 Gustavo Noronha Silva <Gustavo Noronha Silva>

Skipping a new test.

  • platform/gtk/Skipped:
7:45 PM Changeset in webkit [43956] by kov@webkit.org
  • 2 edits in trunk/LayoutTests

2009-05-20 Gustavo Noronha Silva <Gustavo Noronha Silva>

Skipping test that fails intermitently.

  • platform/gtk/Skipped:
7:43 PM Changeset in webkit [43955] by zecke@webkit.org
  • 4 edits
    1 add in trunk/WebCore

[GTK] Implement Image::loadPlatformResource.

Install the four resources we are using. For the icons
where an icon name is specified by freedeskop.org try to
map the WebCore name to that name and fallback to the
internal icon. For everything else use the internal icon
name. Remove the temporary link stub as this is not
required any more.

7:42 PM Changeset in webkit [43954] by zecke@webkit.org
  • 2 edits in trunk/WebCore

[GTK] Gtk+ wants to have a themable urlIcon too.

https://bugs.webkit.org/show_bug.cgi?id=19357

7:41 PM Changeset in webkit [43953] by kov@webkit.org
  • 1 edit
    2 adds in trunk/LayoutTests

2009-05-20 Gustavo Noronha Silva <Gustavo Noronha Silva>

Rubber-stamped by Mark Rowe.

Add GTK+-specific results for canvas-composite-alpha. This test
has 'failing' cases that pass on GTK+/cairo.

  • platform/gtk/fast/canvas/canvas-composite-alpha-expected.txt: Added.
7:28 PM Changeset in webkit [43952] by ggaren@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-05-20 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.

Added support for inline subtraction of doubles.

  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_sub): (JSC::JIT::emitSlow_op_sub): (JSC::JIT::emitSlowSub32InPlaceLeft): (JSC::JIT::emitBinaryDoubleOp):
7:22 PM Changeset in webkit [43951] by Stephanie Lewis
  • 6 edits in trunk

2009-05-20 Stephanie Lewis <Stephanie Lewis>

Update the order files. <rdar://problem/6881750> Generate new order files.

  • WebCore.order:
    • WebKit.order:
7:19 PM Changeset in webkit [43950] by weinig@apple.com
  • 9 edits in branches/nitro-extreme/JavaScriptCore

2009-05-20 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Added support for inline division.

  • assembler/X86Assembler.h: (JSC::X86Assembler::): (JSC::X86Assembler::divsd_rr): (JSC::X86Assembler::divsd_mr):
  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump):
  • bytecode/Opcode.h:
  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitBinaryOp):
  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases):
  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emitBinaryDoubleOp): (JSC::JIT::emit_op_div): (JSC::JIT::emitSlow_op_div):
7:14 PM Changeset in webkit [43949] by mrowe@apple.com
  • 3 edits in trunk/WebCore

Fix some assertion failures in plug-in tests on the Windows debug build bot.

Reviewed by Gavin Barraclough.

  • plugins/PluginStream.cpp:

(WebCore::PluginStream::startStream): Switch to using protocolIsJavaScript.

  • plugins/PluginView.cpp:

(WebCore::scriptStringIfJavaScriptURL): Ditto.

6:31 PM Changeset in webkit [43948] by ggaren@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-05-20 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.

Added support for inline addition of doubles.

  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_add): (JSC::JIT::emitSlow_op_add): (JSC::JIT::emitSlowAdd32InPlace): (JSC::JIT::emitBinaryDoubleOp): (JSC::JIT::emit_op_mul): (JSC::JIT::emitSlow_op_mul):
5:16 PM Changeset in webkit [43947] by ggaren@apple.com
  • 3 edits in branches/nitro-extreme/JavaScriptCore

2009-05-20 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Factored inline double operations into a helper function, so that we
can reuse this code for other math operations.

  • jit/JIT.h:
  • jit/JITArithmetic.cpp: (JSC::JIT::emitBinaryDoubleOp): (JSC::JIT::emit_op_mul):
  • jit/JITCall.cpp: (JSC::JIT::compileOpCallInitializeCallFrame):
4:58 PM Changeset in webkit [43946] by beidson@apple.com
  • 4 edits in trunk

WebCore:

2009-05-20 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

More protocolInHTTPFamily() cleanup.

  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send):

WebKit/win:

2009-05-20 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

More protocolInHTTPFamily() cleanup.

  • WebHistory.cpp: (WebHistory::visitedURL):
4:57 PM Changeset in webkit [43945] by ggaren@apple.com
  • 5 edits in branches/nitro-extreme/JavaScriptCore

2009-05-20 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Added support for inline multiplication of doubles.

  • assembler/X86Assembler.h: (JSC::X86Assembler::cvtsi2sd_mr): New function, useful for loading an int32 into a double register.
  • jit/JITArithmetic.cpp: (JSC::JIT::emit_op_mul): (JSC::JIT::emitSlow_op_mul): Filled out these cases for double arithmetic.
  • jit/JIT.h:
  • jit/JITInlineMethods.h: (JSC::JIT::addressFor): New function, useful for addressing a JSValue's full 64bits as a double.
4:57 PM Changeset in webkit [43944] by mrowe@apple.com
  • 3 edits in trunk/WebKitSite

Prevent search engines from getting creative in their descriptions of webkit.org content.

Rubber-stamped by Eric Seidel.

  • blog/wp-content/themes/webkit/header.php:
  • header.inc:
4:37 PM Changeset in webkit [43943] by christian@webkit.org
  • 2 edits in trunk/WebCore

2009-05-21 Christian Dywan <christian@twotoasts.de>

Reviewed by Jan Alonzo.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::parseDataUrl): Always use Glib Base64 decoding.
4:36 PM Changeset in webkit [43942] by weinig@apple.com
  • 2 edits in trunk/WebCore

2009-05-20 Sam Weinig <sam@webkit.org>

Reviewed by Oliver Hunt.

Fix for <rdar://problem/6905475>
Office 2008: Entourage: Crash when you switch to "My Day" view

The host function callback callObjCFallbackObject was not annotated
with JSC_HOST_CALL which meant that when it was called by the JIT, which
expects the JSC_HOST_CALL calling convention, the arguments are not in the
expected places.

  • bridge/objc/objc_runtime.mm: (JSC::Bindings::callObjCFallbackObject): Added missing JSC_HOST_CALL annotation on callObjCFallbackObject.
4:32 PM Changeset in webkit [43941] by levin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-20 David Levin <levin@chromium.org>

Not Reviewed, build fix.

Need to disable this assert while the chormium code is fixed for it.

  • platform/KURLGoogle.cpp: (WebCore::KURL::protocolIs):
4:13 PM Changeset in webkit [43940] by ddkilzer@apple.com
  • 1 edit in trunk/LayoutTests/ChangeLog

Added bugs.webkit.org URL

4:09 PM Changeset in webkit [43939] by ddkilzer@apple.com
  • 2 edits
    3 adds in trunk/LayoutTests

Test for <rdar://problem/5666078> Cookie parsing terminates at the first semicolon, ignoring quotes (16699)

Reviewed by Brady Eidson.

  • http/tests/cookies/double-quoted-value-with-semi-colon-expected.txt: Added.
  • http/tests/cookies/double-quoted-value-with-semi-colon.html: Added.
  • http/tests/cookies/resources/double-quoted-value-with-semi-colon.js: Added.
  • platform/mac-tiger/Skipped: Added double-quoted-value-with-semi-colon.html since CFNetwork on Tiger stops parsing cookie values when it sees a semi-colon, even inside double quotes.
4:01 PM Changeset in webkit [43938] by levin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-20 David Levin <levin@chromium.org>

Not Reviewed, build fix.

Change KURLGoogle.cpp to mirror the KURL.cpp changes done in
http://trac.webkit.org/changeset/43929. Fix assert placement.

  • platform/KURLGoogle.cpp: (WebCore::KURL::protocolIs): (WebCore::protocolIs):
3:35 PM Changeset in webkit [43937] by beidson@apple.com
  • 2 edits in trunk/WebKit/mac

2009-05-20 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

<rdar://problem/6905336> REGRESSION: "Clear History" does not save empty history to disk

  • History/WebHistory.mm: (-[WebHistoryPrivate data]): If there are no entries, return an empty NSData instead of nil.
3:26 PM Changeset in webkit [43936] by levin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-20 Nate Chapin <japhet@google.com>

Reviewed by Dimitri Glazkov.

Upstream V8 bindings for V8DomWindow.
https://bugs.webkit.org/show_bug.cgi?id=25869

  • bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::V8Custom::WindowSetTimeoutImpl): Moved from v8_custom.cpp. (WebCore::isAscii): Moved from v8_custom.cpp. (WebCore::convertBase64): Moved from v8_custom.cpp. (WebCore::CALLBACK_FUNC_DECL): Moved from v8_custom.cpp. (WebCore::eventNameFromAttributeName): Moved from v8_custom.cpp. (WebCore::ACCESSOR_SETTER): Moved from v8_custom.cpp. (WebCore::ACCESSOR_GETTER): Moved from v8_custom.cpp. (WebCore::NAMED_ACCESS_CHECK): Moved from v8_custom.cpp. (WebCore::INDEXED_ACCESS_CHECK): Moved from v8_custom.cpp.
3:18 PM Changeset in webkit [43935] by christian@webkit.org
  • 2 edits in trunk/WebCore

2009-05-21 Christian Dywan <christian@twotoasts.de>

Rubberstamped by Gustavo Noronha.

  • platform/network/curl/ResourceHandleManager.cpp: (WebCore::parseDataUrl): Remove Gtk/ Glib Base64 decoding.
3:04 PM Changeset in webkit [43934] by christian@webkit.org
  • 2 edits
    2 deletes in trunk/WebCore

2009-05-20 Christian Dywan <christian@twotoasts.de>

Reviewed by Gustavo Noronha.

  • GNUmakefile.am:
  • platform/gtk/guriescape.c:
  • platform/gtk/guriescape.h: Remove copies of g_uri_escape_string and g_uri_unescape_string now that we require Glib 2.16.
1:55 PM Changeset in webkit [43933] by levin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-20 David Levin <levin@chromium.org>

Not Reviewed, build fix.

Change KURLGoogle.cpp to mirror changes done in
http://trac.webkit.org/changeset/43929.

  • platform/KURLGoogle.cpp: (WebCore::protocolIsJavaScript): (WebCore::protocolIs):
12:53 PM Changeset in webkit [43932] by beidson@apple.com
  • 5 edits in trunk/WebCore

2009-05-20 Brady Eidson <beidson@apple.com>

Rubberstamped by Sam Weinig

At all call sites that check if a KURL has either the http or https protocol,
use the KURL::protocolInHTTPFamily() accessor, instead.

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::iconURL): (WebCore::FrameLoader::didOpenURL): (WebCore::FrameLoader::open):
  • loader/appcache/ApplicationCache.cpp: (WebCore::ApplicationCache::requestIsHTTPOrHTTPSGet):
  • loader/loader.cpp: (WebCore::Loader::load):
  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send):
12:39 PM Changeset in webkit [43931] by andersca@apple.com
  • 2 edits in trunk/WebKit/mac

2009-05-20 Anders Carlsson <andersca@apple.com>

Reviewed by Darin Adler and Kevin Decker.

WebKit side of <rdar://problem/6895072>


Pass the localization as a launch property.


  • Plugins/Hosted/NetscapePluginHostManager.mm: (WebKit::NetscapePluginHostManager::spawnPluginHost):
12:36 PM Changeset in webkit [43930] by beidson@apple.com
  • 1 edit in trunk/WebCore/ChangeLog

Fix ChangeLog typo

12:31 PM Changeset in webkit [43929] by beidson@apple.com
  • 13 edits
    2 adds in trunk

WebCore:

2009-05-20 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

Fix <rdar://problem/6904941> and https://bugs.webkit.org/show_bug.cgi?id=25300

KURL parsing changes back in r30243 and r30815 made javascript urls that use the form
"javascript://" be detected as invalid hierarchical URLs. When a KURL is marked as
invalid, you can no longer ask it a question such as "is your protocol javascript?"
Therefore FrameLoader wouldn't recognize them as javascript URLs and instead try to
navigated to them.

URL parsing rules aside, such URLs are in use in the wild (Microsoft's Virtual Earth
being a high profile example) and actually represent valid javascript.

Whenever checking for javascript urls, the new protocolIsJavaScript() should be used
as it functions on a String which doesn't have to pass KURLs parsing rules.

Test: fast/loader/javascript-url-hierarchical-execution.html

  • bindings/js/JSAttrCustom.cpp: (WebCore::JSAttr::setValue): Use protocolIsJavaScript().
  • bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::setLocation): Ditto. (WebCore::createWindow): Ditto. (WebCore::JSDOMWindow::open): Ditto.
  • bindings/js/JSElementCustom.cpp: (WebCore::allowSettingSrcToJavascriptURL): Ditto.
  • bindings/js/JSHTMLFrameElementCustom.cpp: (WebCore::allowSettingJavascriptURL): Ditto.
  • bindings/js/JSHTMLIFrameElementCustom.cpp: (WebCore::JSHTMLIFrameElement::setSrc): Ditto.
  • bindings/js/JSLocationCustom.cpp: (WebCore::navigateIfAllowed): Ditto. (WebCore::JSLocation::reload): Ditto.
  • editing/markup.cpp: (WebCore::appendQuotedURLAttributeValue): Ditto.
  • html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::parseMappedAttribute): Ditto.
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::requestFrame): Ditto. (WebCore::FrameLoader::submitForm): Ditto. (WebCore::FrameLoader::executeIfJavaScriptURL): Ditto.


  • platform/KURL.cpp: (WebCore::KURL::init): Use protocolIsJavaScript(). (WebCore::KURL::protocolIs): ASSERT that the protocol being asked about is not javascript.

Such checks should go through protocolIsJavaScript() instead.

(WebCore::encodeRelativeString): Use protocolIsJavaScript().
(WebCore::protocolIsJavaScript):

  • platform/KURL.h:

LayoutTests:

2009-05-20 Brady Eidson <beidson@apple.com>

Reviewed by Darin Adler.

Fix <rdar://problem/6904941> and https://bugs.webkit.org/show_bug.cgi?id=25300

  • fast/loader/javascript-url-hierarchical-execution-expected.txt: Added.
  • fast/loader/javascript-url-hierarchical-execution.html: Added.
12:30 PM Changeset in webkit [43928] by mrowe@apple.com
  • 4 edits in branches/WWDC-2009-branch

Versioning.

12:29 PM Changeset in webkit [43927] by mrowe@apple.com
  • 1 copy in tags/Safari-6530.11

New tag.

12:27 PM Changeset in webkit [43926] by mrowe@apple.com
  • 4 edits in trunk

Versioning.

12:21 PM Changeset in webkit [43925] by mrowe@apple.com
  • 2 edits in branches/WWDC-2009-branch/JavaScriptCore

Merge r43886.

12:21 PM Changeset in webkit [43924] by mrowe@apple.com
  • 3 edits in branches/WWDC-2009-branch/JavaScriptCore

Merge r43885.

10:35 AM Changeset in webkit [43923] by zecke@webkit.org
  • 6 edits
    2 adds in trunk

[plugins] PluginPackage*.cpp for Gtk+/Qt misassigned hasproperty and hasmethod

https://bugs.webkit.org/show_bug.cgi?id=24510

PluginPackageGtk.cpp and PluginPackageQt.cpp assigned _NPN_HasMethod
to hasproperty and _NPN_HasProperty to hashmethod. This commit is fixing
it. It is also adding test code to PluginObject.cpp and it will invoke
this code from a new test.

10:31 AM Changeset in webkit [43922] by weinig@apple.com
  • 6 edits in trunk/WebCore

2009-05-20 Sam Weinig <sam@webkit.org>

Reviewed by Timothy Hatcher.

Make absoluteRectsForRange and absoluteQuadsForRange non-virtual
and only exist on RenderText.

  • dom/Range.cpp: (WebCore::Range::textRects):
  • inspector/InspectorController.cpp: (WebCore::InspectorController::drawNodeHighlight): Use absoluteQuads instead of absoluteQuadsForRange since no range is being specifiec.
  • rendering/RenderObject.cpp:
  • rendering/RenderObject.h:
  • rendering/RenderText.h:
10:05 AM Changeset in webkit [43921] by mitz@apple.com
  • 2 edits in trunk/WebKit/mac
  • WebCoreSupport/WebChromeClient.h: (WebChromeClient::setCursor):
9:59 AM Changeset in webkit [43920] by xan@webkit.org
  • 4 edits in trunk/WebCore

2009-05-20 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Implement AtkObject::focus-event and
AtkObject::state-changed:focused signal emission.

Adds a new handleFocusedUIElementChangedWithRenderers, only in the
GTK port, called at the same point than
handleFocusedUIElementChanged but with two parameters, the old and
the newly focused RenderObjects. We need this, since the ATK
signals require us to pass the objects involved in the focus
change as arguments.

  • accessibility/AXObjectCache.h:
  • accessibility/gtk/AXObjectCacheAtk.cpp: (WebCore::AXObjectCache::handleFocusedUIElementChangedWithRenderers):
  • dom/Document.cpp: (WebCore::Document::setFocusedNode):
9:23 AM Changeset in webkit [43919] by ariya@webkit.org
  • 4 edits
    3 adds in trunk/WebKit/qt

2009-05-20 Ariya Hidayat <ariya.hidayat@nokia.com>

Reviewed by Simon Hausmann and Holger Freyther.

[Qt] Add renderHints property to QWebView.

  • Api/qwebview.cpp: (QWebViewPrivate::QWebViewPrivate): (QWebView::renderHints): (QWebView::setRenderHints): (QWebView::setRenderHint): (QWebView::paintEvent):
  • Api/qwebview.h:
  • tests/qwebview/qwebview.pro: Added.
  • tests/qwebview/tst_qwebview.cpp: Added. (tst_QWebView::tst_QWebView): (tst_QWebView::~tst_QWebView): (tst_QWebView::init): (tst_QWebView::cleanup): (tst_QWebView::renderHints):
  • tests/tests.pro:
9:04 AM Changeset in webkit [43918] by zecke@webkit.org
  • 15 edits in trunk

[architecture] Make ChromeClient a interface again

https://bugs.webkit.org/show_bug.cgi?id=25834

With recent additions to ChromeClient.h empty defaults were
added. This is bad for porters as these changes go unnoticed
and at runtime no notImplemented warning is logged and grepping
for notImplemented will not show anything. Change this Client
to be like the other Clients again and always have pure virtuals
(but for stuff inside #ifdef PLATFORM(MAC)).

Update the various WebKit/* implementations to compile again.

8:34 AM Changeset in webkit [43917] by Simon Hausmann
  • 2 edits in trunk/WebKit/qt

2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>

Reviewed by Simon Hausmann.

Fix a plugin bug in the WebKit code, similar to the one in WebCore.

The problem is when a non visible QtPluginWidget would show it self
in a sibling frame. The problem was due to our clipping. In Qt,
if setMask is set with an empty QRegion, no clipping will
be performed, so in that case we hide the PluginContainer

8:34 AM Changeset in webkit [43916] by Simon Hausmann
  • 2 edits
    2 adds in trunk/WebCore

2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>

Reviewed by Simon Hausmann.

Fix a bug where a non visible plugin would show it self in a
sibling frame. The problem was due to our clipping. In Qt,
if setMask is set with an empty QRegion, no clipping will
be performed, so in that case we hide the PluginContainer

Added manual test.

8:32 AM Changeset in webkit [43915] by Simon Hausmann
  • 2 edits in trunk/WebCore

2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>

Reviewed by Simon Hausmann.

Do not call the parent implementation (Widget::) in show() and hide()
of the PluginViewQt, as it always changes the visible state of the
platformWidget (equal to the platformPluginWidget in the Qt port),
thus ignoring the isParentVisible() test.

8:26 AM Changeset in webkit [43914] by Simon Hausmann
  • 2 edits in trunk/JavaScriptCore

2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>

Reviewed by Simon Hausmann.

Replace WREC with YARR + YARR_JIT for the Qt port. This is only
used when compiled with JIT support for now, so it is a drop-in
replacement for the WREC usage. Still including the wrec headers
as they are being referred from RegExp.h, though the contents of
that header it protected by "#if ENABLE(WREC)".

8:08 AM Changeset in webkit [43913] by staikos@webkit.org
  • 5 edits in trunk/WebCore

2009-05-20 Yichao Yin <yichao.yin@torchmobile.com.cn>

Reviewed by George Staikos.

https://bugs.webkit.org/show_bug.cgi?id=23452
Change the implementation of HTMLNoScriptElement to avoid the pain of
adding virtual function for XHTMLMP support

Includes changes suggested by Simon Fraser.

8:06 AM Changeset in webkit [43912] by Darin Adler
  • 2 edits in trunk/WebKit/mac

2009-05-20 Darin Adler <Darin Adler>

Reviewed by John Sullivan.

<rdar://problem/4023899> Shift-Tab skips key views in toolbar in Safari, although Tab
iterates through them properly

  • WebView/WebView.mm: (-[WebView previousValidKeyView]): Work around a bug in -[NSView previousValidKeyView].
8:00 AM Changeset in webkit [43911] by kevino@webkit.org
  • 2 edits in trunk/WebCore

CURL backend build fix. Make sure URL is always set.

7:54 AM Changeset in webkit [43910] by ariya@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Yongjun Zhang <yongjun.zhang@nokia.com>

Reviewed by George Staikos.

Fix Qt WebKit build break in Mac OS.

  • platform/FileSystem.h:
7:51 AM Changeset in webkit [43909] by kov@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Rubber-stamped by Eric Seidel.

Enable code that was commented out waiting for a way to get a
GdkPixbuf from an image, effectively enabling copying images to
the clipboard.

  • platform/gtk/PasteboardGtk.cpp: (WebCore::Pasteboard::writeImage):
7:33 AM Changeset in webkit [43908] by xan@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=25414
[GTK] ROLE_PANEL should not be used for paragraphs and list items.

Implement Atk list item role for list items.

  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (webkit_accessible_get_role):
7:33 AM Changeset in webkit [43907] by xan@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=25414
[GTK] ROLE_PANEL should not be used for paragraphs and list items.

Implement Atk paragraph role for paragraph elements.

  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (webkit_accessible_get_role):
5:42 AM Changeset in webkit [43906] by eric@webkit.org
  • 2 edits in trunk

2009-05-20 Eric Seidel <eric@webkit.org>

Fix bug URL in ChangeLogs in r43903.
https://bugs.webkit.org/show_bug.cgi?id=25742

5:37 AM Changeset in webkit [43905] by eric@webkit.org
  • 1 edit in trunk/LayoutTests/ChangeLog

2009-05-20 Eric Seidel <eric@webkit.org>

No review, build fix only.

Add files I missed in r43903.

Takeshi's patch was right, I just failed to add the files when landing.

  • platform/mac/fast/forms/search-styled-expected.checksum: Added.
  • platform/mac/fast/forms/search-styled-expected.png: Added.
5:37 AM Changeset in webkit [43904] by eric@webkit.org
  • 2 adds in trunk/LayoutTests/platform/mac/fast/forms

Add files I missed in r43903

5:33 AM Changeset in webkit [43903] by eric@webkit.org
  • 6 edits in trunk

2009-05-20 Takeshi Yoshino <tyoshino@google.com>

Reviewed by Eric Seidel.

Bug 24539: Fix RenderThemeChromiumWin::paintTextFieldInternal() not to hide background image.
https://bugs.webkit.org/show_bug.cgi?id=24539

Fix RenderThemeChromiumWin::paintTextFieldInternal().

We shouldn't paint the content area of text fields when o->style() has
background image or transparent background color. paintTextFieldInternal() is
used for painting inner area of HTML option elements by Chromium.

When we pass fillContentArea = true to ChromiumBridge::paintTextField, it hides
the background image rendered by RenderBoxModelObject. So, we should set
fillContentArea = false in such case.

Besides, when background-color:transparent is specified for CSS property,
o->style().backgroundColor returns black color with alpha channel == 0. But
since ThemeEngine for Windows behind ChromiumBridge::paintTextField cannot
recognize alpha channel, it fills the rect with black. I made workaround to set
fillContentArea = false when alpha channel == 0 to avoid this.

And more, I'd like to fallback the color passed to ChromiumBridge to white when
o->style()->backgroundColor() is invalid.

  • rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::paintTextFieldInternal):
5:26 AM Changeset in webkit [43902] by eric@webkit.org
  • 3 edits
    2 adds in trunk

2009-05-20 Shinichiro Hamaji <hamaji@google.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=25417
Map CompositeCopy to Skia's kSrc_Mode composite operation.

Test: fast/canvas/canvas-composite-alpha.html

  • platform/graphics/skia/SkiaUtils.cpp: (WebCore::):
4:38 AM Changeset in webkit [43901] by xan@webkit.org
  • 2 edits in trunk/JavaScriptCore

2009-05-20 Xan Lopez <xlopez@igalia.com>

Reviewed by Eric Seidel.

Fix GTK debug build.

The function dumpDisjunction, compiled with debug enabled, uses
printf, which needs stdio.h to be included.

  • yarr/RegexInterpreter.cpp:
4:30 AM Changeset in webkit [43900] by jmalonzo@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Jan Michael Alonzo <jmalonzo@webkit.org>

Rubber-stamped by Xan Lopez.

Remove misplaced extern "C"

  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
4:16 AM Changeset in webkit [43899] by jmalonzo@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[GTK] Expose password field with role of PASSWORD_TEXT
https://bugs.webkit.org/show_bug.cgi?id=25682

Check if input type is a password field and return
ATK_ROLE_PASSWORD_TEXT if it is.

  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
3:09 AM Changeset in webkit [43898] by ariya@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Laszlo Gombos <Laszlo Gombos>

Reviewed by George Staikos.

BUG 25845: [Qt] Fix QtWebKit pkgconfig dependencies
<https://bugs.webkit.org/show_bug.cgi?id=25845>

  • WebCore.pro: Remove QtDBus; remove QtXml if Qt >= 4.4
3:08 AM Changeset in webkit [43897] by eric@webkit.org
  • 3 edits
    1 delete in trunk/LayoutTests

2009-05-20 Eric Seidel <eric@webkit.org>

Build fix only, no review.

Remove dragging subtest from 43890 which used ? char

? is a reserved char on Windows. After removing both the ü and now the ? this
subtest is now useless, so I'm removing it entirely.

  • editing/pasteboard/file-input-files-access-expected.txt:
  • editing/pasteboard/resources/File With Spaces! For Dragging?.gif: Removed.
  • editing/pasteboard/resources/file-input-files-access.js: (runTest):
2:58 AM Changeset in webkit [43896] by ariya@webkit.org
  • 7 edits in trunk

2009-05-20 Laszlo Gombos <Laszlo Gombos>

Reviewed by George Staikos.

BUG 25843: [Qt] Remove qt-port build flag
<https://bugs.webkit.org/show_bug.cgi?id=25843>

  • bridge/testbindings.pro:
  • DumpRenderTree/qt/DumpRenderTree.pro:
  • Scripts/webkitdirs.pm:
2:49 AM Changeset in webkit [43895] by eric@webkit.org
  • 3 edits
    1 move in trunk/LayoutTests

2009-05-20 Eric Seidel <eric@webkit.org>

Build fix only, no review.

Fix windows and tiger builds after r43890

Commit r43890 caused:
svn: Can't convert string from 'UTF-8' to native encoding:
svn: LayoutTests/editing/pasteboard/resources/File With Spaces! For Dra?\204?\136gging?.gif
On both the windows and tiger buildbots. According to:
http://svnbook.red-bean.com/en/1.2/svn.advanced.l10n.html
this is intentional behavior, and due to the fact that the default
LC_CTYPE for Tiger and Windows makes Subversion think the filesystems
do not support utf8.

The fix would be to execute:
export LC_CTYPE=en_US.UTF-8
On all affected machines. But since that's not going to happen,
I'm removing the utf8 chars from this filename.

This makes the drag-drop test weaker, but I see no other option.

  • editing/pasteboard/resources/File With Spaces! For Dragging?.gif: Renamed from "LayoutTests/editing/pasteboard/resources/File With Spaces! For Dra\314\210gging?.gif".
  • editing/pasteboard/resources/file-input-files-access.js: (moveMouseToCenterOfElement): use the unused argument (runTest): fix to use the ansii name
2:02 AM Changeset in webkit [43894] by ariya@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Laszlo Gombos <Laszlo Gombos>

Reviewed by George Staikos.

https://bugs.webkit.org/show_bug.cgi?id=25824

[Qt] Cleanup - move files exclusive to JAVASCRIPT_DEBUGGER
and WORKERS under the appropriate build section

  • WebCore.pro:
1:40 AM Changeset in webkit [43893] by ariya@webkit.org
  • 2 edits in trunk/WebCore

2009-05-20 Ariya Hidayat <ariya.hidayat@nokia.com>

Unreviewed Qt build fix, after r43892.

  • platform/graphics/qt/ImageQt.cpp: included ImageObservser.h
1:22 AM Changeset in webkit [43892] by Simon Hausmann
  • 2 edits in trunk/WebCore

2009-05-20 Yongjun Zhang <yongjun.zhang@nokia.com>

Reviewed by Simon Hausmann.

https://bugs.webkit.org/show_bug.cgi?id=25856
[Qt] notify an image has been drawn, to help Cache purge alive decoded data.

12:32 AM Changeset in webkit [43891] by Darin Adler
  • 1 edit
    1 delete in trunk/LayoutTests

2009-05-20 Darin Adler <Darin Adler>

Removed stray file left after some check-ins earlier today.

  • fast/tokenizer/preload-scanner-entities.html-disabled: Removed.
12:32 AM Changeset in webkit [43890] by eric@webkit.org
  • 11 edits
    8 adds
    4 deletes in trunk

2009-05-18 Eric Seidel <eric@webkit.org>

Reviewed by Oliver Hunt.

Remove layoutTestController.addFileToPasteboardOnDrag and add eventSender.beginDragWithFiles
https://bugs.webkit.org/show_bug.cgi?id=25852

This allows us to now test multi-file file drags in DumpRenderTree per:
https://bugs.webkit.org/show_bug.cgi?id=25862

I removed the existing tests using addFileToPasteboardOnDrag()
and replaced them with a new test (editing/pasteboard/file-input-files-access)
which covers several more drag-drop cases.

I added a DumpRenderTreeFileDraggingSource class to avoid
the hack of if (!draggingSource) in [DumpRenderTreeDraggingInfo draggingSourceOperationMask]

New Test: editing/pasteboard/file-input-files-access.html

  • DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  • DumpRenderTree/DumpRenderTreeFileDraggingSource.h: Added.
  • DumpRenderTree/DumpRenderTreeFileDraggingSource.m: Added. (-[DumpRenderTreeFileDraggingSource draggingSourceOperationMaskForLocal:]):
  • DumpRenderTree/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::staticValues): removed addFileToPasteboardOnDrag support (LayoutTestController::staticFunctions): removed addFileToPasteboardOnDrag support
  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/mac/DumpRenderTree.mm: (runTest): ASSERT that draggingInfo has been cleared
  • DumpRenderTree/mac/EventSendingController.mm: (+[EventSendingController isSelectorExcludedFromWebScript:]): Sorted selectors. (+[EventSendingController webScriptNameForSelector:]): Sorted selectors. (-[EventSendingController beginDragWithFiles:]): (-[EventSendingController mouseMoveToX:Y:]): (-[EventSendingController keyDown:withModifiers:]): (-[EventSendingController fireKeyboardEventsToElement:]): removed spurious { }
  • DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): removed addFileToPasteboardOnDrag support
12:24 AM Changeset in webkit [43889] by levin@chromium.org
  • 7 edits in trunk/WebCore

2009-05-20 David Levin <levin@chromium.org>

Reviewed by NOBODY, layout tests fix.

https://bugs.webkit.org/show_bug.cgi?id=23727
This reverts commit r43888.

Once that change was checked in many of the fast/flexbox0*.html
tests (and others) started failing.

  • WebCore.pro:
  • css/CSSParser.cpp: (WebCore::CSSParser::parseValue):
  • css/CSSPropertyNames.in:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty):
  • css/CSSValueKeywords.in:
  • rendering/RenderMarquee.cpp: (WebCore::RenderMarquee::updateMarqueePosition): (WebCore::RenderMarquee::timerFired):

May 19, 2009:

9:32 PM Changeset in webkit [43888] by staikos@webkit.org
  • 7 edits in trunk/WebCore

2009-05-19 Yichao Yin <yichao.yin@torchmobile.com.cn>

Reviewed by George Staikos.

Add WCSS marquee extension support to Webkit
refer to the specification: WAP-239-WCSS-20011026-a.pdf


Since WCSS is the companion of XHTML Mobile Profile (XHTML MP),
this change depends on https://bugs.webkit.org/show_bug.cgi?id=23452

https://bugs.webkit.org/show_bug.cgi?id=23727

8:49 PM Changeset in webkit [43887] by staikos@webkit.org
  • 5 edits
    5 adds in trunk/LayoutTests

2009-05-19 Yichao Yin <yichao.yin@torchmobile.com.cn>

Reviewed by George Staikos.

Add tests for WCSS marquee extension support
https://bugs.webkit.org/show_bug.cgi?id=23727

8:31 PM Changeset in webkit [43886] by ggaren@apple.com
  • 2 edits in trunk/JavaScriptCore

2009-05-19 Geoffrey Garen <ggaren@apple.com>

Windows build fix.

  • interpreter/RegisterFile.cpp: (JSC::RegisterFile::releaseExcessCapacity): Copy-paste typo.
8:25 PM Changeset in webkit [43885] by ggaren@apple.com
  • 3 edits in trunk/JavaScriptCore

2009-05-19 Geoffrey Garen <ggaren@apple.com>

Reviewed by Sam Weinig.


Fixed <rdar://problem/6885680> CrashTracer: [USER] 1 crash in Install
Mac OS X at <unknown binary> • 0x9274241c


(Original patch by Joe Sokol and Ronnie Misra.)


SunSpider says 1.004x faster.

  • interpreter/RegisterFile.cpp: (JSC::RegisterFile::releaseExcessCapacity): Instead of doing complicated math that sometimes used to overflow, just release the full range of the register file.
  • interpreter/RegisterFile.h: (JSC::isPageAligned): (JSC::RegisterFile::RegisterFile): Added ASSERTs to verify that it's safe to release the full range of the register file.

(JSC::RegisterFile::shrink): No need to releaseExcessCapacity() if the
new end is not smaller than the old end. (Also, doing so used to cause
numeric overflow, unmapping basically the whole process from memory.)

8:02 PM Changeset in webkit [43884] by eric@webkit.org
  • 2 edits in trunk/BugsSite

2009-05-19 Eric Seidel <eric@webkit.org>

Reviewed by Adam Roben.

Make PrettyPatch understand quoted filenames in git diffs.
https://bugs.webkit.org/show_bug.cgi?id=25881

  • PrettyPatch/PrettyPatch.rb:
7:33 PM Changeset in webkit [43883] by weinig@apple.com
  • 5 edits in branches/nitro-extreme/JavaScriptCore

2009-05-19 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Implement and enable optimized calls.

  • jit/JIT.cpp: (JSC::JIT::privateCompileCTIMachineTrampolines): Add ENABLE(JIT_OPTIMIZE_CALL) guards around the the optimize call only trampolines (virtualCallPreLink and virtualCallLink). Update the trampolines to account for the new JSValue representation. (JSC::JIT::unlinkCall): Use NULL instead of JSValue noValue.
  • jit/JITCall.cpp: (JSC::JIT::compileOpCall): Update to account for the new JSValue representation (JSC::JIT::compileOpCallSlowCase): Ditto.
  • jit/JITStubs.h: Remove incorrect !ENABLE(JIT_OPTIMIZE_CALL) guard.
  • wtf/Platform.h: Enable ENABLE_JIT_OPTIMIZE_CALL.
7:02 PM Changeset in webkit [43882] by staikos@webkit.org
  • 5 edits in trunk/WebCore

2009-05-19 Yichao Yin <yichao.yin@torchmobile.com.cn>

Reviewed by George Staikos.

Add XHTMLMP support to Webkit
Update the configure files for building XHTMLMP-enabled WebKit on different platform
https://bugs.webkit.org/show_bug.cgi?id=23452

6:18 PM Changeset in webkit [43881] by oliver@apple.com
  • 3 edits in trunk/JavaScriptCore

<rdar://problem/6888393> REGRESSION: Start Debugging JavaScript crashes browser (nightly builds only?)
<https://bugs.webkit.org/show_bug.cgi?id=25717>

RS=Mark Rowe.

Remove JSC_FAST_CALL as it wasn't gaining us anything, and was
resulting in weird bugs in the nightly builds.

5:44 PM Changeset in webkit [43880] by Antti Koivisto
  • 2 edits
    1 add
    1 delete in trunk

WebCore:

2009-05-19 Antti Koivisto <Antti Koivisto>

I can't figure out how to make this not timing dependent, making it manual test instead.

  • manual-tests/preload-scanner-entities.html: Added.

LayoutTests:

2009-05-19 Antti Koivisto <Antti Koivisto>

I can't figure out how to make this not timing dependent, making it manual test instead.

  • fast/tokenizer/preload-scanner-entities-expected.txt: Removed.
  • fast/tokenizer/preload-scanner-entities.html: Removed.
5:43 PM Changeset in webkit [43879] by Darin Adler
  • 1 edit
    1 move in trunk/LayoutTests

2009-05-19 Darin Adler <Darin Adler>

Renamed test failing on many buildbots to disable it.
Antti can move it back once he gets it working more consistently.

  • fast/tokenizer/preload-scanner-entities.html: Removed.
  • fast/tokenizer/preload-scanner-entities.html-disabled: Copied from fast/tokenizer/preload-scanner-entities.html.
4:41 PM Changeset in webkit [43878] by beidson@apple.com
  • 4 edits in trunk/WebCore

2009-05-19 Brady Eidson <beidson@apple.com>

Reviewed by Antti Koivisto.

<rdar://problem/6886382> REGRESSION (Safari 4PB -> ToT): HTTP cache revalidation broken.

This was caused in http://trac.webkit.org/changeset/41425, which fixed an image caching bug
in QuickLooks (rdar://problem/6619630).

We need to respect the DocumentLoader's request cache policy when deciding the cache policy
for subresources, but the check (originally removed in r39304 and added back in in the same
place in r41424) needs to be tweaked and relocated a bit.

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::subresourceCachePolicy): Renamed from cachePolicy(). Move checking the DocumentLoader's request to a more appropriate place. Add code to handle the recently added FIXME regarding POSTs. Add a new FIXME describing a great way to make this code cleaner in the future.
  • loader/FrameLoader.h:
  • loader/DocLoader.cpp: (WebCore::DocLoader::cachePolicy): Calls the newly renamed subresourceCachePolicy().
3:31 PM Changeset in webkit [43877] by Chris Fleizach
  • 5 edits
    2 adds in trunk

Bug 25872: aria-labeledby appends all siblings instead of all children to aria name
https://bugs.webkit.org/show_bug.cgi?id=25872

2:57 PM Changeset in webkit [43876] by Antti Koivisto
  • 3 edits
    2 adds in trunk

WebCore:

2009-05-19 Antti Koivisto <Antti Koivisto>

Reviewed by Darin Adler).


<rdar://problem/6902674> REGRESSION: Query parameters are sometimes incorrect in URL (23135)


Push characters back in correct order when entity parsing fails after 3 characters.

Test: fast/tokenizer/preload-scanner-entities.html

  • html/PreloadScanner.cpp: (WebCore::PreloadScanner::consumeEntity):

LayoutTests:

2009-05-19 Antti Koivisto <Antti Koivisto>

Reviewed by Darin Adler.


<rdar://problem/6902674> REGRESSION: Query parameters are sometimes incorrect in URL (23135)

  • fast/tokenizer/preload-scanner-entities-expected.txt: Added.
  • fast/tokenizer/preload-scanner-entities.html: Added.
2:53 PM Changeset in webkit [43875] by weinig@apple.com
  • 12 edits in branches/nitro-extreme/JavaScriptCore

2009-05-19 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Implement and enable optimized property access.

  • assembler/AbstractMacroAssembler.h: Fix comment.
  • jit/JIT.cpp: (JSC::JIT::privateCompileCTIMachineTrampolines): Remove array length trampoline and implement the string length trampoline.
  • jit/JIT.h: Add new constants for patch offsets.
  • jit/JITInlineMethods.h: Remove FIELD_OFFSET which is now in StdLibExtras.h.
  • jit/JITPropertyAccess.cpp: (JSC::JIT::emit_op_get_by_id): (JSC::JIT::emitSlow_op_get_by_id): (JSC::JIT::emit_op_put_by_id): (JSC::JIT::emitSlow_op_put_by_id): (JSC::JIT::compilePutDirectOffset): (JSC::JIT::compileGetDirectOffset): (JSC::JIT::privateCompilePutByIdTransition): (JSC::JIT::patchGetByIdSelf): (JSC::JIT::patchPutByIdReplace): (JSC::JIT::privateCompilePatchGetArrayLength): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
  • jit/JITStubCall.h: (JSC::JITStubCall::addArgument): Add version of addArgument that takes two registers for the tag and payload.
  • jit/JITStubs.cpp: (JSC::JITStubs::JITStubs): Remove array length trampoline pointer. (JSC::JITStubs::cti_op_get_by_id_self_fail):
  • jit/JITStubs.h:
  • runtime/JSObject.h: (JSC::JSObject::JSObject): Move m_inheritorID below the property storage to align it to a 16 byte boundary.
  • wtf/Platform.h: Enable ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS
  • wtf/StdLibExtras.h: Move FIELD_OFFSET here.
2:13 PM Changeset in webkit [43874] by Dimitri Glazkov
  • 2 edits in trunk/WebCore

2009-05-19 Paul Godavari <paul@chromium.org>

Reviewed by Dimitri Glazkov.

Fix a crash in Mac Chromium when displaying an HTML select element
with no items.
https://bugs.webkit.org/show_bug.cgi?id=25874

  • platform/chromium/PopupMenuChromium.cpp: (WebCore::PopupContainer::showExternal):
1:54 PM Changeset in webkit [43873] by kevino@webkit.org
  • 3 edits in trunk/WebKitTools

wxMSW build fixes for DRT.

1:53 PM Changeset in webkit [43872] by darin@chromium.org
  • 1 edit in trunk/WebCore/ChangeLog

Restore mistaken deletion of an entry in ChangeLog

1:51 PM Changeset in webkit [43871] by darin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-19 Nate Chapin <japhet@google.com>

Reviewed by Darin Fisher.

Upstream V8 bindings for CanvasRenderingContext2D.
https://bugs.webkit.org/show_bug.cgi?id=25858

  • bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp: Moved bindings from v8_custom.cpp.
1:46 PM Changeset in webkit [43870] by mrowe@apple.com
  • 2 edits in trunk/WebCore

2009-05-19 Jessie Berlin <jberlin@apple.com>

Reviewed by Mark Rowe.

Windows Build Fix.

  • WebCore.vcproj/WebCore.vcproj: Copy accessibility headers from WebCore.
12:18 PM Changeset in webkit [43869] by timothy@apple.com
  • 5 edits in trunk

Add a new private API method that will dispatch pending loads that have been scheduled because of recent DOM additions or style changes.

<rdar://problem/6889218> REGRESSION: Some iChat transcript resources are not loaded because willSendRequest doesn't happen immediately

WebCore:

2009-05-19 Timothy Hatcher <timothy@apple.com>

<rdar://problem/6889218> REGRESSION: Some iChat transcript resources are not
loaded because willSendRequest doesn't happen immediately

Reviewed by Antti Koivisto.

  • WebCore.base.exp: Export Loader::servePendingRequests().

WebKit/mac:

2009-05-19 Timothy Hatcher <timothy@apple.com>

Add a new private API method that will dispatch pending loads that have been scheduled
because of recent DOM additions or style changes.

<rdar://problem/6889218> REGRESSION: Some iChat transcript resources are not
loaded because willSendRequest doesn't happen immediately

Reviewed by Antti Koivisto.

  • WebView/WebView.mm: (-[WebView _dispatchPendingLoadRequests]): Call Loader::servePendingRequests().
  • WebView/WebViewPrivate.h: Added _dispatchPendingLoadRequests.
12:08 PM Changeset in webkit [43868] by levin@chromium.org
  • 2 edits in trunk/WebCore

2009-05-19 David Levin <levin@chromium.org>

Reviewed by Dimitri Glazkov.

Bug 25859: Need to upstream ScriptController.* for v8.
https://bugs.webkit.org/show_bug.cgi?id=25859

Fixing the header file (which I accidentally made identical to the cpp file).

  • bindings/v8/ScriptController.h:
11:54 AM Changeset in webkit [43867] by ap@webkit.org
  • 1 edit in trunk/WebCore/ChangeLog

Adding a Radar URL.

11:14 AM Changeset in webkit [43866] by ap@webkit.org
  • 3 edits in trunk/WebCore

Reviewed by Darin Adler and Brady Eidson.

REGRESSION (r42446?): UA Profiler in http://stevesouders.com/ua/ stalls

The problem was that Document::removeAllEventListeners() was called for a wrong document
when a CachedFrame was destroyed.

Cannot be tested automatically, because DRT doesn't have a b/f cache.

  • dom/Document.cpp: (WebCore::Document::domWindow): Make sure that this doesn't return an unrelated window even if document's m_frame pointer is stale.
  • history/CachedFrame.cpp: (WebCore::CachedFrame::clear): Added a FIXME about strange behavior.
10:53 AM Changeset in webkit [43865] by staikos@webkit.org
  • 5 edits
    6 adds in trunk/LayoutTests

2009-05-19 Yichao Yin <yichao.yin@torchmobile.com.cn>

Reviewed by George Staikos.


Add the XHTML MP tests but put them in skipped since they are not active
by default on any platforms.
https://bugs.webkit.org/show_bug.cgi?id=23452

9:58 AM Changeset in webkit [43864] by Dimitri Glazkov
  • 16 edits
    2 adds in trunk/WebCore

2009-05-19 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Split InspectorController into InspectorController and InspectorFrontend. Latter encapsulates all frontend interaction and is the only entity allowed to make ScriptFunctionCalls. The further plan is to serialize these script function calls.

https://bugs.webkit.org/show_bug.cgi?id=25419

  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • WebCoreSources.bkl:
  • inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::addToConsole):
  • inspector/ConsoleMessage.h:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::~InspectorController): (WebCore::InspectorController::inspect): (WebCore::InspectorController::focusNode): (WebCore::InspectorController::setWindowVisible): (WebCore::InspectorController::addConsoleMessage): (WebCore::InspectorController::setAttachedWindow): (WebCore::InspectorController::inspectedWindowScriptObjectCleared): (WebCore::InspectorController::scriptObjectReady): (WebCore::InspectorController::showPanel): (WebCore::InspectorController::close): (WebCore::InspectorController::populateScriptObjects): (WebCore::InspectorController::resetScriptObjects): (WebCore::InspectorController::pruneResources): (WebCore::InspectorController::didCommitLoad): (WebCore::InspectorController::didLoadResourceFromMemoryCache): (WebCore::InspectorController::identifierForInitialRequest): (WebCore::InspectorController::willSendRequest): (WebCore::InspectorController::didReceiveResponse): (WebCore::InspectorController::didReceiveContentLength): (WebCore::InspectorController::didFinishLoading): (WebCore::InspectorController::didFailLoading): (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest): (WebCore::InspectorController::scriptImported): (WebCore::InspectorController::didOpenDatabase): (WebCore::InspectorController::didUseDOMStorage): (WebCore::InspectorController::addScriptProfile): (WebCore::InspectorController::toggleRecordButton): (WebCore::InspectorController::enableProfiler): (WebCore::InspectorController::disableProfiler): (WebCore::InspectorController::enableDebugger): (WebCore::InspectorController::disableDebugger): (WebCore::InspectorController::didParseSource): (WebCore::InspectorController::failedToParseSource): (WebCore::InspectorController::didPause): (WebCore::InspectorController::didContinue):
  • inspector/InspectorController.h:
  • inspector/InspectorDOMStorageResource.cpp: (WebCore::InspectorDOMStorageResource::bind):
  • inspector/InspectorDOMStorageResource.h:
  • inspector/InspectorDatabaseResource.cpp: (WebCore::InspectorDatabaseResource::bind):
  • inspector/InspectorDatabaseResource.h:
  • inspector/InspectorFrontend.cpp: Added. (WebCore::callSimpleFunction): (WebCore::InspectorFrontend::InspectorFrontend): (WebCore::InspectorFrontend::~InspectorFrontend): (WebCore::InspectorFrontend::newJSONObject): (WebCore::InspectorFrontend::addMessageToConsole): (WebCore::InspectorFrontend::addResource): (WebCore::InspectorFrontend::updateResource): (WebCore::InspectorFrontend::removeResource): (WebCore::InspectorFrontend::updateFocusedNode): (WebCore::InspectorFrontend::setAttachedWindow): (WebCore::InspectorFrontend::inspectedWindowScriptObjectCleared): (WebCore::InspectorFrontend::showPanel): (WebCore::InspectorFrontend::populateInterface): (WebCore::InspectorFrontend::reset): (WebCore::InspectorFrontend::debuggerWasEnabled): (WebCore::InspectorFrontend::debuggerWasDisabled): (WebCore::InspectorFrontend::profilerWasEnabled): (WebCore::InspectorFrontend::profilerWasDisabled): (WebCore::InspectorFrontend::parsedScriptSource): (WebCore::InspectorFrontend::failedToParseScriptSource): (WebCore::InspectorFrontend::addProfile): (WebCore::InspectorFrontend::setRecordingProfile): (WebCore::InspectorFrontend::pausedScript): (WebCore::InspectorFrontend::resumedScript): (WebCore::InspectorFrontend::addDatabase): (WebCore::InspectorFrontend::addDOMStorage):
  • inspector/InspectorFrontend.h: Added.
  • inspector/InspectorResource.cpp: (WebCore::InspectorResource::createScriptObject): (WebCore::InspectorResource::updateScriptObject): (WebCore::InspectorResource::releaseScriptObject):
  • inspector/InspectorResource.h:
9:50 AM Changeset in webkit [43863] by mrowe@apple.com
  • 9 moves in branches/old

Clean up some old, unused branches.

9:47 AM Changeset in webkit [43862] by mrowe@apple.com
  • 1 copy in branches/WWDC-2009-branch

New branch.

9:45 AM Changeset in webkit [43861] by Dimitri Glazkov
  • 10 edits
    1 copy
    1 add in trunk/WebCore

2009-05-19 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Introduce JSONObject that wraps ScriptObject and ScriptState* for further serialization

https://bugs.webkit.org/show_bug.cgi?id=25419

  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • WebCoreSources.bkl:
  • inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::addToConsole):
  • inspector/InspectorDOMStorageResource.cpp: (WebCore::InspectorDOMStorageResource::bind):
  • inspector/InspectorDatabaseResource.cpp: (WebCore::InspectorDatabaseResource::bind):
  • inspector/InspectorResource.cpp: (WebCore::populateHeadersObject): (WebCore::InspectorResource::createScriptObject): (WebCore::InspectorResource::updateScriptObject):
  • inspector/JSONObject.cpp: Added. (WebCore::JSONObject::JSONObject): (WebCore::JSONObject::set): (WebCore::JSONObject::scriptObject): (WebCore::JSONObject::createNew):
  • inspector/JSONObject.h: Added.
9:36 AM Changeset in webkit [43860] by staikos@webkit.org
  • 1 edit in trunk/WebCore/ChangeLog

Correct two changelog entries to show the bug report

9:08 AM Changeset in webkit [43859] by Dimitri Glazkov
  • 11 edits in trunk/WebCore

2009-05-19 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Refactor InpectorController so that it does not instantiate resource/console/database/domresource javascript objects. Move instantiation into the javascript.

https://bugs.webkit.org/show_bug.cgi?id=25419

  • inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::addToConsole):
  • inspector/InspectorController.cpp: (WebCore::InspectorController::didReceiveResponse): (WebCore::InspectorController::didReceiveContentLength): (WebCore::InspectorController::didFinishLoading): (WebCore::InspectorController::didFailLoading): (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest): (WebCore::InspectorController::scriptImported):
  • inspector/InspectorDOMStorageResource.cpp: (WebCore::InspectorDOMStorageResource::InspectorDOMStorageResource): (WebCore::InspectorDOMStorageResource::bind): (WebCore::InspectorDOMStorageResource::unbind):
  • inspector/InspectorDOMStorageResource.h:
  • inspector/InspectorDatabaseResource.cpp: (WebCore::InspectorDatabaseResource::InspectorDatabaseResource): (WebCore::InspectorDatabaseResource::bind): (WebCore::InspectorDatabaseResource::unbind):
  • inspector/InspectorDatabaseResource.h:
  • inspector/InspectorResource.cpp: (WebCore::InspectorResource::InspectorResource): (WebCore::populateHeadersObject): (WebCore::InspectorResource::createScriptObject): (WebCore::InspectorResource::updateScriptObject): (WebCore::InspectorResource::releaseScriptObject):
  • inspector/InspectorResource.h:
  • inspector/front-end/Console.js: (WebInspector.ConsoleMessage):
  • inspector/front-end/inspector.js: (WebInspector.addResource): (WebInspector.updateResource): (WebInspector.removeResource): (WebInspector.addDatabase): (WebInspector.addDOMStorage): (WebInspector.reset): (WebInspector.addMessageToConsole):
8:11 AM Changeset in webkit [43858] by ariya@webkit.org
  • 4 edits in trunk/WebCore

2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>

Reviewed by Ariya Hidayat.

The Qt port has code that disables scrolling optimizations
when the root contains native windows, such as windowed plugins.

This code broke when detaching iframes containing windowed
plugins.

Each ScrollView now knows how many native windows it and its
children contain, and when it is detached, that number is
substracted from its old parents.

4:45 AM Changeset in webkit [43857] by xan@webkit.org
  • 2 edits in trunk/WebKit/gtk

2009-05-19 Xan Lopez <xlopez@igalia.com>

Reviewed by Jan Alonzo.

Do not try to free enchant broker and dictionary if they do not
exist, those functions aren't NULL-safe.

  • webkit/webkitwebsettings.cpp: (free_spell_checking_language):
1:01 AM Changeset in webkit [43856] by mjs@apple.com
  • 4 edits in trunk/JavaScriptCore

2009-05-19 Maciej Stachowiak <mjs@apple.com>

Reviewed by Gavin Barraclough.


  • speed up string comparison, especially for short strings


~1% on SunSpider

  • JavaScriptCore.exp:
  • runtime/UString.cpp:
  • runtime/UString.h: (JSC::operator==): Inline UString's operator==, since it is called from hot places in the runtime. Also, specialize 2-char strings in a similar way to 1-char, since we're taking the hit of a switch anyway.

May 18, 2009:

11:06 PM Changeset in webkit [43855] by mjs@apple.com
  • 2 edits in trunk/JavaScriptCore

2009-05-18 Maciej Stachowiak <mjs@apple.com>

Reviewed by Gavin Barraclough.


  • for polymorphic prototype lookups, increase the number of slots from 4 to 8


~4% faster on v8 raytrace benchmark

  • bytecode/Instruction.h:
10:39 PM Changeset in webkit [43854] by mjs@apple.com
  • 2 edits in trunk/JavaScriptCore

2009-05-18 Maciej Stachowiak <mjs@apple.com>

Reviewed by Oliver Hunt.


  • tighten up the code for the load_varargs stub


~1-2% on v8-raytrace


  • jit/JITStubs.cpp: (JSC::JITStubs::cti_op_load_varargs): Hoist some loop invariants that the compiler didn't feel like hoisting for us. Remove unneeded exception check.
10:17 PM Changeset in webkit [43853] by ddkilzer@apple.com
  • 2 edits in trunk/LayoutTests

Added cookie test to Skipped list for Windows

See Bug 25861. <https://bugs.webkit.org/show_bug.cgi?id=25861>

  • platform/win/Skipped: Added http/tests/cookies/simple-cookies-expired.html.
10:02 PM Changeset in webkit [43852] by ddkilzer@apple.com
  • 2 edits in trunk/WebCore

Tiger build fix for r43850

  • platform/mac/ClipboardMac.mm: Added typedef for NSUinteger when building on Tiger.
9:52 PM Changeset in webkit [43851] by ddkilzer@apple.com
  • 4 edits
    18 adds in trunk

Bug 24569: Add some cookies tests

<https://bugs.webkit.org/show_bug.cgi?id=24569>

LayoutTests:

Reviewed and tweaked by David Kilzer.

This modification adds a cookie framework to check setting cookies.
It is a simple modification over the js test framework. It uses some XHRs and custom server-side script
to set / get / clear cookies.

It also adds some very basic tests to check that everything works.

  • http/tests/cookies: Added.
  • http/tests/cookies/multiple-cookies-expected.txt: Added.
  • http/tests/cookies/multiple-cookies.html: Added.
  • http/tests/cookies/resources: Added.
  • http/tests/cookies/resources/TEMPLATE.html: Copied from LayoutTests/fast/js/resources/TEMPLATE.html.
  • http/tests/cookies/resources/clearCookies.cgi: Added.
  • http/tests/cookies/resources/cookies-test-post.js: Copied from LayoutTests/fast/js/resources/js-test-post.js.
  • http/tests/cookies/resources/cookies-test-pre.js: Copied from LayoutTests/fast/js/resources/js-test-pre.js. (setCookies): Internal method to set a cookie (multiple cookies are not supported). (testCookies): Internal method to check if the cookie were set.

(clearAllCookies): Used to clear all pre-existing cookies for this domain.
(clearCookies): Used to clear the cookies set with cookiesShouldBe.
(cookiesShouldBe): Used to set a cookie and check the "Cookie" header sent. It is inspired from shouldBe from the js test framework.

  • http/tests/cookies/resources/cookies-test-style.css: Copied from LayoutTests/fast/js/resources/js-test-style.css.
  • http/tests/cookies/resources/getCookies.cgi: Added.
  • http/tests/cookies/resources/multiple-cookies.js: Added.
  • http/tests/cookies/resources/setCookies.cgi: Added.
  • http/tests/cookies/resources/simple-cookies-expired.js: Added.
  • http/tests/cookies/resources/simple-cookies-max-age.js: Added.
  • http/tests/cookies/simple-cookies-expired-expected.txt: Added.
  • http/tests/cookies/simple-cookies-expired.html: Added.
  • http/tests/cookies/simple-cookies-max-age-expected.txt: Added.
  • http/tests/cookies/simple-cookies-max-age.html: Added.
  • platform/mac-tiger/Skipped: Added http/tests/cookies/simple-cookies-max-age.html since CFNetwork on Tiger doesn't support expiring cookies with Max-Age=0.

WebKitTools:

Patch by David Kilzer.

  • Scripts/make-js-test-wrappers: Added regex to skip cookies-test-(post|pre).js files.
9:17 PM Changeset in webkit [43850] by eric@webkit.org
  • 2 edits in trunk/WebCore

2009-05-17 Eric Seidel <eric@webkit.org>

Reviewed by Darin Adler.

ClipboardMac cleanup
https://bugs.webkit.org/show_bug.cgi?id=25847

I'm mostly just moving code, however there are 3 changes I made while moving, detailed below.

No functional changes, so no tests.

  • platform/mac/ClipboardMac.mm: (WebCore::ClipboardMac::clearData): (WebCore::absoluteURLsFromPasteboardFilenames): Broke out logic for filenames into its own function to make the caller more readable. (WebCore::absoluteURLsFromPasteboard): Broke out logic from getData into absoluteURLsFromPasteboard. This returns an NSArray so that we can use -[NSArray componentsJoinedByString] in the caller (which is cleaner than the manual "\n" addition before). This also access to the full list of file urls for future callers. (WebCore::ClipboardMac::getData): unsigned count = (type == "URL") ? 1 : [fileList count]; is now an explicit check for "URL", before it was a check for != "text/uri-list" which was much more confusing in my opinion. text/uri-list and URL are the only two types which map to NSURLPboardType in cocoaTypeFromMIMEType(). (WebCore::ClipboardMac::types): I removed an extra if (!types) check, right before [types count]. In Obj-C messaging nil will return 0 (size of a pointer), so it's safe to message nil here and expect it to return 0.
8:40 PM Changeset in webkit [43849] by mjs@apple.com
  • 3 edits in trunk/JavaScriptCore

2009-05-18 Maciej Stachowiak <mjs@apple.com>

Reviewed by Geoff Garen.

  • Improve code generation for access to prototype properties


~0.4% speedup on SunSpider.


Based on a suggestion from Geoff Garen.

  • jit/JIT.h:
  • jit/JITPropertyAccess.cpp: (JSC::JIT::compileGetDirectOffset): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
8:23 PM Changeset in webkit [43848] by sfalken@apple.com
  • 4 edits in trunk/WebKit

WebKit/mac:

2009-05-18 Sam Weinig <sam@webkit.org>

<rdar://problem/6899044> Can't see Apple ad on nytimes.com unless I spoof the user agent


Add user agent hack for pointroll.com.

Reviewed by Steve Falkenburg.

  • WebView/WebView.mm: (-[WebView WebCore::_userAgentForURL:WebCore::]):

WebKit/win:

2009-05-18 Steve Falkenburg <sfalken@apple.com>

<rdar://problem/6899044> Can't see Apple ad on nytimes.com unless I spoof the user agent


Add user agent hack for pointroll.com.


Reviewed by Sam Weinig.

  • WebView.cpp:
5:42 PM Changeset in webkit [43847] by levin@chromium.org
  • 1 edit
    2 adds in trunk/WebCore

2009-05-18 David Levin <levin@chromium.org>

Reviewed by Darin Fisher.

Bug 25859: Need to upstream ScriptController.* for v8.
https://bugs.webkit.org/show_bug.cgi?id=25859

  • bindings/v8/ScriptController.cpp: Added.
  • bindings/v8/ScriptController.h: Added.
5:27 PM Changeset in webkit [43846] by kov@webkit.org
  • 5 edits in trunk

2009-05-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Gavin Barraclough.

Enable YARR, and disable WREC for GTK+.

  • configure.ac:
5:10 PM Changeset in webkit [43845] by staikos@webkit.org
  • 4 edits in trunk/WebCore

2009-05-18 Yichao Yin <yichao.yin@torchmobile.com.cn>

Reviewed by George Staikos.

Change ScriptElement to support XHTMLMP in a better way

5:00 PM Changeset in webkit [43844] by kevino@webkit.org
  • 4 edits in trunk

wx build fix. Use python-config to get Python linking info on Unix OSes.

4:51 PM Changeset in webkit [43843] by kevino@webkit.org
  • 2 edits in trunk/WebCore

wx build fix, finish up changes after the accessibility dir split.

4:48 PM Changeset in webkit [43842] by staikos@webkit.org
  • 16 edits
    2 adds in trunk/WebCore

2009-05-18 Yichao Yin <yichao.yin@torchmobile.com.cn>

Reviewed by George Staikos (and others).

Add XHTMLMP support to Webkit
XHTMLMP is a strict subset of XHTML 1.1. It extends XHTML Basic and add enhanced
functionality. Most of the functionalities have already been implemented by Webkit.

The changes include:
1) Adding <noscript> support
2) Document conformance validation
3) User Agent conformance validation

3:35 PM Changeset in webkit [43841] by mrowe@apple.com
  • 2 edits in trunk/WebCore

Fix the build.

  • WebCore.xcodeproj/project.pbxproj:
1:40 PM Changeset in webkit [43840] by kov@webkit.org
  • 2 edits in trunk/WebCore

2009-05-18 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>

Rubber-stamped by Gustavo Noronha.

Fixed build for the Qt port by adding the WebCore/accessibility
directory to the includepath.

  • WebCore.pro:
1:22 PM Changeset in webkit [43839] by barraclough@apple.com
  • 17 edits in trunk/JavaScriptCore

2009-05-18 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286

Add -no-install and -no-fast-install to programs and tests that we
don't install. Also remove -O2 since this is already handled at
configure time.

  • GNUmakefile.am:
1:12 PM Changeset in webkit [43838] by barraclough@apple.com
  • 2 edits in trunk/JavaScriptCore

2009-05-18 Gavin Barraclough <barraclough@apple.com>

Reviewed by NOBODY (speculative build fix).

12:46 PM Changeset in webkit [43837] by barraclough@apple.com
  • 16 edits in trunk/JavaScriptCore

2009-05-15 Gavin Barraclough <barraclough@apple.com>

Reviewed by Darin Adler.

Refactor JIT code-handle objects. The representation of generated code is currently
a bit of a mess. We have a class JITCode which wraps the pointer to a block of
generated code, but this object does not reference the executable pool meaning that
external events (the pool being derefed) could make the pointer become invalid.
To overcome this both the JIT and Yarr implement further (and similar) objects to
wrap the code pointer with a RefPtr to the pool. To add to the mire, as well as the
CodeBlock containing a handle onto the code the FunctionBodyNode also contains a
copy of the code pointer which is used almost (but not entirely) uniquely to access
the JIT code for a function.

Rationalization of all this:

  • Add a new type 'MacroAssembler::CodeRef' as a handle for a block of JIT generated code.
  • Change the JIT & Yarr to internally handle code using CodeRefs.
  • Move the CodeRef (formerly anow defunct JITCodeRef) from CodeBlock to its owner node.
  • Remove the (now) redundant code pointer from FunctionBodyNode.

While tidying this up I've made the PatchBuffer return code in new allocations using a CodeRef,
and have enforced an interface that the PatchBuffer will always be used, and 'finalizeCode()' or
'finalizeCodeAddendum()' will always be called exactly once on the PatchBuffer to complete code generation.

This gives us a potentially useful hook ('PatchBuffer::performFinalization()') at the end of generation,
which may have a number of uses. It may be helpful should we wish to switch our generation
model to allow RW/RX exclusive memory, and it may be useful on non-cache-coherent platforms to
give us an oportunity to cache flush as necessary.

No performance impact.

  • assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::ProcessorReturnAddress::relinkCallerToTrampoline): (JSC::AbstractMacroAssembler::CodeRef::CodeRef): (JSC::AbstractMacroAssembler::CodeRef::trampolineAt): (JSC::AbstractMacroAssembler::PatchBuffer::PatchBuffer): (JSC::AbstractMacroAssembler::PatchBuffer::~PatchBuffer): (JSC::AbstractMacroAssembler::PatchBuffer::link): (JSC::AbstractMacroAssembler::PatchBuffer::linkTailRecursive): (JSC::AbstractMacroAssembler::PatchBuffer::patch): (JSC::AbstractMacroAssembler::PatchBuffer::complete): (JSC::AbstractMacroAssembler::PatchBuffer::finalize): (JSC::AbstractMacroAssembler::PatchBuffer::entry):
  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::CodeBlock): (JSC::CodeBlock::reparseForExceptionInfoIfNecessary): (JSC::CodeBlock::setJITCode):
  • bytecode/CodeBlock.h: (JSC::CodeBlock::getBytecodeIndex): (JSC::CodeBlock::executablePool):
  • interpreter/CallFrameClosure.h:
  • interpreter/Interpreter.cpp: (JSC::Interpreter::execute): (JSC::Interpreter::prepareForRepeatCall):
  • jit/JIT.cpp: (JSC::JIT::privateCompile): (JSC::JIT::privateCompileCTIMachineTrampolines): (JSC::JIT::linkCall):
  • jit/JIT.h:
  • jit/JITCode.h: (JSC::JITCode::JITCode): (JSC::JITCode::operator bool): (JSC::JITCode::addressForCall): (JSC::JITCode::offsetOf): (JSC::JITCode::execute): (JSC::JITCode::size): (JSC::JITCode::executablePool): (JSC::JITCode::HostFunction):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompilePutByIdTransition): (JSC::JIT::privateCompilePatchGetArrayLength): (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
  • jit/JITStubs.cpp: (JSC::JITStubs::cti_vm_dontLazyLinkCall): (JSC::JITStubs::cti_vm_lazyLinkCall):
  • parser/Nodes.cpp: (JSC::ProgramNode::generateJITCode): (JSC::EvalNode::generateJITCode): (JSC::FunctionBodyNode::FunctionBodyNode): (JSC::FunctionBodyNode::createNativeThunk): (JSC::FunctionBodyNode::generateJITCode):
  • parser/Nodes.h: (JSC::ScopeNode::generatedJITCode): (JSC::ScopeNode::getExecutablePool): (JSC::ScopeNode::setJITCode): (JSC::ProgramNode::jitCode): (JSC::EvalNode::jitCode): (JSC::FunctionBodyNode::jitCode):
  • runtime/RegExp.cpp: (JSC::RegExp::match):
  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::compile): (JSC::Yarr::jitCompileRegex): (JSC::Yarr::executeRegex):
  • yarr/RegexJIT.h: (JSC::Yarr::RegexCodeBlock::RegexCodeBlock): (JSC::Yarr::RegexCodeBlock::pcreFallback): (JSC::Yarr::RegexCodeBlock::setFallback): (JSC::Yarr::RegexCodeBlock::operator bool): (JSC::Yarr::RegexCodeBlock::set): (JSC::Yarr::RegexCodeBlock::execute):
12:11 PM Changeset in webkit [43836] by kevino@webkit.org
  • 2 edits in trunk/WebKitTools

wx build fix, initialize variable that doesn't get set on Windows.

12:10 PM Changeset in webkit [43835] by Chris Fleizach
  • 2 edits in trunk/WebCore

Bug 25776: accessibility should have its own folder in WebCore project
https://bugs.webkit.org/show_bug.cgi?id=25776

Speculative fix for windows build failure.

11:59 AM Changeset in webkit [43834] by ddkilzer@apple.com
  • 8 edits
    2 adds in trunk

Bug 20652: WebKit doesn't display favicons with MIME type image/vnd.microsoft.icon

<https://bugs.webkit.org/show_bug.cgi?id=20652>

Reviewed by Darin Adler.

WebCore:

Test: http/tests/misc/favicon-as-image.html

  • inspector/front-end/inspector.js: Added image/vnd.microsoft.icon to WebInspector.MIMETypes.
  • platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypes): Added image/vnd.microsoft.icon to list of supported image and image resource MIME types.

LayoutTests:

Updated existing favicon-as-image.html test to display a third
image having MIME type image/vnd.microsoft.icon.

  • http/tests/misc/favicon-as-image.html: Updated.
  • http/tests/misc/resources/.htaccess: Added.
  • http/tests/misc/resources/favicon-vnd-ms.ico: Copied from LayoutTests/fast/images/resources/favicon.ico.
  • platform/mac/http/tests/misc/favicon-as-image-expected.checksum: Updated.
  • platform/mac/http/tests/misc/favicon-as-image-expected.png: Updated.
  • platform/mac/http/tests/misc/favicon-as-image-expected.txt: Updated.
11:48 AM Changeset in webkit [43833] by Chris Fleizach
  • 6 edits
    46 moves
    7 adds in trunk/WebCore

Bug 25776: accessibility should have its own folder in WebCore project
https://bugs.webkit.org/show_bug.cgi?id=25776

10:26 AM Changeset in webkit [43832] by kov@webkit.org
  • 2 edits in trunk/WebCore

2009-05-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Jan Alonzo.

https://bugs.webkit.org/show_bug.cgi?id=25854
[GTK] Should tell servers we only support identity as content encoding

Let servers know we only support identity as content
encoding. We will implement this in libsoup.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ResourceHandle::startHttp):
8:30 AM Changeset in webkit [43831] by ap@webkit.org
  • 3 edits in trunk/WebCore

Reviewed by Darin Adler.

<rdar://problem/6881160> REGRESSION (r41425): Unable to create battle.net account due to
CAPTCHA failure.

The problem was that after loading and displaying a CAPTCHA image, it was loaded from
the server again due to preloading. So, the server expected the last loaded (invisible)
CAPTCHA text to be typed and posted back.

I don't know how to make tests for preloading.

  • loader/DocLoader.cpp: (WebCore::DocLoader::checkForPendingPreloads): There is never a reason to preload after loading for real - and if cache policy is CachePolicyReload, that actually results in another load from network layer.
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::cachePolicy): It's not good for cachePolicy() to lie, but I don't know how to re-do r41425 properly. Added a FIXME.
7:13 AM Changeset in webkit [43830] by ariya@webkit.org
  • 2 edits in trunk/WebCore

2009-05-18 Ariya Hidayat <ariya.hidayat@nokia.com>

Reviewed by Simon Hausmann.

Done together with Balazs Kelemen <kelemen.balazs@stud.u-szeged.hu>.

https://bugs.webkit.org/show_bug.cgi?id=24551

[Qt] Reuse FontPlatformData for the same FontDescription.
This effectively prevents growing heap usage for loading every web page.

  • platform/graphics/qt/FontCacheQt.cpp: (WebCore::qHash): Necessary for FontPlatformDataCache. (WebCore::FontCache::getCachedFontPlatformData): Reuse the instance if it exists, otherwise create a new one and insert it in the cache.
5:11 AM Changeset in webkit [43829] by ariya@webkit.org
  • 2 edits in trunk/WebKit/qt

2009-05-18 Zoltan Horvath <horvath.zoltan.6@stud.u-szeged.hu>

Reviewed by Ariya Hidayat.

Makes QtLauncher to accept multiple urls in command line and opens these in separate windows.

  • QtLauncher/main.cpp: (MainWindow::newWindow): (main):
4:33 AM Changeset in webkit [43828] by ariya@webkit.org
  • 2 edits in trunk/WebCore

2009-05-18 Balazs Kelemen <kelemen.balazs@stud.u-szeged.hu>

Reviewed by Ariya Hidayat.

https://bugs.webkit.org/show_bug.cgi?id=24551

[Qt] Fix the leak in FontFallbackList::fontDataAt() function.
When creating a new instance of SimpleFontData, put it in the font list
so that it can deleted later on.

  • platform/graphics/qt/FontFallbackListQt.cpp: (WebCore::FontFallbackList::invalidate): (WebCore::FontFallbackList::releaseFontData): (WebCore::FontFallbackList::fontDataAt):
4:30 AM Changeset in webkit [43827] by jmalonzo@webkit.org
  • 2 edits in trunk

2009-05-18 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286

Add support for running unit tests. Also run the tests whenever
the 'check' target runs.

  • GNUmakefile.am:
4:30 AM Changeset in webkit [43826] by jmalonzo@webkit.org
  • 4 edits in trunk

2009-05-18 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286

Style fixes

  • GNUmakefile.am:
  • WebCore/GNUmakefile.am
4:30 AM Changeset in webkit [43825] by jmalonzo@webkit.org
  • 6 edits in trunk

2009-05-18 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286

Add -no-install and -no-fast-install to programs and tests that we
don't install. Also remove -O2 since this is already handled at
configure time.

  • GNUmakefile.am:
  • JavaScriptCore/GNUmakefile.am:
  • WebKitTools/GNUmakefile.am:
4:30 AM Changeset in webkit [43824] by jmalonzo@webkit.org
  • 4 edits in trunk

2009-05-17 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286

Add JavaScriptCore/ to JSC include path only since it's not
required when building WebCore.

  • GNUmakefile.am:

2009-05-17 Jan Michael Alonzo <jmalonzo@webkit.org>

Reviewed by Xan Lopez.

[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286

Refactor library cflags

  • GNUmakefile.am:
4:11 AM Changeset in webkit [43823] by eric@webkit.org
  • 2 edits in trunk/LayoutTests

2009-05-18 Julie Parent <jparent@google.com>

Reviewed by Eric Seidel.

Skip new tests from r43822 on Gtk
https://bugs.webkit.org/show_bug.cgi?id=25780

  • platform/gtk/Skipped:
3:55 AM Changeset in webkit [43822] by eric@webkit.org
  • 1 edit
    6 adds in trunk/LayoutTests

2009-05-18 Julie Parent <jparent@google.com>

Reviewed by Oliver Hunt.

Add missing files from r43821
https://bugs.webkit.org/show_bug.cgi?id=25780

  • editing/pasteboard/get-data-text-plain-drop-expected.txt: Added.
  • editing/pasteboard/get-data-text-plain-drop.html: Added.
  • editing/pasteboard/get-data-text-plain-paste-expected.txt: Added.
  • editing/pasteboard/get-data-text-plain-paste.html: Added.
  • editing/pasteboard/resources/TEMPLATE.html: Copied from LayoutTests/editing/execCommand/resources/TEMPLATE.html.
  • editing/pasteboard/resources/get-data-text-plain-paste.js: Added. (handlePaste):
3:29 AM Changeset in webkit [43821] by eric@webkit.org
  • 5 edits in trunk

2009-05-18 Julie Parent <jparent@google.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=25716

  • Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
3:11 AM Changeset in webkit [43820] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2009-05-18 Julie Parent <jparent@google.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=25716

  • Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.

May 17, 2009:

10:24 PM Changeset in webkit [43819] by weinig@apple.com
  • 2 edits in branches/nitro-extreme/JavaScriptCore

2009-05-17 Sam Weinig <sam@webkit.org>

Reviewed by Geoffrey Garen.

Remove unneeded ExecState parameter from the number JSValue constructors.

  • runtime/JSValue.h: (JSC::jsNumber): (JSC::jsNaN): (JSC::JSValue::JSValue):
6:20 PM Changeset in webkit [43818] by sfalken@apple.com
  • 3 edits in trunk/JavaScriptCore

Windows build fix

5:31 PM Changeset in webkit [43817] by mitz@apple.com
  • 90 edits
    1 move in trunk/LayoutTests

Reviewed by David Kilzer.

  • move fast/repaint/repaint.js into the resources subdirectory
  • fast/repaint/repaint.js: Removed.
  • fast/repaint/resources/repaint.js: Copied from fast/repaint/repaint.js.
  • (89 tests changed to load the script from the new location)
1:11 PM Changeset in webkit [43816] by staikos@webkit.org
  • 2 edits in trunk/WebCore

Unreviewed build fix for WML: constr->const

1:06 PM Changeset in webkit [43815] by Darin Adler
  • 2 edits
    1 add in trunk/WebCore

2009-05-17 Darin Adler <Darin Adler>

Fix done by Simon Fraser (reviewed by me).

<rdar://problem/6893775> Page with screen-only stylesheet with overflow and height
transitions has bad layout and overlapping garbled text when printing

  • manual-tests/print-with-height-transition-in-screen-stylesheet.html: Added.
  • page/animation/AnimationController.cpp: (WebCore::AnimationController::updateAnimations): Don't run transitions when printing.
12:12 PM Changeset in webkit [43814] by Darin Adler
  • 2 edits
    1 add in trunk/WebCore

2009-05-17 Darin Adler <Darin Adler>

Reviewed by Simon Fraser.

<rdar://problem/6870241> REGRESSION: Programmatically selected popup menu item not shown

  • html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::setSelectedIndex): Added a call to updateFromElement and also a type check on the selected index to avoid a bad cast to HTMLOptionElement.
  • manual-tests/select-option-in-onload.html: Added.
11:34 AM Changeset in webkit [43813] by Simon Fraser
  • 2 edits in trunk/WebCore

2009-05-17 Simon Fraser <Simon Fraser>

Reviewed by Anders Carlsson

Rename local variables for readability.

  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintBorder):
10:50 AM Changeset in webkit [43812] by Darin Adler
  • 2 edits in trunk/LayoutTests

2009-05-17 Darin Adler <Darin Adler>

  • platform/gtk/Skipped: Disable another media test that seems to be failing at least intermittently.
10:47 AM Changeset in webkit [43811] by Darin Adler
  • 4 edits in trunk/WebCore

2009-05-17 Darin Adler <Darin Adler>

Reviewed by Mark Rowe.

Bug 25840: fix some warnings seen on the GTK bot
https://bugs.webkit.org/show_bug.cgi?id=25840

  • platform/ScrollView.cpp: (WebCore::ScrollView::platformScrollbarModes): Initialize results here. This is really just to quiet warnings. I think this code is unreachable. Someone could put ASSERT_NOT_REACHED() in here too at some point.
  • plugins/PluginStream.cpp: (WebCore::PluginStream::startStream): Use proper printf format for int here, %d, not %lu. This could cause a real problem when compiled 64-bit, so it's good to fix.
  • rendering/RenderTextControl.cpp: (WebCore::getNextSoftBreak): Initialize breakOffset to 0 here. This is really just to quiet the warning, but still seems like a good idea.
9:50 AM Changeset in webkit [43810] by Darin Adler
  • 3 edits in trunk/WebCore

2009-05-17 Chris Fleizach <Chris Fleizach>

Reviewed by Darin Adler.

Bug 25769: Fix accessibility warnings on GTK
https://bugs.webkit.org/show_bug.cgi?id=25769

  • page/AccessibilityTable.cpp: (WebCore::AccessibilityTable::columnCount): Get rid of excess const. (WebCore::AccessibilityTable::rowCount): Ditto.
  • page/AccessibilityTable.h: Ditto.
9:47 AM Changeset in webkit [43809] by Darin Adler
  • 3 edits
    2 adds in trunk

WebCore:

2009-05-17 Kai Brüning <kai@granus.net>

Reviewed by Darin Adler.

bug 25822: DOM normalize does not remove empty text node between element nodes
https://bugs.webkit.org/show_bug.cgi?id=25822

Test: fast/dom/Node/normalize.html

  • dom/Node.cpp: (WebCore::Node::normalize): Changed to remove any empty text nodes.

LayoutTests:

2009-05-17 Kai Brüning <kai@granus.net>

Reviewed by Darin Adler.


Test case for bug 25822: DOM normalize does not remove empty text node between element nodes
https://bugs.webkit.org/show_bug.cgi?id=25822


The test case strives to test the whole functionality of Node's normalize().

  • fast/dom/Node/normalize-expected.txt: Added.
  • fast/dom/Node/normalize.html: Added.
Note: See TracTimeline for information about the timeline view.