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

Timeline



Jan 9, 2007:

11:47 PM Changeset in webkit [22744] by adachan
  • 8 edits
    1 add in branches/WindowsMerge/WebKitWin

2007-01-09 Ada Chan <adachan@apple.com>

Reviewed by Steve.

<rdar://4602355> Undo/Redo

WebKitWin changes:

  • Added new undo methods in the IWebUIDelegate.
  • Removed the internal WebUndoManager in WebEditorClient. Instead, we'll call methods on the ui delegate to register undo operations, execute undo/redo, etc.


11:39 PM Changeset in webkit [18733] by hyatt
  • 2 edits in trunk/WebCore

Avoid crashing when repainting multiple columns... make sure to use the current vector's size and
not the newly-computed column count.

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutColumns): (WebCore::RenderBlock::adjustRepaintRectForColumns):
11:24 PM Changeset in webkit [18732] by hyatt
  • 5 edits in trunk/WebCore

Break up painting and hit testing of children into helper methods and add multi-column versions for both.


Make incremental repainting able to invalidate the right spot in multiple column layouts so that e.g., link
hover works.

Turn off selection gap filling in columns for now until it can be made to work correctly.

Improve the column balancing heuristic by adding in the block's lineHeight/2 to each column initially to
account for column break adjustments that shrink the columns slightly. Avoid clipping of the last column's
contents by ensuring it gets all the remaining available height.

Reviewed by mitz

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintColumns): (WebCore::RenderBlock::paintContents): (WebCore::RenderBlock::paintObject): (WebCore::RenderBlock::fillSelectionGaps): (WebCore::RenderBlock::nodeAtPoint): (WebCore::RenderBlock::hitTestColumns): (WebCore::RenderBlock::layoutColumns): (WebCore::RenderBlock::adjustRepaintRectForColumns):
  • rendering/RenderBlock.h:
  • rendering/RenderBox.cpp: (WebCore::RenderBox::computeAbsoluteRepaintRect):
  • rendering/RenderFlow.cpp: (WebCore::RenderFlow::getAbsoluteRepaintRect):
8:42 PM Changeset in webkit [18731] by ddkilzer
  • 2 edits in trunk/WebCore

WebCore:

Reviewed by Darin and Eric.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=12150

Don't use memset to set float to 0

  • platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp: (WebCore::cgGradientCallback):
7:45 PM Changeset in webkit [22743] by sfalken
  • 1 edit in branches/WindowsMerge/WebKitWin/WebKit.vcproj/VERSION

Bump version for submit

7:36 PM Changeset in webkit [18730] by sfalken
  • 1 copy in tags/Safari-521.32.10b

New tag.

5:21 PM Changeset in webkit [22742] by andersca
  • 6 edits
    1 add in branches/WindowsMerge/WebKitWin

Reviewed by Darin.

Add COMPtr. Make MemoryStream backed by a SharedBuffer. Use SharedBuffer in
WebFrame.


  • COMPtr.h: Added. (COMPtr::COMPtr): (COMPtr::~COMPtr): (COMPtr::get): (COMPtr::operator*): (COMPtr::operator->): (COMPtr::operator&): (COMPtr::operator!): (COMPtr::operator UnspecifiedBoolType): (::copyTo): (::adopt): (::operator):
  • MemoryStream.cpp: (MemoryStream::MemoryStream): (MemoryStream::~MemoryStream): (MemoryStream::createInstance): (MemoryStream::Clone):
  • MemoryStream.h:
  • WebFrame.cpp: (WebFrame::WebFrame): (WebFrame::didReceiveResponse): (WebFrame::didReceiveData):
  • WebFrame.h: (WebFrame::data):
  • WebKit.vcproj/WebKit.vcproj:
5:19 PM Changeset in webkit [22741] by sfalken
  • 2 edits in branches/WindowsMerge/WebCore

2007-01-09 Steve Falkenburg <sfalken@apple.com>

B&I build fix

  • WebCore.vcproj/WebCore.vcproj:
5:09 PM Changeset in webkit [18729] by hyatt
  • 30 edits
    4 adds in trunk/LayoutTests/fast/overflow

Update overflow tests. Add new overflow test.

4:54 PM Changeset in webkit [18728] by andersca
  • 3 edits in trunk/WebCore

Reviewed by Brady.

Add default constructor to SharedBuffer.

  • platform/SharedBuffer.cpp: (WebCore::SharedBuffer::SharedBuffer):
  • platform/SharedBuffer.h:
4:52 PM Changeset in webkit [18727] by hyatt
  • 11 edits in trunk/WebCore

This patch gets rudimentary column layout working. Normal flow content only gets laid out into
columns properly and painted correctly initially. What doesn't work: hit testing, incremental repainting,
column rule painting, child layers.

Some work needs to be done on the render tree dumper before column tests will be
meaningful.

Also reworked overflow and fixed a bunch of bugs with the computation of overflow. These include an error
in the height calculations caused by not adding in the horizontal scrollbar height and other errors caused
by not checking overflow in lowest/rightmostPosition. Existing tests improve their rendering to match
Firefox with this change.

Fixed a bug where a table cell incorrectly expanded to encompass floats inside an overflow:auto block.
This should not have happened. Covered by new test fast/overflow/table-overflow-float.html.

Reviewed by mitz

  • page/Frame.cpp:
  • rendering/RenderBlock.cpp: (WebCore:::RenderFlow): (WebCore::RenderBlock::layoutBlock): (WebCore::RenderBlock::paintContents): (WebCore::RenderBlock::paintChildren): (WebCore::RenderBlock::paintObject): (WebCore::RenderBlock::lowestPosition): (WebCore::RenderBlock::rightmostPosition): (WebCore::RenderBlock::leftmostPosition): (WebCore::RenderBlock::avoidsFloats): (WebCore::RenderBlock::nodeAtPoint): (WebCore::RenderBlock::hitTestContents): (WebCore::RenderBlock::layoutColumns):
  • rendering/RenderBlock.h: (WebCore::RenderBlock::hasOverhangingFloats): (WebCore::RenderBlock::hasColumns):
  • rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::layoutBlock): (WebCore::RenderFlexibleBox::layoutHorizontalBox): (WebCore::RenderFlexibleBox::layoutVerticalBox):
  • rendering/RenderFlow.cpp: (WebCore::RenderFlow::paintLines): (WebCore::RenderFlow::lowestPosition): (WebCore::RenderFlow::rightmostPosition): (WebCore::RenderFlow::leftmostPosition):
  • rendering/RenderFlow.h: (WebCore::RenderFlow::hasColumns):
  • rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::paint):
  • rendering/RenderObject.h: (WebCore::RenderObject::expandsToEncloseOverflow):
  • rendering/RenderTableCell.h: (WebCore::RenderTableCell::expandsToEncloseOverflow):
  • rendering/RenderView.cpp: (WebCore::RenderView::paint):
4:23 PM Changeset in webkit [18726] by justing
  • 1 edit in trunk/LayoutTests/editing/pasteboard/4840662.html

Removed some extraneous text from this layout test. It passes now.

4:21 PM Changeset in webkit [22740] by sfalken
  • 2 edits in branches/WindowsMerge/WebKitWin

2007-01-09 Steve Falkenburg <sfalken@apple.com>

Reviewed by Lou.


<rdar://4906546> Win2K: crash when entering new URL in address field

Win2K compatibility fix. SafeArrayCreateVector doesn't work correctly on older systems (Win2K, etc.)


Some references to people stumbling across this bug (apologies for not being able to find a Microsoft support article):
http://discuss.develop.com/archives/wa.exe?A2=ind0104a&L=dotnet&D=0&T=0&P=69575
http://www.eggheadcafe.com/ng/microsoft.public.platformsdk.com_ole/Jul2005/post22989606.asp
http://www.pcreview.co.uk/forums/thread-1470025.php

  • MarshallingHelpers.cpp: (MarshallingHelpers::stringArrayToSafeArray): (MarshallingHelpers::intArrayToSafeArray): (MarshallingHelpers::intRectToSafeArray): (MarshallingHelpers::iunknownArrayToSafeArray):
