- 28 Sep, 2006 14 commits
-
-
aliceli1 authored
* COM/WebView.cpp: (WebView::mouseMoved): (WebView::mouseDown): (WebView::mouseUp): (WebView::mouseDoubleClick): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aliceli1 authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben authored
Remove no-longer-used PopUpButton. * WebCore.vcproj/WebCore/WebCore.vcproj: Remove PopUpButton.h * WebCore.xcodeproj/project.pbxproj: Remove PopUpButton.h, PopUpButtonMac.mm * platform/PopUpButton.h: Removed. * platform/mac/PopUpButtonMac.mm: Removed. * platform/win/TemporaryLinkStubs.cpp: Remove PopUpButton:: methods * rendering/DeprecatedRenderSelect.cpp: Change #include of PopUpButton.h to ListBox.h git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
Moved an extern declaration from inside a method to the top of the file. * DumpRenderTree/EventSendingController.m: (-[EventSendingController clearKillRing]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Reviewed by Alice. - support for change that should fix <rdar://problem/4733044> REGRESSION: XML iBench shows 10% perf. regression (copying strings while decoding) * wtf/Vector.h: Changed VectorBuffer so that the general case contains an instance of the 0 case, since deriving from it was violating the Liskov Substitution Principle. (WTF::VectorBuffer::releaseBuffer): Added. Releases the buffer so it can be adopted by another data structure that uses the FastMalloc.h allocator. Returns 0 if the internal buffer was being used. (WTF::Vector::releaseBuffer): Added. Releases the buffer as above or creates a new one in the case where the internal buffer was being used. WebCore: Reviewed by Alice. - change that should fix <rdar://problem/4733044> REGRESSION: XML iBench shows 10% perf. regression (copying strings while decoding) Use Vector<UChar> instead of String when building up the decoded string in the ICU and Mac decoders. Using String leads to O(n^2) behavior because String grows the buffer every single time that append is called. Using Vector::append instead of String::append also avoids constructing a string each time just to append and a questionable copy that is done inside the String::append function which also contributed to the slowness. * platform/PlatformString.h: * platform/String.cpp: (WebCore::String::adopt): Added. Makes a String from a Vector<UChar>, adopting the buffer from the vector to avoid copying and memory allocation. * platform/StringImpl.h: * platform/StringImpl.cpp: (WebCore::StringImpl::adopt): Ditto. * platform/StreamingTextDecoder.h: * platform/StreamingTextDecoder.cpp: (WebCore::TextCodec::appendOmittingBOM): Change to use a Vector<UChar> instead of a String, since vectors have better resizing performance (they store a separate capacity). * platform/StreamingTextDecoderICU.cpp: (WebCore::TextCodecICU::decode): * platform/mac/StreamingTextDecoderMac.cpp: (WebCore::TextCodecMac::decode): Change to use Vector<UChar> instead of String and then create a string at the end of the process using the new adopt function. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
Reviewed by Justin. Call clearKillRing() so we are guaranteed to start with empty kill ring. * editing/pasteboard/emacs-cntl-y-001.html: WebKitTools: Reviewed by Justin. Add clearKillRing so we can test emacs support with empty kill ring. * DumpRenderTree/EventSendingController.m: (+[EventSendingController isSelectorExcludedFromWebScript:]): (+[EventSendingController webScriptNameForSelector:]): (-[EventSendingController clearKillRing]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig authored
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11057 Auto-generate more SVG Objective-C bindings - Auto-generates DOMSVGAnimatedAngle, DOMSVGAnimatedBoolean, DOMSVGAnimatedEnumeration, DOMSVGAnimatedInteger, DOMSVGAnimatedLength, DOMSVGAnimatedLengthList, DOMSVGAnimatedNumber, DOMSVGAnimatedString, DOMSVGAnimatedTransformList, DOMSVGExternalResourcesRequired, DOMSVGLangSpace, DOMSVGLocatable, DOMSVGMetadataElement, DOMSVGRectElement, DOMSVGStringList, DOMSVGStylable, DOMSVGStyleElement, DOMSVGTests, and DOMSVGTransformable. - Adds ability to CodeGeneratorObjC.pm to handle interfaces with mulitple parent interfaces and the SVG animated classes. - Corrects CodeGenerator.pm to only skip the first parent for the main interface. * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/objc/DOMInternal.h: ...
-
beidson authored
Change the error code check for common functions from SQLResultOk to SQLResultDone * loader/icon/IconDatabase.cpp: (WebCore::IconDatabase::forgetPageURLQuery): (WebCore::IconDatabase::setIconIDForPageURLQuery): (WebCore::IconDatabase::addIconForIconURLQuery): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- change garbage collection to happen at increments proportional to number of live objects, not always every 1000 allocations * kjs/collector.cpp: (KJS::Collector::allocate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- fixed REGRESSION (r16606): javascriptCore Crash on website load Plus style fixes. - fixed some possible off-by-one bugs - use indexing, not iterators, for Vectors - store Vector by pointer instead of by value to avoid blowing out FunctionImp size * kjs/function.cpp: (KJS::FunctionImp::addParameter): (KJS::FunctionImp::parameterString): (KJS::FunctionImp::processParameters): (KJS::FunctionImp::lengthGetter): (KJS::FunctionImp::getParameterName): * kjs/function.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Dump the use of MapWindowPoints on Win32 and just let the outermost HWND be the viewport point of reference for events and such. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Fix for bug 9222, cursor is wrong when mousing over overflow scrollbars in textareas. Make sure selectCursor checks for whether or not a scrollbar was hit. Also stub out a mouseMoved method for scrollbars to provide hover feedback if needed. Reviewed by Eric * page/FrameView.cpp: (WebCore::selectCursor): (WebCore::FrameView::handleMouseMoveEvent): * platform/ScrollBar.h: (WebCore::ScrollBar::mouseMoved): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Reviewed by Maciej. More build tweaks * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: * JavaScriptCore.vcproj/JavaScriptCore/dstroot-to-sdk.cmd: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Sep, 2006 15 commits
-
-
aroben authored
Reviewed by Maciej and Adam, landed by Adam Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=11072 Windows build is busted * platform/win/TemporaryLinkStubs.cpp: (ScrollView::paint): (ScrollView::themeChanged): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sullivan authored
(KJS::FunctionImp::getParameterName): removed assertion that displeased gcc 4.0.1 (build 5420): ASSERT(static_cast<size_t>(index) == index); git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullo authored
Cleanup of previous fix which was to address Radar: 4752492 * kjs/function.cpp: (KJS::FunctionImp::addParameter): (KJS::FunctionImp::parameterString): (KJS::FunctionImp::processParameters): (KJS::FunctionImp::lengthGetter): (KJS::FunctionImp::getParameterName): * kjs/function.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullo authored
Fixes a GC stack overflow crash. The change is to move from a linked list implementation of Parameters to a Vector. The problem with the linked list is that each one creates it's own stack frame when being destroyed and in extreme cases this caused the stack to overflow. * kjs/function.cpp: (KJS::Parameter::Parameter): (KJS::FunctionImp::addParameter): (KJS::FunctionImp::parameterString): (KJS::FunctionImp::processParameters): (KJS::FunctionImp::lengthGetter): (KJS::FunctionImp::getParameterName): * kjs/function.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Fix last path fix. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by mitz. paths with no fill specified default to black but do not recieve paint-related mouse events http://bugzilla.opendarwin.org/show_bug.cgi?id=11069 The default fill was being applied at the wrong place in the rendering chain, causing this problem. Test: svg/custom/hover-default-fill.svg * kcanvas/RenderPath.cpp: (WebCore::RenderPath::nodeAtPoint): use isFilled and isStroked * ksvg2/css/SVGRenderStyle.h: use defaultFill() and defaultStroke() * ksvg2/misc/KCanvasRenderingStyle.cpp: (WebCore::KSVGPainterFactory::isFilled): remove null check (WebCore::KSVGPainterFactory::fillPaintServer): remove null check (WebCore::KSVGPainterFactory::isStroked): remove null check (WebCore::KSVGPainterFactory::strokePaintServer): remove null check * ksvg2/svg/SVGPaint.cpp: (WebCore::SVGPaint::defaultFill): added. (WebCore::SVGPaint::defau...
-
justing authored
<rdar://problem/4044271> Writing Direction menu doesn't reflect the current writing direction (9773) * English.lproj/Localizable.strings: Added "Right to Left" and "Left to Right" * WebView/WebHTMLView.m: (-[NSArray validateUserInterfaceItem:]): Validate menu items that perform toggleBaseWritingDirection and changeBaseWritingDirection. Disable the menu item that changes the writing direction to NSWritingDirectionNautral because NSWritingDirectionNatural's behavior can't be implemented with CSS. Take control of the title of the menu item that performs toggleBaseWritingDirection: instead of checking/unchecking it, otherwise we wouldn't know what a check means. (-[NSArray changeBaseWritingDirection:]): ASSERT that the requested writing direction is not NSWritingDirectionNatural, since we've disabled the menu item that performs it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Set path before build. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis authored
http://bugzilla.opendarwin.org/show_bug.cgi?id=11015 SVG handles em units incorrectly Calculate viewport coordinates at layout time, since at this point the font size is known and lengths depending on font sizes can be calculated correctly. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
seangies authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by darin. Change our invalid-fill error behavior to match Opera (and soon Firefox) http://bugzilla.opendarwin.org/show_bug.cgi?id=11017 * ksvg2/misc/KCanvasRenderingStyle.cpp: (WebCore::KSVGPainterFactory::isFilled): (WebCore::KSVGPainterFactory::fillPaintServer): (WebCore::KSVGPainterFactory::isStroked): (WebCore::KSVGPainterFactory::strokePaintServer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
* loader/icon/IconDatabase.cpp: (WebCore::readySQLStatement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gramps authored
Changed line ending from DOS to UNIX format so it doesn't die running on my machine. ;) * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
Reviewed by Maciej, landed by Brady Update URL request associated with provisional data source on redirect. Notify IWebFrameLoadDelegate of redirects for the provisional load. Notify IWebFrameLoadDelegate of a provisional load being commited. * COM/WebDataSource.cpp: (WebDataSource::replaceRequest): * COM/WebDataSource.h: * COM/WebFrame.cpp: (WebFrame::receivedRedirect): (WebFrame::receivedResponse): (WebFrame::receivedData): WebKitTools: Reviewed by Maciej, landed by Brady Fix URL bar updating. * Spinneret/Spinneret/Spinneret.h: (SpinneretWebHost::didStartProvisionalLoadForFrame): (SpinneretWebHost::didCommitLoadForFrame): (SpinneretWebHost::didFinishLoadForFrame): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
Reviewed by Adam In very specific circumstances, prepared SQLStatements can become invalid without any warning. This checks for that state and re-prepares the statement and also adds more aggressive error-checking everywhere these statements are used. * loader/icon/IconDatabase.cpp: (WebCore::readySQLStatement): Check if the statement is expired - reprepare it (WebCore::IconDatabase::imageDataForIconURLQuery): More thoroughly catch error cases (WebCore::IconDatabase::timeStampForIconURLQuery): Ditto (WebCore::IconDatabase::iconURLForPageURLQuery): Ditto (WebCore::IconDatabase::forgetPageURLQuery): Ditto (WebCore::IconDatabase::setIconIDForPageURLQuery): Ditto (WebCore::IconDatabase::getIconIDForIconURLQuery): Ditto (WebCore::IconDatabase::addIconForIconURLQuery): Ditto (WebCore::IconDatabase::hasIconForIconURLQuery): Ditto * loader/icon/SQLStatement.cpp: (WebCore::SQLStatement::isExpired): Added (accessor to sqlite3_expired()) * loader/icon/SQLStatement.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 26 Sep, 2006 11 commits
-
-
darin authored
- clean up options for font code path * platform/Font.h: * platform/Font.cpp: (WebCore::Font::setCodePath): Added. Replaces boolean version. (WebCore::Font::canUseGlyphCache): Update to handle "never use complex" case too. * platform/mac/WebCoreTextRenderer.mm: (WebCoreSetAlwaysUseATSU): Change to call setCodePath. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sullivan authored
Reviewed by Darin * bridge/mac/WebCoreFrameBridge.h: * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge markAllMatchesForText:caseSensitive:limit:]): Added limit parameter, passed down to Frame * page/Frame.h: * page/Frame.cpp: (WebCore::Frame::markAllMatchesForText): Added limit parameter. Stop the search if it hits limit. WebKit: Reviewed by Darin * WebView/WebHTMLViewPrivate.h: * WebView/WebHTMLView.m: (-[WebHTMLView markAllMatchesForText:caseSensitive:limit:]): Added limit parameter, passed over the bridge. Stop the search if it hits limit. * WebView/WebViewPrivate.h: * WebView/WebView.m: (-[WebView markAllMatchesForText:caseSensitive:highlight:limit:]): Added limit parameter, passed to WebHTMLView. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
seangies authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
Reviewed by john <rdar://problem/4747695> Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent * editing/deleting/list-item-1-expected.checksum: Added. * editing/deleting/list-item-1-expected.png: Added. * editing/deleting/list-item-1-expected.txt: Added. * editing/deleting/list-item-1.html: Added. * editing/execCommand/remove-list-item-1-expected.checksum: Added. * editing/execCommand/remove-list-item-1-expected.png: Added. * editing/execCommand/remove-list-item-1-expected.txt: Added. * editing/execCommand/remove-list-item-1.html: Added. WebCore: Reviewed by john <rdar://problem/4747695> Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent * editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding to select special elements t...
-
harrison authored
Reviewed by John and TimH. <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty * editing/pasteboard/emacs-cntl-y-001-expected.checksum: Added. * editing/pasteboard/emacs-cntl-y-001-expected.png: Added. * editing/pasteboard/emacs-cntl-y-001-expected.txt: Added. * editing/pasteboard/emacs-cntl-y-001.html: Added. WebKit: Reviewed by John and TimH. <rdar://problem/4743256> Seed: Ctrl-Y key binding does nothing when kill ring is empty Use deleteBackward: when the killring string is empty. Was always using insertText:, but that ends up early-returning if the string to insert is empty. * WebView/WebHTMLView.m: (-[NSArray yank:]): (-[NSArray yankAndSelect:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ggaren authored
Temporary work-around for frame lifetime issue. * page/Frame.cpp: (WebCore::Frame::clear): (WebCore::Frame::disconnectOwnerElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig authored
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11038 Auto-generate DOMSVGElement for the Objective-C bindings - Auto-generates DOMSVGElement. - Make SVGExceptions work like all the other ExceptionCode extensions (Range, XPath, etc.) by adding SVGExceptionOffset and SVGExceptionMax. * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/js/kjs_binding.cpp: (KJS::): (KJS::setDOMException): * bindings/objc/DOMInternal.h: * bindings/objc/DOMInternal.mm: (raiseDOMException): * bindings/objc/DOMSVG.h: * bindings/objc/DOMSVGExecption.h: Added. * ksvg2/ksvg.h: * ksvg2/svg/SVGElement.cpp: (WebCore::SVGElement::setId): (WebCore::SVGElement::setXmlbase): * ksvg2/svg/SVGElement.h: * ksvg2/svg/SVGElement.idl: * ksvg2/svg/SVGException.h: Added. (WebCore::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by anders. * projects/svg/status.xml: update status to reflect current state of SVG development git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by Tim H. viewbox parser does not allow <tab> as a delimiter http://bugzilla.opendarwin.org/show_bug.cgi?id=11014 Test: svg/hixie/viewbox/003.xml * ksvg2/svg/svgpathparser.cpp: (WebCore::isWhitespace): new function (WebCore::skipOptionalSpaces): (WebCore::skipOptionalSpacesOrComma): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by Tim H. SVGDocument::createElement does not create elements in the SVG namespace http://bugzilla.opendarwin.org/show_bug.cgi?id=10932 Test: svg/custom/createelement.svg * ksvg2/svg/SVGDocument.cpp: (WebCore::SVGDocument::createElement): * ksvg2/svg/SVGDocument.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by Tim H. RenderPath::nodeAtPoint does not respect stroke width http://bugzilla.opendarwin.org/show_bug.cgi?id=10829 Test: svg/custom/stroke-width-click.svg * kcanvas/device/quartz/KCanvasItemQuartz.mm: (WebCore::RenderPath::strokeContains): * kcanvas/device/quartz/QuartzSupport.h: * kcanvas/device/quartz/QuartzSupport.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-