Timeline
Aug 15, 2005:
- 9:42 PM Changeset in webkit [10209] by
-
- 2 edits1 add in trunk/WebCore
Reviewed by Maciej.
- fixed <rdar://problem/4094363> Can't re-open a window at capripalace.com website because "close" fails on already-closed window
Test cases added: (NONE)
- manual-tests/close-on-closedWindow.html: Added.
- khtml/ecma/kjs_window.cpp: (KJS::Window::getOwnPropertySlot): allow close calls on windows that have already been closed
- 6:42 PM Changeset in webkit [10208] by
-
- 6 edits in branches/Safari-2-0-branch/WebCore
Reviewed by mjs
Temporary workaround for gcc-5216+ bug 4213314. Don't use NSMake... convenience methods inside KWQ_BLOCK_EXCEPTIONS.
- kwq/KWQKConfigBase.mm: (KConfig::readEntry):
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::attributedString):
- kwq/KWQListBox.mm: (QListBox::sizeForNumberOfLines):
- kwq/KWQPainter.mm: (QPainter::drawTiledPixmap):
- kwq/KWQScrollView.mm: (QScrollView::resizeContents): (QScrollView::contentsToViewport): (QScrollView::viewportToContents): (QScrollView::setContentsPosRecursive): (QScrollView::ensureVisible): (QScrollView::ensureRectVisibleCentered):
- 5:47 PM Changeset in webkit [10207] by
-
- 43 edits in trunk
Reviewed by Geoff.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4437 clean up error creation with new throwError function
- bindings/NP_jsobject.cpp: (_NPN_SetException):
- bindings/jni/jni_instance.cpp: (JavaInstance::invokeMethod):
- bindings/jni/jni_runtime.cpp: (JavaField::dispatchValueFromInstance): (JavaField::dispatchSetValueToInstance):
- bindings/objc/WebScriptObject.mm: (-[WebScriptObject _initializeWithObjectImp:originExecutionContext:executionContext:]): (-[WebScriptObject _initWithObjectImp:originExecutionContext:executionContext:]): (+[WebScriptObject throwException:]): (-[WebScriptObject setException:]): (+[WebScriptObject _convertValueToObjcValue:originExecutionContext:executionContext:]):
- bindings/objc/objc_class.h: (KJS::Bindings::ObjcClass::~ObjcClass): (KJS::Bindings::ObjcClass::ObjcClass): (KJS::Bindings::ObjcClass::operator=): (KJS::Bindings::ObjcClass::constructorAt): (KJS::Bindings::ObjcClass::numConstructors):
- bindings/objc/objc_header.h:
- bindings/objc/objc_runtime.h: (KJS::Bindings::ObjcField::~ObjcField): (KJS::Bindings::ObjcField::ObjcField): (KJS::Bindings::ObjcField::operator=): (KJS::Bindings::ObjcMethod::ObjcMethod): (KJS::Bindings::ObjcMethod::~ObjcMethod): (KJS::Bindings::ObjcMethod::operator=):
- bindings/objc/objc_runtime.mm: (ObjcField::valueFromInstance): (ObjcField::setValueToInstance): (ObjcArray::setValueAt): (ObjcArray::valueAt):
- bindings/objc/objc_utility.h:
- bindings/objc/objc_utility.mm: (KJS::Bindings::JSMethodNameToObjCMethodName): (KJS::Bindings::convertValueToObjcValue): (KJS::Bindings::convertNSStringToString): (KJS::Bindings::convertObjcValueToValue): (KJS::Bindings::objcValueTypeForType): (KJS::Bindings::createObjcInstanceForValue): (KJS::Bindings::throwError):
- bindings/runtime.h: (KJS::Bindings::Parameter::~Parameter): (KJS::Bindings::Method::~Method): (KJS::Bindings::Instance::Instance): (KJS::Bindings::Instance::begin): (KJS::Bindings::Instance::end): (KJS::Bindings::Instance::getValueOfUndefinedField): (KJS::Bindings::Instance::supportsSetValueOfUndefinedField): (KJS::Bindings::Instance::setValueOfUndefinedField): (KJS::Bindings::Instance::valueOf):
- bindings/runtime_array.cpp: (RuntimeArrayImp::put):
- bindings/runtime_object.h: (KJS::RuntimeObjectImp::setInternalInstance): (KJS::RuntimeObjectImp::getInternalInstance):
- kjs/array_object.cpp: (getProperty): (ArrayProtoFuncImp::callAsFunction): (ArrayObjectImp::construct):
- kjs/bool_object.cpp: (BooleanProtoFuncImp::callAsFunction):
- kjs/date_object.cpp: (KJS::DateProtoFuncImp::callAsFunction):
- kjs/function.cpp: (KJS::decode): (KJS::GlobalFuncImp::callAsFunction):
- kjs/function_object.cpp: (FunctionProtoFuncImp::callAsFunction): (FunctionObjectImp::construct):
- kjs/internal.cpp: (KJS::UndefinedImp::toObject): (KJS::NullImp::toObject): (KJS::InterpreterImp::evaluate): (KJS::InternalFunctionImp::hasInstance):
- kjs/nodes.cpp: (Node::throwError): (substitute): (Node::setExceptionDetailsIfNeeded): (undefinedVariableError): (ProgramNode::ProgramNode):
- kjs/number_object.cpp: (NumberProtoFuncImp::callAsFunction):
- kjs/object.cpp: (KJS::ObjectImp::call): (KJS::ObjectImp::defaultValue): (KJS::Error::create): (KJS::throwError):
- kjs/object.h: (KJS::ObjectImp::clearProperties): (KJS::ObjectImp::getPropertySlot): (KJS::ObjectImp::getOwnPropertySlot):
- kjs/object_object.cpp: (ObjectProtoFuncImp::callAsFunction):
- kjs/reference.cpp: (KJS::Reference::getBase): (KJS::Reference::getValue): (KJS::Reference::putValue): (KJS::Reference::deleteValue):
- kjs/regexp_object.cpp: (RegExpProtoFuncImp::callAsFunction): (RegExpObjectImp::construct):
- kjs/string_object.cpp: (StringProtoFuncImp::callAsFunction):
WebCore:
Reviewed by Geoff.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4437 clean up error creation with new throwError function
- khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::CSSStyleSelector): (khtml::parseUASheet): (khtml::CSSStyleSelector::initElementAndPseudoState): (khtml::checkPseudoState): (khtml::CSSStyleSelector::locateCousinList): (khtml::CSSStyleSelector::locateSharedStyle): (khtml::CSSStyleSelector::adjustRenderStyle): (khtml::CSSStyleSelector::checkOneSelector): (khtml::CSSRuleSet::addToRuleSet): (khtml::colorForCSSValue): (khtml::CSSStyleSelector::applyProperty): (khtml::CSSStyleSelector::mapBackgroundAttachment): (khtml::CSSStyleSelector::mapBackgroundImage): (khtml::CSSStyleSelector::mapBackgroundRepeat): (khtml::CSSStyleSelector::mapBackgroundXPosition): (khtml::CSSStyleSelector::mapBackgroundYPosition): (khtml::CSSStyleSelector::getComputedSizeFromSpecifiedSize):
- khtml/ecma/domparser.cpp: (KJS::DOMParserProtoFunc::callAsFunction):
- khtml/ecma/kjs_binding.cpp: (KJS::ScriptInterpreter::putDOMObject): (KJS::ScriptInterpreter::putDOMNodeForDocument): (KJS::setDOMException):
- khtml/ecma/kjs_css.cpp: (KJS::DOMCSSStyleDeclarationProtoFunc::callAsFunction): (KJS::DOMStyleSheetListFunc::callAsFunction): (KJS::KJS::DOMMediaListProtoFunc::callAsFunction): (KJS::DOMCSSStyleSheetProtoFunc::callAsFunction): (KJS::DOMCSSRuleListFunc::callAsFunction): (KJS::DOMCSSRuleFunc::callAsFunction): (KJS::DOMCSSPrimitiveValueProtoFunc::callAsFunction): (KJS::DOMCSSValueListFunc::callAsFunction):
- khtml/ecma/kjs_dom.cpp: (KJS::DOMNodeProtoFunc::callAsFunction): (KJS::DOMNodeListFunc::callAsFunction): (KJS::DOMDocumentProtoFunc::callAsFunction): (KJS::DOMElementProtoFunc::callAsFunction): (KJS::DOMDOMImplementationProtoFunc::callAsFunction): (KJS::DOMNamedNodeMapProtoFunc::callAsFunction): (KJS::DOMCharacterDataProtoFunc::callAsFunction): (KJS::DOMTextProtoFunc::callAsFunction):
- khtml/ecma/kjs_events.cpp: (KJS::DOMEventProtoFunc::callAsFunction): (KJS::DOMUIEventProtoFunc::callAsFunction): (KJS::DOMMouseEventProtoFunc::callAsFunction): (KJS::DOMKeyboardEventProtoFunc::callAsFunction): (KJS::DOMMutationEventProtoFunc::callAsFunction): (KJS::DOMWheelEventProtoFunc::callAsFunction): (KJS::ClipboardProtoFunc::callAsFunction):
- khtml/ecma/kjs_html.cpp: (KJS::KJS::HTMLDocFunction::callAsFunction): (KJS::KJS::HTMLElementFunction::callAsFunction): (KJS::KJS::HTMLCollectionProtoFunc::callAsFunction): (KJS::KJS::Context2DFunction::callAsFunction): (KJS::Context2D::putValueProperty): (KJS::GradientFunction::callAsFunction):
- khtml/ecma/kjs_navigator.cpp: (KJS::NavigatorFunc::callAsFunction):
- khtml/ecma/kjs_range.cpp: (KJS::DOMRangeProtoFunc::callAsFunction):
- khtml/ecma/kjs_traversal.cpp: (KJS::DOMNodeIteratorProtoFunc::callAsFunction): (KJS::DOMNodeFilterProtoFunc::callAsFunction): (KJS::DOMTreeWalkerProtoFunc::callAsFunction):
- khtml/ecma/kjs_views.cpp: (KJS::DOMAbstractViewFunc::callAsFunction):
- khtml/ecma/kjs_window.cpp: (KJS::Window::interpreter): (KJS::Window::retrieveWindow): (KJS::Window::retrieveActive): (KJS::Window::isSafeScript): (KJS::Window::clear): (KJS::WindowFunc::callAsFunction): (KJS::ScheduledAction::execute): (KJS::WindowQObject::pauseTimeouts): (KJS::LocationFunc::callAsFunction): (KJS::Selection::toString): (KJS::SelectionFunc::callAsFunction): (KJS::HistoryFunc::callAsFunction):
- khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequestProtoFunc::callAsFunction):
- khtml/ecma/xmlserializer.cpp: (KJS::XMLSerializerProtoFunc::callAsFunction):
- 5:38 PM Changeset in webkit [10206] by
-
- 2 edits in branches/Safari-2-0-branch/WebCore
Merged fix from TOT to Safari-2-0-branch
<rdar://problem/4202641> Line breaks do not happen inside whitespace:pre; word-wrap: break-word
Test cases added: fast/text/whitespace/tab-character-basics.html
Refined Dave's earlier patch for this bug to handle whitespace:pre that is not at the beginning of a line.
- khtml/rendering/bidi.cpp: (khtml::RenderBlock::findNextLineBreak):
- layout-tests/fast/text/whitespace/tab-character-basics-expected.txt: Added.
- layout-tests/fast/text/whitespace/tab-character-basics.html: Added.
- 5:17 PM Changeset in webkit [10205] by
-
- 3 edits in branches/pcre-6-1-branch/JavaScriptCore/pcre
More UTF-16 mojo. Are we done?
- 4:31 PM Changeset in webkit [10204] by
-
- 2 edits2 adds in trunk
Reviewed by Darin.
<rdar://problem/4202641> Line breaks do not happen inside whitespace:pre; word-wrap: break-word
Test cases added: fast/text/whitespace/tab-character-basics.html
Refined Dave's earlier patch for this bug to handle whitespace:pre that is not at the beginning of a line.
- khtml/rendering/bidi.cpp: (khtml::RenderBlock::findNextLineBreak):
- layout-tests/fast/text/whitespace/tab-character-basics-expected.txt: Added.
- layout-tests/fast/text/whitespace/tab-character-basics.html: Added.
- 3:47 PM Changeset in webkit [10203] by
-
- 1 delete in branches/pcre-6-1-branch/JavaScriptCore/pcre/pcre_dfa_exec.c
Remove unused file.
- 3:46 PM Changeset in webkit [10202] by
-
- 1 edit in branches/pcre-6-1-branch/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
Add more headers.
- 3:43 PM Changeset in webkit [10201] by
-
- 5 edits in branches/pcre-6-1-branch/JavaScriptCore
Far enough along on PCRE 6.1 now that we can compile everything.
- 2:57 PM Changeset in webkit [10200] by
-
- 2 edits in trunk/WebCore
Reviewed by Justin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4324 WebCore build does a slow "nmedit -s" step that's unnecessary
- WebCore.xcodeproj/project.pbxproj: Stop using EXPORTED_SYMBOLS_FILE, since it does an unneccessary nmedit step that is particularly slow for WebCore. Instead, define WEBCORE_EXPORTED_SYMBOLS_FILE and put a flag into OTHER_LDFLAGS.
- 2:29 PM Changeset in webkit [10199] by
-
- 4 edits in trunk/WebKit
Reviewed by Beth.
This is a fix for <rdar://problem/4211631> tiled images tiled incorrectly when printing or
drawing offscreen.
Cayenne found there was a problem when they were trying to take screen shots of widgets, and
it was ultimately a problem with the way we tile images. Darin was able to fix the problem
by replacing some confusing hacked code with CG calls.
- WebCoreSupport.subproj/WebImageData.m: (-[WebImageData tileInRect:fromPoint:context:]):
- WebCoreSupport.subproj/WebImageRenderer.m: (-[WebInternalImage tileInRect:fromPoint:context:]):
- WebCoreSupport.subproj/WebTextRenderer.m: (-[WebTextRenderer drawLineForMisspelling:withWidth:]):
- 1:37 PM Changeset in webkit [10198] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Darin.
- tests/mozilla/ecma_3/Date/15.9.5.5.js: Remove the code which tests that Date.toLocaleString should be parsable by Date.parse. That is not true according to the spec.
- 11:47 AM Changeset in webkit [10197] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Geoff.
- kjs/collector.cpp: (KJS::Collector::allocate): Use a local instead of a global in one more place; slight speedup.
- 11:45 AM Changeset in webkit [10196] by
-
- 1 edit in trunk/WebKitTools/ChangeLog
tiny tiny ChangeLog formatting fix
- 9:28 AM Changeset in webkit [10195] by
-
- 4 edits in branches/pcre-6-1-branch/JavaScriptCore
More PCRE hacking.
- 9:12 AM Changeset in webkit [10194] by
-
- 1 edit in branches/pcre-6-1-branch/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
Remove obsolete PCRE source files.
- 9:09 AM Changeset in webkit [10193] by
-
- 4 edits1 delete in branches/pcre-6-1-branch/JavaScriptCore/pcre
A few first steps porting the new PCRE 6.1 to KJS and to UTF-16.
Aug 14, 2005:
- 10:01 PM Changeset in webkit [10192] by
-
- 2 edits2 adds in trunk
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3429 Text transformed with text-transform does not copy with transform applied
Test cases added:
- layout-tests/editing/pasteboard/paste-text-019-expected.txt: Added.
- layout-tests/editing/pasteboard/paste-text-019.html: Added.
- khtml/editing/visible_text.cpp: (khtml::TextIterator::handleTextNode): Use the DOMString from the RenderText, not the DOM text node. (khtml::TextIterator::handleTextBox): Ditto.
- 9:58 PM Changeset in webkit [10191] by
-
- 2 edits in trunk/WebCore
- fixed build of some unit tests
- khtml/misc/main_thread_malloc.h: We use functions from <stdlib.h> here in debug mode, so #include <stdlib.h>.
- 9:36 PM Changeset in webkit [10190] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4422 QFont has mistake where it caches computed pitch value incorrectly
- kwq/KWQFont.mm: (QFont::setFamily): Set _pitch to Unknown when setting _NSFont to nil. (QFont::setFirstFamily): Ditto. (QFont::setPixelSize): Ditto. Might be unneeded; it would be bad to have the same font with different pitch settings at different sizes. But better to be safe. (QFont::setWeight): Ditto. Same caveat. (QFont::setItalic): Ditto. Ditto.
- 9:31 PM Changeset in webkit [10189] by
-
- 9 edits2 adds in trunk
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3692 Word-spacing doesn't work as expected
Test cases added:
- layout-tests/fast/css/word-space-extra-expected.txt: Added.
- layout-tests/fast/css/word-space-extra.html: Added.
- khtml/rendering/bidi.cpp: (khtml::RenderBlock::constructLine): (khtml::RenderBlock::computeHorizontalPositionsForLine): (khtml::RenderBlock::findNextLineBreak):
- khtml/rendering/font.cpp: (Font::drawText):
- khtml/rendering/font.h: (khtml::Font::getWordSpacing):
- khtml/rendering/render_line.cpp: (khtml::InlineFlowBox::placeBoxesHorizontally):
- khtml/rendering/render_line.h:
- khtml/rendering/render_text.cpp: (RenderText::widthFromCache): (RenderText::trimmedMinMaxWidth): (RenderText::calcMinMaxWidth):
- khtml/rendering/render_text.h: (khtml::InlineTextBox::setStart): (khtml::InlineTextBox::setLen):
- 8:40 PM Changeset in webkit [10188] by
-
- 274 edits in trunk
- updated test cases for new editing delegate output
- layout-tests/editing/deleting/collapse-whitespace-3587601-fix-expected.txt:
- layout-tests/editing/deleting/delete-3608430-fix-expected.txt:
- layout-tests/editing/deleting/delete-3608445-fix-expected.txt:
- layout-tests/editing/deleting/delete-3608462-fix-expected.txt:
- layout-tests/editing/deleting/delete-3775172-fix-expected.txt:
- layout-tests/editing/deleting/delete-3800834-fix-expected.txt:
- layout-tests/editing/deleting/delete-3857753-fix-expected.txt:
- layout-tests/editing/deleting/delete-3865854-fix-expected.txt:
- layout-tests/editing/deleting/delete-3928305-fix-expected.txt:
- layout-tests/editing/deleting/delete-3959464-fix-expected.txt:
- layout-tests/editing/deleting/delete-4038408-fix-expected.txt:
- layout-tests/editing/deleting/delete-4083333-fix-expected.txt:
- layout-tests/editing/deleting/delete-after-span-ws-001-expected.txt:
- layout-tests/editing/deleting/delete-after-span-ws-002-expected.txt:
- layout-tests/editing/deleting/delete-after-span-ws-003-expected.txt:
- layout-tests/editing/deleting/delete-and-undo-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-001-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-002-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-003-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-004-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-005-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-006-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-007-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-008-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-009-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-010-expected.txt:
- layout-tests/editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
- layout-tests/editing/deleting/delete-block-contents-001-expected.txt:
- layout-tests/editing/deleting/delete-block-contents-002-expected.txt:
- layout-tests/editing/deleting/delete-block-contents-003-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-001-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-002-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-003-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-004-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-005-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-006-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-007-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-008-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-009-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-010-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-012-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-013-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-014-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-015-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-016-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-017-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-018-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-019-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-020-expected.txt:
- layout-tests/editing/deleting/delete-block-merge-contents-021-expected.txt:
- layout-tests/editing/deleting/delete-br-001-expected.txt:
- layout-tests/editing/deleting/delete-br-002-expected.txt:
- layout-tests/editing/deleting/delete-br-003-expected.txt:
- layout-tests/editing/deleting/delete-br-004-expected.txt:
- layout-tests/editing/deleting/delete-br-005-expected.txt:
- layout-tests/editing/deleting/delete-br-006-expected.txt:
- layout-tests/editing/deleting/delete-br-007-expected.txt:
- layout-tests/editing/deleting/delete-br-008-expected.txt:
- layout-tests/editing/deleting/delete-br-009-expected.txt:
- layout-tests/editing/deleting/delete-br-010-expected.txt:
- layout-tests/editing/deleting/delete-br-011-expected.txt:
- layout-tests/editing/deleting/delete-character-001-expected.txt:
- layout-tests/editing/deleting/delete-contiguous-ws-001-expected.txt:
- layout-tests/editing/deleting/delete-image-001-expected.txt:
- layout-tests/editing/deleting/delete-image-002-expected.txt:
- layout-tests/editing/deleting/delete-image-003-expected.txt:
- layout-tests/editing/deleting/delete-image-004-expected.txt:
- layout-tests/editing/deleting/delete-leading-ws-001-expected.txt:
- layout-tests/editing/deleting/delete-line-001-expected.txt:
- layout-tests/editing/deleting/delete-line-002-expected.txt:
- layout-tests/editing/deleting/delete-line-003-expected.txt:
- layout-tests/editing/deleting/delete-line-004-expected.txt:
- layout-tests/editing/deleting/delete-line-005-expected.txt:
- layout-tests/editing/deleting/delete-line-006-expected.txt:
- layout-tests/editing/deleting/delete-line-007-expected.txt:
- layout-tests/editing/deleting/delete-line-008-expected.txt:
- layout-tests/editing/deleting/delete-line-009-expected.txt:
- layout-tests/editing/deleting/delete-line-010-expected.txt:
- layout-tests/editing/deleting/delete-line-011-expected.txt:
- layout-tests/editing/deleting/delete-line-012-expected.txt:
- layout-tests/editing/deleting/delete-line-013-expected.txt:
- layout-tests/editing/deleting/delete-line-014-expected.txt:
- layout-tests/editing/deleting/delete-line-015-expected.txt:
- layout-tests/editing/deleting/delete-line-016-expected.txt:
- layout-tests/editing/deleting/delete-line-017-expected.txt:
- layout-tests/editing/deleting/delete-line-end-ws-001-expected.txt:
- layout-tests/editing/deleting/delete-line-end-ws-002-expected.txt:
- layout-tests/editing/deleting/delete-select-all-001-expected.txt:
- layout-tests/editing/deleting/delete-select-all-002-expected.txt:
- layout-tests/editing/deleting/delete-select-all-003-expected.txt:
- layout-tests/editing/deleting/delete-selection-001-expected.txt:
- layout-tests/editing/deleting/delete-tab-001-expected.txt:
- layout-tests/editing/deleting/delete-tab-002-expected.txt:
- layout-tests/editing/deleting/delete-tab-003-expected.txt:
- layout-tests/editing/deleting/delete-tab-004-expected.txt:
- layout-tests/editing/deleting/delete-trailing-ws-001-expected.txt:
- layout-tests/editing/deleting/delete-trailing-ws-002-expected.txt:
- layout-tests/editing/deleting/delete-ws-fixup-001-expected.txt:
- layout-tests/editing/deleting/delete-ws-fixup-002-expected.txt:
- layout-tests/editing/deleting/delete-ws-fixup-003-expected.txt:
- layout-tests/editing/deleting/delete-ws-fixup-004-expected.txt:
- layout-tests/editing/deleting/forward-delete-expected.txt:
- layout-tests/editing/deleting/smart-delete-001-expected.txt:
- layout-tests/editing/deleting/smart-delete-002-expected.txt:
- layout-tests/editing/execCommand/boldSelection-expected.txt:
- layout-tests/editing/execCommand/italicizeByCharacter-expected.txt:
- layout-tests/editing/execCommand/modifyForeColorByCharacter-expected.txt:
- layout-tests/editing/execCommand/selectAll-expected.txt:
- layout-tests/editing/inserting/insert-3654864-fix-expected.txt:
- layout-tests/editing/inserting/insert-3659587-fix-expected.txt:
- layout-tests/editing/inserting/insert-3775316-fix-expected.txt:
- layout-tests/editing/inserting/insert-3778059-fix-expected.txt:
- layout-tests/editing/inserting/insert-3786362-fix-expected.txt:
- layout-tests/editing/inserting/insert-3800346-fix-expected.txt:
- layout-tests/editing/inserting/insert-3851164-fix-expected.txt:
- layout-tests/editing/inserting/insert-3907422-fix-expected.txt:
- layout-tests/editing/inserting/insert-after-delete-001-expected.txt:
- layout-tests/editing/inserting/insert-br-001-expected.txt:
- layout-tests/editing/inserting/insert-br-002-expected.txt:
- layout-tests/editing/inserting/insert-br-003-expected.txt:
- layout-tests/editing/inserting/insert-br-004-expected.txt:
- layout-tests/editing/inserting/insert-br-005-expected.txt:
- layout-tests/editing/inserting/insert-br-006-expected.txt:
- layout-tests/editing/inserting/insert-br-007-expected.txt:
- layout-tests/editing/inserting/insert-br-008-expected.txt:
- layout-tests/editing/inserting/insert-div-001-expected.txt:
- layout-tests/editing/inserting/insert-div-002-expected.txt:
- layout-tests/editing/inserting/insert-div-003-expected.txt:
- layout-tests/editing/inserting/insert-div-004-expected.txt:
- layout-tests/editing/inserting/insert-div-005-expected.txt:
- layout-tests/editing/inserting/insert-div-006-expected.txt:
- layout-tests/editing/inserting/insert-div-007-expected.txt:
- layout-tests/editing/inserting/insert-div-008-expected.txt:
- layout-tests/editing/inserting/insert-div-009-expected.txt:
- layout-tests/editing/inserting/insert-div-010-expected.txt:
- layout-tests/editing/inserting/insert-div-011-expected.txt:
- layout-tests/editing/inserting/insert-div-012-expected.txt:
- layout-tests/editing/inserting/insert-div-013-expected.txt:
- layout-tests/editing/inserting/insert-div-014-expected.txt:
- layout-tests/editing/inserting/insert-div-015-expected.txt:
- layout-tests/editing/inserting/insert-div-016-expected.txt:
- layout-tests/editing/inserting/insert-div-017-expected.txt:
- layout-tests/editing/inserting/insert-div-018-expected.txt:
- layout-tests/editing/inserting/insert-div-019-expected.txt:
- layout-tests/editing/inserting/insert-div-020-expected.txt:
- layout-tests/editing/inserting/insert-div-021-expected.txt:
- layout-tests/editing/inserting/insert-div-022-expected.txt:
- layout-tests/editing/inserting/insert-div-023-expected.txt:
- layout-tests/editing/inserting/insert-div-024-expected.txt:
- layout-tests/editing/inserting/insert-div-025-expected.txt:
- layout-tests/editing/inserting/insert-div-026-expected.txt:
- layout-tests/editing/inserting/insert-div-027-expected.txt:
- layout-tests/editing/inserting/insert-space-in-empty-doc-expected.txt:
- layout-tests/editing/inserting/insert-tab-001-expected.txt:
- layout-tests/editing/inserting/insert-tab-002-expected.txt:
- layout-tests/editing/inserting/insert-tab-003-expected.txt:
- layout-tests/editing/inserting/insert-tab-004-expected.txt:
- layout-tests/editing/inserting/insert-text-with-newlines-expected.txt:
- layout-tests/editing/inserting/return-key-with-selection-001-expected.txt:
- layout-tests/editing/inserting/return-key-with-selection-002-expected.txt:
- layout-tests/editing/inserting/return-key-with-selection-003-expected.txt:
- layout-tests/editing/inserting/typing-001-expected.txt:
- layout-tests/editing/inserting/typing-002-expected.txt:
- layout-tests/editing/inserting/typing-003-expected.txt:
- layout-tests/editing/inserting/typing-around-br-001-expected.txt:
- layout-tests/editing/inserting/typing-around-image-001-expected.txt:
- layout-tests/editing/pasteboard/cut-text-001-expected.txt:
- layout-tests/editing/pasteboard/paste-4035648-fix-expected.txt:
- layout-tests/editing/pasteboard/paste-4038267-fix-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-001-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-002-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-003-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-004-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-005-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-006-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-007-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-008-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-009-expected.txt:
- layout-tests/editing/pasteboard/paste-line-endings-010-expected.txt:
- layout-tests/editing/pasteboard/paste-match-style-001-expected.txt:
- layout-tests/editing/pasteboard/paste-match-style-002-expected.txt:
- layout-tests/editing/pasteboard/paste-pre-001-expected.txt:
- layout-tests/editing/pasteboard/paste-text-001-expected.txt:
- layout-tests/editing/pasteboard/paste-text-002-expected.txt:
- layout-tests/editing/pasteboard/paste-text-003-expected.txt:
- layout-tests/editing/pasteboard/paste-text-004-expected.txt:
- layout-tests/editing/pasteboard/paste-text-005-expected.txt:
- layout-tests/editing/pasteboard/paste-text-006-expected.txt:
- layout-tests/editing/pasteboard/paste-text-007-expected.txt:
- layout-tests/editing/pasteboard/paste-text-008-expected.txt:
- layout-tests/editing/pasteboard/paste-text-009-expected.txt:
- layout-tests/editing/pasteboard/paste-text-010-expected.txt:
- layout-tests/editing/pasteboard/paste-text-011-expected.txt:
- layout-tests/editing/pasteboard/paste-text-012-expected.txt:
- layout-tests/editing/pasteboard/paste-text-013-expected.txt:
- layout-tests/editing/pasteboard/paste-text-014-expected.txt:
- layout-tests/editing/pasteboard/paste-text-015-expected.txt:
- layout-tests/editing/pasteboard/paste-text-016-expected.txt:
- layout-tests/editing/pasteboard/paste-text-017-expected.txt:
- layout-tests/editing/pasteboard/paste-text-018-expected.txt:
- layout-tests/editing/pasteboard/smart-paste-001-expected.txt:
- layout-tests/editing/pasteboard/smart-paste-002-expected.txt:
- layout-tests/editing/pasteboard/smart-paste-003-expected.txt:
- layout-tests/editing/pasteboard/smart-paste-004-expected.txt:
- layout-tests/editing/pasteboard/smart-paste-005-expected.txt:
- layout-tests/editing/pasteboard/smart-paste-006-expected.txt:
- layout-tests/editing/pasteboard/smart-paste-007-expected.txt:
- layout-tests/editing/selection/move-between-blocks-no-001-expected.txt:
- layout-tests/editing/selection/select-all-001-expected.txt:
- layout-tests/editing/selection/select-all-002-expected.txt:
- layout-tests/editing/selection/select-all-003-expected.txt:
- layout-tests/editing/selection/select-all-004-expected.txt:
- layout-tests/editing/style/block-style-001-expected.txt:
- layout-tests/editing/style/block-style-002-expected.txt:
- layout-tests/editing/style/block-style-003-expected.txt:
- layout-tests/editing/style/block-style-004-expected.txt:
- layout-tests/editing/style/block-style-005-expected.txt:
- layout-tests/editing/style/block-style-006-expected.txt:
- layout-tests/editing/style/block-styles-007-expected.txt:
- layout-tests/editing/style/create-block-for-style-001-expected.txt:
- layout-tests/editing/style/create-block-for-style-002-expected.txt:
- layout-tests/editing/style/create-block-for-style-003-expected.txt:
- layout-tests/editing/style/create-block-for-style-004-expected.txt:
- layout-tests/editing/style/create-block-for-style-005-expected.txt:
- layout-tests/editing/style/create-block-for-style-006-expected.txt:
- layout-tests/editing/style/create-block-for-style-007-expected.txt:
- layout-tests/editing/style/create-block-for-style-008-expected.txt:
- layout-tests/editing/style/create-block-for-style-009-expected.txt:
- layout-tests/editing/style/create-block-for-style-010-expected.txt:
- layout-tests/editing/style/create-block-for-style-011-expected.txt:
- layout-tests/editing/style/create-block-for-style-012-expected.txt:
- layout-tests/editing/style/create-block-for-style-013-expected.txt:
- layout-tests/editing/style/relative-font-size-change-001-expected.txt:
- layout-tests/editing/style/relative-font-size-change-002-expected.txt:
- layout-tests/editing/style/relative-font-size-change-003-expected.txt:
- layout-tests/editing/style/relative-font-size-change-004-expected.txt:
- layout-tests/editing/style/remove-underline-across-paragraph-expected.txt:
- layout-tests/editing/style/remove-underline-across-paragraph-in-bold-expected.txt:
- layout-tests/editing/style/remove-underline-after-paragraph-expected.txt:
- layout-tests/editing/style/remove-underline-after-paragraph-in-bold-expected.txt:
- layout-tests/editing/style/remove-underline-expected.txt:
- layout-tests/editing/style/remove-underline-from-stylesheet-expected.txt:
- layout-tests/editing/style/remove-underline-in-bold-expected.txt:
- layout-tests/editing/style/smoosh-styles-001-expected.txt:
- layout-tests/editing/style/smoosh-styles-002-expected.txt:
- layout-tests/editing/style/smoosh-styles-003-expected.txt:
- layout-tests/editing/style/style-3681552-fix-001-expected.txt:
- layout-tests/editing/style/style-3681552-fix-002-expected.txt:
- layout-tests/editing/style/style-3690704-fix-expected.txt:
- layout-tests/editing/style/style-3998892-fix-expected.txt:
- layout-tests/editing/style/style-boundary-001-expected.txt:
- layout-tests/editing/style/style-boundary-002-expected.txt:
- layout-tests/editing/style/style-boundary-003-expected.txt:
- layout-tests/editing/style/style-boundary-004-expected.txt:
- layout-tests/editing/style/typing-style-001-expected.txt:
- layout-tests/editing/style/typing-style-002-expected.txt:
- layout-tests/editing/style/typing-style-003-expected.txt:
- layout-tests/editing/style/unbold-in-bold-expected.txt:
- layout-tests/editing/style/underline-expected.txt:
- layout-tests/editing/undo/redo-typing-001-expected.txt:
- layout-tests/editing/undo/undo-typing-001-expected.txt:
- layout-tests/editing/unsupported-content/list-delete-001-expected.txt:
- layout-tests/editing/unsupported-content/list-delete-002-expected.txt:
- layout-tests/editing/unsupported-content/list-delete-003-expected.txt:
- layout-tests/editing/unsupported-content/list-type-after-expected.txt:
- layout-tests/editing/unsupported-content/list-type-before-expected.txt:
- layout-tests/editing/unsupported-content/table-delete-001-expected.txt:
- layout-tests/editing/unsupported-content/table-delete-002-expected.txt:
- layout-tests/editing/unsupported-content/table-delete-003-expected.txt:
- layout-tests/editing/unsupported-content/table-type-after-expected.txt:
- layout-tests/editing/unsupported-content/table-type-before-expected.txt:
- layout-tests/fast/selectors/159-expected.txt:
- layout-tests/fast/selectors/177a-expected.txt:
- 8:35 PM Changeset in webkit [10187] by
-
- 3 edits in trunk/WebKitTools
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4251 Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
- Scripts/run-safari: Pass arguments through to Safari on command line.
- Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
- 7:57 PM Changeset in webkit [10186] by
-
- 3 edits in trunk/WebCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4420 make border drawing faster by removing code to alloc/dealloc NSBezierPath
- kwq/KWQPainter.h: Remove unused drawLineSegments, drawPolyline, and drawPolygon.
- kwq/KWQPainter.mm: (QPainter::drawConvexPolygon): Move the body of _drawPoints into here, and remove the various unused code paths. Use CoreGraphics calls instead of NSBezierPath.
- 7:55 PM Changeset in webkit [10185] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Maciej.
- fixed crash observed on one of the Apple-only layout tests
- kjs/property_map.cpp: (KJS::PropertyMap::mark): Change code to understand that deleted entries have a value of NULL, so the deleted sentinel count doesn't need to be included in the count of things to mark since we're ignoring the keys.
- 5:58 PM Changeset in webkit [10184] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin.
- 1% speedup on HTML load speed iBench by avoiding icon database thrash http://bugzilla.opendarwin.org/show_bug.cgi?id=4423
- Misc.subproj/WebIconDatabase.m: (-[WebIconDatabase _setIconURL:forURL:]): Be more aggressive about returning early, because updating the database does some expensive data structure copies.
- 5:32 PM Changeset in webkit [10183] by
-
- 8 edits in trunk/WebCore
Reviewed by Darin.
- apply a tasty candy shell of inlining and main_thread_malloc for a 1% speedup on HTML iBench http://bugzilla.opendarwin.org/show_bug.cgi?id=4425
- kwq/KWQArrayImpl.h: (KWQArrayImpl::size):
- kwq/KWQArrayImpl.mm:
- kwq/KWQMapImpl.h:
- kwq/KWQMapImpl.mm:
- kwq/KWQRefPtr.h: (::KWQRefPtr): (::operator): (::ref): (::unref):
- kwq/KWQValueListImpl.h: (KWQValueListIteratorImpl::KWQValueListIteratorImpl): (KWQValueListIteratorImpl::operator==): (KWQValueListIteratorImpl::operator!=): (KWQValueListIteratorImpl::node): (KWQValueListIteratorImpl::operator++): (KWQValueListIteratorImpl::operator--): (KWQValueListNodeImpl::KWQValueListNodeImpl):
- kwq/KWQValueListImpl.mm: (KWQValueListImpl::KWQValueListPrivate::KWQValueListPrivate): (KWQValueListImpl::KWQValueListPrivate::~KWQValueListPrivate):
- 9:41 AM Changeset in webkit [10182] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4421 speed up JavaScript by inlining some label stack functions
- kjs/internal.h: Removed the copy constructor and assignment operator for LabelStack. They were unused, and the implementations had bugs; I removed them rather than fixing them. Also removed the clear function, since that was only needed to help the assignment operator share code with the destructor, and was not efficient enough for the destructor. (KJS::LabelStack::~LabelStack): Made this inline. Also used an efficient implementation that's nice and fast when the stack is empty, better than the old clear() function which used to keep updating and refetching "tos" each time through the loop. (KJS::LabelStack::pop): Made this inline.
- kjs/internal.cpp: Deleted the now-inline functions and the obsolete functions. Also deleted a commented-out line of code.
- 9:34 AM Changeset in webkit [10181] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4419 speed up JavaScript by improving KJS::List
my measurements show an improvement of 1% on iBench JavaScript
- kjs/list.cpp: Rearrange list to make the values and free list share the same storage, which saves 4 bytes per list. Also remove the pointers used only on the heap from the lists that are in the pool, which saves 8 bytes per list. Moving the free list pointer closer to the start of the list object also speeds up access to the free list. New "HeapListImp" struct is used only for the lists on the heap. (KJS::List::markProtectedLists): Shadowed global variable in local and updated for the new terminology ("heap" instead of "outside pool"). (KJS::allocateListImp): Updated for new terminology. (KJS::List::release): Moved the code from deallocateListImp in here -- it wasn't being inlined and didn't need to be in a separate function.
- 9:27 AM Changeset in webkit [10180] by
-
- 4 edits in trunk/JavaScriptCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4417 speed up JavaScript with some small changes to the property map code
my measurements show an improvement of 2% on iBench JavaScript
- kjs/property_map.h: (KJS::PropertyMap::PropertyMap): Made the default constructor inline.
- kjs/property_map.cpp: (KJS::PropertyMap::~PropertyMap): Changed loop to exit early once we know we've processed all the hash table entries, based on the count. (KJS::PropertyMap::mark): Ditto.
- kjs/object.h: Made an arbitrary change here to force recompiling so we pick up changes to property_map.h. Works around what seems to be an Xcode header dependency bug.
- 9:17 AM Changeset in webkit [10179] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4416 speed up JavaScript with some improvements to the garbage collector
seems to give about 2% on iBench JavaScript
- kjs/collector.cpp: (KJS::Collector::allocate): Use local variables to shadow globals instead of repeatedly going at global variables. Tighten up loop implementations to make the common case fast. (KJS::Collector::markStackObjectsConservatively): Use local variables to shadow globals. Used a goto to eliminate a boolean since it was showing up in the profile. (KJS::Collector::markProtectedObjects): Iterate through the table using pointer rather than an index since the profile showed that generating better code. (KJS::Collector::collect): Added a special case for blocks where all cells are used, Use local variables to shadow globals. Eliminated a boolean by computing it another way (checking to see if the number of live objects changed). Also used local variables to shadow fields in the current cell when sweeping. (KJS::Collector::numReferencedObjects): Use AllocatedValueImp instead of ValueImp in one place -- means we get faster versions of various functions that don't worry about SimpleNumber. (KJS::className): Ditto. (KJS::Collector::rootObjectClasses): Ditto.
- 9:04 AM Changeset in webkit [10178] by
-
- 7 edits in trunk/JavaScriptCore
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4344 REGRESSION: JavaScript crash when going back from viewing a thread (NULL protoype)
- kjs/error_object.cpp: (NativeErrorImp::NativeErrorImp): Set proto in a more straightforward way. The old code set the proto to 0 and then to the correct value. This showed up as a "false positive" when searching for places that set prototype to NULL/0 so I fixed it.
- kjs/function_object.cpp: (FunctionPrototypeImp::FunctionPrototypeImp): Change to not pass an explicit "0" to the base class (InternalFunctionImp) constructor.
- kjs/internal.h: Added a default constructor for InternalFunctionImp.
- kjs/internal.cpp: (KJS::InternalFunctionImp::InternalFunctionImp): Added the default constructor (empty body, just calls base class's default constructor).
- kjs/object.h: (KJS::ObjectImp::ObjectImp): Add an assertion to catch NULL prototypes earlier in Development builds. (KJS::ObjectImp::setPrototype): Ditto.
- 2:12 AM Changeset in webkit [10177] by
-
- 11 edits in trunk
WebCore:
Reviewed and landed by Darin.
WebCore part of fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4011>:
"Editing delegate selection methods not called when using mouse"
Clicking on editable content would move the cursor or alter the selection without
calling the appropriate editing delegate method
(webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:). The
core of the patch is in the KHTMLPart::hadnleMousePressEvent* methods, the rest
is glue needed to drill through all the layers.
- khtml/khtml_part.cpp:
- khtml/khtml_part.cpp: (KHTMLPart::shouldChangeSelection): Glue to call editing delegate. (KHTMLPart::findTextNext): Call editing delegate before changing selection. (KHTMLPart::selectClosestWordFromMouseEvent): Ditto. (KHTMLPart::handleMousePressEventTripleClick): Ditto. (KHTMLPart::handleMousePressEventSingleClick): Ditto. (KHTMLPart::handleMouseMoveEventSelection): Ditto. (KHTMLPart::khtmlMouseReleaseEvent): Ditto. (KHTMLPart::selectAll): Ditto. (KHTMLPart::appliedEditing): Ditto. (KHTMLPart::unappliedEditing): Ditto. (KHTMLPart::reappliedEditing): Ditto. (KHTMLPart::selectFrameElementInParentIfFullySelected): Ditto.
- khtml/khtml_part.h: Added shouldChangeSelection glue method.
- kwq/KWQKHTMLPart.h: Ditto.
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::shouldChangeSelection): Glue to call editing delegate.
- kwq/WebCoreBridge.h: Added shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting: glue method.
WebKit:
Reviewed and landed by Darin.
WebKit part of fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=4011>:
"Editing delegate selection methods not called when using mouse"
Clicking on editable content would move the cursor or alter the selection without
calling the appropriate editing delegate method
(webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:). The
core of the patch is in the KHTMLPart::handleMousePressEvent* methods, the rest
is glue needed to drill through all the layers.
- WebCoreSupport.subproj/WebBridge.m: (-[WebBridge shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): Bridge glue.
- WebView.subproj/WebView.m: (-[WebView(WebViewEditingExtras) _shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): Final step in glue, calling editing delegate.
- WebView.subproj/WebViewInternal.h: Added _shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting: private method to WebViewEditingExtras category.
- 1:47 AM Changeset in webkit [10176] by
-
- 2 edits2 adds in trunk
Fixed by Alexey Proskuryakov <ap@nypop.com>.
Reviewed and landed by Darin.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3590 should allow <meta> tags for encoding even after </head>
Test cases added:
- layout-tests/fast/encoding/mispositioned-meta-expected.txt: Added.
- layout-tests/fast/encoding/mispositioned-meta.html: Added.
- khtml/misc/decoder.cpp: (Decoder::decode): Don't stop scanning when seeing </head>.
- 1:28 AM Changeset in webkit [10175] by
-
- 8 edits in trunk
Reviewed and landed by Darin.
Test cases added:
- layout-tests/dom/html/level2/events/dispatchEvent08-expected.txt:
- layout-tests/dom/html/level2/events/dispatchEvent10-expected.txt:
- layout-tests/dom/html/level2/events/dispatchEvent12-expected.txt: These pass now.
- layout-tests/dom/html/level2/events/dispatchEvent11-expected.txt:
- layout-tests/dom/html/level2/events/dispatchEvent13-expected.txt: These fail someplace else now.
- khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent): Check if the listener has a "handleEvent" function property and call that.
- khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchGenericEvent): A capturing event listener should not be triggered if an event is dispatched directly to the node to which the listener has been added.
- 1:18 AM Changeset in webkit [10174] by
-
- 3 edits in trunk
Reviewed and landed by Darin.
Test cases added:
- layout-tests/dom/html/level2/core/hc_nodedocumentfragmentnormalize2-expected.txt: This passes now.
- khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::normalize): If there's a single empty text child, remove it.
- 1:07 AM Changeset in webkit [10173] by
-
- 7 edits in trunk
Reviewed and landed by Darin.
Test cases added:
- layout-tests/dom/html/level2/html/HTMLSelectElement20-expected.txt: This passes now.
- khtml/ecma/kjs_html.cpp: (KJS::KJS::HTMLElementFunction::callAsFunction): (KJS::KJS::HTMLSelectCollection::put): Handle exceptions.
- khtml/html/html_formimpl.cpp: (DOM::HTMLSelectElementImpl::add):
- khtml/html/html_formimpl.h: Make ::add raise an exception if before isn't a descendant of the select element.
- kwq/DOMHTML.mm: (-[DOMHTMLSelectElement add::]): Handle the exception.