4:11 PM Changeset in webkit [18725] by thatcher
  • 3 edits
    17 moves in trunk/WebKit

Reviewed by Darin.

Rename the now ObjC++ files to be .mm and remove the explicit file types.

  • DOM/WebDOMOperations.m: Removed.
  • DefaultDelegates/WebDefaultContextMenuDelegate.m: Removed.
  • English.lproj/StringsNotToBeLocalized.txt:
  • Misc/WebCoreStatistics.m: Removed.
  • Misc/WebElementDictionary.m: Removed.
  • Misc/WebIconDatabase.m: Removed.
  • Misc/WebNSAttributedStringExtras.m: Removed.
  • Misc/WebNSPasteboardExtras.m: Removed.
  • Plugins/WebNetscapePluginEmbeddedView.m: Removed.
  • Plugins/WebNullPluginView.m: Removed.
  • Plugins/WebPluginContainerCheck.m: Removed.
  • WebCoreSupport/WebViewFactory.m: Removed.
  • WebKit.xcodeproj/project.pbxproj:
  • WebView/WebArchiver.m: Removed.
  • WebView/WebHTMLRepresentation.m: Removed.
  • WebView/WebHTMLView.m: Removed.
  • WebView/WebRenderNode.m: Removed.
  • WebView/WebResource.m: Removed.
  • WebView/WebScriptDebugDelegate.m: Removed.
4:08 PM Changeset in webkit [18724] by darin
  • 30 edits in trunk

JavaScriptCore:

  • update 2007 Apple copyright for the new company name
  • kjs/DateMath.cpp:

WebCore:

  • update all 2007 Apple copyrights for the new company name
  • css/cssstyleselector.cpp:
  • html/HTMLLIElement.cpp:
  • platform/CharacterNames.h:
  • platform/TextBreakIterator.h:
  • platform/TextBreakIteratorICU.cpp:
  • platform/graphics/ImageBuffer.h:
  • rendering/CounterNode.cpp:
  • rendering/CounterNode.h:
  • rendering/RenderBox.h:
  • rendering/RenderContainer.cpp:
  • rendering/RenderCounter.cpp:
  • rendering/RenderCounter.h:
  • rendering/RenderImage.h:
  • rendering/RenderListItem.h:
  • rendering/RenderListMarker.h:
  • rendering/RenderObject.cpp:
  • rendering/RenderObject.h:
  • rendering/RenderStyle.cpp:
  • rendering/RenderStyle.h:
  • rendering/RenderTable.cpp:
  • rendering/RenderTableCell.cpp:
  • rendering/RenderTableCell.h:
  • rendering/RenderText.cpp:
  • rendering/RenderText.h:
  • rendering/RenderTreeAsText.cpp:
  • rendering/SVGRenderTreeAsText.cpp:
  • rendering/break_lines.cpp:
2:49 PM Changeset in webkit [18723] by justing
  • 3 edits
    8 adds in trunk

LayoutTests:

Reviewed by john

  • editing/inserting/4840662-expected.checksum: Added.
  • editing/inserting/4840662-expected.png: Added.
  • editing/inserting/4840662-expected.txt: Added.
  • editing/inserting/4840662.html: Added.
  • editing/pasteboard/4840662-expected.checksum: Added.
  • editing/pasteboard/4840662-expected.png: Added.
  • editing/pasteboard/4840662-expected.txt: Added.
  • editing/pasteboard/4840662.html: Added.

WebCore:

Reviewed by john

<rdar://problem/4840662>
REGRESSION: Mail crash when dragging text into a link


moveParagraphs fails to move content into a display:block
anchor because of code in positionAvoidingSpecialElementBoundary,
and so it infinitely recurs.


  • editing/htmlediting.cpp: (WebCore::positionAvoidingSpecialElementBoundary): Don't avoid anchors that have display:block so that content is inserted in the expected paragraph. This fixes the bug and weird behavior when typing before/after anchors with display:block.
2:29 PM Changeset in webkit [18722] by rwlbuis
  • 4 edits
    8 adds in trunk

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=12145
Color parsing is too relaxed in strict mode
http://bugs.webkit.org/show_bug.cgi?id=12166
REGRESSION (r18480): "336633" is not parsed as a color

Fix a regression by using String::format return value.
Also make strict mode more strict for cases where hexcolors
lack a #.

1:48 PM Changeset in webkit [18721] by darin
  • 2 edits in trunk/WebCore

Reviewed by Maciej.

  • fixed regression where redirects did not have user-agent any more

Showed up as a failure in one of the http tests, so no new test needed.

  • loader/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::willSendRequest): Don't use a copy of the ResourceRequest; pass the original so it can be modified.
1:39 PM Changeset in webkit [22739] by andersca
  • 2 edits in branches/WindowsMerge/WebCore

Build fix.


  • platform/win/TextBoundariesWin.cpp:
1:36 PM Changeset in webkit [18720] by spadma
  • 2 edits in S60/branches/3.1m/WebKit

2007-01-09 sareen <shyam.sareen@nokia.com>

Reviewed by Sachin Padma.
DESC: Switching to landscape while graphical back is open causes UI problem.
http://bugs.webkit.org/show_bug.cgi?id=12168

  • BrowserView/src/WebKitView.cpp: (CWebKitView::SizeChanged):
1:32 PM Changeset in webkit [18719] by spadma
  • 2 edits in S60/trunk/WebKit

2007-01-09 sareen <shyam.sareen@nokia.com>

Reviewed by Sachin Padma.
DESC: Switching to landscape while graphical back is open causes UI problem.
http://bugs.webkit.org/show_bug.cgi?id=12168

  • BrowserView/src/WebKitView.cpp: (CWebKitView::SizeChanged):
1:19 PM Changeset in webkit [18718] by darin
  • 2 edits in trunk/JavaScriptCore
  • fix build
  • kjs/string_object.cpp: (KJS::StringProtoFunc::callAsFunction): Actually compile it this time.
1:13 PM Changeset in webkit [18717] by darin
  • 2 edits in trunk/JavaScriptCore
  • fix build
  • kjs/string_object.cpp: (KJS::StringProtoFunc::callAsFunction): Change types.
1:11 PM Changeset in webkit [18716] by darin
  • 2 edits in trunk/JavaScriptCore
  • fix build on platforms where Unicode::UChar is != uint16_t
  • kjs/string_object.cpp: (KJS::StringProtoFunc::callAsFunction): Change types.
9:38 AM Changeset in webkit [18715] by ap
  • 7 edits
    2 adds in trunk

2007-01-09 Mitz Pettel <mitz@webkit.org>

Reviewed by Darin.

JavaScriptCore:

  • JavaScriptCore.exp:
  • kjs/value.cpp: (KJS::JSValue::toInt32): Folded toInt32Inline into this method, which was its only caller. (KJS::JSValue::toUInt32): Added a variant that reports if the conversion has succeeded.
  • kjs/value.h:

WebCore:

  • bindings/js/kjs_html.cpp: (KJS::JSHTMLCollectionProtoFunc::callAsFunction): Changed item() to fall back to namedItem() if its argument does not convert to a number.

LayoutTests:

  • fast/dom/collection-namedItem-via-item-expected.txt: Added.
  • fast/dom/collection-namedItem-via-item.html: Added.
7:13 AM Changeset in webkit [18714] by spadma
  • 2 edits in S60/branches/3.1m/MemoryManager

2007-01-09 spadma <Sachin.Padma@nokia.com>

Reviewed by Yongjun.
DESC: Fix build break caused by removing simple notifier
http://bugzilla.opendarwin.org/show_bug.cgi?id=

  • EABI/MemManU.DEF:
6:57 AM Changeset in webkit [18713] by spadma
  • 2 edits in S60/trunk/MemoryManager

2007-01-09 spadma <Sachin.Padma@nokia.com>

Reviewed by Yongjun.
DESC: Fix build break by removing SimpleNotifier.
http://bugs.webkit.org/show_bug.cgi?id=

  • EABI/MemManU.DEF:
6:54 AM Changeset in webkit [18712] by darin
  • 39 edits
    1 add in trunk

JavaScriptCore:

Reviewed by Maciej.

  • wtf/unicode/icu/UnicodeIcu.h: Change parameter and return types to UChar32 and UChar. Removed unneeded type casts and added some const to functions that lacked it. Removed WTF::Unicode::memcmp. (WTF::Unicode::umemcasecmp): Renamed from strcasecmp since this doesn't work on 0-terminated strings as the str functions do.
  • wtf/unicode/qt4/UnicodeQt4.h: Ditto.
  • got rid of namespace prefixes from most uses of WTF::Unicode
  • kjs/function.cpp: (KJS::isStrWhiteSpace): (KJS::escapeStringForPrettyPrinting):
  • kjs/lexer.cpp: (KJS::Lexer::isWhiteSpace): (KJS::Lexer::isIdentStart): (KJS::Lexer::isIdentPart):
  • kjs/string_object.cpp: (KJS::StringProtoFunc::callAsFunction):

WebCore:

Reviewed by Maciej.

  • got rid of namespace prefixes from most uses of WTF::Unicode
  • updated for removal of WTF::Unicode::memcmp
  • updated for renaming of WTF::Unicode::strcasecmp to umemcasecmp.
  • unified constants for special Unicode characters in a new CharacterNames.h header
  • WebCore.xcodeproj/project.pbxproj:
  • css/cssparser.cpp: (WebCore::ParseString::lower):
  • dom/Document.cpp: (WebCore::isValidNameStart): (WebCore::isValidNamePart):
  • dom/Position.cpp: (WebCore::Position::leadingWhitespacePosition): (WebCore::Position::trailingWhitespacePosition):
  • editing/CompositeEditCommand.cpp: (WebCore::isWhitespace):
  • editing/HTMLInterchange.cpp:
  • editing/TextIterator.cpp: (WebCore::CircularSearchBuffer::CircularSearchBuffer): (WebCore::CircularSearchBuffer::append):
  • editing/htmlediting.cpp: (WebCore::stringWithRebalancedWhitespace): (WebCore::nonBreakingSpaceString):
  • editing/htmlediting.h:
  • html/HTMLFontElement.cpp: (WebCore::parseFontSizeNumber):
  • html/HTMLParser.cpp: (WebCore::HTMLParser::handleError):
  • html/HTMLSelectElement.cpp: (WebCore::stripLeadingWhiteSpace):
  • platform/Font.cpp: (WebCore::WidthIterator::advance): (WebCore::WidthIterator::normalizeVoicingMarks):
  • platform/GlyphMap.cpp: (WebCore::GlyphMap::locatePage):
  • platform/MimeTypeRegistry.h:
  • platform/StringHash.h:
  • platform/StringImpl.cpp: (WebCore::isSpace): (WebCore::StringImpl::append): (WebCore::StringImpl::insert): (WebCore::StringImpl::truncate): (WebCore::StringImpl::remove): (WebCore::parseLength): (WebCore::StringImpl::isLower): (WebCore::StringImpl::lower): (WebCore::StringImpl::upper): (WebCore::StringImpl::secure): (WebCore::StringImpl::foldCase): (WebCore::StringImpl::capitalize):t (WebCore::StringImpl::toInt): (WebCore::equalIgnoringCase): (WebCore::StringImpl::find):
  • platform/TextBoundaries.h:
  • platform/TextCodec.h:
  • platform/TextCodecLatin1.cpp:
  • platform/TextEncoding.h:
  • platform/TextEncodingRegistry.h:
  • platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::writeSelection):
  • platform/mac/TextCodecMac.cpp: (WebCore::TextCodecMac::decode):
  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::updateFirstLetter):
  • rendering/RenderListMarker.cpp: (WebCore::listMarkerText): (WebCore::RenderListMarker::paint):
  • rendering/RenderText.cpp: (WebCore::RenderText::widthFromCache): (WebCore::isSpaceAccordingToStyle): (WebCore::RenderText::setInternalString):
  • rendering/RenderTreeAsText.cpp: (WebCore::quoteAndEscapeNonPrintables): (WebCore::operator<<):
  • rendering/bidi.cpp: (WebCore::BidiState::BidiState): (WebCore::BidiContext::BidiContext): (WebCore::bidiNext): (WebCore::bidiFirst): (WebCore::BidiIterator::direction): (WebCore::appendRun): (WebCore::embed): (WebCore::RenderBlock::bidiReorderLine): (WebCore::RenderBlock::layoutInlineChildren): (WebCore::skipNonBreakingSpace): (WebCore::RenderBlock::findNextLineBreak):
  • rendering/break_lines.cpp: (WebCore::nextBreakablePosition):
  • rendering/break_lines.h:
  • xml/XPathParser.cpp: (WebCore::XPath::charCat):
6:43 AM Changeset in webkit [18711] by darin
  • 1 edit in trunk/WebCore/ChangeLog

Another change log tweak.

6:42 AM Changeset in webkit [18710] by darin
  • 1 edit in trunk/WebCore/ChangeLog

Add the bug number.

6:36 AM Changeset in webkit [18709] by darin
  • 2 edits in trunk/WebCore

Reviewed by Darin.

  • rendering/RenderText.h: (WebCore::RenderText::selectionState): Change the m_selectionState enum-bitfield to an unsigned-bitfield, because enums on Windows are signed, which caused it to become negative (whereas the valid values are all positive).
6:28 AM Changeset in webkit [18708] by darin
  • 5 edits in trunk/WebCore

Reviewed by Hyatt.

  • platform/TextBreakIterator.h: Added lineBreakIterator. Removed ICU-specific stuff from the header.
  • platform/TextBreakIteratorICU.cpp: (WebCore::setUpIterator): Added helper to be shared by the three different creation functions. (WebCore::characterBreakIterator): Changed to use setUpIterator. (WebCore::wordBreakIterator): Ditto. (WebCore::lineBreakIterator): Added.
  • platform/qt/TextBreakIteratorQt.cpp: (WebCore::lineBreakIterator): Added a stub.
  • rendering/break_lines.cpp: (WebCore::isBreakableSpace): Added. (WebCore::shouldBreakAfter): Added. (WebCore::needsAdvancedBreakAnalysis): Added. (WebCore::nextBreakablePosition): Changed to use TextBreakIterator on platforms other than Mac.
6:19 AM Changeset in webkit [18707] by darin
  • 1 edit
    4 adds in trunk/LayoutTests

Reviewed by Mitz.

  • added a Thai line breaking test
  • fast/text/international/thai-line-breaks-expected.checksum: Added.
  • fast/text/international/thai-line-breaks-expected.png: Added.
  • fast/text/international/thai-line-breaks-expected.txt: Added.
  • fast/text/international/thai-line-breaks.html: Added.
6:15 AM Changeset in webkit [18706] by mjs
  • 4 edits in trunk/WebCore

Reviewed by Darin.

  • move WebDataProtocol load handling from ResourceLoader to MainResourceLoader


(it's only ever used for main resources)

  • loader/ResourceLoader.h: (WebCore::ResourceLoader::setRequest):
  • loader/mac/MainResourceLoaderMac.mm: (WebCore::MainResourceLoader::willSendRequest): (WebCore::MainResourceLoader::continueAfterContentPolicy):
  • loader/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::willSendRequest): (WebCore::ResourceLoader::didReceiveResponse):
5:56 AM Changeset in webkit [18705] by rwlbuis
  • 4 edits
    4 adds in trunk

Reviewed by Eric.

http://bugs.webkit.org/show_bug.cgi?id=12129
repaint issue after setting viewBox attribute with ECMAScript

Make sure RenderSVGContainer updates after setting viewBox from js.

5:50 AM Changeset in webkit [18704] by mjs
  • 5 edits in trunk/WebKit

Reviewed by Darin.


  • remove window display throttling code; no longer used
  • Misc/WebNSWindowExtras.h:
  • Misc/WebNSWindowExtras.m:
  • WebView/WebFrameView.mm: (-[WebFrameView initWithFrame:]):
  • WebView/WebPreferenceKeysPrivate.h:
12:20 AM Changeset in webkit [18703] by lars
  • 6 edits in trunk/WebCore

Make the Qt build compile... again!

12:15 AM Changeset in webkit [18702] by hyatt
  • 2 edits in trunk/WebCore

