Timeline
Mar 4, 2007:
- 10:18 PM Changeset in webkit [19959] by
-
- 2 edits in trunk/LayoutTests
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=12961
shouldBe() should support NaN
- fast/js/resources/js-test-pre.js: Make shouldBe() succeed if both sides are NaN numbers.
- 9:40 PM Changeset in webkit [19958] by
-
- 4 edits2 adds in trunk
LayoutTests:
Reviewed by Darin.
- fast/events/keydown-keypress-preventDefault-expected.txt: Added.
- fast/events/keydown-keypress-preventDefault.html: Added.
WebCore:
Reviewed by Darin.
Change to dispatch the keypress event during the defaultEventHandler for keydown events. This matches IE behavior.
This is preparation for fixing event dispatch with input methods (http://bugs.webkit.org/show_bug.cgi?id=10871)
Test: fast/events/keydown-keypress-preventDefault.html
- dom/EventTargetNode.cpp: (WebCore::EventTargetNode::defaultEventHandler): Call the defaultKeyboardEventHandler for keydown events.
- page/EventHandler.cpp: (WebCore::eventTargetNodeForDocument): Return 0 instead of false since the return type in EventTargetNode. (WebCore::EventHandler::keyEvent): Removed dispatch of keypress event, since this is now done in the default event handler. (WebCore::EventHandler::defaultKeyboardEventHandler): For keydown events, create and dispatch a keypress event.
- 9:34 PM Changeset in webkit [19957] by
-
- 3 edits in trunk/WebCore
Reviewed by Nikolas Zimmermann (yay!).
http://bugs.webkit.org/show_bug.cgi?id=12962
4XPath tests crash on lang() function
Covered by 4XPath tests, to be landed later.
- platform/StringImpl.cpp: (WebCore::StringImpl::reverseFind): Do not crash with empty strings.
- xml/XPathFunctions.cpp: (WebCore::XPath::FunLang::doEvaluate): Do not crash when an element has no attributes. Use a proper namespace for xml:lang (not sure where "xms" came from). Rewrote the algorithm for suffix removing to match the spec.
- 5:33 PM Changeset in webkit [19956] by
-
- 2 edits in trunk/JavaScriptCore
Reviewed by Nikolas Zimmermann.
- fix http://bugs.webkit.org/show_bug.cgi?id=12950 Assertions.cpp should not #define macros that are already defined
- wtf/Assertions.cpp: Don't #define WINVER and _WIN32_WINNT if they are already defined.
- 3:30 PM Changeset in webkit [19955] by
-
- 6 edits2 adds in trunk
LayoutTests:
Reviewed by Darin.
<rdar://problem/5028165>
http://bugs.webkit.org/show_bug.cgi?id=12915
REGRESSION: XMLHttpRequest.abort() does not stop loading (12915)
- http/tests/xmlhttprequest/abort-should-cancel-load-expected.txt: Added.
- http/tests/xmlhttprequest/abort-should-cancel-load.html: Added.
WebCore:
Reviewed by Darin.
<rdar://problem/5028165>
http://bugs.webkit.org/show_bug.cgi?id=12915
REGRESSION: XMLHttpRequest.abort() does not stop loading (12915)
- loader/DocumentLoader.cpp: (WebCore::DocumentLoader::stopLoading): Save the value of m_loading since calling FrameLoader::stopLoading could set it to false.
- loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::didCancel):
- loader/SubresourceLoader.h: Get rid of didCancel now, it's not needed anymore.
- xml/xmlhttprequest.cpp: (WebCore::XMLHttpRequest::abort): Call cancel() instead of stopLoading(). Also, set m_aborted to true so the XMLHttpRequest object won't be dereferenced in didFail when aborting.
- 1:24 PM Changeset in webkit [19954] by
-
- 6 edits in trunk
WebCore:
Reviewed by Nikolas Zimmermann.
Move ScrollView stubs to ScrollViewGdk.cpp
- platform/gdk/FrameGdk.h: remove comment that no longer makes sense
- platform/gdk/ScrollViewGdk.cpp: (WebCore::ScrollView::addChild): (WebCore::ScrollView::removeChild): (WebCore::ScrollView::scrollPointRecursively): (WebCore::ScrollView::inWindow): (WebCore::ScrollView::wheelEvent): (WebCore::ScrollView::updateScrollbars): (WebCore::ScrollView::updateScrollInfo): (WebCore::ScrollView::windowToContents): (WebCore::ScrollView::contentsToWindow): (WebCore::ScrollView::scrollbarUnderMouse):
- platform/gdk/TemporaryLinkStubs.cpp:
WebKitTools:
Reviewed by Nikolas Zimmermann.
Load a url given on a command line in a way that also
works for local (file://) urls.
- GdkLauncher/main.cpp: (main):
- 7:47 AM Changeset in webkit [19953] by
-
- 1 edit2 moves in trunk/LayoutTests
LayoutTests:
Reviewed by Nikolas Zimmermann.
- fix http://bugs.webkit.org/show_bug.cgi?id=12951 REGRESSION (r19949): LayoutTests/fast/xsl/xslt-processer.html fails
Fixed spelling of "processer" to "processor" in file names.
- fast/xsl/xslt-processer-expected.txt: Removed.
- fast/xsl/xslt-processer.html: Removed.
- fast/xsl/xslt-processor-expected.txt: Added. Results progressed after fixing Bugzilla Bug 12735 (<rdar://problem/4545040>).
- fast/xsl/xslt-processor.html: Added.
Mar 2, 2007:
- 6:18 PM Changeset in webkit [19952] by
-
- 39 edits20 adds in trunk
LayoutTests:
Reviewed by Geoff.
- rdar://problem/4922454
- This fixes a security issue by making remote referrers not able to access local resources, unless they register their schemes to be treated as local. The result is that those schemes can access local resources and cannot be accessed by remote referrers. Because this behavior is new a link-on-or-after check is made to determine if the app should use the older, less safe, behavior.
- fast/loader/local-CSS-from-local-expected.txt: Added.
- fast/loader/local-CSS-from-local.html: Added.
- fast/loader/local-JavaScript-from-local-expected.txt: Added.
- fast/loader/local-JavaScript-from-local.html: Added.
- fast/loader/local-iFrame-source-from-local-expected.txt: Added.
- fast/loader/local-iFrame-source-from-local.html: Added.
- fast/loader/local-image-from-local-expected.txt: Added.
- fast/loader/local-image-from-local.html: Added.
- http/tests/security/local-CSS-from-remote-expected.txt: Added.
- http/tests/security/local-CSS-from-remote.html: Added.
- http/tests/security/local-JavaScript-from-remote-expected.txt: Added.
- http/tests/security/local-JavaScript-from-remote.html: Added.
- http/tests/security/local-iFrame-from-remote-expected.txt: Added.
- http/tests/security/local-iFrame-from-remote.html: Added.
- http/tests/security/local-image-from-remote-expected.txt: Added.
- http/tests/security/local-image-from-remote.html: Added.
- http/tests/security/resources/compass.jpg: Added.
- http/tests/security/resources/cssStyle.css: Added.
- http/tests/security/resources/localPage.html: Added.
- http/tests/security/resources/localScript.js: Added.
WebCore:
Reviewed by Geoff.
- rdar://problem/4922454
- This fixes a security issue by making remote referrers not able to access local resources, unless they register their schemes to be treated as local. The result is that those schemes can access local resources and cannot be accessed by remote referrers. Because this behavior is new a link-on-or-after check is made to determine if the app should use the older, less safe, behavior.
- WebCore.exp: added exported functions
- bindings/objc/DOM.mm: consolodated function to base class (-[DOMElement image]): (-[DOMElement _imageTIFFRepresentation]):
- dom/Document.cpp: Cache the document's ability to load local resources. (WebCore::Document::Document): (WebCore::Document::setURL): (WebCore::Document::shouldBeAllowedToLoadLocalResources): (WebCore::Document::stylesheetLoaded):
- dom/Document.h: Cache the docuent's ability to load local resources. (WebCore::Document::getPendingSheet): (WebCore::Document::isAllowedToLoadLocalResources):
- html/HTMLImageLoader.cpp: Moved functionality into base class. (WebCore::HTMLImageLoader::updateFromElement): (WebCore::HTMLImageLoader::dispatchLoadEvent):
- html/HTMLLinkElement.cpp: Handles null returns correctly now.
- html/HTMLTokenizer.cpp: Moved functionality into base class. (WebCore::HTMLTokenizer::notifyFinished):
- ksvg2/misc/SVGImageLoader.cpp: Moved functionality into base class. (WebCore::SVGImageLoader::dispatchLoadEvent):
- loader/Cache.cpp: Checks if the cached resource can be loaded. (WebCore::Cache::requestResource):
- loader/CachedCSSStyleSheet.cpp: Moved functionality into base class. (WebCore::CachedCSSStyleSheet::ref): (WebCore::CachedCSSStyleSheet::error):
- loader/CachedImage.cpp: Moved functionality into base class. (WebCore::CachedImage::CachedImage):
- loader/CachedImage.h: Moved functionality into base class. (WebCore::CachedImage::canRender):
- loader/CachedResource.cpp: Cache if the CachedResource should be treated as local (WebCore::CachedResource::CachedResource):
- loader/CachedResource.h: Moved functionality into base class. (WebCore::CachedResource::errorOccurred): (WebCore::CachedResource::shouldTreatAsLocal):
- loader/CachedScript.cpp: Moved functionality into base class. (WebCore::CachedScript::CachedScript):
- loader/CachedScript.h: Moved functionality into base class. (WebCore::CachedScript::schedule):
- loader/CachedXBLDocument.cpp: Moved functionality into base class. (WebCore::CachedXBLDocument::error):
- loader/CachedXSLStyleSheet.cpp: Moved functionality into base class. (WebCore::CachedXSLStyleSheet::error):
- loader/FrameLoader.cpp: See comments for each function below. (WebCore::FrameLoader::loadSubframe): Use new canLoad. (WebCore::FrameLoader::restrictAccessToLocal): return value of linked-on-or-after check. (WebCore::FrameLoader::setRestrictAccessToLocal): set value for linked-on-or-after check. (WebCore::localSchemes): Return set of schemes that are to be treated as local. (WebCore::FrameLoader::loadPlugin): Use new canLoad. (WebCore::FrameLoader::canLoad): Now multiple functions that each do the same work but some can take advantage of the cached values, if they were computed previously. (WebCore::FrameLoader::shouldHideReferrer): Extracted out the logic to determine if the referrer should be hidden so it is only calculated when needed. (WebCore::FrameLoader::loadResourceSynchronously): No longer calls canLoad to get hideReferrer info. (WebCore::FrameLoader::registerSchemeAsLocal): Functionality to register a scheme to be treated as local. (WebCore::FrameLoader::treatURLAsLocal): Given a URL this function determines if it should be treated as local.
- loader/FrameLoader.h: Declared functions for this security fix. See above.
- loader/MainResourceLoader.cpp: Optized order of bools to regain performance. (WebCore::MainResourceLoader::continueAfterContentPolicy):
- loader/SubresourceLoader.cpp: Now restricts remote from loading local resources. (WebCore::SubresourceLoader::create):
- page/EventHandler.cpp: Moved functionality into base class. (WebCore::selectCursor):
- platform/KURL.cpp: KURLs need to check all the registered schemes now. (WebCore::KURL::isLocalFile):
- rendering/HitTestResult.cpp: Moved functionality into base class. (WebCore::HitTestResult::image):
- rendering/RenderImage.cpp: Moved functionality into base class. (WebCore::RenderImage::setCachedImage): (WebCore::RenderImage::imageChanged): (WebCore::RenderImage::paint): (WebCore::RenderImage::layout): (WebCore::RenderImage::calcAspectRatioWidth): (WebCore::RenderImage::calcAspectRatioHeight):
- rendering/RenderImage.h: Moved functionality into base class. (WebCore::RenderImage::errorOccurred):
- rendering/RenderListItem.cpp: Moved functionality into base class. (WebCore::RenderListItem::setStyle):
- rendering/RenderListMarker.cpp: Moved functionality into base class. (WebCore::RenderListMarker::isImage):
- xml/xmlhttprequest.cpp: Check doc's cached value instead of determining independently. (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
WebKit:
Reviewed by Geoff.
- rdar://problem/4922454
- This fixes a security issue by making remote referrers not able to access local resources, unless they register their schemes to be treated as local. The result is that those schemes can access local resources and cannot be accessed by remote referrers. Because this behavior is new a link-on-or-after check is made to determine if the app should use the older, less safe, behavior.
- Misc/WebKitVersionChecks.h: added linked-on-or-after check
- Misc/WebNSAttributedStringExtras.mm: Moved functionalit into the base class. (fileWrapperForElement):
- Plugins/WebNetscapePluginStream.mm: uses new canLoad functions
- Plugins/WebPluginContainerCheck.mm: uses new canLoad functions (-[WebPluginContainerCheck _isForbiddenFileLoad]):
- WebView/WebView.mm: make linked-on-or-after check and cache value, exposes SPI for registering a scheme as local. (-[WebView _commonInitializationWithFrameName:groupName:]): (+[WebView registerSchemeAsLocal:]):
- WebView/WebViewPrivate.h: exposes SPI for registering a scheme as local.
- 5:46 PM Changeset in webkit [19951] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by kevin
<rdar://problem/5028447>
REGRESSION: Gmail Editor: Copied message text pastes at the wrong font size
- editing/pasteboard/5028447-expected.checksum: Added.
- editing/pasteboard/5028447-expected.png: Added.
- editing/pasteboard/5028447-expected.txt: Added.
- editing/pasteboard/5028447.html: Added.
WebCore:
Reviewed by kevin
<rdar://problem/5028447>
REGRESSION: Gmail Editor: Copied message text pastes at the wrong font size
- editing/markup.cpp: (WebCore::createMarkup): The style of the div that holds a fully selected body's styles didn't include styles inherited from the body's ancestors.
- 4:48 PM Changeset in webkit [19950] by
-
- 2 edits in trunk/WebKitTools
Tweaked parse-malloc-history to work with new malloc_history output format.
- Scripts/parse-malloc-history:
- 4:09 PM Changeset in webkit [23020] by
-
- 4 edits in branches/WindowsMerge/WebKitWin
WebKitWin:
Reviewed by Beth.
Make submenus draw using the UIDelegate.
- Interfaces/IWebUIDelegate.idl: Added new delegate method to add custom drawing data for menus.
- WebView.cpp: (WebView::onInitMenuPopup): Added. Calls new delegate method. (WebViewWndProc): Added handler for WM_INITMENUPOPUP, which is called for all submenus.
- WebView.h: Added declaration.
- 3:02 PM Changeset in webkit [19949] by
-
- 5 edits4 adds in trunk
LayoutTests:
Reviewed by harrison
<rdar://problem/4545040>
innerHTML does not HTML-escape text nodes inside PRE elements
<rdar://problem/5027857>
Pasting into Mail from Safari's view-source window renders the HTML
- editing/pasteboard/5027857-expected.checksum: Added.
- editing/pasteboard/5027857-expected.png: Added.
- editing/pasteboard/5027857-expected.txt: Added.
- editing/pasteboard/5027857.html: Added.
WebCore:
Reviewed by harrison
<rdar://problem/4545040>
innerHTML does not HTML-escape text nodes inside PRE elements
<rdar://problem/5027857>
Pasting into Mail from Safari's view-source window renders the HTML
- editing/HTMLInterchange.cpp: (WebCore::convertHTMLTextToInterchangeFormat): Send this function the node that the text comes from as a parameter. It shouldn't convert '\n's to spaces/nbsps if the text is coming from text where newlines are preserved.
- editing/HTMLInterchange.h:
- editing/markup.cpp: (WebCore::startMarkup): Escape text inside the children of PREs.
- 2:35 PM Changeset in webkit [23019] by
-
- 6 edits in branches/WindowsMerge
WebCoreWin:
Reviewed by Anders.
Added optional underlining of a single character to
WebCoreTextRenderer.
No layout tests possible.
- platform/win/WebCoreTextRenderer.cpp: (WebCore::doDrawTextAtPoint): Added. This is an extraction of the code from DrawTextAtPoint that now also contains the underlining code. (WebCore::WebCoreDrawTextAtPoint): Call the helper function. (WebCore::WebCoreDrawDoubledTextAtPoint): Ditto.
- platform/win/WebCoreTextRenderer.h: Added optional underlinedIndex parameters.
WebKitWin:
Reviewed by Anders.
Added optional underlining of a single character to WebKitGraphics.
- 1:10 PM Changeset in webkit [19948] by
-
- 4 edits in trunk
WebCore:
Reviewed by Anders.
Try to fix the Qt build.
- platform/qt/TemporaryLinkStubs.cpp: Add stubs. (WebCore::searchMenuNoRecentSearchesText): (WebCore::searchMenuRecentSearchesText): (WebCore::searchMenuClearRecentSearchesText): (WebCore::AXWebAreaText): (WebCore::AXLinkText): (WebCore::AXListMarkerText): (WebCore::AXImageMapText): (WebCore::AXHeadingText):
WebKitQt:
Reviewed by Anders.
Try to fix the Qt build
- WebCoreSupport/DragClientQt.cpp: (WebCore::DragClientQt::willPerformDragDestinationAction): (WebCore::DragClientQt::dragControllerDestroyed): (WebCore::DragClientQt::createDragImageForLink):
- 1:06 PM Changeset in webkit [19947] by
-
- 2 edits in trunk/JavaScriptCore
2007-03-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by Anders.
Add unsigned int hash traits (matches existing unsigned long version)
- wtf/HashTraits.h: (WTF::):
- 1:06 PM Changeset in webkit [19946] by
-
- 2 edits in trunk/WebCore
Suggested by Darin.
A more efficient solution to rdar://4961431.
- bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject accessibilityIsIgnored]):
- 11:55 AM Changeset in webkit [19945] by
-
- 4 edits in trunk/JavaScriptCore
Reviewed by Kevin M.
Try to fix the Qt build.
- kjs/DateMath.cpp: (KJS::msToGregorianDateTime): Removed unnecessary "struct" keyword.
- kjs/DateMath.h: Moved forward declarations to the top of the file before they are used.
- kjs/date_object.cpp: (KJS::formatLocaleDate): Changed to take a const GregorianDateTime& since GregorianDateTime is Noncopyable.
- 11:53 AM Changeset in webkit [19944] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by john
<rdar://problem/5032095>
Gmail Editor: Copied text pastes on a new line instead of current line
- editing/pasteboard/5032095-expected.checksum: Added.
- editing/pasteboard/5032095-expected.png: Added.
- editing/pasteboard/5032095-expected.txt: Added.
- editing/pasteboard/5032095.html: Added.
WebCore:
Reviewed by john
<rdar://problem/5032095>
Gmail Editor: Copied text pastes on a new line instead of current line
Start merge failed to occur because positionAtStartOfInsertedContent
had a bug.
- editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::positionAtStartOfInsertedContent): Was failing when inserting <span><div>foo/div></span>. Return the inserted content's first VisiblePosition.
- 9:42 AM Changeset in webkit [19943] by
-
- 3 edits in trunk/JavaScriptCore
Reviewed by Kevin McCullough.
- fix http://bugs.webkit.org/show_bug.cgi?id=12867 REGRESSION: BenchJS test 7 (dates) is 220% slower than in Safari 2.0.4
- kjs/DateMath.h: Marked GregorianDateTime as noncopyable, since it has a non-trivial destructor and not the correspoding copy constructor or assignment operator. Changed the GregorianDateTime constructor to use member initialization syntax. Fixed the destructor to use the array delete operator, since timeZone is an array.
- kjs/DateMath.cpp: (KJS::daysInYear): Changed to call isLeapYear so the rule is not repeated twice. (KJS::getUTCOffset): Added caching on PLATFORM(DARWIN), since we can rely on the notify_check function and "com.apple.system.timezone" to let us know when the offset has changed.
- 1:39 AM Changeset in webkit [19942] by
-
- 2 edits in trunk/WebCore
Fix glyph map crasher.
- 12:22 AM Changeset in webkit [19941] by
-
- 2 edits in trunk/WebCore
Reviewed by Maciej.
Fix for http://bugs.webkit.org/show_bug.cgi?id=12895
REGRESSION: imagemap: pointer cursor is shown everywhere
<rdar://problem/5028163>
Image with imagemap should never itself be URLElement in hit test results.
No layout test, cursor state can't be captured.
- rendering/RenderLayer.cpp: (WebCore::RenderLayer::hitTest):
Mar 1, 2007:
- 11:59 PM Changeset in webkit [19940] by
-
- 8 edits3 adds in trunk
LayoutTests:
Reviewed by Maciej.
HTTP layout test for http://bugs.webkit.org/show_bug.cgi?id=12690
REGRESSION: can not log in to bank of america with TOT webkit
<rdar://problem/4990044>
also for
http://bugs.webkit.org/show_bug.cgi?id=12604
http://bugs.webkit.org/show_bug.cgi?id=12020
- http/tests/misc/multiple-submit-expected.txt: Added.
- http/tests/misc/multiple-submit.html: Added.
- http/tests/misc/resources/post-echo-and-notify-done.cgi: Added.
WebCore:
Reviewed by Maciej.
Fix http://bugs.webkit.org/show_bug.cgi?id=12690
REGRESSION: can not log in to bank of america with TOT webkit
<rdar://problem/4990044>
and http://bugs.webkit.org/show_bug.cgi?id=12604
REGRESSION: After closing the "Would you like to save password" sheet, the form fails
to submit automatically at http://www.mac.com/WebObjects/HomePage.woa
<rdar://problem/4871752>
and http://bugs.webkit.org/show_bug.cgi?id=12020
REGRESSION: Flickr uploading broken
<rdar://problem/4928662>
Turn protection against multiple forms submission back on. This approach is buggy
but it is way better than not having it at all. Not protecting against this
breaks number of major sites.
- bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject accessibilityPerformAction:]):
- loader/FrameLoader.cpp: (WebCore::FrameLoader::resetMultipleFormSubmissionProtection): (WebCore::FrameLoader::submitForm): (WebCore::FrameLoader::receivedMainResourceError):
- loader/FrameLoader.h:
- page/EventHandler.cpp: (WebCore::EventHandler::keyEvent):
- page/Frame.cpp: (WebCore::Frame::setView):
- page/mac/EventHandlerMac.mm: (WebCore::EventHandler::mouseDown):
- 10:35 PM Changeset in webkit [19939] by
-
- 4 edits in tags/Safari-5522.1
Versioning.
- 9:26 PM Changeset in webkit [19938] by
-
- 2 edits in tags/Safari-5522.1/WebCore
Merge in r19928.
2007-03-01 David Harrison <harrison@apple.com>
Reviewed by Darin.
<rdar://problem/5033905> Have the DOM secondary thread check raise an exception by default
- platform/mac/ThreadCheck.mm: (WebCore::_WebCoreThreadViolationCheck): Initialize threadViolationIsException to true.
- 9:18 PM Changeset in webkit [19937] by
-
- 10 edits2 copies in tags/Safari-5522.1
Merge in r19921.
2007-02-28 Brady Eidson <beidson@apple.com>
Reviewed by Beth
Move the Thread Safety Check functions into their own header for export to WebKit
- WebCore.exp: Export the function
- WebCore.xcodeproj/project.pbxproj:
- bindings/scripts/CodeGeneratorObjC.pm: Include the new header
- platform/Logging.h: Move stuff to ThreadCheck.h
- platform/ThreadCheck.h: Added.
- platform/mac/LoggingMac.mm: Move stuff to ThreadCheck.mm
- platform/mac/ThreadCheck.mm: Added. (WebCore::_WebCoreThreadViolationCheck): (WebCoreReportThreadViolation):
2007-02-28 Brady Eidson <beidson@apple.com>
Reviewed by Beth
Start using the Thread Safety Check implemented in WebCore for the DOM bindings in the rest of
the WebKit API instead of the ASSERT_MAIN_THREAD() hack
- History/WebBackForwardList.mm: (-[WebBackForwardList initWithWebCoreBackForwardList:]): (-[WebBackForwardList init]): (-[WebBackForwardList dealloc]): (-[WebBackForwardList finalize]):
- History/WebHistoryItem.mm: (-[WebHistoryItem initWithURLString:title:lastVisitedTimeInterval:]): (-[WebHistoryItem dealloc]): (-[WebHistoryItem finalize]): (-[WebHistoryItem copyWithZone:]): (-[WebHistoryItem initWithWebCoreHistoryItem:]):
- Misc/WebIconDatabase.mm: (-[WebIconDatabase init]):
- 8:47 PM Changeset in webkit [19936] by
-
- 1 copy in tags/Safari-5522.1
New tag.
- 7:16 PM Changeset in webkit [23018] by
-
- 1 edit in branches/WindowsMerge/WebKitWin/WebKit.vcproj/VERSION
Bump version for submit
- 7:13 PM Changeset in webkit [19935] by
-
- 1 copy in tags/Safari-521.35.5b
New tag.
- 6:42 PM Changeset in webkit [19934] by
-
- 3 edits3 adds in trunk
LayoutTests:
Reviewed by Adam.
- Tests that the url of a document after an open is what it was before the open.
- fast/loader/external-script-URL-location-expected.txt: Added.
- fast/loader/external-script-URL-location.html: Added.
- fast/loader/resources/external-script-URL-location.js: Added.
WebCore:
Reviewed by Adam.
- Added the test case: external-script-URL-location.html
- Fix an issue where the url of a document is null after an open if the document has no parent.
- dom/Document.cpp: (WebCore::Document::open):
- 6:29 PM Changeset in webkit [19933] by
-
- 3 edits in tags/Safari-4522.1
Versioning.
- 6:23 PM Changeset in webkit [19932] by
-
- 1 copy in tags/Safari-4522.1
New tag.
- 6:17 PM Changeset in webkit [19931] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/4960250>
http://bugs.webkit.org/show_bug.cgi?id=11627
REGRESSION: Reproducible crash at IMDb in WebCore::FrameLoader::stopLoadingSubframes
In rare cases, we could end up calling checkLoadComplete twice for the same frame. This would cause the
didFailProvisionalLoad delegate method to be called twice for the same frame, and also cause the provisional document loader
to be reset to null when other code wasn't expecting it.
This regressed in revision 10904 with the fix for <rdar://problem/4184719>. The fix is to only call stopLoading on the frame
if either the document loader is loading, or the document is still being parsed. I've verified that the bug is still fixed and
that no leaks occur.
- loader/DocumentLoader.cpp: (WebCore::DocumentLoader::stopLoading):
- 5:58 PM Changeset in webkit [19930] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
Fix ARM crash due to accessing non-4-byte-aligned memory
as 32-bit values.
- platform/AtomicString.cpp: (WebCore::UCharBufferTranslator::equal):
- 5:57 PM Changeset in webkit [19929] by
-
- 3 edits in trunk/WebKit
Reviewed by harrison
<rdar://problem/4838199>
Integrate Mail and WebKit paste operations
Provide subresources used to create the fragment as a
convenience.
- WebView/WebHTMLView.mm: (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:chosePlainText:]): Update the calls to the changed method. (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]): Give the caller the subresources in the WebArchive and RTF cases.
- WebView/WebHTMLViewPrivate.h:
- 5:53 PM Changeset in webkit [19928] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin.
<rdar://problem/5033905> Have the DOM secondary thread check raise an exception by default
- platform/mac/ThreadCheck.mm: (WebCore::_WebCoreThreadViolationCheck): Initialize threadViolationIsException to true.
- 4:46 PM Changeset in webkit [23017] by
-
- 5 edits in branches/WindowsMerge/WebKitWin
Reviewed by Kevin M.
Add support for right-truncation to WebKitGraphics.
- 2:04 PM Changeset in webkit [23016] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Tim.
- plugins/win/npfunctions.h: Fix tyop.
- 2:00 PM Changeset in webkit [19927] by
-
- 2 edits in trunk/WebCore
Reviewed by Darin
<rdar://problem/5030628> - Crash opening a new window with the
"New windows open to the same page" pref set
- history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): Set the m_subItems vector capacity correctly
- 9:08 AM Changeset in webkit [19926] by
-
- 3 edits2 adds in trunk
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=12801
Assertion failure in createMarkup() (root) when doing Select All, Copy in an SVG document
Test: editing/pasteboard/createMarkup-assert.xml
- editing/markup.cpp: (WebCore::createMarkup): Removed the assertion, because it's wrong in a non-HTML world.
Feb 28, 2007:
- 11:43 PM Changeset in webkit [19925] by
-
- 3 edits in trunk/WebCore
Reviewed by Oliver and Hyatt.
Fix <rdar://problem/5024233> Crash while using Find on empty document
No layout test possible, as this involves a null document.
- dom/Range.cpp: (WebCore::rangeOfContents): Added an ASSERT.
- page/Frame.cpp: (WebCore::Frame::findString): Added a null-check for document(). (WebCore::Frame::markAllMatchesForText): Ditto.
- 8:42 PM Changeset in webkit [23015] by
-
- 9 edits in branches/WindowsMerge
WebCoreWin:
Reviewed by Anders.
Clean up WebCoreTextRenderer. WebCoreDrawTextAtPoint now just draws
text at a point. It doesn't center truncate, clip, or modify alignment.
No layout test possible.
- platform/win/WebCoreTextRenderer.cpp: (WebCore::WebCoreDrawTextAtPoint): Use only WebCore types, and don't center truncate or modify alignment. (WebCore::WebCoreDrawDoubledTextAtPoint): Moved from WebKitGraphics.cpp. (WebCore::WebCoreTextFloatWidth): Added.
- platform/win/WebCoreTextRenderer.h: Updated/added declarations.
WebKitWin:
Reviewed by Anders.
Made WebKitGraphics more flexible.
- 7:25 PM Changeset in webkit [19924] by
-
- 2 edits in trunk/WebKit
2007-02-28 Oliver Hunt <oliver@apple.com>
Reviewed by Maciej.
Fixes <rdar://problem/5012009>
When looking for a requested resource we should also check
the set of manually added subresources if WebCore can't find it.
- WebView/WebDataSource.mm: (-[WebDataSource subresourceForURL:]):
- 5:30 PM Changeset in webkit [19923] by
-
- 8 edits in trunk/WebKitTools
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
Bug#12887: [Drosera] Add ability to close loaded files
- Drosera/DebuggerDocument.h:
- Drosera/DebuggerDocument.m: (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
- Drosera/Drosera.xcodeproj/project.pbxproj:
- Drosera/English.lproj/MainMenu.nib/classes.nib:
- Drosera/English.lproj/MainMenu.nib/info.nib:
- Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
- Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
- Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
- 4:47 PM Changeset in webkit [19922] by
-
- 2 edits in trunk/WebCore
Not reviewed - simple gdk build fix.
Add stubs for newly introduced localized strings.
- platform/gdk/TemporaryLinkStubs.cpp: (WebCore::searchMenuNoRecentSearchesText): (WebCore::searchMenuRecentSearchesText): (WebCore::searchMenuClearRecentSearchesText):
- 4:01 PM Changeset in webkit [19921] by
-
- 10 edits2 adds in trunk
WebCore:
Reviewed by Beth
Move the Thread Safety Check functions into their own header for export to WebKit
- WebCore.exp: Export the function
- WebCore.xcodeproj/project.pbxproj:
- bindings/scripts/CodeGeneratorObjC.pm: Include the new header
- platform/Logging.h: Move stuff to ThreadCheck.h
- platform/ThreadCheck.h: Added.
- platform/mac/LoggingMac.mm: Move stuff to ThreadCheck.mm
- platform/mac/ThreadCheck.mm: Added. (WebCore::_WebCoreThreadViolationCheck): (WebCoreReportThreadViolation):
WebKit:
Reviewed by Beth
Start using the Thread Safety Check implemented in WebCore for the DOM bindings in the rest of
the WebKit API instead of the ASSERT_MAIN_THREAD() hack
- History/WebBackForwardList.mm: (-[WebBackForwardList initWithWebCoreBackForwardList:]): (-[WebBackForwardList init]): (-[WebBackForwardList dealloc]): (-[WebBackForwardList finalize]):
- History/WebHistoryItem.mm: (-[WebHistoryItem initWithURLString:title:lastVisitedTimeInterval:]): (-[WebHistoryItem dealloc]): (-[WebHistoryItem finalize]): (-[WebHistoryItem copyWithZone:]): (-[WebHistoryItem initWithWebCoreHistoryItem:]):
- Misc/WebIconDatabase.mm: (-[WebIconDatabase init]):
- 3:59 PM Changeset in webkit [23014] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Adam.
Fix for <rdar://problem/4887423> REGRESSION: search results popup menu strings are not localized
and <rdar://problem/3517227> accessibility-related strings in WebCore are not localized
- platform/win/TemporaryLinkStubs.cpp: (WebCore::searchMenuNoRecentSearchesText): (WebCore::searchMenuRecentSearchesText): (WebCore::searchMenuClearRecentSearchesText): (WebCore::AXWebAreaText): (WebCore::AXLinkText): (WebCore::AXListMarkerText): (WebCore::AXImageMapText): (WebCore::AXHeadingText):
- 3:46 PM Changeset in webkit [19920] by
-
- 2 edits in trunk/WebCore
Reviewed by Brady.
Fix for http://bugs.webkit.org/show_bug.cgi?id=12923 REGRESSION:
Assertion failure copying standalone image
- platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::writeImage): Use the CachedImage as the resource. This makes more sense anyway. There is no need to null- check the renderer or the CachedImage since we return early if there is no Image* and the HitTestResult::image() function checks for these things.
- 3:08 PM Changeset in webkit [19919] by
-
- 8 edits in trunk
WebCore:
Reviewed by Beth.
Fix for <rdar://problem/4887423> REGRESSION: search results popup menu strings are not localized
and <rdar://problem/3517227> accessibility-related strings in WebCore are not localized
Use localized strings from WebKit instead of hard coded strings.
- bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject roleDescription]):
- page/mac/WebCoreViewFactory.h:
- platform/LocalizedStrings.h:
- platform/mac/LocalizedStringsMac.mm: (WebCore::searchMenuNoRecentSearchesText): (WebCore::searchMenuRecentSearchesText): (WebCore::searchMenuClearRecentSearchesText): (WebCore::AXWebAreaText): (WebCore::AXLinkText): (WebCore::AXListMarkerText): (WebCore::AXImageMapText): (WebCore::AXHeadingText):
- rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::itemText):
WebKit:
Reviewed by Beth.
Fix for <rdar://problem/4887423> REGRESSION: search results popup menu strings are not localized
and <rdar://problem/3517227> accessibility-related strings in WebCore are not localized
- WebCoreSupport/WebViewFactory.mm: (-[WebViewFactory searchMenuNoRecentSearchesText]): (-[WebViewFactory searchMenuRecentSearchesText]): (-[WebViewFactory searchMenuClearRecentSearchesText]): (-[WebViewFactory AXWebAreaText]): (-[WebViewFactory AXLinkText]): (-[WebViewFactory AXListMarkerText]): (-[WebViewFactory AXImageMapText]): (-[WebViewFactory AXHeadingText]):
- 2:31 PM Changeset in webkit [19918] by
-
- 2 edits in S60/trunk/JavaScriptCore
vbradley, reviewed by Yongjun
DESC: merge r19917 to s60/trunk. ALAA-6XSF7U : Reduce stack overflow counter
http://bugs.webkit.org/show_bug.cgi?id=12928
- 2:26 PM Changeset in webkit [19917] by
-
- 2 edits in S60/branches/3.1m/JavaScriptCore
vbradley, reviewed by Yongjun.
DESC: ALAA-6XSF7U : Reduce stack overflow counter
http://bugs.webkit.org/show_bug.cgi?id=12928
- 2:23 PM Changeset in webkit [19916] by
-
- 3 edits in S60/trunk/WebKit
yinxcai, reviewed by <Yongjun>
DESC: TMCN-6Y9Q7A --Browser ask permission for unsecure item load repeatedly
http://bugs.webkit.org/show_bug.cgi?id=12901
- 2:17 PM Changeset in webkit [19915] by
-
- 13 edits in S60/trunk/WebKit
yinxcai, reviewed by <Sachin>
DESC: merge of r19914 to s60/turnk: Browser may crash when selecting No for secure connections HMNN-6YLEHJ
http://bugs.webkit.org/show_bug.cgi?id=12858
- 2:15 PM Changeset in webkit [19914] by
-
- 13 edits in S60/branches/3.1m/WebKit
yinxcai, reviewed by <Sachin>
DESC Browser may crash when selecting No for secure connections HMNN-6YLEHJ
http://bugs.webkit.org/show_bug.cgi?id=12858
- 2:11 PM Changeset in webkit [19913] by
-
- 2 edits in S60/branches/3.1m/WebKit
yadavall, Reviewed by Sachin
DESC: Toolbar should be activated only on long keypress CR: 102-5945
http://bugs.webkit.org/show_bug.cgi?id=12816
- 11:56 AM Changeset in webkit [19912] by
-
- 1 edit1 move in trunk/LayoutTests
Reviewed by Bradeee Eidson.
Disabling this test for now because it fails on the buildbot but not on
my Intel or PPC machines. I've filed http://bugs.webkit.org/show_bug.cgi?id=12930
to track this issue.
- fast/leaks/003.html: Removed.
- 7:46 AM Changeset in webkit [19911] by
-
- 3 edits4 adds in trunk
LayoutTests:
Reviewed by Maciej.
- test for http://bugs.webkit.org/show_bug.cgi?id=12911 GoogleDocs: Ordered lists don't update immediately when start attribute changed
- fast/lists/ol-start-dynamic-expected.checksum: Added.
- fast/lists/ol-start-dynamic-expected.png: Added.
- fast/lists/ol-start-dynamic-expected.txt: Added.
- fast/lists/ol-start-dynamic.html: Added.
WebCore:
Reviewed by Maciej.
- fix http://bugs.webkit.org/show_bug.cgi?id=12911 GoogleDocs: Ordered lists don't update immediately when start attribute changed
Update list marker value when start attribute changes.
- html/HTMLOListElement.cpp: (WebCore::HTMLOListElement::parseMappedAttribute):
- 4:29 AM Changeset in webkit [19910] by
-
- 8 edits in trunk
Reviewed by Maciej.
Corrected the use of the new ENABLE() macros in some ksvg2/svg files.
Add new build-webkit flags "--(no-)xpath" / "--(no-)xslt", to be able
to switch off build features easily. Also add "--(no-)svg-experimental-features"
flag, to be able to test filters/animations/use/foreignObject easily.
- 1:00 AM Changeset in webkit [19909] by
-
- 2 edits in trunk/WebKit
2007-02-28 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej.
<rdar://problem/5028473> WebKit allocates a huge number of NSCalendarDates while loading history file
- History/WebHistory.mm: (-[WebHistoryPrivate insertItem:atDateIndex:]): Use lastVisitedTimeInterval rather than _lastVisitedDate to avoid allocating NSCalendarDates.
- 12:42 AM Changeset in webkit [23013] by
-
- 2 edits in branches/WindowsMerge/WebCore
Reviewed by Adam.
- platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::ResourceRequest::doUpdatePlatformRequest): Use RetainPtr instead of explicit release, as this was caused by CFRelease on a null pointer, and REtainPtr is tolerant.
- 12:29 AM Changeset in webkit [19908] by
-
- 34 edits4 adds in trunk
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=12609
Any SVG element will create renderers even when children of HTML elements
Allow creation of svg renderers only when parent is SVG, except for
the <svg> element.
- 12:10 AM Changeset in webkit [23012] by
-
- 2 edits in branches/WindowsMerge/WebKitWin