Timeline
Feb 14, 2007:
- 9:51 PM Changeset in webkit [19637] by
-
- 2 edits1 add in trunk/WebCore
2007-02-14 Mitz Pettel <mitz@webkit.org>
Reviewed by Sam Weinig!
- fix http://bugs.webkit.org/show_bug.cgi?id=12773 REGRESSION (r19490): Crash on ipx-server.de
- manual-tests/background-image-change-in-page-cache.html: Added.
- rendering/RenderBox.cpp: (WebCore::RenderBox::imageChanged): Bail out if the object is not in a view, which can happen if the document is in the page cache and the same cached image used for its background is also being used in another document that is currently in view.
- 7:17 PM Changeset in webkit [19636] by
-
- 10 edits1 copy1 add in trunk
LayoutTests:
Reviewed by Darin.
Test for http://bugs.webkit.org/show_bug.cgi?id=12517
<rdar://problem/4971227> REGRESSION: Tab order incorrect when input
inside frame/iframe gets initial focus (12517)
- fast/events/frame-programmatic-focus-expected.txt: Added.
- fast/events/frame-programmatic-focus.html: Added.
- fast/forms/focus2-expected.txt: Updated results to now-correct behavior.
WebCore:
Reviewed by Darin.
Fix http://bugs.webkit.org/show_bug.cgi?id=12517
<rdar://problem/4971227> REGRESSION: Tab order incorrect when input
inside frame/iframe gets initial focus (12517)
Test: fast/events/frame-programmatic-focus.html
- dom/Element.cpp: (WebCore::Element::focus): Call FocusController::setFocusedNode to set the focus for the whole page.
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::focus): Ditto.
- html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::focus): Ditto.
- page/EventHandler.cpp: (WebCore::EventHandler::handleTextInputEvent): Send the textInput event to the same target that was sent the keypress event before it.
- page/FocusController.cpp: (WebCore::FocusController::advanceFocus): Added a FIXME. (WebCore::FocusController::setFocusedNode): Added. Sets the focused node for a whole page.
- page/FocusController.h: Added declaration.
- platform/cf/RetainPtr.h: Removed unused pointer_cast functions.
- 5:15 PM Changeset in webkit [19635] by
-
- 3 edits2 adds in trunk
LayoutTests:
Reviewed by adele
<rdar://problem/4976800>
Outdent combines 2 separate strings on 2 different lines
- editing/execCommand/4976800-expected.txt: Added.
- editing/execCommand/4976800.html: Added.
WebCore:
Reviewed by adele
<rdar://problem/4976800>
Outdent combines 2 separate strings on 2 different lines
- editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::outdentParagraph): Add line breaks if removing the indented node causes content before or after it to collapse into the same paragraph as its content.
- 5:11 PM Changeset in webkit [19634] by
-
- 2 edits8 adds in trunk
Reviewed by adele
<rdar://problem/4960120>
REGRESSION: First Enter key ignored on initial focus of textarea after page load (11967)
We'd insert a newline, but into an empty div. We need two newlines
in that case.
- editing/InsertLineBreakCommand.cpp: (WebCore::lineBreakExistsAtPosition): Returns true if there is a br or a '\n' in text that preserves newlines at the incoming position. (WebCore::InsertLineBreakCommand::doApply): Fixed to handle the empty block case, the anonymous block case.
- 4:35 PM Changeset in webkit [19633] by
-
- 3 edits2 adds in trunk
LayoutTests:
Reviewed by Hyatt.
- test for http://bugs.webkit.org/show_bug.cgi?id=12417 <rdar://problem/4990046> REGRESSION: pressing "Return" in a <select> box does not submit the form (12697)
- fast/forms/select-enter-key-expected.txt: Added.
- fast/forms/select-enter-key.html: Added.
WebCore:
Reviewed by Hyatt.
- test or http://bugs.webkit.org/show_bug.cgi?id=12417 <rdar://problem/4990046> REGRESSION: pressing "Return" in a <select> box does not submit the form (12697)
Test: fast/forms/select-enter-key.html
- html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): Add code to submit when someone hits the Enter key.
- 3:50 PM Changeset in webkit [19632] by
-
- 4 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/4960112>
http://bugs.webkit.org/show_bug.cgi?id=12417
REGRESSION: "Are you sure you want to send a form again?" sheet is displayed twice (validator.w3.org)
The problem was that doing a reload would cause the "Cache-Control" HTTP header to be set on the request _after_ the first
navigation policy delegate callback was called. This would break the request equality check that's used to prevent multiple policy
delegate callbacks from getting called for the same request. The solution is to set the header as early as possible.
This patch also fixes some bugs in the ResourceRequest equality operator.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::reload): Set the "Cache-Control" header field on the request here.
- platform/network/FormData.h: (WebCore::operator==): Short-circuit if the pointers are the same.
- platform/network/ResourceRequest.cpp: (WebCore::operator==): Check the equality of the objects, not the pointers.
- 3:42 PM Changeset in webkit [19631] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Darin.
Add new canCompareWithMemcmp vector trait and use it to determine whether
operator== can use memcmp.
- wtf/Vector.h: (WTF::): (WTF::VectorTypeOperations::compare): (WTF::operator==):
- wtf/VectorTraits.h: (WTF::):
- 3:31 PM Changeset in webkit [19630] by
-
- 3 edits1 delete in trunk/WebCore
Move setPlatformData out of FontFallbackListMac.mm and delete the file. The function was completely
cross-platform already.
Reviewed by Ada
- WebCore.xcodeproj/project.pbxproj:
- platform/FontFallbackList.cpp: (WebCore::FontFallbackList::setPlatformFont):
- 2:29 PM Changeset in webkit [19629] by
-
- 4 edits in trunk/WebCore
Make the Font constructor that takes a FontPlatformData cross-platform, since the implementation was already
completely cross-platform.
Reviewed by Ada
- platform/Font.cpp: (WebCore::Font::Font):
- platform/Font.h:
- platform/mac/FontMac.mm:
- 1:44 PM Changeset in webkit [19628] by
-
- 2 edits in trunk/WebCore
Reverting http://bugs.webkit.org/show_bug.cgi?id=11974, it causes repainting problems in some cases.
- rendering/RenderTextControl.h: (WebCore::RenderTextControl::avoidsFloats):
- 12:44 PM Changeset in webkit [19627] by
-
- 5 edits in trunk/LayoutTests
Reviewed by Darin Adler, tweaked and committed by Geoff Garen.
Reverting my fix for find-after-replace.html and committing this one because
its results don't rely on an editing bug and because stomping bugzilla patches
is just plain uncivilized.
- http://bugs.webkit.org/show_bug.cgi?id=12770 editing/execCommand/find-after-replace fails intermittently on buildbot
- editing/execCommand/find-after-replace.html: Use the frame's onload handler instead of relying on a timeout. Force a layout to get a correct render tree when dumping. (This requirement may be an editing bug.)
- 11:02 AM Changeset in webkit [19626] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by Maciej.
- test for http://bugs.webkit.org/show_bug.cgi?id=11974 REGRESSION: Caret drawn over input when smaller than font size on initial focus <rdar://problem/4960258>
- fast/forms/textfield-overflow-expected.checksum: Added.
- fast/forms/textfield-overflow-expected.png: Added.
- fast/forms/textfield-overflow-expected.txt: Added.
- fast/forms/textfield-overflow.html: Added.
WebCore:
Reviewed by Maciej.
- fix http://bugs.webkit.org/show_bug.cgi?id=11974 REGRESSION: Caret drawn over input when smaller than font size on initial focus <rdar://problem/4960258>
Set controlClip for non-search text controls.
- rendering/RenderTextControl.h: (WebCore::RenderTextControl::hasControlClip):
- 10:01 AM Changeset in webkit [19625] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=12643
NPN_Status is using latin-1 encoding for the message instead of UTF-8
- Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView status:]): Check for possible conversion failure.
- 9:17 AM Changeset in webkit [19624] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Beth Dakin.
Ignore another leak, seen recently on the buildbot.
- Scripts/run-webkit-tests:
- 9:15 AM Changeset in webkit [19623] by
-
- 2 edits in S60/trunk/WebKit
DESC: add widget registry client dll to rom image via webkit.iby
http://bugs.webkit.org/show_bug.cgi?id=12765
- 9:13 AM Changeset in webkit [19622] by
-
- 5 edits in trunk/LayoutTests
Reviewed by Beth Dakin.
Blind attempt to make this test more reliable. (It fails intermittently
on the buildbot.)
- editing/execCommand/find-after-replace-expected.checksum:
- editing/execCommand/find-after-replace-expected.png:
- editing/execCommand/find-after-replace-expected.txt:
- editing/execCommand/find-after-replace.html: Use a load event handler instead of a 100ms timer. There's no guarantee that everything will be done loading in under 100ms (and there's no reason to wait that long all the time, either!).
- 6:10 AM Changeset in webkit [19621] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by Hyatt.
- test for http://bugs.webkit.org/show_bug.cgi?id=12726 REGRESSION (r12073): Text wraps in the middle of a word instead of wrapping at the space before the word
- fast/text/break-word-expected.checksum: Added.
- fast/text/break-word-expected.png: Added.
- fast/text/break-word-expected.txt: Added.
- fast/text/break-word.html: Added.
WebCore:
Reviewed by Hyatt.
- fix http://bugs.webkit.org/show_bug.cgi?id=12726 REGRESSION (r12073): Text wraps in the middle of a word instead of wrapping at the space before the word
Test: fast/text/break-word.html
The wrapW variable used to keep track of the width of the characters scanned
so far by adding up the widths of individual characters. Because of the
rounding hack, the total ended up being bigger than the width of the same characters
when measured together as a single run.
The fix is to use wrapW only as an upper bound, and once it overflows the line's width,
fall back on measuring everything from the beginning of the line as one run.
- rendering/bidi.cpp: (WebCore::RenderBlock::findNextLineBreak): Implemented the above fix, including not measuring additional single characters once wrapW overflows the line. Also moved the assignment to breakNBSP out of the loop since it is constant for the entire text object, made breakWords and midWordBreak update only when they might change, and cleaned up a few things.
- 2:52 AM Changeset in webkit [19620] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by Hyatt.
- layout test for http://bugs.webkit.org/show_bug.cgi?id=11923 REGRESSION: Placeholder text in password field shows as bullets <rdar://problem/4960257>
- fast/forms/password-placeholder-expected.checksum: Added.
- fast/forms/password-placeholder-expected.png: Added.
- fast/forms/password-placeholder-expected.txt: Added.
- fast/forms/password-placeholder.html: Added.
WebCore:
Reviewed by Hyatt.
- fix http://bugs.webkit.org/show_bug.cgi?id=11923 REGRESSION: Placeholder text in password field shows as bullets <rdar://problem/4960257>
Disable textSecurity when placeholder is visible.
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::updatePlaceholder):
Feb 13, 2007:
- 10:31 PM Changeset in webkit [22940] by
-
- 2 edits in branches/WindowsMerge/WebKitWin
2007-02-13 Steve Falkenburg <sfalken@apple.com>
Reviewed by Adam.
Send tab keypresses to IWebFormDelegate::doCommandBySelector.
- WebEditorClient.cpp: (WebEditorClient::handleKeyPress): Call doTextFieldCommandFromEvent if we get a tab keypress
- 9:23 PM Changeset in webkit [19619] by
-
- 3 edits2 adds in trunk
Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=12763
REGRESSION: button title is displayed incorrectly at quotes.burntelectrons.org
Test: fast/parser/entities-in-attributes.xhtml
- dom/XMLTokenizer.cpp: (WebCore::getEntityHandler): Set a correct type for the found entity (I'm not really sure if XML_INTERNAL_GENERAL_ENTITY is _the_ correct one, but it fixes the problem).
- 8:10 PM Changeset in webkit [22939] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Adam
Switch permanently from CFStreamError to CFErrorRef in ResourceHandleCF
- platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::didFail): (WebCore::ResourceHandle::start):
- 7:11 PM Changeset in webkit [19618] by
-
- 2 edits in trunk/LayoutTests
Reviewed by Mark.
- fast/dom/Window/window-properties-expected.txt: Update results.
- 6:05 PM Changeset in webkit [19617] by
-
- 10 edits in trunk/WebCore
Reviewed by Hyatt.
- removed some bogus names (Hyatt smacked me since this doesn't fix a P1)
- dom/EventNames.h: Removed half-implemented khtmlDragdrop and khtmlMove (you could add listeners, but nobody ever sent the events). Renamed the other two khtml-prefixed internal event names to use the webkit prefix.
- bindings/js/kjs_dom.cpp: (KJS::DOMEventTargetNode::getValueProperty): Removed ondragdrop and onmove. (KJS::DOMEventTargetNode::putValueProperty): Ditto.
- bindings/js/kjs_dom.h:
- bindings/js/kjs_window.cpp: (KJS::Window::getValueProperty): Ditto. (KJS::Window::put): Ditto.
- bindings/js/kjs_window.h:
- dom/BeforeTextInsertedEvent.cpp: (WebCore::BeforeTextInsertedEvent::BeforeTextInsertedEvent): Renamed to webkit.
- editing/Editor.cpp: (WebCore::dispatchEditableContentChangedEvents): Ditto.
- editing/ReplaceSelectionCommand.cpp: (WebCore::ReplacementFragment::ReplacementFragment): Ditto.
- html/HTMLTextFieldInnerElement.cpp: (WebCore::HTMLTextFieldInnerTextElement::defaultEventHandler): Ditto.
- 5:39 PM Changeset in webkit [19616] by
-
- 2 edits in trunk/WebCore
Rubber stamped by Maciej.
- dom/EventNames.h: Resort names. Removed unused names.
- 5:24 PM Changeset in webkit [22938] by
-
- 1 edit in branches/WindowsMerge/WebKitWin/WebKit.vcproj/VERSION
Bump version for submit
- 5:23 PM Changeset in webkit [19615] by
-
- 1 copy in tags/Safari-521.34.4b
New tag.
- 2:57 PM Changeset in webkit [19614] by
-
- 2 edits in trunk/WebKit
2007-02-13 Oliver Hunt <oliver@apple.com>
Reviewed by John.
Modify entry point ASSERTs for dragging functions to allow for the case
where a load has occurred mid-drag. The load may detach the HTMLView
from the WebView so it is no longer possible to check _isTopHTMLView.
The assertion changes match that of revision 14897 which fixed the
more common case ([WebHTMLView draggedImage:endedAt:operation:])
It's also necessary to check for a null Page now prior to accessing
the DragController, which is necessary in all of these methods.
See rdar://problem/4994870
- WebView/WebHTMLView.mm: (-[WebHTMLView draggingSourceOperationMaskForLocal:]): (-[WebHTMLView draggedImage:movedTo:]): (-[WebHTMLView draggedImage:endedAt:operation:]): (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
- 2:44 PM Changeset in webkit [22937] by
-
- 2 edits in branches/WindowsMerge/WebCore
Build fix.
- WebCore.vcproj/WebCore.vcproj: Remove SVGDOMImplementation.(cpp|h)
- 2:19 PM Changeset in webkit [19613] by
-
- 2 edits in trunk/JavaScriptCore
Tweaked Vector a bit
- 1:47 PM Changeset in webkit [19612] by
-
- 3 edits3 adds in trunk
LayoutTests:
Reviewed by Kevin Decker.
<rdar://problem/4990049>
http://bugs.webkit.org/show_bug.cgi?id=12718
REGRESSION: Segmentation fault when loading abc.go.com (12718)
- http/tests/misc/redirect-to-about-blank-expected.txt: Added.
- http/tests/misc/redirect-to-about-blank.html: Added.
- http/tests/misc/resources/redirect-to-about-blank.php: Added.
WebCore:
Reviewed by Kevin Decker.
<rdar://problem/4990049>
http://bugs.webkit.org/show_bug.cgi?id=12718
REGRESSION: Segmentation fault when loading abc.go.com (12718)
The problem is that redirecting to about:blank causes the delegate to be released even though the load wasn't finished.
This is usally not a problem since NSURLConnection retains its delegate. However, the proxy delegate does not retain _it's_
delegate. The solution is to make releaseDelegate clear out the proxy delegate's delegate.
- platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::releaseDelegate): If there's a proxy, nil out its delegate too.
- 1:28 PM Changeset in webkit [19611] by
-
- 5 edits in S60/branches/3.1m/WebCore
bujtas, reviewed by yongjun
DESC: merging trunk r16319 to s60/3.1m PKAI-6Y2PBN
Fix fieldsets so that they properly expand to enclose overhanging floats
when the fieldset has auto height. This is a nifty undocumented behavior
of the fieldset element. http://bugs.webkit.org/show_bug.cgi?id=3898
- 1:11 PM Changeset in webkit [19610] by
-
- 1 edit in trunk/LayoutTests/ChangeLog
Correcting ChangeLog entry (thx Mitz!).
- 1:06 PM Changeset in webkit [19609] by
-
- 1 edit4 deletes in trunk/LayoutTests
Actually removed pixel results that were supposed to be removed three
weeks ago, in r12290.
- fast/parser/entity-surrogate-pairs-expected.checksum: Removed.
- fast/parser/entity-surrogate-pairs-expected.png: Removed.
- fast/parser/head-comment-expected.checksum: Removed.
- fast/parser/head-comment-expected.png: Removed.
- 11:31 AM Changeset in webkit [19608] by
-
- 2 edits in trunk/WebKit
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=12643
NPN_Status is using latin-1 encoding for the message instead of UTF-8
- Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView status:]): Use kCFStringEncodingUTF8.
- 11:23 AM Changeset in webkit [19607] by
-
- 1 edit5 adds in trunk/LayoutTests
Reviewed by The Spirit of Layout Test Fixing!
Re-added a directory and some files Darin removed that one of my layout tests
relied on.
- http/tests/security/resources/green250x50.png: Added.
- http/tests/security/resources/red200x100.png: Added.
- http/tests/security/resources/showRefererImage.php: Added.
- 10:32 AM Changeset in webkit [19606] by
-
- 4 edits in trunk
Reviewed by Darin.
- fix for http://bugs.webkit.org/show_bug.cgi?id=12750 Vector operator== was not defined correctly. It returned void, did not accept const Vectors, and used an int instead of size_t.
- wtf/Vector.h: fixed comparison operators (WTF::operator==): (WTF::operator!=):
WebCore:
Reviewed by Darin.
- fix for http://bugs.webkit.org/show_bug.cgi?id=12750 Vector operator== was not defined correctly. It returned void, did not accept const Vectors, and used an int instead of size_t.
- rendering/RenderStyle.h: Added a != operator for StyleDashboardRegion. The only reason this compiled before was that the comparing two vectors with a != was simply comparing the pointers.
- 10:16 AM Changeset in webkit [19605] by
-
- 519 edits1 delete in trunk/LayoutTests
- update test results for Hyatt's focus node enhancement (fix for 12149) 518 of tests had extra "begin editing" delegate callbacks.
- editing: Updated test results of many tests in this directory.
- removed tests for rolled-out fix for rdar://problem/4922454
- http/tests/security/local-JavaScript-from-remote-expected.txt: Removed.
- http/tests/security/local-JavaScript-from-remote.html: Removed.
- http/tests/security/local-iFrame-from-remote-expected.txt: Removed.
- http/tests/security/local-iFrame-from-remote.html: Removed.
- http/tests/security/local-image-from-remote-expected.txt: Removed.
- http/tests/security/local-image-from-remote.html: Removed.
- http/tests/security/resources/compass.jpg: Removed.
- http/tests/security/resources/green250x50.png: Removed.
- http/tests/security/resources/localPage.html: Removed.
- http/tests/security/resources/localScript.js: Removed.
- http/tests/security/resources/red200x100.png: Removed.
- http/tests/security/resources/showRefererImage.php: Removed.
- 10:11 AM Changeset in webkit [19604] by
-
- 1 edit in trunk/WebCore/ChangeLog
Fix wording of a change log comment.
- 9:58 AM Changeset in webkit [19603] by
-
- 2 edits in trunk/WebKitTools
- Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one giant line.
- 9:52 AM Changeset in webkit [19602] by
-
- 2 edits in trunk/WebCore
- roll out fix for <rdar://problem/4874059> REGRESSION: Painter IX:register -
- Crash in WebCore
- ResourceLoader::willSendRequest()
This fix was causing a crash in at least one layout test.
- loader/FrameLoader.cpp: (WebCore::FrameLoader::stopAllLoaders): (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
- 5:09 AM Changeset in webkit [19601] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by Hyatt.
- test for http://bugs.webkit.org/show_bug.cgi?id=12746 REGRESSION (r13853): List item's first line overflows containing div
- fast/lists/item-not-in-list-line-wrapping-expected.checksum: Added.
- fast/lists/item-not-in-list-line-wrapping-expected.png: Added.
- fast/lists/item-not-in-list-line-wrapping-expected.txt: Added.
- fast/lists/item-not-in-list-line-wrapping.html: Added.
WebCore:
Reviewed by Hyatt.
- fix http://bugs.webkit.org/show_bug.cgi?id=12746 REGRESSION (r13853): List item's first line overflows containing div
Test: fast/lists/item-not-in-list-line-wrapping.html
- rendering/bidi.cpp: (WebCore::RenderBlock::findNextLineBreak): Use the list marker's isInside() instead of looking at its style()->listStylePosition(), since if the list item is not in a list, the marker is inside regardless of the style.
- 3:02 AM Changeset in webkit [19600] by
-
- 13 edits in trunk
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=12578
WebKit incorrectly strokes zero-width/height rectangles
Create an empty path when encountering zero-width/height rectangles, similar to circles with zero radius.
- 2:05 AM Changeset in webkit [19599] by
-
- 3 edits2 deletes in trunk/WebCore
Reviewed by Maciej.
Remove SVGDOMImplementation from the project.
- 1:52 AM Changeset in webkit [19598] by
-
- 2 edits in trunk/LayoutTests
Reviewed by Maciej.
- fixed to still be a valid test (wouldn't crash without the relevant fix).
- fast/text/text-shadow-extreme-value.html:
- 12:59 AM Changeset in webkit [19597] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej and Adam
Fixes <rdar://problem/4985497> - Crash when opening a new window to "Same Page"
- loader/FrameLoader.cpp: (WebCore::FrameLoader::loadItem): Null check documentLoader() since if we're a brand new WebView, cloning the history of another view, we have no documentLoader()
- 12:55 AM Changeset in webkit [19596] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej.
-fix REGRESSION: <select disabled size="5"> listbox cannot be scrolled
http://bugs.webkit.org/show_bug.cgi?id=11852
<rdar://problem/4960129>
Pass mouse press events to scrollbars even if event is swallowed.
No layout test, DumpRenderTree eventSender can't hit scrollbars.
- page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEvent):