Timeline



Sep 24, 2005:

3:39 PM Changeset in webkit [10622] by mjs
  • 1 edit
    8 adds in trunk
  • some JavaScript syntax test cases
  • layout-tests/fast/js/delete-syntax-expected.txt: Added.
  • layout-tests/fast/js/delete-syntax.html: Added.
  • layout-tests/fast/js/postfix-syntax-expected.txt: Added.
  • layout-tests/fast/js/postfix-syntax.html: Added.
  • layout-tests/fast/js/prefix-syntax-expected.txt: Added.
  • layout-tests/fast/js/prefix-syntax.html: Added.
  • layout-tests/fast/js/typeof-syntax-expected.txt: Added.
  • layout-tests/fast/js/typeof-syntax.html: Added.
3:34 PM Changeset in webkit [10621] by mjs
  • 8 edits in trunk/JavaScriptCore

Reviewed by Darin.

<rdar://problem/4260479> Finish deploying PropertySlot in the interpreter
http://bugzilla.opendarwin.org/show_bug.cgi?id=5112

Convert postfix, prefix, delete, prefix, and for..in expressions to use
PropertySlot-based lookup instead of evaluateReference.

3% speedup on JS iBench.

Fixed two of the JS tests:

  • tests/mozilla/expected.html:
  • kjs/grammar.y:
  • kjs/nodes.cpp: (PostfixResolveNode::evaluate): (PostfixBracketNode::evaluate): (PostfixDotNode::evaluate): (DeleteResolveNode::evaluate): (DeleteBracketNode::evaluate): (DeleteDotNode::evaluate): (DeleteValueNode::evaluate): (typeStringForValue): (TypeOfResolveNode::evaluate): (TypeOfValueNode::evaluate): (PrefixResolveNode::evaluate): (PrefixBracketNode::evaluate): (PrefixDotNode::evaluate): (ForInNode::execute):
  • kjs/nodes.h: (KJS::PostfixResolveNode::PostfixResolveNode): (KJS::PostfixBracketNode::PostfixBracketNode): (KJS::PostfixDotNode::PostfixDotNode): (KJS::DeleteResolveNode::DeleteResolveNode): (KJS::DeleteBracketNode::DeleteBracketNode): (KJS::DeleteDotNode::DeleteDotNode): (KJS::DeleteValueNode::DeleteValueNode): (KJS::TypeOfResolveNode::TypeOfResolveNode): (KJS::TypeOfValueNode::TypeOfValueNode): (KJS::PrefixResolveNode::PrefixResolveNode): (KJS::PrefixBracketNode::PrefixBracketNode): (KJS::PrefixDotNode::PrefixDotNode):
  • kjs/nodes2string.cpp: (PostfixResolveNode::streamTo): (PostfixBracketNode::streamTo): (PostfixDotNode::streamTo): (DeleteResolveNode::streamTo): (DeleteBracketNode::streamTo): (DeleteDotNode::streamTo): (DeleteValueNode::streamTo): (TypeOfValueNode::streamTo): (TypeOfResolveNode::streamTo): (PrefixResolveNode::streamTo): (PrefixBracketNode::streamTo): (PrefixDotNode::streamTo):
  • kjs/reference.cpp: (KJS::Reference::Reference): (KJS::Reference::getPropertyName): (KJS::Reference::getValue): (KJS::Reference::deleteValue):
  • kjs/reference.h:
6:50 AM Changeset in webkit [10620] by darin
  • 5 edits
    8 adds in trunk

WebCore:

Test cases added:

  • layout-tests/editing/selection/fake-drag.html: Added.
  • layout-tests/editing/selection/fake-doubleclick: Added.

WebKitTools:

Reviewed by Maciej.
Landed by Darin.

  • DumpRenderTree/DumpRenderTree.m: (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): (+[EventSendingController isSelectorExcludedFromWebScript:]): (+[EventSendingController webScriptNameForSelector:]): (-[EventSendingController init]): (-[EventSendingController mouseDown]): (-[EventSendingController mouseUp]): (-[EventSendingController mouseMoveToX:Y:]): Add eventSender javascript object, that sends fake mouse events to the webview.
  • DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: link with Carbon.framework
6:39 AM Changeset in webkit [10619] by darin
  • 1 edit
    1 add in trunk/WebCore
  • added Mitz's test for flipped text rendering (using dragged links)
  • manual-tests/flipped-text-rendering.html: Added.
6:36 AM Changeset in webkit [10618] by darin
  • 2 edits in trunk/WebKit

Reviewed and landed by Darin.

  • WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer _ATSU_drawRun:style:geometry:]): Set up a the CGContext with a matrix that flips the text if the view is not flipped.
6:18 AM Changeset in webkit [10617] by darin
  • 18 edits
    6 adds in trunk

WebCore:

  • added tests and updated results for WebKit ATSU text measurement change
  • layout-tests/fast/text/cg-vs-atsui.html: Added.
  • layout-tests/fast/text/cg-vs-atsui-expected.checksum: Added.
  • layout-tests/fast/text/cg-vs-atsui-expected.png: Added.
  • layout-tests/fast/text/cg-vs-atsui-expected.txt: Added.
  • layout-tests/css1/text_properties/text-transCapitalize-expected.checksum: Updated.
  • layout-tests/css1/text_properties/text-transCapitalize-expected.png: Updated.
  • layout-tests/css1/text_properties/text-transCapitalize-expected.txt: Updated.
  • layout-tests/fast/text/international/bidi-CS-after-AN-expected.checksum: Updated.
  • layout-tests/fast/text/international/bidi-CS-after-AN-expected.png: Updated.
  • layout-tests/fast/text/international/bidi-CS-after-AN-expected.txt: Updated.
  • layout-tests/fast/text/international/bidi-explicit-embedding-expected.checksum: Updated.
  • layout-tests/fast/text/international/bidi-explicit-embedding-expected.png: Updated.
  • layout-tests/fast/text/international/bidi-explicit-embedding-expected.txt: Updated.
  • layout-tests/fast/text/international/bidi-fallback-font-weight-expected.checksum: Updated.
  • layout-tests/fast/text/international/bidi-fallback-font-weight-expected.png: Updated.
  • layout-tests/fast/text/international/bidi-fallback-font-weight-expected.txt: Updated.
  • layout-tests/fast/text/international/bidi-override-expected.checksum: Updated.
  • layout-tests/fast/text/international/bidi-override-expected.png: Updated.
  • layout-tests/fast/text/international/bidi-override-expected.txt: Updated.
  • added pixel results for this test
  • layout-tests/editing/pasteboard/3976872-expected.checksum: Added.
  • layout-tests/editing/pasteboard/3976872-expected.png: Added.

WebKit:

