Fixed a bug number.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Land support for JPEG image decoding on Win32.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Roll out the change to 7102.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix win32 sprintf method on string to not infinite loop. r=eric

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add some ifdefed out paint flashing code for Win32 to the scroll view's updateContents method.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Implement live scrolling on Win32.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by John Sullivan.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8051
          Empty forms are submitted incorrectly

        Test: fast/forms/empty-get.html

        * platform/KURL.cpp:
        (KURL::setQuery): Add a question mark for empty query strings, too.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests:

        Test: fast/forms/visual-hebrew-text-field.html

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8076
          REGRESSION: native text fields are reversed on "visual Hebrew" pages

        * css/html4.css: Set the -kthml-rtl-ordering property to "logical" for all
        input elements. This should help also with future conversions from AppKit to
        native.

WebCore:

        Reviewed by Darin.

        - Test for http://bugzilla.opendarwin.org/show_bug.cgi?id=8076
          REGRESSION: native text fields are reversed on "visual Hebrew" pages

        * fast/forms/visual-hebrew-text-field-expected.checksum: Added.
        * fast/forms/visual-hebrew-text-field-expected.png: Added.
        * fast/forms/visual-hebrew-text-field-expected.txt: Added.
        * fast/forms/visual-hebrew-text-field.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Justin.

        <rdar://problem/4444693> REGRESSION: Deleting empty lines causes quoted text to mistakenly get "unquoted"

        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::handleGeneralDelete):
        Formatting.
        (WebCore::DeleteSelectionCommand::moveNodesAfterNode):
        Generalize check that preserves nesting when deleting to the beginning of an ancestor block.

        * editing/deleting/delete-block-merge-contents-022.html: Added.
        * editing/deleting/delete-block-merge-contents-023.html: Added.
        * editing/deleting/delete-block-merge-contents-024.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Justin.

        <rdar://problem/4444693> REGRESSION: Deleting empty lines causes quoted text to mistakenly get "unquoted"

        * editing/deleting/delete-block-merge-contents-022-expected.checksum: Added.
        * editing/deleting/delete-block-merge-contents-022-expected.png: Added.
        * editing/deleting/delete-block-merge-contents-022-expected.txt: Added.
        * editing/deleting/delete-block-merge-contents-022.html: Added.
        * editing/deleting/delete-block-merge-contents-023-expected.checksum: Added.
        * editing/deleting/delete-block-merge-contents-023-expected.png: Added.
        * editing/deleting/delete-block-merge-contents-023-expected.txt: Added.
        * editing/deleting/delete-block-merge-contents-023.html: Added.
        * editing/deleting/delete-block-merge-contents-024-expected.checksum: Added.
        * editing/deleting/delete-block-merge-contents-024-expected.png: Added.
        * editing/deleting/delete-block-merge-contents-024-expected.txt: Added.
        * editing/deleting/delete-block-merge-contents-024.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests:

        Reviewed by darin
        
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6989
        REGRESSION: Plain-text mode needed for contenteditable area used in new text field

        * fast/forms/plaintext-mode-1-expected.txt: Added.
        * fast/forms/plaintext-mode-1.html: Added.
        * fast/forms/plaintext-mode-2-expected.checksum: Added.
        * fast/forms/plaintext-mode-2-expected.png: Added.
        * fast/forms/plaintext-mode-2-expected.txt: Added.
        * fast/forms/plaintext-mode-2.html: Added.

WebCore:

        Reviewed by darin
        
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6989
        REGRESSION: Plain-text mode needed for contenteditable area used in new text field

        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreFrameBridge.mm:
        (-[WebCoreFrameBridge isSelectionEditable]):
        (-[WebCoreFrameBridge isSelectionRichlyEditable]):
        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
        * css/CSSValueKeywords.in:
        * css/cssparser.cpp:
        (WebCore::CSSParser::parseValue):
        * dom/Node.cpp:
        (WebCore::Node::isContentRichlyEditable):
        * dom/Node.h:
        * editing/EditCommand.cpp:
        (WebCore::EditCommand::apply):
        * editing/JSEditor.cpp:
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplacementFragment::ReplacementFragment):
        (WebCore::ReplaceSelectionCommand::doApply):
        * editing/Selection.h:
        (WebCore::Selection::rootEditableElement):
        (WebCore::Selection::isContentEditable):
        (WebCore::Selection::isContentRichlyEditable):
        * editing/SelectionController.h:
        (WebCore::SelectionController::rootEditableElement):
        (WebCore::SelectionController::isContentEditable):
        (WebCore::SelectionController::isContentRichlyEditable):
        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::isContentEditable):
        (WebCore::HTMLElement::contentEditable):
        (WebCore::HTMLElement::setContentEditable):
        * rendering/RenderTextField.cpp:
        (WebCore::RenderTextField::createDivStyle):
        * rendering/render_style.h:
        (WebCore::):

