WebKit-https.git
16 years agoReplace all "cvs" references with "svn".
thatcher [Fri, 20 Jan 2006 08:18:01 +0000 (08:18 +0000)]
Replace all "cvs" references with "svn".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12256 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Eric.
thatcher [Fri, 20 Jan 2006 07:45:11 +0000 (07:45 +0000)]
    Reviewed by Eric.

        Adds inline style reporting and mapped attribute support to the Inspector Style pane.
        Cleans up the node attributes area with a more natural attr = "value" look.
        Slight optimization to only update visible scrollbars during a window resize.

        * WebInspector.subproj/webInspector/inspector.css:
        * WebInspector.subproj/webInspector/inspector.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12255 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoAdd WebKitBuild to the svn:ignore
thatcher [Fri, 20 Jan 2006 06:42:16 +0000 (06:42 +0000)]
Add WebKitBuild to the svn:ignore

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12254 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoFix a typo that made WebCore build and link UserAgentStyleSheets.cpp every time,...
thatcher [Fri, 20 Jan 2006 06:21:21 +0000 (06:21 +0000)]
Fix a typo that made WebCore build and link UserAgentStyleSheets.cpp every time, even if nothing changed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12253 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Darin.
thatcher [Fri, 20 Jan 2006 05:10:02 +0000 (05:10 +0000)]
    Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=6631
        Inspector window has inappropriate maximum height

        * WebInspector.subproj/WebInspector.m:
        (-[WebInspector window]): removes the maximum size constraint

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12252 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Tim Omernick.
sullivan [Fri, 20 Jan 2006 01:40:28 +0000 (01:40 +0000)]
    Reviewed by Tim Omernick.

        * WebKit.xcodeproj/project.pbxproj:
        made WebNSUserDefaultsExtras.h private (SPI) so its one method can be called from
        Safari, so Safari can stop calling the similar method in Foundation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12251 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Fri, 20 Jan 2006 01:22:30 +0000 (01:22 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        <embed> and <object> tags show up blank when going back/forward.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6679

        No test currently possible.

        * page/Frame.cpp:
        (Frame::canCachePage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12250 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Tim Omernick.
sullivan [Fri, 20 Jan 2006 01:02:49 +0000 (01:02 +0000)]
    Reviewed by Tim Omernick.

        Made _webKit_guessedMIMEType SPI so Safari can use it in order to stop using
        the similar SPI method in Foundation. This involved splitting it out of the file
        it was in, to avoid creating any other new SPI here. Poor svn diff got mighty
        confused in the process.

        * Misc.subproj/WebNSDataExtras.h:
        removed _webkit_guessedMIMEType from here
        * Misc.subproj/WebNSDataExtrasPrivate.h:
        Added. Contains only _webkit_guessedMIMEType. This file is private (SPI), whereas
        WebNSDataExtras.h is project-internal. I could have renamed WebNSDateExtras.h to
        WebNSDateExtrasInternal.h also, but I minimized the gratuitous change level here
        by not doing that.

        * Misc.subproj/WebNSDataExtras.m:
        Despite the great confusion of svn diff, all I actually did here was move
        _webkit_guessedMIMEType and its helper _webkit_guessedMIMETypeForXML into a new
        category. No lines of code were harmed while creating this patch.

        * WebKit.xcodeproj/project.pbxproj:
        updated for new file

        * WebView.subproj/WebView.m:
        Added #import for new file since WebView uses _webkit_guessedMIMEType

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12249 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Thu, 19 Jan 2006 23:50:13 +0000 (23:50 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        Split html_miscimpl.* into separate files and move html_elementimpl
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6670

        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        * bindings/objc/DOMHTML.mm:
        * bridge/mac/WebCoreFrameBridge.mm:
        * css/css_valueimpl.cpp:
        * css/cssstyleselector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * khtml/ecma/kjs_dom.cpp:
        * khtml/ecma/kjs_html.cpp:
        * khtml/editing/apply_style_command.cpp:
        * khtml/editing/markup.cpp:
        * khtml/editing/replace_selection_command.cpp:
        * khtml/html/HTMLBaseFontElementImpl.cpp: Added.
        * khtml/html/HTMLBaseFontElementImpl.h: Added.
        * khtml/html/HTMLButtonElementImpl.cpp:
        * khtml/html/HTMLCollectionImpl.cpp: Added.
        (WebCore::HTMLCollectionImpl::traverseNextItem):
        * khtml/html/HTMLCollectionImpl.h: Added.
        * khtml/html/HTMLElementImpl.cpp: Added.
        * khtml/html/HTMLElementImpl.h: Added.
        * khtml/html/HTMLFieldSetElementImpl.cpp:
        * khtml/html/HTMLFormCollectionImpl.cpp: Added.
        * khtml/html/HTMLFormCollectionImpl.h: Added.
        * khtml/html/HTMLFormElementImpl.cpp:
        * khtml/html/HTMLFormElementImpl.h:
        * khtml/html/HTMLGenericFormElementImpl.cpp:
        * khtml/html/HTMLGenericFormElementImpl.h:
        * khtml/html/HTMLInputElementImpl.cpp:
        * khtml/html/HTMLIsIndexElementImpl.cpp:
        * khtml/html/HTMLLabelElementImpl.h:
        * khtml/html/HTMLLegendElementImpl.cpp:
        * khtml/html/HTMLNameCollectionImpl.cpp: Added.
        * khtml/html/HTMLNameCollectionImpl.h: Added.
        * khtml/html/HTMLOptGroupElementImpl.cpp:
        * khtml/html/HTMLOptGroupElementImpl.h:
        * khtml/html/HTMLOptionElementImpl.h:
        * khtml/html/HTMLSelectElementImpl.cpp:
        * khtml/html/HTMLTextAreaElementImpl.cpp:
        * khtml/html/html_baseimpl.cpp:
        * khtml/html/html_baseimpl.h:
        * khtml/html/html_blockimpl.cpp:
        * khtml/html/html_blockimpl.h:
        * khtml/html/html_canvasimpl.cpp:
        * khtml/html/html_documentimpl.cpp:
        * khtml/html/html_documentimpl.h:
        * khtml/html/html_elementimpl.cpp: Removed.
        * khtml/html/html_elementimpl.h: Removed.
        * khtml/html/html_headimpl.cpp:
        (WebCore::HTMLLinkElementImpl::setStyleSheet):
        (WebCore::HTMLLinkElementImpl::isLoading):
        * khtml/html/html_headimpl.h:
        * khtml/html/html_imageimpl.cpp:
        * khtml/html/html_inlineimpl.cpp:
        * khtml/html/html_inlineimpl.h:
        * khtml/html/html_listimpl.h:
        * khtml/html/html_miscimpl.cpp: Removed.
        * khtml/html/html_miscimpl.h: Removed.
        * khtml/html/html_objectimpl.cpp:
        * khtml/html/html_tableimpl.h:
        * khtml/html/htmlfactory.cpp:
        * khtml/html/htmlparser.cpp:
        * khtml/html/htmltokenizer.cpp:
        (WebCore::HTMLTokenizer::scriptHandler):
        (WebCore::HTMLTokenizer::scriptExecution):
        * khtml/xml/DocumentImpl.cpp:
        * khtml/xml/dom2_rangeimpl.cpp:
        * khtml/xml/dom_elementimpl.cpp:
        * kwq/KWQAccObject.mm:
        * loader/loader.cpp:
        * page/Frame.cpp:
        (Frame::restoreURL):
        (Frame::stopLoading):
        (Frame::receivedFirstData):
        (Frame::gotoAnchor):
        (Frame::requestObject):
        (Frame::processObjectRequest):
        (Frame::submitForm):
        (Frame::slotParentCompleted):
        (Frame::findFrame):
        (Frame::executeScript):
        * page/FrameView.cpp:
        (FrameView::useSlowRepaints):
        * rendering/render_applet.cpp:
        * rendering/render_applet.h:
        * rendering/render_box.cpp:
        (WebCore::RenderBox::contentWidth):
        (WebCore::RenderBox::paintRootBoxDecorations):
        (WebCore::RenderBox::paintBoxDecorations):
        (WebCore::RenderBox::getClipRect):
        (WebCore::RenderBox::calcWidth):
        (WebCore::RenderBox::calcHeight):
        * rendering/render_canvasimage.cpp:
        * rendering/render_canvasimage.h:
        * rendering/render_frames.cpp:
        * rendering/render_image.cpp:
        * rendering/render_image.h:
        * rendering/render_layer.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12243 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago * Scripts/report-include-statistics: Added a new script.
darin [Thu, 19 Jan 2006 23:08:21 +0000 (23:08 +0000)]
    * Scripts/report-include-statistics: Added a new script.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12241 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Tim O.
sullivan [Thu, 19 Jan 2006 21:42:45 +0000 (21:42 +0000)]
    Reviewed by Tim O.

        * Misc.subproj/WebNSURLExtras.h:
        added declaration of _webkit_rangeOfURLScheme so Safari can call it as a step
        towards weaning Safari from Foundation SPI.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12240 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago * Scripts/build-webkit: include JavaScriptGlue in the build
thatcher [Thu, 19 Jan 2006 19:45:30 +0000 (19:45 +0000)]
    * Scripts/build-webkit: include JavaScriptGlue in the build

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12239 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoBuild JavaScriptGlue.
darin [Thu, 19 Jan 2006 18:57:26 +0000 (18:57 +0000)]
Build JavaScriptGlue.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12238 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-19 Anders Carlsson <andersca@mac.com>
andersca [Thu, 19 Jan 2006 17:14:33 +0000 (17:14 +0000)]
2006-01-19  Anders Carlsson  <andersca@mac.com>

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6653
        CSSStyleDeclaration returns empty string when trying to access shorthand
        properties using JS accessors.

        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMCSSStyleDeclaration::cssPropertyGetter):
        if getCSSPropertyValue returns 0 (which is true for shorthand properties),
        try getPropertyValue instead.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12237 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Hyatt and Darin.
adele [Thu, 19 Jan 2006 09:35:14 +0000 (09:35 +0000)]
    Reviewed by Hyatt and Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=6665
        Implement NSView-less version of <input type="text">

        Initial implementation of new and improved text fields.
        This will only be turned on if an input element has khtml-appearance: textfield.

        * WebCore.xcodeproj/project.pbxproj: Added RenderTextField.h and RenderTextField.cpp
        * css/cssvalues.in: Fixed omitted button-bevel value.
          This was causing an off-by-one error when getting khtml-appearance value.
        * khtml/html/HTMLInputElementImpl.cpp: Added checks for khtml-appearance to decide
          when to use RenderTextField instead of RenderLineEdit.
        (DOM::HTMLInputElementImpl::selectionStart):
        (DOM::HTMLInputElementImpl::selectionEnd):
        (DOM::HTMLInputElementImpl::setSelectionStart):
        (DOM::HTMLInputElementImpl::setSelectionEnd):
        (DOM::HTMLInputElementImpl::select):
        (DOM::HTMLInputElementImpl::setSelectionRange):
        (DOM::HTMLInputElementImpl::createRenderer):
        (DOM::HTMLInputElementImpl::defaultEventHandler):
        * khtml/html/HTMLInputElementImpl.h:
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::isFocusable): Also allow editable elements with no parent to be focusable.
        * khtml/xml/NodeImpl.h:
        (WebCore::NodeImpl::setAttached): Added to set m_attached without having to call attach().
        * rendering/RenderTextField.cpp: Added.
        (khtml:::RenderBlock):
        (khtml::RenderTextField::~RenderTextField):
        (khtml::RenderTextField::addChild):
        (khtml::RenderTextField::removeChild):
        (khtml::RenderTextField::setStyle):
        (khtml::RenderTextField::getDivStyle):
        (khtml::RenderTextField::updateFromElement):
        (khtml::RenderTextField::selectionStart):
        (khtml::RenderTextField::selectionEnd):
        (khtml::RenderTextField::setSelectionStart):
        (khtml::RenderTextField::setSelectionEnd):
        (khtml::RenderTextField::select):
        (khtml::RenderTextField::setSelectionRange):
        * rendering/RenderTextField.h: Added.
        (khtml::RenderTextField::removeLeftoverAnonymousBoxes):
        (khtml::RenderTextField::renderName):
        * rendering/render_container.cpp:
        (RenderContainer::destroy): use renamed destroyLeftoverChildren.
        (RenderContainer::destroyLeftoverChildren): renamed from destroyLeftoverAnonymousChildren.
        * rendering/render_container.h:
        * rendering/render_flow.cpp:
        (RenderFlow::destroy): use renamed destroyLeftoverChildren.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12236 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Thu, 19 Jan 2006 09:20:50 +0000 (09:20 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin & anders.

        Fix opacity crasher for <text> and <image>.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6668
        Even though the crash is fixed, opacity still doesn't work.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6669

        * kcanvas/RenderSVGImage.cpp:
        (RenderSVGImage::paint):
        * kcanvas/RenderSVGText.cpp:
        (RenderSVGText::paint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12235 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
darin [Thu, 19 Jan 2006 09:18:30 +0000 (09:18 +0000)]
    * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
        spaces in it by using the form of open that treats each argument as a string
        rather than backtick syntax for reading the output of the nm tool.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12234 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Hyatt.
darin [Thu, 19 Jan 2006 08:59:31 +0000 (08:59 +0000)]
    Reviewed by Hyatt.

        - removed all use of QMap

        * ForwardingHeaders/qmap.h: Removed.
        * WebCore.xcodeproj/project.pbxproj: Removed KWQMap.h, KWQMapImpl.h, KWQMapImpl.cpp.
        * kwq/KWQMap.h: Removed.
        * kwq/KWQMapImpl.cpp: Removed.
        * kwq/KWQMapImpl.h: Removed.

        * bridge/BrowserExtension.h: (WebCore::URLArgs::metaData): Converted from QMap of QString
        to HashMap of DOMString.
        * bridge/mac/BrowserExtensionMac.mm: Ditto.
        * bridge/mac/MacFrame.mm:
        (MacFrame::openURLRequest): Ditto.
        (MacFrame::urlSelected): Ditto.
        (MacFrame::createPart): Ditto.
        * khtml/ecma/kjs_window.cpp:
        (KJS::parseModalDialogFeatures): Ditto.
        (KJS::boolFeature): Ditto.
        (KJS::intFeature): Ditto.
        (KJS::createNewWindow): Ditto.
        (KJS::showModalDialog): Ditto.
        (KJS::WindowFunc::callAsFunction): Ditto.
        * khtml/html/html_objectimpl.cpp: (WebCore::HTMLAppletElementImpl::createRenderer): Ditto.
        * khtml/xml/dom_xmlimpl.cpp: (DOM::ProcessingInstructionImpl::checkStyleSheet): Ditto.
        * khtml/xml/xml_tokenizer.cpp:
        (WebCore::toString): Added. Converts to DOMString instead of QString.
        (WebCore::attributesStartElementNsHandler): Converted from QMap of QString to HashMap of DOMString.
        (WebCore::parseAttributes): Ditto.
        * khtml/xml/xml_tokenizer.h: (WebCore::Tokenizer::setTransformSource): Ditto.
        * ksvg2/misc/KSVGTimeScheduler.cpp: (KSVG::SVGTimer::notifyAll): Ditto.
        * kwq/KWQKJavaAppletWidget.h: Ditto.
        * kwq/KWQKJavaAppletWidget.mm: (KJavaAppletWidget::KJavaAppletWidget): Ditto.
        * kwq/KWQKJobClasses.h: Ditto.
        * kwq/KWQKJobClasses.mm: (KIO::TransferJob::addMetaData): Ditto.
        * page/Frame.cpp:
        (Frame::didOpenURL): Ditto.
        (Frame::changeLocation): Ditto.
        (Frame::mark): Ditto.
        (Frame::setMark): Ditto.
        (Frame::urlSelected): Ditto.
        (Frame::requestObject): Ditto.
        (Frame::processObjectRequest): Ditto.
        (Frame::submitForm): Ditto.
        * rendering/render_applet.cpp:
        (WebCore::RenderApplet::RenderApplet): Ditto.
        (WebCore::RenderApplet::createWidgetIfNecessary): Ditto.
        (WebCore::RenderApplet::layout): Ditto.
        * rendering/render_applet.h:
        (WebCore::RenderApplet::renderName): Ditto.
        (WebCore::RenderApplet::element): Ditto.
        (WebCore::RenderEmptyApplet::renderName): Ditto.

        * khtml/dom/dom_string.h:
        (WebCore::DOMString::createCFString): Added. Not yet implemented or used.
        (WebCore::DOMString::operator NSString*): Updated to call through to DOMStringImpl.
        Added hash functions and hash traits so you can use DOMString in hash tables.
        * khtml/xml/dom_stringimpl.h: Added conversion to and from CFStringRef/NSString.
        * khtml/xml/dom_stringimpl.cpp: Took out an excess "DOM::".

        * bindings/objc/DOMInternal.mm: (DOMStringImpl::operator NSString *): Moved from DOMString
        to DOMStringImpl.

        - changed the mark from a SelectionController to a Selection
          (maybe it can be a Position instead?)

        * page/Frame.h: Changed mark() and setMark() to use a Selection.
        * page/FramePrivate.h: Changed mark to a Selection.

        * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge setMarkDOMRange:]):
        Updated for change from SelectionController to Selection.

        - removed extraneous includes

        * kwq/KWQKHTMLSettings.h: Removed include of "KWQMap.h".
        * kwq/KWQKIOGlobal.h: Ditto.

        * khtml/editing/htmlediting.h: Removed extraneous includes and namespace prefixes.

        * khtml/html/html_canvasimpl.h: Removed extraneous includes and moved into the
        WebCore namespace.
        * khtml/html/html_canvasimpl.cpp: Ditto.
        * khtml/html/htmltokenizer.cpp: Ditto.
        * khtml/html/htmltokenizer.h: Ditto.
        * khtml/xml/DocumentImpl.cpp: Ditto.
        * kwq/KWQEditCommand.mm: Ditto.
        * rendering/render_canvasimage.h: Ditto.
        * rendering/render_image.h: Ditto.

        * khtml/editing/composite_edit_command.cpp: Updated includes because of ones
        that were removed from headers.
        * khtml/editing/htmlediting.cpp: Ditto.
        * khtml/editing/jsediting.cpp: Ditto.
        * khtml/editing/replace_selection_command.cpp: Ditto.
        * rendering/render_canvasimage.cpp: Ditto.
        * rendering/render_image.cpp: Ditto.

        * loader/loader.cpp: (WebCore::Loader::servePendingRequests): Removed code to add the
        cache control string, since that was hardcoded to empty string anyway.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12233 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Hyatt.
darin [Thu, 19 Jan 2006 08:59:03 +0000 (08:59 +0000)]
    Reviewed by Hyatt.

        - hash table fixes needed for my WebCore changes

        * kxmlcore/HashTable.h: (KXMLCore::HashTableConstIterator::operator=):
        Added a missing return statement.

        * kxmlcore/HashTraits.h: Fix traits so they work properly for classes where you
        can't instantiate with a 0 by using traits rather than ? : to select the default
        emtpy value of hash table keys.

        - small cleanup of "runtime" code left over from recent JavaScript crash fix

        * bindings/runtime_root.h:
        (KJS::Bindings::RootObject::RootObject): No explicit initialization of _imp needed
        since it's now a ProtectedPtr.
        (KJS::Bindings::RootObject::setRootObjectImp): Remove old code that relied on the
        fact that _imp was 0 and replaced with use of ProtectedPtr.
        (KJS::Bindings::RootObject::rootObjectImp): Updated since _imp is a ProtectedPtr.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12232 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-19 Eric Seidel <eseidel@apple.com>
eseidel [Thu, 19 Jan 2006 08:16:38 +0000 (08:16 +0000)]
2006-01-19  Eric Seidel  <eseidel@apple.com>

        Reviewed by darin.

        Remove CFDictionary usage from KWQObject.*
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6468

        * kwq/KWQObject.cpp:
        (KWQObjectTimer::KWQObjectTimer):
        (QObject::restartTimer):
        (QObject::timerIntervals):
        (KWQObjectTimer::deleteTimer):
        (QObject::killTimer):
        (QObject::killTimers):
        (sendDeferredTimerEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12231 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoRename KHTMLView to FrameView (since it's been moved to a file called FrameView already).
hyatt [Thu, 19 Jan 2006 06:46:53 +0000 (06:46 +0000)]
Rename KHTMLView to FrameView (since it's been moved to a file called FrameView already).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12230 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Adding the license header to all files so we can
thatcher [Thu, 19 Jan 2006 02:40:56 +0000 (02:40 +0000)]
    Adding the license header to all files so we can
        move JavaScriptGlue into the open source repository.

        * LICENSE: Added.
        * JSBase.cpp: license header added.
        * JSBase.h: ditto.
        * JSObject.cpp: ditto.
        * JSObject.h: ditto.
        * JSRun.cpp: ditto.
        * JSRun.h: ditto.
        * JSUtils.cpp: ditto.
        * JSUtils.h: ditto.
        * JSValueWrapper.cpp: ditto.
        * JSValueWrapper.h: ditto.
        * JavaScriptGlue.cpp: ditto.
        * JavaScriptGlue.h: ditto.
        * UserObjectImp.cpp: ditto.
        * UserObjectImp.h: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12229 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agotop level:
darin [Wed, 11 Jan 2006 06:34:36 +0000 (06:34 +0000)]
top level:

        * Makefile: Removed some unneeded stray characters.
        * <tons of files>: Updated flags (removed executable, set MIME types, etc.)

Tools:

        * Makefile: Removed some unneeded stray characters.
        * Tools/Scripts/commit-log-editor: Updated to handle paths with spaces.

Tests:

        * performance: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12228 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoThe Internal repository is up and running.
thatcher [Sat, 7 Jan 2006 21:31:41 +0000 (21:31 +0000)]
The Internal repository is up and running.
Removing .cvsignore files, the cvs2svn script adds the svn:ignore property for us but leaves these files.
Modified the svn:ignore on some directories to not ignore Makefile and the automake/configure files that are being removed.
New Makefiles that use the OpenSource tools to know the Xcode configuration and build location.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12227 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoJavaScriptGlue:
thatcher [Thu, 22 Dec 2005 01:32:56 +0000 (01:32 +0000)]
JavaScriptGlue:

        * JavaScriptGlue.xcodeproj/project.pbxproj:
          Set tab width to 8, indent width to 4 and uses tabs to false per file.

WebBrowser:

        * WebBrowser.xcodeproj/project.pbxproj:
          Set tab width to 8, indent width to 4 and uses tabs to false per file.

WebKitSystemInterface:

        * WebKitSystemInterface.xcodeproj/project.pbxproj:
          Set tab width to 8, indent width to 4 and uses tabs to false per file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12226 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Geoff Garen and Eric Seidel.
darin [Mon, 19 Dec 2005 19:51:09 +0000 (19:51 +0000)]
    Reviewed by Geoff Garen and Eric Seidel.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4923
          stop using <ostream> in WebCore, eliminating the <cmath> troubles it causes

        * kxmlcore/AlwaysInline.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12225 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Maciej.
darin [Fri, 16 Dec 2005 08:04:58 +0000 (08:04 +0000)]
    Reviewed by Maciej.

        * JSRun.cpp: (JSRun::Evaluate): Updated for change to Interpreter::evaluate.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12224 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Tim Hatcher.
darin [Thu, 15 Dec 2005 20:10:43 +0000 (20:10 +0000)]
    Reviewed by Tim Hatcher.

        * JavaScriptGlue.xcodeproj/project.pbxproj: Removed some redundant build
        settings, turned off prebinding explicitly for our Development and
        Deployment builds, remove .exp file from sources. All "clean-up".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12223 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoAdding release markers.
thatcher [Wed, 14 Dec 2005 01:12:32 +0000 (01:12 +0000)]
Adding release markers.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12222 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago - Fixed build after Anders's last checkin to JavaScriptCore.
ggaren [Wed, 14 Dec 2005 01:00:12 +0000 (01:00 +0000)]
- Fixed build after Anders's last checkin to JavaScriptCore.

        Reviewed by darin.

        * UserObjectImp.cpp:
        (UserObjectImp::userObjectGetter): Updated to reflect new argument that
getters take (unused here).
        * UserObjectImp.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12221 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Eric.
mjs [Tue, 13 Dec 2005 11:04:16 +0000 (11:04 +0000)]
    Reviewed by Eric.

- added forwarding header for HashCountedSet

        * kxmlcore/HashCountedSet.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12220 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Rubber stamped by Maciej.
darin [Sun, 11 Dec 2005 02:03:35 +0000 (02:03 +0000)]
    Rubber stamped by Maciej.

        - updated for KJS class renaming

        * many files and functions

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12219 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Maciej.
darin [Sun, 11 Dec 2005 00:35:59 +0000 (00:35 +0000)]
    Reviewed by Maciej.

        - eliminated the old Undefined(), Null(), Boolean(), Number(), and String()

        Code now uses jsUndefined(), jsNull(), jsBoolean(), jsNumber(), and jsString().

        * JSUtils.cpp:
        (JSObjectKJSValue):
        * UserObjectImp.cpp:
        (UserObjectImp::callAsFunction):
        (UserObjectImp::toPrimitive):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12218 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago - added new forwarding headers
mjs [Tue, 6 Dec 2005 02:35:54 +0000 (02:35 +0000)]
    - added new forwarding headers

        * kxmlcore/PassRefPtr.h: Added.
        * kxmlcore/RefPtr.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12217 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Rubber stamped by Eric.
mjs [Sun, 27 Nov 2005 03:10:03 +0000 (03:10 +0000)]
    Rubber stamped by Eric.

- renamed InterpreterLock to JSLock

        * JSUtils.cpp:
        (CFStringToUString):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectCopyCFValue):
        * JavaScriptGlue.cpp:
        (JSRunCreate):
        (JSCollect):
        (JSLockInterpreter):
        (JSUnlockInterpreter):
        * UserObjectImp.cpp:
        (UserObjectImp::callAsFunction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12216 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Geoff.
mjs [Wed, 23 Nov 2005 05:40:07 +0000 (05:40 +0000)]
    Reviewed by Geoff.

Updated to use new API to drop all locks.

        * JavaScriptGlue.cpp:
        (JSLockInterpreter):
        (JSUnlockInterpreter):
        * UserObjectImp.cpp:
        (UserObjectImp::callAsFunction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12215 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by mjs.
ggaren [Wed, 16 Nov 2005 01:45:19 +0000 (01:45 +0000)]
    Reviewed by mjs.

        - Part of the fix for <rdar://problem/4342216> Installer crash in
          KJS::ValueImp::marked() when garbage collector runs inside call to
          ConstantValues::init()

        Added locking in JSRunCreate, since JSRun::JSRun constructs an object.

        * JavaScriptGlue.cpp:
        (JSRunCreate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12214 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Maciej.
ggaren [Fri, 11 Nov 2005 05:15:02 +0000 (05:15 +0000)]
    Reviewed by Maciej.

        - Fixed <rdar://problem/4334445> installer crashed on my
          dual g4 450Mhz after clicking language

        - Reversed backwards NULL check.
        - Inserted guards against NULL fJSUserObject data member.
        - Cleaned up some style.

        * JSUtils.cpp:
        (KJSValueToCFTypeInternal):
        * UserObjectImp.cpp:
        (UserObjectImp::~UserObjectImp):
        (UserObjectImp::callAsFunction):
        (UserObjectImp::userObjectGetter):
        (UserObjectImp::getOwnPropertySlot):
        (UserObjectImp::put):
        (UserObjectImp::mark):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12212 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Darin.
thatcher [Fri, 4 Nov 2005 17:02:05 +0000 (17:02 +0000)]
    Reviewed by Darin.

        * JavaScriptGlue.xcodeproj/project.pbxproj:
          Fixed the FRAMEWORK_SEARCH_PATHS to look in the WebKit
          Frameworks for the Default config.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12211 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoTools:
thatcher [Fri, 4 Nov 2005 01:36:35 +0000 (01:36 +0000)]
Tools:

        Reviewed by Darin and Vicki.

        * Scripts/build-root: now builds in a sandbox and wont replace your system WebKit or Safari
          will now also build JavaScriptGlue and WebKitSystemInterface

JavaScriptGlue:

        Reviewed by Darin and Vicki.

        * JavaScriptGlue.xcodeproj/project.pbxproj:
          Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
          $(NEXT_ROOT) in a few spots to make build-root work.

WebBrowser:

        Reviewed by Darin and Vicki.

        * WebBrowser.xcodeproj/project.pbxproj:
          Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
          $(NEXT_ROOT) in a few spots to make build-root work.

WebKitSystemInterface:

        Reviewed by Darin and Vicki.

        * WebKitSystemInterface.xcodeproj/project.pbxproj:
          Change to use $(SYSTEM_LIBRARY_DIR) consistently and place
          $(NEXT_ROOT) in a few spots to make build-root work.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12210 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agotop level:
mjs [Wed, 2 Nov 2005 00:53:05 +0000 (00:53 +0000)]
top level:

Reviewed by: Eric.

        <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again

        * Makefile.am: re-enable JavaScriptGlue in the build

JavaScriptGlue:

Reviewed by: Eric.

        <rdar://problem/4324107> get JavaScriptGlue working with TOT JavaScriptCore again

- reverted all this stuff to use ReferenceList instead of IdentifierSequencedSet

        * JSUtils.cpp:
        (KJSValueToCFTypeInternal):
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSObjectCopyPropertyNames):
        * UserObjectImp.cpp:
        (UserObjectImp::propList):
        * UserObjectImp.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12209 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Setup the proper Framework search path for the Default config.
thatcher [Wed, 12 Oct 2005 20:28:43 +0000 (20:28 +0000)]
    Setup the proper Framework search path for the Default config.
        Prepping for a TOT submission and build by B&I.

        * JavaScriptGlue.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12208 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Eric.
darin [Mon, 10 Oct 2005 23:32:34 +0000 (23:32 +0000)]
    Reviewed by Eric.

        - converted tabs to spaces, NULL to 0, added some (void), got rid of __ prefixes
          in headers (reserved for compiler/library)

        * Info.plist:
        * JSBase.cpp:
        * JSBase.h:
        * JSObject.cpp:
        * JSObject.h:
        * JSRun.cpp:
        * JSRun.h:
        * JSUtils.cpp:
        * JSUtils.h:
        * JSValueWrapper.cpp:
        * JSValueWrapper.h:
        * JavaScriptGlue.cpp:
        * JavaScriptGlue.h:
        * UserObjectImp.cpp:
        * UserObjectImp.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12206 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago * .cvsignore: Added. Ignore Makefile.in and Makefile.
darin [Mon, 10 Oct 2005 18:54:37 +0000 (18:54 +0000)]
    * .cvsignore: Added. Ignore Makefile.in and Makefile.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12205 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Maciej.
thatcher [Sat, 8 Oct 2005 00:18:43 +0000 (00:18 +0000)]
    Reviewed by Maciej.

        Build fix, needed to disable RTTI. Upgraded to a native target.

        * JavaScriptGlue.xcodeproj/project.pbxproj:
        * Info.plist

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12204 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agotop level:
mjs [Fri, 7 Oct 2005 04:22:50 +0000 (04:22 +0000)]
top level:

        Reviewed by Eric and Darin.

<rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore

        * Makefile.am:
        * configure.in:

JavaScriptGlue:

        Reviewed by Eric and Darin.

<rdar://problem/4260506> Port JavaScriptGlue to TOT JavaScriptCore

        * JSRun.cpp:
        (JSRun::JSRun):
        (JSRun::GlobalObject):
        * JSRun.h:
        (JSInterpreter::JSInterpreter):
        * JSUtils.cpp:
        (KJSValueToJSObject):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        (KJSValueToCFType):
        * JSUtils.h:
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSValueWrapper):
        (JSValueWrapper::GetValue):
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectMark):
        * JSValueWrapper.h:
        * JavaScriptGlue.cpp:
        (JSRunCopyGlobalObject):
        * JavaScriptGlue.xcodeproj/project.pbxproj:
        * Makefile.am: Added.
        * UserObjectImp.cpp:
        (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
        (UserObjectImp::UserObjectImp):
        (UserObjectImp::callAsFunction):
        (UserObjectImp::getPropertyNames):
        (UserObjectImp::userObjectGetter):
        (UserObjectImp::getOwnPropertySlot):
        (UserObjectImp::put):
        (UserObjectImp::toPrimitive):
        (UserObjectImp::mark):
        * UserObjectImp.h:
        * kxmlcore/FastMalloc.h: Added.
        * kxmlcore/HashSet.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12203 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoForgot to commit this to TOT way back when; will be useful when actually porting...
mjs [Thu, 6 Oct 2005 04:36:04 +0000 (04:36 +0000)]
Forgot to commit this to TOT way back when; will be useful when actually porting JSGlue.

        Reviewed by Geoff.

- fixed <rdar://problem/4214783> REGRESSION: kjs_fast_malloc crash due to lack of locking on multiple threads (seen selecting volumes in the installer)

Make sure to lock using the InterpreterLock class in all places that need it
(including anything that uses the collector, the parser, the protect count hash table,
and anything that allocates via fast_malloc).

        * JSUtils.cpp:
        (CFStringToUString):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        * JSUtils.h:
        * JSValueWrapper.cpp:
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectCopyCFValue):
        * JavaScriptGlue.cpp:
        (JSCollect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12202 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Reviewed by Maciej.
adele [Wed, 28 Sep 2005 01:48:47 +0000 (01:48 +0000)]
    Reviewed by Maciej.

        <rdar://problem/4223297> JavaScriptGlue: Submit 64-bit compatible versions of your API and SPIs by September 15

        * JavaScriptGlue.h: Changed UInt32 to CFTypeID for JSTypeID

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12200 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago -upgraded project files to XCode 2.1
ggaren [Wed, 7 Sep 2005 01:21:47 +0000 (01:21 +0000)]
    -upgraded project files to XCode 2.1

        * JavaScriptGlue.pbproj/project.pbxproj: Removed.
        * JavaScriptGlue.xcodeproj/.cvsignore: Added.
        * JavaScriptGlue.xcodeproj/project.pbxproj: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12194 268f45cc-cd09-0410-ab3c-d52691b4dbfc

17 years ago Rubber stamped by hyatt.
mjs [Tue, 6 Sep 2005 08:10:03 +0000 (08:10 +0000)]
    Rubber stamped by hyatt.

- initial import of JavaScriptGlue into our repository

        * English.lproj/InfoPlist.strings: Added.
        * JSBase.cpp: Added.
        (JSBase::JSBase):
        (JSBase::~JSBase):
        (JSBase::Retain):
        (JSBase::Release):
        (JSBase::RetainCount):
        (JSBase::GetTypeID):
        (JSBase::CopyDescription):
        (JSBase::Equal):
        * JSBase.h: Added.
        * JSObject.cpp: Added.
        (JSUserObject::JSUserObject):
        (JSUserObject::~JSUserObject):
        (JSUserObject::CopyPropertyNames):
        (JSUserObject::CopyProperty):
        (JSUserObject::SetProperty):
        (JSUserObject::ImplementsCall):
        (JSUserObject::CallFunction):
        (JSUserObject::CopyCFValue):
        (JSUserObject::Equal):
        (JSUserObject::Mark):
        (JSUserObject::GetData):
        * JSObject.h: Added.
        (JSUserObject::DataType):
        * JSRun.cpp: Added.
        (JSRun::JSRun):
        (JSRun::~JSRun):
        (JSRun::Flags):
        (JSRun::GetSource):
        (JSRun::GlobalObject):
        (JSRun::GetInterpreter):
        (JSRun::Evaluate):
        (JSRun::CheckSyntax):
        * JSRun.h: Added.
        (JSInterpreter::JSInterpreter):
        (JSInterpreter::JSInterpreter::~JSInterpreter):
        (JSInterpreter::Flags):
        * JSUtils.cpp: Added.
        (CFStringToUString):
        (UStringToCFString):
        (CFStringToIdentifier):
        (IdentifierToCFString):
        (KJSValueToJSObject):
        (JSObjectKJSValue):
        (KJSValueToCFTypeInternal):
        (KJSValueToCFType):
        (GetCFNull):
        * JSUtils.h: Added.
        (RetainCFType):
        (ReleaseCFType):
        * JSValueWrapper.cpp: Added.
        (JSValueWrapper::JSValueWrapper):
        (JSValueWrapper::~JSValueWrapper):
        (JSValueWrapper::GetValue):
        (JSValueWrapper::GetExecState):
        (JSValueWrapper::GetJSObectCallBacks):
        (JSValueWrapper::JSObjectDispose):
        (JSValueWrapper::JSObjectCopyPropertyNames):
        (JSValueWrapper::JSObjectCopyProperty):
        (JSValueWrapper::JSObjectSetProperty):
        (JSValueWrapper::JSObjectCallFunction):
        (JSValueWrapper::JSObjectCopyCFValue):
        (JSValueWrapper::JSObjectMark):
        * JSValueWrapper.h: Added.
        * JavaScriptGlue.cpp: Added.
        (JSSetCFNull):
        (JSGetCFNull):
        (JSRetain):
        (JSRelease):
        (JSCopyDescription):
        (JSEqual):
        (JSGetTypeID):
        (JSGetRetainCount):
        (JSObjectCreate):
        (JSObjectCreateInternal):
        (JSObjectCopyCFValue):
        (JSObjectGetData):
        (JSObjectCopyProperty):
        (JSObjectSetProperty):
        (JSObjectCallFunction):
        (JSRunCreate):
        (JSRunCopySource):
        (JSRunCopyGlobalObject):
        (JSRunEvaluate):
        (JSRunCheckSyntax):
        (JSCollect):
        (JSTypeGetCFArrayCallBacks):
        (JSCFRetain):
        (JSCFRelease):
        (JSObjectCreateWithCFType):
        (CFJSObjectDispose):
        (JSObjectCopyPropertyNames):
        (CFJSObjectCopyProperty):
        (CFJSObjectSetProperty):
        (CFJSObjectCopyCFValue):
        (CFJSObjectEqual):
        (CFJSObjectCopyPropertyNames):
        (JSCreateCFArrayFromJSArray):
        (JSCreateJSArrayFromCFArray):
        (JSLockInterpreter):
        (JSUnlockInterpreter):
        * JavaScriptGlue.exp: Added.
        * JavaScriptGlue.h: Added.
        * JavaScriptGlue.pbproj/project.pbxproj: Added.
        * UserObjectImp.cpp: Added.
        (UserObjectPrototypeImp::UserObjectPrototypeImp):
        (UserObjectPrototypeImp::GlobalUserObjectPrototypeImp):
        (UserObjectImp::UserObjectImp):
        (UserObjectImp::~UserObjectImp):
        (UserObjectImp::classInfo):
        (UserObjectImp::implementsCall):
        (UserObjectImp::call):
        (UserObjectImp::propList):
        (UserObjectImp::hasProperty):
        (UserObjectImp::get):
        (UserObjectImp::put):
        (UserObjectImp::GetJSUserObject):
        (UserObjectImp::toPrimitive):
        (UserObjectImp::toBoolean):
        (UserObjectImp::toNumber):
        (UserObjectImp::toString):
        (UserObjectImp::mark):
        * UserObjectImp.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12191 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoIt's called pure virtual for a reason. (Fingers crossed.)
hyatt [Thu, 19 Jan 2006 00:59:35 +0000 (00:59 +0000)]
It's called pure virtual for a reason. (Fingers crossed.)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoUmm. Yeah. Let's try making BrowserExtensionMac actually declare and use a class...
hyatt [Thu, 19 Jan 2006 00:51:18 +0000 (00:51 +0000)]
Umm. Yeah.  Let's try making BrowserExtensionMac actually declare and use a class called BrowserExtensionMac.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoRemove KParts using from WebCoreFrameBridge.mm (yes, more bustage).
hyatt [Thu, 19 Jan 2006 00:43:27 +0000 (00:43 +0000)]
Remove KParts using from WebCoreFrameBridge.mm (yes, more bustage).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoMake sure FrameView includes MacFrame.h on mac only.
hyatt [Thu, 19 Jan 2006 00:39:28 +0000 (00:39 +0000)]
Make sure FrameView includes MacFrame.h on mac only.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12181 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoMore Mac build bustage. Fix the dashboard region call to still cast to MacFrame.
hyatt [Thu, 19 Jan 2006 00:30:54 +0000 (00:30 +0000)]
More Mac build bustage. Fix the dashboard region call to still cast to MacFrame.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12180 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoOMG I BROKE THE MAC. (Fixed)
hyatt [Thu, 19 Jan 2006 00:15:35 +0000 (00:15 +0000)]
OMG I BROKE THE MAC. (Fixed)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12179 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoEliminate uses of MacFrame in cross-platform code.
hyatt [Wed, 18 Jan 2006 23:59:23 +0000 (23:59 +0000)]
Eliminate uses of MacFrame in cross-platform code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoMake the signals/stubs/slots compile on Win32 by removing #imports.
hyatt [Wed, 18 Jan 2006 21:14:52 +0000 (21:14 +0000)]
Make the signals/stubs/slots compile on Win32 by removing #imports.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12177 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Hyatt.
darin [Wed, 18 Jan 2006 21:12:23 +0000 (21:12 +0000)]
    Reviewed by Hyatt.

        - change KWQList to use qsort instead of CFArraySort

        * kwq/KWQListImpl.cpp:
        (compareFuncWrapper): Wrapper that uses global variables to overcome the lack
        of a "data" pointer in qsort. Could have used qsort_r but that would be less portable.
        (KWQListImpl::sort): Use qsort instead of CFArraySortValues.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12176 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Beth.
darin [Wed, 18 Jan 2006 20:19:11 +0000 (20:19 +0000)]
    Reviewed by Beth.

        - changed the three signal/slot related files from ObjC++ to C++ files

        * WebCore.xcodeproj/project.pbxproj:
        * kwq/KWQSignal.cpp: Added.
        * kwq/KWQSignal.mm: Removed.
        * kwq/KWQSignalStubs.cpp: Added.
        * kwq/KWQSignalStubs.mm: Removed.
        * kwq/KWQSlot.cpp: Added.
        * kwq/KWQSlot.mm: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12175 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoAdd KWQListImpl.cpp to Win32 but ifdef out all the LAME LAME LAME CF dependencies.
hyatt [Wed, 18 Jan 2006 19:48:38 +0000 (19:48 +0000)]
Add KWQListImpl.cpp to Win32 but ifdef out all the LAME LAME LAME CF dependencies.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoMake testkjs.exe compile without warnings.
hyatt [Wed, 18 Jan 2006 19:31:59 +0000 (19:31 +0000)]
Make testkjs.exe compile without warnings.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12172 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoMake Win32 WebCore build again.
hyatt [Wed, 18 Jan 2006 19:31:12 +0000 (19:31 +0000)]
Make Win32 WebCore build again.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12171 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoLayoutTests:
darin [Wed, 18 Jan 2006 17:19:57 +0000 (17:19 +0000)]
LayoutTests:

        Reviewed by Hyatt.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6618
          Inline in RTL block with overflow:auto and left border makes scroll bar appear

        * fast/overflow/overflow-rtl-inline-scrollbar-expected.checksum: Added.
        * fast/overflow/overflow-rtl-inline-scrollbar-expected.png: Added.
        * fast/overflow/overflow-rtl-inline-scrollbar-expected.txt: Added.
        * fast/overflow/overflow-rtl-inline-scrollbar.html: Added.

WebCore:

        Test: fast/overflow/overflow-rtl-inline-scrollbar.html

        Reviewed by Hyatt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6618
          Inline in RTL block with overflow:auto and left border makes scroll bar appear

        Inline flows were always returning 0 for leftmostPosition(). Their real leftmost
        edges are determined by their inline boxes, which
        RenderBlock::leftmostPosition already takes into account.

        * khtml/rendering/render_flow.cpp:
        (RenderFlow::lowestPosition): Don't descend into inline flows.
        (RenderFlow::rightmostPosition): Ditto.
        (RenderFlow::leftmostPosition): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12170 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-18 Anders Carlsson <andersca@mac.com>
andersca [Wed, 18 Jan 2006 16:51:31 +0000 (16:51 +0000)]
2006-01-18  Anders Carlsson  <andersca@mac.com>

        Fix build.

        * khtml/ecma/kjs_navigator.cpp:
        * page/FrameView.cpp:
        Remove kstandarddirs.h includes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12169 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoFixed change log.
darin [Wed, 18 Jan 2006 08:57:47 +0000 (08:57 +0000)]
Fixed change log.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12168 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Hyatt.
darin [Wed, 18 Jan 2006 08:56:19 +0000 (08:56 +0000)]
    Reviewed by Hyatt.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6646
          compile CSS sources in instead of reading them from disk

        * WebCore.vcproj/WebCore/WebCore.vcproj:
        * WebCore.vcproj/WebCore/build-generated-files.sh:

        * css/make-css-file-arrays.pl: Added. Used to generate C array forms of the ".css" files.
        * css/UserAgentStyleSheets.cpp: Added. Used to indirectly compile the generated file.

        * WebCore.xcodeproj/project.pbxproj: Added new source files. Added a build phase to
        invoke the make-css-file-arrays.pl script. Removed the .css files, which no longer need
        to be installed as part of the final package.

        * css/cssstyleselector.cpp: (WebCore::parseUASheet): Removed code to read user agent
        sheets from disk. Replaced with code that gets them from compiled-in arrays instead.
        Uses a pretty lame DOMString hack that could be reworked some day.
        (WebCore::CSSStyleSelector::loadDefaultStyle): Change to load from arrays intead of disk.

        * css/html4.css: Added missing license header, tweaked format a bit.
        * css/quirks.css: Added missing license header, tweaked format.
        * css/svg.css: Moved from ksvg2/css directory.
        * ksvg2/css/svg.css: Moved to top level css directory.

        * page/Frame.cpp: Removed includes of qfile.h and kstandarddirs.h.

        * ForwardingHeaders/kstandarddirs.h: Removed.
        * ForwardingHeaders/qfile.h: Removed.
        * kwq/KWQFile.h: Removed.
        * kwq/KWQFile.mm: Removed.
        * kwq/KWQKStandardDirs.h: Removed.
        * kwq/KWQKStandardDirs.mm: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12167 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Maciej.
darin [Wed, 18 Jan 2006 06:41:46 +0000 (06:41 +0000)]
    Reviewed by Maciej.

        - Remove the now-unused KRenderingPaintServerImage[Quartz].

        * WebCore.xcodeproj/project.pbxproj:
        * kcanvas/KCanvasTreeDebug.cpp:
        * kcanvas/device/KRenderingPaintServer.h:
        * kcanvas/device/KRenderingPaintServerImage.cpp: Removed.
        * kcanvas/device/KRenderingPaintServerImage.h: Removed.
        * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
        * ksvg2/svg/SVGFEImageElementImpl.cpp:
        * kwq/KWQPainter.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12166 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by John Sullivan.
darin [Wed, 18 Jan 2006 06:16:57 +0000 (06:16 +0000)]
    Reviewed by John Sullivan.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6377
          <rdar://problem/4400315> All XML crashes in TOT with JavaScript disabled (6377)

        * bridge/mac/MacFrame.mm:
        (MacFrame::bindingRootObject): Assert that this is only called when JavaScript is enabled.
        (MacFrame::windowScriptObject): Return 0 if JavaScript is disabled.
        (MacFrame::windowScriptNPObject): Ditto.
        (MacFrame::partClearedInBegin): Don't call the "window script object available" call if
        JavaScript is disabled.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12165 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by darin
justing [Wed, 18 Jan 2006 05:55:15 +0000 (05:55 +0000)]
    Reviewed by darin

        Layout tests for:
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=6632>
        REGRESSION: Selection includes spaces that it shouldn't
        <rdar://problem/4407845>
        REGRESSION (TOT): blank space before found text selected at http://www.schepers.cc/comiclink

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12164 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by darin
justing [Wed, 18 Jan 2006 05:53:15 +0000 (05:53 +0000)]
    Reviewed by darin

        <http://bugzilla.opendarwin.org/show_bug.cgi?id=6632>
        REGRESSION: Selection includes spaces that it shouldn't
        <rdar://problem/4407845>
        REGRESSION (TOT): blank space before found text selected at http://www.schepers.cc/comiclinks.html

        Layout test added:
        * editing/selection/after-line-wrap.html

        * khtml/editing/visible_position.cpp:
        (khtml::VisiblePosition::previous): Don't stop at the first candidate,
        it may be visually equivalent to the original position.
        * khtml/xml/dom_position.cpp:
        (DOM::Position::upstream): Don't move to a position on a different line.
        (DOM::Position::downstream): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12163 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Anders.
darin [Wed, 18 Jan 2006 04:33:55 +0000 (04:33 +0000)]
    Reviewed by Anders.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=6611
          add assertions to check correct use of hash table iterators

        * kxmlcore/HashTable.h:
        (KXMLCore::addIterator): Added. Helper function that adds an iterator to the list
        maintained by the specified hash table.
        (KXMLCore::removeIterator): Added. Helper function that removes an iterator from
        the list maintained by the hash table it's in.
        (KXMLCore::HashTableConstIterator::HashTableConstIterator): Added a HashTable
        parameter, ignored when not debugging. Call addIterator.
        (KXMLCore::HashTableConstIterator::~HashTableConstIterator):
        (KXMLCore::HashTableConstIterator::operator=): Call removeIterator.
        (KXMLCore::HashTableConstIterator::operator*): Call checkValidity.
        (KXMLCore::HashTableConstIterator::operator->): Ditto.
        (KXMLCore::HashTableConstIterator::operator++): Ditto.
        (KXMLCore::HashTableConstIterator::operator==): Ditto.
        (KXMLCore::HashTableConstIterator::operator!=): Ditto.
        (KXMLCore::HashTableConstIterator::checkValidity): Checks that the hash table
        pointer is not 0 and if there are two iterators that both point at the same table.
        (KXMLCore::HashTableIterator::HashTableIterator): Changed to use the const iterator
        as an implementation detail, to avoid having two separate iterator implementations.
        (KXMLCore::HashTableIterator::operator*): Ditto.
        (KXMLCore::HashTableIterator::operator->): Ditto.
        (KXMLCore::HashTableIterator::operator++): Ditto.
        (KXMLCore::HashTableIterator::operator==): Ditto.
        (KXMLCore::HashTableIterator::operator!=): Ditto.
        (KXMLCore::HashTable::HashTable): Initialize pointer to head of iterators list.
        (KXMLCore::HashTable::~HashTable): Added call to invalidateIterators.
        (KXMLCore::HashTable::makeIterator): Pass this pointer.
        (KXMLCore::HashTable::makeConstIterator): Ditto.
        (KXMLCore::HashTable::insert): Call invalidateIterators, since this is a public
        entry point that modifies the hash table.
        (KXMLCore::HashTable::remove): Ditto.
        (KXMLCore::HashTable::clear): Ditto.
        (KXMLCore::HashTable::swap): Ditto.
        (KXMLCore::HashTable::invalidateIterators): Added. Walks the iterators list and
        clears out the table, next, and previous pointers in all of them, and then clears
        the head so we have an empty list.
        (KXMLCore::addIterator): Added. Adds the iterator the the linked list in the
        passed-in table, and points the iterator at the table.
        (KXMLCore::removeIterator): Added. Removes the iterator from the linked list in
        the passed-in table.

        * kxmlcore/HashTraits.h: A bit of tweaking and formatting.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoDeployment builds now use -O2
justing [Wed, 18 Jan 2006 04:16:26 +0000 (04:16 +0000)]
Deployment builds now use -O2

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoReviewed by Darin.
bdakin [Wed, 18 Jan 2006 01:33:53 +0000 (01:33 +0000)]
Reviewed by Darin.

        Fix for <rdar://problem/4112029> With Quartz scaling on, Safari incorrectly
        handles mouseover effects

        The location of an event in the window should be converted to the superview
        of the contentView to do accurate hitTesting.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12160 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoReviewed by Geoff.
bdakin [Wed, 18 Jan 2006 01:18:31 +0000 (01:18 +0000)]
Reviewed by Geoff.

        Test for <rdar://problem/4405836> REGRESSION: crash at
        webmail.aol.com when deleting mail in
        khtml::RenderTableCell::collapsedBottomBorder() const + 232

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12159 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoMoving the webkit.opendarwin.org site into our Subversion repository.
thatcher [Tue, 17 Jan 2006 23:56:12 +0000 (23:56 +0000)]
Moving the webkit.opendarwin.org site into our Subversion repository.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12158 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoFix group path for rendering in project file.
hyatt [Tue, 17 Jan 2006 22:49:14 +0000 (22:49 +0000)]
Fix group path for rendering in project file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12157 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoFix build bustage caused by my partial commit.
hyatt [Tue, 17 Jan 2006 22:46:54 +0000 (22:46 +0000)]
Fix build bustage caused by my partial commit.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12156 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Move khtml/rendering to WebCore/rendering.
hyatt [Tue, 17 Jan 2006 21:07:37 +0000 (21:07 +0000)]
    Move khtml/rendering to WebCore/rendering.

        * WebCore.xcodeproj/project.pbxproj:
        * khtml/rendering: Removed.
        * khtml/rendering/DataRef.h: Removed.
        * khtml/rendering/InlineTextBox.cpp: Removed.
        * khtml/rendering/InlineTextBox.h: Removed.
        * khtml/rendering/RenderText.cpp: Removed.
        * khtml/rendering/RenderText.h: Removed.
        * khtml/rendering/RenderTextFragment.cpp: Removed.
        * khtml/rendering/RenderTextFragment.h: Removed.
        * khtml/rendering/bidi.cpp: Removed.
        * khtml/rendering/bidi.h: Removed.
        * khtml/rendering/break_lines.cpp: Removed.
        * khtml/rendering/break_lines.h: Removed.
        * khtml/rendering/font.cpp: Removed.
        * khtml/rendering/font.h: Removed.
        * khtml/rendering/render_applet.cpp: Removed.
        * khtml/rendering/render_applet.h: Removed.
        * khtml/rendering/render_arena.cpp: Removed.
        * khtml/rendering/render_arena.h: Removed.
        * khtml/rendering/render_block.cpp: Removed.
        * khtml/rendering/render_block.h: Removed.
        * khtml/rendering/render_box.cpp: Removed.
        * khtml/rendering/render_box.h: Removed.
        * khtml/rendering/render_br.cpp: Removed.
        * khtml/rendering/render_br.h: Removed.
        * khtml/rendering/render_button.cpp: Removed.
        * khtml/rendering/render_button.h: Removed.
        * khtml/rendering/render_canvas.cpp: Removed.
        * khtml/rendering/render_canvas.h: Removed.
        * khtml/rendering/render_canvasimage.cpp: Removed.
        * khtml/rendering/render_canvasimage.h: Removed.
        * khtml/rendering/render_container.cpp: Removed.
        * khtml/rendering/render_container.h: Removed.
        * khtml/rendering/render_flexbox.cpp: Removed.
        * khtml/rendering/render_flexbox.h: Removed.
        * khtml/rendering/render_flow.cpp: Removed.
        * khtml/rendering/render_flow.h: Removed.
        * khtml/rendering/render_form.cpp: Removed.
        * khtml/rendering/render_form.h: Removed.
        * khtml/rendering/render_frames.cpp: Removed.
        * khtml/rendering/render_frames.h: Removed.
        * khtml/rendering/render_image.cpp: Removed.
        * khtml/rendering/render_image.h: Removed.
        * khtml/rendering/render_inline.cpp: Removed.
        * khtml/rendering/render_inline.h: Removed.
        * khtml/rendering/render_layer.cpp: Removed.
        * khtml/rendering/render_layer.h: Removed.
        * khtml/rendering/render_line.cpp: Removed.
        * khtml/rendering/render_line.h: Removed.
        * khtml/rendering/render_list.cpp: Removed.
        * khtml/rendering/render_list.h: Removed.
        * khtml/rendering/render_object.cpp: Removed.
        * khtml/rendering/render_object.h: Removed.
        * khtml/rendering/render_replaced.cpp: Removed.
        * khtml/rendering/render_replaced.h: Removed.
        * khtml/rendering/render_style.cpp: Removed.
        * khtml/rendering/render_style.h: Removed.
        * khtml/rendering/render_table.cpp: Removed.
        * khtml/rendering/render_table.h: Removed.
        * khtml/rendering/render_theme.cpp: Removed.
        * khtml/rendering/render_theme.h: Removed.
        * khtml/rendering/render_theme_mac.h: Removed.
        * khtml/rendering/render_theme_mac.mm: Removed.
        * khtml/rendering/table_layout.cpp: Removed.
        * khtml/rendering/table_layout.h: Removed.
        * rendering: Added.
        * rendering/DataRef.h: Added.
        * rendering/InlineTextBox.cpp: Added.
        * rendering/InlineTextBox.h: Added.
        * rendering/RenderText.cpp: Added.
        * rendering/RenderText.h: Added.
        * rendering/RenderTextFragment.cpp: Added.
        * rendering/RenderTextFragment.h: Added.
        * rendering/bidi.cpp: Added.
        * rendering/bidi.h: Added.
        * rendering/break_lines.cpp: Added.
        * rendering/break_lines.h: Added.
        * rendering/font.cpp: Added.
        * rendering/font.h: Added.
        * rendering/render_applet.cpp: Added.
        * rendering/render_applet.h: Added.
        * rendering/render_arena.cpp: Added.
        * rendering/render_arena.h: Added.
        * rendering/render_block.cpp: Added.
        * rendering/render_block.h: Added.
        * rendering/render_box.cpp: Added.
        * rendering/render_box.h: Added.
        * rendering/render_br.cpp: Added.
        * rendering/render_br.h: Added.
        * rendering/render_button.cpp: Added.
        * rendering/render_button.h: Added.
        * rendering/render_canvas.cpp: Added.
        * rendering/render_canvas.h: Added.
        * rendering/render_canvasimage.cpp: Added.
        * rendering/render_canvasimage.h: Added.
        * rendering/render_container.cpp: Added.
        * rendering/render_container.h: Added.
        * rendering/render_flexbox.cpp: Added.
        * rendering/render_flexbox.h: Added.
        * rendering/render_flow.cpp: Added.
        * rendering/render_flow.h: Added.
        * rendering/render_form.cpp: Added.
        * rendering/render_form.h: Added.
        * rendering/render_frames.cpp: Added.
        * rendering/render_frames.h: Added.
        * rendering/render_image.cpp: Added.
        * rendering/render_image.h: Added.
        * rendering/render_inline.cpp: Added.
        * rendering/render_inline.h: Added.
        * rendering/render_layer.cpp: Added.
        * rendering/render_layer.h: Added.
        * rendering/render_line.cpp: Added.
        * rendering/render_line.h: Added.
        * rendering/render_list.cpp: Added.
        * rendering/render_list.h: Added.
        * rendering/render_object.cpp: Added.
        * rendering/render_object.h: Added.
        * rendering/render_replaced.cpp: Added.
        * rendering/render_replaced.h: Added.
        * rendering/render_style.cpp: Added.
        * rendering/render_style.h: Added.
        * rendering/render_table.cpp: Added.
        * rendering/render_table.h: Added.
        * rendering/render_theme.cpp: Added.
        * rendering/render_theme.h: Added.
        * rendering/render_theme_mac.h: Added.
        * rendering/render_theme_mac.mm: Added.
        * rendering/table_layout.cpp: Added.
        * rendering/table_layout.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12155 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Land support for a style method on DOMAttr from JS that will
hyatt [Tue, 17 Jan 2006 20:52:42 +0000 (20:52 +0000)]
    Land support for a style method on DOMAttr from JS that will
        allow the Web Inspector to include presentational attributes
        in the style list.

        Reviewed by xenon

        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMAttr::getValueProperty):
        * khtml/ecma/kjs_dom.h:
        (KJS::DOMAttr::):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12154 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoReviewed by Hyatt and Darin
bdakin [Tue, 17 Jan 2006 19:40:55 +0000 (19:40 +0000)]
Reviewed by Hyatt and Darin

        Fix for <rdar://problem/4405836> REGRESSION: crash at webmail.aol.com
        when deleting mail in khtml::RenderTableCell::collapsedBottomBorder() const
        + 232

        RenderTableCell::collapsedBottomBorder() gets nextCell by calling
        table()->cellBelow(this). In the case of the crash, cellBelow() returns
        a pointer to a table cell that was already destroyed. cellBelow() thinks
        that the pointer is still good because the grid of cells has not been updated
        because all of this code is called through the hitTest and the hitTest does
        not update the layout. The fix that I have is simply it have the hitTest call
        updateLayout(). This is the only change in behavior. The rest of the patch
        preserves behavior for simulated clicks. fast/events/stopPropagation-submit
        caught this problem that arose from calling updateLayout() in the hitTest;
        we should always have an x and y position of 0 for simulated clicks. This
        preserves that behavior by keeping track of whether a click is simulated or not.`

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12153 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Patch by Duncan Wilcox, reviewed by Darin.
ap [Tue, 17 Jan 2006 18:14:53 +0000 (18:14 +0000)]
    Patch by Duncan Wilcox, reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6609
          Use Selection instead of SelectionController where possible

        This patch replaces the use of SelectionController with Selection in the edit commands.

        It also cleans up the relationship between Selection and SelectionController:
        SelectionController used to need to be friend to Selection to call validate()
        on it, now validation is enforced on every update of Selection.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12152 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoLayoutTests:
darin [Tue, 17 Jan 2006 17:35:59 +0000 (17:35 +0000)]
LayoutTests:

        Reviewed by Darin.

        - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5926
          Assertion failure in HTMLGenericFormElementImpl::removedFromTree

        * fast/dom/generic-form-element-assert.html: Added.
        * fast/dom/generic-form-element-assert-expected.txt: Added.

WebCore:

        Test: fast/dom/generic-form-element-assert.html

        Reviewed and reworked by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5926
          Assertion failure in HTMLGenericFormElementImpl::removedFromTree

        * khtml/html/HTMLGenericFormElementImpl.cpp: Tweaked formatting and namespaces
        a bit. Removed unneeded includes.
        (WebCore::findRoot): Added helper function.
        (WebCore::HTMLGenericFormElementImpl::removedFromTree): Rewrote to do the check
        in a simpler way, since the two separate cases amounted to the same check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12151 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoUpdated copyright dates (oops, forgot).
darin [Tue, 17 Jan 2006 17:29:19 +0000 (17:29 +0000)]
Updated copyright dates (oops, forgot).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Anders.
darin [Tue, 17 Jan 2006 17:28:35 +0000 (17:28 +0000)]
    Reviewed by Anders.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6610
          change RefPtr so that it works when deref ends up deleting the RefPtr

        * kxmlcore/PassRefPtr.h: Always set m_ptr before calling deref.
        * kxmlcore/RefPtr.h: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12149 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-17 Mark Rowe <opendarwin.org@bdash.net.nz>
eseidel [Tue, 17 Jan 2006 09:00:14 +0000 (09:00 +0000)]
2006-01-17  Mark Rowe  <opendarwin.org@bdash.net.nz>

        Reviewed by eseidel.

        Fix second part of WebCore-no-SVG fails to build.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6607

        * WebCore.xcodeproj/project.pbxproj:
        Mark three headers as private rather than project in the WebCore-no-SVG target.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by hyatt
hyatt [Tue, 17 Jan 2006 07:39:33 +0000 (07:39 +0000)]
    Reviewed by hyatt

        * kwq/KWQVectorImpl.cpp:
        (KWQVectorImpl::append): Assign the new item to index m_count, not m_size.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-17 Mark Rowe <opendarwin.org@bdash.net.nz>
eseidel [Tue, 17 Jan 2006 06:53:35 +0000 (06:53 +0000)]
2006-01-17  Mark Rowe  <opendarwin.org@bdash.net.nz>

        Reviewed by eseidel.

        WebCore-SVG fails to build.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6607

        * WebCore.xcodeproj/project.pbxproj:
        Fix build of WebCore-no-SVG target.  Removes SVG specific files and adds new
        files omitted from the target.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12146 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-16 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 17 Jan 2006 06:50:20 +0000 (06:50 +0000)]
2006-01-16  Eric Seidel  <eseidel@apple.com>

        Fixed test case to remove invisible chars (thus fixing test).

        * svg/custom/recursive-clippath.svg:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12145 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago (1) Fix build bustage by properly marking the moved Obj-C
hyatt [Tue, 17 Jan 2006 05:41:49 +0000 (05:41 +0000)]
    (1) Fix build bustage by properly marking the moved Obj-C
        bindings files as private.
        (2) Move khtml/css to WebCore/css.
        (3) Eliminate the kdom/css forwarding headers.

        * ForwardingHeaders/kdom/css: Removed.
        * ForwardingHeaders/kdom/css/CSSPrimitiveValueImpl.h: Removed.
        * ForwardingHeaders/kdom/css/CSSStyleDeclarationImpl.h: Removed.
        * ForwardingHeaders/kdom/css/CSSStyleRuleImpl.h: Removed.
        * ForwardingHeaders/kdom/css/CSSStyleSelector.h: Removed.
        * ForwardingHeaders/kdom/css/CSSStyleSheetImpl.h: Removed.
        * ForwardingHeaders/kdom/css/CSSValueImpl.h: Removed.
        * ForwardingHeaders/kdom/css/CSSValueListImpl.h: Removed.
        * ForwardingHeaders/kdom/css/KDOMCSSParser.h: Removed.
        * ForwardingHeaders/kdom/css/MediaListImpl.h: Removed.
        * ForwardingHeaders/kdom/css/RGBColorImpl.h: Removed.
        * ForwardingHeaders/kdom/css/RenderStyle.h: Removed.
        * ForwardingHeaders/kdom/css/StyleSheetListImpl.h: Removed.
        * WebCore+SVG/RGBColorImpl.cpp:
        * WebCore.xcodeproj/project.pbxproj:
        * css: Added.
        * css/css_base.cpp: Added.
        * css/css_base.h: Added.
        * css/css_computedstyle.cpp: Added.
        * css/css_computedstyle.h: Added.
        * css/css_grammar.y: Added.
        * css/css_ruleimpl.cpp: Added.
        * css/css_ruleimpl.h: Added.
        * css/css_stylesheetimpl.cpp: Added.
        * css/css_stylesheetimpl.h: Added.
        * css/css_valueimpl.cpp: Added.
        * css/css_valueimpl.h: Added.
        * css/csshelper.cpp: Added.
        * css/csshelper.h: Added.
        * css/cssparser.cpp: Added.
        * css/cssparser.h: Added.
        * css/cssproperties.in: Added.
        * css/cssstyleselector.cpp: Added.
        * css/cssstyleselector.h: Added.
        * css/cssvalues.in: Added.
        * css/html4.css: Added.
        * css/makeprop: Added.
        * css/maketokenizer: Added.
        * css/makevalues: Added.
        * css/quirks.css: Added.
        * css/tokenizer.flex: Added.
        * khtml/css: Removed.
        * khtml/css/css_base.cpp: Removed.
        * khtml/css/css_base.h: Removed.
        * khtml/css/css_computedstyle.cpp: Removed.
        * khtml/css/css_computedstyle.h: Removed.
        * khtml/css/css_grammar.y: Removed.
        * khtml/css/css_ruleimpl.cpp: Removed.
        * khtml/css/css_ruleimpl.h: Removed.
        * khtml/css/css_stylesheetimpl.cpp: Removed.
        * khtml/css/css_stylesheetimpl.h: Removed.
        * khtml/css/css_valueimpl.cpp: Removed.
        * khtml/css/css_valueimpl.h: Removed.
        * khtml/css/csshelper.cpp: Removed.
        * khtml/css/csshelper.h: Removed.
        * khtml/css/cssparser.cpp: Removed.
        * khtml/css/cssparser.h: Removed.
        * khtml/css/cssproperties.in: Removed.
        * khtml/css/cssstyleselector.cpp: Removed.
        * khtml/css/cssstyleselector.h: Removed.
        * khtml/css/cssvalues.in: Removed.
        * khtml/css/html4.css: Removed.
        * khtml/css/makeprop: Removed.
        * khtml/css/maketokenizer: Removed.
        * khtml/css/makevalues: Removed.
        * khtml/css/quirks.css: Removed.
        * khtml/css/tokenizer.flex: Removed.
        * ksvg2/css/SVGCSSStyleSelector.cpp:
        * ksvg2/ecma/Ecma.cpp:
        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        * ksvg2/misc/KCanvasRenderingStyle.h:
        * ksvg2/svg/SVGAnimationElementImpl.cpp:
        * ksvg2/svg/SVGClipPathElementImpl.cpp:
        * ksvg2/svg/SVGColorImpl.cpp:
        * ksvg2/svg/SVGColorImpl.h:
        * ksvg2/svg/SVGDOMImplementationImpl.cpp:
        * ksvg2/svg/SVGDocumentImpl.cpp:
        * ksvg2/svg/SVGElementImpl.cpp:
        * ksvg2/svg/SVGGradientElementImpl.cpp:
        * ksvg2/svg/SVGMaskElementImpl.cpp:
        * ksvg2/svg/SVGStyleElementImpl.cpp:
        * ksvg2/svg/SVGStyledElementImpl.h:
        * ksvg2/svg/SVGTextElementImpl.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Rubber stamped by Maciej.
thatcher [Tue, 17 Jan 2006 05:41:32 +0000 (05:41 +0000)]
    Rubber stamped by Maciej.

        Check for a new "WebKitDeveloperExtras" default when
        including the "Inspect Element" context menu item.
        We should retire the other one eventually.

        * WebView.subproj/WebView.m:
        (-[WebView _menuForElement:defaultItems:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12143 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-16 Eric Seidel <eseidel@apple.com>
eseidel [Tue, 17 Jan 2006 02:37:42 +0000 (02:37 +0000)]
2006-01-16  Eric Seidel  <eseidel@apple.com>

        Reviewed by beth.

        A proactive test case to prevent crashes in recursive clippath defs

        * svg/custom/recursive-clippath-expected.checksum: Added.
        * svg/custom/recursive-clippath-expected.png: Added.
        * svg/custom/recursive-clippath-expected.txt: Added.
        * svg/custom/recursive-clippath.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12142 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoJavaScriptCore:
ggaren [Tue, 17 Jan 2006 02:20:35 +0000 (02:20 +0000)]
JavaScriptCore:

        Reviewed by darin.

        - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6322
        DateProtoFuncImp::callAsFunction can crash due to lack of type checking

        * kjs/date_object.cpp:
        (KJS::DateProtoFunc::callAsFunction): Type check calls to all methods.
        This matches section 15.9.5 in the spec.

LayoutTests:

        - Added layout test for
        http://bugzilla.opendarwin.org/show_bug.cgi?id=6322
        DateProtoFuncImp::callAsFunction can crash due to lack of type checking

        * fast/js/date-proto-generic-invocation-expected.txt: Added.
        * fast/js/date-proto-generic-invocation.html: Added.
        * fast/js/resources/date-proto-generic-invocation.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12141 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Move the Objective-C dom bindings from kwq to bindings/objc.
hyatt [Tue, 17 Jan 2006 00:35:38 +0000 (00:35 +0000)]
    Move the Objective-C dom bindings from kwq to bindings/objc.

        Reviewed by eseidel

        * WebCore.xcodeproj/project.pbxproj:
        * bindings: Added.
        * bindings/js: Added.
        * bindings/objc: Added.
        * bindings/objc/DOM.h: Added.
        * bindings/objc/DOM.mm: Added.
        * bindings/objc/DOMCSS.h: Added.
        * bindings/objc/DOMCSS.mm: Added.
        * bindings/objc/DOMCore.h: Added.
        * bindings/objc/DOMEvents.h: Added.
        * bindings/objc/DOMEvents.mm: Added.
        * bindings/objc/DOMEventsInternal.h: Added.
        * bindings/objc/DOMExtensions.h: Added.
        * bindings/objc/DOMHTML.h: Added.
        * bindings/objc/DOMHTML.mm: Added.
        * bindings/objc/DOMHTMLInternal.h: Added.
        * bindings/objc/DOMInternal.h: Added.
        * bindings/objc/DOMInternal.mm: Added.
        * bindings/objc/DOMPrivate.h: Added.
        * bindings/objc/DOMRange.h: Added.
        * bindings/objc/DOMStylesheets.h: Added.
        * bindings/objc/DOMTraversal.h: Added.
        * bindings/objc/DOMUtility.mm: Added.
        * bindings/objc/DOMViews.h: Added.
        * bindings/objc/DOMViews.mm: Added.
        * bindings/objc/DOMViewsInternal.h: Added.
        * kwq/DOM-CSS.mm: Removed.
        * kwq/DOM.h: Removed.
        * kwq/DOM.mm: Removed.
        * kwq/DOMCSS.h: Removed.
        * kwq/DOMCore.h: Removed.
        * kwq/DOMEvents.h: Removed.
        * kwq/DOMEvents.mm: Removed.
        * kwq/DOMEventsInternal.h: Removed.
        * kwq/DOMExtensions.h: Removed.
        * kwq/DOMHTML.h: Removed.
        * kwq/DOMHTML.mm: Removed.
        * kwq/DOMHTMLInternal.h: Removed.
        * kwq/DOMInternal.h: Removed.
        * kwq/DOMInternal.mm: Removed.
        * kwq/DOMPrivate.h: Removed.
        * kwq/DOMRange.h: Removed.
        * kwq/DOMStylesheets.h: Removed.
        * kwq/DOMTraversal.h: Removed.
        * kwq/DOMUtility.mm: Removed.
        * kwq/DOMViews.h: Removed.
        * kwq/DOMViews.mm: Removed.
        * kwq/DOMViewsInternal.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12140 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years agoFix bugzilla url
andersca [Mon, 16 Jan 2006 23:43:30 +0000 (23:43 +0000)]
Fix bugzilla url

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12139 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago2006-01-17 Anders Carlsson <andersca@mac.com>
andersca [Mon, 16 Jan 2006 23:41:38 +0000 (23:41 +0000)]
2006-01-17  Anders Carlsson  <andersca@mac.com>

        Reviewed by Timothy Hatcher.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=5367
        Web Inspector: finish node attributes

        * WebInspector.subproj/webInspector/inspector.css:
        * WebInspector.subproj/webInspector/inspector.html:
        * WebInspector.subproj/webInspector/inspector.js:
        Add initial support for element attributes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12138 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Vicki Murley.
sullivan [Mon, 16 Jan 2006 22:25:29 +0000 (22:25 +0000)]
    Reviewed by Vicki Murley.

        - fixed <rdar://problem/4409288> REGRESSION (TOT): When no selection is present on page,
        Jump to Selection doesn't beep

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _hasInsertionPoint]):
        new helper method
        (-[NSArray validateUserInterfaceItem:]):
        Don't validate this menu item (or a couple of others) if the selection is a caret and
        the page isn't editable. In that state, there is no visible selection so this menu item
        doesn't make sense. I suspect this was broken by some editing-related change that makes
        selectionState return WebSelectionStateCaret here where it used to return WebSelectionStateNone.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12137 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Fix by Mitz Pettel. Reviewed by Hyatt, landed by ap.
ap [Mon, 16 Jan 2006 22:01:49 +0000 (22:01 +0000)]
    Fix by Mitz Pettel. Reviewed by Hyatt, landed by ap.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6473
          REGRESSION: Serious painting problems on new iLife and iWorks pages

        * khtml/css/css_grammar.y:
        (DOM::getPropertyID): Undo the mapping of -moz-opacity and -moz-border-radius to
        opacity and border-radius, respectively.
        * khtml/rendering/render_box.cpp:
        (RenderBox::setStyle): Set the object's layer to 0 before removing the layer,
        to allow child layers to update their positions correctly.
        * khtml/rendering/render_layer.cpp:
        (khtml::RenderLayer::removeOnlyThisLayer): Update the positions of all children
        of the layer being removed.
        * manual-tests/bugzilla-6473.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12136 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Patch by Mark Rowe. Reviewed by Darin, landed by ap.
ap [Mon, 16 Jan 2006 21:46:06 +0000 (21:46 +0000)]
    Patch by Mark Rowe. Reviewed by Darin, landed by ap.

        Fix typo in CSSPrimitiveValueImpl::setStringValue.

        * khtml/css/css_valueimpl.cpp:
        (DOM::CSSPrimitiveValueImpl::setStringValue): Change >> to > and fix formatting.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12135 268f45cc-cd09-0410-ab3c-d52691b4dbfc

16 years ago Reviewed by Justin.
ap [Mon, 16 Jan 2006 20:34:00 +0000 (20:34 +0000)]
    Reviewed by Justin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5401
          [WebCoreBridge firstRectForDOMRange:] works incorrectly for the first character after a line wrap

        Test: editing/input/wrapped-line-char-rect.html

        * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge firstRectForDOMRange:]):
         Use DOWNSTREAM affinity for the range start

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12134 268f45cc-cd09-0410-ab3c-d52691b4dbfc