⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Apr 15, 2006:

8:05 PM Changeset in webkit [13884] by darin
  • 2 edits in trunk/WebKitTools

Reviewed by Eric.

  • Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here. Seems xmlsoft.org's HTTP no longer has what we need.
7:28 PM Changeset in webkit [13883] by darin
  • 2 edits in trunk/WebCore
  • removed references to a couple files that are obsolete but were still in the Windows project file
  • WebCore.vcproj/WebCore/WebCore.vcproj: Remove kjs_views.h and .cpp.
7:20 PM Changeset in webkit [13882] by mjs
  • 8 edits
    1 move in branches/treecode/JavaScriptCore

Reviewed by Darin.


  • rename InterpreterState to Opcode
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • kjs/InterpreterState.h: Removed.
  • kjs/Opcode.h: Added. (KJS::):
  • kjs/TreeCode.cpp: (KJS::): (KJS::isEvaluateOpcode): (KJS::isEvaluateListOpcode): (KJS::isExecuteState): (KJS::pushEvaluate): (KJS::pushEvaluateList): (KJS::pushExecute): (KJS::InterpreterImp::runInterpreterLoop):
  • kjs/grammar.y:
  • kjs/internal.cpp: (KJS::printUnwindBarrier): (KJS::InterpreterImp::printStateStack): (KJS::InterpreterImp::unwindToNextBarrier):
  • kjs/internal.h: (KJS::InterpreterImp::State::State):
  • kjs/nodes.cpp: (Node::Node):
  • kjs/nodes.h: (KJS::Node::opcode): (KJS::ExprNode::ExprNode): (KJS::StatementNode::StatementNode): (KJS::JumpNode::JumpNode): (KJS::ForExprEndNode::ForExprEndNode):
6:26 PM Changeset in webkit [13881] by darin
  • 1 edit
    2 adds in trunk/LayoutTests
  • more results for tests landed without pixel-test results
  • fast/text/whitespace/pre-newline-box-test-expected.checksum: Added.
  • fast/text/whitespace/pre-newline-box-test-expected.png: Added.
12:27 PM Changeset in webkit [13880] by thatcher
  • 2 edits in trunk/WebCore

Reviewed by Maciej.

  • bindings/js/kjs_window.cpp: (KJS::Window::isSafeScript): Use isEmpty() instead of isNull() for checking the domain to determine if the document in a local file.
11:13 AM Changeset in webkit [13879] by darin
  • 1 edit
    7 adds in trunk/LayoutTests
  • added some results for some tests people added without expected results
  • svg/custom/class-selector-expected.txt: Added.
  • svg/custom/class-selector-expected.checksum: Added.
  • svg/custom/class-selector-expected.png: Added.
  • editing/selection/extend-by-sentence-001-expected.checksum: Added.
  • editing/selection/extend-by-sentence-001-expected.png: Added.
  • fast/dom/Element/null-offset-parent-expected.checksum: Added.
  • fast/dom/Element/null-offset-parent-expected.png: Added.
11:10 AM Changeset in webkit [13878] by darin
  • 2 edits in trunk/LayoutTests
  • updated a layout test result for Hyatt's prefix change
  • fast/inspector/style-expected.txt: Some background properties now have the "-webkit" prefix.

Apr 14, 2006:

10:38 PM Changeset in webkit [13877] by thatcher
  • 6 edits in trunk

JavaScriptCore:

Reviewed by Timothy.

Bug 8389: support for Cocoa bindings - binding an NSTreeController to the WebView's DOM
​http://bugzilla.opendarwin.org/show_bug.cgi?id=8389

Adds a category to WebScriptObject with array accessors for KVC/KVO.

If super valueForKey: fails it will call valueForUndefinedKey:, which is
important because it causes the right behavior to happen with bindings using
the "Raises for Not Applicable Keys" flag and the "Not Applicable Placeholder"

  • bindings/objc/WebScriptObject.mm: (-[WebScriptObject valueForKey:]): (-[WebScriptObject count]): (-[WebScriptObject objectAtIndex:]): (-[WebUndefined description]): return "undefined"

WebKit:

Reviewed by Timothy.

Bug 8389: support for Cocoa bindings - binding an NSTreeController to the WebView's DOM
​http://bugzilla.opendarwin.org/show_bug.cgi?id=8389

