- 29 Sep, 2006 18 commits
-
-
ggaren authored
Reviewed by John, Maciej. Added test for whether a frame element reports its src attribute as a complete, rather than relative, URL. * fast/frames/frame-src-attribute-expected.txt: Added. * fast/frames/frame-src-attribute.html: Added. * fast/frames/resources/frame-src-attribute-subframe.html: Added. WebCore: Reviewed by John, Maciej. Integrated some frame and iframe code. I'm trying to fix up frame ownership and loading. Reducing the number of different code paths involved seemed like a good first step. As a side effect, I fixed a bug where FRAME elements would report their src attributes as relative, rather than compelete, URLs. (IFRAME elements had the correct complete URL behavior.) * html/HTMLFrameElement.cpp: (WebCore::HTMLFrameElement::isURLAllowed): Fixed comment typo (WebCore::HTMLFrameElement::openURL): (1) Removed checks that requestFrame does for us (2) Added isURLAllowed check, to have one clear bottleneck for it (3) Added viewsource check, to have one clear bottleneck for it (WebCore::HTMLFrameElement::close): Changed to use the common contentFrame() method, instead of finding our content frame in our own unique way. (WebCore::HTMLFrameElement::setLocation): Removed isURLAllowed check, since openURL does this for us now. (WebCore::HTMLFrameElement::src): Return complete URL instead of relative. This is what FF does, and it made no sense to have different behaviors for FRAME and IFRAME elements. * html/HTMLIFrameElement.cpp: (WebCore::HTMLIFrameElement::HTMLIFrameElement): Removed duplicate init code. * html/HTMLIFrameElement.h: Removed src() and openURL() methods, since HTMLFrameElement now does everything we need. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis authored
Fix Qt/Linux build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig authored
Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11082 Simplify Internal methods for the auto-generated Objective-C DOM code - Auto-generate the internal methods for more Objective-C classes. * WebCore.xcodeproj/project.pbxproj: * bindings/objc/DOM.mm: * bindings/objc/DOMCSS.mm: (-[DOMStyleSheet WebCore::]): (+[DOMStyleSheet _styleSheetWith:WebCore::]): (-[DOMCSSRule WebCore::]): (-[DOMCSSRule _initWithCSSRule:WebCore::]): (+[DOMCSSRule _CSSRuleWith:WebCore::]): (-[DOMCSSValue WebCore::]): (-[DOMCSSValue _initWithCSSValue:WebCore::]): (+[DOMCSSValue _CSSValueWith:WebCore::]): * bindings/objc/DOMHTMLAppletElement.mm: (-[DOMHTMLAppletElement WebCore::]): (+[DOMHTMLAppletElement _HTMLOptionElementWith:WebCore::]): * bindings/objc/DOMHTMLEmbedElement.mm: (-[DOMHTMLEmbedElement WebCore::]): (+[DOMHTMLEmbedElement _HTMLEmbedElementWith:WebCore::]): * bindings/objc/DOMInternal.h: * bindings/objc/DOMInternal.mm: * bindings/scripts/CodeGeneratorObjC.pm: * css/CSSCharsetRule.idl: * css/CSSFontFaceRule.idl: * css/CSSImportRule.idl: * css/CSSMediaRule.idl: * css/CSSPageRule.idl: * css/CSSPrimitiveValue.idl: * css/CSSStyleRule.idl: * css/CSSStyleSheet.idl: * css/CSSUnknownRule.idl: * css/CSSValueList.idl: * dom/KeyboardEvent.idl: * dom/MouseEvent.idl: * dom/MutationEvent.idl: * dom/NodeIterator.idl: * dom/OverflowEvent.idl: * dom/UIEvent.idl: * dom/WheelEvent.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
Reviewed by John Sullivan. <rdar://problem/4663772> REGRESSION: Cannot type in Japanese after replying to a particular message <rdar://problem/4673293> REGRESSION: Can't enter the Japanese characters in Mail or Blot * fast/text/attributed-substring-from-range-001-expected.txt: Added. * fast/text/attributed-substring-from-range-001.html: Added. Check attributed string results when starting or ending at a br element. WebCore: Reviewed by John Sullivan. <rdar://problem/4663772> REGRESSION: Cannot type in Japanese after replying to a particular message <rdar://problem/4673293> REGRESSION: Can't enter the Japanese characters in Mail or Blot Test added * fast/text/attributed-substring-from-range-001.html * bridge/mac/FrameMac.mm: (WebCore::FrameMac::attributedString): Handle non-zero offsets when start and/or end node is a container. Offset used to be ignored in this case. Also, add validation of the range. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
Switch the inspector over to use border-image with styled buttons and selects. * WebInspector/WebInspector.m: (-[NSWindow window]): (-[NSWindow setWebFrame:]): (-[WebInspector _updateRoot]): * WebInspector/webInspector/Images/button.png: Added. * WebInspector/webInspector/Images/buttonDivider.png: Added. * WebInspector/webInspector/Images/buttonPressed.png: Added. * WebInspector/webInspector/Images/popup.png: Added. * WebInspector/webInspector/Images/popupFill.png: Removed. * WebInspector/webInspector/Images/popupFillPressed.png: Removed. * WebInspector/webInspector/Images/popupLeft.png: Removed. * WebInspector/webInspector/Images/popupLeftPressed.png: Removed. * WebInspector/webInspector/Images/popupPressed.png: Added. * WebInspector/webInspector/Images/popupRight.png: Removed. * WebInspector/webInspector/Images/popupRightPressed.png: Removed. ...
-
rwlbuis authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis authored
http://bugzilla.opendarwin.org/show_bug.cgi?id=10893 InsertRule can not handle @import statements Allow @import as part of a css rule. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Sep, 2006 19 commits
-
-
sfalken authored
Reviewed by Maciej. Use $(ConfigSuffix) set via vsprops files to add _debug to end of debug filenames. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: * JavaScriptCore.vcproj/debug.vsprops: Added. * JavaScriptCore.vcproj/dftables/dftables.vcproj: * JavaScriptCore.vcproj/release.vsprops: Added. * JavaScriptCore.vcproj/testkjs/testkjs.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
* bridge/mac/FrameMac.mm: (WebCore::FrameMac::eventMayStartDrag): (WebCore::FrameMac::dragHysteresisExceeded): (WebCore::FrameMac::mouseDown): (WebCore::FrameMac::shouldDragAutoNode): (WebCore::FrameMac::sendContextMenuEvent): * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge _visiblePositionForPoint:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aliceli1 authored
* WebCore.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aliceli1 authored
* WebCore.vcproj/WebCore/WebCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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 St...
-
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: * bindings/objc/DOMSVG.h: * bindings/scripts/CodeGenerator.pm: * bindings/scripts/CodeGeneratorObjC.pm: * ksvg2/svg/SVGAnimatedAngle.idl: * ksvg2/svg/SVGAnimatedBoolean.idl: * ksvg2/svg/SVGAnimatedEnumeration.idl: * ksvg2/svg/SVGAnimatedInteger.idl: * ksvg2/svg/SVGAnimatedLength.idl: * ksvg2/svg/SVGAnimatedLengthList.idl: * ksvg2/svg/SVGAnimatedNumber.idl: * ksvg2/svg/SVGAnimatedPathData.idl: * ksvg2/svg/SVGAnimatedString.idl: * ksvg2/svg/SVGAnimatedTransformList.idl: * ksvg2/svg/SVGExternalResourcesRequired.idl: * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: * ksvg2/svg/SVGFitToViewBox.idl: * ksvg2/svg/SVGLangSpace.idl: * ksvg2/svg/SVGLocatable.idl: * ksvg2/svg/SVGMetadataElement.idl: * ksvg2/svg/SVGStringList.idl: * ksvg2/svg/SVGStylable.idl: * ksvg2/svg/SVGStyleElement.idl: * ksvg2/svg/SVGTests.idl: * ksvg2/svg/SVGTransformable.idl: * ksvg2/svg/SVGURIReference.idl: * ksvg2/svg/SVGUnitTypes.idl: * ksvg2/svg/SVGZoomAndPan.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
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 3 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
-