WebKit:

        Reviewed by darin
        
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6989
        REGRESSION: Plain-text mode needed for contenteditable area used in new text field

        * WebView/WebHTMLView.m:
        (-[WebHTMLView _canEditRichly]): Added.
        (-[WebHTMLView _canIncreaseSelectionListLevel]): Use _canEditRichly
        (-[WebHTMLView _canDecreaseSelectionListLevel]): Ditto.
        (-[WebHTMLView _increaseSelectionListLevel]):
        (-[WebHTMLView _decreaseSelectionListLevel]):
        (-[NSArray validateUserInterfaceItem:]): 
        Split rich text editing actions off from ones that can be applied anywhere.
        (-[NSArray _applyStyleToSelection:withUndoAction:]):
        (-[NSArray _applyParagraphStyleToSelection:withUndoAction:]):
        (-[NSArray _alignSelectionUsingCSSValue:withUndoAction:]):
        * WebView/WebHTMLViewPrivate.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Justin.

        - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8083
        REGRESSION: Repro crash when dragging to select over a new text field

        * editing/Selection.cpp: (WebCore::Selection::adjustForEditableContent):
        When searching for non-editable content, if the end of the selection is in a 
        shadow tree, then we need to jump out of that first.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2006-03-30  Eric Seidel  <eseidel@apple.com>

        Reviewed by hyatt.

        Fix text form controls, and add basic submit support!

        * bridge/win/FrameWin.cpp:
        (WebCore::FrameWin::submitForm):
        * bridge/win/FrameWin.h:
        * platform/win/KeyEventWin.cpp:
        (WebCore::keyIdentifierForWindowsKeyCode):
        (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
        * platform/win/TemporaryLinkStubs.cpp:
        (FrameWin::incomingReferrer):
        * platform/win/TransferJobWin.cpp:
        (WebCore::TransferJob::start):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2006-03-30  Eric Seidel  <eseidel@apple.com>

        Reviewed by hyatt.

        Fix html editing input & basic form submission.

        * Spinneret/Spinneret/WebFrame.cpp:
        (WebKit::WebFrame::submitForm):
        (WebKit::WebFrame::loadURL):
        * Spinneret/Spinneret/WebFrame.h:
        * Spinneret/Spinneret/WebView.cpp:
        (WebKit::WebView::keyPress):
        (WebKit::WebViewWndProc):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2006-03-30  Eric Seidel  <eseidel@apple.com>

        Reviewed by ggaren.

        Remove WebFrame::viewImpl(), setMainFrame on page.

        * Spinneret/Spinneret/WebFrame.cpp:
        (WebKit::WebFrame::WebFrame):
        * Spinneret/Spinneret/WebFrame.h:
        * Spinneret/Spinneret/WebView.cpp:
        (WebKit::WebView::mouseMoved):
        (WebKit::WebView::mouseDown):
        (WebKit::WebView::mouseUp):
        (WebKit::WebView::mouseDoubleClick):
        (WebKit::WebViewWndProc):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Geoff.

        * DumpRenderTree/DumpRenderTree.m:
        (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
        Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
        an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
        exposed to JS as a callable object.

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].

        * DumpRenderTree/ObjCPlugin.h: Added.
        * DumpRenderTree/ObjCPlugin.m: Added.
        * DumpRenderTree/ObjCPluginFunction.h: Added.
        * DumpRenderTree/ObjCPluginFunction.m: Added.

        * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
        Added a new method, "removeDefaultMethod", which removes the default method from the
        plugin object's class.  The effect is that the plugin object is mutated from a callable
        function to a simple object.
        (pluginInvoke):
        Handle "removeDefaultMethod".
        (pluginInvokeDefault):
        Made the default method actually do something (return 1).



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by NOBODY (just fixing copyrights)

        * DumpRenderTree/ObjCPlugin.h:
	Fixed copyright.
        * DumpRenderTree/ObjCPlugin.m: ditto
        * DumpRenderTree/ObjCPluginFunction.h: ditto
        * DumpRenderTree/ObjCPluginFunction.m: ditto



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Geoff.
        
        Test case for issues surrounding <rdar://problem/4212626> REGRESSION: LIVECONNECT:
        JavaScript type for Java Strings is function, not object

        Unfortunately, I can only test C and ObjC instances; Java does not run correctly
        in DumpRenderTree.

        * plugins/bindings-test/bindings-test.html: Added.
        * plugins/bindings-test/bindings-test-expected.txt: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Reviewed by Geoff.

        <rdar://problem/4212626> REGRESSION: LIVECONNECT: JavaScript type for Java Strings is function,
        not object

        * bindings/runtime.h:
        (KJS::Bindings::Instance::implementsCall):
        New method.  Returns false by default.  Concrete subclasses can override this return true when
        the bound object may be called as a function.
        (KJS::Bindings::Instance::invokeDefaultMethod):
        Since bound objects are no longer treated as functions by default, we can return jsUndefined()
        here instead of in concrete subclasses that decide not to implement the default method
        functionality.

        * bindings/runtime_object.cpp:
        (RuntimeObjectImp::implementsCall):
        Don't assume that the bound object is a function; instead, let the object instance decide whether
        it is callable.

        * bindings/c/c_instance.h:
        * bindings/c/c_instance.cpp:
        (KJS::Bindings::CInstance::implementsCall):
        The object is callable if its class has an invokeDefault function.

        * bindings/objc/objc_instance.h:
        * bindings/objc/objc_instance.mm:
        (ObjcInstance::implementsCall):
        The object is callable if the ObjC instance responds to -invokeDefaultMethodWithArguments:.

        * bindings/jni/jni_instance.h:
        * bindings/jni/jni_instance.cpp:
        Moved bogus invokeDefaultMethod() to superclass.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        Manual test case for the Java aspect of <rdar://problem/4212626> REGRESSION: LIVECONNECT:
        JavaScript type for Java Strings is function, not object

        * manual-tests/java-string-object-type.html: Added.
        * manual-tests/resources/StringTypeTest.class: Added.
        * manual-tests/resources/StringTypeTest.java: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13590 268f45cc-cd09-0410-ab3c-d52691b4dbfc