Reviewed, tweaked a tiny bit, and landed by Darin.

  • WebCoreSupport.subproj/WebTextRenderer.m: (overrideLayoutOperation): Added. ATSU callback to do the rounding. (-[WebTextRenderer _trapezoidForRun:style:atPoint:]): Use the new createATSULayoutParameters function instead of calling _createATSUTextLayoutForRun. (-[WebTextRenderer _ATSU_drawHighlightForRun:style:geometry:]): Use createATSULayoutParameters, and also compute the width in a way that works for any direction combination. (-[WebTextRenderer _ATSU_drawRun:style:geometry:]): Use createATSULayoutParameters. (-[WebTextRenderer _ATSU_pointToOffset:style:position:reversed:includePartialGlyphs:]): Use createATSULayoutParameters. Also put in code that seems to work around an ATSU bug. (createATSULayoutParameters): Added. (disposeATSULayoutParameters): Added.
5:05 AM Changeset in webkit [10616] by darin
  • 2 edits in trunk/WebKit

Reviewed by Dave.
Landed by Darin.

  • WebCoreSupport.subproj/WebTextRenderer.m: (addDirectionalOverride): Renamed, and made it work in both directions. (-[WebTextRenderer _ATSU_drawHighlightForRun:style:geometry:]): Updated to call addDirectionalOverride. (-[WebTextRenderer _ATSU_drawRun:style:geometry:]): More of the same. (-[WebTextRenderer _ATSU_pointToOffset:style:position:reversed:includePartialGlyphs:]): Ditto.
4:55 AM Changeset in webkit [10615] by darin
  • 5 edits
    6 adds in trunk
  • fixed a few layout test results
  • layout-tests/fast/js/date-big-constructor.html: Added code to make this test dump as text.
  • layout-tests/fast/js/date-big-constructor-expected.txt: Updated.
  • layout-tests/fast/parser/script-tag-with-trailing-slash.html: Fixed code that said window.dumpAsText() instead of layoutTestController.dumpAsText() so this test would dump as text.
  • layout-tests/fast/parser/script-tag-with-trailing-slash-expected.txt: Updated.
  • layout-tests/fast/dom/replaceChild-expected.checksum: Added.
  • layout-tests/fast/dom/replaceChild-expected.png: Added.
  • layout-tests/fast/encoding/utf-16-no-bom-expected.checksum: Added.
  • layout-tests/fast/encoding/utf-16-no-bom-expected.png: Added.
  • layout-tests/fast/table/overflowHidden-expected.checksum: Added.
  • layout-tests/fast/table/overflowHidden-expected.png: Added.
4:45 AM Changeset in webkit [10614] by darin
  • 17 edits
    4 adds in trunk

Reviewed by Dave.
Landed by Darin.

Test cases added:

  • layout-tests/fast/text/international/bidi-override.html: Added.
  • layout-tests/fast/text/international/bidi-override-expected.checksum: Added.
  • layout-tests/fast/text/international/bidi-override-expected.png: Added.
  • layout-tests/fast/text/international/bidi-override-expected.txt: Added.
  • khtml/rendering/bidi.h: Include an "override direction" flag in BidiRun.
  • khtml/rendering/bidi.cpp: (khtml::RenderBlock::computeVerticalPositionsForLine): Pass in "override direction" parameter. (khtml::RenderBlock::bidiReorderLine): Set direction based on override. (khtml::RenderBlock::layoutInlineChildren): Pass in "override direction" parameter.
  • khtml/rendering/render_object.h: Update position function to take an "override direction" parameter.
  • khtml/rendering/render_box.h: Ditto.
  • khtml/rendering/render_box.cpp: (RenderBox::position): Ditto.
  • khtml/rendering/render_text.h: Add an m_dirOverride field to InlineTextBox.
  • khtml/rendering/render_text.cpp: (InlineTextBox::paint): Pass true for override to drawText if m_dirOverride is set. (InlineTextBox::paintSelection): Ditto. (InlineTextBox::paintMarkedTextBackground): Ditto. (RenderText::position): Set up m_dirOverride in the InlineTextBox based on the override parameter.
  • kwq/WebCoreTextRenderer.h: Replace visuallyOrdered flag with a directionalOverride flag.
  • kwq/WebCoreTextRendererFactory.mm: (WebCoreInitializeEmptyTextStyle): Ditto.
  • kwq/KWQPainter.mm: (QPainter::drawText): Ditto. (QPainter::drawHighlightForText): Ditto.
  • updated pixel test results for unrelated tests with results that recently changed
  • layout-tests/fast/forms/006-expected.checksum:
  • layout-tests/fast/forms/006-expected.png:
  • layout-tests/fast/forms/007-expected.checksum:
  • layout-tests/fast/forms/007-expected.png:
  • layout-tests/fast/text/whitespace/013-expected.checksum:
  • layout-tests/fast/text/whitespace/013-expected.png:
4:05 AM Changeset in webkit [10613] by darin
  • 4 edits in trunk/WebCore

Reviewed by Eric.
Landed by Darin (after taking tabs out).

  • kwq/KWQLineEdit.mm: (QLineEdit::setCursorPosition): Don't use NSMakeRange. (QLineEdit::setSelection): Ditto.
  • kwq/KWQPainter.mm: (QPainter::drawFloatPixmap): Rearrange things so we don't get a warning.
  • kwq/KWQTextEdit.mm: (QTextEdit::selectionEnd): Don't use NSMaxRange. (QTextEdit::setSelectionRange): Don't use NSMakeRange.
3:58 AM Changeset in webkit [10612] by darin
  • 3 edits in trunk/WebKit

Tweaked, reviewed, and landed by Darin.

  • WebView.subproj/WebHTMLView.m: (-[NSArray mouseDown:]): Removed misleading comment and added code to send mouse event to input manager. (-[NSArray mouseDragged:]): Added code to send mouse event to input manager. (-[NSArray mouseUp:]): Ditto. (-[WebHTMLView _discardMarkedText]): Umnmark text before calling markedTextAbandoned: to match behavior of NSTextView (not sure why we did things in the opposite order before). (-[WebHTMLView _updateSelectionForInputManager]): Ditto.
  • unrelated tweak
  • WebView.subproj/WebView.m: (-[WebView _performTextSizingSelector:withObject:onTrackingDocs:selForNonTrackingDocs:newScaleFactor:]): Fix typecast that used ... for no good reason.
3:07 AM Changeset in webkit [10611] by darin
  • 2 edits
    5 adds in trunk

Reviewed and landed by Darin.

Test cases added:

  • layout-tests/fast/xsl/xslt-text.xml: Added.
  • layout-tests/fast/xsl/xslt-text.xsl: Added.
  • layout-tests/fast/xsl/xslt-text-expected.checksum: Added.
  • layout-tests/fast/xsl/xslt-text-expected.png: Added.
  • layout-tests/fast/xsl/xslt-text-expected.txt: Added.
  • khtml/xsl/xslt_processorimpl.cpp: (DOM::XSLTProcessorImpl::documentFromXMLDocPtr): Use text rather than CDATA, using entities for & and < so that we can parse no matter what characters are in the text. Also add a head and a title element so the document is well formed.