Added a controller class, WebController, that is a subclass of
NSTreeController that has a new outlet/binding for the WebView.

  • WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge windowObjectCleared]): notify bindings about the document change
  • WebView/WebView.m: (-[WebView _progressStarted:]): notify bindings about the document change (-[WebView _finalProgressComplete]): notify bindings about the document change (-[WebView _declaredKeys]): added a key for the main frame document (-[WebController init]): (-[WebController exposedBindings]): (-[WebController valueClassForBinding:]): (-[WebController setContent:]): (-[WebController webView]): (-[WebController setWebView:]): (-[WebView mainFrameDocument]): get the main frame's DOMDocument
  • WebView/WebViewPrivate.h: Adds mainFrameDocument to pending public.
5:53 PM Changeset in webkit [13876] by mjs
  • 1 edit
    1 add in branches/treecode/JavaScriptCore
  • missing part of last commit
  • kjs/Expr.h: Added.
5:28 PM Changeset in webkit [13875] by eseidel
  • 2 edits in branches/treecode/JavaScriptCore/kjs

Mark the list stack, fix assertion hit when collector runs out of memory. r=mjs

3:50 PM Changeset in webkit [13874] by hyatt
  • 31 edits in trunk/WebCore

CSS vendor-specific property/value cleanup. Properly qualify background-clip,
background-origin, border-image and the border-radius properties. Make sure
our overflow extensions of marquee and overlay are qualified as well. Rename
the -khtml- extension to -webkit.

Reviewed by beth

  • bindings/js/kjs_css.cpp: (KJS::cssPropertyName):
  • bindings/objc/DOMCSS.mm: (-[DOMCSSStyleDeclaration _fontSizeDelta]): (-[DOMCSSStyleDeclaration _setFontSizeDelta:]):
  • bindings/objc/DOMHTML.mm: (-[DOMHTMLInputElement _setAutofilled:]):
  • bridge/mac/FrameMac.h:
  • bridge/mac/FrameMac.mm:
  • css/CSSComputedStyleDeclaration.cpp: (WebCore::): (WebCore::valueForTextAlign): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
  • css/CSSGrammar.y:
  • css/CSSPropertyNames.in:
  • css/CSSValueKeywords.in:
  • css/css_base.cpp: (WebCore::CSSSelector::extractPseudoType):
  • css/css_valueimpl.cpp: (WebCore::):
  • css/css_valueimpl.h:
  • css/cssparser.cpp: (WebCore::CSSParser::parseRule): (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseColor): (WebCore::CSSParser::parseDeclaration): (WebCore::CSSParser::parseBackgroundShorthand): (WebCore::CSSParser::parseBackgroundColor): (WebCore::CSSParser::parseBackgroundProperty): (WebCore::CSSParser::parseFontFamily): (WebCore::CSSParser::parseShadow):
  • css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyDeclarations): (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::getColorFromPrimitiveValue):
  • css/cssstyleselector.h:
  • css/html4.css:
  • css/quirks.css:
  • css/tokenizer.flex:
  • editing/ApplyStyleCommand.cpp: (WebCore::StyleChange::init): (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): (WebCore::ApplyStyleCommand::removeInlineStyle):
  • editing/CompositeEditCommand.cpp: (WebCore::blockPlaceholderClassString):
  • editing/JSEditor.cpp:
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::fixupNodeStyles): (WebCore::styleForNode):
  • editing/htmlediting.cpp: (WebCore::rebalanceWhitespaceInTextNode):
  • html/HTMLElement.cpp: (WebCore::HTMLElement::addHTMLAlignment): (WebCore::HTMLElement::setContentEditable):
  • html/html_blockimpl.cpp: (WebCore::HTMLDivElement::parseMappedAttribute): (WebCore::HTMLParagraphElement::parseMappedAttribute): (WebCore::HTMLMarqueeElement::parseMappedAttribute):
  • html/html_inlineimpl.cpp: (WebCore::HTMLFontElement::parseMappedAttribute):
  • html/html_tableimpl.cpp: (WebCore::HTMLTablePartElement::parseMappedAttribute): (WebCore::HTMLTableCellElement::parseMappedAttribute):
  • page/Frame.cpp: (WebCore::Frame::canMouseDownStartSelect):
  • page/Frame.h:
  • rendering/RenderObject.cpp: (WebCore::RenderObject::draggableNode):
