- 29 Jun, 2006 6 commits
-
-
mjs authored
- add headerdoc comments to some of the new JS API headers * API/JSBase.h: * API/JSValueRef.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin authored
Fix for <rdar://problem/4450615> Add composite mode to background styles -webkit-background-composite will set a composite mode on a background image. * css/CSSComputedStyleDeclaration.cpp: (WebCore::): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSPropertyNames.in: Add -webkit-background-composite * css/CSSValueKeywords.in: Add all possible values (clear, copy, source-over, source-in, source-out, source-atop, destination-over, destination-in, destination-out, destination-atop, xor, plus- darker, highlight, and plus-lighter) * css/cssparser.cpp: (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseBackgroundProperty): * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty): (WebCore::CSSStyleSelector::mapBackgroundComposite): * css/cssstyleselector.h: * platform/GraphicsContext.cpp: (WebCore::GraphicsContext::drawTiledImage): * platform/GraphicsContext.h: drawTiledImage() now takes a composite operator. * platform/Image.h: drawTiled() now takes a composite operator. * platform/cairo/ImageCairo.cpp: (WebCore::Image::drawTiled): Set the composite operator. * platform/mac/ImageMac.mm: (WebCore::Image::drawTiled): Set the composite operator. * platform/win/TemporaryLinkStubs.cpp: (Image::drawTiled): * rendering/RenderBox.cpp: (WebCore::RenderBox::paintBackgroundExtended): Send the composite operator in the render style over to the graphics context. * rendering/render_style.cpp: (WebCore::BackgroundLayer::BackgroundLayer): (WebCore::BackgroundLayer::operator=): (WebCore::BackgroundLayer::operator==): (WebCore::BackgroundLayer::fillUnsetProperties): (WebCore::BackgroundLayer::cullEmptyLayers): * rendering/render_style.h: (WebCore::BackgroundLayer::backgroundComposite): (WebCore::BackgroundLayer::isBackgroundCompositeSet): (WebCore::BackgroundLayer::setBackgroundComposite): (WebCore::BackgroundLayer::clearBackgroundComposite): (WebCore::RenderStyle::backgroundComposite): (WebCore::RenderStyle::initialBackgroundComposite): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tomernic authored
WebHistoryItem now supports getting and setting arbitrary properties via _transientPropertyForKey: and -_setTransientProperty:forKey:. For now, these properties do not persist with the rest of the history data. They are intended to hold transient per-history-item state, which is something that was until now difficult for a WebKit client app to do. * History/WebHistoryItemPrivate.h: * History/WebHistoryItem.m: (-[WebHistoryItemPrivate dealloc]): (-[WebHistoryItem _transientPropertyForKey:]): (-[WebHistoryItem _setTransientProperty:forKey:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
Smart insert and delete, continuous spell checking and autoscroll can now be used for any WebView, not just editable ones. All of these make sense for documents that might contain content editable areas or our new text fields. Autoscroll is usefull for dragging for file input controls also. Added a SPI to toggle WebViews tab key behavior, tabKeyCyclesThroughElements. WebHTMLView's _interceptEditingKeyEvent now uses WebView's tabKeyCyclesThroughElements state to determine whether or not to process tab key events. The idea here is that tabKeyCyclesThroughElements will be YES when this WebView is being used in a browser, and we desire the behavior where tab moves to the next element in tab order. If tabKeyCyclesThroughElements is NO, it is likely that the WebView is being embedded as the whole view, as in Mail, and tabs should input tabs as expected in a text editor. Using Option-Tab always cycles through elements. * WebView/WebHTMLRepresentation.m: (-[WebHTMLRepresentation finishedLoadingWithDataSource:]): * WebView/WebHTMLView.m: (-[NSArray _interceptEditingKeyEvent:]): * WebView/WebView.m: (-[WebViewPrivate init]): (-[WebView _autoscrollForDraggingInfo:timeDelta:]): (-[WebView _shouldAutoscrollForDraggingInfo:]): (-[WebView validateUserInterfaceItem:]): (-[WebView toggleSmartInsertDelete:]): (-[WebView toggleContinuousSpellChecking:]): (-[WebView setTabKeyCyclesThroughElements:]): (-[WebView tabKeyCyclesThroughElements]): * WebView/WebViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer authored
Reviewed by Darin. http://bugzilla.opendarwin.org/show_bug.cgi?id=9649 The no-svg build broke after r15091 * bindings/objc/DOMInternal.h: Added #if XPATH_SUPPORT/#endif. * bindings/objc/DOMInternal.mm: Ditto. (raiseDOMException): * bindings/objc/DOMXPath.h: Ditto. * bindings/objc/DOMXPath.mm: Ditto. * bindings/objc/DOMXPathInternal.h: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
2006-06-29 Anders Carlsson <acarlsson@apple.com> Reviewed by Tim O. <rdar://problem/4599760> Objective-C XPath support * WebCore.xcodeproj/project.pbxproj: Add files. * bindings/objc/DOMInternal.h: * bindings/objc/DOMInternal.mm: (raiseDOMException): Handle XPath exceptions * bindings/objc/DOMXPath.h: Added. (-[DOMXPathNSResolver lookupNamespaceURI:]): * bindings/objc/DOMXPath.mm: Added. (-[DOMNativeXPathNSResolver dealloc]): (-[DOMNativeXPathNSResolver finalize]): (-[DOMNativeXPathNSResolver _xpathNSResolver]): (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:]): (+[DOMNativeXPathNSResolver _xpathNSResolverWith:]): (-[DOMNativeXPathNSResolver lookupNamespaceURI:]): (-[DOMXPathResult dealloc]): (-[DOMXPathResult finalize]): (-[DOMXPathResult resultType]): (-[DOMXPathResult numberValue]): (-[DOMXPathResult stringValue]): (-[DOMXPathResult booleanValue]): (-[DOMXPathResult singleNodeValue]): (-[DOMXPathResult invalidIteratorState]): (-[DOMXPathResult snapshotLength]): (-[DOMXPathResult iterateNext]): (-[DOMXPathResult snapshotItem:]): (-[DOMXPathResult _xpathResult]): (-[DOMXPathResult _initWithXPathResult:]): (+[DOMXPathResult _xpathResultWith:]): (-[DOMXPathExpression evaluate:::]): (-[DOMXPathExpression _xpathExpression]): (-[DOMXPathExpression _initWithXPathExpression:]): (+[DOMXPathExpression _xpathExpressionWith:]): (-[DOMDocument createExpression::]): (-[DOMDocument createNSResolver:]): (-[DOMDocument evaluate:::::]): * bindings/objc/DOMXPathInternal.h: Added. Add Objective-C XPath API. WebKit: 2006-06-29 Anders Carlsson <acarlsson@apple.com> Reviewed by Tim O. * WebKit.xcodeproj/project.pbxproj: Add DOMXPath.h header. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Jun, 2006 14 commits
-
-
hyatt authored
Add support for custom highlighting to paint at the root line box level (and to inflate the box it uses so that it can go outside the bounds of the line if necessary). Reviewed by harrison * bridge/mac/FrameMac.h: * bridge/mac/FrameMac.mm: (WebCore::FrameMac::customHighlightLineRect): (WebCore::FrameMac::paintCustomHighlight): * bridge/mac/WebCoreFrameBridge.h: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintCustomHighlight): * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::paintCustomHighlight): (WebCore::RootInlineBox::paint): * rendering/RootInlineBox.h: WebKit: Fix custom highlighting so that you can paint the entire line (and go outside the bounds of the line). Reviewed by harrison * WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge customHighlightRect:forLine:]): (-[WebFrameBridge paintCustomHighlight:forBox:onLine:behindText:entireLine:]): * WebKit.xcodeproj/project.pbxproj: * WebView/WebHTMLViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- fix Frame leak on layout tests * WebCoreSupport/WebPageBridge.m: (-[WebPageBridge outerView]): Return WebFrameView for main frame instead of WebView to avoid reference cycle between WebView and Page. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lweintraub authored
Reviewed by justin <rdar://problem/4592005> FormatBlock inserts in the wrong place, disregarding editable content <rdar://problem/4590763> FormatBlock for paragraph style doesn't work * editing/execCommand/format-block-with-braces-expected.checksum: Added. * editing/execCommand/format-block-with-braces-expected.png: Added. * editing/execCommand/format-block-with-braces-expected.txt: Added. * editing/execCommand/format-block-with-braces.html: Added. * editing/execCommand/indent-list-item-expected.checksum: Added. * editing/execCommand/indent-list-item-expected.png: Added. * editing/execCommand/indent-list-item-expected.txt: Added. * editing/execCommand/indent-list-item.html: Added. * editing/execCommand/indent-selection-expected.checksum: Added. * editing/execCommand/indent-selection-expected.png: Added. * editing/execCommand/indent-selection-expected.txt: Added. * editing/execCommand/indent-selection.html: Added. * editing/execCommand/outdent-selection-expected.checksum: Added. * editing/execCommand/outdent-selection-expected.png: Added. * editing/execCommand/outdent-selection-expected.txt: Added. * editing/execCommand/outdent-selection.html: Added. WebCore: Reviewed by justin <rdar://problem/4592005> FormatBlock inserts in the wrong place, disregarding editable content <rdar://problem/4590763> FormatBlock for paragraph style doesn't work * dom/Node.cpp: (WebCore::Node::rootEditableElement): Return inline nodes * editing/FormatBlockCommand.cpp: (WebCore::FormatBlockCommand::doApply): Keep from inserting before editable content * editing/JSEditor.cpp: Support html braces (<>) around tag names git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
svg/custom/text-hit-test.svg was failing * rendering/RenderContainer.cpp: (WebCore::RenderContainer::positionForCoordinates): Don't skip child renderers that have a height of 0 when looking for the closest child renderer, they may contain content that overflows. * rendering/RenderText.cpp: (WebCore::RenderText::positionForCoordinates): Fixed typos. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
highlight the JS yet, but it shows up properly now. Reviewed by john * WebCore.xcodeproj/project.pbxproj: * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::scriptHandler): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
Prefer the Stabs debugging symbols format until DWARF bugs are fixed. * JavaScriptCore.xcodeproj/project.pbxproj: JavaScriptGlue: Prefer the Stabs debugging symbols format until DWARF bugs are fixed. * JavaScriptGlue.xcodeproj/project.pbxproj: WebCore: Prefer the Stabs debugging symbols format until DWARF bugs are fixed. * WebCore.xcodeproj/project.pbxproj: WebKit: Prefer the Stabs debugging symbols format until DWARF bugs are fixed. * WebKit.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
Fixed EditActions for InsertHorizontalRule and RemoveFormat. * editing/JSEditor.cpp: * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::ReplaceSelectionCommand): (WebCore::ReplaceSelectionCommand::editingAction): * editing/ReplaceSelectionCommand.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aliceli1 authored
added google spreadsheets and yahoo mail beta, moved google calendar and yahoo preview to alumni list. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lweintraub authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lweintraub authored
* editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::indentRegion): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lweintraub authored
Reviewed by justin http://bugzilla.opendarwin.org/show_bug.cgi?id=7568 Bug 7568: Implement Indent/Outdent * editing/execCommand/indent-list-item-expected.checksum: Added. * editing/execCommand/indent-list-item-expected.png: Added. * editing/execCommand/indent-list-item-expected.txt: Added. * editing/execCommand/indent-list-item.html: Added. * editing/execCommand/indent-selection-expected.checksum: Added. * editing/execCommand/indent-selection-expected.png: Added. * editing/execCommand/indent-selection-expected.txt: Added. * editing/execCommand/indent-selection.html: Added. * editing/execCommand/outdent-selection.html: Added. WebCore: Reviewed by justin http://bugzilla.opendarwin.org/show_bug.cgi?id=7568 Bug 7568: Implement Indent/Outdent * WebCore.vcproj/WebCore/WebCore.vcproj: Added IndentOutdentCommand.h/cpp * WebCore.xcodeproj/project.pbxproj: Ditto. * editing/IndentOutdentCommand.cpp: Added. (WebCore::IndentOutdentCommand::IndentOutdentCommand): (WebCore::enclosingListOrBlockquote): (WebCore::IndentOutdentCommand::splitTreeToNode): Splits the DOM tree from a descendent node to an ending ancestor, duplicating nodes when necessary. Returns the last node split. Used to insert blockquotes at the topmost level. (WebCore::IndentOutdentCommand::indentRegion): (WebCore::IndentOutdentCommand::outdentParagraph): (WebCore::IndentOutdentCommand::outdentRegion): (WebCore::IndentOutdentCommand::doApply): * editing/IndentOutdentCommand.h: Added. (WebCore::IndentOutdentCommand::): * editing/JSEditor.cpp: Added the execCommands Indent and Outdent * editing/htmlediting.cpp: (WebCore::enclosingNodeWithTag): Finds the enclosing node with any specified tag. (WebCore::enclosingListChild): Added checks for nill and editable boundaries. (WebCore::outermostEnclosingListChild): Returns the highest ancestor list child. (WebCore::highestAncestor): Added. (WebCore::createElement): Changed the passed in string to a const reference. * editing/htmlediting.h: WebKit: Reviewed by justin http://bugzilla.opendarwin.org/show_bug.cgi?id=7568 Bug 7568: Implement Indent/Outdent Added undo action strings and enum values * English.lproj/Localizable.strings: * WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge nameForUndoAction:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Reviewed by Darin and Hyatt. - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9561 REGRESSION: Content property on :before of button causes hang on click or hover * fast/forms/button-generated-content-expected.checksum: Added. * fast/forms/button-generated-content-expected.png: Added. * fast/forms/button-generated-content-expected.txt: Added. * fast/forms/button-generated-content.html: Added. WebCore: Reviewed by Darin and Hyatt. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9561 REGRESSION: Content property on :before of button causes hang on click or hover Test: fast/forms/button-generated-content.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::setStyle): * rendering/RenderButton.cpp: (WebCore::RenderButton::updatePseudoChild): Added. Calls updatePseudoChildForObject() on the button itself or on its inner div, if it has one. * rendering/RenderButton.h: (WebCore::RenderButton::createsAnonymousWrapper): Added. Returns true. * rendering/RenderContainer.cpp: (WebCore::RenderContainer::pseudoChild): Added. Returns the child containing generated content of the requested type if there is one, or otherwise the child before/after which such generated content should come. (WebCore::RenderContainer::updatePseudoChild): Removed the child parameter and moved the guts of this method into updatePseudoChildForObject, which this method calls unless the object is an anonymous wrapper. (WebCore::RenderContainer::updatePseudoChildForObject): Added. Does the what updatePseudoChildForObject did previously, but fetches the pseudo style from the styledObject parameter. * rendering/RenderContainer.h: * rendering/RenderInline.cpp: (WebCore::RenderInline::setStyle): (WebCore::RenderInline::addChildToFlow): (WebCore::RenderInline::splitInlines): (WebCore::RenderInline::splitFlow): * rendering/RenderObject.h: (WebCore::RenderObject::createsAnonymousWrapper): Added. This method replaces allowsReusingAnonymousChild and returns the opposite of what that method used to return. Returns true if the object creates an anonymous child to contain all its other children. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Improved test to check offsetX/Y after dispatching instead of before. * fast/dom/window-xy-properties.html: * fast/dom/window-xy-properties-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
Reviewed by Maciej Hookup the new semi-functional SQLite icon database. For now, it is living side-by-side with the old DB so one can compare the two for debugging purposes. Also, it is disabled (in WebKit) by default unless you compile with ICONDEBUG #defined. * WebCore.xcodeproj/project.pbxproj: Added file SiteIcon.cpp * bridge/mac/WebCoreIconDatabaseBridge.h: * bridge/mac/WebCoreIconDatabaseBridge.mm: (-[WebCoreIconDatabaseBridge privateBrowsingEnabled]): (-[WebCoreIconDatabaseBridge iconForPageURL:withSize:]): (-[WebCoreIconDatabaseBridge iconURLForPageURL:]): (-[WebCoreIconDatabaseBridge _setIconData:forIconURL:]): * icon/IconDatabase.cpp: (WebCore::IconDatabase::isValidDatabase): (WebCore::IconDatabase::recreateDatabase): (WebCore::IconDatabase::createPrivateTables): (WebCore::IconDatabase::deletePrivateTables): (WebCore::IconDatabase::imageDataForIconID): (WebCore::IconDatabase::imageDataForIconURL): (WebCore::IconDatabase::imageDataForPageURL): (WebCore::IconDatabase::setPrivateBrowsingEnabled): (WebCore::IconDatabase::iconForPageURL): (WebCore::IconDatabase::iconURLForURL): (WebCore::IconDatabase::setIconDataForIconURL): (WebCore::IconDatabase::establishIconIDForEscapedIconURL): (WebCore::IconDatabase::setHaveNoIconForIconURL): (WebCore::IconDatabase::setIconURLForPageURL): (WebCore::IconDatabase::hasIconForIconURL): * icon/IconDatabase.h: (WebCore::SiteIcon::getIconURL): (WebCore::IconDatabase::getPrivateBrowsingEnabled): * icon/SiteIcon.cpp: Added. (SiteIcon::SiteIcon): (SiteIcon::~SiteIcon): (SiteIcon::getImage): (SiteIcon::resetExpiration): (SiteIcon::getExpiration): WebKit: Reviewed by Maciej Hookup the new semi-functional SQLite icon database. For now, it is living side-by-side with the old DB so one can compare the two for debugging purposes. Also, it is disabled (in WebKit) by default unless you compile with ICONDEBUG #defined. Note: To repeat that, if you want to try the new DB, #define ICONDEBUG (WebKitPrefix.h is a good place to do it) * Misc/WebIconDatabase.m: (-[NSMutableDictionary iconForURL:withSize:cache:]): (-[NSMutableDictionary iconURLForURL:]): (-[NSMutableDictionary retainIconForURL:]): (-[NSMutableDictionary releaseIconForURL:]): (-[WebIconDatabase _setHaveNoIconForIconURL:]): (-[WebIconDatabase _setIconURL:forURL:]): (-[WebIconDatabase _hasIconForIconURL:]): (-[WebIconDatabase _resetCachedWebPreferences:]): * Misc/WebIconLoader.m: (-[WebIconLoader didFinishLoading]): * WebKit.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Jun, 2006 20 commits
-
-
darin authored
Reviewed by Darin. Updated test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9605 * fast/dom/window-xy-properties.html: * fast/dom/window-xy-properties-expected.txt: WebCore: Reviewed by Darin. http://bugzilla.opendarwin.org/show_bug.cgi?id=9605 REGRESSION: pageX and pageY are both 0 for events created with initMouseEvent Calculate pageX/pageY and clientX/clientY values when using initMouseEvent. * dom/MouseEvent.cpp: (WebCore::MouseEvent::initMouseEvent): * dom/MouseRelatedEvent.cpp: (WebCore::MouseRelatedEvent::initCoordinates): * dom/MouseRelatedEvent.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Reviewed by Darin. - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=9317 REGRESSION: crash in HTML tokenizer at Japanese Apple support page * fast/tokenizer/write-unclosed-script-expected.txt: Added. * fast/tokenizer/write-unclosed-script.html: Added. WebCore: Reviewed by Maciej and Darin. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9317 REGRESSION: crash in HTML tokenizer at Japanese Apple support page Test: fast/tokenizer/write-unclosed-script.html * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::scriptHandler): Changed to reset the inScript flag and scriptCodeSize before possible script execution, but not afterwards. This way, if script execution write()s a <script> tag without closing it, the tokenizer is left in inScript state. Added code to set the requestingScript flag around the request for the cached script, to let notifiyFinished() know that it's being called under scriptHandler(). (WebCore::HTMLTokenizer::scriptExecution): Removed code that saved and restored the inScript flag. This function is always entered now with inScript being false. (WebCore::HTMLTokenizer::notifyFinished): Changed to use the new requestingScript state flag instead of the inScript flag, which is always false now when entering this function. * html/HTMLTokenizer.h: Added the requestingScript state bit, used to tell notifyFinished() that it is being called under scriptHandler() (which happens when the script is already in cache). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
Reviewed by levi * editing/execCommand/remove-formatting-expected.checksum: Added. * editing/execCommand/remove-formatting-expected.png: Added. * editing/execCommand/remove-formatting-expected.txt: Added. * editing/execCommand/remove-formatting.html: Added. WebCore: Reviewed by levi * editing/JSEditor.cpp: Added RemoveFormat. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kdecker authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
<rdar://problem/4448350> Deprecated ObjC language API used in JavaScriptCore, WebCore, WebKit and WebBrowser Switch to the new ObjC 2 API, ifdefed the old code around OBJC_API_VERSION so it still works on Tiger. Removed the use of the old stringWithCString, switched to the new Tiger version that accepts an encoding. Lots of code style cleanup. * JavaScriptCore.xcodeproj/project.pbxproj: * bindings/objc/objc_class.h: * bindings/objc/objc_class.mm: (KJS::Bindings::ObjcClass::~ObjcClass): (KJS::Bindings::_createClassesByIsAIfNecessary): (KJS::Bindings::ObjcClass::classForIsA): (KJS::Bindings::ObjcClass::name): (KJS::Bindings::ObjcClass::methodsNamed): (KJS::Bindings::ObjcClass::fieldNamed): (KJS::Bindings::ObjcClass::fallbackObject): * bindings/objc/objc_header.h: * bindings/objc/objc_instance.h: * bindings/objc/objc_instance.mm: (ObjcInstance::ObjcInstance): (ObjcInstance::~ObjcInstance): (ObjcInstance::operator=): (ObjcInstance::begin): (ObjcInstance::end): (ObjcInstance::getClass): (ObjcInstance::invokeMethod): (ObjcInstance::invokeDefaultMethod): (ObjcInstance::setValueOfField): (ObjcInstance::supportsSetValueOfUndefinedField): (ObjcInstance::setValueOfUndefinedField): (ObjcInstance::getValueOfField): (ObjcInstance::getValueOfUndefinedField): (ObjcInstance::defaultValue): (ObjcInstance::stringValue): (ObjcInstance::numberValue): (ObjcInstance::booleanValue): (ObjcInstance::valueOf): * bindings/objc/objc_runtime.h: * bindings/objc/objc_runtime.mm: (ObjcMethod::ObjcMethod): (ObjcMethod::name): (ObjcMethod::getMethodSignature): (ObjcMethod::setJavaScriptName): (ObjcField::name): (ObjcField::type): (ObjcField::valueFromInstance): (convertValueToObjcObject): (ObjcField::setValueToInstance): (ObjcArray::operator=): (ObjcArray::setValueAt): (ObjcArray::valueAt): (ObjcFallbackObjectImp::ObjcFallbackObjectImp): (ObjcFallbackObjectImp::callAsFunction): (ObjcFallbackObjectImp::defaultValue): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Reviewed by Geoff. http://bugzilla.opendarwin.org/show_bug.cgi?id=8636 REGRESSION: JavaScript access to Java applet causes hang (_webViewURL not implemented) * bindings/jni/jni_objc.mm: (KJS::Bindings::dispatchJNICall): Just pass nil as the calling URL. This will cause the Java plugin to use the URL of the page containing the applet (which is what we used to do). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Reviewed by Darin. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Move FIXME comment here. * page/DOMWindow.cpp: (WebCore::DOMWindow::getComputedStyle): Don't do a null check on the renderer here. Everything's handled by CSSComputedStyleDeclaration anyway. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
* rendering/RenderContainer.cpp: Fixed #include formatting. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
justing authored
Reviewed by levi <rdar://problem/4599735> Clicking out of a table at the extremes of an editable document doesn't appear to work Added: * editing/selection/click-before-and-after-table-expected.txt: Added. * editing/selection/click-before-and-after-table.html: Added. Updated to reflect fix: * editing/selection/move-by-line-001-expected.checksum: * editing/selection/move-by-line-001-expected.png: WebCore: Reviewed by levi <rdar://problem/4599735> Clicking out of a table at the extremes of an editable document doesn't appear to work * rendering/RenderBlock.cpp: (WebCore::RenderBlock::positionForCoordinates): In the fall through case, where we can't find a child block that contains (x, y), pass to RenderFlow instead of the last visible child block. * rendering/RenderContainer.cpp: (WebCore::RenderContainer::positionForCoordinates): Don't pass to the closest child renderer if this is a table and (x, y) is outside the table. Return a VisiblePosition before or after the table. Fixed the code that finds the closest child renderer. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
the entities yet, but it at least prevents their resolution and removal. Reviewed by darin * WebCore.xcodeproj/project.pbxproj: * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::parseEntity): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
2006-06-27 Anders Carlsson <acarlsson@apple.com> Reviewed by Geoff. http://bugzilla.opendarwin.org/show_bug.cgi?id=9623 REGRESSION: getComputedStyle should do a relayout * page/DOMWindow.cpp: (WebCore::DOMWindow::getComputedStyle): Do a relayout. LayoutTests: 2006-06-27 Anders Carlsson <acarlsson@apple.com> Reviewed by Geoff. http://bugzilla.opendarwin.org/show_bug.cgi?id=9623 REGRESSION: getComputedStyle should do a relayout * fast/css/getComputedStyle-relayout-expected.txt: Added. * fast/css/getComputedStyle-relayout.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
<rdar://problem/4406785> Add an export file to TOT JavaScriptCore like the Safari-2-0-branch * JavaScriptCore.exp: Added. * JavaScriptCore.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
- fixed <rdar://problem/4550473> Reproducible hang on www.digg.com * dom/NodeList.cpp: (WebCore::NodeList::recursiveItem): Make NodeList caching also work for backwards iteration - if the requested index is before the last cached, but closer to it than to the start of the list, then search backwards from there. (WebCore::NodeList::itemForwardsFromCurrent): Split this out as a helper method. (WebCore::NodeList::itemBackwardsFromCurrent): New helper, similar to the above. * dom/NodeList.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
Some SQLDatabase cleanup (style stuff) and enhancements * icon/SQLDatabase.cpp: (SQLDatabase::open): (SQLDatabase::executeCommand): (SQLDatabase::returnsAtLeastOneResult): Accessor to see if this query returns results (SQLDatabase::lastInsertRowID): Accessor for the rowid of the last insert * icon/SQLDatabase.h: (WebCore::SQLStatement::prepareAndStep): * icon/SQLStatement.cpp: (WebCore::SQLStatement::bindInt64): -All of the following used to require the user to manually prepare and step a statement before asking for the result. Now it will prepare and step itself so you can use a temporary object to get a quick result (WebCore::SQLStatement::getColumnName): (WebCore::SQLStatement::getColumnName16): (WebCore::SQLStatement::getColumnText): (WebCore::SQLStatement::getColumnText16): (WebCore::SQLStatement::getColumnDouble): (WebCore::SQLStatement::getColumnInt): (WebCore::SQLStatement::getColumnInt64): (WebCore::SQLStatement::getColumnBlobAsVector): (WebCore::SQLStatement::getColumnBlob): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adachan authored
Reviewed by sfalken. Fixed build. * WebCore.vcproj/WebCore/WebCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin authored
Fix for <rdar://problem/4602635> Media queries must be extended to address CSS pixel scaling factor * css/MediaFeatureNames.h: Add -webkit-device-pixel-ratio, -webkit- min-device-pixel-ratio, and -webkit-max-device-pixel-ratio to the list of feature names. * css/MediaQueryEvaluator.cpp: (WebCore::cmpvalue): Added a version of cmpvalue that compares floats. (WebCore::device_pixel_ratioMediaFeatureEval): (WebCore::min_device_pixel_ratioMediaFeatureEval): (WebCore::max_device_pixel_ratioMediaFeatureEval): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
- finish with http://bugzilla.opendarwin.org/show_bug.cgi?id=9606 REGRESSION: some callers are still using clientX/Y to get pageX/Y * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::userResize): Change to use pageX/Y, but this really doesn't matter since framesets can't be scrolled -- it's the frames that are scrolled. So this change has no user-visible effect, but it's still better this way. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Tests for fix for 2/3 of http://bugzilla.opendarwin.org/show_bug.cgi?id=9606 REGRESSION: some callers are still using clientX/Y to get pageX/Y * fast/events/anchor-image-scrolled-x-y-expected.txt: Added. * fast/events/anchor-image-scrolled-x-y.html: Added. * fast/events/input-image-scrolled-x-y-expected.txt: Added. * fast/events/input-image-scrolled-x-y.html: Added. WebCore: Reviewed by Geoff. - fix 2/3 of http://bugzilla.opendarwin.org/show_bug.cgi?id=9606 REGRESSION: some callers are still using clientX/Y to get pageX/Y Test: fast/events/anchor-image-scrolled-x-y.html Test: fast/events/input-image-scrolled-x-y.html * html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::defaultEventHandler): Use pageX/Y. * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::defaultEventHandler): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-