2:49 AM Changeset in webkit [10610] by darin
  • 2 edits
    2 adds in trunk

Reviewed and landed by Darin.

Test cases added:

  • layout-tests/fast/encoding/utf-16-no-bom.xml: Added.
  • layout-tests/fast/encoding/utf-16-no-bom-expected.txt: Added.
  • khtml/misc/decoder.cpp: (Decoder::decode): Auto-detect an XML header with 16-bit characters (big or little endian) and decide encoding based on that.

Sep 23, 2005:

11:29 PM Changeset in webkit [10609] by eseidel
  • 2 edits in trunk/WebCore

Bug #: 5113
Submitted by: eseidel
Reviewed by: none, build fix only.

10:49 PM Changeset in webkit [10608] by eseidel
  • 2 edits in trunk/WebCore

Bug #: 5111
Submitted by: Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by: mjs

8:28 PM Changeset in webkit [10607] by darin
  • 1 edit
    2 adds in trunk/JavaScriptCore

Reviewed and landed by Darin.

  • a Windows-specific file
  • os-win32/stdint.h: Added. We plan to remove dependency on the <stdint.h> types, and if we do so, we will remove this file.
6:19 PM Changeset in webkit [10606] by darin
  • 35 edits
    1 add
    3 deletes in trunk

WebCore:

Reviewed and landed by Darin.

  • name changes to prepare for fixing bugzilla bug 4582

Renamed khtml::Selection to khtml::SelectionController since it's far more
than just the selection position itself. Also renamed WebSelectionDirection
WebSelectionGranularity and their constants to have a WebBridge prefix so they
don't collide with possible public enums with a similar purpose.

  • ForwardingHeaders/editing/SelectionController.h: Added.
  • ForwardingHeaders/editing/selection.h: Removed.
  • WebCore.xcodeproj/project.pbxproj: Added new files, removed old files.
  • khtml/editing/SelectionController.cpp: New name for selection.cpp, contents renamed.
  • khtml/editing/SelectionController.h: New name for selection.h, contents renamed.
  • khtml/editing/selection.cpp: Removed.
  • khtml/editing/selection.h: Removed.
  • khtml/ecma/kjs_window.cpp:
  • khtml/editing/apply_style_command.cpp:
  • khtml/editing/break_blockquote_command.cpp:
  • khtml/editing/composite_edit_command.cpp:
  • khtml/editing/composite_edit_command.h:
  • khtml/editing/delete_selection_command.cpp:
  • khtml/editing/delete_selection_command.h:
  • khtml/editing/edit_command.cpp:
  • khtml/editing/edit_command.h:
  • khtml/editing/htmlediting.h:
  • khtml/editing/insert_line_break_command.cpp:
  • khtml/editing/insert_paragraph_separator_command.cpp:
  • khtml/editing/insert_text_command.cpp:
  • khtml/editing/jsediting.cpp:
  • khtml/editing/move_selection_command.cpp:
  • khtml/editing/replace_selection_command.cpp:
  • khtml/editing/typing_command.cpp:
  • khtml/khtml_part.cpp:
  • khtml/khtml_part.h:
  • khtml/khtmlpart_p.h:
  • khtml/rendering/render_block.cpp:
  • khtml/xml/dom_docimpl.cpp:
  • khtml/xml/dom_nodeimpl.cpp:
  • kwq/KWQAccObject.mm:
  • kwq/KWQKHTMLPart.h:
  • kwq/KWQKHTMLPart.mm:
  • kwq/KWQRenderTreeDebug.cpp:
  • kwq/WebCoreBridge.h:
  • kwq/WebCoreBridge.mm: Renaming.

WebKit:

Reviewed and landed by Darin.

  • name changes to prepare for fixing bugzilla bug 4582
  • WebView.subproj/WebHTMLView.m: Changed names to match WebCore changes.
11:24 AM Changeset in webkit [10605] by darin
  • 2 edits in trunk/WebCore

Reviewed by Eric.

  • kwq/DOM-CSS.mm: (-[DOMObject sheet]): Added.
11:20 AM Changeset in webkit [10604] by darin
  • 2 edits in trunk/WebCore

Reviewed by Eric.

  • kwq/DOM-CSS.mm: (-[DOMStyleSheet _initWithStyleSheetImpl:]): Changed the name of this method to be consistent with other method names in the DOM wrappers. The old name had an extraneous "DOM" in it. (+[DOMStyleSheet _DOMStyleSheetWithImpl:]): Create a wrapper of an appropriate class that matches the actual style sheet. This is analogous to what +[DOMNode _nodeWithImpl:] does. (+[DOMCSSStyleSheet _CSSStyleSheetWithImpl:]): Call through to the base class. The only difference here is the static type of the parameter, which ensures a compile-time error if you pass the wrong type of pointer.
10:38 AM Changeset in webkit [10603] by darin
  • 4 edits in trunk

Reviewed by Maciej.
Tested, landed, and tweaked a tiny bit by Darin.

Fix was to remove the "pending" concept from the tokenizer, which streamlined the
code and also fixed one minor bug seen in one of the layout tests where we discarded
too much after the <pre>.

  • khtml/html/htmltokenizer.h: Removed the addPending function and the pending field. Also removed SpaceDiscard and AllDiscard since we don't use them any more. We still use LFDiscard to discard the first LF after a <pre>.
  • khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::begin): Don't initialize pending. (khtml::HTMLTokenizer::processListing): Tweaked formatting to match guidelines. Removed calls to addPending. Write "\n" right away instead of using LFPending. Write " " right away instead of using SpacePending by removing separate code for space. (khtml::HTMLTokenizer::write): Ditto. (khtml::HTMLTokenizer::finish): Remove the call to addPending we just added a few days ago. This is what was causing the crash.
  • layout-tests/fast/text/whitespace/013-expected.txt: Updated results. Old results incorrectly expected spaces *and* a newline to be discarded after a <pre> tag, which was happening by accident. I tested Firefox and it matches what we do now -- only discards a newline just after a <pre>, not a run of spaces and a subsequent newline.

Sep 22, 2005:

8:54 PM Changeset in webkit [10602] by eseidel
  • 2 edits in trunk/WebCore

Bug #: 4649
Submitted by: Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>
Reviewed by: eseidel

  • kcanvas/device/quartz/KCanvasFilterQuartz.mm: Deployment build fix.
8:31 PM Changeset in webkit [10601] by eseidel
  • 10 edits
    2 deletes in trunk/WebKitTools

Bug #: 5003
Submitted by: eseidel
Reviewed by: mjs