Fix for background: inherit bug where background-color wasn't getting properly overridden. This was a
regression from Safari 1.3 to 2.0.

Reviewed by bdash

fast/backgrounds/background-color-inherit-bug.html

  • css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
12:14 AM Changeset in webkit [18701] by hyatt
  • 4 adds in trunk/LayoutTests/fast/backgrounds

Add new layout test for background inherit color bug.

Jan 8, 2007:

11:55 PM Changeset in webkit [18700] by beidson
  • 3 edits in trunk/WebCore

Reviewed by Brian Dash

<rdar://problem/4895178>
WebCore::BackForwardList vector should be backed by a HashSet to remove
the potential expense in frequently calling BackForwardList::containsItem()

  • history/BackForwardList.cpp: (WebCore::BackForwardList::addItem): Maintain HashSet as well as Vector (WebCore::BackForwardList::setCapacity): Ditto (WebCore::BackForwardList::close): Ditto (WebCore::BackForwardList::removeItem): Ditto (WebCore::BackForwardList::containsItem): Make a hash lookup instead of iterate through the Vector
  • history/BackForwardList.h:
9:53 PM Changeset in webkit [18699] by hyatt
  • 2 edits in trunk/WebCore

Fix a regression where layout is triggering on all recalcStyles, due to a bad comparison
in the multicol assignment operator.

  • rendering/RenderStyle.cpp: (WebCore::StyleMultiColData::operator==):
9:25 PM Changeset in webkit [18698] by darin
  • 1 edit in trunk/WebCore/ChangeLog

And forgot change log.

9:25 PM Changeset in webkit [18697] by darin
  • 1 edit in trunk/WebCore/rendering/InlineBox.cpp

Oops, forgot one file.

9:18 PM Changeset in webkit [18696] by darin
  • 2 edits in trunk/WebCore
  • rolled out Beth's RenderFlow::destroy change, which broke 5 editing tests
  • rendering/RenderFlow.cpp: (WebCore::RenderFlow::destroy): Used svn merge to roll the change out.
7:52 PM Changeset in webkit [18695] by bdash
  • 3 edits in trunk/WebCore

2007-01-09 Mark Rowe <mrowe@apple.com>

Reviewed by Tim H.

Build fix for 64-bit platforms.

  • platform/graphics/svg/SVGPaintServerGradient.h:
  • platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp: (WebCore::SVGPaintServerGradient::updateQuartzGradientStopsCache):
7:23 PM Changeset in webkit [22738] by andersca
  • 2 edits in branches/WindowsMerge/WebCore

Remove FrameLoader functions that have been implemented.


  • platform/win/TemporaryLinkStubs.cpp:
6:54 PM Changeset in webkit [18694] by andersca
  • 6 edits in trunk

WebCore:

Reviewed by Brady.

Move some history related functions off the bridge and into FrameLoader directly.

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::canGoBackOrForward): (WebCore::FrameLoader::getHistoryLength): (WebCore::FrameLoader::historyURL):
  • loader/mac/FrameLoaderMac.mm:
  • page/mac/WebCoreFrameBridge.h:

WebKit:

Reviewed by Brady.

Remove bridge functions that are implemented directly in FrameLoader now.


  • WebCoreSupport/WebFrameBridge.mm:
6:48 PM Changeset in webkit [18693] by weinig
  • 7 edits in trunk

LayoutTests:

Reviewed by Mark.

Update results to include outline-color.

  • fast/css/computed-style-expected.txt:
  • fast/css/computed-style.html:

WebCore:

Reviewed by Mark.

Adds outline-color to list of computable styles.

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::):

WebKit:

Reviewed by Mark.

Adds default value for outline-color and fixes default
values of the recently fixed *-color properties.

6:01 PM Changeset in webkit [18692] by zbujtas
  • 2 edits in S60/trunk/WebCore

2007-01-08 shkeller <shaun.keller@nokia.com>

Reviewed by Zalan Bujtas (zbujtas@gmail.com).
DESC: XMLHttpRequest object not gcprotected when !USE_CONSERVATIVE_GC
http://bugs.webkit.org/show_bug.cgi?id=12157

WARNING: NO TEST CASES ADDED OR CHANGED

  • khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::send): (KJS::XMLHttpRequest::abort): (KJS::XMLHttpRequest::slotFinished):
5:54 PM Changeset in webkit [18691] by zbujtas
  • 2 edits in S60/branches/3.1m/WebCore

2007-01-08 shkeller <shaun.keller@nokia.com>

Reviewed by Zalan Bujtas (zbujtas@gmail.com).
DESC: XMLHttpRequest object not gcprotected when !USE_CONSERVATIVE_GC
http://bugs.webkit.org/show_bug.cgi?id=12157

WARNING: NO TEST CASES ADDED OR CHANGED

  • khtml/ecma/xmlhttprequest.cpp: (KJS::XMLHttpRequest::send): (KJS::XMLHttpRequest::abort): (KJS::XMLHttpRequest::slotFinished):
5:21 PM Applications using WebKit edited by markmalone@mac.com
Added Vienna (diff)
5:03 PM Changeset in webkit [18690] by bdakin
  • 3 edits in trunk/WebCore

Reviewed by Hyatt.

Fix for a bug that Adam, Hyatt, and I noticed when debugging
another problem.

  • rendering/InlineBox.cpp: (WebCore::InlineBox::root): Added assertion. If we are casting to a root, we should make sure we are root.
  • rendering/RenderFlow.cpp: (WebCore::RenderFlow::destroy): It is not enough to remove the child boxes for anonymous blocks. We need to be more thorough when cleaning these up. Adam's test case illustrates the problem well.
4:54 PM Changeset in webkit [18689] by hyatt
  • 1 edit in trunk/LayoutTests/fast/css/computed-style-expected.txt

Land updated computed style results.

4:51 PM Changeset in webkit [18688] by hyatt
  • 2 edits in trunk/LayoutTests/fast/text

Land updated stroke results.

4:12 PM Changeset in webkit [18687] by hyatt
  • 1 edit in trunk/WebCore/rendering/RenderTreeAsText.cpp

Only dump stroke/fill if it's different from color

3:28 PM Changeset in webkit [18686] by ddkilzer
  • 1 edit in trunk/LayoutTests/ChangeLog

Fix typo.

3:14 PM Changeset in webkit [18685] by sullivan
  • 1 edit in trunk/WebCore/ChangeLog

Fixed text of previous comment.

3:11 PM Changeset in webkit [18684] by sullivan
  • 2 edits in trunk/WebCore

Tweak to previous checkin

  • page/ContextMenuController.cpp: (WebCore::ContextMenuController::contextMenuItemSelected): Adam suggested I should nil-check page->frame()
3:06 PM Changeset in webkit [22737] by lamadio
  • 3 edits in branches/WindowsMerge/WebKitWin

2007-01-08 Lou Amadio <lamadio@apple.com>

Reviewed by ggaren

  • DOMCoreClasses.cpp: (DOMNode::createInstance):

Build break

  • WebView.cpp: (WebView::handleMouseEvent):

passing incorrect flag

3:05 PM Changeset in webkit [18683] by sullivan
  • 2 edits in trunk/WebCore

Reviewed by Brady and Beth


  • fixed <rdar://problem/4912541> GMAIL: With selected text in a rich text message, choosing "Search in Google" displays search results in the message body field
  • page/ContextMenuController.cpp: (WebCore::ContextMenuController::contextMenuItemSelected): Visit google URL in main frame rather than in current frame
3:01 PM Changeset in webkit [18682] by hyatt
  • 2 edits in trunk/WebCore

Fix computed style errors for color properties that had invalid colors.
They should return the value of the 'color' property when their colors
are not valid.

Fixed the computed style value for border-top-color (a typo was causing it to
use border-left-color instead).

Implement outline-color computed style.

Reviewed by harrison

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::currentColorOrValidColor): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
2:51 PM Changeset in webkit [18681] by weinig
  • 7 edits
    4 adds in trunk

LayoutTests:

Reviewed by Darin and Eric.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=12150
Corrected results for W3C's pservers-grad-16-b.
Add a test for stop calues corner cases.

  • svg/W3C-SVG-1.1/pservers-grad-16-b-expected.checksum:
  • svg/W3C-SVG-1.1/pservers-grad-16-b-expected.png:
  • svg/W3C-SVG-1.1/pservers-grad-16-b-expected.txt:
  • svg/custom/gradient-stop-corner-cases-expected.checksum: Added.
  • svg/custom/gradient-stop-corner-cases-expected.png: Added.
  • svg/custom/gradient-stop-corner-cases-expected.txt: Added.
  • svg/custom/gradient-stop-corner-cases.svg: Added.

WebCore:

Reviewed by Darin and Eric.

Fixes: http://bugs.webkit.org/show_bug.cgi?id=12150
Handle correctly cases where no stops are defined, cases where a
stop offset value is less than previous stops offset value, and cases
where a stop offset value is greater than 1.0.


  • platform/graphics/svg/SVGPaintServerGradient.cpp: (WebCore::SVGPaintServerGradient::setGradientStops): Don't sort stops
  • platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp: (WebCore::cgGradientCallback): When there are no stops, use a transparent fill (WebCore::SVGPaintServerGradient::updateQuartzGradientStopsCache): a stop offset must always be considered at greater or equal to all preceding stop offsets, but no more than 1.0
2:45 PM Changeset in webkit [22736] by andersca
  • 3 edits in branches/WindowsMerge/WebKitWin

Reviewed by Brady.


Use a WebCore HistoryItem object to back WebHistoryItem.


  • WebHistoryItem.cpp: (WebHistoryItem::WebHistoryItem): (WebHistoryItem::~WebHistoryItem): (WebHistoryItem::createInstance): (WebHistoryItem::initFromDictionaryRepresentation): (WebHistoryItem::dictionaryRepresentation): (WebHistoryItem::hasURLString): (WebHistoryItem::visitCount): (WebHistoryItem::setVisitCount): (WebHistoryItem::mergeAutoCompleteHints): (WebHistoryItem::setLastVisitedTimeInterval): (WebHistoryItem::setTitle): (WebHistoryItem::RSSFeedReferrer): (WebHistoryItem::setRSSFeedReferrer): (WebHistoryItem::initWithURLString): (WebHistoryItem::URLString): (WebHistoryItem::title): (WebHistoryItem::lastVisitedTimeInterval):
  • WebHistoryItem.h:
2:15 PM Changeset in webkit [18680] by thatcher
  • 2 edits in trunk/WebCore

Reviewed by Geoff.

<rdar://problem/4865325> please re-add auto font activation support in WebKit

  • platform/mac/WebFontCache.mm: (+[WebFontCache fontWithFamily:traits:size:]):
1:36 PM Changeset in webkit [18679] by darin
  • 5 edits in trunk/LayoutTests
  • turn off the Armenian part of this test for now, since it gives different results with different fonts
  • fast/lists/w3-list-styles-expected.checksum:
  • fast/lists/w3-list-styles-expected.png:
  • fast/lists/w3-list-styles-expected.txt:
  • fast/lists/w3-list-styles.html:
1:32 PM Changeset in webkit [18678] by bdakin
  • 2 edits in trunk/WebKit

Reviewed by Adam.

Fix for http://bugs.webkit.org/show_bug.cgi?id=12161 REGRESSION:
Crash when control-clicking on an image for contextual menu

  • WebView/WebHTMLView.m: (-[WebHTMLView menuForEvent:]): We need to nil-check coreMenu since it will be nil if the DOM popped up a menu instead. I cleaned up the function to make all the nil checks early returns instead of nesting all of the content. Also moved the autorelease to be with the creation of the menu instead of at the return.
12:55 PM Changeset in webkit [18677] by weinig
  • 28 edits in trunk/WebCore

Reviewed by Adam.

  • bindings/objc/DOMHTML.mm: (-[DOMHTMLSelectElement _activateItemAtIndex:]): Removed useless implementation that would only work with NSView-based <select> elements, and added a FIXME about the fact that this function doesn't do anything any more. I think it's used by Safari forms auto-fill.
  • bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject rendererForView:]): Removed code that depends on elementForView:, since that always returns nil now.
  • html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::~HTMLFormElement): Use a formDestroyed() function rather than clearing m_form directly so that this class doesn't have to be a friend of HTMLGenericFormElement.
  • html/HTMLGenericFormElement.h: Removed now-unneeded friend declaration for HTMLFormElement. Moved definition of supportsFocus into the .cpp file. Added a public formDestroyed function for use by HTMLFormElement.
  • html/HTMLGenericFormElement.cpp: (WebCore::HTMLGenericFormElement::attach): Removed widget-specific code. (WebCore::HTMLGenericFormElement::isKeyboardFocusable): Ditto. (WebCore::HTMLGenericFormElement::isMouseFocusable): Ditto. (WebCore::HTMLGenericFormElement::supportsFocus): Added this here; it was in the header file before, for no good reason.
  • page/EventHandler.h: Removed unused Mac-specific currentEventIsMouseDownInWidget.
  • page/mac/EventHandlerMac.mm: Ditto.
  • page/Frame.cpp: (WebCore::Frame::frameForWidget): Changed to use RenderWidget to find the frame rather than the WigetClient element() function.
  • page/mac/FrameMac.h: Removed unused bridgeForWidget.
  • page/mac/FrameMac.mm: Ditto.
  • page/mac/WebCoreFrameBridge.h: Removed elementForView.
  • page/mac/WebCoreFrameBridge.mm: Ditto. While the scroll bar still did implement WebCoreWidgetHolder, it does not correspond to a DOM element, so this method was always returning nil.
  • platform/Widget.h: Moved unused types and functions that are still in the platform-specific implementations into a "to be deleted" section: FocusPolicy, NoFocus, TabFocus, ClickFocus, StrongFocus, WheelFocus, lockDrawingFocus, font, focusPolicy, hasFocus, clearFocus, setFont, disableFlushDrawing, enableFlushDrawing, unlockDrawingFocus. Removed unused functions that are not in platform-specific implementations: sizeHint, baselinePosition, checksDescendantsForFocus.
  • platform/Widget.cpp: Removed functions.
  • platform/WidgetClient.h: Emptied out the class. Soon we can delete it.
  • platform/mac/PlatformScrollBarMac.mm: (-[WebCoreScrollBar mouseDown:]): Got rid of unneeded includes, removed use of the WebCoreWidgetHolder protocol and the one method in it, and changed the calls to beforeMouseDown and afterMouseDown to pass the widget pointer in.
  • platform/mac/WebCoreWidgetHolder.h: Emptied out the file -- to be deleted later.
  • platform/mac/WidgetMac.mm: (WebCore::Widget::~Widget): Removed code to manage deferredFirstResponder. (WebCore::Widget::hasFocus): Removed body of function and replaced with an assertion that it's never called. Later we'll remove it. (WebCore::Widget::setFocus): Tweaked a bit to work given changes to the FrameMac class. Also added a FIXME. Given how this works, it does not belong in the platform layer. (WebCore::Widget::clearFocus): Removed body of function and replaced with an assertion that it's never called. Later we'll remove it. (WebCore::Widget::focusPolicy): Ditto. (WebCore::Widget::font): Ditto. (WebCore::Widget::setFont): Ditto. (WebCore::Widget::lockDrawingFocus): Ditto. (WebCore::Widget::unlockDrawingFocus): Ditto. (WebCore::Widget::disableFlushDrawing): Ditto. (WebCore::Widget::enableFlushDrawing): Ditto. (WebCore::Widget::paint): Removed obsolete comment. (WebCore::Widget::sendConsumedMouseUp): Removed body of function and replaced with an assertion that it's never called. Later we'll remove it. (WebCore::Widget::setIsSelected): Tweaked a bit to work given changes to the FrameMac class. Also added a FIXME. Given how this works, it does not belong in the platform layer. (WebCore::Widget::beforeMouseDown): Changed to take an explicit Widget parameter. (WebCore::Widget::afterMouseDown): Ditto.
  • rendering/RenderApplet.cpp: (WebCore::RenderApplet::intrinsicWidth): Changed to not call sizeHint() any more. I didn't change the values returned by the function, but they make no sense and this should probably be fixed later. (WebCore::RenderApplet::intrinsicHeight): Ditto.
  • rendering/RenderWidget.h: Removed unneeded WidgetClient.h include. Changed RenderWidget to no longer inherit from WidgetClient. Added a find function to find a RenderWidget given a Widget. Removed all the virtual functions that override WidgetClient hooks.
  • rendering/RenderWidget.cpp: Removed all the WidgetClient functions. (WebCore::widgetRendererMap): Added. Map that gives the RenderWidget for each Widget that is owned by a RenderWidget. (WebCore::RenderWidget::destroy): Removed the setClient call and added a call to remove the widget from the widgetRendererMap. (WebCore::RenderWidget::setWidget): Ditto. (WebCore::RenderWidget::setStyle): Removed the call to Widget::setFont. (WebCore::RenderWidget::find): Added. Returns the RenderWidget for a Widget, if any.
  • other changes
  • dom/Node.cpp: (WebCore::Node::dump): Removed unnecessary use of DeprecatedString. (WebCore::appendAttributeDesc): Ditto. (WebCore::Node::showNode): Ditto. (WebCore::Node::formatForDebugger): Ditto.
  • loader/CachedImage.cpp: (WebCore::CachedImage::createImage): Cleaned up conditional compilation so adding more MIME types here doesn't make the function more and more difficult to read.
  • page/Frame.h: Removed unneeded includes and declarations. Tweaked formatting.
  • page/Page.h: Removed unneeded declarations.
  • platform/ScrollView.h: Removed unneeded includes.
  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::renderName): Tweaked formatting.