3:01 PM Changeset in webkit [13873] by eseidel
  • 3 edits in trunk/WebCore

2006-04-14 Eric Seidel <​eseidel@apple.com>

Reviewed by beth.

Fix win32 build.

  • WebCore.vcproj/WebCore/WebCore.vcproj:
  • page/FramePrivate.h:
2:37 PM Changeset in webkit [13872] by eseidel
  • 4 edits in trunk/WebCore

2006-04-04 Eric Seidel <​eseidel@apple.com>

Reviewed by darin.

Fix build-warnings in cairo code.
​http://bugzilla.opendarwin.org/show_bug.cgi?id=8176

  • platform/cairo/cairo/src/cairo-win32-surface.c: (_cairo_win32_print_gdi_error): (_cairo_win32_surface_create_for_dc): (_composite_alpha_blend): (cairo_win32_surface_create):
  • platform/cairo/pixman/src/iccolor.c: (pixman_pixel_to_color):
2:25 PM Changeset in webkit [13871] by mjs
  • 1 edit in branches/treecode/JavaScriptCore/ChangeLog

Updated ChangeLog to note this:

Makes treecode branch 10% faster.

2:25 PM Changeset in webkit [13870] by mjs
  • 11 edits in branches/treecode/JavaScriptCore

Reviewed by Darin.


  • changed expression grammar production rules to make flattened output


Expressions now form lists instead of trees, so that use of the
state stack can be avoided.

  • kjs/InterpreterState.h:
  • kjs/TreeCode.cpp: (KJS::InterpreterImp::runInterpreterLoop):
  • kjs/grammar.y:
  • kjs/internal.cpp:
  • kjs/internal.h: (KJS::Stack::fromLast): (KJS::Stack::swapLastTwo):
  • kjs/lexer.cpp:
  • kjs/nodes.cpp: (Node::throwError): (ForNode::processVarDecls): (ForInNode::ForInNode):
  • kjs/nodes.h: (KJS::ExprNode::ExprNode): (KJS::ExprNode::next): (KJS::ExprStatementEndNode::ExprStatementEndNode): (KJS::ExprStatementEndNode::streamTo): (KJS::ArgumentEndNode::ArgumentEndNode): (KJS::ArgumentEndNode::streamTo): (KJS::PropertyEndNode::PropertyEndNode): (KJS::PropertyEndNode::streamTo): (KJS::ElementEndNode::ElementEndNode): (KJS::ElementEndNode::streamTo): (KJS::NullNode::NullNode): (KJS::BooleanNode::BooleanNode): (KJS::NumberNode::NumberNode): (KJS::StringNode::StringNode): (KJS::RegExpNode::RegExpNode): (KJS::ThisNode::ThisNode): (KJS::ResolveNode::ResolveNode): (KJS::ArrayNode::ArrayNode): (KJS::PropertyNode::PropertyNode): (KJS::ObjectLiteralNode::ObjectLiteralNode): (KJS::BracketAccessorNode::BracketAccessorNode): (KJS::BracketAccessorNode::isBracketAccessorNode): (KJS::DotAccessorNode::DotAccessorNode): (KJS::DotAccessorNode::isDotAccessorNode): (KJS::ArgumentListNode::ArgumentListNode): (KJS::ArgumentListNode::streamTo): (KJS::ArgumentsNode::streamTo): (KJS::NewExprNode::NewExprNode): (KJS::FunctionCallNode::FunctionCallNode): (KJS::PostfixNode::PostfixNode): (KJS::PostfixBracketNode::PostfixBracketNode): (KJS::DeleteNode::DeleteNode): (KJS::DeleteBracketNode::DeleteBracketNode): (KJS::DeleteValueNode::DeleteValueNode): (KJS::VoidNode::VoidNode): (KJS::TypeOfResolveNode::TypeOfResolveNode): (KJS::TypeOfValueNode::TypeOfValueNode): (KJS::PrefixNode::PrefixNode): (KJS::PrefixBracketNode::PrefixBracketNode): (KJS::UnaryPlusNode::UnaryPlusNode): (KJS::NegateNode::NegateNode): (KJS::BitwiseNotNode::BitwiseNotNode): (KJS::LogicalNotNode::LogicalNotNode): (KJS::MultNode::MultNode): (KJS::AddNode::AddNode): (KJS::ShiftNode::ShiftNode): (KJS::RelationalNode::RelationalNode): (KJS::EqualNode::EqualNode): (KJS::BitOperNode::BitOperNode): (KJS::JumpNode::JumpNode): (KJS::NoOpNode::NoOpNode): (KJS::ReadModifyAssignNode::ReadModifyAssignNode): (KJS::AssignNode::AssignNode): (KJS::ReadModifyAssignBracketNode::ReadModifyAssignBracketNode): (KJS::AssignBracketNode::AssignBracketNode): (KJS::CommaNode::CommaNode): (KJS::VarDeclNode::VarDeclNode::VarDeclNode): (KJS::VarDeclEndNode::VarDeclEndNode): (KJS::VarDeclEndNode::streamTo): (KJS::ExprStatementNode::ExprStatementNode): (KJS::IfConditionEndNode::IfConditionEndNode): (KJS::IfConditionEndNode::streamTo): (KJS::DoWhileTestExprEndNode::DoWhileTestExprEndNode): (KJS::DoWhileTestExprEndNode::streamTo): (KJS::WhileTestExprEndNode::WhileTestExprEndNode): (KJS::WhileTestExprEndNode::streamTo): (KJS::ForNode::ForNode): (KJS::ForExprEndNode::ForExprEndNode): (KJS::ForExprEndNode::streamTo): (KJS::ReturnNode::ReturnNode): (KJS::ValueReturnEndNode::ValueReturnEndNode): (KJS::WithExprEndNode::WithExprEndNode): (KJS::WithExprEndNode::streamTo): (KJS::ThrowEndNode::ThrowEndNode): (KJS::FuncExprNode::FuncExprNode):
  • kjs/nodes2string.cpp: (ExprNode::streamTo): (ReturnNode::streamTo):
  • kjs/testkjs.cpp: (TestFunctionImp::callAsFunction): bug fix (doIt): fix to avoid false positive leak reports (kjsmain): ditto