Update tools for WebCore+SVG -> WebCore rename.
Also fold several SVG specific tools into their original
WebCore counterparts.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5003

  • DrawTest/DrawTest.xcodeproj/project.pbxproj:
  • DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
  • Scripts/build-drawtest:
  • Scripts/build-dumpkcanvastree:
  • Scripts/build-webcore-svg: Removed.
  • Scripts/build-webkit: added --svg option
  • Scripts/run-drawtest:
  • Scripts/run-webkit-tests:
  • Scripts/webkitdirs.pm: various additions.
  • checkout: added --svg option
  • checkout-svg: Removed.
8:28 PM Changeset in webkit [10600] by eseidel
  • 7 edits
    8 adds in trunk/WebCore

Bug #: 5003
Submitted by: eseidel
Reviewed by: hyatt

Added KDOM and KCanvas wrapper objects for the WebCore DOM
and WebCore render tree. This allows using SVG in any
WebKit app, including Safari.
Also added extensions to QPainter to return a
KRenderingDeviceContext object to be passed into KCanvas.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5003

  • WebCore+SVG/dom_kdomdocumentwrapper.cpp: Added. (KDOMDocumentWrapperImpl::renderingDevice): (KDOMDocumentWrapperImpl::KDOMDocumentWrapperImpl): (KDOMDocumentWrapperImpl::~KDOMDocumentWrapperImpl): (DOM::KDOMDocumentWrapperImpl::createTokenizer): (KDOMDocumentWrapperImpl::svgView):
  • WebCore+SVG/dom_kdomdocumentwrapper.h: Added.
  • WebCore+SVG/dom_kdomnodetreewrapper.cpp: Added. (DOM::KDOMNodeTreeWrapperImpl::KDOMNodeTreeWrapperImpl): (KDOMNodeTreeWrapperImpl::~KDOMNodeTreeWrapperImpl): (KDOMNodeTreeWrapperImpl::attach): (KDOMNodeTreeWrapperImpl::createRenderer):
  • WebCore+SVG/dom_kdomnodetreewrapper.h: Added.
  • WebCore+SVG/render_kcanvaswrapper.cpp: Added. (RenderKCanvasWrapper::RenderKCanvasWrapper): (RenderKCanvasWrapper::~RenderKCanvasWrapper): (RenderKCanvasWrapper::layout): (RenderKCanvasWrapper::paint): (RenderKCanvasWrapper::intrinsicWidth): (RenderKCanvasWrapper::intrinsicHeight):
  • WebCore+SVG/render_kcanvaswrapper.h: Added. (khtml::RenderKCanvasWrapper::renderName): (khtml::RenderKCanvasWrapper::setCanvas):
  • WebCore+SVG/xml_kdomtokenizer.cpp: Added. (KDOMTokenizer::KDOMTokenizer): (KDOMTokenizer::~KDOMTokenizer): (KDOMTokenizer::documentWrapper): (KDOMTokenizer::write): (KDOMTokenizer::setOnHold): (KDOMTokenizer::finish): (KDOMTokenizer::isWaitingForScripts): (khtml::newKDOMTokenizer):
  • WebCore+SVG/xml_kdomtokenizer.h: Added.
  • WebCore.xcodeproj/project.pbxproj:
  • khtml/khtml_part.cpp: (KHTMLPart::begin):
  • khtml/xml/dom_docimpl.cpp: (DOMImplementationImpl::createKDOMDocument):
  • khtml/xml/dom_docimpl.h:
  • kwq/KWQPainter.h:
  • kwq/KWQPainter.mm: (QPainterPrivate::QPainterPrivate): (QPainterPrivate::~QPainterPrivate): (QPainter::renderingDeviceContext):
4:33 PM Changeset in webkit [10599]
  • 80 copies
    5 deletes in tags/JavaScriptCore-416~9

This commit was manufactured by cvs2svn to create tag
'JavaScriptCore-416~9'.

4:33 PM Changeset in webkit [10598] by thatcher
  • 2 edits in branches/Safari-Den-branch/JavaScriptCore

Added versioning for JavaScriptCore-416.9 submission.

1:09 PM Changeset in webkit [10597] by ggaren
  • 2 edits in trunk/JavaScriptCore

Reviewed by darin and mjs.

  • kjs/simple_number.h: changed enums to indenpendent constants to clarify types (KJS::isNegativeZero): changed to static function - no reason to export (KJS::SimpleNumber::rightShiftSignExtended): new function for clarity (KJS::SimpleNumber::make): specified cast as reinterpret_cast (KJS::SimpleNumber::is): changed to use uintptr_t for portability (KJS::SimpleNumber::value): changed to use uintptr_t and rightShiftSignExtended (KJS::SimpleNumber::fits): inverted tests - probably only a performance win for double (KJS::SimpleNumber::integerFits): ditto
12:28 PM Changeset in webkit [10596] by thatcher
  • 2 edits in branches/Safari-2-0-branch/JavaScriptCore
  • Fixed <rdar://problem/4263434> <rdar://problem/4263434> Denver 8F29 Regression: KJS::InterpreterImp::mark() crash

Fix by mjs, review by Geoff.

  • kjs/internal.cpp: (KJS::InterpreterImp::mark): Added a null check on globExec in case a garbage collection occurs inside InterpreterImp::globalInit (called from InterpreterImp::InterpreterImp), at which point globExec has not yet been initialized.
12:22 PM Changeset in webkit [10595] by thatcher
  • 3 edits in branches/Safari-Den-branch/JavaScriptCore

Merges fixes from TOT to Safari-Den-branch

2005-09-20 Geoffrey Garen <ggaren@apple.com>

  • More changes needed to fix <rdar://problem/4214783> 8F29 REGRESSION(Denver/Chardonnay): kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)

Added InterpreterLocks in some places in the bindings we missed before.

Reviewed by john.

  • bindings/runtime_root.cpp: (KJS::Bindings::addNativeReference): (KJS::Bindings::removeNativeReference): (RootObject::removeAllNativeReferences):
  • bindings/runtime_root.h: (KJS::Bindings::RootObject::~RootObject): (KJS::Bindings::RootObject::setRootObjectImp):
12:19 PM Changeset in webkit [10594] by darin
  • 2 edits in trunk/WebCore

Reviewed by Geoff.

  • khtml/ecma/kjs_dom.cpp: (KJS::getDOMDocumentNode): Don't use a static (global) identifier for the string "document" -- instead just create one each time. This eliminates the kjs_fast_malloc assertion on quit and does not create a significant performance regression because this is done at most once per JavaScript window object.
12:14 PM Changeset in webkit [10593] by thatcher
  • 3 edits in branches/Safari-2-0-branch/JavaScriptCore

Merges fixes from TOT to Safari-2-0-branch