11:55 AM Changeset in webkit [18676] by weinig
  • 6 edits in trunk/WebCore

Reviewed by Darin.

No test possible (no change to functionality).

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::removeComputedInheritablePropertiesFrom): Added. Removes the inheritable properties that CSSComputedStyleDeclaration knows how to compute from the given mutable declaration.
  • css/CSSComputedStyleDeclaration.h:
  • css/CSSMutableStyleDeclaration.cpp: Removed one copy of the inheritableProperties array.
  • css/CSSMutableStyleDeclaration.h:
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::removeRedundantStyles): Changed to call CSSComputedStyleDeclaration::removeComputedInheritablePropertiesFrom.
11:48 AM Changeset in webkit [18675] by ap
  • 3 edits
    2 adds in trunk

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=12099
XMLHttpRequest shouldn't honor a charset specified via setRequestHeader

Test: http/tests/xmlhttprequest/request-encoding.html

  • xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::send): Don't try to get the charset from Content-Type. Keep checking for unknown charsets, because that will be needed again when we start using document.xmlEncoding.
11:42 AM Changeset in webkit [18674] by ap
  • 10 edits
    2 adds in trunk

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=7640
Menu items are displayed as "undefined"

WebCore:

  • bindings/js/kjs_dom.cpp: (KJS::DOMNodeProtoFunc::callAsFunction):
  • bindings/js/kjs_domnode.h: (KJS::DOMNode::): Removed Node::item. No idea why it was there in the first place.
  • bindings/js/kjs_html.cpp: (KJS::HTMLElementFunction::callAsFunction):
  • bindings/js/kjs_html.h: (KJS::JSHTMLElement::): Added HTMLSelectElement::item. It is not in DOM2 IDL, but the spec seems to mentions it anyway: "The contained options can be directly accessed through the select element as a collection."
  • html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::namedItem): (WebCore::HTMLSelectElement::item):
  • html/HTMLSelectElement.h:
  • html/HTMLSelectElement.idl: Added this method to DOM and IDL, too. Made namedItem() non-virtual.

LayoutTests:

  • fast/dom/Window/window-properties-expected.txt: Updated the results.
  • fast/dom/node-item-expected.txt: Added.
  • fast/dom/node-item.html: Added. Check that there is no Node:item or HTMLElement:item.
11:31 AM Changeset in webkit [18673] by bdakin
  • 2 edits in trunk/WebCore

Reviewed by Maciej.

Fix for <rdar://problem/4912254> REGRESSION: After copying text to
the clipboard, the paste contextual remains dimmed when it should
be active

No layout test for context menu problems.

  • platform/ContextMenu.cpp: (WebCore::ContextMenu::checkOrEnableIfNeeded): Remove check to see if the content is richly editable; it only has to be regular editable and the call to canPaste() takes care of that.
11:17 AM Changeset in webkit [18672] by weinig
  • 2 edits in trunk/WebCore

Reviewed by Mitz.

Attempt to fix build for buildbots.

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::columnGap): (WebCore::RenderBlock::calcColumnWidth):
11:15 AM Changeset in webkit [18671] by darin
  • 3 edits
    4 adds in trunk

LayoutTests:

  • added a W3C list style test that was cited in a bug
  • fast/lists/w3-list-styles-expected.checksum: Added.
  • fast/lists/w3-list-styles-expected.png: Added.
  • fast/lists/w3-list-styles-expected.txt: Added.
  • fast/lists/w3-list-styles.html: Added.

WebCore:

Reviewed by Maciej.

Test case showed problems in cjk-ideographic and hebrew
Test: fast/lists/w3-list-styles.html

  • rendering/RenderListMarker.cpp: (WebCore::toCJKIdeographic): Fix the algorithm so it doesn't include leading zeroes. I had misread the part that says you start with the decimal form of the number. Fix an assertion that was too stringent. Fix the code to collapse consecutive zeroes so that it doesn't get confused by intervening "noChar" characters. (WebCore::RenderListMarker::paint): Reverse the text before painting if the first character's direction is right to left.
11:10 AM Changeset in webkit [22735] by andersca
  • 2 edits in branches/WindowsMerge/WebCore

Build fix.


  • WebCore.vcproj/WebCore.vcproj:
10:59 AM Changeset in webkit [18670] by darin
  • 138 edits in trunk

LayoutTests:

Reviewed by Beth.

  • css1/basic/class_as_selector-expected.txt:
  • css1/basic/containment-expected.txt:
  • css1/basic/contextual_selectors-expected.txt:
  • css1/basic/id_as_selector-expected.txt:
  • css1/box_properties/border_bottom-expected.txt:
  • css1/box_properties/border_left-expected.txt:
  • css1/box_properties/border_right_inline-expected.txt:
  • css1/box_properties/border_top-expected.txt:
  • css1/box_properties/clear_float-expected.txt:
  • css1/box_properties/margin-expected.txt:
  • css1/box_properties/margin_bottom-expected.txt:
  • css1/box_properties/margin_left-expected.txt:
  • css1/box_properties/margin_right-expected.txt:
  • css1/box_properties/margin_top-expected.txt:
  • css1/box_properties/padding_left-expected.txt:
  • css1/box_properties/padding_right-expected.txt:
  • css1/cascade/cascade_order-expected.txt:
  • css1/classification/display-expected.txt:
  • css1/classification/list_style-expected.txt:
  • css1/classification/list_style_image-expected.txt:
  • css1/classification/list_style_position-expected.txt:
  • css1/classification/list_style_type-expected.txt:
  • css1/conformance/forward_compatible_parsing-expected.txt:
  • css1/pseudo/anchor-expected.txt:
  • css2.1/t0402-c71-fwd-parsing-02-f-expected.txt:
  • css2.1/t0505-c16-descendant-01-e-expected.txt:
  • css2.1/t050803-c14-classes-00-e-expected.txt:
  • css2.1/t0509-c15-ids-01-e-expected.txt:
  • css2.1/t0805-c5518-brdr-t-01-e-expected.txt:
  • css2.1/t0805-c5519-brdr-r-02-e-expected.txt:
  • css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
  • css2.1/t0805-c5521-brdr-l-02-e-expected.txt:
  • css2.1/t1205-c561-list-displ-00-b-expected.txt:
  • css2.1/t1205-c563-list-type-00-b-expected.txt:
  • css2.1/t1205-c563-list-type-01-b-expected.txt:
  • css2.1/t1205-c564-list-img-00-b-g-expected.txt:
  • css2.1/t1205-c565-list-pos-00-b-expected.txt:
  • css2.1/t1205-c566-list-stl-00-e-ag-expected.txt:
  • editing/deleting/4866671-expected.txt:
  • editing/deleting/delete-first-list-item-expected.txt:
  • editing/deleting/delete-link-1-expected.txt:
  • editing/deleting/delete-listitem-002-expected.txt:
  • editing/deleting/list-item-1-expected.txt:
  • editing/deleting/merge-into-empty-block-2-expected.txt:
  • editing/execCommand/4641880-1-expected.txt:
  • editing/execCommand/create-list-from-range-selection-expected.txt:
  • editing/execCommand/create-list-with-hr-expected.txt:
  • editing/execCommand/indent-list-item-expected.txt:
  • editing/execCommand/indent-selection-expected.txt:
  • editing/execCommand/insert-list-and-stitch-expected.txt:
  • editing/execCommand/remove-list-from-range-selection-expected.txt:
  • editing/execCommand/remove-list-item-1-expected.txt:
  • editing/execCommand/remove-list-items-expected.txt:
  • editing/execCommand/switch-list-type-expected.txt:
  • editing/inserting/insert-div-022-expected.txt:
  • editing/inserting/insert-div-023-expected.txt:
  • editing/inserting/insert-div-024-expected.txt:
  • editing/pasteboard/4861080-expected.txt:
  • editing/pasteboard/drop-link-expected.txt:
  • editing/pasteboard/innerText-inline-table-expected.txt:
  • editing/pasteboard/input-field-1-expected.txt:
  • editing/pasteboard/merge-end-list-expected.txt:
  • editing/pasteboard/merge-start-list-expected.txt:
  • editing/pasteboard/paste-4039777-fix-expected.txt:
  • editing/pasteboard/paste-list-001-expected.txt:
  • editing/pasteboard/select-element-1-expected.txt:
  • editing/selection/drag-to-contenteditable-iframe-expected.txt:
  • editing/selection/extend-by-word-002-expected.txt:
  • editing/selection/move-by-line-002-expected.txt:
  • editing/selection/select-all-iframe-expected.txt:
  • editing/selection/selectNode-expected.txt:
  • editing/selection/selectNodeContents-expected.txt:
  • editing/unsupported-content/list-delete-001-expected.txt:
  • editing/unsupported-content/list-type-after-expected.txt:
  • editing/unsupported-content/list-type-before-expected.txt:
  • fast/backgrounds/repeat/noRepeatCorrectClip-expected.txt:
  • fast/block/float/014-expected.txt:
  • fast/css-generated-content/009-expected.txt:
  • fast/css/001-expected.txt:
  • fast/css/continuationCrash-expected.txt:
  • fast/css/css2-system-fonts-expected.txt:
  • fast/css/css3-modsel-22-expected.txt:
  • fast/css/list-outline-expected.txt:
  • fast/doctypes/001-expected.txt:
  • fast/doctypes/002-expected.txt:
  • fast/doctypes/003-expected.txt:
  • fast/doctypes/004-expected.txt:
  • fast/dom/Window/window-onFocus-expected.txt:
  • fast/forms/form-hides-table-expected.txt:
  • fast/forms/plaintext-mode-2-expected.txt:
  • fast/lists/001-expected.txt:
  • fast/lists/002-expected.txt:
  • fast/lists/003-expected.txt:
  • fast/lists/004-expected.txt:
  • fast/lists/005-expected.txt:
  • fast/lists/006-expected.txt:
  • fast/lists/007-expected.txt:
  • fast/lists/008-expected.txt:
  • fast/lists/alpha-list-wrap-expected.txt:
  • fast/lists/decimal-leading-zero-expected.txt:
  • fast/lists/drag-into-marker-expected.txt:
  • fast/lists/dynamic-marker-crash-expected.txt:
  • fast/lists/inlineBoxWrapperNullCheck-expected.txt:
  • fast/lists/li-br-expected.txt:
  • fast/lists/li-style-alpha-huge-value-crash-expected.txt:
  • fast/lists/li-values-expected.txt:
  • fast/lists/markers-in-selection-expected.txt:
  • fast/lists/numeric-markers-outside-list-expected.txt:
  • fast/lists/ol-display-types-expected.txt:
  • fast/lists/olstart-expected.txt:
  • fast/lists/ordered-list-with-no-ol-tag-expected.txt:
  • fast/lists/scrolled-marker-paint-expected.txt:
  • fast/overflow/overflow-rtl-expected.txt:
  • fast/selectors/001-expected.txt:
  • fast/selectors/013-expected.txt:
  • fast/selectors/015-expected.txt:
  • fast/selectors/166-expected.txt:
  • fast/table/018-expected.txt:
  • fast/table/form-with-table-style-expected.txt:
  • fast/text/whitespace/tab-character-basics-expected.txt:
  • fast/tokenizer/004-expected.txt:
  • tables/mozilla/bugs/bug23235-expected.txt:
  • tables/mozilla/bugs/bug30692-expected.txt:
  • tables/mozilla/bugs/bug3191-expected.txt:
  • tables/mozilla/bugs/bug32205-2-expected.txt:
  • tables/mozilla/marvin/backgr_index-expected.txt:
  • tables/mozilla/marvin/backgr_layers-opacity-expected.txt:
  • tables/mozilla/marvin/x_table-expected.txt:
  • tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
  • tables/mozilla/other/wa_table_tr_align-expected.txt:
  • tables/mozilla_expected_failures/bugs/bug1010-expected.txt:
  • tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
  • tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.txt:
  • traversal/stay-within-root-expected.txt:

WebCore:

Reviewed by Beth.

  • rendering/RenderTreeAsText.cpp: (WebCore::getTagName): Changed to use String instead of DeprecatedString. (WebCore::quoteAndEscapeNonPrintables): Ditto. Also moved up so it can be used in the operator below. (WebCore::operator<<): Added clause for RenderListMarker that dumps the value of the list marker's text. (WebCore::nodePosition): Changed to use String instead of DeprecatedString.
  • rendering/SVGRenderTreeAsText.cpp: (WebCore::TextStreamSeparator::TextStreamSeparator): Changed to use String instead of DeprecatedString. (WebCore::getTagName): Ditto. (WebCore::write): Ditto.
9:50 AM Changeset in webkit [18669] by weinig
  • 8 edits
    1 copy in trunk/WebCore

Reviewed by ap and the rubber stamp of Maciej.

Patch for http://bugs.webkit.org/show_bug.cgi?id=12164
Cleanup Tokenizers

  • Moves Tokenizer class into its own file.
  • Move XMLTokenizer declaration from XMLTokenizer.cpp to XMLTokenizer.h
  • Fixup #includes.
  • WebCore.xcodeproj/project.pbxproj:
  • dom/Document.cpp: (WebCore::Document::createTokenizer):
  • dom/Tokenizer.h: Added. (WebCore::Tokenizer::Tokenizer): (WebCore::Tokenizer::~Tokenizer): (WebCore::Tokenizer::stopParsing): (WebCore::Tokenizer::processingData): (WebCore::Tokenizer::executingScript): (WebCore::Tokenizer::wantsRawData): (WebCore::Tokenizer::writeRawData): (WebCore::Tokenizer::inViewSourceMode): (WebCore::Tokenizer::setInViewSourceMode): (WebCore::Tokenizer::wellFormed): (WebCore::Tokenizer::lineNumber): (WebCore::Tokenizer::columnNumber):
  • dom/XMLTokenizer.cpp:
  • dom/XMLTokenizer.h: (WebCore::XMLTokenizer::): (WebCore::XMLTokenizer::setIsXHTMLDocument): (WebCore::XMLTokenizer::isXHTMLDocument): (WebCore::XMLTokenizer::wellFormed):
  • html/HTMLElement.cpp:
  • html/HTMLTokenizer.h: (WebCore::Token::reset): (WebCore::HTMLTokenizer::checkBuffer): (WebCore::HTMLTokenizer::checkScriptBuffer): (WebCore::HTMLTokenizer::State::State): (WebCore::HTMLTokenizer::State::setBit):
  • xml/XSLTProcessor.cpp:
9:49 AM S60Reindeer edited by mboudreau@ftrd.us
fixed grammatical typo (diff)
9:31 AM Changeset in webkit [18668] by spadma
  • 9 edits in S60/branches/3.1m

