Timeline
Apr 7, 2007:
- 11:35 PM Changeset in webkit [23232] by
-
- 1 edit28 adds in branches/WindowsMerge/WebKitWin
Forked most of the WebInspector directory from
r20780 of branches/WebInspectorRefresh/WebKit/WebInspector.
- WebInspector/WebInspector.h: Added.
- WebInspector/WebInspector.m: Added. (+sharedWebInspector): (-init): (-initWithWebFrame:): (-dealloc): (-window): (-windowWillClose:): (-showWindow:): (-setWebFrame:): (-webFrame): (-setRootDOMNode:): (-rootDOMNode): (-setFocusedDOMNode:): (-focusedDOMNode): (-setSearchQuery:): (-searchQuery): (-showOptionsMenu): (-_toggleIgnoreWhitespace:): (-_toggleShowUserAgentStyles:): (-_highlightNode:): (-_nodeHighlightExpired:): (-_update): (-_updateRoot): (-_updateSystemColors): (-_applicationWillResignActive): (-_applicationDidBecomeActive): (-_webFrameDetached:): (+isSelectorExcludedFromWebScript:): (+webScriptNameForSelector:): (+isKeyExcludedFromWebScript:): (-inspectedWebViewProgressFinished:): (-webView:didFinishLoadForFrame:): (-webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:): (-webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:): (-webView:exceptionWasRaised:sourceId:line:forWebFrame:): (-[WebInspectorPrivate dealloc]): (-[DOMNode _isAncestorOfNode:]):
- WebInspector/webInspector/AppleScrollArea.js: Added.
- WebInspector/webInspector/AppleScrollbar.js: Added.
- WebInspector/webInspector/Images/button.png: Added.
- WebInspector/webInspector/Images/buttonDivider.png: Added.
- WebInspector/webInspector/Images/buttonPressed.png: Added.
- WebInspector/webInspector/Images/close.png: Added.
- WebInspector/webInspector/Images/closePressed.png: Added.
- WebInspector/webInspector/Images/downTriangle.png: Added.
- WebInspector/webInspector/Images/menu.png: Added.
- WebInspector/webInspector/Images/menuPressed.png: Added.
- WebInspector/webInspector/Images/popup.png: Added.
- WebInspector/webInspector/Images/popupPressed.png: Added.
- WebInspector/webInspector/Images/rightTriangle.png: Added.
- WebInspector/webInspector/Images/scrollThumbBottom.png: Added.
- WebInspector/webInspector/Images/scrollThumbMiddle.png: Added.
- WebInspector/webInspector/Images/scrollThumbTop.png: Added.
- WebInspector/webInspector/Images/scrollTrackBottom.png: Added.
- WebInspector/webInspector/Images/scrollTrackMiddle.png: Added.
- WebInspector/webInspector/Images/scrollTrackTop.png: Added.
- WebInspector/webInspector/Images/upTriangle.png: Added.
- WebInspector/webInspector/inspector.css: Added.
- WebInspector/webInspector/inspector.html: Added.
- WebInspector/webInspector/inspector.js: Added.
- 1:25 PM Changeset in webkit [20783] by
-
- 1 copy in branches/wx-port-alpha/trunk
Initial copy for wx experimental branch.
- 1:23 PM Changeset in webkit [20782] by
-
- 1 add in branches/wx-port-alpha
Creating wx experimental branch.
- 12:32 PM Changeset in webkit [20781] by
-
- 3 edits2 adds in trunk
LayoutTests:
Reviewed by Beth Dakin.
Layout tests for one more case of <rdar://problem/5112273> REGRESSION(TOT):
Reproducible crash loading an old version of amazon.com as a web archive
- fast/dom/null-document-xmlhttprequest-open-expected.txt: Added.
- fast/dom/null-document-xmlhttprequest-open.html: Added.
WebCore:
Reviewed by Beth Dakin.
Fixed one more case of <rdar://problem/5112273> REGRESSION(TOT):
Reproducible crash loading an old version of amazon.com as a web archive
- bindings/js/JSXMLHttpRequest.cpp: (KJS::JSXMLHttpRequestPrototypeFunction::callAsFunction):
Apr 6, 2007:
- 10:52 PM Changeset in webkit [23231] by
-
- 2 edits in branches/WindowsMerge/WebCore
2007-04-06 Oliver Hunt <oliver@apple.com>
Reviewed by Adam.
Fix for rdar://problem/5097227 Can't drag Flash-based
scrollbar on mtv.com
The problem was when creating a mouse move event for the
plugin we weren't passing on the mouse button state.
The opensource side of this patch adds logic that allows
us to distinguish between a MouseEvent with NoButton and
a MouseEvent with LeftButton, so we can then provide the
correct information to the plugin.
- plugins/win/PluginViewWin.cpp: (WebCore::PluginViewWin::handleMouseEvent):
- 10:44 PM Changeset in webkit [20780] by
-
- 4 edits in trunk/WebCore
2007-04-06 Oliver Hunt <oliver@apple.com>
Reviewed by Adam.
Fix MouseEvent so it's possible to distinguish between
a MouseMouseEvent with NoButton down, and a move with
LeftButton down. It would be nice if the DOM allowed
for NoButton to exist, but it doesn't so this is necessary.
- dom/EventTargetNode.cpp: (WebCore::EventTargetNode::dispatchMouseEvent):
- dom/MouseEvent.cpp: (WebCore::MouseEvent::MouseEvent): (WebCore::MouseEvent::initMouseEvent):
- dom/MouseEvent.h: (WebCore::MouseEvent::noButton):
- 9:24 PM Changeset in webkit [20779] by
-
- 2 edits in trunk/WebKitTools
2007-04-07 Mark Rowe <mrowe@apple.com>
Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
- BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
- 8:31 PM Changeset in webkit [20778] by
-
- 2 edits in trunk/WebCore
Not reviewed - gdk build fix.
- platform/gdk/MouseEventGdk.cpp:
- 8:08 PM Changeset in webkit [20777] by
-
- 2 edits in trunk/WebCore
Reviewed by darin.
Coverity fix. Coverity says:
"Event var_deref_op: Variable "info_ptr" tracked as NULL was dereferenced."
- platform/image-decoders/png/pngrutil.c: (png_handle_gAMA):
- 8:05 PM Changeset in webkit [20776] by
-
- 2 edits in trunk/WebCore
Index: WebCore/ChangeLog
===================================================================
--- WebCore/ChangeLog (revision 20709)
+++ WebCore/ChangeLog (working copy)
@@ -1,3 +1,13 @@
+2007-04-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
+
+ Reviewed by darin.
+
+ Coverity fix. Coverity says:
+ "Event var_deref_model: Variable "(this)->clientptr" tracked as NULL was passed to a function that dereferences it."
+
+ * platform/image-decoders/gif/GIFImageReader.cpp:
+ (GIFImageReader::read):
+
2007-04-04 Adele Peterson <adele@apple.com>
Reviewed by Oliver.
Index: WebCore/platform/image-decoders/gif/GIFImageReader.cpp
===================================================================
--- WebCore/platform/image-decoders/gif/GIFImageReader.cpp (revision 20709)
+++ WebCore/platform/image-decoders/gif/GIFImageReader.cpp (working copy)
@@ -760,7 +760,8 @@ bool GIFImageReader::read(const unsigned
if (query == GIFImageDecoder::GIFSizeQuery haltAtFrame == images_decoded) { The decoder needs to stop. Hand back the number of bytes we consumed from
buffer minus 9 (the amount we consumed to read the header).
- clientptr->decodingHalted(len + 9);
+ if (clientptr)
+ clientptr->decodingHalted(len + 9);
GETN(9, gif_image_header);
return true;
}
- 8:02 PM Changeset in webkit [20775] by
-
- 2 edits in trunk/JavaScriptCore
Index: JavaScriptCore/ChangeLog
===================================================================
--- JavaScriptCore/ChangeLog (revision 20709)
+++ JavaScriptCore/ChangeLog (working copy)
@@ -1,3 +1,14 @@
+2007-04-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
+
+ Reviewed by darin.
+
+ Coverity fix. Coverity says:
+ "Event var_deref_model: Variable "sourceRanges" tracked as NULL was passed to a
+ function that dereferences it"
+
+ * kjs/string_object.cpp:
+ (KJS::replace):
+
2007-04-03 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
Index: JavaScriptCore/kjs/string_object.cpp
===================================================================
--- JavaScriptCore/kjs/string_object.cpp (revision 20709)
+++ JavaScriptCore/kjs/string_object.cpp (working copy)
@@ -387,7 +387,9 @@ static JSValue *replace(ExecState *exec,
if (lastIndex < source.size())
pushSourceRange(sourceRanges, sourceRangeCount, sourceRangeCapacity, UString::Range(lastIndex, source.size() - lastIndex));
- UString result = source.spliceSubstringsWithSeparators(sourceRanges, sourceRangeCount, replacements, replacementCount);
+ UString result;
+ if (sourceRanges)
+ result = source.spliceSubstringsWithSeparators(sourceRanges, sourceRangeCount, replacements, replacementCount);
delete [] sourceRanges;
delete [] replacements;
- 6:53 PM Changeset in webkit [20774] by
-
- 1 edit in tags/Safari-5522.5.1/WebCore/Configurations/Version.xcconfig
Versioning.
- 6:51 PM Changeset in webkit [20773] by
-
- 2 edits in tags/Safari-5522.5.1/WebCore
Merge in r20764.
- 6:36 PM Changeset in webkit [20772] by
-
- 1 copy in tags/Safari-5522.5.1/WebCore
New tag (part 2).
- 6:35 PM Changeset in webkit [20771] by
-
- 1 add in tags/Safari-5522.5.1
New tag (part 1).
- 6:24 PM Changeset in webkit [20770] by
-
- 1 delete in tags/Safari-5522.6.1
Remove tag.
- 6:09 PM Changeset in webkit [20769] by
-
- 1 copy in tags/Safari-5522.6.1/WebCore
New tag (part 2).
- 6:07 PM Changeset in webkit [20768] by
-
- 1 add in tags/Safari-5522.6.1
New tag (part 1).
- 5:56 PM Changeset in webkit [20767] by
-
- 2 edits in trunk/WebCore
Fix more of the layout test failures caused by fixing the slider layout test failure (sigh). clear()
needs to null out the capturingMouseEventsNode in the case where a mousedown or move while captured
causes a navigation to another page.
- page/EventHandler.cpp: (WebCore::EventHandler::clear): (WebCore::EventHandler::handleMouseReleaseEvent):
- 5:15 PM Changeset in webkit [20766] by
-
- 2 edits in trunk/WebCore
Fix failing slider layout test. Don't clear the subframe capture unless we really were capturing on a
subframe.
Reviewed by adele, darin
- page/EventHandler.cpp: (WebCore::EventHandler::handleMouseReleaseEvent):
- 4:59 PM Changeset in webkit [20765] by
-
- 1 edit in trunk/WebKit/Plugins/WebBaseNetscapePluginView.mm
Build fix attempt.
- 4:56 PM Changeset in webkit [20764] by
-
- 2 edits in trunk/WebCore
Reviewed by Geoff and Darin.
Fix for <rdar://problem/4875433> WebView underlines are too thick
when scaled small
When we have a small scale factor, we should follow the line-
drawing code as if we were printing. Meaning, specifically, that we
should not round to device pixels and we should antialias.
- platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawLineForText):
- 4:12 PM Changeset in webkit [20763] by
-
- 3 edits10 adds in trunk
LayoutTests:
Reviewed by Beth Dakin.
Layout tests for <rdar://problem/5112273> REGRESSION(TOT): Reproducible
crash loading an old version of amazon.com as a web archive
- fast/dom/null-document-location-assign-crash-expected.txt: Added.
- fast/dom/null-document-location-assign-crash.html: Added.
- fast/dom/null-document-location-href-put-crash-expected.txt: Added.
- fast/dom/null-document-location-href-put-crash.html: Added.
- fast/dom/null-document-location-put-crash-expected.txt: Added.
- fast/dom/null-document-location-put-crash.html: Added.
- fast/dom/null-document-location-replace-crash-expected.txt: Added.
- fast/dom/null-document-location-replace-crash.html: Added.
- fast/dom/null-document-window-open-crash-expected.txt: Added.
- fast/dom/null-document-window-open-crash.html: Added.
WebCore:
Reviewed by Beth Dakin.
Fixed <rdar://problem/5112273> REGRESSION(TOT): Reproducible crash loading
an old version of amazon.com as a web archive
The problem was JavaScript executing inside a frame with a NULL document.
It's probably a bug that the document was NULL, but we don't want a minor
bug to be a crasher, and we don't want the DOM to depend on the implementation
details of the JS bindings, so I added NULL checks.
- bindings/js/kjs_window.cpp: Call FrameLoader::completeURL instead of Document::completeURL, since FrameLoader::completeURL is safe against a NULL document. (KJS::Window::put): (KJS::WindowFunc::callAsFunction): (KJS::Location::put): (KJS::LocationFunc::callAsFunction):
- 3:11 PM Changeset in webkit [20762] by
-
- 5 edits in trunk/LayoutTests
Reviewed by Adele.
These two editing tests were using the wrong case for
dumpEditingCallbacks, which meant that they were falling into DRT's
invokeUndefinedMethodFromWebScript instead of actually turning on the
callback dumping.
This patch fixes the case of the call and updates the results.
- editing/execCommand/4641880-1-expected.txt:
- editing/execCommand/4641880-1.html:
- editing/execCommand/4641880-2-expected.txt:
- editing/execCommand/4641880-2.html:
- 2:52 PM Changeset in webkit [23230] by
-
- 11 edits in branches/WindowsMerge
Fix for bug 13274
- 2:37 PM Changeset in webkit [20761] by
-
- 6 edits in trunk/WebCore
Fix for bug 13274. Rework mouse events so that subframe capturing works again. Make sure
everything just comes down through the top FrameView even when capturing is in effect. Update
scrollbar handling logic so that scrollbars receive events correctly while capturing is in
effect. Eliminate the notion of widget capture. Fix mouse moves so that they only fire
on the innermost hit frame.
Reviewed by olliej
- page/EventHandler.cpp: (WebCore::EventHandler::handleMouseDraggedEvent): (WebCore::subframeForTargetNode): (WebCore::EventHandler::handleMousePressEvent): (WebCore::EventHandler::handleMouseMoveEvent): (WebCore::EventHandler::handleMouseReleaseEvent):
- page/EventHandler.h:
- platform/PopupMenu.h: (WebCore::PopupMenu::scrollbarCapturingMouse): (WebCore::PopupMenu::setScrollbarCapturingMouse):
- platform/ScrollBar.h: (WebCore::Scrollbar::handleMouseReleaseEvent):
- platform/Widget.h: (WebCore::Widget::geometryChanged):
- 1:34 PM Changeset in webkit [23229] by
-
- 3 edits in branches/WindowsMerge/WebCore
2007-04-07 Mark Rowe <mrowe@apple.com>
Internal build fox after opensource r20753.
- platform/win/PlatformMouseEventWin.cpp:
- platform/win/TemporaryLinkStubs.cpp:
- 11:59 AM Changeset in webkit [20760] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by john
<rdar://problem/5115601>
REGRESSION: Crash deleting a selection that starts in an editable table cell
- editing/deleting/5115601-expected.checksum: Added.
- editing/deleting/5115601-expected.png: Added.
- editing/deleting/5115601-expected.txt: Added.
- editing/deleting/5115601.html: Added.
WebCore:
Reviewed by john
<rdar://problem/5115601>
REGRESSION: Crash deleting a selection that starts in an editable table cell
The selection starts at the start of an editable
root that's embedded in a non-editable ToDo (table).
Removing the selection removes all editable
VisiblePositions from the root. Then, the creation
of mergeDestination fails, and using it causes a crash.
- editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::mergeParagraphs): Nil-check mergeDestination to avoid crashing and also insert a break in that case at m_upstreamStart, so that we can create a valid mergeDestination and perform the merge.
- 11:36 AM Changeset in webkit [20759] by
-
- 2 edits in trunk/JavaScriptCore
Rubber stamped by Adele Peterson.
- kjs/ExecState.h: Removed obsolete forward/friend declaration of RuntimeMethodImp.
- 10:47 AM Changeset in webkit [20758] by
-
- 2 edits in trunk/LayoutTests
Reviewed by.
- Fixing a test failure.
- http/tests/misc/iframe-invalid-source-crash-expected.txt:
- 9:55 AM Changeset in webkit [20757] by
-
- 7 edits in trunk
Versioning and ChangeLog markers.
- 9:31 AM Changeset in webkit [20756] by
-
- 1 edit in branches/WebInspectorRefresh/WebKit/WebKit.xcodeproj/project.pbxproj
Remove WebInspectorOutlineView from the project.
- 9:29 AM Changeset in webkit [20755] by
-
- 3 edits in trunk/WebKit
Reviewed by Mark Rowe.
Adds a build phase script that ensures WebKit's version dosen't end in a 4.
If our version ends in 4, some sites might think we are Netscape 4 in their
user agent checks.
- Configurations/Version.xcconfig:
- WebKit.xcodeproj/project.pbxproj:
- 8:03 AM Changeset in webkit [20754] by
-
- 3 edits in tags/Safari-5522.6
Versioning.
- 7:58 AM Changeset in webkit [20753] by
-
- 7 edits in trunk/WebCore
2007-04-06 Mitz Pettel <mitz@webkit.org>
Reviewed by Oliver.
Eliminate PlatformMouseEvent::currentEvent.
No test possible (no change to functionality).
- page/EventHandler.cpp: (WebCore::EventHandler::handleDrag):
- platform/PlatformMouseEvent.h:
- platform/gdk/TemporaryLinkStubs.cpp:
- platform/mac/PlatformMouseEventMac.mm: (WebCore::PlatformMouseEvent::PlatformMouseEvent):
- platform/qt/PlatformMouseEventQt.cpp:
- platform/win/TemporaryLinkStubs.cpp:
- 7:56 AM Changeset in webkit [20752] by
-
- 1 edit in trunk/WebKit/ChangeLog
Fix typo in ChangeLog.
- 7:47 AM Changeset in webkit [20751] by
-
- 1 copy in tags/Safari-5522.6
New tag.
- 6:21 AM Changeset in webkit [20750] by
-
- 2 edits in S60/trunk/WebCore
2007-04-05 yongjzha <yongjun.zhang@nokia.com>
Reviewed by zbujtas@gmail.com
DESC: fix wrong meta tag detection.
http://bugs.webkit.org/show_bug.cgi?id=13290
WARNING: NO TEST CASES ADDED OR CHANGED
- khtml/misc/decoder.cpp: (Decoder::decode):
- 6:17 AM Changeset in webkit [20749] by
-
- 2 edits in S60/branches/3.1m/WebCore
2007-04-05 yongjzha <yongjun.zhang@nokia.com>
Reviewed by zbujtas@gmail.com
DESC: fix wrong meta tag detection.
http://bugs.webkit.org/show_bug.cgi?id=13290
WARNING: NO TEST CASES ADDED OR CHANGED
- khtml/misc/decoder.cpp: (Decoder::decode):
- 3:26 AM Changeset in webkit [20748] by
-
- 4 edits in branches/js-collector-tweaks/JavaScriptCore
Not reviewed, experimental change.
- shrink PropertyMap by 8 bytes and therefore shrink CELL_SIZE to 40 (for 32-bit; similar shrinkage for 64-bit)
Inspired by similar changes by Christopher E. Hyde <C.Hyde@parableuk.force9.co.uk>
done in the kjs-tweaks branch of KDE's kjs. However, this version is somewhat
cleaner style-wise and avoids some of the negative speed impact (at least on gcc/x86)
of his version.
This is nearly a wash performance-wise, maybe a slight slowdown, but worth doing
to eventually reach cell size 32.
- kjs/collector.cpp: (KJS::):
- kjs/property_map.cpp: (KJS::PropertyMap::~PropertyMap): (KJS::PropertyMap::clear): (KJS::PropertyMap::get): (KJS::PropertyMap::getLocation): (KJS::PropertyMap::put): (KJS::PropertyMap::insert): (KJS::PropertyMap::expand): (KJS::PropertyMap::rehash): (KJS::PropertyMap::remove): (KJS::PropertyMap::mark): (KJS::PropertyMap::containsGettersOrSetters): (KJS::PropertyMap::getEnumerablePropertyNames): (KJS::PropertyMap::getSparseArrayPropertyNames): (KJS::PropertyMap::save): (KJS::PropertyMap::checkConsistency):
- kjs/property_map.h: (KJS::PropertyMap::hasGetterSetterProperties): (KJS::PropertyMap::setHasGetterSetterProperties): (KJS::PropertyMap::): (KJS::PropertyMap::PropertyMap):
- 1:26 AM Changeset in webkit [20747] by
-
- 2 edits in branches/js-collector-tweaks/JavaScriptCore
Not reviewed, experimental change.
- change blocks to 64k in size, and use various platform-specific calls to allocate at 64k-aligned addresses
- kjs/collector.cpp: (KJS::allocateBlock): (KJS::freeBlock): (KJS::Collector::allocate): (KJS::Collector::collect):