2005-09-20 Geoffrey Garen <ggaren@apple.com>

  • More changes needed to fix <rdar://problem/4214783> 8F29 REGRESSION(Denver/Chardonnay): kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)

Added InterpreterLocks in some places in the bindings we missed before.

Reviewed by john.

  • bindings/runtime_root.cpp: (KJS::Bindings::addNativeReference): (KJS::Bindings::removeNativeReference): (RootObject::removeAllNativeReferences):
  • bindings/runtime_root.h: (KJS::Bindings::RootObject::~RootObject): (KJS::Bindings::RootObject::setRootObjectImp):

Sep 21, 2005:

2:58 PM Changeset in webkit [10592] by thatcher
  • 2 edits in branches/Safari-Den-branch/JavaScriptCore
  • Fixed <rdar://problem/4263434> <rdar://problem/4263434> Denver 8F29 Regression: KJS::InterpreterImp::mark() crash

Fix by mjs, review by Geoff.

  • kjs/internal.cpp: (KJS::InterpreterImp::mark): Added a null check on globExec in case a garbage collection occurs inside InterpreterImp::globalInit (called from InterpreterImp::InterpreterImp), at which point globExec has not yet been initialized.
2:52 PM Changeset in webkit [10591] by hyatt
  • 5 edits in trunk/LayoutTests/editing

Update editing tests to fix failures.

2:05 PM Changeset in webkit [10590] by vicki
  • 4 edits
    24 adds in trunk

Changes by Romain Brestac, reviewed by Darin.

  • khtml/misc/loader.cpp: (CachedXSLStyleSheet::CachedXSLStyleSheet): (CachedXSLStyleSheet::data):
  • khtml/misc/loader.h:
  • khtml/xsl/xslt_processorimpl.cpp: (DOM::XSLTProcessorImpl::addToResult): (DOM::XSLTProcessorImpl::documentFromXMLDocPtr):

Test cases added:

  • layout-tests/fast/xsl/resources/unicode.xsl: Added.
  • layout-tests/fast/xsl/resources/xslt-enc-cyr.xsl: Added.
  • layout-tests/fast/xsl/resources/xslt-enc.xsl: Added.
  • layout-tests/fast/xsl/resources/xslt-enc16.xsl: Added.
  • layout-tests/fast/xsl/xslt-enc-cyr-expected.checksum: Added.
  • layout-tests/fast/xsl/xslt-enc-cyr-expected.png: Added.
  • layout-tests/fast/xsl/xslt-enc-cyr-expected.txt: Added.
  • layout-tests/fast/xsl/xslt-enc-cyr.xml: Added.
  • layout-tests/fast/xsl/xslt-enc-expected.checksum: Added.
  • layout-tests/fast/xsl/xslt-enc-expected.png: Added.
  • layout-tests/fast/xsl/xslt-enc-expected.txt: Added.
  • layout-tests/fast/xsl/xslt-enc.xml: Added.
  • layout-tests/fast/xsl/xslt-enc16-expected.checksum: Added.
  • layout-tests/fast/xsl/xslt-enc16-expected.png: Added.
  • layout-tests/fast/xsl/xslt-enc16-expected.txt: Added.
  • layout-tests/fast/xsl/xslt-enc16.xml: Added.
  • layout-tests/fast/xsl/xslt-enc16to16-expected.checksum: Added.
  • layout-tests/fast/xsl/xslt-enc16to16-expected.png: Added.
  • layout-tests/fast/xsl/xslt-enc16to16-expected.txt: Added.
  • layout-tests/fast/xsl/xslt-enc16to16.xml: Added.
  • layout-tests/fast/xsl/xslt_unicode-expected.checksum: Added.
  • layout-tests/fast/xsl/xslt_unicode-expected.png: Added.
  • layout-tests/fast/xsl/xslt_unicode-expected.txt: Added.
  • layout-tests/fast/xsl/xslt_unicode.xml: Added.
10:32 AM Changeset in webkit [10589] by vicki
  • 5 edits
    8 adds in trunk

Reviewed by Darin.

  • fix these bugs <rdar://problem/3579812> HTMLTableElement.insertRow(n) inserts row at the beginning of the table (4043) <rdar://problem/3711188> HTMLTableElement.insertRow() doesn't respect passed index
  • khtml/html/html_tableimpl.cpp: (DOM::HTMLTableElementImpl::insertRow): if the index is the same as the number of rows in the section, we should append

Update test results for /fast/dynamic/013.html. In the old version the the rows
and cells were children of the first table section, a tfoot. They are now children
of the second table section, a tbody. Our rendering now matches Gecko and Win IE
(according to yusufg on #webkit, comparing with 013-expected.png) for this case.

  • layout-tests/fast/dynamic/013-expected.checksum:
  • layout-tests/fast/dynamic/013-expected.png:
  • layout-tests/fast/dynamic/013-expected.txt:

Test cases added:

  • layout-tests/fast/dynamic/014-expected.checksum: Added.
  • layout-tests/fast/dynamic/014-expected.png: Added.
  • layout-tests/fast/dynamic/014-expected.txt: Added.
  • layout-tests/fast/dynamic/014.html: Added.
  • layout-tests/fast/dynamic/015-expected.checksum: Added.
  • layout-tests/fast/dynamic/015-expected.png: Added.
  • layout-tests/fast/dynamic/015-expected.txt: Added.
  • layout-tests/fast/dynamic/015.html: Added.

Sep 20, 2005:

10:53 PM Changeset in webkit [10588] by mjs
  • 4 edits
    1 delete in trunk/JavaScriptCore

Reviewed by Geoff and partly by Darin.

This change gets us down from over 200 shift/reduce and 45 reduce/reduce to
9 shift/reduce and 45 reduce/reduce.

  • kjs/grammar.y:
  • kjs/grammar_types.h: Removed.
  • kjs/lexer.cpp:
  • kjs/nodes.h: (KJS::Node::isGroupNode): (KJS::Node::isLocation): (KJS::Node::isResolveNode): (KJS::Node::isBracketAccessorNode): (KJS::Node::isDotAccessorNode): (KJS::ResolveNode::isLocation): (KJS::ResolveNode::isResolveNode): (KJS::ResolveNode::identifier): (KJS::GroupNode::isGroupNode): (KJS::GroupNode::leafNode): (KJS::BracketAccessorNode::isLocation): (KJS::BracketAccessorNode::isBracketAccessorNode): (KJS::BracketAccessorNode::base): (KJS::BracketAccessorNode::subscript): (KJS::DotAccessorNode::isLocation): (KJS::DotAccessorNode::isDotAccessorNode): (KJS::DotAccessorNode::base): (KJS::DotAccessorNode::identifier): (KJS::FuncExprNode::FuncExprNode): (KJS::FuncExprNode::identifier): (KJS::FuncDeclNode::FuncDeclNode): (KJS::FuncDeclNode::execute):
9:47 PM Changeset in webkit [10587] by mjs
  • 1 edit
    2 adds
    1 delete in trunk/LayoutTests/fast/dom

Add results for new replaceChild test.

6:10 PM Changeset in webkit [10586] by ggaren
  • 2 edits in trunk/JavaScriptCore
  • Oops. The 4263434 change was only appropriate on the branch. Rolling out.

Reviewed by eric.

  • kjs/internal.cpp: (KJS::InterpreterImp::mark):
5:33 PM Changeset in webkit [10585] by ggaren
  • 3 edits in trunk/JavaScriptCore
  • More changes needed to fix <rdar://problem/4214783> 8F29 REGRESSION(Denver/Chardonnay): kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)

Added InterpreterLocks in some places in the bindings we missed before.

Reviewed by john.

  • bindings/runtime_root.cpp: (KJS::Bindings::addNativeReference): (KJS::Bindings::removeNativeReference): (RootObject::removeAllNativeReferences):
  • bindings/runtime_root.h: (KJS::Bindings::RootObject::~RootObject): (KJS::Bindings::RootObject::setRootObjectImp):
5:25 PM Changeset in webkit [10584] by ggaren
  • 2 edits in trunk/JavaScriptCore
  • Fixed <rdar://problem/4263434> <rdar://problem/4263434> Denver 8F29 Regression: KJS::InterpreterImp::mark() crash

Fix by mjs, review by me.

  • kjs/internal.cpp: (KJS::InterpreterImp::mark): Added a null check on globExec in case a garbage collection occurs inside InterpreterImp::globalInit (called from InterpreterImp::InterpreterImp), at which point globExec has not yet been initialized.
5:24 PM Changeset in webkit [10583] by eseidel
  • 2 edits in trunk/WebCore

Bug #: none
Submitted by: eseidel
Reviewed by: none needed, svg build fix only.

Fix the SVG build buy linking EcmaInterface.cpp
from derived sources into the source root and
adding to the compiled sources.

4:59 PM Changeset in webkit [10582] by bdakin
  • 2 edits in trunk/WebCore

Bug #:
Submitted by:
Reviewed by:

4:38 PM Changeset in webkit [10581] by bdakin
  • 2 edits
    2 adds in trunk

Bug #:
Submitted by:
Reviewed by:
Bug #:
Submitted by:
Reviewed by:
Bug #:
Submitted by:
Reviewed by:

4:08 PM Changeset in webkit [10580] by hyatt
  • 46 edits in trunk/LayoutTests/fast

Update layout tests to deal with trailing whitespace at the end of a document properly.

4:01 PM Changeset in webkit [10579] by hyatt
  • 7 edits in trunk/WebCore

Meant to land this ages ago. Make radio buttons work dynamically
when name and type change (make them pick up the correct new
group).

Also fix a bug in the tokenizer where trailing spaces/newlines at
the end of a document were getting lost. Messed up .innerHTML
on DHTML sites.

Reviewed by darin

  • khtml/css/html4.css:
  • khtml/html/html_formimpl.cpp: (DOM::HTMLFormElementImpl::radioButtonChecked): (DOM::HTMLGenericFormElementImpl::name): (DOM::HTMLInputElementImpl::name): (DOM::HTMLInputElementImpl::setInputType): (DOM::HTMLInputElementImpl::parseMappedAttribute): (DOM::HTMLInputElementImpl::attach): (DOM::HTMLInputElementImpl::preDispatchEventHandler): (DOM::HTMLInputElementImpl::postDispatchEventHandler): (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
  • khtml/html/html_formimpl.h:
  • khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::finish):
  • khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchGenericEvent):
  • khtml/xml/dom_nodeimpl.h: (DOM::NodeImpl::preDispatchEventHandler): (DOM::NodeImpl::postDispatchEventHandler):
3:31 PM Changeset in webkit [10578] by sullivan
  • 6 edits in trunk/WebKit

Reviewed by Tim Omernick.

  • fixed <rdar://problem/3228554> We should enforce one selection per WebView instead of per window

Note that this checkin does not mean that we will always maintain a selection in a WebView when
the focus is elsewhere. Instead it means that there should never be more than one frame containing
a selection in a WebView, and that it's possible to maintain a selection in a WebView when the focus
is elsewhere.

  • WebView.subproj/WebView.m: (-[WebView searchFor:direction:caseSensitive:wrap:]): removed unnecessary and somewhat confusing comment (-[WebView selectedFrame]): now calls the extracted method -_focusedFrame (-[WebView _focusedFrame]): new method, extracted from -selectedFrame; returns frame containing first responder, if any (-[WebView _findSelectedFrameStartingFromFrame:skippingFrame:]): added skippingFrame parameter, which is never returned (-[WebView _findSelectedFrameSkippingFrame:]): new method, starts from main frame and passes a frame to skip (-[WebView _findSelectedFrame]): now calls _findSelectedFrameSkippingFrame:nil (-[WebView _selectedFrameDidChange]): new method, called by WebDocumentText protocol implementors; calls -deselectAll on frame that formerly displayed a selection, if any
  • WebView.subproj/WebViewInternal.h: added category WebDocumentSelectionExtras, with the one method _selectedFrameDidChange
  • WebView.subproj/WebHTMLView.m: (-[WebHTMLView becomeFirstResponder]): call -[WebView _selectedFrameDidChange]
  • WebView.subproj/WebPDFView.m: (-[WebPDFView becomeFirstResponder]): call -[WebView _selectedFrameDidChange] (-[WebPDFView resignFirstResponder]): deselect all unless webview says not to; note that this doesn't work in all cases due to: <rdar://problem/4265966> PDFs continue to show a (secondary) selection when the focus moves elsewhere
  • WebView.subproj/WebTextView.m: (-[WebTextView becomeFirstResponder]): call -[WebView _selectedFrameDidChange] (-[WebTextView resignFirstResponder]): deselect all unless webview says not to
3:09 PM Changeset in webkit [10577] by eseidel
  • 53 edits
    136 adds
    8 deletes in trunk

Bug #: 4946
Submitted by: eseidel
Reviewed by: mjs