1:22 AM Changeset in webkit [13869] by hyatt
  • 2696 edits
    2 adds in trunk/LayoutTests

Land updated layout tests.

1:15 AM Changeset in webkit [13868] by hyatt
  • 13 edits in trunk/WebCore

Fix for 8333, make sure newlines in whitespace:pre (and friends) get
line boxes created for them. This resolves all the weird selection/navigation
issues that arise by not creating lines (and thus not having navigable positions
on those lines).

This checkin is also removing all of the layout test hacks that have piled
up, so layout test results are being regenerated completely.

Reviewed by eric

  • dom/Position.cpp: (WebCore::Position::downstream):
  • editing/CompositeEditCommand.cpp: (WebCore::CompositeEditCommand::moveParagraph):
  • editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::doApply):
  • editing/visible_units.cpp: (WebCore::startOfParagraph): (WebCore::endOfParagraph):
  • kwq/RenderTreeAsText.cpp: (getTagName): (operator<<):
  • rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::selectionState): (WebCore::InlineTextBox::isLineBreak): (WebCore::InlineTextBox::nodeAtPoint): (WebCore::InlineTextBox::paint): (WebCore::InlineTextBox::offsetForPosition): (WebCore::InlineTextBox::positionForOffset):
  • rendering/InlineTextBox.h:
  • rendering/RenderBR.cpp:
  • rendering/RenderBR.h:
  • rendering/RenderText.cpp: (WebCore::RenderText::atLineWrap): (WebCore::RenderText::caretRect): (WebCore::RenderText::height): (WebCore::RenderText::inlineBox):
  • rendering/bidi.cpp: (WebCore::RenderBlock::computeHorizontalPositionsForLine): (WebCore::RenderBlock::layoutInlineChildren): (WebCore::RenderBlock::findNextLineBreak):
  • rendering/render_line.h: (WebCore::InlineBox::isLineBreak):
Note: See TracTimeline for information about the timeline view.