1 2006-09-26 Sean Gies <seangies@apple.com>
3 Reviewed by Brady Eidson.
5 * platform/cg/ImageCG.cpp: Removed #if's -- Darin said we don't need these.
7 2006-09-26 Justin Garcia <justin.garcia@apple.com>
11 <rdar://problem/4747695>
12 Gmail Editor: Crash at WebCore::Range::startPosition() when decreasing a indent
14 * editing/DeleteSelectionCommand.cpp:
15 (WebCore::DeleteSelectionCommand::initializeStartEnd): Stop expanding
16 to select special elements that are fully selected after expansion
17 moves to positions that are visually distinct from the originals.
18 * editing/InsertListCommand.cpp:
19 (WebCore::InsertListCommand::doApply): If the content of the list
20 item will be moved into another list, put it in a list item.
22 2006-09-26 Geoffrey Garen <ggaren@apple.com>
26 Temporary work-around for frame lifetime issue.
29 (WebCore::Frame::clear):
30 (WebCore::Frame::disconnectOwnerElement):
32 2006-09-26 Sam Weinig <sam.weinig@gmail.com>
36 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11038
37 Auto-generate DOMSVGElement for the Objective-C bindings
39 - Auto-generates DOMSVGElement.
41 - Make SVGExceptions work like all the other ExceptionCode
42 extensions (Range, XPath, etc.) by adding SVGExceptionOffset
45 * DerivedSources.make:
46 * WebCore.xcodeproj/project.pbxproj:
47 * bindings/js/kjs_binding.cpp:
49 (KJS::setDOMException):
50 * bindings/objc/DOMInternal.h:
51 * bindings/objc/DOMInternal.mm:
53 * bindings/objc/DOMSVG.h:
54 * bindings/objc/DOMSVGExecption.h: Added.
56 * ksvg2/svg/SVGElement.cpp:
57 (WebCore::SVGElement::setId):
58 (WebCore::SVGElement::setXmlbase):
59 * ksvg2/svg/SVGElement.h:
60 * ksvg2/svg/SVGElement.idl:
61 * ksvg2/svg/SVGException.h: Added.
64 2006-09-26 Eric Seidel <eric@eseidel.com>
68 viewbox parser does not allow <tab> as a delimiter
69 http://bugzilla.opendarwin.org/show_bug.cgi?id=11014
71 Test: svg/hixie/viewbox/003.xml
73 * ksvg2/svg/svgpathparser.cpp:
74 (WebCore::isWhitespace): new function
75 (WebCore::skipOptionalSpaces):
76 (WebCore::skipOptionalSpacesOrComma):
78 2006-09-26 Eric Seidel <eric@eseidel.com>
82 SVGDocument::createElement does not create elements in the SVG namespace
83 http://bugzilla.opendarwin.org/show_bug.cgi?id=10932
85 Test: svg/custom/createelement.svg
87 * ksvg2/svg/SVGDocument.cpp:
88 (WebCore::SVGDocument::createElement):
89 * ksvg2/svg/SVGDocument.h:
91 2006-09-26 Eric Seidel <eric@eseidel.com>
95 RenderPath::nodeAtPoint does not respect stroke width
96 http://bugzilla.opendarwin.org/show_bug.cgi?id=10829
98 Test: svg/custom/stroke-width-click.svg
100 * kcanvas/device/quartz/KCanvasItemQuartz.mm:
101 (WebCore::RenderPath::strokeContains):
102 * kcanvas/device/quartz/QuartzSupport.h:
103 * kcanvas/device/quartz/QuartzSupport.mm:
105 2006-09-26 Eric Seidel <eric@eseidel.com>
109 Bring animation back to life
110 http://bugzilla.opendarwin.org/show_bug.cgi?id=11021
112 Register/unregister SVGSVGElements as time containers on insertion/removal.
113 Replace uses of DeprecatedString with String in SVGAnimationElement
114 Various whitespace clean-up.
116 * ksvg2/misc/KSVGTimeScheduler.cpp:
117 (WebCore::SVGTimer::notifyAll):
118 * ksvg2/misc/SVGDocumentExtensions.cpp:
119 (WebCore::SVGDocumentExtensions::startAnimations):
120 (WebCore::SVGDocumentExtensions::pauseAnimations):
121 (WebCore::SVGDocumentExtensions::unpauseAnimations):
122 * ksvg2/svg/SVGAnimateTransformElement.cpp:
123 (WebCore::SVGAnimateTransformElement::handleTimerEvent):
124 (WebCore::SVGAnimateTransformElement::parseTransformValue):
125 * ksvg2/svg/SVGAnimateTransformElement.h:
126 * ksvg2/svg/SVGAnimationElement.cpp:
127 (WebCore::SVGAnimationElement::SVGAnimationElement):
128 (WebCore::SVGAnimationElement::parseMappedAttribute):
129 (WebCore::SVGAnimationElement::parseClockValue):
130 (WebCore::SVGAnimationElement::targetAttribute):
131 (WebCore::SVGAnimationElement::setTargetAttribute):
132 (WebCore::SVGAnimationElement::attributeName):
133 * ksvg2/svg/SVGAnimationElement.h:
134 (WebCore::SVGAnimationElement::rendererIsNeeded):
135 * ksvg2/svg/SVGSVGElement.cpp:
136 (WebCore::SVGSVGElement::getScreenCTM):
137 (WebCore::SVGSVGElement::createRenderer):
138 (WebCore::SVGSVGElement::insertedIntoDocument): added, calls addTimeContainer(this)
139 (WebCore::SVGSVGElement::removedFromDocument): added, calls removeTimeContainer(this)
140 * ksvg2/svg/SVGSVGElement.h:
141 * ksvg2/svg/SVGSetElement.cpp:
142 (WebCore::SVGSetElement::handleTimerEvent):
143 * ksvg2/svg/SVGURIReference.cpp:
144 (WebCore::SVGURIReference::getTarget):
145 * ksvg2/svg/SVGURIReference.h:
147 2006-09-26 Graham Dennis <graham.dennis@gmail.com>
149 Reviewed by mitzpettel.
151 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=11020
152 No-SVG build broken since r16549
154 Change #if SVG_SUPPORT to #ifdef SVG_SUPPORT
157 (WebCore::CSSParser::parseValue):
158 * css/cssstyleselector.cpp:
159 (WebCore::CSSStyleSelector::applyProperty):
160 * page/FrameView.cpp:
161 (WebCore::selectCursor):
162 * platform/qt/GraphicsContextQt.cpp:
164 2006-09-26 Anders Carlsson <acarlsson@apple.com>
168 http://bugzilla.opendarwin.org/show_bug.cgi?id=10820
169 Add StringImpl::toDouble() and remove uses of .deprecatedString().toDouble()
171 (Originally written by Eric Seidel).
173 * bindings/js/kjs_window.cpp:
175 * ksvg2/svg/SVGAngle.cpp:
176 (SVGAngle::setValueAsString):
177 * ksvg2/svg/SVGAnimationElement.cpp:
178 (SVGAnimationElement::parseMappedAttribute):
179 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
180 (SVGComponentTransferFunctionElement::parseMappedAttribute):
181 * ksvg2/svg/SVGFECompositeElement.cpp:
182 (WebCore::SVGFECompositeElement::parseMappedAttribute):
183 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
184 (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
185 * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
186 (SVGFEDisplacementMapElement::parseMappedAttribute):
187 * ksvg2/svg/SVGFELightElement.cpp:
188 (SVGFELightElement::parseMappedAttribute):
189 * ksvg2/svg/SVGFEOffsetElement.cpp:
190 (WebCore::SVGFEOffsetElement::parseMappedAttribute):
191 * ksvg2/svg/SVGFESpecularLightingElement.cpp:
192 (SVGFESpecularLightingElement::parseMappedAttribute):
193 * ksvg2/svg/SVGFETurbulenceElement.cpp:
194 (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
195 * ksvg2/svg/SVGStopElement.cpp:
196 (SVGStopElement::parseMappedAttribute):
197 * platform/AtomicString.h:
198 (WebCore::AtomicString::toDouble):
199 * platform/PlatformString.h:
200 * platform/String.cpp:
201 (WebCore::String::toDouble):
202 * platform/StringImpl.cpp:
203 (WebCore::StringImpl::toDouble):
204 * platform/StringImpl.h:
205 * rendering/DeprecatedSlider.cpp:
206 (WebCore::DeprecatedSlider::updateFromElement):
207 * xml/XPathGrammar.y:
209 2006-09-25 David Harrison <harrison@apple.com>
211 Reviewed by Tim Omernick and Tim Hatcher.
213 <rdar://problem/4717965> Text Field text parameterized attributes should work
214 <rdar://problem/4712111> Support NSAccessibilityInsertionPointLineNumberAttribute for AXTextArea elements
216 * bridge/mac/WebCoreAXObject.mm:
217 (-[WebCoreAXObject accessibilityAttributeValue:]):
218 Use new line number support to implement NSAccessibilityInsertionPointLineNumberAttribute.
220 (-[WebCoreAXObject accessibilityParameterizedAttributeNames]):
221 Cleaned up. Added text field and text area parameterzed attributes.
223 (-[WebCoreAXObject doAXLineForTextMarker:]):
224 Fixed to be zero-based and to deal with the first position properly.
226 (-[WebCoreAXObject doAXTextMarkerRangeForLine:]):
229 (-[WebCoreAXObject textMarkerForIndex:lastIndexOK:]):
230 (-[WebCoreAXObject indexForTextMarker:]):
231 (-[WebCoreAXObject textMarkerRangeForRange:]):
232 (-[WebCoreAXObject rangeForTextMarkerRange:]):
235 (-[WebCoreAXObject doAXLineForIndex:]):
236 (-[WebCoreAXObject doAXRangeForLine:]):
237 (-[WebCoreAXObject doAXStringForRange:]):
238 (-[WebCoreAXObject doAXRangeForPosition:]):
239 (-[WebCoreAXObject doAXRangeForIndex:]):
240 (-[WebCoreAXObject doAXBoundsForRange:]):
241 (-[WebCoreAXObject doAXAttributedStringForRange:]):
242 (-[WebCoreAXObject doAXRTFForRange:]):
243 (-[WebCoreAXObject doAXStyleRangeForIndex:]):
244 Implement text field and text area parameterized attributes.
246 (-[WebCoreAXObject accessibilityAttributeValue:forParameter:]):
247 Added text field and text area parameterzed attributes.
249 * rendering/RenderTextControl.h:
250 Made indexForVisiblePosition() and visiblePositionForIndex() public.
252 2006-09-25 Adam Roben <aroben@apple.com>
258 * WebCore.vcproj/WebCore/WebCore.vcproj: Fix malformed XML.
259 * platform/ResourceLoader.h: Store whether a particular job
260 has received a response within the ResourceLoader object itself, since
261 it's possible that we will enter the InternetReadFileExA while loop
262 twice for the same job.
263 * platform/ResourceLoaderInternal.h: Add private instance variable to
264 store whether we've received a response.
265 (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
266 * platform/win/GraphicsContextWin.cpp: Fix order of preprocessor
268 * platform/win/ResourceLoaderWin.cpp:
269 (WebCore::ResourceLoader::onRequestComplete): Ask the ResourceLoader
270 whether it has received a response instead of assuming it hasn't.
271 (WebCore::ResourceLoader::setHasReceivedResponse): Added.
272 (WebCore::ResourceLoader::hasReceivedResponse): Added.
273 * platform/win/TemporaryLinkStubs.cpp: Rename setKnobProportion to
275 (ScrollBar::setProportion):
277 2006-09-25 Brady Eidson <beidson@apple.com>
281 Disabled IconDatabase logging by default
283 * platform/Logging.cpp:
286 2006-09-25 Steve Falkenburg <sfalken@apple.com>
290 * platform/cf/ResourceLoaderCFNet.cpp:
291 (WebCore::willCacheResponse):
293 2006-09-25 Justin Garcia <justin.garcia@apple.com>
297 <http://bugzilla.opendarwin.org/show_bug.cgi?id=11002>
298 Gmail Editor: Crash at WebCore::SplitElementCommand::doApply() when attempting to indent in a new message
300 * editing/IndentOutdentCommand.cpp:
301 (WebCore::IndentOutdentCommand::indentRegion): Special case
302 an empty root editable element.
304 2006-09-25 Brady Eidson <beidson@apple.com>
308 Math error in SystemTimeWin
310 * platform/win/SystemTimeWin.cpp:
311 (WebCore::currentTime):
313 2006-09-25 Alexey Proskuryakov <ap@nypop.com>
317 Whitespace cleanup; rename *job variables to *loader.
319 * bindings/js/JSXMLHttpRequest.cpp:
320 (KJS::JSXMLHttpRequestConstructorImp::JSXMLHttpRequestConstructorImp):
321 (KJS::JSXMLHttpRequestConstructorImp::implementsConstruct):
322 (KJS::JSXMLHttpRequestConstructorImp::construct):
323 (KJS::JSXMLHttpRequest::getOwnPropertySlot):
324 (KJS::JSXMLHttpRequest::getValueProperty):
325 (KJS::JSXMLHttpRequest::put):
326 (KJS::JSXMLHttpRequest::putValueProperty):
327 (KJS::JSXMLHttpRequest::mark):
328 (KJS::JSXMLHttpRequest::JSXMLHttpRequest):
329 (KJS::JSXMLHttpRequest::~JSXMLHttpRequest):
330 (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
331 * bindings/js/JSXMLHttpRequest.h:
332 (KJS::JSXMLHttpRequest::toBoolean):
333 * xml/xmlhttprequest.cpp:
334 (WebCore::XMLHttpRequest::XMLHttpRequest):
335 (WebCore::XMLHttpRequest::urlMatchesDocumentDomain):
336 (WebCore::XMLHttpRequest::send):
337 (WebCore::XMLHttpRequest::abort):
338 (WebCore::XMLHttpRequest::receivedAllData):
339 (WebCore::XMLHttpRequest::receivedData):
340 * xml/xmlhttprequest.h:
343 2006-09-25 Timothy Hatcher <timothy@apple.com>
347 - Deprecate the rest of the old-style methods that are not generated.
348 - Add @property syntax to DOMRange.
350 * WebCore.xcodeproj/project.pbxproj:
351 * bindings/objc/DOM.mm:
352 (-[DOMRange setStart:offset:]):
353 (-[DOMRange setEnd:offset:]):
354 (-[DOMRange compareBoundaryPoints:sourceRange:]):
355 (-[DOMRange setStart::]):
356 (-[DOMRange setEnd::]):
357 (-[DOMRange compareBoundaryPoints::]):
358 (-[DOMDocument createNodeIterator:whatToShow:filter:expandEntityReferences:]):
359 (-[DOMDocument createTreeWalker:whatToShow:filter:expandEntityReferences:]):
360 (-[DOMDocument createNodeIterator::::]):
361 (-[DOMDocument createTreeWalker::::]):
362 * bindings/objc/DOMCSS.h:
363 * bindings/objc/DOMCSS.mm:
364 (-[DOMDocument getComputedStyle:pseudoElement:]):
365 (-[DOMDocument getComputedStyle::]):
366 (-[DOMDocument getMatchedCSSRules:pseudoElement:]):
367 * bindings/objc/DOMExtensions.h:
368 * bindings/objc/DOMHTML.h:
369 * bindings/objc/DOMRange.h:
370 * bindings/objc/DOMTraversal.h:
372 2006-09-25 Eric Seidel <eric@eseidel.com>
376 Outermost <svg> element should clip to viewport
377 http://bugzilla.opendarwin.org/show_bug.cgi?id=11007
379 Test: svg/custom/viewport-clip.svg
381 * css/svg.css: change svg:root overflow: from 'visible' to 'hidden'
383 2006-09-25 Anders Carlsson <acarlsson@apple.com>
388 Remove unused header.
391 (WebCore::Document::clear):
392 Use clear instead of iterating through the list of event listeners, removing each one.
393 (Doing that causes a crash when running the layout tests with GuardMalloc turned on)
395 * html/HTMLKeygenElement.cpp:
396 (WebCore::HTMLKeygenElement::HTMLKeygenElement):
397 (WebCore::HTMLKeygenElement::appendFormData):
398 Update due to changes in the SSL key generator.
400 * ksvg2/svg/SVGAngle.cpp:
401 Remove unused header.
403 * ksvg2/svg/SVGAnimationElement.cpp:
404 (SVGAnimationElement::parseMappedAttribute):
405 Rename methods and pass Strings instead of DeprecatedStrings to
408 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
409 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
410 * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
411 * ksvg2/svg/SVGFEMergeElement.cpp:
412 * ksvg2/svg/SVGFEOffsetElement.cpp:
413 Remove unused headers.
415 * ksvg2/svg/SVGHelper.cpp:
416 (WebCore::SVGHelper::parseSeparatedList):
417 * ksvg2/svg/SVGHelper.h:
418 Rename ParseSeperatedList to parseSeparatedList, make it take a String instead of a
419 DeprecatedString and have it use Vector<String> instead of DeprecatedStringList.
421 * ksvg2/svg/SVGLengthList.cpp:
422 (WebCore::SVGLengthList::parse):
423 * ksvg2/svg/SVGLengthList.h:
424 Use Vector<String> instead of DeprecatedStringList.
427 (WebCore::Cache::requestImage):
428 (WebCore::Cache::requestStyleSheet):
429 (WebCore::Cache::requestScript):
430 (WebCore::Cache::requestXSLStyleSheet):
431 (WebCore::Cache::requestXBLDocument):
432 (WebCore::Cache::remove):
433 (WebCore::Cache::get):
434 Use a String as the key in the cache set instead of a RefPtr<StringImpl>.
436 * loader/DocLoader.cpp:
437 (WebCore::DocLoader::needReload):
438 * loader/DocLoader.h:
439 Use a HashSet instead of DeprecatedStringList.
442 Remove declarations that have no functions.
444 * platform/SSLKeyGenerator.h:
445 * platform/mac/SSLKeyGeneratorMac.mm:
446 (WebCore::supportedKeySizes):
447 (WebCore::signedPublicKeyAndChallengeString):
448 Convert to use Vector<String> instead of DeprecatedStringList, and String instead of
451 2006-09-25 Dave Hyatt <hyatt@apple.com>
453 Shunt the RenderTheme world transform adoption between
454 Cairo and Windows into getWindowsContext and move the method
455 out of GraphicsContextCairo and into GraphicsContextWin.
458 * WebCore.vcproj/WebCore/WebCore.vcproj:
459 * platform/cairo/GraphicsContextCairo.cpp:
460 * platform/win/GraphicsContextWin.cpp: Added.
461 (WebCore::GraphicsContext::getWindowsContext):
462 (WebCore::GraphicsContext::releaseWindowsContext):
463 * rendering/RenderThemeWin.cpp:
464 (WebCore::prepareForDrawing):
466 2006-09-24 Eric Seidel <eric@eseidel.com>
470 <svg:a> cannot be styled with a:hover
471 http://bugzilla.opendarwin.org/show_bug.cgi?id=11005
473 Test: svg/hixie/cascade/002.xml
475 * css/cssstyleselector.cpp:
476 (WebCore::checkPseudoState):
478 2006-09-24 Sam Weinig <sam.weinig@gmail.com>
482 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10882
483 SVG needs Obj-C DOM bindings
485 - Auto-generate the first 8 Objective-C SVG DOM bindings. The
486 auto-generated classes are DOMSVGAngle, DOMSVGLength, DOMSVGLengthList,
487 DOMSVGMatrix, DOMSVGPathSeg, DOMSVGPathSegList, DOMSVGTransform, and
490 * DerivedSources.make:
491 * WebCore.xcodeproj/project.pbxproj:
492 * bindings/objc/DOMInternal.h:
493 * bindings/objc/DOMSVG.h: Added.
494 * ksvg2/svg/SVGAngle.idl:
495 * ksvg2/svg/SVGLength.idl:
496 * ksvg2/svg/SVGLengthList.idl:
497 * ksvg2/svg/SVGMatrix.idl:
498 * ksvg2/svg/SVGPathSeg.idl:
499 * ksvg2/svg/SVGPathSegList.idl:
500 * ksvg2/svg/SVGTransform.idl:
501 * ksvg2/svg/SVGTransformList.idl:
503 2006-09-24 Rob Buis <buis@kde.org>
507 Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6001
508 WebKit does not handle fallback custom cursors
509 Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6002
510 WebKit does not properly handle SVG <cursor> element
512 Add support for svg cursor images. Also make sure hotspot
513 settings are handled correctly. Add tests for handling of css3
514 cursor syntax with hotspots in strict and quirks mode. Finally
517 * WebCore.xcodeproj/project.pbxproj:
518 * css/CSSComputedStyleDeclaration.cpp:
519 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
520 * css/CSSCursorImageValue.cpp: Added.
521 (WebCore::CSSCursorImageValue::CSSCursorImageValue):
522 (WebCore::CSSCursorImageValue::~CSSCursorImageValue):
523 * css/CSSCursorImageValue.h: Added.
524 (WebCore::CSSCursorImageValue::hotspot):
526 (WebCore::CSSParser::parseValue):
527 * css/cssstyleselector.cpp:
528 (WebCore::CSSStyleSelector::applyProperty):
529 * ksvg2/svg/SVGCursorElement.cpp:
530 * manual-tests/css3-cursor-fallback-quirks.html: Added.
531 * manual-tests/css3-cursor-fallback-strict.html: Added.
532 * manual-tests/cursorfallback.xml: Added.
533 * page/FrameView.cpp:
534 (WebCore::selectCursor):
536 * platform/mac/CursorMac.mm:
537 (WebCore::createCustomCursor):
538 (WebCore::Cursor::Cursor):
539 * platform/qt/CursorQt.cpp:
540 (WebCore::Cursor::Cursor):
541 * rendering/RenderStyle.cpp:
542 (WebCore::StyleInheritedData::StyleInheritedData):
543 (WebCore::StyleInheritedData::operator==):
544 (WebCore::RenderStyle::diff):
545 (WebCore::RenderStyle::addCursor):
546 (WebCore::RenderStyle::addSVGCursor):
547 (WebCore::RenderStyle::setCursorList):
548 (WebCore::RenderStyle::clearCursorList):
549 * rendering/RenderStyle.h:
550 (WebCore::CursorData::CursorData):
551 (WebCore::CursorList::operator[]):
552 (WebCore::CursorList::size):
553 (WebCore::CursorList::append):
554 (WebCore::RenderStyle::cursors):
556 2006-09-24 Sam Weinig <sam.weinig@gmail.com>
560 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=11009
561 Auto-generate the internal methods interfaces for the Objective-C bindings
563 - Auto-generate the internal method declarations into their own files
564 named in the form DOMFooBarInternal.h for class DOMFooBar.
566 - Remove all use of DOM_cast from code.
570 * WebCore.xcodeproj/project.pbxproj:
571 * bindings/objc/DOM.mm:
572 (-[DOMNode _initWithNode:WebCore::]):
573 (-[DOMNode WebCore::]):
574 (-[DOMRange dealloc]):
575 (-[DOMRange finalize]):
576 (-[DOMRange _initWithRange:WebCore::]):
577 (-[DOMRange WebCore::]):
578 (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
579 (-[DOMNodeFilter WebCore::]):
580 (-[DOMNodeFilter dealloc]):
581 (-[DOMNodeFilter finalize]):
582 (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]):
583 (-[DOMNodeIterator WebCore::]):
584 (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]):
585 (-[DOMTreeWalker WebCore::]):
586 * bindings/objc/DOMAbstractView.mm:
587 (-[DOMAbstractView _initWithAbstractView:WebCore::]):
588 * bindings/objc/DOMCSS.mm:
589 (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
590 (-[DOMCSSRule _initWithRule:WebCore::]):
591 (-[DOMCSSValue _initWithValue:WebCore::]):
592 * bindings/objc/DOMEvents.mm:
593 (-[DOMEvent _initWithEvent:WebCore::]):
594 * bindings/objc/DOMHTMLAppletElement.mm:
595 (-[DOMHTMLAppletElement align]):
596 (-[DOMHTMLAppletElement setAlign:]):
597 (-[DOMHTMLAppletElement alt]):
598 (-[DOMHTMLAppletElement setAlt:]):
599 (-[DOMHTMLAppletElement archive]):
600 (-[DOMHTMLAppletElement setArchive:]):
601 (-[DOMHTMLAppletElement code]):
602 (-[DOMHTMLAppletElement setCode:]):
603 (-[DOMHTMLAppletElement codeBase]):
604 (-[DOMHTMLAppletElement setCodeBase:]):
605 (-[DOMHTMLAppletElement height]):
606 (-[DOMHTMLAppletElement setHeight:]):
607 (-[DOMHTMLAppletElement hspace]):
608 (-[DOMHTMLAppletElement setHspace:]):
609 (-[DOMHTMLAppletElement name]):
610 (-[DOMHTMLAppletElement setName:]):
611 (-[DOMHTMLAppletElement object]):
612 (-[DOMHTMLAppletElement setObject:]):
613 (-[DOMHTMLAppletElement vspace]):
614 (-[DOMHTMLAppletElement setVspace:]):
615 (-[DOMHTMLAppletElement width]):
616 (-[DOMHTMLAppletElement setWidth:]):
617 * bindings/objc/DOMInternal.h:
621 * bindings/objc/DOMXPath.mm:
622 (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
623 * bindings/scripts/CodeGeneratorObjC.pm:
625 2006-09-24 Nikolas Zimmermann <zimmermann@kde.org>
629 Fix Qt/Linux build after Dave's Scrollbar changes.
631 * platform/qt/PlatformScrollBar.h: (Somehow this contained the file twice! Removed one instance!)
632 * platform/qt/TemporaryLinkStubs.cpp:
633 (WebCore::ScrollBar::setProportion):
634 (WebCore::PlatformScrollBar::updateThumbPosition):
635 (WebCore::PlatformScrollBar::updateThumbProportion):
637 2006-09-24 Nikolas Zimmermann <zimmermann@kde.org>
641 Qt/Linux build system changes: enable xpath/xslt by default.
642 Offer possibility to change all of these using 'ccmake'.
646 2006-09-24 Dave Hyatt <hyatt@apple.com>
648 Cleanup of Scrollbar APIs. Rename setKnobProportion to setProportion. Rename setScrollbarValue to updateThumbPosition.
649 Give setProportion a base class implementation and implement it using the same pattern as setValue/updateThumbPosition (so that
650 the base calls a protected virtual function, updateThumbProportion, implemented by the derived class to update the actual scrollbar itself).
652 * platform/ScrollBar.cpp:
653 (WebCore::ScrollBar::setValue):
654 (WebCore::ScrollBar::setProportion):
655 * platform/ScrollBar.h:
656 (WebCore::ScrollBar::value):
657 * platform/mac/PlatformScrollBar.h:
658 * platform/mac/PlatformScrollBarMac.mm:
659 (WebCore::PlatformScrollBar::updateThumbPosition):
660 (WebCore::PlatformScrollBar::updateThumbProportion):
661 * platform/win/PlatformScrollBar.h:
662 * platform/win/TemporaryLinkStubs.cpp:
663 (PlatformScrollBar::updateThumbPosition):
664 (PlatformScrollBar::updateThumbProportion):
665 * rendering/RenderLayer.cpp:
666 (WebCore::RenderLayer::updateScrollInfoAfterLayout):
668 2006-09-23 Alexey Proskuryakov <ap@nypop.com>
672 http://bugzilla.opendarwin.org/show_bug.cgi?id=4872
673 XMLHttpRequest fails to throw an exception when there is a security violation
674 (mismatching domains)
676 Raise an exception if there is a security violation, and also in cases required by
677 the current draft of XHR specification.
679 * bindings/js/JSXMLHttpRequest.cpp:
680 (KJS::JSXMLHttpRequest::getValueProperty): Raise an exception if a DOM method reports one.
681 (KJS::JSXMLHttpRequestProtoFunc::callAsFunction): Raise an exception if a DOM method
682 reports one, and also if there were too few arguments passed.
684 * bindings/js/kjs_binding.cpp:
685 (KJS::setDOMException): Added support for custom XHR exceptions.
687 * xml/xmlhttprequest.h: Changed state names to match the current spec. Defined an
688 exception code range for XHR exceptions.
690 * xml/xmlhttprequest.cpp:
691 (WebCore::XMLHttpRequest::open): Removed a check for m_aborted that could never succeed.
692 (WebCore::XMLHttpRequest::send):
693 (WebCore::XMLHttpRequest::setRequestHeader):
694 (WebCore::XMLHttpRequest::getStatus):
695 (WebCore::XMLHttpRequest::getStatusText):
696 (WebCore::XMLHttpRequest::processSyncLoadResults):
697 (WebCore::XMLHttpRequest::receivedAllData):
698 (WebCore::XMLHttpRequest::receivedData):
700 2006-09-22 Steve Falkenburg <sfalken@apple.com>
702 Reviewed by Jeff Jenkins.
706 * platform/cf/ResourceLoaderCFNet.cpp:
707 (WebCore::willCacheResponse):
709 2006-09-22 Justin Garcia <justin.garcia@apple.com>
713 <http://bugzilla.opendarwin.org/show_bug.cgi?id=8029>
714 Rename Node::isAncestor and RenderObject::hasAncestor to isDescendantOf
717 (WebCore::Document::clearSelectionIfNeeded):
719 (WebCore::Element::contains):
721 (WebCore::Node::traverseNextNode):
722 (WebCore::Node::traverseNextSibling):
723 (WebCore::Node::traversePreviousNodePostOrder):
724 (WebCore::Node::checkAddChild):
725 (WebCore::Node::isDescendantOf):
727 * dom/NodeIterator.cpp:
728 (WebCore::NodeIterator::notifyBeforeNodeRemoval):
729 * editing/ApplyStyleCommand.cpp:
730 (WebCore::ApplyStyleCommand::applyBlockStyle):
731 (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
732 (WebCore::ApplyStyleCommand::applyInlineStyle):
733 (WebCore::ApplyStyleCommand::pushDownTextDecorationStyleAroundNode):
734 * editing/CompositeEditCommand.cpp:
735 (WebCore::CompositeEditCommand::mergeIdenticalElements):
736 (WebCore::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
737 * editing/DeleteSelectionCommand.cpp:
738 (WebCore::updatePositionForNodeRemoval):
739 (WebCore::DeleteSelectionCommand::handleGeneralDelete):
740 (WebCore::DeleteSelectionCommand::mergeParagraphs):
741 * editing/FormatBlockCommand.cpp:
742 (WebCore::FormatBlockCommand::doApply):
743 * editing/IndentOutdentCommand.cpp:
744 (WebCore::enclosingListOrBlockquote):
745 * editing/Selection.cpp:
746 (WebCore::Selection::validate):
747 * editing/SelectionController.cpp:
748 (WebCore::SelectionController::nodeWillBeRemoved):
749 * editing/TextIterator.cpp:
750 (WebCore::SimplifiedBackwardsTextIterator::advance):
751 * editing/VisiblePosition.cpp:
752 (WebCore::VisiblePosition::next):
753 (WebCore::VisiblePosition::previous):
754 (WebCore::VisiblePosition::canonicalPosition):
755 (WebCore::isFirstVisiblePositionInNode):
756 (WebCore::isLastVisiblePositionInNode):
757 * editing/htmlediting.cpp:
758 (WebCore::firstEditablePositionAfterPositionInRoot):
759 (WebCore::lastEditablePositionBeforePositionInRoot):
760 (WebCore::enclosingNodeWithTag):
761 (WebCore::enclosingList):
762 (WebCore::enclosingListChild):
763 * editing/markup.cpp:
764 (WebCore::createMarkup):
766 2006-09-22 Timothy Hatcher <timothy@apple.com>
770 - Added @property syntax to non-generated headers
771 inside #ifndef BUILDING_ON_TIGER.
772 - Changed the DOMEventTarget protocol to have have new versions
773 of addEventListener and removeEventListener with named parameters.
774 These old style methods can be removed once Mail changes to use
775 the new methods <rdar://problem/4746649>.
777 * WebCorePrefix.h: define BUILDING_ON_TIGER when Tiger is the target
778 * bindings/objc/DOM.mm:
779 (-[DOMNode addEventListener:listener:useCapture:]):
780 (-[DOMNode addEventListener:::]): call the new method
781 (-[DOMNode removeEventListener:listener:useCapture:]):
782 (-[DOMNode removeEventListener:::]): call the new method
783 * bindings/objc/DOMAbstractView.h:
784 * bindings/objc/DOMEventTarget.h:
785 * bindings/objc/DOMHTMLAppletElement.h:
786 * bindings/objc/DOMHTMLEmbedElement.h:
787 * bindings/objc/DOMHTMLOptionElement.h:
788 * bindings/objc/DOMObject.h:
789 * bindings/objc/DOMRGBColor.h:
791 2006-09-22 Nikolas Zimmermann <zimmermann@kde.org>
795 Fix Qt/Linux build and a really stupid mixup in GraphicsContextQt.
797 * platform/qt/FrameQt.cpp:
798 * platform/qt/GraphicsContextQt.cpp:
799 (WebCore::GraphicsContext::translate): Make it actually translate, not scale! :-)
800 (WebCore::GraphicsContext::origin):
801 * platform/qt/PlatformScrollBar.h: Added.
802 (WebCore::PlatformScrollBar::isWidget):
803 * platform/qt/WidgetQt.cpp:
804 (WebCore::Widget::invalidate):
805 (WebCore::Widget::invalidateRect):
807 2006-09-22 Dave Hyatt <hyatt@apple.com>
809 Super-minor tweaks to the systemFont function on Mac.
810 Set the generic family to None rather than to Serif, and
811 don't waste time setting the computed size, since that is
812 set from the specified size over in CSSStyleSelector anyway.
814 * rendering/RenderThemeMac.mm:
815 (WebCore::RenderThemeMac::systemFont):
817 2006-09-22 Timothy Hatcher <timothy@apple.com>
821 Build fix for Xcode 2.3. Convert GraphicsContext::translate() to
822 take floats. There was already an implicit conversion to float/double
823 when calling CGContextTranslateCTM or cairo_translate.
825 * platform/GraphicsContext.h:
826 * platform/cairo/GraphicsContextCairo.cpp:
827 (WebCore::GraphicsContext::translate):
828 * platform/cg/GraphicsContextCG.cpp:
829 (WebCore::GraphicsContext::translate):
831 2006-09-22 Brady Eidson <beidson@apple.com>
835 Add redirect and other cleanup to ResourceLoaderWin.cpp
836 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=10927
837 Fixes bug http://bugzilla.opendarwin.org/show_bug.cgi?id=10744
839 * WebCore.xcodeproj/project.pbxproj:
840 * platform/ResourceLoader.h:
841 * platform/win/ResourceLoaderWin.cpp:
842 (WebCore::ResourceLoaderWndProc):
843 (WebCore::initializeOffScreenResourceLoaderWindow):
844 (WebCore::ResourceLoader::onHandleCreated):
845 (WebCore::ResourceLoader::onRequestRedirected):
846 (WebCore::ResourceLoader::onRequestComplete):
847 (WebCore::transferJobStatusCallback):
849 2006-09-22 Alexey Proskuryakov <ap@nypop.com>
853 http://bugzilla.opendarwin.org/show_bug.cgi?id=10803
854 REGRESSION (r15536-r15544): manual-tests/bugzilla-6821.html failing
856 * page/FrameView.cpp:
857 (WebCore::FrameView::hoverTimerFired): Use the current event.
859 2006-09-22 Nikolas Zimmermann <zimmermann@kde.org>
863 Fix (last) svg memory leak.
865 * ksvg2/svg/SVGTransformable.cpp: delete 't' in error case.
866 (SVGTransformable::parseTransformAttribute):
868 2006-09-22 Eric Seidel <eric@eseidel.com>
870 No review necessary, just removing a dead file.
872 Remove unused file (added previously by mistake) to make room for real implementation.
874 * platform/mac/BitmapImageMac.mm: Removed.
876 2006-09-22 Dave Hyatt <hyatt@apple.com>
878 Move PlatformScrollBar.h down into the platforms.
882 * platform/PlatformScrollBar.h: Removed.
883 * platform/win/PlatformScrollBar.h: Added.
884 * platform/mac/PlatformScrollBar.h: Added.
886 2006-09-22 Dave Hyatt <hyatt@apple.com>
888 Add support for invalidation of widgets. This will be needed for the Win32 widget subsystem (and for
889 any widget subsystems that don't have any underlying native objects backing the widgets.
894 * platform/mac/WidgetMac.mm:
895 (WebCore::Widget::invalidate):
896 (WebCore::Widget::invalidateRect):
897 * platform/win/TemporaryLinkStubs.cpp:
898 (Widget::invalidate):
899 (Widget::invalidateRect):
901 2006-09-22 Rob Buis <buis@kd.org>
905 http://bugzilla.opendarwin.org/show_bug.cgi?id=10901
906 Merge build fixes from unity
910 2006-09-21 Nikolas Zimmermann <zimmermann@kde.org>
914 http://bugzilla.opendarwin.org/show_bug.cgi?id=10977
915 SVGDocument does not expose 'rootElement' property
917 Enable 'rootElement' property.
919 * ksvg2/svg/SVGDocument.idl:
921 2006-09-21 Steve Falkenburg <sfalken@apple.com>
925 * platform/ResourceLoaderInternal.h:
927 2006-09-21 Geoffrey Garen <ggaren@apple.com>
929 build fixed. band happy.
931 * platform/cg/GraphicsContextCG.cpp:
932 (WebCore::GraphicsContext::translate):
933 * platform/mac/WidgetMac.mm:
935 2006-09-21 Geoffrey Garen <ggaren@apple.com>
939 Some Widget refactoring.
941 * WebCore.vcproj/WebCore/WebCore.vcproj:
942 * bridge/mac/FrameMac.mm:
943 * bridge/win/FrameWin.cpp:
944 (WebCore::FrameWin::runJavaScriptAlert):
945 (WebCore::FrameWin::runJavaScriptConfirm):
946 * bridge/win/PageWin.cpp:
947 (WebCore::Page::Page):
948 (WebCore::rootWindowForFrame):
949 * html/CanvasRenderingContext2D.cpp:
950 (WebCore::CanvasRenderingContext2D::translate):
951 * page/FrameView.cpp:
952 (WebCore::FrameView::isFrameView):
954 (WebCore::Page::setInstanceHandle):
955 (WebCore::Page::instanceHandle):
956 * platform/GraphicsContext.h:
957 * platform/ScrollView.h:
959 * platform/cairo/GraphicsContextCairo.cpp:
960 (WebCore::GraphicsContext::translate):
961 (WebCore::GraphicsContext::origin):
962 * platform/mac/WidgetMac.mm:
963 (WebCore::Widget::clearFocus):
964 * platform/win/ResourceLoaderWin.cpp:
965 (WebCore::initializeOffScreenResourceLoaderWindow):
966 * platform/win/ScreenWin.cpp:
967 (WebCore::monitorInfo):
968 * platform/win/ScrollViewWin.cpp:
969 (WebCore::ScrollView::updateContents):
970 (WebCore::ScrollView::visibleWidth):
971 (WebCore::ScrollView::visibleHeight):
972 (WebCore::ScrollView::visibleContentRect):
973 (WebCore::ScrollView::viewportToContents):
974 (WebCore::ScrollView::contentsToViewport):
975 (WebCore::ScrollView::scrollBy):
976 (WebCore::ScrollView::updateScrollInfo):
977 (WebCore::ScrollView::updateScrollBars):
978 * platform/win/SharedTimerWin.cpp:
979 (WebCore::initializeOffScreenTimerWindow):
980 * platform/win/TemporaryLinkStubs.cpp:
981 (FrameView::updateBorder):
983 (GraphicsContext::clip):
984 * platform/win/WidgetWin.cpp:
985 (WebCore::Widget::Widget):
986 (WebCore::Widget::parentWindow):
987 (WebCore::Widget::setParentWindow):
988 (WebCore::Widget::frameGeometry):
989 (WebCore::Widget::hasFocus):
990 (WebCore::Widget::setFocus):
991 (WebCore::Widget::show):
992 (WebCore::Widget::hide):
993 (WebCore::Widget::setFrameGeometry):
995 2006-09-22 Anders Carlsson <acarlsson@apple.com>
999 * platform/TextEncoding.cpp:
1000 (WebCore::TextEncoding::backslashAsCurrencySymbol):
1001 Add comment clarifying why backslashAsCurrencySymbol is needed.
1003 2006-09-21 Sean Gies <seangies@apple.com>
1005 Reviewed by Adam Roben.
1007 Add utility functions to get and release HDC from GraphicsContext.
1009 * platform/GraphicsContext.h: Add utilities to get and release HDC.
1010 * platform/cairo/GraphicsContextCairo.cpp: Implement new utilities.
1011 * rendering/RenderThemeWin.cpp: Switch to new utilities.
1013 2006-09-21 Justin Garcia <justin.garcia@apple.com>
1017 <rdar://problem/4426622>
1018 Plain text paste slow. Time spent mostly in WebCore::rebalanceWhitespaceInTextNode(...)
1020 * editing/htmlediting.cpp:
1021 (WebCore::rebalanceWhitespaceInTextNode): We no longer need to use a RegExp replace because we
1022 aren't producing complicated sequences here. Use multiple UChar -> UChar replaces instead for speed.
1023 Got rid of uses of DepricatedString.
1025 2006-09-21 Nikolas Zimmermann <zimmermann@kde.org>
1027 Reviewed by eseidel.
1029 Don't crash if no IconDatabase is available (ie. on Qt/Gdk)
1032 (WebCore::Frame::endIfNotLoading):
1034 2006-09-21 Nikolas Zimmermann <zimmermann@kde.org>
1036 Reviewed by eseidel.
1041 * kcanvas/device/qt/KCanvasClipperQt.h:
1042 * kcanvas/device/qt/KRenderingDeviceQt.cpp:
1043 * platform/qt/FrameQt.cpp:
1044 (WebCore::FrameQt::isLoadTypeReload):
1045 (WebCore::FrameQt::originalRequestURL):
1046 * platform/qt/FrameQt.h:
1047 * platform/qt/GraphicsContextQt.cpp:
1048 (WebCore::GraphicsContext::concatCTM):
1049 * platform/qt/ScrollViewQt.cpp:
1050 (WebCore::ScrollView::wheelEvent):
1051 * platform/qt/TemporaryLinkStubs.cpp:
1052 (WebCore::IconDatabase::setIconURLForPageURL):
1054 2006-09-20 Justin Garcia <justin.garcia@apple.com>
1058 <http://bugzilla.opendarwin.org/show_bug.cgi?id=7165>
1059 TinyMCE: Dragging & dropping content always leaves a copy when editing inside a subframe
1061 * editing/MoveSelectionCommand.cpp:
1062 (WebCore::MoveSelectionCommand::MoveSelectionCommand): Set the document
1063 to the position-to-move-to's document, not the fragment's document. The
1064 fragment's document is the document used to create the fragment and is irrelavant.
1066 === Safari-521.27 ===
1068 2006-09-21 Brady Eidson <beidson@apple.com>
1072 When your assumption is "IconDatabase::sharedIconDatabase()" will never fail but it does, you're in trouble
1073 This fixes Spinneret so it won't crash on its first load!
1076 (WebCore::Frame::endIfNotLoading):
1078 2006-09-21 Brady Eidson <beidson@apple.com>
1082 * platform/win/TemporaryLinkStubs.cpp:
1083 (ScrollView::wheelEvent):
1085 2006-09-20 Rob Buis <buis@kde.org>
1087 Reviewed by eseidel.
1089 http://bugzilla.opendarwin.org/show_bug.cgi?id=10946
1090 new marker code draws end-marker in wrong place
1092 Keep track of the start of the subpath so we can handle
1093 closeTo/moveTo correctly.
1095 * kcanvas/RenderPath.cpp:
1096 (WebCore::DrawMarkersData::DrawMarkersData):
1097 (WebCore::updateMarkerDataForElement):
1099 2006-09-21 David Hyatt <hyatt@apple.com>
1101 Wheel scrolling prep for Win32.
1103 WARNING: NO TEST CASES ADDED OR CHANGED
1105 * platform/PlatformWheelEvent.h:
1106 * platform/ScrollBar.h:
1107 * platform/ScrollView.h:
1108 * platform/mac/ScrollViewMac.mm:
1109 (WebCore::ScrollView::wheelEvent):
1110 * rendering/RenderLayer.cpp:
1112 2006-09-20 Timothy Hatcher <timothy@apple.com>
1116 Bug 10917: REGRESSION (r16027): iFrame transparency broken
1117 http://bugzilla.opendarwin.org/show_bug.cgi?id=10917
1119 Don't paint the base background color if we transparent.
1121 * rendering/RenderBox.cpp:
1122 (WebCore::RenderBox::paintBackgroundExtended):
1124 2006-09-20 Adam Roben <aroben@apple.com>
1126 Reviewed by andersca.
1128 * platform/FileChooser.h: Remove no-longer-necessary namespace std
1130 2006-09-20 Eric Seidel <eric@eseidel.com>
1134 Cleanup style in KCanvas.
1135 Remove extra white-space, unneeded arguments, etc.
1137 * WebCore.xcodeproj/project.pbxproj:
1138 * kcanvas/KCanvasClipper.cpp:
1139 (WebCore::operator<<):
1140 (WebCore::KCanvasClipper::externalRepresentation):
1141 * kcanvas/KCanvasClipper.h:
1142 * kcanvas/KCanvasFilters.cpp:
1143 (WebCore::KCanvasFilter::externalRepresentation):
1144 (WebCore::operator<<):
1145 (WebCore::KCanvasFilterEffect::externalRepresentation):
1146 (WebCore::KCPointLightSource::externalRepresentation):
1147 (WebCore::KCSpotLightSource::externalRepresentation):
1148 (WebCore::KCDistantLightSource::externalRepresentation):
1149 (WebCore::KCanvasFEBlend::externalRepresentation):
1150 (WebCore::KCanvasFEColorMatrix::externalRepresentation):
1151 (WebCore::KCanvasFEComponentTransfer::externalRepresentation):
1152 (WebCore::KCanvasFEComposite::externalRepresentation):
1153 (WebCore::KCanvasFEConvolveMatrix::externalRepresentation):
1154 (WebCore::KCanvasFEDiffuseLighting::externalRepresentation):
1155 (WebCore::KCanvasFEDisplacementMap::externalRepresentation):
1156 (WebCore::KCanvasFEFlood::externalRepresentation):
1157 (WebCore::KCanvasFEGaussianBlur::externalRepresentation):
1158 (WebCore::KCanvasFEImage::externalRepresentation):
1159 (WebCore::KCanvasFEMerge::externalRepresentation):
1160 (WebCore::KCanvasFEMorphology::externalRepresentation):
1161 (WebCore::KCanvasFEOffset::externalRepresentation):
1162 (WebCore::KCanvasFESpecularLighting::externalRepresentation):
1163 (WebCore::KCanvasFETile::externalRepresentation):
1164 (WebCore::KCanvasFETurbulence::externalRepresentation):
1165 * kcanvas/KCanvasFilters.h:
1166 (WebCore::KCanvasFEDiffuseLighting::lightSource):
1167 (WebCore::KCanvasFESpecularLighting::lightSource):
1168 * kcanvas/KCanvasImage.h:
1169 * kcanvas/KCanvasMarker.cpp:
1170 (WebCore::KCanvasMarker::externalRepresentation):
1171 * kcanvas/KCanvasMarker.h:
1172 * kcanvas/KCanvasResource.cpp:
1173 (WebCore::operator<<):
1174 * kcanvas/KCanvasResource.h:
1175 * kcanvas/KCanvasTreeDebug.cpp:
1176 (WebCore::operator<<):
1177 (WebCore::writeIndent):
1178 (WebCore::writeStyle):
1180 (WebCore::writeRenderResources):
1181 * kcanvas/KCanvasTreeDebug.h:
1182 (WebCore::operator<<):
1183 * kcanvas/RenderForeignObject.cpp:
1184 (WebCore::RenderForeignObject::paint):
1185 * kcanvas/RenderPath.cpp:
1186 (WebCore::RenderPath::paint):
1187 (WebCore::drawStartAndMidMarkers):
1188 * kcanvas/RenderSVGContainer.cpp:
1189 (WebCore::RenderSVGContainer::paint):
1190 * kcanvas/RenderSVGImage.cpp:
1191 (WebCore::RenderSVGImage::translateForAttributes):
1192 * kcanvas/RenderSVGImage.h:
1193 * kcanvas/device/KRenderingDevice.cpp:
1194 (WebCore::KRenderingDevice::currentContext):
1195 (WebCore::KRenderingDevice::popContext):
1196 (WebCore::KRenderingDevice::pushContext):
1197 * kcanvas/device/KRenderingDevice.h:
1198 * kcanvas/device/KRenderingFillPainter.h:
1199 * kcanvas/device/KRenderingPaintServer.h:
1200 (WebCore::KRenderingPaintServer::KRenderingPaintServer):
1201 (WebCore::KRenderingPaintServer::activeClient):
1202 (WebCore::KRenderingPaintServer::setActiveClient):
1203 * kcanvas/device/KRenderingPaintServerGradient.cpp:
1204 (WebCore::operator<<):
1205 (WebCore::KRenderingPaintServerGradient::externalRepresentation):
1206 (WebCore::KRenderingPaintServerLinearGradient::externalRepresentation):
1207 (WebCore::KRenderingPaintServerGradient::listener):
1208 (WebCore::KRenderingPaintServerGradient::setListener):
1209 (WebCore::KRenderingPaintServerRadialGradient::externalRepresentation):
1210 * kcanvas/device/KRenderingPaintServerGradient.h:
1211 * kcanvas/device/KRenderingPaintServerPattern.cpp:
1212 (WebCore::KRenderingPaintServerPattern::tile):
1213 (WebCore::KRenderingPaintServerPattern::setTile):
1214 (WebCore::KRenderingPaintServerPattern::listener):
1215 (WebCore::KRenderingPaintServerPattern::setListener):
1216 (WebCore::KRenderingPaintServerPattern::externalRepresentation):
1217 * kcanvas/device/KRenderingPaintServerPattern.h:
1218 * kcanvas/device/KRenderingPaintServerSolid.cpp:
1219 (WebCore::KRenderingPaintServerSolid::externalRepresentation):
1220 * kcanvas/device/KRenderingPaintServerSolid.h:
1221 * kcanvas/device/KRenderingStrokePainter.cpp:
1222 (WebCore::KRenderingStrokePainter::strokeMiterLimit):
1223 (WebCore::KRenderingStrokePainter::setStrokeMiterLimit):
1224 * kcanvas/device/KRenderingStrokePainter.h:
1225 * kcanvas/device/quartz/KCanvasFilterQuartz.h:
1226 * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
1227 (WebCore::KCanvasFilterQuartz::prepareFilter):
1228 * kcanvas/device/quartz/KCanvasItemQuartz.h: Removed.
1229 * kcanvas/device/quartz/KCanvasMaskerQuartz.mm:
1230 (WebCore::KCanvasMaskerQuartz::applyMask):
1231 * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
1232 (WebCore::KCanvasImageQuartz::init):
1233 * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
1234 (WebCore::KCanvasClipperQuartz::applyClip):
1235 * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
1236 * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
1237 (WebCore::KRenderingDeviceQuartz::quartzContext):
1238 (WebCore::KRenderingDeviceQuartz::contextForImage):
1239 (WebCore::KRenderingDeviceQuartz::createPaintServer):
1240 (WebCore::KRenderingDeviceQuartz::createResource):
1241 (WebCore::KRenderingDeviceQuartz::createFilterEffect):
1242 * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
1243 (WebCore::CGShadingRefForLinearGradient):
1244 (WebCore::CGShadingRefForRadialGradient):
1245 (WebCore::KRenderingPaintServerGradientQuartz::updateQuartzGradientCache):
1246 (WebCore::KRenderingPaintServerGradientQuartz::teardown):
1247 * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
1248 * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
1249 (WebCore::KRenderingPaintServerQuartzHelper::strokePath):
1250 (WebCore::KRenderingPaintServerQuartzHelper::clipToStrokePath):
1251 (WebCore::KRenderingPaintServerQuartzHelper::fillPath):
1252 (WebCore::KRenderingPaintServerQuartzHelper::clipToFillPath):
1253 (WebCore::KRenderingPaintServerSolidQuartz::draw):
1254 (WebCore::KRenderingPaintServerSolidQuartz::setup):
1255 (WebCore::KRenderingPaintServerSolidQuartz::renderPath):
1256 (WebCore::KRenderingPaintServerPatternQuartz::setup):
1257 (WebCore::KRenderingPaintServerPatternQuartz::renderPath):
1258 (WebCore::KRenderingPaintServerPatternQuartz::teardown):
1259 * kcanvas/device/quartz/QuartzSupport.h:
1260 * kcanvas/device/quartz/QuartzSupport.mm:
1261 (WebCore::applyStrokeStyleToContext):
1263 2006-09-20 Anders Carlsson <acarlsson@apple.com>
1265 Reviewed by Dave Hyatt.
1267 * dom/WheelEvent.cpp:
1268 (WebCore::WheelEvent::WheelEvent):
1269 Use lroundf instead of lround since deltas are floats.
1271 2006-09-20 Julien Palmas <julien.palmas@gmail.com>
1273 Reviewed by eseidel. Landed by eseidel.
1275 Test: svg/custom/pattern-y-offset.svg
1277 * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
1278 (WebCore::KRenderingPaintServerPatternQuartz::setup):
1280 2006-09-20 David Hyatt <hyatt@apple.com>
1282 Add a new wheelEvent method to ScrollView. Platforms that wish
1283 to handle the wheel event for the scroll view themselves can then
1284 do so there. (Mac lets the underlying NSScrollView do it for now.)
1286 * page/FrameView.cpp:
1287 (WebCore::FrameView::handleWheelEvent):
1288 * platform/ScrollView.h:
1289 (WebCore::ScrollView::wheelEvent):
1291 2006-09-20 Brady Eidson <beidson@apple.com>
1293 Reviewed by Tim Omernick
1295 Part of fixing a crash Tim O showed me that I missed in a release build.
1296 WebKit should be able to call through the bridge to WebCore no matter what -
1297 Replace the _iconDB member with calls to IconDatabase::sharedIconDatabase()
1299 * bridge/mac/WebCoreIconDatabaseBridge.h:
1300 * bridge/mac/WebCoreIconDatabaseBridge.mm:
1301 (-[WebCoreIconDatabaseBridge closeSharedDatabase]):
1302 (-[WebCoreIconDatabaseBridge isOpen]):
1303 (-[WebCoreIconDatabaseBridge removeAllIcons]):
1304 (-[WebCoreIconDatabaseBridge _isEmpty]):
1305 (-[WebCoreIconDatabaseBridge isIconExpiredForIconURL:]):
1306 (-[WebCoreIconDatabaseBridge setPrivateBrowsingEnabled:]):
1307 (-[WebCoreIconDatabaseBridge privateBrowsingEnabled]):
1308 (-[WebCoreIconDatabaseBridge iconForPageURL:withSize:]):
1309 (-[WebCoreIconDatabaseBridge iconURLForPageURL:]):
1310 (-[WebCoreIconDatabaseBridge defaultIconWithSize:]):
1311 (-[WebCoreIconDatabaseBridge retainIconForURL:]):
1312 (-[WebCoreIconDatabaseBridge releaseIconForURL:]):
1313 (-[WebCoreIconDatabaseBridge _setIconData:forIconURL:]):
1314 (-[WebCoreIconDatabaseBridge _setHaveNoIconForIconURL:]):
1315 (-[WebCoreIconDatabaseBridge _setIconURL:forPageURL:]):
1316 (-[WebCoreIconDatabaseBridge _hasEntryForIconURL:]):
1317 (-[WebCoreIconDatabaseBridge _setEnabled:]):
1318 (-[WebCoreIconDatabaseBridge _isEnabled]):
1320 2006-09-20 Anders Carlsson <acarlsson@apple.com>
1324 Add String::split which returns a Vector of Strings and use it instead of
1325 DeprecatedStringList.
1327 * bindings/js/kjs_events.cpp:
1328 (KJS::Clipboard::getValueProperty):
1329 * bindings/js/kjs_window.cpp:
1330 (KJS::parseModalDialogFeatures):
1331 * css/MediaList.cpp:
1332 (WebCore::MediaList::setMediaText):
1334 * html/HTMLFormElement.cpp:
1335 (WebCore::HTMLFormElement::formData):
1336 * html/HTMLLinkElement.cpp:
1337 (WebCore::HTMLLinkElement::tokenizeRelAttribute):
1338 * platform/PlatformString.h:
1339 * platform/String.cpp:
1340 (WebCore::String::split):
1341 * platform/StringImpl.cpp:
1342 * platform/StringImpl.h:
1343 * platform/mac/ClipboardMac.h:
1344 * platform/mac/ClipboardMac.mm:
1345 (WebCore::ClipboardMac::types):
1347 2006-09-20 Justin Garcia <justin.garcia@apple.com>
1349 Reviewed by harrison
1351 * css/cssstyleselector.cpp:
1352 (WebCore::CSSStyleSelector::adjustRenderStyle): Don't call
1353 HTMLElement::isContentEditable just to check the Frame's editability, since
1354 it calls updateRenderering, which can get us into infinite recursion.
1356 2006-09-20 Brady Eidson <beidson@apple.com>
1360 Cleaned up my last patch alot, and made the WebCore icon database disabled by default
1362 * loader/icon/IconDatabase.cpp:
1363 (WebCore::IconDatabase::IconDatabase): Disabled by default
1364 (WebCore::IconDatabase::removeAllIcons): Respect just isOpen() (disabled database will always be closed)
1365 (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ditto
1366 (WebCore::IconDatabase::iconForPageURL): Ditto
1367 (WebCore::IconDatabase::isIconExpiredForIconURL): Ditto
1368 (WebCore::IconDatabase::iconURLForPageURL): Ditto
1369 (WebCore::IconDatabase::retainIconForPageURL): Ditto
1370 (WebCore::IconDatabase::releaseIconForPageURL): Ditto
1371 (WebCore::IconDatabase::setIconDataForIconURL): Ditto
1372 (WebCore::IconDatabase::setIconURLForPageURL): Ditto
1373 (WebCore::IconDatabase::hasEntryForIconURL): Ditto
1374 (WebCore::IconDatabase::setEnabled): Fixed a big bug here!
1376 2006-09-20 Adam Roben <aroben@apple.com>
1380 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10935
1381 REGRESSION: file upload control with direction:rtl or text-align:right
1382 draws button on top of filename/icon
1384 * rendering/RenderFileUploadControl.cpp:
1385 (WebCore::RenderFileUploadControl::setStyle): Force text-align to
1387 (WebCore::RenderFileUploadControl::paintObject): Fix positioning of
1388 the filename and icon in RTL
1390 2006-09-20 Alice Liu <alice.liu@apple.com>
1392 Reviewed by Adam Roben.
1396 * dom/WheelEvent.cpp:
1397 (WebCore::WheelEvent::WheelEvent):
1398 changed lrint to lround
1400 2006-09-20 Sam Weinig <sam.weinig@gmail.com>
1402 Build Fix. Adds isHorizontal attribute back to WheelEvent
1403 for the Objective-C bindings. If it is found that isHorizontal
1404 is not used, we should remove it again but also remove it's
1405 declaration from PublicDOMInterfaces.h
1408 (WebCore::WheelEvent::isHorizontal):
1409 * dom/WheelEvent.idl:
1411 2006-09-20 David Hyatt <hyatt@apple.com>
1413 Fix for 10945, WheelEvent should support two dimensions at once, since
1414 MacBooks allow for diagonal scrolling. Also enhance the PlatformWheelEvent
1415 to allow for diagonal scrolling.
1419 * dom/EventTargetNode.cpp:
1420 (WebCore::EventTargetNode::dispatchWheelEvent):
1421 * dom/WheelEvent.cpp:
1422 (WebCore::WheelEvent::WheelEvent):
1423 (WebCore::WheelEvent::initWheelEvent):
1425 (WebCore::WheelEvent::wheelDelta):
1426 (WebCore::WheelEvent::wheelDeltaX):
1427 (WebCore::WheelEvent::wheelDeltaY):
1428 * dom/WheelEvent.idl:
1429 * page/FrameView.cpp:
1430 (WebCore::FrameView::handleWheelEvent):
1431 * platform/PlatformWheelEvent.h:
1432 (WebCore::PlatformWheelEvent::deltaX):
1433 (WebCore::PlatformWheelEvent::deltaY):
1434 (WebCore::PlatformWheelEvent::normalize):
1435 * platform/mac/WheelEventMac.mm:
1436 (WebCore::PlatformWheelEvent::PlatformWheelEvent):
1438 2006-09-19 Eric Seidel <eric@eseidel.com>
1442 Split KCanvasResources.* into multiple files (and some other minor spacing changes).
1444 No tests were harmed in the making of this patch.
1446 * WebCore.xcodeproj/project.pbxproj:
1447 * kcanvas/KCanvasClipper.cpp: Added.
1448 (WebCore::operator<<):
1449 * kcanvas/KCanvasClipper.h: Added.
1450 * kcanvas/KCanvasFilters.h:
1451 * kcanvas/KCanvasImage.h:
1452 * kcanvas/KCanvasMarker.cpp: Added.
1453 * kcanvas/KCanvasMarker.h: Added.
1454 * kcanvas/KCanvasMasker.cpp: Added.
1455 (WebCore::KCanvasMasker::KCanvasMasker):
1456 (WebCore::KCanvasMasker::setMask):
1457 (WebCore::KCanvasMasker::externalRepresentation):
1458 (WebCore::getMaskerById):
1459 * kcanvas/KCanvasMasker.h: Added.
1460 * kcanvas/KCanvasResource.cpp: Added.
1461 (WebCore::KCanvasResource::invalidate):
1462 (WebCore::KCanvasResource::externalRepresentation):
1463 (WebCore::getResourceById):
1464 (WebCore::getPaintServerById):
1465 * kcanvas/KCanvasResource.h: Added.
1466 * kcanvas/KCanvasResources.cpp: Removed.
1467 * kcanvas/KCanvasResources.h: Removed.
1468 * kcanvas/RenderPath.cpp:
1469 * kcanvas/RenderSVGContainer.cpp:
1470 * kcanvas/RenderSVGImage.cpp:
1471 * kcanvas/RenderSVGText.cpp:
1472 * kcanvas/device/KRenderingPaintServer.h:
1473 * kcanvas/device/quartz/KCanvasMaskerQuartz.h:
1474 * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
1475 * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
1476 * ksvg2/svg/SVGClipPathElement.h:
1477 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
1478 * ksvg2/svg/SVGFEComponentTransferElement.cpp:
1479 * ksvg2/svg/SVGFECompositeElement.cpp:
1480 * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
1481 * ksvg2/svg/SVGFELightElement.cpp:
1482 * ksvg2/svg/SVGFEOffsetElement.cpp:
1483 * ksvg2/svg/SVGFETurbulenceElement.cpp:
1484 * ksvg2/svg/SVGFilterElement.cpp:
1485 * ksvg2/svg/SVGLinearGradientElement.cpp:
1486 * ksvg2/svg/SVGMarkerElement.h:
1487 * ksvg2/svg/SVGMaskElement.h:
1489 2006-09-19 Brady Eidson <beidson@apple.com>
1491 Reviewed by Sarge Decker
1493 <rdar://problem/4739892> and <rdar://problem/4729797>
1494 - WebCore::IconDatabase needs to have and respect an enabled() flag
1495 - Mail on ToT WebKit crashes in IconDatabase code when mailing a page from Safari
1497 * bridge/mac/WebCoreIconDatabaseBridge.h:
1498 * bridge/mac/WebCoreIconDatabaseBridge.mm:
1499 (-[WebCoreIconDatabaseBridge _setEnabled:]): Added
1500 (-[WebCoreIconDatabaseBridge _isEnabled]): Added
1501 * loader/icon/IconDatabase.cpp:
1502 (WebCore::IconDatabase::IconDatabase):
1503 (WebCore::IconDatabase::open): Don't open if disabled
1504 (WebCore::IconDatabase::removeAllIcons): Ignore if disabled/closed
1505 (WebCore::IconDatabase::setPrivateBrowsingEnabled): Ignore if disabled/closed
1506 (WebCore::IconDatabase::iconForPageURL): Default Icon if disabled/closed
1507 (WebCore::IconDatabase::isIconExpiredForIconURL): Default return if disabled/closed
1508 (WebCore::IconDatabase::iconURLForPageURL): Default return if disabled/closed
1509 (WebCore::IconDatabase::retainIconForPageURL): Ignore if disabled/closed
1510 (WebCore::IconDatabase::releaseIconForPageURL): Ignore if disabled/closed
1511 (WebCore::IconDatabase::releaseIconURL):
1512 (WebCore::IconDatabase::setIconDataForIconURL): Ignore if disabled/closed
1513 (WebCore::IconDatabase::setIconURLForPageURL): Ignore if disabled/closed
1514 (WebCore::IconDatabase::hasEntryForIconURL): Default return if disabled/closed
1515 (WebCore::IconDatabase::setEnabled): Added
1516 * loader/icon/IconDatabase.h:
1517 (WebCore::IconDatabase::enabled): Added
1519 (WebCore::Frame::endIfNotLoading): do an IconDatabase::enabled() check before bothering to load the icon
1520 * platform/mac/ResourceLoaderMac.mm: Removed extraneous #include
1522 2006-09-20 David Hyatt <hyatt@apple.com>
1524 Massage mouse wheel handling so that it is more cross-platform. Make
1525 all the work happen in handleWheelEvent on the FrameView.
1527 Reviewed by bradee-oh
1529 * bridge/mac/FrameMac.mm:
1530 (WebCore::FrameMac::wheelEvent):
1531 * page/FrameView.cpp:
1532 (WebCore::FrameView::handleWheelEvent):
1533 * platform/PlatformWheelEvent.h:
1534 (WebCore::PlatformWheelEvent::platformDelta):
1535 (WebCore::PlatformWheelEvent::delta):
1536 * platform/mac/WheelEventMac.mm:
1537 (WebCore::platformDeltaForEvent):
1538 (WebCore::PlatformWheelEvent::PlatformWheelEvent):
1539 * rendering/RenderLayer.cpp:
1540 (WebCore::RenderLayer::scroll):
1541 * rendering/RenderObject.cpp:
1542 (WebCore::RenderObject::scroll):
1544 2006-09-19 Eric Seidel <eric@eseidel.com>
1548 Improve test output for filters with bounding-box relative sizes.
1549 http://bugzilla.opendarwin.org/show_bug.cgi?id=8585
1551 Many test results updated.
1553 * kcanvas/KCanvasFilters.cpp:
1554 (WebCore::KCanvasFilter::externalRepresentation):
1556 2006-09-19 Eric Seidel <eric@eseidel.com>
1560 Markers should clip to their viewport.
1561 http://bugzilla.opendarwin.org/show_bug.cgi?id=5967
1563 Test: svg/custom/marker-overflow-clip.svg
1565 * kcanvas/KCanvasResources.cpp:
1566 (WebCore::KCanvasMarker::KCanvasMarker):
1567 (WebCore::KCanvasMarker::setMarker):
1568 (WebCore::KCanvasMarker::draw):
1569 * kcanvas/KCanvasResources.h:
1570 (WebCore::KCanvasMasker::mask):
1571 * ksvg2/svg/SVGMarkerElement.cpp:
1572 (WebCore::SVGMarkerElement::SVGMarkerElement):
1573 (WebCore::SVGMarkerElement::parseMappedAttribute):
1574 (WebCore::SVGMarkerElement::canvasResource):
1575 (WebCore::SVGMarkerElement::createRenderer):
1577 2006-09-19 Justin Garcia <justin.garcia@apple.com>
1581 Backing out my recent change.
1583 * css/cssstyleselector.cpp:
1584 (WebCore::CSSStyleSelector::adjustRenderStyle):
1586 2006-09-19 Brady Eidson <beidson@apple.com>
1588 Reviewed by Kevin McCullough
1590 http://bugzilla.opendarwin.org/show_bug.cgi?id=10940
1591 Opening a PDF in a new tab/window creates a documentless-frame
1592 and we deref the document without checking its validity
1595 (WebCore::Frame::iconURL):
1597 2006-09-19 Justin Garcia <justin.garcia@apple.com>
1599 Reviewed by harrison
1601 <rdar://problem/4735272>
1602 Can not click into link in programmatically editable content
1604 * css/cssstyleselector.cpp:
1605 (WebCore::CSSStyleSelector::adjustRenderStyle): We stopped using
1606 userModify to implement document wide editability.
1608 2006-09-19 MorganL <morlmor@yahoo.com>
1610 Reviewed by Darin and landed by Brady
1612 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10939
1613 Build broken when SVG is not enabled.
1615 * dom/XMLTokenizer.cpp:
1616 (WebCore::XMLTokenizer::startElementNs):
1618 2006-09-19 Justin Garcia <justin.garcia@apple.com>
1620 Reviewed by harrison
1622 <rdar://problem/4727383> REGRESSION: Pasting plain text with tabs into Blot converts the tabs to single spaces
1624 Pasting plain text results in a match style paste, and the insertion
1625 position is whitespace normal, which clobbers the whitespace:pre on
1626 tab spans. Skip changes to the whitespace mode when computing a style
1627 change for tab spans or the text nodes inside tab spans.
1629 * editing/ApplyStyleCommand.cpp:
1630 (WebCore::StyleChange::init): Don't change the whitespace mode inside
1633 2006-09-19 David Hyatt <hyatt@apple.com>
1635 Fix for bug 5298, shape=default not supported for image maps. Implement
1640 * html/HTMLAreaElement.cpp:
1641 (WebCore::HTMLAreaElement::getRegion):
1642 * html/HTMLMapElement.cpp:
1643 (WebCore::HTMLMapElement::mapMouseEvent):
1645 2006-09-19 Adam Roben <aroben@apple.com>
1649 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10824
1650 "no file selected" placeholder text missing from file upload control
1652 * WebCore.xcodeproj/project.pbxproj:
1653 * rendering/RenderFileUploadControl.cpp: Remove class
1654 RenderFileUploadInnerFileBox, rename defaultFilenameNumChars to
1655 defaultWidthNumChars
1656 (WebCore::RenderFileUploadControl::RenderFileUploadControl): Call
1657 RenderBlock constructor instead of RenderFlexibleBox,
1658 (WebCore::RenderFileUploadControl::setStyle): Remove references to
1660 (WebCore::RenderFileUploadControl::valueChanged): Call repaint()
1661 instead of updateIconAndFileName() (which has been removed)
1662 (WebCore::RenderFileUploadControl::updateFromElement): Remove
1663 references to m_fileBox, don't call updateIconAndFilename()
1664 (WebCore::RenderFileUploadControl::maxFilenameWidth): Calculate width
1665 without using m_fileBox
1666 (WebCore::RenderFileUploadControl::createButtonStyle): Remove
1667 now-unnecessary display:box rule.
1668 (WebCore::RenderFileUploadControl::paintObject): Remove redundant call
1669 to paintingDisabled() now that Icon::paint() does it, and add code to
1670 paint the filename directly.
1671 (WebCore::RenderFileUploadControl::calcMinMaxWidth): Move this method
1672 out of RenderFileUploadInnerFileBox and into RenderFileUploadControl
1673 * rendering/RenderFileUploadControl.h: Make RenderFileUploadControl a
1674 subclass of RenderBlock instead of RenderFlexibleBox, remove
1675 updateIconAndFilename() method, remove m_fileBox instance variable.
1677 2006-09-19 Eric Seidel <eric@eseidel.com>
1681 Exceptions thrown from <script> tags in XHTML/SVG docs show the wrong line numbers
1682 http://bugzilla.opendarwin.org/show_bug.cgi?id=10846
1684 No automated test case possible until http://bugzilla.opendarwin.org/show_bug.cgi?id=10905 is resolved.
1686 * dom/XMLTokenizer.cpp:
1687 (WebCore::XMLTokenizer::XMLTokenizer):
1688 (WebCore::XMLTokenizer::startElementNs):
1689 (WebCore::XMLTokenizer::endElementNs):
1691 2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
1693 Reviewed by eseidel. Landed by eseidel.
1695 Build fix only, no tests affected.
1697 * platform/gdk/FontPlatformDataGdk.cpp:
1698 (WebCore::FontPlatformData::FontPlatformData):
1699 (WebCore::FontPlatformData::~FontPlatformData):
1700 * platform/gdk/FrameGdk.h:
1701 * platform/gdk/TemporaryLinkStubs.cpp:
1702 (FrameGdk::isLoadTypeReload):
1703 (FrameGdk::originalRequestURL):
1704 (IconDatabase::setIconURLForPageURL):
1706 2006-09-19 David Hyatt <hyatt@apple.com>
1708 Refine the fix for 9805 to really get all the complex cases right.
1712 * rendering/RenderBlock.cpp:
1713 (WebCore::RenderBlock::clearFloatsIfNeeded):
1714 (WebCore::RenderBlock::handleBottomOfBlock):
1716 2006-09-18 David Hyatt <hyatt@apple.com>
1718 Fix for 9805, <hr> not positioned properly following a previous empty sibling
1719 that had clear:both set on it. Update self-collapsing block clearance
1720 behavior to match what is specified in the latest draft of CSS2.1.
1724 Added fast/block/margin-collapse/empty-clear-blocks.html
1726 * rendering/RenderBlock.cpp:
1727 (WebCore::RenderBlock::clearFloatsIfNeeded):
1728 (WebCore::RenderBlock::handleBottomOfBlock):
1730 2006-09-18 MorganL <morlmor@yahoo.com>
1732 Reviewed by Brady, landed by Brady
1734 Send receivedResponse callback to ResourceLoaderClient when loading
1737 See http://bugzilla.opendarwin.org/show_bug.cgi?id=10845
1739 * platform/win/ResourceLoaderWin.cpp:
1740 (WebCore::ResourceLoader::fileLoadTimer):
1742 2006-09-18 Brady Eidson <beidson@apple.com>
1746 <rdar://problem/3028061> - WebKit never updates favicon
1747 The WebKit enforced expiration date for icons has worked for some time, but the
1748 move to the new Icon Loader broke the "always get the icon if the user refreshes the page"
1749 functionality. This patch fixes that up, along with some other architectural improvements,
1750 the main one being that WebCore::Document now contains an iconURL for the Frame to query if needed.
1752 * bridge/mac/FrameMac.h: Added isLoadTypeReload()
1753 * bridge/mac/FrameMac.mm:
1754 (WebCore::FrameMac::isLoadTypeReload): Implementation, calls into the bridge
1755 * bridge/mac/WebCoreFrameBridge.h: Added isLoadTypeReload:
1756 * bridge/win/FrameWin.h: Added isLoadTypeReload() for temporary link stub
1757 * dom/Document.h: Added m_iconURL
1758 (WebCore::Document::iconURL): Added
1759 (WebCore::Document::setIconURL): Ditto
1760 * html/HTMLLinkElement.cpp:
1761 (WebCore::HTMLLinkElement::process): Sets the iconURL in the Document instead of the Frame
1763 (WebCore::Frame::iconURL): Calculates the iconURL based on the document, then the default favicon.ico url
1764 (WebCore::Frame::endIfNotLoading): Checks for the load type - always loads icon on Reload
1765 * page/Frame.h: Nuked setIconURL(), added isLoadTypeReload()
1766 * page/FramePrivate.h: Nuked IconURL
1767 * platform/win/TemporaryLinkStubs.cpp:
1768 (FrameWin::isLoadTypeReload):
1770 2006-09-18 Sam Weinig <sam.weinig@gmail.com>
1774 - Re-add private method [DOMRGBColor _color] to DOMPrivate.h as
1775 it is it turns out that AppKit uses it.
1777 * bindings/objc/DOMPrivate.h:
1778 * bindings/objc/DOMRGBColor.mm:
1779 (-[DOMRGBColor _color]):
1781 2006-09-18 Sam Weinig <sam.weinig@gmail.com>
1785 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10903
1786 Yet Another Objective-C Bindings Patch
1788 - Whitespace cleanup for IDLParser.pm
1790 - Split DOMException, DOMRangeException, DOMXPathException, DOMEventsException
1791 and DOMAbstractView into their own files.
1793 - Remove private method [DOMRGBColor _color] from DOMPrivate.h as
1794 it is not used and a public method is available now.
1796 - Remove internal method [DOMDocument _ownerElement] from DOMInternal.h
1799 - Auto-generate method isContentEditable for DOMNode.
1801 - General cleanup of bindings code including removing unneeded #imports
1802 and whitespace cleanup
1804 * WebCore.xcodeproj/project.pbxproj:
1805 * bindings/objc/DOM.mm:
1808 (-[DOMNode _initWithNode:WebCore::]):
1809 (+[DOMNode _nodeWith:WebCore::]):
1810 (-[DOMNode WebCore::]):
1811 (-[DOMNode KJS::Bindings::]):
1812 (-[DOMNode addEventListener:::]):
1813 (-[DOMNode removeEventListener:::]):
1814 (-[DOMNode dispatchEvent:]):
1815 (-[DOMElement image]):
1816 (-[DOMElement _font]):
1817 (-[DOMElement _imageTIFFRepresentation]):
1818 (-[DOMElement _getURLAttribute:]):
1819 (-[DOMElement _NPObject]):
1820 (-[DOMElement isFocused]):
1821 (-[DOMRange dealloc]):
1822 (-[DOMRange finalize]):
1823 (-[DOMRange description]):
1824 (-[DOMRange startContainer]):
1825 (-[DOMRange startOffset]):
1826 (-[DOMRange endContainer]):
1827 (-[DOMRange endOffset]):
1828 (-[DOMRange collapsed]):
1829 (-[DOMRange commonAncestorContainer]):
1830 (-[DOMRange setStart::]):
1831 (-[DOMRange setEnd::]):
1832 (-[DOMRange setStartBefore:]):
1833 (-[DOMRange setStartAfter:]):
1834 (-[DOMRange setEndBefore:]):
1835 (-[DOMRange setEndAfter:]):
1836 (-[DOMRange collapse:]):
1837 (-[DOMRange selectNode:]):
1838 (-[DOMRange selectNodeContents:]):
1839 (-[DOMRange compareBoundaryPoints::]):
1840 (-[DOMRange deleteContents]):
1841 (-[DOMRange extractContents]):
1842 (-[DOMRange cloneContents]):
1843 (-[DOMRange insertNode:]):
1844 (-[DOMRange surroundContents:]):
1845 (-[DOMRange cloneRange]):
1846 (-[DOMRange toString]):
1847 (-[DOMRange detach]):
1848 (-[DOMRange _initWithRange:WebCore::]):
1849 (+[DOMRange _rangeWith:WebCore::]):
1850 (-[DOMRange WebCore::]):
1851 (-[DOMNodeFilter _initWithNodeFilter:WebCore::]):
1852 (+[DOMNodeFilter _nodeFilterWith:WebCore::]):
1853 (-[DOMNodeFilter WebCore::]):
1854 (-[DOMNodeFilter dealloc]):
1855 (-[DOMNodeFilter finalize]):
1856 (-[DOMNodeIterator _initWithNodeIterator:WebCore::filter:]):
1857 (-[DOMNodeIterator WebCore::]):
1858 (+[DOMNodeIterator _nodeIteratorWith:WebCore::filter:]):
1859 (-[DOMTreeWalker _initWithTreeWalker:WebCore::filter:]):
1860 (-[DOMTreeWalker WebCore::]):
1861 (+[DOMTreeWalker _treeWalkerWith:WebCore::filter:]):
1862 (ObjCNodeFilterCondition::acceptNode):
1863 (-[DOMDocument createNodeIterator::::]):
1864 (-[DOMDocument createTreeWalker::::]):
1865 (ObjCEventListener::find):
1866 (ObjCEventListener::create):
1867 (ObjCEventListener::handleEvent):
1868 * bindings/objc/DOMAbstractView.h: Added.
1869 * bindings/objc/DOMAbstractView.mm: Added.
1870 (-[DOMAbstractView document]):
1871 (-[DOMAbstractView WebCore::]):
1872 (-[DOMAbstractView _initWithAbstractView:WebCore::]):
1873 (+[DOMAbstractView _abstractViewWith:WebCore::]):
1874 * bindings/objc/DOMCSS.mm:
1875 (-[DOMStyleSheet _initWithStyleSheet:WebCore::]):
1876 (+[DOMStyleSheet _styleSheetWith:WebCore::]):
1877 (+[DOMCSSStyleSheet _CSSStyleSheetWith:WebCore::]):
1878 (-[DOMCSSRule _initWithRule:WebCore::]):
1879 (+[DOMCSSRule _CSSRuleWith:WebCore::]):
1880 (-[DOMCSSValue _initWithValue:WebCore::]):
1881 (+[DOMCSSValue _CSSValueWith:WebCore::]):
1882 (+[DOMCSSPrimitiveValue _CSSPrimitiveValueWith:WebCore::]):
1883 (-[DOMDocument getComputedStyle::]):
1884 (-[DOMDocument getMatchedCSSRules::]):
1885 * bindings/objc/DOMCore.h:
1886 * bindings/objc/DOMEventException.h: Added.
1887 * bindings/objc/DOMEvents.h:
1888 * bindings/objc/DOMEvents.mm:
1889 * bindings/objc/DOMException.h: Added.
1890 * bindings/objc/DOMHTML.mm:
1891 (-[DOMHTMLDocument _createDocumentFragmentWithMarkupString:baseURLString:]):
1893 (-[DOMHTMLInputElement _replaceCharactersInRange:withString:selectingFromIndex:]):
1894 (-[DOMHTMLInputElement _selectedRange]):
1895 (-[DOMHTMLInputElement _setAutofilled:]):
1896 * bindings/objc/DOMInternal.h:
1897 * bindings/objc/DOMObject.h:
1898 * bindings/objc/DOMPrivate.h:
1899 * bindings/objc/DOMRange.h:
1900 * bindings/objc/DOMRangeException.h: Added.
1901 * bindings/objc/DOMViews.h:
1902 * bindings/objc/DOMViews.mm: Removed.
1903 * bindings/objc/DOMXPath.h:
1904 * bindings/objc/DOMXPathException.h: Added.
1905 * bindings/scripts/IDLParser.pm:
1908 2006-09-18 Brady Eidson <beidson@apple.com>
1912 * platform/win/TemporaryLinkStubs.cpp:
1913 (IconDatabase::setIconURLForPageURL):
1915 2006-09-18 David Hyatt <hyatt@apple.com>
1917 Fix for bug 3969, hr width doesn't update when it clears a float. This
1918 was also a problem with tables and overflow sections.
1922 Added fast/block/float/width-update-after-clear.html
1924 * rendering/RenderBlock.cpp:
1925 (WebCore::RenderBlock::collapseMargins):
1926 (WebCore::RenderBlock::clearFloatsIfNeeded):
1928 2006-09-18 Brady Eidson <beidson@apple.com>
1932 http://bugzilla.opendarwin.org/show_bug.cgi?id=10907
1933 REGRESSION: New Icon Loaders don't handle certain non-server-root URLs correctly
1935 * bridge/mac/FrameMac.h: Changed originalRequestURL() to virtual
1936 * bridge/win/FrameWin.h: Added originalRequestURL()
1937 * loader/icon/IconLoader.cpp:
1938 (IconLoader::receivedAllData): Moved the "pageURL to iconURL mapping logic" to Frame::commitIconURLToIconDatabase()
1940 (WebCore::Frame::iconURL): Construct the icon URL from *only* the protocol and host of the frame's url.
1941 (WebCore::Frame::endIfNotLoading): Call commitIconURLToIconDatabase() if we're not kicking off an icon load
1942 (WebCore::Frame::commitIconURLToIconDatabase): Map the completed doc's pageURL to the iconURL
1943 * page/Frame.h: Added pure virtual originalRequestURL()
1944 * platform/win/TemporaryLinkStubs.cpp:
1945 (FrameWin::originalRequestURL): Added
1947 2006-09-18 Rob Buis <buis@kde.org>
1951 http://bugzilla.opendarwin.org/show_bug.cgi?id=10807
1952 REGRESSION (r16259): Repro crash on manual-tests/svg-repaint-image.svg
1954 Make sure the paint method is not exited without popping
1955 context and transparency layer.
1957 WARNING: NO TEST CASES ADDED OR CHANGED
1959 * kcanvas/RenderSVGImage.cpp:
1960 (WebCore::RenderSVGImage::paint):
1962 2006-09-18 Graham Dennis <graham.dennis@gmail.com>
1966 - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10896
1967 REGRESSION: WebKit can't be built with SVG disabled
1969 * bindings/scripts/CodeGeneratorObjC.pm:
1970 For each file generated add a #ifdef <something>_SUPPORT / #endif
1971 pair if the idl file has a Conditional extended attribute
1973 2006-09-17 Eric Seidel <eric@eseidel.com>
1977 REGRESSION (r16245): double-clicking on javascript exceptions fails to show source
1978 http://bugzilla.opendarwin.org/show_bug.cgi?id=10813
1980 * bridge/mac/WebCoreFrameBridge.mm:
1981 (+[WebCoreFrameBridge stringWithData:textEncodingName:]):
1983 2006-09-17 Alexey Proskuryakov <ap@nypop.com>
1987 http://bugzilla.opendarwin.org/show_bug.cgi?id=10779
1988 REGRESSION: Animated GIF ignores frame intervals and loops infinitely
1992 * platform/Image.cpp:
1993 (WebCore::Image::shouldAnimate): Don't check that there is more than one frame,
1994 maybe the rest just hasn't been loaded yet.
1995 (WebCore::Image::startAnimation): Move the frame count check here - there is no need
1996 to start animating before we get at least two frames.
1998 2006-09-17 Brady Eidson <beidson@apple.com>
2002 IconLoader now gracefully handles the condition where there's no document in the frame
2005 * loader/icon/IconLoader.cpp:
2006 (IconLoader::startLoading):
2008 2006-09-17 David Hyatt <hyatt@apple.com>
2010 Fix for bug 10899, rework how CSS keywords work to be smarter about
2011 using the correct size when generic families change (e.g., monospace to
2012 serif and vice versa).
2016 Added fast/text/basic/generic-family-changes.html
2018 * css/cssstyleselector.cpp:
2019 (WebCore::CSSStyleSelector::applyProperty):
2020 (WebCore::CSSStyleSelector::checkForGenericFamilyChange):
2021 (WebCore::CSSStyleSelector::fontSizeForKeyword):
2022 * css/cssstyleselector.h:
2024 (WebCore::Document::recalcStyle):
2025 * platform/FontDescription.h:
2026 (WebCore::FontDescription::FontDescription):
2027 (WebCore::FontDescription::keywordSize):
2028 (WebCore::FontDescription::setKeywordSize):
2029 (WebCore::FontDescription::operator==):
2031 2006-09-17 Alexey Proskuryakov <ap@nypop.com>
2035 http://bugzilla.opendarwin.org/show_bug.cgi?id=10852
2036 REGRESSION: Reproducible crash in XMLHttpRequest::abort()
2038 Test: http/tests/xmlhttprequest/xhr-onunload.html
2040 * xml/xmlhttprequest.cpp:
2041 (WebCore::XMLHttpRequest::send): Check the return value of ResourceLoader::start().
2043 * loader/icon/IconLoader.cpp:
2044 (IconLoader::startLoading): Fix a similar latent bug here.
2046 2006-09-17 Adam Roben <aroben@apple.com>
2050 * loader/icon/IconDatabase.cpp:
2052 2006-09-17 Anders Carlsson <acarlsson@apple.com>
2056 Add simplifyWhiteSpace and stripWhiteSpace to the String class.
2057 Change the XSLT Parameter Map to use Strings instead of StringImpls.
2060 * bindings/js/JSXSLTProcessor.cpp:
2061 (KJS::XSLTProcessorProtoFunc::callAsFunction):
2062 * bindings/js/kjs_events.cpp:
2063 (KJS::JSAbstractEventListener::handleEvent):
2064 * bindings/js/kjs_window.cpp:
2065 (KJS::ScheduledAction::execute):
2066 * css/MediaList.cpp:
2067 (WebCore::MediaList::setMediaText):
2069 (WebCore::Document::processHttpEquiv):
2070 * editing/ApplyStyleCommand.cpp:
2071 (WebCore::StyleChange::init):
2072 * html/HTMLDocument.cpp:
2073 (WebCore::parseDocTypeDeclaration):
2074 * html/HTMLLinkElement.cpp:
2075 (WebCore::HTMLLinkElement::parseMappedAttribute):
2076 * html/HTMLObjectElement.cpp:
2077 (WebCore::HTMLObjectElement::HTMLObjectElement):
2078 (WebCore::HTMLObjectElement::parseMappedAttribute):
2079 (WebCore::HTMLObjectElement::attach):
2080 (WebCore::HTMLObjectElement::setComplete):
2081 (WebCore::HTMLObjectElement::detach):
2082 (WebCore::HTMLObjectElement::recalcStyle):
2083 (WebCore::HTMLObjectElement::childrenChanged):
2084 (WebCore::HTMLObjectElement::isImageType):
2085 * html/HTMLObjectElement.h:
2086 * html/HTMLOptionElement.cpp:
2087 (WebCore::HTMLOptionElement::value):
2088 * html/HTMLSelectElement.cpp:
2089 (WebCore::HTMLSelectElement::appendFormData):
2090 * html/HTMLTokenizer.cpp:
2091 (WebCore::HTMLTokenizer::parseTag):
2092 * ksvg2/svg/SVGColor.cpp:
2093 (WebCore::SVGColor::setRGBColor):
2094 * ksvg2/svg/SVGDescElement.cpp:
2095 (WebCore::SVGDescElement::description):
2096 * platform/PlatformString.h:
2097 * platform/String.cpp:
2098 (WebCore::String::stripWhiteSpace):
2099 (WebCore::String::simplifyWhiteSpace):
2100 * platform/StringImpl.cpp:
2102 (WebCore::parseLength):
2103 (WebCore::StringImpl::stripWhiteSpace):
2104 (WebCore::StringImpl::simplifyWhiteSpace):
2105 (WebCore::StringImpl::toInt):
2106 * platform/StringImpl.h:
2107 * platform/mac/ClipboardMac.mm:
2108 (WebCore::cocoaTypeFromMIMEType):
2109 * rendering/RenderPartObject.cpp:
2110 (WebCore::RenderPartObject::updateWidget):
2111 * xml/XPathFunctions.cpp:
2112 (WebCore::XPath::FunNormalizeSpace::doEvaluate):
2113 * xml/XPathGrammar.y:
2114 * xml/XPathStep.cpp:
2115 (WebCore::XPath::Step::nodeTestMatches):
2116 * xml/XSLStyleSheet.cpp:
2117 (WebCore::XSLStyleSheet::loadChildSheets):
2118 (WebCore::XSLStyleSheet::locateStylesheetSubResource):
2119 * xml/XSLTProcessor.cpp:
2120 (WebCore::xsltParamArrayFromParameterMap):
2121 (WebCore::XSLTProcessor::setParameter):
2122 (WebCore::XSLTProcessor::getParameter):
2123 (WebCore::XSLTProcessor::removeParameter):
2124 * xml/XSLTProcessor.h:
2125 * xml/xmlhttprequest.cpp:
2126 (WebCore::XMLHttpRequest::getStatusText):
2128 2006-09-17 David Hyatt <hyatt@apple.com>
2130 Fix for bugzilla bugs 10895 and 6336, fieldsets misbehaving when floats
2131 are declared right before the fieldsets. It turns out fieldsets in other
2132 browsers avoid floats (like overflow:auto/hidden/scroll sections do), so
2133 adding that behavior to fieldset fixes the bug.
2135 Made avoidsFloats virtual and did some refactoring to make tables, flexboxes
2136 and fieldsets all subclass.
2140 Added fast/forms/float-before-fieldset.html
2142 * rendering/RenderFieldset.h:
2143 (WebCore::RenderFieldset::avoidsFloats):
2144 * rendering/RenderFlexibleBox.h:
2145 (WebCore::RenderFlexibleBox::avoidsFloats):
2146 * rendering/RenderObject.cpp:
2147 (WebCore::RenderObject::avoidsFloats):
2148 * rendering/RenderObject.h:
2149 * rendering/RenderTable.h:
2150 (WebCore::RenderTable::avoidsFloats):
2152 2006-09-17 David Hyatt <hyatt@apple.com>
2154 Fix for bugzilla bug 3240, implement support for the HTML4 "frame" and
2155 "rules" attributes on tables.
2157 Reviewed by bradee-oh
2159 Well-covered by existing layout tests.
2161 * html/HTMLTableCellElement.cpp:
2162 (WebCore::HTMLTableCellElement::additionalAttributeStyleDecl):
2163 * html/HTMLTableColElement.cpp:
2164 (WebCore::HTMLTableColElement::additionalAttributeStyleDecl):
2165 * html/HTMLTableColElement.h:
2166 * html/HTMLTableElement.cpp:
2167 (WebCore::HTMLTableElement::HTMLTableElement):
2168 (WebCore::HTMLTableElement::~HTMLTableElement):
2169 (WebCore::HTMLTableElement::setCaption):
2170 (WebCore::HTMLTableElement::setTHead):
2171 (WebCore::HTMLTableElement::setTFoot):
2172 (WebCore::HTMLTableElement::setTBody):
2173 (WebCore::HTMLTableElement::createTHead):
2174 (WebCore::HTMLTableElement::deleteTHead):
2175 (WebCore::HTMLTableElement::createTFoot):
2176 (WebCore::HTMLTableElement::deleteTFoot):
2177 (WebCore::HTMLTableElement::createCaption):
2178 (WebCore::HTMLTableElement::deleteCaption):
2179 (WebCore::HTMLTableElement::insertRow):
2180 (WebCore::HTMLTableElement::deleteRow):
2181 (WebCore::HTMLTableElement::addChild):
2182 (WebCore::HTMLTableElement::childrenChanged):
2183 (WebCore::HTMLTableElement::mapToEntry):
2184 (WebCore::HTMLTableElement::parseMappedAttribute):
2185 (WebCore::HTMLTableElement::additionalAttributeStyleDecl):
2186 (WebCore::HTMLTableElement::getSharedCellDecl):
2187 (WebCore::HTMLTableElement::getSharedGroupDecl):
2188 (WebCore::HTMLTableElement::attach):
2189 * html/HTMLTableElement.h:
2190 (WebCore::HTMLTableElement::caption):
2191 (WebCore::HTMLTableElement::tHead):
2192 (WebCore::HTMLTableElement::tFoot):
2193 (WebCore::HTMLTableElement::):
2194 * html/HTMLTableRowElement.h:
2195 * html/HTMLTableSectionElement.cpp:
2196 (WebCore::HTMLTableSectionElement::additionalAttributeStyleDecl):
2197 * html/HTMLTableSectionElement.h:
2199 2006-09-17 David Hyatt <hyatt@apple.com>
2201 Fix for bugzilla bug 4192, font size wrong for <tt> elements that
2202 specify their own new font-family list. Make sure to always
2203 reset the generic family along with the family list when mapping in
2204 new font-family values.
2206 Reviewed by bradee-oh
2208 fast/text/basic/generic-family-reset.html
2210 * css/cssstyleselector.cpp:
2211 (WebCore::CSSStyleSelector::applyProperty):
2213 2006-09-16 Brady Eidson <beidson@apple.com>
2217 Pruning code relating to WebKit's icon loader
2219 * bridge/mac/WebCoreIconDatabaseBridge.h:
2220 * bridge/mac/WebCoreIconDatabaseBridge.mm:
2221 * loader/icon/IconDatabase.h:
2223 (WebCore::Frame::endIfNotLoading): Moved a FIXME in from WebKit's IconLoader to
2226 2006-09-16 Sam Weinig <sam.weinig@gmail.com>
2230 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10885
2231 Auto-generate DOMHTMLDocument for the Objective-C bindings
2233 * DerivedSources.make:
2234 * WebCore.xcodeproj/project.pbxproj:
2235 * bindings/objc/DOMExtensions.h:
2236 * bindings/objc/DOMHTML.mm:
2237 (-[DOMHTMLDocument createDocumentFragmentWithText:]):
2238 * bindings/objc/DOMHTMLDocument.h: Removed.
2239 * bindings/objc/DOMHTMLDocument.mm: Removed.
2240 * bindings/objc/PublicDOMInterfaces.h:
2241 * bindings/scripts/CodeGeneratorObjC.pm:
2242 * html/HTMLDocument.idl:
2243 * platform/DeprecatedString.h:
2244 (WebCore::DeprecatedString::operator NSString*):
2246 2006-09-16 Rob Buis <buis@kde.org>
2250 http://bugzilla.opendarwin.org/show_bug.cgi?id=10866
2251 Code in kcanvas/ should not use Private
2253 Remove Private classes and tweak coding style.
2255 WARNING: NO TEST CASES ADDED OR CHANGED
2257 * kcanvas/RenderPath.cpp:
2258 (WebCore::RenderPath::RenderPath):
2259 (WebCore::RenderPath::~RenderPath):
2260 (WebCore::RenderPath::localTransform):
2261 (WebCore::RenderPath::setLocalTransform):
2262 (WebCore::RenderPath::fillContains):
2263 (WebCore::RenderPath::relativeBBox):
2264 (WebCore::RenderPath::setPath):
2265 (WebCore::RenderPath::path):
2266 (WebCore::RenderPath::layout):
2267 * kcanvas/RenderPath.h:
2268 * kcanvas/RenderSVGContainer.cpp:
2269 (WebCore::RenderSVGContainer::RenderSVGContainer):
2270 (WebCore::RenderSVGContainer::~RenderSVGContainer):
2271 (WebCore::RenderSVGContainer::drawsContents):
2272 (WebCore::RenderSVGContainer::setDrawsContents):
2273 (WebCore::RenderSVGContainer::localTransform):
2274 (WebCore::RenderSVGContainer::setLocalTransform):
2275 (WebCore::RenderSVGContainer::layout):
2276 (WebCore::RenderSVGContainer::paint):
2277 (WebCore::RenderSVGContainer::setViewport):
2278 (WebCore::RenderSVGContainer::viewport):
2279 (WebCore::RenderSVGContainer::setViewBox):
2280 (WebCore::RenderSVGContainer::viewBox):
2281 (WebCore::RenderSVGContainer::setAlign):
2282 (WebCore::RenderSVGContainer::align):
2283 (WebCore::RenderSVGContainer::fillContains):
2284 (WebCore::RenderSVGContainer::strokeContains):
2285 (WebCore::RenderSVGContainer::setSlice):
2286 (WebCore::RenderSVGContainer::slice):
2287 * kcanvas/RenderSVGContainer.h:
2288 * kcanvas/device/KRenderingFillPainter.cpp:
2289 (WebCore::KRenderingFillPainter::KRenderingFillPainter):
2290 (WebCore::KRenderingFillPainter::~KRenderingFillPainter):
2291 (WebCore::KRenderingFillPainter::fillRule):
2292 (WebCore::KRenderingFillPainter::setFillRule):
2293 (WebCore::KRenderingFillPainter::opacity):
2294 (WebCore::KRenderingFillPainter::setOpacity):
2295 * kcanvas/device/KRenderingFillPainter.h:
2296 * kcanvas/device/KRenderingPaintServerGradient.cpp:
2297 (WebCore::KRenderingPaintServerGradient::KRenderingPaintServerGradient):
2298 (WebCore::KRenderingPaintServerGradient::~KRenderingPaintServerGradient):
2299 (WebCore::KRenderingPaintServerGradient::gradientStops):
2300 (WebCore::KRenderingPaintServerGradient::setGradientStops):
2301 (WebCore::KRenderingPaintServerGradient::spreadMethod):
2302 (WebCore::KRenderingPaintServerGradient::setGradientSpreadMethod):
2303 (WebCore::KRenderingPaintServerGradient::boundingBoxMode):
2304 (WebCore::KRenderingPaintServerGradient::setBoundingBoxMode):
2305 (WebCore::KRenderingPaintServerGradient::gradientTransform):
2306 (WebCore::KRenderingPaintServerGradient::setGradientTransform):
2307 (WebCore::KRenderingPaintServerLinearGradient::KRenderingPaintServerLinearGradient):
2308 (WebCore::KRenderingPaintServerLinearGradient::~KRenderingPaintServerLinearGradient):
2309 (WebCore::KRenderingPaintServerLinearGradient::gradientStart):
2310 (WebCore::KRenderingPaintServerLinearGradient::setGradientStart):
2311 (WebCore::KRenderingPaintServerLinearGradient::gradientEnd):
2312 (WebCore::KRenderingPaintServerLinearGradient::setGradientEnd):
2313 (WebCore::KRenderingPaintServerRadialGradient::KRenderingPaintServerRadialGradient):
2314 (WebCore::KRenderingPaintServerRadialGradient::~KRenderingPaintServerRadialGradient):
2315 (WebCore::KRenderingPaintServerRadialGradient::gradientCenter):
2316 (WebCore::KRenderingPaintServerRadialGradient::setGradientCenter):
2317 (WebCore::KRenderingPaintServerRadialGradient::gradientFocal):
2318 (WebCore::KRenderingPaintServerRadialGradient::setGradientFocal):
2319 (WebCore::KRenderingPaintServerRadialGradient::gradientRadius):
2320 (WebCore::KRenderingPaintServerRadialGradient::setGradientRadius):
2321 (WebCore::KRenderingPaintServerGradient::listener):
2322 (WebCore::KRenderingPaintServerGradient::setListener):
2323 * kcanvas/device/KRenderingPaintServerGradient.h:
2324 * kcanvas/device/KRenderingPaintServerPattern.cpp:
2325 (WebCore::KRenderingPaintServerPattern::KRenderingPaintServerPattern):
2326 (WebCore::KRenderingPaintServerPattern::~KRenderingPaintServerPattern):
2327 (WebCore::KRenderingPaintServerPattern::setBbox):
2328 (WebCore::KRenderingPaintServerPattern::bbox):
2329 (WebCore::KRenderingPaintServerPattern::boundingBoxMode):
2330 (WebCore::KRenderingPaintServerPattern::setBoundingBoxMode):
2331 (WebCore::KRenderingPaintServerPattern::tile):
2332 (WebCore::KRenderingPaintServerPattern::setTile):
2333 (WebCore::KRenderingPaintServerPattern::patternTransform):
2334 (WebCore::KRenderingPaintServerPattern::setPatternTransform):
2335 (WebCore::KRenderingPaintServerPattern::listener):
2336 (WebCore::KRenderingPaintServerPattern::setListener):
2337 * kcanvas/device/KRenderingPaintServerPattern.h:
2338 * kcanvas/device/KRenderingPaintServerSolid.cpp:
2339 (WebCore::KRenderingPaintServerSolid::KRenderingPaintServerSolid):
2340 (WebCore::KRenderingPaintServerSolid::~KRenderingPaintServerSolid):
2341 (WebCore::KRenderingPaintServerSolid::color):
2342 (WebCore::KRenderingPaintServerSolid::setColor):
2343 * kcanvas/device/KRenderingPaintServerSolid.h:
2344 * kcanvas/device/KRenderingStrokePainter.cpp:
2345 (WebCore::KRenderingStrokePainter::KRenderingStrokePainter):
2346 (WebCore::KRenderingStrokePainter::~KRenderingStrokePainter):
2347 (WebCore::KRenderingStrokePainter::strokeWidth):
2348 (WebCore::KRenderingStrokePainter::setStrokeWidth):
2349 (WebCore::KRenderingStrokePainter::strokeMiterLimit):
2350 (WebCore::KRenderingStrokePainter::setStrokeMiterLimit):
2351 (WebCore::KRenderingStrokePainter::strokeCapStyle):
2352 (WebCore::KRenderingStrokePainter::setStrokeCapStyle):
2353 (WebCore::KRenderingStrokePainter::strokeJoinStyle):
2354 (WebCore::KRenderingStrokePainter::setStrokeJoinStyle):
2355 (WebCore::KRenderingStrokePainter::dashOffset):
2356 (WebCore::KRenderingStrokePainter::setDashOffset):
2357 (WebCore::KRenderingStrokePainter::dashArray):
2358 (WebCore::KRenderingStrokePainter::setDashArray):
2359 (WebCore::KRenderingStrokePainter::opacity):
2360 (WebCore::KRenderingStrokePainter::setOpacity):
2361 (WebCore::KRenderingStrokePainter::dirty):
2362 (WebCore::KRenderingStrokePainter::setDirty):
2363 * kcanvas/device/KRenderingStrokePainter.h:
2365 2006-09-16 Mark Rowe <opendarwin.org@bdash.net.nz>
2369 http://bugzilla.opendarwin.org/show_bug.cgi?id=10887
2372 * bindings/objc/DOMPrivate.h: Remove reference to DOMEventPrivate.h.
2374 2006-09-16 Sam Weinig <sam.weinig@gmail.com>
2378 Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10886
2379 REGRESSION (r16387): Reproducible crash when mousing over HTML document
2381 - Special case method [DOMNode ownerDocument] to call document() instead
2382 or ownerDocument() to return to the old behavior.
2384 * WebCore.xcodeproj/project.pbxproj:
2385 * bindings/scripts/CodeGeneratorObjC.pm:
2387 2006-09-15 Brady Eidson <beidson@apple.com>
2389 Reviewed by Tim Hatcher
2391 <rdar://problem/4730811> - New IconDatabase needs to attempt to create its path.
2392 Otherwise new installs and new user accounts won't have any icons because the icon.db cannot be created
2394 * loader/icon/IconDatabase.cpp: Removed a now obsolete FIXME
2395 (WebCore::makeAllDirectories): Added - candidate to be in a header for "platform neutral file utilities"
2396 (WebCore::IconDatabase::open): Make sure the directory exists
2398 2006-09-15 Timothy Hatcher <timothy@apple.com>
2402 Make new style ObjC methods public API.
2404 * WebCore.xcodeproj/project.pbxproj:
2405 * bindings/objc/DOMPrivate.h:
2406 * bindings/objc/PublicDOMInterfaces.h:
2408 2006-09-15 Sam Weinig <sam.weinig@gmail.com>
2412 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10870
2413 Auto-generate DOMNode for the Objective-C bindings
2415 * DerivedSources.make:
2416 * WebCore.xcodeproj/project.pbxproj:
2417 * bindings/objc/DOM.mm:
2418 (-[DOMNode boundingBox]):
2419 (-[DOMNode lineBoxRects]):
2420 * bindings/objc/DOMEvents.h:
2421 * bindings/objc/DOMExtensions.h:
2422 * bindings/objc/DOMNode.h: Removed.
2423 * bindings/objc/DOMNode.mm: Removed.
2424 * bindings/objc/PublicDOMInterfaces.h:
2425 * bindings/scripts/CodeGeneratorObjC.pm:
2428 2006-09-15 Timothy Hatcher <timothy@apple.com>
2432 Removed alter selection logic from WebCoreFrameBridge and moved to SelectionController.
2434 * bridge/mac/WebCoreFrameBridge.h:
2435 * bridge/mac/WebCoreFrameBridge.mm:
2436 (-[WebCoreFrameBridge centerSelectionInVisibleArea]):
2437 (-[WebCoreFrameBridge rangeByExpandingSelectionWithGranularity:]):
2438 (-[WebCoreFrameBridge rangeByAlteringCurrentSelection:direction:granularity:]):
2439 (-[WebCoreFrameBridge alterCurrentSelection:direction:granularity:]):
2440 (-[WebCoreFrameBridge alterCurrentSelection:verticalDistance:]):
2441 (-[WebCoreFrameBridge replaceMarkedTextWithText:]):
2442 (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
2443 (-[WebCoreFrameBridge increaseSelectionListLevel]):
2444 (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]):
2445 (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]):
2446 (-[WebCoreFrameBridge decreaseSelectionListLevel]):
2447 (-[WebCoreFrameBridge insertLineBreak]):
2448 (-[WebCoreFrameBridge insertParagraphSeparator]):
2449 (-[WebCoreFrameBridge insertParagraphSeparatorInQuotedContent]):
2450 (-[WebCoreFrameBridge insertText:selectInsertedText:]):
2451 (-[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:granularity:]):
2452 (-[WebCoreFrameBridge forwardDeleteKeyPressedWithSmartDelete:granularity:]):
2453 (createMouseEventFromDraggingInfo):
2454 * editing/SelectionController.cpp:
2455 (WebCore::SelectionController::moveTo):
2456 (WebCore::SelectionController::setSelection):
2457 (WebCore::SelectionController::modify):
2458 (WebCore::SelectionController::setBase):
2459 (WebCore::SelectionController::setExtent):
2460 * editing/SelectionController.h:
2462 (WebCore::Frame::revealSelection):
2463 (WebCore::Frame::revealCaret):
2466 2006-09-15 Brady Eidson <beidson@apple.com>
2470 Added the ability to get a mutable char* from a CString, which will copy the internal
2471 buffer if the ref count is greater than 1 so your mutable char* won't affect any other
2472 referrer of that buffer.
2474 * platform/CString.cpp:
2475 (WebCore::CString::mutableData):
2476 (WebCore::CString::copyBufferIfNeeded):
2477 * platform/CString.h:
2479 2006-09-15 Justin Garcia <justin.garcia@apple.com>
2481 Reviewed by harrison
2483 <rdar://problem/4674869>
2484 REGRESSION: selecting text to write over results in cursor jumping to middle of next line
2486 * editing/SelectionController.cpp:
2487 (WebCore::SelectionController::modify): Added lineBoundary to test fix.
2488 * editing/visible_units.cpp:
2489 (WebCore::endOfLine): If the last box on the line is a lineBreak, return the
2490 position before it, not after it.
2492 2006-09-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
2496 http://bugzilla.opendarwin.org/show_bug.cgi?id=10864
2497 Bug 10864: Linux\GDK build fixes
2499 * Projects/gdk/webcore-gdk.bkl:
2500 * WebCoreSources.bkl:
2501 * platform/gdk/FontCacheGdk.cpp:
2502 * platform/gdk/FontDataGdk.cpp:
2503 (WebCore::FontData::platformInit):
2504 * platform/gdk/FontGdk.cpp:
2505 (WebCore::Font::drawGlyphs):
2506 * platform/gdk/FrameGdk.cpp:
2507 (WebCore::FrameGdk::handleGdkEvent):
2508 * platform/gdk/FrameGdk.h:
2509 * platform/gdk/ImageGdk.cpp: Added.
2510 (WebCore::Image::initPlatformData):
2511 (WebCore::Image::invalidatePlatformData):
2512 (WebCore::Image::loadPlatformResource):
2513 (WebCore::Image::supportsType):
2514 * platform/gdk/RenderPopupMenuGdk.cpp:
2515 (WebCore::RenderPopupMenuGdk::hidePopup):
2516 * platform/gdk/RenderPopupMenuGdk.h:
2517 * platform/gdk/ScreenGdk.cpp:
2518 (WebCore::drawableForPage):
2519 (WebCore::screenRect):
2520 (WebCore::screenDepth):
2521 (WebCore::usableScreenRect):
2522 (WebCore::scaleFactor):
2523 * platform/gdk/SystemTimeLinux.cpp:
2524 (WebCore::currentTime):
2525 * platform/gdk/TemporaryLinkStubs.cpp:
2526 (FrameGdk::bindingRootObject):
2527 (FrameGdk::markMisspellings):
2528 (WebCore::screenDepthPerComponent):
2529 (WebCore::screenIsMonochrome):
2530 (WebCore::fileButtonChooseFileLabel):
2531 (WebCore::fileButtonNoFileSelectedLabel):
2532 (FrameGdk::shouldChangeSelection):
2533 (FrameGdk::respondToChangedSelection):
2534 (FrameGdk::respondToChangedContents):
2536 (PlatformScrollBar::PlatformScrollBar):
2537 (PlatformScrollBar::~PlatformScrollBar):
2538 (PlatformScrollBar::width):
2539 (PlatformScrollBar::height):
2540 (PlatformScrollBar::setEnabled):
2541 (PlatformScrollBar::paint):
2542 (PlatformScrollBar::setScrollBarValue):
2543 (PlatformScrollBar::setKnobProportion):
2544 (PlatformScrollBar::setRect):
2545 (ScrollBar::ScrollBar):
2546 (FileChooser::FileChooser):
2547 (FileChooser::~FileChooser):
2548 (FileChooser::openFileChooser):
2549 (FileChooser::basenameForWidth):
2550 (FileChooser::uploadControlDetaching):
2551 (FileChooser::chooseFile):
2554 (Icon::newIconForFile):
2556 (IconLoader::stopLoading):
2557 (IconLoader::startLoading):
2558 (IconLoader::createForFrame):
2559 (IconDatabase::isIconExpiredForIconURL):
2560 (IconDatabase::hasEntryForIconURL):
2561 (IconDatabase::sharedIconDatabase):
2562 * platform/gdk/WidgetGdk.cpp:
2565 2006-09-15 Nikolas Zimmermann <zimmermann@kde.org>
2569 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
2570 Fix svg memory leaks.
2572 Reworked SVGList to deal with RefPtr's for ptr types
2573 which makes manual refcounting unnecessary, and is much safer.
2575 Removing all virtual functions (nullItem) from SVGList, and
2576 also remove SVGListBase. Switch to a similar concept like
2577 Vector/VectorTraits (see new file SVGListTraits.h).
2579 Credits go to Eric/Maciej for the inspiration.
2581 * CMakeLists.txt: Add SVGListTraits.cpp to build
2582 * WebCore.xcodeproj/project.pbxproj: Ditto.
2583 * bindings/scripts/CodeGeneratorJS.pm: Generator changes for SVGTransform/PathSeg/LengthList (now RefPtr based)
2584 * kcanvas/RenderSVGText.cpp: Add some get() methods, as SVGLengthList is RefPtr based now.
2585 (WebCore::RenderSVGText::translationForAttributes):
2586 * ksvg2/svg/SVGAnimateTransformElement.cpp: Add some get() methods, as SVGTransformList is RefPtr based now.
2587 (WebCore::SVGAnimateTransformElement::handleTimerEvent):
2588 * ksvg2/svg/SVGElementInstanceList.cpp: Be RefPtr based.
2589 (WebCore::SVGElementInstanceList::SVGElementInstanceList):
2590 * ksvg2/svg/SVGElementInstanceList.h:
2591 * ksvg2/svg/SVGLengthList.cpp: Ditto.
2592 (WebCore::SVGLengthList::SVGLengthList):
2593 * ksvg2/svg/SVGLengthList.h: Ditto.
2594 * ksvg2/svg/SVGList.h: Rewrote, as described above.
2595 (WebCore::SVGListTypeOperations::nullItem):
2596 (WebCore::SVGList::SVGList):
2597 (WebCore::SVGList::~SVGList):
2598 (WebCore::SVGList::clear):
2599 (WebCore::SVGList::getFirst):
2600 (WebCore::SVGList::getLast):
2601 (WebCore::SVGList::getItem):
2602 (WebCore::SVGList::replaceItem):
2603 (WebCore::SVGList::removeItem):
2604 * ksvg2/svg/SVGListTraits.cpp: Added.
2605 * ksvg2/svg/SVGListTraits.h: Added.
2607 * ksvg2/svg/SVGPathElement.cpp: Add some get() methods, as SVGPathSegList is RefPtr based now.
2608 (WebCore::SVGPathElement::toPathData):
2609 * ksvg2/svg/SVGPathSegList.cpp: Be RefPtr based.
2610 (WebCore::SVGPathSegList::SVGPathSegList):
2611 * ksvg2/svg/SVGPathSegList.h: Ditto.
2612 * ksvg2/svg/SVGTransform.cpp: Style cleanup.
2613 (SVGTransform::SVGTransform):
2614 * ksvg2/svg/SVGTransformList.cpp: Be RefPtr based.
2615 (SVGTransformList::SVGTransformList):
2616 (SVGTransformList::createSVGTransformFromMatrix):
2617 (SVGTransformList::consolidate):
2618 * ksvg2/svg/SVGTransformList.h: Ditto.
2619 * ksvg2/svg/SVGTransformable.cpp: Fix RefPtr usage of SVGTransform.
2620 (SVGTransformable::parseTransformAttribute):
2622 2006-09-15 Nikolas Zimmermann <zimmermann@kde.org>
2624 Reviewed by eseidel. Landed by eseidel.
2626 Fix build on Qt/Linux and implement Frame::addMessageToConsole to
2627 be able to see javascript errors for instance.
2630 * platform/qt/FrameQt.h:
2631 * platform/qt/FrameQt.cpp: Implement addMessageToConsole.
2632 (WebCore::FrameQt::bindingRootObject):
2633 * platform/qt/TemporaryLinkStubs.cp
2634 (WebCore::IconDatabase::hasEntryForIconURL):
2635 (WebCore::IconDatabase::sharedIconDatabase):
2637 2006-09-15 Sam Weinig <sam.weinig@gmail.com>
2641 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10869
2642 Auto-generate the internal methods for the Objective-C bindings
2644 - Auto-generates the internal method (ie. the _fooBar and _fooBarWith methods)
2645 implementations where standard. For cases where a custom implementation was
2646 needed, added a [ObjCNoInternal] extended attribute to the corresponding IDL.
2648 - Some general cleanup of some of the non-generated bindings, to bring them in-
2649 line with what the generated bindings look like.
2651 * bindings/objc/DOM.mm:
2652 (-[DOMNode description]):
2653 * bindings/objc/DOMCSS.mm:
2654 (-[DOMCSSPrimitiveValue WebCore::]):
2655 (-[DOMDocument getComputedStyle::]):
2656 (-[DOMDocument getMatchedCSSRules::]):
2657 * bindings/objc/DOMEvents.mm:
2658 (-[DOMEvent WebCore::]):
2659 * bindings/objc/DOMHTML.mm:
2660 * bindings/objc/DOMHTMLDocument.mm:
2661 (-[DOMHTMLDocument title]):
2662 (-[DOMHTMLDocument setTitle:]):
2663 (-[DOMHTMLDocument referrer]):
2664 (-[DOMHTMLDocument domain]):
2665 (-[DOMHTMLDocument URL]):
2666 (-[DOMHTMLDocument body]):
2667 (-[DOMHTMLDocument setBody:]):
2668 (-[DOMHTMLDocument images]):
2669 (-[DOMHTMLDocument applets]):
2670 (-[DOMHTMLDocument links]):
2671 (-[DOMHTMLDocument forms]):
2672 (-[DOMHTMLDocument anchors]):
2673 (-[DOMHTMLDocument cookie]):
2674 (-[DOMHTMLDocument setCookie:]):
2675 (-[DOMHTMLDocument open]):
2676 (-[DOMHTMLDocument close]):
2677 (-[DOMHTMLDocument write:]):
2678 (-[DOMHTMLDocument writeln:]):
2679 (-[DOMHTMLDocument getElementById:]):
2680 (-[DOMHTMLDocument getElementsByName:]):
2681 (-[DOMHTMLDocument WebCore::]):
2682 (+[DOMHTMLDocument _HTMLDocumentWith:WebCore::]):
2683 * bindings/objc/DOMHTMLOptionElement.mm:
2684 (-[DOMHTMLOptionElement form]):
2685 (-[DOMHTMLOptionElement defaultSelected]):
2686 (-[DOMHTMLOptionElement setDefaultSelected:]):
2687 (-[DOMHTMLOptionElement text]):
2688 (-[DOMHTMLOptionElement index]):
2689 (-[DOMHTMLOptionElement disabled]):
2690 (-[DOMHTMLOptionElement setDisabled:]):
2691 (-[DOMHTMLOptionElement label]):
2692 (-[DOMHTMLOptionElement setLabel:]):
2693 (-[DOMHTMLOptionElement selected]):
2694 (-[DOMHTMLOptionElement setSelected:]):
2695 (-[DOMHTMLOptionElement value]):
2696 (-[DOMHTMLOptionElement setValue:]):
2697 (-[DOMHTMLOptionElement WebCore::]):
2698 (+[DOMHTMLOptionElement _HTMLOptionElementWith:WebCore::]):
2699 * bindings/objc/DOMInternal.h:
2700 * bindings/objc/DOMNode.mm:
2701 (-[DOMNode dealloc]):
2702 (-[DOMNode finalize]):
2703 (-[DOMNode nodeName]):
2704 (-[DOMNode nodeValue]):
2705 (-[DOMNode setNodeValue:]):
2706 (-[DOMNode nodeType]):
2707 (-[DOMNode parentNode]):
2708 (-[DOMNode childNodes]):
2709 (-[DOMNode firstChild]):
2710 (-[DOMNode lastChild]):
2711 (-[DOMNode previousSibling]):
2712 (-[DOMNode nextSibling]):
2713 (-[DOMNode attributes]):
2714 (-[DOMNode ownerDocument]):
2715 (-[DOMNode insertBefore::]):
2716 (-[DOMNode replaceChild::]):
2717 (-[DOMNode removeChild:]):
2718 (-[DOMNode appendChild:]):
2719 (-[DOMNode hasChildNodes]):
2720 (-[DOMNode cloneNode:]):
2721 (-[DOMNode normalize]):
2722 (-[DOMNode isSupported::]):
2723 (-[DOMNode namespaceURI]):
2724 (-[DOMNode prefix]):
2725 (-[DOMNode setPrefix:]):
2726 (-[DOMNode localName]):
2727 (-[DOMNode hasAttributes]):
2728 (-[DOMNode isSameNode:]):
2729 (-[DOMNode isEqualNode:]):
2730 (-[DOMNode isDefaultNamespace:]):
2731 (-[DOMNode lookupPrefix:]):
2732 (-[DOMNode lookupNamespaceURI:]):
2733 (-[DOMNode textContent]):
2734 (-[DOMNode setTextContent:]):
2735 (-[DOMNode boundingBox]):
2736 (-[DOMNode lineBoxRects]):
2737 * bindings/objc/DOMObject.mm:
2738 (-[DOMObject _init]):
2739 * bindings/objc/DOMXPath.mm:
2740 (-[DOMNativeXPathNSResolver dealloc]):
2741 (-[DOMNativeXPathNSResolver finalize]):
2742 (-[DOMNativeXPathNSResolver WebCore::]):
2743 (-[DOMNativeXPathNSResolver _initWithXPathNSResolver:WebCore::]):
2744 (+[DOMNativeXPathNSResolver _xpathNSResolverWith:WebCore::]):
2745 (-[DOMNativeXPathNSResolver lookupNamespaceURI:]):
2746 * bindings/scripts/CodeGeneratorObjC.pm:
2747 * bridge/mac/WebCoreFrameBridge.mm:
2748 (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
2749 (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]):
2750 * css/CSSCharsetRule.idl:
2751 * css/CSSFontFaceRule.idl:
2752 * css/CSSImportRule.idl:
2753 * css/CSSMediaRule.idl:
2754 * css/CSSPageRule.idl:
2755 * css/CSSPrimitiveValue.idl:
2757 * css/CSSStyleRule.idl:
2758 * css/CSSStyleSheet.idl:
2759 * css/CSSUnknownRule.idl:
2761 * css/CSSValueList.idl:
2762 * css/StyleSheet.idl:
2764 * dom/KeyboardEvent.idl:
2765 * dom/MouseEvent.idl:
2766 * dom/MutationEvent.idl:
2767 * dom/NodeIterator.idl:
2768 * dom/OverflowEvent.idl:
2769 * dom/TreeWalker.idl:
2771 * dom/WheelEvent.idl:
2773 2006-09-15 Adam Roben <aroben@apple.com>
2775 Reviewed by timothy.
2777 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10865
2778 New file upload control should match the width of the old one
2780 Make width of new file upload control match the old one as closely as
2783 * rendering/RenderFileUploadControl.cpp:
2785 2006-09-15 Timothy Hatcher <timothy@apple.com>
2789 Remove the SVG IDL files from the Copy Resources phase.
2791 * WebCore.xcodeproj/project.pbxproj:
2793 2006-09-15 Brady Eidson <beidson@apple.com>
2795 Reviewed by Eric Siedel
2797 Dumped the use of CGColorRef and directly use the floating point data from
2800 This fixes the performance regression found between 16285 and 16286
2802 * platform/mac/FontMac.mm:
2803 (WebCore::Font::drawComplexText):
2804 (WebCore::Font::drawGlyphs):
2806 2006-09-14 Mark Rowe <opendarwin.org@bdash.net.nz>
2810 http://bugzilla.opendarwin.org/show_bug.cgi?id=10838
2811 Bug 10838: REGRESSION: Leaking of WebScriptObjectPrivate
2813 FrameMac relies on its cleanupPluginObjects being called to perform cleanup. The virtual
2814 Frame::cleanupPluginObjects method is called from Frame's destructor, which results
2815 in Frame::cleanupPluginObjects being called rather than FrameMac::cleanupPluginObjects.
2817 * bridge/mac/FrameMac.mm:
2818 (WebCore::FrameMac::~FrameMac): Call cancelAndClear to ensure that FrameMac::cleanupPluginObjects
2819 will be called from Frame::clear
2821 (WebCore::Frame::~Frame): Use cancelAndClear.
2822 (WebCore::Frame::cancelAndClear): Move cancellation and clearing into a separate method that
2826 2006-09-14 Brady Eidson <beidson@apple.com>
2828 Reviewed by Maciej's rubber stamp
2830 Exact same fix I just made, but in the other method I horked up
2831 Also added a reference to the bugzilla in comments
2834 (WebCore::Frame::endIfNotLoading):
2835 (WebCore::Frame::stop):
2837 2006-09-14 Brady Eidson <beidson@apple.com>
2841 Fixed a bad iFrame crash, resolving some of the layout test badness
2844 (WebCore::Frame::endIfNotLoading):
2845 - Added a RefPtr to protect the frame itself to prevent its destruction during this method
2847 2006-09-14 Justin Garcia <justin.garcia@apple.com>
2849 Reviewed by harrison
2851 <rdar://problem/4655880> Up/Down arrows skip over To Do
2853 * bridge/mac/WebCoreFrameBridge.mm:
2854 (-[WebCoreFrameBridge canDeleteRange:]): Added a FIXME.
2855 * dom/Node.cpp: Removed the unused inSameRootEditableElement.
2857 * editing/SelectionController.cpp:
2858 (WebCore::SelectionController::modify): Added documentboundary to granularities in order test a fix.
2859 * editing/visible_units.cpp:
2860 (WebCore::previousLinePosition): Use highestEditableRoot so that this function can move from
2861 editable content into editable content that's embedded in non-editable content.
2862 (WebCore::nextLinePosition): Ditto.
2863 (WebCore::startOfEditableContent): Renamed from startOfEditableRoot and use highestEditableRoot.
2864 This is the behavior that callers desire. This fixes Command + Up/Down.
2865 (WebCore::endOfEditableContent): Ditto.
2866 * editing/visible_units.h:
2868 2006-09-14 Karthik Kumar <karthikkumar@gmail.com>
2870 Reviewed by timothy. Landed by aroben.
2872 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10856
2873 Windows build fixes after r16360
2875 * WebCore.vcproj/WebCore/WebCore.vcproj: Add loader\icon to
2876 AdditionalIncludeDirectories
2877 * platform/win/TemporaryLinkStubs.cpp: Add link stubs for IconLoader,
2879 (IconLoader::stopLoading):
2880 (IconLoader::startLoading):
2881 (IconLoader::createForFrame):
2882 (IconDatabase::isIconExpiredForIconURL):
2883 (IconDatabase::hasEntryForIconURL):
2884 (IconDatabase::sharedIconDatabase):
2886 2006-09-14 Brady Eidson <beidson@apple.com>
2888 Part of a build fix for Windows - rest will be working out a mess of temporary link stubs
2890 * loader/icon/IconLoader.cpp:
2891 (IconLoader::receivedAllData):
2893 * page/FramePrivate.h:
2895 2006-09-14 Graham Dennis <graham.dennis@gmail.com>
2897 Reviewed by Justin Garcia.
2899 - http://bugzilla.opendarwin.org/show_bug.cgi?id=10726
2900 Crash in ApplyStyleCommand::applyRelativeFontStyleChange
2902 * editing/ApplyStyleCommand.cpp:
2903 (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange): Prevent a crash by
2904 makeing sure that the 'beyondEnd' node is after the start node.
2906 2006-09-14 MorganL <morlmor@yahoo.com>
2910 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10845
2911 Various bugs/crashes in ResourceLoaderWin with local files.
2913 * platform/ResourceLoaderInternal.h:
2914 (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
2915 * platform/win/ResourceLoaderWin.cpp:
2916 (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
2917 (WebCore::ResourceLoader::fileLoadTimer):
2919 2006-09-13 Brady Eidson <beidson@apple.com>
2923 Icon loads now take place in WebCore
2925 * WebCore.xcodeproj/project.pbxproj:
2926 * bridge/BrowserExtension.h:
2927 * bridge/mac/BrowserExtensionMac.h:
2928 * bridge/mac/BrowserExtensionMac.mm:
2929 - Moved enforcement of a Mozilla Favicon extension elsewhere
2931 * bridge/mac/FrameMac.h:
2932 * bridge/mac/FrameMac.mm:
2933 (WebCore::FrameMac::originalRequestURL):
2934 - Added accessor to "original request URL"
2936 * bridge/mac/WebCoreFrameBridge.h:
2937 - Removed methods to set the iconURL as all loading is now done in WebCore
2938 - Added call throughs to notify WebKit an Icon is done loading, and a to get the original request URL
2940 * html/HTMLLinkElement.cpp:
2941 (WebCore::HTMLLinkElement::process):
2942 - Moved enforcement of a Mozilla Favicon extension elsewhere
2944 * loader/icon/IconDatabase.cpp:
2945 (WebCore::IconDatabase::setIconURLForPageURL):
2946 - Changed an ASSERT to correctly handle a sketchy (invalid) situation
2948 * loader/icon/IconLoader.h: Added.
2949 * loader/icon/IconLoader.cpp: Added.
2950 (IconLoader::IconLoader):
2951 (IconLoader::createForFrame):
2952 - Static factory method with a private constructor to enforce
2953 "you MUST have a Frame to create an IconLoader" semantics
2954 (IconLoader::~IconLoader):
2955 (IconLoader::startLoading):
2956 (IconLoader::stopLoading):
2957 (IconLoader::receivedData):
2958 - ResourceLoaderClient delegate
2959 (IconLoader::receivedAllData):
2962 * loader/mac/IconLoaderMac.mm: Added.
2963 (IconLoader::receivedResponse):
2964 (IconLoader::notifyIconChanged):
2965 - For now, these are platform specific methods
2966 - One to get the HTTP response code of an icon load
2967 - The other to call through to the app when the icon has changed (loaded)
2971 (WebCore::Frame::iconURL):
2972 (WebCore::Frame::setIconURL):
2973 - Frame objects now have an inherent icon URL and a way to calculate/access it
2974 (WebCore::Frame::endIfNotLoading):
2975 - This is where we actually kick off the IconLoader
2976 (WebCore::Frame::stop):
2977 - Added call to stop loading the icon
2979 * page/FramePrivate.h:
2980 (WebCore::FramePrivate::FramePrivate):
2981 (WebCore::FramePrivate::~FramePrivate):
2982 - Added the icon URL as a private member
2983 - Added the IconLoader as a private member, and clean it up on deletion
2985 * platform/mac/ResourceLoaderMac.mm:
2986 (WebCore::ResourceLoader::start): Added a valuable ASSERT
2988 2006-09-13 David Hyatt <hyatt@apple.com>
2990 Fix for 10841, unable to check checkboxes inside labels.
2992 Reviewed by xenon, bradee-oh
2996 (WebCore::Element::contains):
2998 * html/HTMLLabelElement.cpp:
2999 (WebCore::HTMLLabelElement::defaultEventHandler):
3001 2006-09-13 Mark Rowe <opendarwin.org@bdash.net.nz>
3005 http://bugzilla.opendarwin.org/show_bug.cgi?id=10834
3006 Bug 10834: FileChooser constructor in FileChooserMac appears to overretain m_controller
3008 * platform/mac/FileChooserMac.mm:
3009 (WebCore::FileChooser::FileChooser): Don't over-retain the OpenPanelController.
3011 2006-09-13 Mark Rowe <opendarwin.org@bdash.net.nz>
3015 http://bugzilla.opendarwin.org/show_bug.cgi?id=10836
3016 Bug 10836: REGRESSION: Mac implementation of Font::drawGlyphs leaks a CGColorRef
3018 * platform/mac/FontMac.mm:
3019 (WebCore::Font::drawComplexText): Release CGColorRef after use.
3020 (WebCore::Font::drawGlyphs): Ditto.
3022 2006-09-14 Anders Carlsson <acarlsson@apple.com>
3024 Try fixing the Win32 build.
3026 * bridge/win/FrameWin.h:
3027 * platform/win/TemporaryLinkStubs.cpp:
3028 (FrameWin::bindingRootObject):
3030 2006-09-14 Anders Carlsson <acarlsson@apple.com>
3034 Add USE defines for the generic JavaScriptCore bindings as well as NPAPI bindings.
3036 * bindings/js/kjs_binding.cpp:
3037 (KJS::ScriptInterpreter::createLanguageInstanceForValue):
3038 * bindings/js/kjs_dom.cpp:
3039 (KJS::getRuntimeObject):
3040 * bridge/mac/FrameMac.h:
3042 * html/HTMLAppletElement.cpp:
3043 (WebCore::HTMLAppletElement::~HTMLAppletElement):
3044 (WebCore::HTMLAppletElement::detach):
3045 * html/HTMLAppletElement.h:
3046 * html/HTMLEmbedElement.cpp:
3047 (WebCore::HTMLEmbedElement::~HTMLEmbedElement):
3048 (WebCore::HTMLEmbedElement::detach):
3049 * html/HTMLEmbedElement.h:
3050 * html/HTMLObjectElement.cpp:
3051 (WebCore::HTMLObjectElement::~HTMLObjectElement):
3052 (WebCore::HTMLObjectElement::detach):
3053 * html/HTMLObjectElement.h:
3054 * html/HTMLPlugInElement.cpp:
3055 (WebCore::HTMLPlugInElement::HTMLPlugInElement):
3056 (WebCore::HTMLPlugInElement::~HTMLPlugInElement):
3057 (WebCore::HTMLPlugInElement::createNPObject):
3058 * html/HTMLPlugInElement.h:
3061 2006-09-13 David Hyatt <hyatt@apple.com>
3063 Clean up the XBL and XSLT ifdefs to be consistent with the SVG
3064 and XPath ifdefs. KHTML_NO_XBL is flipped and is now XBL_SUPPORT.
3065 KHTML_XSLT is now XSLT_SUPPORT.
3067 * WebCore.xcodeproj/project.pbxproj:
3068 * bindings/js/JSXSLTProcessor.cpp:
3069 * bindings/js/JSXSLTProcessor.h:
3070 * bindings/js/kjs_window.cpp:
3071 (KJS::Window::getValueProperty):
3073 * css/CSSComputedStyleDeclaration.cpp:
3074 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
3075 * css/cssparser.cpp:
3076 (WebCore::CSSParser::parseValue):
3077 * css/cssstyleselector.cpp:
3078 (WebCore::CSSStyleSelector::applyProperty):
3080 (WebCore::Document::Document):
3081 (WebCore::Document::~Document):
3082 (WebCore::Document::recalcStyleSelector):
3084 (WebCore::Document::bindingManager):
3086 (WebCore::Node::createRendererIfNeeded):
3087 * dom/ProcessingInstruction.cpp:
3088 (WebCore::ProcessingInstruction::ProcessingInstruction):
3089 (WebCore::ProcessingInstruction::checkStyleSheet):
3090 (WebCore::ProcessingInstruction::setStyleSheet):
3091 * dom/ProcessingInstruction.h:
3092 * dom/XMLTokenizer.cpp:
3093 (WebCore::XMLTokenizer::processingInstruction):
3094 (WebCore::XMLTokenizer::insertErrorMessageBlock):
3095 * dom/XMLTokenizer.h:
3097 (WebCore::Cache::getStatistics):
3099 * loader/CachedResource.h:
3100 (WebCore::CachedResource::):
3101 * loader/CachedResourceClient.h:
3102 * loader/CachedXBLDocument.cpp:
3103 * loader/CachedXBLDocument.h:
3104 * loader/CachedXSLStyleSheet.cpp:
3105 * loader/CachedXSLStyleSheet.h:
3106 * loader/DocLoader.cpp:
3107 * loader/DocLoader.h:
3108 * rendering/RenderStyle.cpp:
3109 (WebCore::StyleCSS3NonInheritedData::StyleCSS3NonInheritedData):
3110 (WebCore::StyleCSS3NonInheritedData::~StyleCSS3NonInheritedData):
3111 (WebCore::StyleCSS3NonInheritedData::operator==):
3112 * rendering/RenderStyle.h:
3113 * xml/XSLImportRule.cpp:
3114 * xml/XSLImportRule.h:
3115 * xml/XSLStyleSheet.cpp:
3116 * xml/XSLStyleSheet.h:
3117 * xml/XSLTProcessor.cpp:
3118 * xml/XSLTProcessor.h:
3120 2006-09-13 Nikolas Zimmermann <zimmermann@kde.org>
3122 Reviewed by eseidel. Landed by eseidel.
3124 Fix newly introduced memory leaks in SVG.
3125 http://bugzilla.opendarwin.org/show_bug.cgi?id=10835
3127 * ksvg2/svg/SVGList.h:
3128 (WebCore::SVGListBase::~SVGListBase):
3129 (WebCore::SVGListBase::clearVector):
3130 (WebCore::SVGListBase::clear):
3131 (WebCore::SVGList::clearVector):
3133 * ksvg2/svg/SVGNumberList.cpp: s/float/double/ - forgot that!
3134 (SVGNumberList::SVGNumberList):
3135 * ksvg2/svg/SVGNumberList.h: Ditto.
3137 2006-09-13 MorganL <morlmor@yahoo.com>
3139 Reviewed/landed by aroben.
3141 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10833
3142 Windows build needs fixed after move to engine-rendered file upload widget
3144 * WebCore.vcproj/WebCore/WebCore.vcproj: Add RenderFileUpload files,
3145 remove RenderFileButton files
3146 * platform/win/TemporaryLinkStubs.cpp: Add stubs for FileChooser, Icon
3147 (FileChooser::FileChooser):
3148 (FileChooser::~FileChooser):
3149 (FileChooser::openFileChooser):
3150 (FileChooser::basenameForWidth):
3151 (FileChooser::uploadControlDetaching):
3152 (FileChooser::chooseFile):
3153 (WebCore::fileButtonChooseFileLabel):
3154 (WebCore::fileButtonNoFileSelectedLabel):
3157 (Icon::newIconForFile):
3160 2006-09-13 MorganL <morlmor@yahoo.com>
3162 Reviewed/landed by aroben.
3164 Fixes http://bugzilla.opendarwin.org/attachment.cgi?id=10537
3165 Webkit WebCore build fails on Windows
3167 * WebCore.vcproj/WebCore/build-generated-files.sh: export SOURCE_ROOT
3170 2006-09-13 Nikolas Zimmermann <zimmermann@kde.org>
3176 * CMakeLists.txt: Change SVGZoomEvent.idl location & add RenderFileUploadControl
3177 * platform/Icon.h: Add wtf/Platform.h include
3178 * platform/qt/FileChooserQt.cpp: Added as stub. Easy to implement though.
3179 (WebCore::FileChooser::FileChooser):
3180 (WebCore::FileChooser::~FileChooser):
3181 (WebCore::FileChooser::openFileChooser):
3182 (WebCore::FileChooser::basenameForWidth):
3183 (WebCore::FileChooser::uploadControlDetaching):
3184 (WebCore::FileChooser::chooseFile):
3185 * platform/qt/IconQt.cpp: Added as stub.
3186 (WebCore::Icon::Icon):
3187 (WebCore::Icon::~Icon):
3188 (WebCore::Icon::newIconForFile):
3189 (WebCore::Icon::paint):
3190 * platform/qt/TemporaryLinkStubs.cpp: Remove old RenderFileButton code & some new *Labels needed
3191 (searchableIndexIntroduction):
3192 (fileButtonChooseFileLabel):
3193 (fileButtonNoFileSelectedLabel):
3195 2006-09-12 Adam Roben <aroben@apple.com>
3197 Reviewed by eseidel.
3199 Switch back to passing relative paths to generate-bindings.pl when
3200 generating JS bindings.
3202 * DerivedSources.make: Pass in relative paths to generate-bindings.pl
3203 * bindings/scripts/CodeGenerator.pm: Make ScanDirectory never call
3204 chdir and always construct absolute paths instead.
3206 2006-09-12 David Hyatt <hyatt@apple.com>
3208 Fix for bug 3244, implement html4 label support.
3210 Reviewed by mjs, aroben
3212 Added fast/events/label-focus.html
3215 * html/HTMLLabelElement.cpp:
3216 (WebCore::HTMLLabelElement::formElement):
3217 (WebCore::HTMLLabelElement::setActive):
3218 (WebCore::HTMLLabelElement::setHovered):
3219 (WebCore::HTMLLabelElement::defaultEventHandler):
3220 * html/HTMLLabelElement.h:
3222 2006-09-12 Julien Palmas <julien.palmas@gmail.com>
3224 Reviewed by darin. Landed by eseidel.
3226 * ksvg2/svg/svgpathparser.cpp:
3227 (WebCore::SVGPolyParser::parsePoints):
3229 2006-09-11 Kevin McCullough <KMcCullough@apple.com>
3231 Reviewed by Andersca, Maciej, Brady.
3233 - Implemented intersectsNode in the Range Class
3234 to be compliant with Mozilla standard
3237 (WebCore::Range::intersectsNode):
3241 2006-09-12 Nikolas Zimmermann <zimmermann@kde.org>
3243 Reviewed by eseidel. Landed by eseidel.
3245 Test: svg/W3C-SVG-1.1/struct-dom-01-b.svg (fixed)
3246 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10826
3248 Also finally fixes some long outstanding bugs:
3249 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9190
3250 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=9229
3251 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10413
3253 Enable all JavaScript SVG bindings. Builds on Qt/Linux & OSX.
3256 * DerivedSources.make:
3257 * WebCore.xcodeproj/project.pbxproj:
3258 * bindings/scripts/CodeGenerator.pm:
3259 * bindings/scripts/CodeGeneratorJS.pm:
3260 * ksvg2/bindings/js/JSSVGElementWrapperFactory.cpp:
3261 * ksvg2/svg/SVGAElement.idl: Added.
3262 * ksvg2/svg/SVGAngle.idl:
3263 * ksvg2/svg/SVGAnimateColorElement.idl: Added.
3264 * ksvg2/svg/SVGAnimateElement.idl: Added.
3265 * ksvg2/svg/SVGAnimateTransformElement.idl: Added.
3266 * ksvg2/svg/SVGAnimatedLengthList.idl: Added.
3267 * ksvg2/svg/SVGAnimatedNumberList.idl: Added.
3268 * ksvg2/svg/SVGAnimatedTransformList.idl: Added.
3269 * ksvg2/svg/SVGAnimationElement.idl: Added.
3270 * ksvg2/svg/SVGCircleElement.idl: Added.
3271 * ksvg2/svg/SVGClipPathElement.idl: Added.
3272 * ksvg2/svg/SVGColor.idl:
3273 * ksvg2/svg/SVGComponentTransferFunctionElement.idl: Added.
3274 * ksvg2/svg/SVGCursorElement.idl: Added.
3275 * ksvg2/svg/SVGDefsElement.idl: Added.
3276 * ksvg2/svg/SVGDescElement.idl: Added.
3277 * ksvg2/svg/SVGEllipseElement.idl: Added.
3278 * ksvg2/svg/SVGEvent.idl:
3279 * ksvg2/svg/SVGExternalResourcesRequired.idl: Added.
3280 * ksvg2/svg/SVGFEBlendElement.idl: Added.
3281 * ksvg2/svg/SVGFEColorMatrixElement.idl: Added.
3282 * ksvg2/svg/SVGFEComponentTransferElement.idl: Added.
3283 * ksvg2/svg/SVGFECompositeElement.idl: Added.
3284 * ksvg2/svg/SVGFEDiffuseLightingElement.idl: Added.
3285 * ksvg2/svg/SVGFEDisplacementMapElement.idl: Added.
3286 * ksvg2/svg/SVGFEDistantLightElement.idl: Added.
3287 * ksvg2/svg/SVGFEFloodElement.idl: Added.
3288 * ksvg2/svg/SVGFEFuncAElement.idl: Added.
3289 * ksvg2/svg/SVGFEFuncBElement.idl: Added.
3290 * ksvg2/svg/SVGFEFuncGElement.idl: Added.
3291 * ksvg2/svg/SVGFEFuncRElement.idl: Added.
3292 * ksvg2/svg/SVGFEGaussianBlurElement.idl: Added.
3293 * ksvg2/svg/SVGFEImageElement.idl: Added.
3294 * ksvg2/svg/SVGFEMergeElement.idl: Added.
3295 * ksvg2/svg/SVGFEMergeNodeElement.idl: Added.
3296 * ksvg2/svg/SVGFEOffsetElement.idl: Added.
3297 * ksvg2/svg/SVGFEPointLightElement.idl: Added.
3298 * ksvg2/svg/SVGFESpecularLightingElement.idl: Added.
3299 * ksvg2/svg/SVGFESpotLightElement.idl: Added.
3300 * ksvg2/svg/SVGFETileElement.idl: Added.
3301 * ksvg2/svg/SVGFETurbulenceElement.idl: Added.
3302 * ksvg2/svg/SVGFilterElement.idl: Added.
3303 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.idl: Added.
3304 * ksvg2/svg/SVGFitToViewBox.idl: Added.
3305 * ksvg2/svg/SVGForeignObjectElement.idl: Added.
3306 * ksvg2/svg/SVGGElement.idl: Added.
3307 * ksvg2/svg/SVGGradientElement.idl: Added.
3308 * ksvg2/svg/SVGImageElement.idl: Added.
3309 * ksvg2/svg/SVGLangSpace.idl: Added.
3310 * ksvg2/svg/SVGLength.idl:
3311 * ksvg2/svg/SVGLengthList.idl: Added.
3312 * ksvg2/svg/SVGLineElement.idl: Added.
3313 * ksvg2/svg/SVGLinearGradientElement.idl: Added.
3314 * ksvg2/svg/SVGLocatable.idl: Added.
3315 * ksvg2/svg/SVGMarkerElement.idl: Added.
3316 * ksvg2/svg/SVGMaskElement.idl: Added.
3317 * ksvg2/svg/SVGNumberList.idl: Added.
3318 * ksvg2/svg/SVGPaint.idl: Added.
3319 * ksvg2/svg/SVGPathElement.idl:
3320 * ksvg2/svg/SVGPathSeg.idl:
3321 * ksvg2/svg/SVGPatternElement.idl: Added.
3322 * ksvg2/svg/SVGPointList.idl: Added.
3323 * ksvg2/svg/SVGPolygonElement.idl: Added.
3324 * ksvg2/svg/SVGPolylineElement.idl: Added.
3325 * ksvg2/svg/SVGPreserveAspectRatio.idl:
3326 * ksvg2/svg/SVGRadialGradientElement.idl: Added.
3327 * ksvg2/svg/SVGRectElement.idl: Added.
3328 * ksvg2/svg/SVGRenderingIntent.idl: Added.
3329 * ksvg2/svg/SVGSVGElement.idl:
3330 * ksvg2/svg/SVGScriptElement.idl: Added.
3331 * ksvg2/svg/SVGSetElement.idl: Added.
3332 * ksvg2/svg/SVGStopElement.idl: Added.
3333 * ksvg2/svg/SVGStringList.idl: Added.
3334 * ksvg2/svg/SVGStylable.idl: Added.
3335 * ksvg2/svg/SVGStyleElement.idl: Added.
3336 * ksvg2/svg/SVGSwitchElement.idl: Added.
3337 * ksvg2/svg/SVGSymbolElement.idl: Added.
3338 * ksvg2/svg/SVGTRefElement.idl: Added.
3339 * ksvg2/svg/SVGTSpanElement.idl: Added.
3340 * ksvg2/svg/SVGTests.idl: Added.
3341 * ksvg2/svg/SVGTextContentElement.idl: Added.
3342 * ksvg2/svg/SVGTextElement.idl: Added.
3343 * ksvg2/svg/SVGTextPositioningElement.idl: Added.
3344 * ksvg2/svg/SVGTitleElement.idl: Added.
3345 * ksvg2/svg/SVGTransform.idl:
3346 * ksvg2/svg/SVGTransformList.idl: Added.
3347 * ksvg2/svg/SVGTransformable.idl: Added.
3348 * ksvg2/svg/SVGURIReference.idl: Added.
3349 * ksvg2/svg/SVGUnitTypes.idl: Added.
3350 * ksvg2/svg/SVGUseElement.idl: Added.
3351 * ksvg2/svg/SVGViewElement.idl: Added.
3352 * ksvg2/svg/SVGZoomAndPan.idl: Added.
3353 * ksvg2/svg/SVGZoomEvent.idl: Added.
3355 2006-09-12 Adam Roben <aroben@apple.com>
3357 Reviewed by timo, ggaren.
3359 Make Icon ref-counted.
3361 * platform/FileChooser.h: Store m_icon as a RefPtr instead of
3363 * platform/Icon.h: Inherit from Shared<Icon>
3364 * platform/mac/FileChooserMac.mm:
3365 (WebCore::FileChooser::chooseFile): Update m_icon usage
3366 * platform/mac/IconMac.mm:
3367 (WebCore::Icon::newIconForFile): Return a RefPtr instead of an
3370 === Safari-521.26 ===
3372 2006-09-12 Nikolas Zimmermann <zimmermann@kde.org>
3376 Add exception codes to SVGList functions, adjust all code using it.
3378 Move SVGPaintType enums from ksvg.h into SVGPaint (needed for js generation)
3379 Move SVGUnitTypes enums from ksvg.h into it's own file SVGUnitType.h (ditto)
3380 Move SVGRenderingIntent enums from ksvg.h into it's own file SVGRenderingIntent.h (ditto)
3381 Move SVGZoomAndPan enums from ksvg.h into SVGSVGElement (ditto)
3382 Move SVGFE* related enums into their respecitive classes.
3384 Fix JSSVGNumber to operator on doubles, instead of floats.
3386 * ksvg2/bindings/js/JSSVGNumber.cpp:
3387 (WebCore::getJSSVGNumber):
3388 * ksvg2/bindings/js/JSSVGNumber.h:
3389 (WebCore::JSSVGNumber::JSSVGNumber):
3390 * ksvg2/css/SVGCSSParser.cpp:
3391 (WebCore::CSSParser::parseSVGValue):
3392 (WebCore::CSSParser::parseSVGPaint):
3393 * ksvg2/css/SVGRenderStyleDefs.cpp:
3394 (StyleFillData::operator==):
3396 * ksvg2/misc/KCanvasRenderingStyle.cpp:
3397 (WebCore::KSVGPainterFactory::isFilled):
3398 (WebCore::KSVGPainterFactory::fillPaintServer):
3399 (WebCore::KSVGPainterFactory::isStroked):
3400 (WebCore::KSVGPainterFactory::strokePaintServer):
3401 * ksvg2/misc/KSVGTimeScheduler.cpp:
3402 (WebCore::SVGTimer::notifyAll):
3403 * ksvg2/svg/SVGAnimateColorElement.cpp:
3404 (WebCore::SVGAnimateColorElement::handleTimerEvent):
3405 * ksvg2/svg/SVGAnimateTransformElement.cpp:
3406 (WebCore::SVGAnimateTransformElement::SVGAnimateTransformElement):
3407 (WebCore::SVGAnimateTransformElement::parseMappedAttribute):
3408 (WebCore::SVGAnimateTransformElement::handleTimerEvent):
3409 (WebCore::SVGAnimateTransformElement::parseTransformValue):
3410 * ksvg2/svg/SVGAnimateTransformElement.h:
3411 * ksvg2/svg/SVGAnimatedTemplate.h:
3412 * ksvg2/svg/SVGAnimationElement.cpp:
3413 (SVGAnimationElement::getSimpleDuration):
3414 (SVGAnimationElement::parseMappedAttribute):
3415 (SVGAnimationElement::setTargetAttribute):
3416 * ksvg2/svg/SVGAnimationElement.h:
3417 * ksvg2/svg/SVGClipPathElement.cpp:
3418 (SVGClipPathElement::SVGClipPathElement):
3419 (SVGClipPathElement::parseMappedAttribute):
3420 (SVGClipPathElement::canvasResource):
3421 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
3422 (SVGComponentTransferFunctionElement::transferFunction):
3423 * ksvg2/svg/SVGComponentTransferFunctionElement.h:
3424 (WebCore::SVGComponentTransferFunctionElement::):
3425 * ksvg2/svg/SVGDocument.cpp:
3426 (WebCore::SVGDocument::dispatchZoomEvent):
3427 (WebCore::SVGDocument::dispatchScrollEvent):
3428 * ksvg2/svg/SVGFEBlendElement.cpp:
3429 (WebCore::SVGFEBlendElement::parseMappedAttribute):
3430 (WebCore::SVGFEBlendElement::filterEffect):
3431 * ksvg2/svg/SVGFEBlendElement.h:
3432 (WebCore::SVGFEBlendElement::):
3433 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
3434 (SVGFEColorMatrixElement::parseMappedAttribute):
3435 (SVGFEColorMatrixElement::filterEffect):
3436 * ksvg2/svg/SVGFEColorMatrixElement.h:
3437 (WebCore::SVGFEColorMatrixElement::):
3438 * ksvg2/svg/SVGFEComponentTransferElement.cpp:
3439 (WebCore::SVGFEComponentTransferElement::parseMappedAttribute):
3440 (WebCore::SVGFEComponentTransferElement::filterEffect):
3441 * ksvg2/svg/SVGFEComponentTransferElement.h:
3442 * ksvg2/svg/SVGFECompositeElement.cpp:
3443 (SVGFECompositeElement::parseMappedAttribute):
3444 (SVGFECompositeElement::filterEffect):
3445 * ksvg2/svg/SVGFECompositeElement.h:
3446 (WebCore::SVGFECompositeElement::):
3447 * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
3448 (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
3449 (WebCore::SVGFEDiffuseLightingElement::filterEffect):
3450 * ksvg2/svg/SVGFEDiffuseLightingElement.h:
3451 * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
3452 (SVGFEDisplacementMapElement::parseMappedAttribute):
3453 (SVGFEDisplacementMapElement::filterEffect):
3454 * ksvg2/svg/SVGFEDisplacementMapElement.h:
3455 (WebCore::SVGFEDisplacementMapElement::):
3456 * ksvg2/svg/SVGFEFloodElement.cpp:
3457 (WebCore::SVGFEFloodElement::parseMappedAttribute):
3458 (WebCore::SVGFEFloodElement::filterEffect):
3459 * ksvg2/svg/SVGFEFloodElement.h:
3460 * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
3461 (SVGFEGaussianBlurElement::parseMappedAttribute):
3462 (SVGFEGaussianBlurElement::filterEffect):
3463 * ksvg2/svg/SVGFEGaussianBlurElement.h:
3464 * ksvg2/svg/SVGFEMergeElement.cpp:
3465 (SVGFEMergeElement::filterEffect):
3466 * ksvg2/svg/SVGFEMergeNodeElement.cpp:
3467 (SVGFEMergeNodeElement::parseMappedAttribute):
3468 * ksvg2/svg/SVGFEMergeNodeElement.h:
3469 * ksvg2/svg/SVGFEOffsetElement.cpp:
3470 (SVGFEOffsetElement::parseMappedAttribute):
3471 (SVGFEOffsetElement::filterEffect):
3472 * ksvg2/svg/SVGFEOffsetElement.h:
3473 * ksvg2/svg/SVGFESpecularLightingElement.cpp:
3474 (SVGFESpecularLightingElement::parseMappedAttribute):
3475 (SVGFESpecularLightingElement::filterEffect):
3476 * ksvg2/svg/SVGFESpecularLightingElement.h:
3477 * ksvg2/svg/SVGFETileElement.cpp:
3478 (WebCore::SVGFETileElement::parseMappedAttribute):
3479 (WebCore::SVGFETileElement::filterEffect):
3480 * ksvg2/svg/SVGFETileElement.h:
3481 * ksvg2/svg/SVGFETurbulenceElement.h:
3482 (WebCore::SVGFETurbulenceElement::):
3483 * ksvg2/svg/SVGFilterElement.cpp:
3484 (SVGFilterElement::SVGFilterElement):
3485 (SVGFilterElement::parseMappedAttribute):
3486 (SVGFilterElement::canvasResource):
3487 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
3488 (SVGFilterPrimitiveStandardAttributes::setStandardAttributes):
3489 * ksvg2/svg/SVGGradientElement.cpp:
3490 (SVGGradientElement::SVGGradientElement):
3491 (SVGGradientElement::parseMappedAttribute):
3492 * ksvg2/svg/SVGGradientElement.h:
3493 (WebCore::SVGGradientElement::):
3494 * ksvg2/svg/SVGHelper.cpp:
3495 (WebCore::SVGHelper::ParseSeperatedList):
3496 * ksvg2/svg/SVGLengthList.cpp:
3497 (WebCore::SVGLengthList::parse):
3498 * ksvg2/svg/SVGLinearGradientElement.cpp:
3499 (SVGLinearGradientElement::buildGradient):
3500 * ksvg2/svg/SVGList.h:
3501 (WebCore::SVGListBase::clear):
3502 (WebCore::SVGListBase::initialize):
3503 (WebCore::SVGListBase::getItem):
3504 (WebCore::SVGListBase::insertItemBefore):
3505 (WebCore::SVGListBase::replaceItem):
3506 (WebCore::SVGListBase::removeItem):
3507 (WebCore::SVGListBase::appendItem):
3508 * ksvg2/svg/SVGLocatable.cpp:
3509 * ksvg2/svg/SVGLocatable.h:
3510 * ksvg2/svg/SVGMarkerElement.h:
3511 (WebCore::SVGMarkerElement::):
3512 * ksvg2/svg/SVGNumberList.cpp:
3513 (SVGNumberList::parse):
3514 * ksvg2/svg/SVGPaint.cpp:
3515 (WebCore::SVGPaint::SVGPaint):
3516 (WebCore::SVGPaint::uri):
3517 (WebCore::SVGPaint::setUri):
3518 (WebCore::SVGPaint::setPaint):
3519 * ksvg2/svg/SVGPaint.h:
3520 (WebCore::SVGPaint::):
3521 * ksvg2/svg/SVGPathElement.cpp:
3522 (WebCore::SVGPathElement::svgMoveTo):
3523 (WebCore::SVGPathElement::svgLineTo):
3524 (WebCore::SVGPathElement::svgLineToHorizontal):
3525 (WebCore::SVGPathElement::svgLineToVertical):
3526 (WebCore::SVGPathElement::svgCurveToCubic):
3527 (WebCore::SVGPathElement::svgCurveToCubicSmooth):
3528 (WebCore::SVGPathElement::svgCurveToQuadratic):
3529 (WebCore::SVGPathElement::svgCurveToQuadraticSmooth):
3530 (WebCore::SVGPathElement::svgArcTo):
3531 (WebCore::SVGPathElement::svgClosePath):
3532 (WebCore::SVGPathElement::parseMappedAttribute):
3533 (WebCore::SVGPathElement::toPathData):
3534 * ksvg2/svg/SVGPatternElement.cpp:
3535 (WebCore::SVGPatternElement::SVGPatternElement):
3536 (WebCore::SVGPatternElement::parseMappedAttribute):
3537 (WebCore::SVGPatternElement::fillAttributesFromReferencePattern):
3538 (WebCore::SVGPatternElement::drawPatternContentIntoTile):
3539 * ksvg2/svg/SVGPolyElement.cpp:
3540 (SVGPolyElement::parseMappedAttribute):
3541 (SVGPolyElement::svgPolyTo):
3542 (SVGPolyElement::notifyAttributeChange):
3543 * ksvg2/svg/SVGPolygonElement.cpp:
3544 (SVGPolygonElement::toPathData):
3545 * ksvg2/svg/SVGPolylineElement.cpp:
3546 (SVGPolylineElement::toPathData):
3547 * ksvg2/svg/SVGRadialGradientElement.cpp:
3548 (WebCore::SVGRadialGradientElement::buildGradient):
3549 * ksvg2/svg/SVGRenderingIntent.h: Added.
3550 (WebCore::SVGRenderingIntent::):
3551 (WebCore::SVGRenderingIntent::SVGRenderingIntent):
3552 (WebCore::SVGRenderingIntent::~SVGRenderingIntent):
3553 * ksvg2/svg/SVGSVGElement.h:
3554 (WebCore::SVGSVGElement::):
3555 * ksvg2/svg/SVGScriptElement.cpp:
3556 (WebCore::SVGScriptElement::type):
3557 (WebCore::SVGScriptElement::setType):
3558 (WebCore::SVGScriptElement::parseMappedAttribute):
3559 * ksvg2/svg/SVGScriptElement.h:
3560 * ksvg2/svg/SVGStringList.cpp:
3561 (WebCore::SVGStringList::reset):
3562 * ksvg2/svg/SVGStyledLocatableElement.cpp:
3563 (SVGStyledLocatableElement::getTransformToElement):
3564 * ksvg2/svg/SVGStyledLocatableElement.h:
3565 * ksvg2/svg/SVGStyledTransformableElement.cpp:
3566 (SVGStyledTransformableElement::parseMappedAttribute):
3567 (SVGStyledTransformableElement::getTransformToElement):
3568 * ksvg2/svg/SVGStyledTransformableElement.h:
3569 * ksvg2/svg/SVGTests.cpp:
3570 (WebCore::SVGTests::hasExtension):
3571 (WebCore::SVGTests::isValid):
3572 * ksvg2/svg/SVGTests.h:
3573 * ksvg2/svg/SVGTextContentElement.cpp:
3574 (SVGTextContentElement::getSubStringLength):
3575 (SVGTextContentElement::getStartPositionOfChar):
3576 (SVGTextContentElement::getEndPositionOfChar):
3577 (SVGTextContentElement::getExtentOfChar):
3578 (SVGTextContentElement::getRotationOfChar):
3579 (SVGTextContentElement::selectSubString):
3580 * ksvg2/svg/SVGTextContentElement.h:
3581 (WebCore::SVGTextContentElement::):
3582 * ksvg2/svg/SVGTextElement.cpp:
3583 (WebCore::SVGTextElement::parseMappedAttribute):
3584 * ksvg2/svg/SVGTextElement.h:
3585 (WebCore::SVGTextElement::getTransformToElement):
3586 * ksvg2/svg/SVGTransform.h:
3587 * ksvg2/svg/SVGTransformList.cpp:
3588 (SVGTransformList::consolidate):
3589 (SVGTransformList::concatenate):
3590 * ksvg2/svg/SVGTransformable.cpp:
3591 (SVGTransformable::parseTransformAttribute):
3592 * ksvg2/svg/SVGUnitTypes.h: Added.
3593 (WebCore::SVGUnitTypes::):
3594 (WebCore::SVGUnitTypes::SVGUnitTypes):
3595 (WebCore::SVGUnitTypes::~SVGUnitTypes):
3596 * ksvg2/svg/SVGUseElement.cpp:
3597 (SVGUseElement::closeRenderer):
3598 * ksvg2/svg/SVGViewElement.h:
3599 (WebCore::SVGViewElement::):
3600 * ksvg2/svg/SVGZoomAndPan.cpp:
3601 (WebCore::SVGZoomAndPan::SVGZoomAndPan):
3602 (WebCore::SVGZoomAndPan::parseMappedAttribute):
3604 2006-09-12 John Sullivan <sullivan@apple.com>
3606 Reviewed by Adele Peterson.
3608 * bridge/mac/FrameMac.mm:
3609 (WebCore::FrameMac::doTextFieldCommandFromEvent):
3610 Don't call textField:doCommandBySelector: with a nil selector. This was indirectly causing a
3611 (valid) assertion failure in some Safari code.
3613 2006-09-12 David Harrison <harrison@apple.com>
3615 Reviewed by John Sullivan.
3617 <rdar://problem/4717841> Setting AXFocused to true does not activate the insertion point in text field
3619 * bridge/mac/WebCoreAXObject.mm:
3620 (-[WebCoreAXObject accessibilitySetValue:forAttribute:]):
3621 For AXFocus, use focus() if the node is an element, so that selection is set.
3622 Matches tabbing behavior in text fields and text areas.
3624 2006-09-12 Adam Roben <aroben@apple.com>
3628 Make uploading work with the new file upload control.
3630 * css/html4.css: Remove unnecessary style (this is already done in
3631 RenderFileUpload.cpp)
3632 * html/HTMLInputElement.cpp: Don't get the button text from the value
3633 attribute for file controls.
3634 (WebCore::HTMLInputElement::valueWithDefault):
3635 * platform/mac/FileChooserMac.mm: Call
3636 RenderFileUploadControl::valueChanged when the user selects a file.
3637 (WebCore::FileChooser::chooseFile):
3638 * rendering/RenderFileUploadControl.cpp: Add valueChanged() method to
3639 update the form and fire the onChange event.
3640 (WebCore::RenderFileUploadControl::valueChanged):
3641 (WebCore::RenderFileUploadControl::updateFromElement):
3642 * rendering/RenderFileUploadControl.h: Add valueChanged() declaration.
3644 2006-09-12 Adam Roben <aroben@apple.com>
3646 Adding rules to html4.css to style the button in file upload controls.
3650 2006-09-12 Adam Roben <aroben@apple.com>
3652 Reviewed many times by darin, hyatt.
3654 Switch to new engine-based implementation of <input type="file">
3656 * WebCore.exp: Remove obsolete symbol WebCoreFileButton
3657 * WebCore.xcodeproj/project.pbxproj: Remove files for old widget-based
3658 control, add files for new engine-based control
3659 * css/CSSSelector.cpp: Add support for new
3660 '-webkit-file-upload-button' pseudo element
3661 (WebCore::CSSSelector::extractPseudoType):
3662 * css/CSSSelector.h: Ditto.
3663 (WebCore::CSSSelector::):
3664 * css/cssstyleselector.cpp: Ditto.
3665 (WebCore::CSSStyleSelector::checkOneSelector):
3666 * html/HTMLInputElement.cpp: Send click events to new control
3667 (WebCore::HTMLInputElement::select):
3668 (WebCore::HTMLInputElement::click):
3669 (WebCore::HTMLInputElement::createRenderer):
3670 (WebCore::HTMLInputElement::valueWithDefault):
3671 (WebCore::HTMLInputElement::defaultEventHandler):
3672 * html/HTMLTextFieldInnerElement.h: Add 'virtual' keyword
3673 (WebCore::HTMLTextFieldInnerElement::shadowParentNode):
3674 * platform/FileButton.h: Removed.
3675 * platform/FileChooser.h: Added. This is the replacement for
3677 (WebCore::FileChooser::filename):
3678 (WebCore::FileChooser::icon):
3679 (WebCore::FileChooser::uploadControl):
3680 (WebCore::FileChooser::document):
3681 * platform/Icon.h: Added new platform-specific class representing a
3683 * platform/LocalizedStrings.h:
3684 * platform/mac/FileButtonMac.mm: Removed.
3685 * platform/mac/FileChooserMac.mm: Added. This is the replacement for
3687 (-[OpenPanelController initWithFileChooser:]):
3688 (-[OpenPanelController fileChooserDetachingSoon]):
3689 (-[OpenPanelController beginSheet]):
3690 (-[OpenPanelController chooseFilename:]):
3691 (-[OpenPanelController cancel]):
3692 (WebCore::FileChooser::FileChooser):
3693 (WebCore::FileChooser::~FileChooser):
3694 (WebCore::FileChooser::openFileChooser):
3695 (WebCore::FileChooser::basenameForWidth):
3696 (WebCore::FileChooser::uploadControlDetaching):
3697 (WebCore::FileChooser::chooseFile):
3698 * platform/mac/IconMac.mm: Added.
3699 (WebCore::Icon::Icon):
3700 (WebCore::Icon::~Icon):
3701 (WebCore::Icon::newIconForFile):
3702 (WebCore::Icon::paint):
3703 * platform/mac/LocalizedStringsMac.mm: Call across bridge to get
3705 (WebCore::fileButtonChooseFileLabel):
3706 (WebCore::fileButtonNoFileSelectedLabel):
3707 * rendering/RenderButton.cpp: Extract method setText() from
3709 (WebCore::RenderButton::updateFromElement):
3710 (WebCore::RenderButton::setText):
3711 * rendering/RenderButton.h: Add declaration for new setText method.
3712 * rendering/RenderFileButton.cpp: Removed.
3713 * rendering/RenderFileButton.h: Removed.
3714 * rendering/RenderFileUploadControl.cpp: Added. This is the
3715 replacement for RenderFileButton.cpp.
3716 (WebCore::RenderFileUploadInnerFileBox::renderName):
3717 (WebCore::HTMLFileUploadInnerButtonElement::isShadowNode):
3718 (WebCore::HTMLFileUploadInnerButtonElement::shadowParentNode):
3719 (WebCore::RenderFileUploadControl::RenderFileUploadControl):
3720 (WebCore::RenderFileUploadControl::~RenderFileUploadControl):
3721 (WebCore::RenderFileUploadControl::setStyle):
3722 (WebCore::RenderFileUploadControl::updateIconAndFilename):
3723 (WebCore::RenderFileUploadControl::click):
3724 (WebCore::RenderFileUploadControl::updateFromElement):
3725 (WebCore::RenderFileUploadControl::maxFilenameWidth):
3726 (WebCore::RenderFileUploadControl::createButtonStyle):
3727 (WebCore::RenderFileUploadControl::paintObject):
3728 (WebCore::RenderFileUploadInnerFileBox::RenderFileUploadInnerFileBox):
3729 (WebCore::RenderFileUploadInnerFileBox::setStyle):
3730 (WebCore::RenderFileUploadInnerFileBox::layout):
3731 (WebCore::RenderFileUploadInnerFileBox::setHasIcon):
3732 (WebCore::RenderFileUploadInnerFileBox::setFilename):
3733 (WebCore::RenderFileUploadInnerFileBox::calcMinMaxWidth):
3734 (WebCore::HTMLFileUploadInnerButtonElement::HTMLFileUploadInnerButtonElement):
3735 (WebCore::HTMLFileUploadInnerButtonElement::createRenderer):
3736 * rendering/RenderFileUploadControl.h: Added. This is the replacement
3737 for RenderFileButton.h.
3738 (WebCore::RenderFileUploadControl::renderName):
3739 * rendering/RenderStyle.cpp: Add support for
3740 -webkit-file-upload-button pseudo element.
3742 (WebCore::pseudoBit):
3743 * rendering/RenderStyle.h: Ditto.
3744 (WebCore::RenderStyle::):
3746 2006-09-12 Anders Carlsson <acarlsson@apple.com>
3748 Reviewed by John Sullivan.
3750 Do the plugin object cleanup in Frame::clear instead of setView.
3752 * bridge/mac/FrameMac.h:
3753 * bridge/mac/FrameMac.mm:
3754 (WebCore::FrameMac::setView):
3755 (WebCore::FrameMac::cleanupPluginObjects):
3757 (WebCore::Frame::clear):
3760 2006-09-12 MorganL <morlmor@yahoo.com>
3762 Reviewed/landed by aroben.
3764 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10822
3765 windows build is busted
3767 * WebCore.vcproj/WebCore/WebCore.vcproj: Add missing
3768 JSRangeException.{cpp,h} to project
3770 2006-09-12 David Hyatt <hyatt@apple.com>
3772 Fix fieldsets so that they properly expand to enclose overhanging floats
3773 when the fieldset has auto height. This is a nifty undocumented behavior
3774 of the fieldset element. The bug is 3898.
3778 Added fast/forms/fieldset-with-float.html
3780 * rendering/RenderBlock.cpp:
3781 (WebCore::RenderBlock::layoutBlock):
3782 * rendering/RenderFieldset.h:
3783 (WebCore::RenderFieldset::renderName):
3784 (WebCore::RenderFieldset::expandsToEncloseOverhangingFloats):
3785 * rendering/RenderObject.h:
3786 (WebCore::RenderObject::expandsToEncloseOverhangingFloats):
3787 * rendering/RenderTableCell.h:
3788 (WebCore::RenderTableCell::expandsToEncloseOverhangingFloats):
3790 2006-09-11 Eric Seidel <eric@eseidel.com>
3794 REGRESSION: When dragging a link on a page, the selected link doesn't display it's name or URL
3795 http://bugzilla.opendarwin.org/show_bug.cgi?id=10819
3796 http://bugzilla.opendarwin.org/show_bug.cgi?id=10814
3798 No test cases were harmed in the coding of the patch.
3800 * platform/mac/WebCoreTextRenderer.mm:
3801 (WebCoreDrawTextAtPoint):
3803 2006-09-11 David Hyatt <hyatt@apple.com>
3805 Fix for bug 8126, column widths apply to the border boxes of cells.
3809 * rendering/RenderTableCell.cpp:
3810 (WebCore::RenderTableCell::styleOrColWidth):
3812 2006-09-11 Nikolas Zimmermann <zimmermann@kde.org>
3818 * CMakeLists.txt: Add dom/RangeException.idl to build & fix feature defines.
3820 2006-09-11 Nikolas Zimmermann <zimmermann@kde.org>
3822 Reviewed by eseidel. Landed by eseidel.
3824 Fixes: http://bugzilla.opendarwin.org/show_bug.cgi?id=10750
3826 This finally fixes the SVGAnimated* classes JS bindings!
3828 - Move all SVGAnimated*.idl files from ksvg2/bindings/idl/svg to ksvg2/svg
3829 - Adjust XCode/Qt build files to generate the new idl files
3831 - Remove all SVGAnimated* primitives cpp implementations (Angle/Boolean/Color/Enumeration/Integer/Length/
3832 LengthList/Number/NumberList/PreserveAspectRatio/
3833 Rect/String/TransformList)
3835 - Remove unneeded methods from CodeGenerator.pm and add new helper function: IsSVGAnimatedType
3836 - Adjust CodeGeneratorJS.pm to the new SVGAnimated* tear-off concept
3838 - Add two new macros: ANIMATED_PROPERTY_EMPTY_DECLARATIONS / ANIMATED_PROPERTY_FORWARD_DECLARATIONS.
3839 This is used to fix multiple-inheritance issues in SVG with properties,
3840 similar like SVGTests::isValid() was fixed.
3842 - Rewrote SVGList using WTF::Vector, instead of DeprecatedPtrList and killed DOMList.
3843 (SVGAnimated*Lists work again now)
3845 - Adjust macros in SVGElement to create the "*Animated" tear-off classes.
3847 - Adjust all SVG classes which use the ANIMATED macros to include the ClassName as first param in the header.
3850 * DerivedSources.make:
3851 * WebCore.xcodeproj/project.pbxproj:
3852 * bindings/scripts/CodeGenerator.pm:
3853 * bindings/scripts/CodeGeneratorJS.pm:
3854 * kcanvas/RenderSVGImage.cpp:
3855 (WebCore::RenderSVGImage::adjustRectsForAspectRatio):
3856 (WebCore::RenderSVGImage::paint):
3857 * kcanvas/RenderSVGText.cpp:
3858 (WebCore::RenderSVGText::translationForAttributes):
3860 * ksvg2/misc/SVGDocumentExtensions.h:
3861 (WebCore::FloatRect):
3862 * ksvg2/svg/SVGAElement.h:
3863 * ksvg2/svg/SVGAnimateColorElement.cpp:
3864 * ksvg2/svg/SVGAnimateColorElement.h:
3865 * ksvg2/svg/SVGAnimateTransformElement.h:
3866 * ksvg2/svg/SVGAnimatedTemplate.h:
3867 (WebCore::SVGAnimatedTemplate::~SVGAnimatedTemplate):
3868 * ksvg2/svg/SVGAnimationElement.h:
3869 * ksvg2/svg/SVGCircleElement.h:
3870 * ksvg2/svg/SVGClipPathElement.h:
3871 * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
3872 (SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement):
3873 (SVGComponentTransferFunctionElement::transferFunction):
3874 * ksvg2/svg/SVGComponentTransferFunctionElement.h:
3875 * ksvg2/svg/SVGCursorElement.h:
3876 * ksvg2/svg/SVGDefsElement.h:
3877 * ksvg2/svg/SVGElement.h:
3878 * ksvg2/svg/SVGElementInstanceList.cpp:
3879 (WebCore::SVGElementInstanceList::SVGElementInstanceList):
3880 * ksvg2/svg/SVGElementInstanceList.h:
3881 * ksvg2/svg/SVGEllipseElement.h:
3882 * ksvg2/svg/SVGExternalResourcesRequired.h:
3883 * ksvg2/svg/SVGFEBlendElement.h:
3884 * ksvg2/svg/SVGFEColorMatrixElement.cpp:
3885 (SVGFEColorMatrixElement::SVGFEColorMatrixElement):
3886 (SVGFEColorMatrixElement::parseMappedAttribute):
3887 (SVGFEColorMatrixElement::filterEffect):
3888 * ksvg2/svg/SVGFEColorMatrixElement.h:
3889 * ksvg2/svg/SVGFEComponentTransferElement.h:
3890 * ksvg2/svg/SVGFECompositeElement.h:
3891 * ksvg2/svg/SVGFEDiffuseLightingElement.h:
3892 * ksvg2/svg/SVGFEDisplacementMapElement.h:
3893 * ksvg2/svg/SVGFEFloodElement.h:
3894 * ksvg2/svg/SVGFEGaussianBlurElement.h:
3895 * ksvg2/svg/SVGFEImageElement.h:
3896 * ksvg2/svg/SVGFELightElement.h:
3897 * ksvg2/svg/SVGFEMergeNodeElement.h:
3898 * ksvg2/svg/SVGFEOffsetElement.h:
3899 * ksvg2/svg/SVGFESpecularLightingElement.h:
3900 * ksvg2/svg/SVGFETileElement.h:
3901 * ksvg2/svg/SVGFETurbulenceElement.h:
3902 * ksvg2/svg/SVGFilterElement.h:
3903 * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
3904 * ksvg2/svg/SVGFitToViewBox.cpp:
3905 (WebCore::SVGFitToViewBox::SVGFitToViewBox):
3906 (WebCore::SVGFitToViewBox::parseViewBox):
3907 (WebCore::SVGFitToViewBox::viewBoxToViewTransform):
3908 * ksvg2/svg/SVGFitToViewBox.h:
3909 * ksvg2/svg/SVGForeignObjectElement.h:
3910 * ksvg2/svg/SVGGElement.h:
3911 * ksvg2/svg/SVGGradientElement.cpp:
3912 (SVGGradientElement::SVGGradientElement):
3913 * ksvg2/svg/SVGGradientElement.h:
3914 * ksvg2/svg/SVGHelper.cpp:
3915 (WebCore::SVGHelper::PercentageOfViewport):
3916 * ksvg2/svg/SVGImageElement.h:
3917 * ksvg2/svg/SVGLength.cpp:
3918 * ksvg2/svg/SVGLengthList.cpp:
3919 (WebCore::SVGLengthList::SVGLengthList):
3920 (WebCore::SVGLengthList::parse):
3921 * ksvg2/svg/SVGLengthList.h:
3922 * ksvg2/svg/SVGLineElement.h:
3923 * ksvg2/svg/SVGLinearGradientElement.h:
3924 * ksvg2/svg/SVGList.h:
3925 (WebCore::SVGListBase::SVGListBase):
3926 (WebCore::SVGListBase::~SVGListBase):
3927 (WebCore::SVGListBase::numberOfItems):
3928 (WebCore::SVGListBase::clear):
3929 (WebCore::SVGListBase::initialize):
3930 (WebCore::SVGListBase::getFirst):
3931 (WebCore::SVGListBase::getLast):
3932 (WebCore::SVGListBase::getItem):
3933 (WebCore::SVGListBase::insertItemBefore):
3934 (WebCore::SVGListBase::replaceItem):
3935 (WebCore::SVGListBase::removeItem):
3936 (WebCore::SVGListBase::appendItem):
3937 (WebCore::SVGList::nullItem):
3939 * ksvg2/svg/SVGLocatable.cpp:
3940 * ksvg2/svg/SVGMarkerElement.h:
3941 * ksvg2/svg/SVGMaskElement.h:
3942 * ksvg2/svg/SVGNumberList.cpp:
3943 (SVGNumberList::SVGNumberList):
3944 (SVGNumberList::parse):
3945 * ksvg2/svg/SVGNumberList.h:
3946 * ksvg2/svg/SVGPathElement.cpp:
3947 (WebCore::SVGPathElement::pathSegList):
3948 * ksvg2/svg/SVGPathElement.h:
3949 * ksvg2/svg/SVGPathSegList.cpp:
3950 (WebCore::SVGPathSegList::SVGPathSegList):
3951 * ksvg2/svg/SVGPathSegList.h:
3952 * ksvg2/svg/SVGPatternElement.cpp:
3953 (WebCore::SVGPatternElement::SVGPatternElement):
3954 * ksvg2/svg/SVGPatternElement.h:
3955 * ksvg2/svg/SVGPointList.cpp:
3956 (SVGPointList::SVGPointList):
3957 * ksvg2/svg/SVGPointList.h:
3958 * ksvg2/svg/SVGPolyElement.cpp:
3959 (SVGPolyElement::points):
3960 (SVGPolyElement::svgPolyTo):
3961 (SVGPolyElement::notifyAttributeChange):
3962 * ksvg2/svg/SVGPolyElement.h:
3963 * ksvg2/svg/SVGPolygonElement.cpp:
3964 (SVGPolygonElement::toPathData):
3965 * ksvg2/svg/SVGPolylineElement.cpp:
3966 (SVGPolylineElement::toPathData):
3967 * ksvg2/svg/SVGPreserveAspectRatio.h:
3968 (WebCore::SVGPreserveAspectRatio::):
3969 * ksvg2/svg/SVGRadialGradientElement.h:
3970 * ksvg2/svg/SVGRectElement.h:
3971 * ksvg2/svg/SVGSVGElement.cpp:
3972 (WebCore::SVGSVGElement::SVGSVGElement):
3973 (WebCore::SVGSVGElement::parseMappedAttribute):
3974 (WebCore::SVGSVGElement::createRenderer):
3975 * ksvg2/svg/SVGSVGElement.h:
3976 * ksvg2/svg/SVGScriptElement.h:
3977 * ksvg2/svg/SVGStopElement.h:
3978 * ksvg2/svg/SVGStringList.cpp:
3979 (WebCore::SVGStringList::SVGStringList):
3980 (WebCore::SVGStringList::reset):
3981 * ksvg2/svg/SVGStringList.h:
3982 * ksvg2/svg/SVGStyledElement.h:
3983 * ksvg2/svg/SVGStyledLocatableElement.cpp:
3984 * ksvg2/svg/SVGStyledTransformableElement.cpp:
3985 (SVGStyledTransformableElement::SVGStyledTransformableElement):
3986 * ksvg2/svg/SVGStyledTransformableElement.h:
3987 * ksvg2/svg/SVGSwitchElement.h:
3988 * ksvg2/svg/SVGSymbolElement.h:
3989 * ksvg2/svg/SVGTRefElement.h:
3990 * ksvg2/svg/SVGTests.cpp:
3991 (WebCore::SVGTests::isValid):
3992 * ksvg2/svg/SVGTextContentElement.h:
3993 * ksvg2/svg/SVGTextElement.cpp:
3994 (WebCore::SVGTextElement::SVGTextElement):
3995 * ksvg2/svg/SVGTextElement.h:
3996 * ksvg2/svg/SVGTextPositioningElement.cpp:
3997 (SVGTextPositioningElement::SVGTextPositioningElement):
3998 (SVGTextPositioningElement::parseMappedAttribute):
3999 * ksvg2/svg/SVGTextPositioningElement.h:
4000 * ksvg2/svg/SVGTransformList.cpp:
4001 (SVGTransformList::SVGTransformList):
4002 (SVGTransformList::createSVGTransformFromMatrix):
4003 (SVGTransformList::consolidate):
4004 (SVGTransformList::concatenate):
4005 * ksvg2/svg/SVGTransformList.h:
4006 * ksvg2/svg/SVGURIReference.h:
4007 * ksvg2/svg/SVGUseElement.h:
4008 * ksvg2/svg/SVGViewElement.h:
4010 2006-09-11 Adam Roben <aroben@apple.com>
4012 Rubberstamped by Adele.
4014 Rename LocalGraphicsContext.{h,mm} to
4015 LocalCurrentGraphicsContext.{h,mm} to match the class name.
4017 * WebCore.xcodeproj/project.pbxproj:
4018 * platform/mac/LocalCurrentGraphicsContext.mm: Added.
4019 * platform/mac/LocalCurrentGraphicsContext.h: Added.
4020 * platform/mac/LocalGraphicsContext.h: Removed.
4021 * platform/mac/LocalGraphicsContext.mm: Removed.
4022 * rendering/RenderThemeMac.mm: Fix #include to match renamed file
4024 2006-09-11 Brady Eidson <beidson@apple.com>
4028 * WebCore.xcodeproj/project.pbxproj:
4030 2006-09-11 Kevin McCullough <KMcCullough@apple.com>
4034 - Implements comparePoint on the Range class
4036 - Exposes RangeExceptions in JavaScript
4038 * DerivedSources.make:
4039 * WebCore.xcodeproj/project.pbxproj:
4040 * bindings/js/kjs_binding.cpp:
4041 * bindings/objc/DOMInternal.mm:
4043 (WebCore::Range::comparePoint):
4044 (WebCore::Range::compareNode):
4048 * dom/RangeException.h: Added.
4050 * dom/RangeException.idl: Added.
4051 * page/DOMWindow.idl:
4053 2006-09-11 Adam Roben <aroben@apple.com>
4057 Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10812
4058 Move LocalGraphicsContext out of RenderThemeMac
4060 * WebCore.xcodeproj/project.pbxproj:
4061 * platform/mac/LocalGraphicsContext.h: Added.
4062 * platform/mac/LocalGraphicsContext.mm: Added.
4063 (WebCore::LocalCurrentGraphicsContext::LocalCurrentGraphicsContext):
4064 (WebCore::LocalCurrentGraphicsContext::~LocalCurrentGraphicsContext):
4065 * rendering/RenderThemeMac.mm:
4067 2006-09-11 Vladimir Olexa <vladimir.olexa@gmail.com>
4071 - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=10323
4072 REGRESSION: javascript: URL containing '\\' gets passed as '//'
4074 Test: fast/dom/javascript-backslash.html
4076 * platform/KURL.cpp: (WebCore::KURL::init): Don't do backslash
4077 substitution in JavaScript URLs.
4079 2006-09-11 Sam Weinig <sam.weinig@gmail.com>
4081 Reviewed by Darin and Tim H.
4083 Patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10792
4084 Remove the [Exclude=LANGUAGE] idiom from IDL's and code generators
4085 for something better
4087 - Replaces [Exclude=LANGUAGE] idiom with preprocessor #if defined(LANGUAGE)
4090 - Assorted whitespace changes to IDL files.
4092 * DerivedSources.make:
4093 * WebCore.xcodeproj/project.pbxproj:
4094 * bindings/objc/DOMEvents.h:
4095 * bindings/scripts/CodeGenerator.pm:
4096 * bindings/scripts/CodeGeneratorJS.pm:
4097 * bindings/scripts/CodeGeneratorObjC.pm:
4099 * css/CSSStyleDeclaration.idl:
4101 * dom/DOMImplementation.idl:
4105 * dom/KeyboardEvent.idl:
4106 * dom/MouseEvent.idl:
4107 * dom/NamedNodeMap.idl:
4108 * dom/NodeFilter.idl:
4110 * dom/WheelEvent.idl:
4111 * html/HTMLAnchorElement.idl:
4112 * html/HTMLAreaElement.idl:
4113 * html/HTMLDocument.idl:
4114 * html/HTMLElement.idl:
4115 * html/HTMLImageElement.idl:
4116 * html/HTMLInputElement.idl:
4117 * html/HTMLLinkElement.idl:
4118 * html/HTMLOptionsCollection.idl:
4120 2006-09-11 David Hyatt <hyatt@apple.com>
4122 Fix an unwitting victim of the kMin->min change. calcBlockMinMaxWidth
4123 was accidentally renamed to calcBlominMaxWidth.
4125 * rendering/RenderBlock.cpp:
4126 (WebCore::RenderBlock::calcMinMaxWidth):
4127 (WebCore::RenderBlock::calcBlockMinMaxWidth):
4128 * rendering/RenderBlock.h:
4130 2006-09-10 David Hyatt <hyatt@apple.com>
4132 Rework the printer font stuff a little bit so that the Font API doesn't
4137 * WebCore.xcodeproj/project.pbxproj:
4138 * bridge/mac/WebCoreStringTruncator.mm:
4140 (+[WebCoreStringTruncator widthOfString:font:]):
4141 * platform/Font.cpp:
4142 (WebCore::Font::drawSimpleText):
4144 * platform/TextStyle.h:
4145 (WebCore::TextStyle::TextStyle):
4146 (WebCore::TextStyle::attemptFontSubstitution):
4147 (WebCore::TextStyle::setRTL):
4148 * platform/mac/FontMac.mm:
4149 (WebCore::m_wordSpacing):
4150 (WebCore::Font::drawGlyphs):
4151 * platform/mac/ListBoxMac.mm:
4153 (groupLabelTextRenderer):
4154 (-[WebCoreTableView drawRow:clipRect:]):
4155 * platform/mac/PopUpButtonMac.mm:
4156 (PopUpButton::sizeHint):
4157 * platform/mac/TextFieldMac.mm:
4158 (-[NSSearchFieldCell _addStringToRecentSearches:]):
4159 * platform/mac/WebCoreTextRenderer.mm:
4160 (WebCoreDrawTextAtPoint):
4161 (WebCoreTextFloatWidth):
4162 * rendering/EllipsisBox.cpp:
4163 (WebCore::EllipsisBox::paint):
4164 * rendering/InlineTextBox.cpp:
4165 (WebCore::InlineTextBox::paint):
4166 * rendering/RenderImage.cpp:
4167 (WebCore::RenderImage::paint):
4168 * rendering/RenderListMarker.cpp:
4169 (WebCore::RenderListMarker::paint):
4171 2006-09-10 Brady Eidson <beidson@apple.com>
4175 Small cleanups + future plans
4177 * loader/icon/IconDatabase.cpp:
4178 (WebCore::IconDatabase::open): path separator cleanup
4181 2006-09-10 Brady Eidson <beidson@apple.com>
4185 Added specialized HashTraits
4187 * platform/IntSizeHash.h:
4189 2006-09-10 Brady Eidson <beidson@apple.com>
4191 Forgetting header #define protection is BAAAAAD
4192 (and re-alphabetized the project file)
4194 * WebCore.xcodeproj/project.pbxproj:
4195 * platform/IntSizeHash.h:
4197 2006-09-10 Brady Eidson <beidson@apple.com>
4201 Moved the custom IntSize hash out of IconDatabase into a more generally useful file
4203 * WebCore.xcodeproj/project.pbxproj:
4204 * loader/icon/IconDatabase.h:
4205 * platform/IntSizeHash.h: Added.
4207 2006-09-10 David Hyatt <hyatt@apple.com>
4209 Fix for bug 10801, form controls that get styled suddenly lose their
4210 intrinsic margins. Move the intrinsic margin addition code into
4211 adjustRenderStyle and get it out of the theme code and the old form control
4216 * css/cssstyleselector.cpp:
4217 (WebCore::addIntrinsicMargins):
4218 (WebCore::CSSStyleSelector::adjustRenderStyle):
4220 * rendering/DeprecatedRenderSelect.h:
4221 (WebCore::DeprecatedRenderSelect::calcReplacedHeight):
4222 * rendering/DeprecatedSlider.h:
4223 * rendering/RenderFormElement.cpp:
4224 (WebCore::RenderFormElement::setStyle):
4225 * rendering/RenderFormElement.h:
4226 * rendering/RenderLayer.cpp:
4227 (WebCore::RenderLayer::resize):
4228 * rendering/RenderThemeMac.h:
4229 * rendering/RenderThemeMac.mm:
4230 (WebCore::RenderThemeMac::adjustButtonStyle):
4231 (WebCore::RenderThemeMac::adjustTextFieldStyle):
4232 (WebCore::RenderThemeMac::adjustTextAreaStyle):
4233 (WebCore::RenderThemeMac::adjustMenuListStyle):
4234 (WebCore::RenderThemeMac::adjustMenuListButtonStyle):
4235 * rendering/RenderThemeWin.cpp:
4236 (WebCore::RenderThemeWin::adjustButtonStyle):
4237 (WebCore::RenderThemeWin::adjustTextFieldStyle):
4238 (WebCore::RenderThemeWin::adjustTextAreaStyle):
4240 2006-09-10 Darin Adler <darin@apple.com>
4242 - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10547
4244 * manual-tests/target-test.html: Added.
4245 * manual-tests/targeted.html: Added.
4247 2006-09-10 Eric Seidel <eric@eseidel.com>
4251 Remove a bunch more NSGraphicsContext related code.
4252 Add a LocalCurrentGraphicsContext to simplify methods which need to call up into AppKit controls (and thus depend on the [NSGraphicsContext currentContext] being set correctly)
4253 Add an "isPrinting" flag to many of the text drawing functions in order to avoid the need for a GraphicsContext::isPrinting() function.
4255 No tests were harmed in the making of this patch.
4257 * bridge/mac/WebCoreFrameBridge.mm:
4258 (-[WebCoreFrameBridge drawRect:]):
4259 * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
4260 (WebCore::KRenderingDeviceContextQuartz::cgContext):
4261 (WebCore::KRenderingDeviceQuartz::isBuffered):
4262 * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
4263 (WebCore::KRenderingDeviceContextQuartz::K