Pickup latest Ecma changes from KDE, including
adding in the SVG ecma bindings and DOM 3 LS bindings.
http://bugzilla.opendarwin.org/show_bug.cgi?id=4946

  • WebCore.xcodeproj/project.pbxproj:
  • kdom/bindings/IDLCodeGenerator.pm:
  • kdom/bindings/IDLCodeGeneratorCpp.pm:
  • kdom/bindings/IDLCodeGeneratorEcmaInterface.pm: Added.
  • kdom/bindings/IDLCodeGeneratorJs.pm:
  • kdom/bindings/idl/core/Attr.idl:
  • kdom/bindings/idl/core/CharacterData.idl:
  • kdom/bindings/idl/core/DOMConfiguration.idl:
  • kdom/bindings/idl/core/DOMException.idl:
  • kdom/bindings/idl/core/DOMImplementation.idl:
  • kdom/bindings/idl/core/DOMImplementationList.idl: Removed.
  • kdom/bindings/idl/core/DOMImplementationSource.idl: Removed.
  • kdom/bindings/idl/core/DOMString.idl: Removed.
  • kdom/bindings/idl/core/Document.idl:
  • kdom/bindings/idl/core/Element.idl:
  • kdom/bindings/idl/core/NameList.idl: Removed.
  • kdom/bindings/idl/core/NamedNodeMap.idl:
  • kdom/bindings/idl/core/Node.idl:
  • kdom/bindings/idl/core/ProcessingInstruction.idl:
  • kdom/bindings/idl/core/Text.idl:
  • kdom/bindings/idl/core/UserDataHandler.idl: Removed.
  • kdom/bindings/idl/css/CSSCharsetRule.idl:
  • kdom/bindings/idl/css/CSSMediaRule.idl:
  • kdom/bindings/idl/css/CSSPageRule.idl:
  • kdom/bindings/idl/css/CSSPrimitiveValue.idl:
  • kdom/bindings/idl/css/CSSRule.idl:
  • kdom/bindings/idl/css/CSSStyleDeclaration.idl:
  • kdom/bindings/idl/css/CSSStyleRule.idl:
  • kdom/bindings/idl/css/CSSStyleSheet.idl:
  • kdom/bindings/idl/css/CSSValue.idl:
  • kdom/bindings/idl/css/ViewCSS.idl: Removed.
  • kdom/bindings/idl/events/DocumentEvent.idl:
  • kdom/bindings/idl/events/EventException.idl:
  • kdom/bindings/idl/events/EventTarget.idl:
  • kdom/bindings/idl/ls/DOMImplementationLS.idl: Added.
  • kdom/bindings/idl/ls/LSException.idl: Added.
  • kdom/bindings/idl/ls/LSInput.idl: Added.
  • kdom/bindings/idl/ls/LSOutput.idl: Added.
  • kdom/bindings/idl/ls/LSParser.idl: Added.
  • kdom/bindings/idl/ls/LSParserFilter.idl: Added.
  • kdom/bindings/idl/ls/LSResourceResolver.idl: Added.
  • kdom/bindings/idl/ls/LSSerializer.idl: Added.
  • kdom/bindings/idl/ls/LSSerializerFilter.idl: Added.
  • kdom/bindings/idl/ls/kdomdefs.idl: Added.
  • kdom/bindings/idl/range/Range.idl:
  • kdom/bindings/idl/range/RangeException.idl:
  • kdom/bindings/idl/stylesheets/LinkStyle.idl:
  • kdom/bindings/idl/stylesheets/MediaList.idl:
  • kdom/bindings/idl/traversal/DocumentTraversal.idl:
  • kdom/bindings/idl/traversal/NodeIterator.idl:
  • kdom/bindings/idl/traversal/TreeWalker.idl:
  • kdom/bindings/idl/xpath/XPathEvaluator.idl:
  • kdom/bindings/idl/xpath/XPathException.idl:
  • kdom/bindings/idl/xpath/XPathExpression.idl:
  • kdom/bindings/idl/xpath/XPathNSResolver.idl:
  • kdom/bindings/idl/xpath/XPathNamespace.idl:
  • kdom/bindings/idl/xpath/XPathResult.idl:
  • kdom/bindings/idl/xpointer/XPointerException.idl:
  • kdom/bindings/kdombinder.sh:
  • kdom/bindings/kdomidl.pl:
  • kdom/core/CDFInterface.cpp: (CDFInterface::ecmaInterface):
  • kdom/core/CDFInterface.h:
  • kdom/ecma/DOMBridge.h: (KDOM::DOMRWBridge::put):
  • kdom/ecma/DOMLookup.h:
  • kdom/ecma/Ecma.cpp: (Ecma::Private::Private): (Ecma::setup): (Ecma::setupDocument): (Ecma::interface): (Ecma::createEventListener): (KDOM::getDOMNode): (KDOM::getDOMEvent):
  • kdom/ecma/Ecma.h:
  • kdom/ecma/EcmaInterface.h: Removed.
  • kdom/ecma/GlobalObject.cpp: (GlobalObject::get): (GlobalObjectFunc::callAsFunction): (ScheduledAction::execute): (GlobalQObject::parentDestroyed): (GlobalQObject::clearTimeout): (GlobalQObject::timerEvent):
  • kdom/ecma/GlobalObject.h: (KDOM::GlobalObject::):
  • kdom/ecma/ScriptInterpreter.cpp:
  • khtml/khtml_part.cpp: (KHTMLPart::begin):
  • khtml/xml/dom_docimpl.cpp: (DOMImplementationImpl::createKDOMDocument):
  • khtml/xml/dom_docimpl.h:
  • ksvg2/bindings/idl/svg/GetSVGDocument.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAngle.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimateColorElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimateElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimateTransformElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedAngle.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedBoolean.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedEnumeration.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedInteger.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedLength.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedLengthList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedNumber.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedNumberList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedPathData.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedPoints.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedPreserveAspectRatio.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedRect.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedString.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimatedTransformList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGAnimationElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGCircleElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGClipPathElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGColor.idl: Added.
  • ksvg2/bindings/idl/svg/SVGComponentTransferFunctionElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGCursorElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGDOMImplementation.idl: Added.
  • ksvg2/bindings/idl/svg/SVGDefsElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGDescElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGDocument.idl: Added.
  • ksvg2/bindings/idl/svg/SVGElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGElementInstance.idl: Added.
  • ksvg2/bindings/idl/svg/SVGElementInstanceList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGEllipseElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGEvent.idl: Added.
  • ksvg2/bindings/idl/svg/SVGException.idl: Added.
  • ksvg2/bindings/idl/svg/SVGExternalResourcesRequired.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEBlendElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEColorMatrixElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEComponentTransferElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFECompositeElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEFloodElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEFuncAElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEFuncBElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEFuncGElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEFuncRElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEGaussianBlurElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEImageElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEMergeElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEMergeNodeElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFEOffsetElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFETileElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFETurbulenceElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFilterElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFilterPrimitiveStandardAttributes.idl: Added.
  • ksvg2/bindings/idl/svg/SVGFitToViewBox.idl: Added.
  • ksvg2/bindings/idl/svg/SVGGElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGGradientElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGICCColor.idl: Added.
  • ksvg2/bindings/idl/svg/SVGImageElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGLangSpace.idl: Added.
  • ksvg2/bindings/idl/svg/SVGLength.idl: Added.
  • ksvg2/bindings/idl/svg/SVGLengthList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGLineElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGLinearGradientElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGLocatable.idl: Added.
  • ksvg2/bindings/idl/svg/SVGMarkerElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGMatrix.idl: Added.
  • ksvg2/bindings/idl/svg/SVGNumber.idl: Added.
  • ksvg2/bindings/idl/svg/SVGNumberList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPaint.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSeg.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegArc.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegClosePath.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubic.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegCurvetoCubicSmooth.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadratic.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegCurvetoQuadraticSmooth.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegLineto.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegLinetoHorizontal.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegLinetoVertical.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPathSegMoveto.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPatternElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPoint.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPointList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPolygonElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPolylineElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGPreserveAspectRatio.idl: Added.
  • ksvg2/bindings/idl/svg/SVGRadialGradientElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGRect.idl: Added.
  • ksvg2/bindings/idl/svg/SVGRectElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGRenderingIntent.idl: Added.
  • ksvg2/bindings/idl/svg/SVGSVGElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGScriptElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGSetElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGStopElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGStringList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGStylable.idl: Added.
  • ksvg2/bindings/idl/svg/SVGStyleElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGSwitchElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGSymbolElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTSpanElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTests.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTextContentElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTextElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTextPositioningElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTitleElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTransform.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTransformList.idl: Added.
  • ksvg2/bindings/idl/svg/SVGTransformable.idl: Added.
  • ksvg2/bindings/idl/svg/SVGURIReference.idl: Added.
  • ksvg2/bindings/idl/svg/SVGUnitTypes.idl: Added.
  • ksvg2/bindings/idl/svg/SVGUseElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGViewElement.idl: Added.
  • ksvg2/bindings/idl/svg/SVGZoomAndPan.idl: Added.
  • ksvg2/bindings/idl/svg/SVGZoomEvent.idl: Added.
  • ksvg2/bindings/idl/svg/kdomdefs.idl: Added.
  • ksvg2/ecma/EcmaInterface.h: Removed.
