Timeline
Mar 13, 2006:
- 11:40 PM Changeset in webkit [13281] by
-
- 2 edits in trunk/WebCore
2006-03-13 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix mouse events to be window-relative.
- platform/win/MouseEventWin.cpp: (WebCore::positionForEvent): (WebCore::globalPositionForEvent): (WebCore::MouseEvent::MouseEvent):
- 11:05 PM Changeset in webkit [13280] by
-
- 3 edits in trunk/WebKitTools
2006-03-10 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Add scrolling support into Spinneret.
- Spinneret/Spinneret/WebFrame.cpp: (WebKit::WebFrame::paint):
- Spinneret/Spinneret/WebView.cpp: (WebKit::WebView::createWebView): (WebKit::calculateScrollDelta): (WebKit::scrollMessageForKey): (WebKit::WebViewWndProc):
- 10:25 PM Changeset in webkit [13279] by
-
- 3 edits in trunk/WebCore
2006-03-13 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Close DeviceContext leaks in Font code.
Also add moveCursor stub to make maps.google.com not crash.
- platform/win/FontWin.cpp: (WebCore::getFontData): (WebCore::Font::floatWidth): (WebCore::Font::drawText):
- platform/win/TemporaryLinkStubs.cpp: (Cursor::Cursor): (WebCore::moveCursor):
- 8:50 PM Changeset in webkit [13278] by
-
- 4 edits in trunk/WebKitTools
2006-03-13 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix checksum generation on Intel machines.
Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
give a small speed boost now that it uses a shared buffer.
- DumpRenderTree/DumpRenderTree.m: (main): (dump): (md5HashStringForBitmap):
- DumpRenderTree/ImageDiff.m: (computePercentageDifferent):
- 7:30 PM Changeset in webkit [13277] by
-
- 3 edits5 adds in trunk
2006-03-13 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren & TimH.
<rdar://problem/4473288> XSL file containing <xsl:include href="../Styles/EscapeString.xsl" /> fails to load file
XML_DTD_NODE objects in the tree were causing loadChildSheets to
fail to preload child stylesheets, this patch causes us to
correctly ignore all nodes besides the first XML_ELEMENT_NODE at
the root level when searching the tree for xsl:include statements
to pre-load.
Test: fast/xsl/xslt-second-level-import.xml
- khtml/xsl/xsl_stylesheetimpl.cpp: (WebCore::XSLStyleSheetImpl::loadChildSheets):
- 6:26 PM Changeset in webkit [13276] by
-
- 8 edits4 adds in trunk
2006-03-10 Rob Buis <buis@kde.org>
Reviewed by darin. Landed by eseidel.
Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7666:
dasharray on rounded rectangles is broken
Make sure the rounded rectangle is drawn clockwise, as outlined
in the specification.
Test: svg/custom/dashArrayOrigin.svg
- kcanvas/KCanvasCreator.cpp: (WebCore::KCanvasCreator::createRoundedRectangle):
- 4:15 PM Changeset in webkit [13275] by
-
- 4 copies in tags/WebCore-417.24/WebCore
New tag (part 2).
- 4:14 PM Changeset in webkit [13274] by
-
- 1 add in tags/WebCore-417.24
New tag.
- 4:14 PM Changeset in webkit [13273] by
-
- 5 copies in tags/JavaScriptCore-417.11/JavaScriptCore
New tag (part 2).
- 4:14 PM Changeset in webkit [13272] by
-
- 1 add in tags/JavaScriptCore-417.11
New tag.
- 4:12 PM Changeset in webkit [13271] by
-
- 4 edits in branches/Safari-2-0-branch
Versioning
- 4:09 PM Changeset in webkit [13270] by
-
- 4 edits in branches/Safari-2-0-branch
Merged fix from TOT to Safari-2-0-branch
2006-02-16 Tim Omernick <timo@apple.com>
Reviewed by Geoff.
<rdar://problem/4428609> Flash Player 8.0.22 can crash Safari (and WebKit apps)
with javascript disabled (7015)
Added a test case, manual-tests/NPN_Invoke. This is a skeleton of a Netscape
plugin which uses NPN_Invoke() to call the window.alert() JavaScript function.
- bridge/mac/MacFrame.mm: (WebCore::MacFrame::windowScriptNPObject): Removed the check Darin added to return 0 when JavaScript is disabled. This method cannot return 0, because plugins are not guaranteed to check for that. Removed my old fix for Radar 4428609 (7015) in favor of a better solution. Instead of creating a "dummy" JSObject to represent the window script object when JavaScript is disabled, we use the new JavaScriptCore bindings API to create a "no script" NPObject. This solution is better because it does not cause entry into any JavaScript interpreter code.
- manual-tests/NPN_Invoke: Added.
- manual-tests/NPN_Invoke/English.lproj: Added.
- manual-tests/NPN_Invoke/English.lproj/Localized.r: Added.
- manual-tests/NPN_Invoke/Info.plist: Added.
- manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj: Added.
- manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj/project.pbxproj: Added.
- manual-tests/NPN_Invoke/main.c: Added.
- manual-tests/NPN_Invoke/test.html: Added.
- 2:16 PM Changeset in webkit [13269] by
-
- 4 edits in trunk/WebKit
Reviewed by timo.
- Fixed the load progress indicator to give more incremental feedback, and to stop spending so much time near 100%.
I did two things:
(1) Fixed some bugs and a misspelling in the previous heuristic's
implementation
(2) Added two new rules to the heuristic:
(a) Treat the first layout as the half-way point.
(b) Just like we jump the first 10% to indicate that a load has
started, jump the last 10% to indicate that a load has finished.
Rule 2a is good for two reasons. First, it seems unnatural for loading
to be "more than half done" when you can't even see anything. Second,
in the early stages of laading our estimate of how much we'll need to
load is often off by as much as 6000% (e.g., cnn.com). So anything that
makes the progress indicator more conservative in the early stages of
loading is helpful.
Rule 2b is good because it's confusing for loading to be "100% done"
but still ongoing.
FIXME: The indicator still isn't perfect. For example, the old behavior
shows up @ moviefone.com. Two areas for future work:
(1) Estimate number of linked resources. Our code estimates the size
of a single resource, but does nothing to estimate the number of
resources that resource might link to. This is the key to why we're
so wrong at the beginning.
(2) Improve "when to do first layout" heuristic. A JavaScript query
for a style property forces layout, creating a phantom first layout
with no content, essentially nullifying 2a for certain pages.
Filed <rdar://problem/4475834> to track estimating the number of
linked resources. Phantom layouts are already on Hyatt's radar.
- WebView/WebFrame.m: (-[WebFrame _setState:]): Update firstLayoutDone (-[WebFrame _numPendingOrLoadingRequests:]): Bug fix: In the recurisve case, query 'frame' instead of 'self', so that we actually recurse. (-[WebFrame _firstLayoutDone]): New method (-[WebFrame _didFirstLayout]): Update firstLayoutDone
- WebView/WebFramePrivate.h: Added firstLayoutDone ivar
- WebView/WebView.m: (-[WebView _incrementProgressForConnectionDelegate:data:]): (1) Implemented 2a and 2b (2) Bug fix: only update the 'last time I sent a notification' time if we actually send a notification. (3) Don't test for progress < 0 because ensuring progress < max also ensures max - progress > 0. (Do still test for progress > max because rounding errors make that a possibility -- although a very minor one.) (4) Query only the loading frame and its subframes for pending requests instead of defaulting to the main frame. This is a slight optimization in cases where the main frame did not begin the load, and it makes the code more consistent.
- 12:00 PM Changeset in webkit [13268] by
-
- 2 edits in trunk/WebKitTools
Reviewed by Tim Hatcher.
- Scripts/run-webkit-tests: Fix httpd handling to work on systems that have it named httpd-1.3 instead.
- 11:55 AM Changeset in webkit [13267] by
-
- 2 edits in trunk/WebKitTools
Fix proposed by Mitz Pettel, reviewed by Darin.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7718 run-webkit-tests fast/dom/HTMLObjectElement/ hangs
- Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs (sequences of slashes are equivalent to a single slash in POSIX paths, but not in URLs).
- 11:29 AM Changeset in webkit [13266] by
-
- 2 edits in trunk/WebKit
Reviewed by Tim Omernick.
- fixed <rdar://problem/4475857> API: Setting a history item limit programmatically doesn't work
- History/WebHistory.m: (-[WebHistoryPrivate _loadHistoryGuts:URL:error:]): use [self historyItemLimit], which prefers the explicitly-set value and falls back to the NSUserDefaults value, instead of using the NSUserDefaults value explicitly.
Mar 12, 2006:
- 2:17 PM Changeset in webkit [13265] by
-
- 3 edits4 adds in trunk
Fix by Mitz Pettel, reviewed by Maciej.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5923 REGRESSION: scrolling on Google maps continues after the mouse is released outside the window
Test: fast/events/drag-outside-window.html
- rendering/render_layer.cpp: (WebCore::RenderLayer::containsPoint): Always return true for the root object to ensure that mouse events occurring outside the window target the document.
- 2:09 PM Changeset in webkit [13264] by
-
- 5 edits in trunk/WebCore
- Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7735 REGRESSION: crash on importing bookmarks
No test - only reproducible when Safari imports the bookmarks.
- dom/EventNames.cpp: (WebCore::EventNames::init): Initialize AtomicString before using it.
- dom/QualifiedName.cpp: (WebCore::QualifiedName::init): Ditto.
- khtml/html/htmlnames.cpp: (WebCore::HTMLNames::init): Ditto.
- ksvg2/scripts/make_names.pl: Ditto.
- 12:30 PM Changeset in webkit [13263] by
-
- 3 edits2 adds in trunk
Reviewed by Maciej.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7708 REGRESSION: Flash callback to JavaScript function not working.
Test: plugins/invoke.html
- bindings/c/c_utility.cpp: (KJS::Bindings::convertUTF8ToUTF16): Return a correct string length.
- 12:29 AM Changeset in webkit [13262] by
-
- 3 edits16 adds in trunk
Patch by David Kilzer, reviewed by Darin.
- Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=7724 Minor refactoring to HTMLParser::handleError() to remove duplicate code
WebCore:
- khtml/html/htmlparser.cpp: (WebCore::HTMLParser::handleError): Refactored code.
LayoutTests:
These tests cover the changed code. No change in behavior.
- fast/invalid/missing-address-end-tag-expected.checksum: Added.
- fast/invalid/missing-address-end-tag-expected.png: Added.
- fast/invalid/missing-address-end-tag-expected.txt: Added.
- fast/invalid/missing-address-end-tag.html: Added.
- fast/invalid/missing-dl-end-tag-expected.checksum: Added.
- fast/invalid/missing-dl-end-tag-expected.png: Added.
- fast/invalid/missing-dl-end-tag-expected.txt: Added.
- fast/invalid/missing-dl-end-tag.html: Added.
- fast/invalid/missing-dt-end-tag-expected.checksum: Added.
- fast/invalid/missing-dt-end-tag-expected.png: Added.
- fast/invalid/missing-dt-end-tag-expected.txt: Added.
- fast/invalid/missing-dt-end-tag.html: Added.
- fast/invalid/missing-font-end-tag-expected.checksum: Added.
- fast/invalid/missing-font-end-tag-expected.png: Added.
- fast/invalid/missing-font-end-tag-expected.txt: Added.
- fast/invalid/missing-font-end-tag.html: Added.