2007-01-08 spadma <Sachin.Padma@nokia.com>

Reviewed by Yongjun.
DESC: OOM notification when browser running out of memory.
TSW Id : AHUN-6X6PW3
http://bugs.webkit.org/show_bug.cgi?id=

  • BrowserView/inc/WebKitControl.h:
  • BrowserView/src/WebKitControl.cpp: (CWebKitOOMNotifier::NewL): (CWebKitOOMNotifier::~CWebKitOOMNotifier): (CWebKitOOMNotifier::Notify): (CStaticObjectContainer::Instance): (CStaticObjectContainer::CStaticObjectContainer): (CStaticObjectContainer::~CStaticObjectContainer):
  • data/Webkit.rss:
  • data/Webkit_sdk.loc:
  • data/Webkit_sdk.rss:
8:45 AM Changeset in webkit [18667] by spadma
  • 9 edits in S60/trunk

2007-01-08 spadma <Sachin.Padma@nokia.com>

Reviewed by Yongjun.
DESC: OOM notification when browser running out of memory.
TSW Id : AHUN-6X6PW3
http://bugs.webkit.org/show_bug.cgi?id=

  • BrowserView/inc/WebKitControl.h:
  • BrowserView/src/WebKitControl.cpp: (CWebKitOOMNotifier::NewL): (CWebKitOOMNotifier::~CWebKitOOMNotifier): (CWebKitOOMNotifier::Notify): (CStaticObjectContainer::Instance): (CStaticObjectContainer::CStaticObjectContainer): (CStaticObjectContainer::~CStaticObjectContainer):
  • data/Webkit.rss:
  • data/Webkit_sdk.loc:
  • data/Webkit_sdk.rss:
7:42 AM Changeset in webkit [18666] by weinig
  • 6 edits in trunk

LayoutTests:

Reviewed by Tim H.

Update results to include -webkit-box-shadow.

  • fast/css/computed-style-expected.txt:

WebCore:

Reviewed by Tim H.

Adds -webkit-box-shadow to list of computable styles.

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::):

WebKit:

Reviewed by Tim H.

Adds default value for -webkit-box-shadow and fixes default
value of -webkit-column-count to be "auto". Also sorts the
list of defaults.

5:43 AM Changeset in webkit [18665] by rwlbuis
  • 2 edits in trunk/WebCore

Reviewed by bdash.

Initialize the member vars, fixes testcases
pointer-events-path.svg and pointer-events-text.svg
on the PPC build.

4:36 AM Changeset in webkit [18664] by bdash
  • 4 edits in trunk

2007-01-08 Andrew Wellington <proton@wiretapped.net>

Reviewed by Mark.

2007-01-08 Andrew Wellington <proton@wiretapped.net>

Reviewed by Mark.

  • fast/css/computed-style-expected.txt: Update results to include -webkit-column styles.
3:57 AM Changeset in webkit [18663] by hyatt
  • 4 edits in trunk/WebCore

This patch computes the correct column width and column count. It ensures that content lays out constrained
to the column width in one long strip. It does not yet balance the long strip into multiple columns.

Reviewed by Mark

  • rendering/RenderBlock.cpp: (WebCore:::RenderFlow): (WebCore::RenderBlock::layoutBlock): (WebCore::RenderBlock::rightOffset): (WebCore::RenderBlock::availableWidth): (WebCore::RenderBlock::columnGap): (WebCore::RenderBlock::calcColumnWidth):
  • rendering/RenderBlock.h:
  • rendering/RenderStyle.h: (WebCore::RenderStyle::setColumnWidth):
2:30 AM Changeset in webkit [18662] by hyatt
  • 11 edits in trunk/WebCore

Fix column-count so that it supports auto just like column-width does.

Add a new function, availableWidth(), that will be used to return the width available to content placed inside
a block. For now it still returns contentWidth(), so no behavioral change has occurred yet.

Subclass calcWidth() in RenderBlock, but don't change anything yet. This is where RenderBlock will calc the
correct column width.

Reviewed by mark

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
  • css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::leftRelOffset): (WebCore::RenderBlock::rightRelOffset): (WebCore::RenderBlock::getClearDelta): (WebCore::RenderBlock::availableWidth): (WebCore::RenderBlock::calcWidth):
  • rendering/RenderBlock.h:
  • rendering/RenderBox.cpp: (WebCore::RenderBox::containingBlockWidth):
  • rendering/RenderObject.cpp: (WebCore::RenderObject::containingBlockWidth): (WebCore::RenderObject::paddingTop): (WebCore::RenderObject::paddingBottom): (WebCore::RenderObject::paddingLeft): (WebCore::RenderObject::paddingRight):
  • rendering/RenderObject.h: (WebCore::RenderObject::availableWidth):
  • rendering/RenderStyle.cpp: (WebCore::StyleMultiColData::StyleMultiColData): (WebCore::StyleMultiColData::operator==):
  • rendering/RenderStyle.h: (WebCore::RenderStyle::hasAutoColumnCount): (WebCore::RenderStyle::setColumnCount): (WebCore::RenderStyle::setHasAutoColumnCount):
  • rendering/RenderTable.cpp: (WebCore::RenderTable::calcWidth):
12:45 AM Changeset in webkit [18661] by hyatt
  • 3 edits
    4 adds in trunk

LayoutTests:

Add layout test for inheritance of auto z-index.

Reviewed by eric

  • fast/layers/zindex-inherit-expected.checksum: Added.
  • fast/layers/zindex-inherit-expected.png: Added.
  • fast/layers/zindex-inherit-expected.txt: Added.
  • fast/layers/zindex-inherit.html: Added.

WebCore:

Fix z-index:inherit so that it works properly when inheriting from z-index:auto.

Reviewed by eric

fast/layers/zindex-inherit.html

  • css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
12:41 AM Changeset in webkit [18660] by hyatt
  • 8 edits in trunk/WebCore

Add support for all of the CSS3 multi-column properties in preparation for implementing the
feature.

Reviewed by eric

  • css/CSSComputedStyleDeclaration.cpp: (WebCore::): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
  • css/CSSMutableStyleDeclaration.cpp: (WebCore::):
  • css/CSSPropertyNames.in:
  • css/cssparser.cpp: (WebCore::CSSParser::parseValue):
  • css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty):
  • rendering/RenderStyle.cpp: (WebCore::StyleMultiColData::StyleMultiColData): (WebCore::StyleMultiColData::operator==): (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): (WebCore::StyleRareNonInheritedData::operator==): (WebCore::RenderStyle::RenderStyle): (WebCore::RenderStyle::diff):
  • rendering/RenderStyle.h: (WebCore::StyleMultiColData::operator!=): (WebCore::StyleMultiColData::ruleWidth): (WebCore::RenderStyle::columnWidth): (WebCore::RenderStyle::hasAutoColumnWidth): (WebCore::RenderStyle::columnCount): (WebCore::RenderStyle::columnGap): (WebCore::RenderStyle::hasAutoColumnGap): (WebCore::RenderStyle::columnRuleColor): (WebCore::RenderStyle::columnRuleStyle): (WebCore::RenderStyle::columnRuleWidth): (WebCore::RenderStyle::columnBreakBefore): (WebCore::RenderStyle::columnBreakInside): (WebCore::RenderStyle::columnBreakAfter): (WebCore::RenderStyle::setColumnWidth): (WebCore::RenderStyle::setHasAutoColumnWidth): (WebCore::RenderStyle::setColumnCount): (WebCore::RenderStyle::setColumnGap): (WebCore::RenderStyle::setHasAutoColumnGap): (WebCore::RenderStyle::setColumnRuleColor): (WebCore::RenderStyle::setColumnRuleStyle): (WebCore::RenderStyle::setColumnRuleWidth): (WebCore::RenderStyle::resetColumnRule): (WebCore::RenderStyle::setColumnBreakBefore): (WebCore::RenderStyle::setColumnBreakInside): (WebCore::RenderStyle::setColumnBreakAfter): (WebCore::RenderStyle::initialColumnCount): (WebCore::RenderStyle::initialColumnWidth):
Note: See TracTimeline for information about the timeline view.