2:40 AM Changeset in webkit [10576] by eseidel
  • 2 edits in trunk

Bug #: 5058
Submitted by: Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>
Reviewed by: eseidel

1:33 AM Changeset in webkit [10575] by eseidel
  • 20 edits in trunk/WebKit

Bug #: 5037
Submitted by: eseidel
Reviewed by: mjs

Moved MIME type support from a hard coded list
(in two places) to single lists in the corresponding
*Representation classes. Also moved the list of types
supported by WebCore (WebHTMLRepresentation) into WebCore.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5037

  • WebView.subproj/WebDataSource.m: (addTypesFromClass): new inline function (+[WebDataSource _repTypesAllowImageTypeOmission:]):
  • WebView.subproj/WebFrameView.m: (addTypesFromClass): new inline function (+[WebFrameView _viewTypesAllowImageTypeOmission:]):
  • WebView.subproj/WebHTMLRepresentation.h:
  • WebView.subproj/WebHTMLRepresentation.m: (+[WebHTMLRepresentation supportedMIMETypes]):
  • WebView.subproj/WebHTMLView.m: (+[WebHTMLView supportedMIMETypes]):
  • WebView.subproj/WebHTMLViewPrivate.h:
  • WebView.subproj/WebImageRepresentation.h:
  • WebView.subproj/WebImageRepresentation.m: (+[WebImageRepresentation supportedMIMETypes]):
  • WebView.subproj/WebImageView.h:
  • WebView.subproj/WebImageView.m: (+[WebImageView supportedMIMETypes]):
  • WebView.subproj/WebPDFRepresentation.h:
  • WebView.subproj/WebPDFRepresentation.m: (+[WebPDFRepresentation supportedMIMETypes]):
  • WebView.subproj/WebPDFView.h:
  • WebView.subproj/WebPDFView.m: (+[WebPDFView supportedMIMETypes]):
  • WebView.subproj/WebTextRepresentation.h:
  • WebView.subproj/WebTextRepresentation.m: (+[WebTextRepresentation supportedMIMETypes]):
  • WebView.subproj/WebTextView.h:
  • WebView.subproj/WebTextView.m: (+[WebTextView supportedMIMETypes]):
  • WebView.subproj/WebView.m: (+[WebView _viewClass:andRepresentationClass:forMIMEType:]): (+[WebView MIMETypesShownAsHTML]): updated to match style (+[WebView setMIMETypesShownAsHTML:]): ditto
1:31 AM Changeset in webkit [10574] by eseidel
  • 3 edits in trunk/WebCore

Bug #: 5037
Submitted by: eseidel
Reviewed by: mjs

Moved MIME types list from WebKit into WebCore.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5037

  • kwq/WebCoreBridge.h:
  • kwq/WebCoreBridge.mm: (+[WebCoreBridge supportedMIMETypes]): added.
1:10 AM Changeset in webkit [10573] by ggaren
  • 1 edit in trunk/JavaScriptCore/ChangeLog

Test cases added:

  • layout-tests/fast/js/date-big-constructor-expected.txt: Added.
  • layout-tests/fast/js/date-big-constructor.html: Added.

Reviewed by darin.

  • kjs/date_object.cpp: (KJS::fillStructuresUsingDateArgs): (KJS::makeTime):
1:08 AM Changeset in webkit [10572] by ggaren
  • 1 edit
    2 adds in trunk

Test cases added:

  • layout-tests/fast/js/date-big-constructor-expected.txt: Added.
  • layout-tests/fast/js/date-big-constructor.html: Added.
1:07 AM Changeset in webkit [10571] by ggaren
  • 2 edits in trunk/JavaScriptCore

Test cases added:

  • layout-tests/fast/js/date-big-constructor-expected.txt: Added.
  • layout-tests/fast/js/date-big-constructor.html: Added.

Reviewed by darin.

  • kjs/date_object.cpp: (KJS::fillStructuresUsingDateArgs): (KJS::makeTime):
12:55 AM Changeset in webkit [10570] by ggaren
  • 2 edits in trunk/WebCore

No layout test because we don't have test machinery for the Obj-C bindings yet.

Reviewed by eric.

  • kwq/DOM.mm: (-[DOMNode addEventListener:::]): (-[DOMNode removeEventListener:::]): (ObjCEventListener::find): (ObjCEventListener::create): (ObjCEventListener::ObjCEventListener): (ObjCEventListener::~ObjCEventListener): (ObjCEventListener::handleEvent):
12:46 AM Changeset in webkit [10569] by ggaren
  • 2 edits in trunk/WebCore

No test case because this is a build fix.

Reviewed by darin.

  • khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::parseComment): (khtml::HTMLTokenizer::parseTag): (khtml::HTMLTokenizer::write): (khtml::HTMLTokenizer::processToken):
Note: See TracTimeline for information about the timeline view.