1. 05 Nov, 2008 18 commits
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · 0b51a73b
      cwzwarich@webkit.org authored
              Rubber-stamped by Sam Weinig.
      
              Move more files to the runtime subdirectory of JavaScriptCore.
      
              JavaScriptCore:
      
              * API/APICast.h:
              * API/JSBase.cpp:
              * API/JSCallbackObject.cpp:
              * API/JSClassRef.cpp:
              * API/JSClassRef.h:
              * API/JSStringRefCF.cpp:
              * API/JSValueRef.cpp:
              * API/OpaqueJSString.cpp:
              * API/OpaqueJSString.h:
              * AllInOneFile.cpp:
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * VM/CodeBlock.h:
              * VM/CodeGenerator.cpp:
              * VM/Machine.cpp:
              * VM/RegisterFile.h:
              * debugger/Debugger.h:
              * kjs/SourceProvider.h:
              * kjs/TypeInfo.h: Removed.
              * kjs/collector.cpp: Removed.
              * kjs/collector.h: Removed.
              * kjs/completion.h: Removed.
              * kjs/create_hash_table:
              * kjs/identifier.cpp: Removed.
              * kjs/identifier.h: Removed.
              * kjs/interpreter.cpp: Removed.
              * kjs/interpreter.h: Removed.
              * kjs/lexer.cpp:
              * kjs/lexer.h:
              * kjs/lookup.cpp: Removed.
              * kjs/lookup.h: Removed.
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/operations.cpp: Removed.
              * kjs/operations.h: Removed.
              * kjs/protect.h: Removed.
              * kjs/regexp.cpp: Removed.
              * kjs/regexp.h: Removed.
              * kjs/ustring.cpp: Removed.
              * kjs/ustring.h: Removed.
              * pcre/pcre_exec.cpp:
              * profiler/CallIdentifier.h:
              * profiler/Profile.h:
              * runtime/ArrayConstructor.cpp:
              * runtime/ArrayPrototype.cpp:
              * runtime/ArrayPrototype.h:
              * runtime/Collector.cpp: Copied from kjs/collector.cpp.
              * runtime/Collector.h: Copied from kjs/collector.h.
              * runtime/CollectorHeapIterator.h:
              * runtime/Completion.h: Copied from kjs/completion.h.
              * runtime/ErrorPrototype.cpp:
              * runtime/Identifier.cpp: Copied from kjs/identifier.cpp.
              * runtime/Identifier.h: Copied from kjs/identifier.h.
              * runtime/InitializeThreading.cpp:
              * runtime/Interpreter.cpp: Copied from kjs/interpreter.cpp.
              * runtime/Interpreter.h: Copied from kjs/interpreter.h.
              * runtime/JSCell.h:
              * runtime/JSGlobalData.cpp:
              * runtime/JSGlobalData.h:
              * runtime/JSLock.cpp:
              * runtime/JSNumberCell.cpp:
              * runtime/JSNumberCell.h:
              * runtime/JSObject.cpp:
              * runtime/JSValue.h:
              * runtime/Lookup.cpp: Copied from kjs/lookup.cpp.
              * runtime/Lookup.h: Copied from kjs/lookup.h.
              * runtime/MathObject.cpp:
              * runtime/NativeErrorPrototype.cpp:
              * runtime/NumberPrototype.cpp:
              * runtime/Operations.cpp: Copied from kjs/operations.cpp.
              * runtime/Operations.h: Copied from kjs/operations.h.
              * runtime/PropertyMapHashTable.h:
              * runtime/Protect.h: Copied from kjs/protect.h.
              * runtime/RegExp.cpp: Copied from kjs/regexp.cpp.
              * runtime/RegExp.h: Copied from kjs/regexp.h.
              * runtime/RegExpConstructor.cpp:
              * runtime/RegExpObject.h:
              * runtime/RegExpPrototype.cpp:
              * runtime/SmallStrings.h:
              * runtime/StringObjectThatMasqueradesAsUndefined.h:
              * runtime/StructureID.cpp:
              * runtime/StructureID.h:
              * runtime/StructureIDTransitionTable.h:
              * runtime/SymbolTable.h:
              * runtime/TypeInfo.h: Copied from kjs/TypeInfo.h.
              * runtime/UString.cpp: Copied from kjs/ustring.cpp.
              * runtime/UString.h: Copied from kjs/ustring.h.
              * wrec/CharacterClassConstructor.h:
              * wrec/WREC.h:
      
              WebCore:
      
              * ForwardingHeaders/kjs/collector.h: Removed.
              * ForwardingHeaders/kjs/completion.h: Removed.
              * ForwardingHeaders/kjs/identifier.h: Removed.
              * ForwardingHeaders/kjs/interpreter.h: Removed.
              * ForwardingHeaders/kjs/lookup.h: Removed.
              * ForwardingHeaders/kjs/operations.h: Removed.
              * ForwardingHeaders/kjs/protect.h: Removed.
              * ForwardingHeaders/kjs/ustring.h: Removed.
              * ForwardingHeaders/runtime/Collector.h: Copied from ForwardingHeaders/kjs/collector.h.
              * ForwardingHeaders/runtime/Completion.h: Copied from ForwardingHeaders/kjs/completion.h.
              * ForwardingHeaders/runtime/Identifier.h: Copied from ForwardingHeaders/kjs/identifier.h.
              * ForwardingHeaders/runtime/Interpreter.h: Copied from ForwardingHeaders/kjs/interpreter.h.
              * ForwardingHeaders/runtime/Lookup.h: Copied from ForwardingHeaders/kjs/lookup.h.
              * ForwardingHeaders/runtime/Operations.h: Copied from ForwardingHeaders/kjs/operations.h.
              * ForwardingHeaders/runtime/Protect.h: Copied from ForwardingHeaders/kjs/protect.h.
              * ForwardingHeaders/runtime/UString.h: Copied from ForwardingHeaders/kjs/ustring.h.
              * bindings/js/GCController.cpp:
              * bindings/js/JSCustomPositionCallback.h:
              * bindings/js/JSCustomPositionErrorCallback.h:
              * bindings/js/JSCustomSQLStatementCallback.h:
              * bindings/js/JSCustomSQLStatementErrorCallback.h:
              * bindings/js/JSCustomSQLTransactionErrorCallback.h:
              * bindings/js/JSCustomVoidCallback.h:
              * bindings/js/JSDOMBinding.h:
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSEventListener.h:
              * bindings/js/ScheduledAction.h:
              * bindings/js/ScriptController.cpp:
              * bindings/js/ScriptController.h:
              * bindings/objc/WebScriptObject.mm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/NP_jsobject.cpp:
              * bridge/c/c_class.cpp:
              * bridge/jni/jni_class.cpp:
              * bridge/jni/jni_jsobject.mm:
              * bridge/npruntime.cpp:
              * bridge/runtime_root.h:
              * history/CachedPage.h:
              * html/CanvasRenderingContext2D.cpp:
              * html/HTMLCanvasElement.cpp:
              * inspector/InspectorController.cpp:
              * inspector/JavaScriptCallFrame.cpp:
              * page/Console.cpp:
              * page/Page.cpp:
              * platform/text/AtomicString.cpp:
              * platform/text/PlatformString.h:
      
              WebKit/mac:
      
              * ForwardingHeaders/kjs/collector.h: Removed.
              * ForwardingHeaders/kjs/identifier.h: Removed.
              * ForwardingHeaders/kjs/interpreter.h: Removed.
              * ForwardingHeaders/kjs/lookup.h: Removed.
              * ForwardingHeaders/kjs/operations.h: Removed.
              * ForwardingHeaders/kjs/protect.h: Removed.
              * ForwardingHeaders/runtime/Interpreter.h: Copied from ForwardingHeaders/kjs/interpreter.h.
              * WebView/WebScriptDebugDelegate.mm:
      
              WebKit/wx:
      
              * WebFrame.cpp:
              * WebView.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b51a73b
    • andersca@apple.com's avatar
      2008-11-05 Anders Carlsson <andersca@apple.com> · 1c5dae60
      andersca@apple.com authored
              Fix 64-bit build.
      
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (setDefaultsToConsistentValuesForTesting):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c5dae60
    • mitz@apple.com's avatar
      Reviewed by John Sullivan. · 65ddc82f
      mitz@apple.com authored
              - make the {protocol,proxyType} argument of
                WebURLProtectionSpace::initWith{Proxy}Host actually work and fix
                assertion failures.
      
              * WebURLProtectionSpace.cpp:
              (WebURLProtectionSpace::initWithHost): The BString comparisons were
              applying the BString==BSTR operator to a right hand side that was
              actually a WCHAR string. Fixed by using BStrings on both sides.
              (WebURLProtectionSpace::initWithProxyHost): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65ddc82f
    • weinig@apple.com's avatar
      WebCore: · ef952ffc
      weinig@apple.com authored
      2008-11-05  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Anders Carlsson.
      
              Fix https://bugs.webkit.org/show_bug.cgi?id=22085
              The Plugin JS object should expose item() and namedItem() methods to match Firefox
      
              * bindings/js/JSPluginCustom.cpp:
              (WebCore::JSPlugin::nameGetter):
              * plugins/Plugin.cpp:
              (WebCore::Plugin::namedItem):
              * plugins/Plugin.h:
              * plugins/Plugin.idl:
      
      LayoutTests:
      
      2008-11-05  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Anders Carlsson.
      
              Update tests for https://bugs.webkit.org/show_bug.cgi?id=22085
              The Plugin JS object should expose item() and namedItem() methods to match Firefox
      
              * fast/dom/Window/window-properties-expected.txt:
              * plugins/plugin-javascript-access-expected.txt:
              * plugins/plugin-javascript-access.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef952ffc
    • ggaren@apple.com's avatar
      2008-11-05 Geoffrey Garen <ggaren@apple.com> · 4bc12df4
      ggaren@apple.com authored
              Suggested by Darin Adler.
              
              Removed two copy constructors that the compiler can generate for us
              automatically.
      
              * VM/LabelID.h:
              (JSC::LabelID::setLocation):
              (JSC::LabelID::offsetFrom):
              (JSC::LabelID::ref):
              (JSC::LabelID::refCount):
              * kjs/LabelScope.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bc12df4
    • ap@webkit.org's avatar
      Reviewed by Maciej Stachowiak. · 25eca0a4
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=21060
              Range#surroundContents incorrectly throws BAD_BOUNDARYPOINTS_ERR
      
              Test: fast/dom/Range/surroundContents-check-boundary-points.html
      
              * dom/Range.cpp: (WebCore::Range::surroundContents): Fix BAD_BOUNDARYPOINTS_ERR checks.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25eca0a4
    • andersca@apple.com's avatar
      2008-11-05 Anders Carlsson <andersca@apple.com> · d5804932
      andersca@apple.com authored
              Reviewed by Dan Bernstein.
      
              Remove two global destructors from CoreTextController.
              
              * platform/graphics/mac/CoreTextController.cpp:
              (WebCore::CoreTextController::collectCoreTextRunsForCharacters):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5804932
    • darin@chromium.org's avatar
      2008-11-05 Darin Fisher <darin@chromium.org> · a9ece15a
      darin@chromium.org authored
              Reviewed by Darin Adler.
      
              CRASH at Scrollbar::invalidateRect due to null m_client
              https://bugs.webkit.org/show_bug.cgi?id=22080
      
              * platform/Scrollbar.cpp:
              (WebCore::Scrollbar::isWindowActive):
              (WebCore::Scrollbar::invalidateRect):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9ece15a
    • weinig@apple.com's avatar
      WebCore: · 84ce5770
      weinig@apple.com authored
      2008-11-04  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Simon Hausmann.
      
              Fix https://bugs.webkit.org/show_bug.cgi?id=21648
              navigator.mimeTypes and navigator.plugins don't expose item and namedItem to JS
      
              - Also adds constructors for Plugin, PluginArray, MimeType and MimeTypeArray.
      
              * bindings/js/JSMimeTypeArrayCustom.cpp:
              (WebCore::JSMimeTypeArray::nameGetter):
              * bindings/js/JSPluginArrayCustom.cpp:
              (WebCore::JSPluginArray::nameGetter):
              * page/DOMWindow.idl:
              * plugins/MimeType.idl:
              * plugins/MimeTypeArray.cpp:
              (WebCore::MimeTypeArray::namedItem):
              * plugins/MimeTypeArray.h:
              * plugins/MimeTypeArray.idl:
              * plugins/Plugin.idl:
              * plugins/PluginArray.cpp:
              (WebCore::PluginArray::namedItem):
              * plugins/PluginArray.h:
              * plugins/PluginArray.idl:
      
      LayoutTests:
      
      2008-11-04  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Simon Hausmann.
      
              Update tests for https://bugs.webkit.org/show_bug.cgi?id=21648
              navigator.mimeTypes and navigator.plugins don't expose item and namedItem to JS
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/js/global-constructors-expected.txt:
              * plugins/plugin-javascript-access-expected.txt:
              * plugins/plugin-javascript-access.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84ce5770
    • andersca@apple.com's avatar
      2008-11-05 Anders Carlsson <andersca@apple.com> · 6a8fa334
      andersca@apple.com authored
              Fix Snow Leopard build.
              
              * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a8fa334
    • sfalken@apple.com's avatar
      2008-11-05 Steve Falkenburg <sfalken@apple.com> · 206de2b2
      sfalken@apple.com authored
              Build fix.
      
              * plugins/PluginPackage.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      206de2b2
    • andersca@apple.com's avatar
      WebKit: · 2493ff5c
      andersca@apple.com authored
      2008-11-05  Anders Carlsson  <andersca@apple.com>
      
              Reviewed by Kevin Decker.
      
              Remove WebPlugInStreamLoaderDelegate.h
              
              * WebKit.xcodeproj/project.pbxproj:
      
      WebKit/mac:
      
      2008-11-05  Anders Carlsson  <andersca@apple.com>
      
              Reviewed by Kevin Decker.
      
              Remove WebPlugInStreamLoaderDelegate.h
              
              * Plugins/WebBaseNetscapePluginStream.h:
              * Plugins/WebPlugInStreamLoaderDelegate.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2493ff5c
    • hausmann@webkit.org's avatar
      2008-11-05 Jeff Cook <cookiecaper@gmail.com> · e5a8326e
      hausmann@webkit.org authored
              Reviewed by Simon Hausmann and Tor Arne.
      
              Fix crash in the Qt port when unloading swfdec and Flash 10
              by reordering window destruction and plugin stop.
      
              See https://bugs.webkit.org/show_bug.cgi?id=20779
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5a8326e
    • hausmann@webkit.org's avatar
      2008-11-05 Simon Hausmann <hausmann@webkit.org> · f9c88735
      hausmann@webkit.org authored
              Reviewed by Tor Arne Vestbø
      
              Fix loading of Flash 10 in the Qt port by faking the toolkit to be Gtk.
      
              Otherwise Flash refuses to load and function :(
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9c88735
    • hausmann@webkit.org's avatar
      2008-11-05 Simon Hausmann <hausmann@webkit.org> · 49f97660
      hausmann@webkit.org authored
              Reviewed by Tor Arne Vestbø
      
              Unify determineQuirks between the Qt and the Gtk PluginPackage.
              Share the code for parsing the module version from the description.
              This is currently used to determine Flash based quirks.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49f97660
    • mitz@apple.com's avatar
      2008-11-05 Pierre-Olivier Latour <pol@apple.com> · 13008dd3
      mitz@apple.com authored
              Rubber-stamped by Dan Bernstein.
      
              https://bugs.webkit.org/show_bug.cgi?id=21821
      
              Another set of updated expected pixel results generated with the same
              setup. Includes accessiblity/, animations/, css1/, css2.1/, css3/,
              dom/ and editing/.
      
              (file listing elided)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13008dd3
    • mitz@apple.com's avatar
      2008-11-05 Pierre-Olivier Latour <pol@apple.com> · faf3ec5a
      mitz@apple.com authored
              Rubber-stamped by Dan Bernstein.
      
              https://bugs.webkit.org/show_bug.cgi?id=21821
      
              Imported more image bases for a representative set of pixel tests in order to
              fully validate latest DRT and test script changes. These results were generated
              by a release build of r38003 on an Intel iMac running Mac OS X 10.5.5 with
              QuickTime 7.5.5.
      
              (file listing elided)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      faf3ec5a
    • mitz@apple.com's avatar
      - Tiger build fix · 4e2fef41
      mitz@apple.com authored
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView stop]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e2fef41
  2. 04 Nov, 2008 22 commits
    • andersca@apple.com's avatar
      2008-11-04 Anders Carlsson <andersca@apple.com> · 304806ee
      andersca@apple.com authored
              Reviewed by Kevin Decker.
      
              Don't leak the CALayer.
              
              * Plugins/WebBaseNetscapePluginView.h:
              Make the layer a RetainPtr.
              
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView start]):
              
              (-[WebBaseNetscapePluginView stop]):
              Make sure to clear out the layer here.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      304806ee
    • cwzwarich@webkit.org's avatar
      2008-11-04 Cameron Zwarich <zwarich@apple.com> · 15a6857c
      cwzwarich@webkit.org authored
              Rubber-stamped by Steve Falkenburg.
      
              Move dtoa.cpp and dtoa.h to the WTF Visual Studio project to reflect
              their movement in the filesystem.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15a6857c
    • cwzwarich@webkit.org's avatar
      2008-11-04 Cameron Zwarich <zwarich@apple.com> · 4bcb8737
      cwzwarich@webkit.org authored
              Rubber-stamped by Sam Weinig.
      
              Move kjs/dtoa.h to the wtf subdirectory of JavaScriptCore, and remove
              its unused forwarding header in WebKit/mac.
      
              JavaScriptCore:
      
              * AllInOneFile.cpp:
              * GNUmakefile.am:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * JavaScriptCoreSources.bkl:
              * kjs/dtoa.cpp: Removed.
              * kjs/dtoa.h: Removed.
              * wtf/dtoa.cpp: Copied from kjs/dtoa.cpp.
              * wtf/dtoa.h: Copied from kjs/dtoa.h.
      
              WebCore:
      
              * ForwardingHeaders/kjs/dtoa.h: Removed.
              * ForwardingHeaders/wtf/dtoa.h: Copied from ForwardingHeaders/kjs/dtoa.h.
              * css/CSSParser.cpp:
              * platform/text/String.cpp:
              * platform/text/StringImpl.cpp:
      
              WebKit/mac:
      
              * ForwardingHeaders/kjs/dtoa.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bcb8737
    • andersca@apple.com's avatar
      2008-11-04 Anders Carlsson <andersca@apple.com> · bc1984b0
      andersca@apple.com authored
              Reviewed by Kevin Decker.
      
              More cleanup. Make a bunch of instance variables RetainPtrs.
              
              * Plugins/WebBaseNetscapePluginView.h:
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView visibleRect]):
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              (-[WebBaseNetscapePluginView sendActivateEvent:]):
              (-[WebBaseNetscapePluginView sendDrawRectEvent:]):
              (-[WebBaseNetscapePluginView stopTimers]):
              (-[WebBaseNetscapePluginView restartTimers]):
              (-[WebBaseNetscapePluginView setHasFocus:]):
              (-[WebBaseNetscapePluginView mouseDown:]):
              (-[WebBaseNetscapePluginView mouseUp:]):
              (-[WebBaseNetscapePluginView mouseEntered:]):
              (-[WebBaseNetscapePluginView mouseExited:]):
              (-[WebBaseNetscapePluginView handleMouseMoved:]):
              (-[WebBaseNetscapePluginView mouseDragged:]):
              (-[WebBaseNetscapePluginView scrollWheel:]):
              (-[WebBaseNetscapePluginView keyUp:]):
              (-[WebBaseNetscapePluginView keyDown:]):
              (-[WebBaseNetscapePluginView flagsChanged:]):
              (-[WebBaseNetscapePluginView cut:]):
              (-[WebBaseNetscapePluginView copy:]):
              (-[WebBaseNetscapePluginView paste:]):
              (-[WebBaseNetscapePluginView selectAll:]):
              (-[WebBaseNetscapePluginView didStart]):
              (-[WebBaseNetscapePluginView start]):
              (-[WebBaseNetscapePluginView stop]):
              (-[WebBaseNetscapePluginView dataSource]):
              (-[WebBaseNetscapePluginView pluginPackage]):
              (-[WebBaseNetscapePluginView setPluginPackage:]):
              (-[WebBaseNetscapePluginView setAttributeKeys:andValues:]):
              (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:DOMElement:]):
              (-[WebBaseNetscapePluginView fini]):
              (-[WebBaseNetscapePluginView dealloc]):
              (-[WebBaseNetscapePluginView pluginView:receivedError:]):
              (-[WebBaseNetscapePluginView requestWithURLCString:]):
              (-[WebBaseNetscapePluginView webFrame:didFinishLoadWithReason:]):
              (-[WebBaseNetscapePluginView loadPluginRequest:]):
              (-[WebBaseNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
              (-[WebBaseNetscapePluginView userAgent]):
              (-[WebBaseNetscapePluginView getVariable:value:]):
              (-[WebBaseNetscapePluginView setVariable:value:]):
              (-[WebBaseNetscapePluginView _createPlugin]):
              (-[WebBaseNetscapePluginView _redeliverStream]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc1984b0
    • pam@chromium.org's avatar
      2008-11-04 Jonathan Haas <myrdred@gmail.com> · 28f3c1bd
      pam@chromium.org authored
              Addiitonal tweaks and patch prep by Pamela Greene <pam@chromium.org>
      
              Reviewed by Darin Adler.
      
              Fixed an issue which could cause memory corruption using ToT libxml.
              See https://bugs.webkit.org/show_bug.cgi?id=15715
      
              Test: fast/xsl/xslt-nested-stylesheets.xml
      
              * xml/XSLImportRule.cpp:
              (WebCore::XSLImportRule::setXSLStyleSheet): Set parent rather than owner document
              * xml/XSLStyleSheet.cpp:
              (WebCore::XSLStyleSheet::XSLStyleSheet): Initialize m_parentStyleSheet
              (WebCore::XSLStyleSheet::parseString): Make all child stylesheets use parent's dictionary
              (WebCore::XSLStyleSheet::setParentStyleSheet): Added
              * xml/XSLStyleSheet.h: Added m_parentStyleSheet member
      
      2008-11-04  Pamela Greene  <pam@chromium.org>
      
              Reviewed by Darin Adler.
      
              Added test for crash resulting from nested stylesheets using certain
              builds of libxml2.  See https://bugs.webkit.org/show_bug.cgi?id=15715 .
      
              * fast/xsl/resources/xslt-nested-stylesheets0.xsl: Added.
              * fast/xsl/resources/xslt-nested-stylesheets1.xsl: Added.
              * fast/xsl/xslt-nested-stylesheets-expected.txt: Added.
              * fast/xsl/xslt-nested-stylesheets.xml: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28f3c1bd
    • cwzwarich@webkit.org's avatar
      2008-11-04 Cameron Zwarich <zwarich@apple.com> · 38c9c9d1
      cwzwarich@webkit.org authored
              Rubber-stamped by Sam Weinig.
      
              Move kjs/config.h to the top level of JavaScriptCore.
      
              * GNUmakefile.am:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * config.h: Copied from kjs/config.h.
              * kjs/config.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38c9c9d1
    • simon.fraser@apple.com's avatar
      2008-11-04 Simon Fraser <simon.fraser@apple.com> · 2a47342b
      simon.fraser@apple.com authored
              Add AccessibilityObject.o to the exclude list for the
              check for global destructors.
      
              * Scripts/check-for-exit-time-destructors:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a47342b
    • simon.fraser@apple.com's avatar
      2008-11-04 Simon Fraser <simon.fraser@apple.com> · 0d555c0c
      simon.fraser@apple.com authored
              No review.
      
              Improved buid fix: include MathExtras.h to get roundf on all platforms.
      
              * platform/graphics/FloatPoint.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d555c0c
    • darin@apple.com's avatar
      2008-11-04 Darin Adler <darin@apple.com> · 9b6dc2a0
      darin@apple.com authored
              * Scripts/check-for-exit-time-destructors: Fix failures seen on the
              bot, but for some reason not on my computer.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b6dc2a0
    • beidson@apple.com's avatar
      WebCore: · 0d9e16ff
      beidson@apple.com authored
      2008-11-04  Brady Eidson  <beidson@apple.com>
      
              Reviewed by John Sullivan
      
              Add a simple "visited" method to HistoryItem for use by global history
      
              * WebCore.base.exp:
      
              * history/HistoryItem.cpp:
              (WebCore::HistoryItem::visited):  Update the title on the item, set last visited time,
                and bump the visit count.  All things that should happen when a url is visited again!
              * history/HistoryItem.h:
      
      WebKit/mac:
      
      2008-11-04  Brady Eidson  <beidson@apple.com>
      
              Reviewed by John Sullivan
      
              Cleanup global history a tad.  
      
              Used to _addItemForURL always create a new item and merge it with a previous item if one existed.
      
              It is more efficient and less complicated to update the previous item if one exists.
      
              * History/WebHistory.mm:
              (-[WebHistoryPrivate visitedURL:withTitle:]):
              (-[WebHistory _visitedURL:withTitle:]):  Instead of calling the general purpose [WebHistoryPrivate addItem:]
                with a new history item, call the new special purposed visitedURL:withTitle:
              * History/WebHistoryInternal.h:
      
              * History/WebHistoryItem.mm:
              (-[WebHistoryItem _visitedWithTitle:]): Call "visited()" on the WebCore history item with the pertinent info.
              * History/WebHistoryItemInternal.h:
      
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::updateGlobalHistory):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d9e16ff
    • andersca@apple.com's avatar
      2008-11-04 Anders Carlsson <andersca@apple.com> · 31293443
      andersca@apple.com authored
              Reviewed by Kevin Decker.
      
              https://bugs.webkit.org/show_bug.cgi?id=22065
      
              Only create the plug-in stream loader when the stream is started. 
              
              * Plugins/WebBaseNetscapePluginStream.mm:
              (WebNetscapePluginStream::WebNetscapePluginStream):
              (WebNetscapePluginStream::start):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31293443
    • jmalonzo@webkit.org's avatar
      2008-11-04 Jan Michael Alonzo <jmalonzo@webkit.org> · 5b93bc27
      jmalonzo@webkit.org authored
              Build fix. Not reviewed.
      
              * platform/graphics/FloatPoint.h: include math.h.
              reported by zdobersek in #webkit.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b93bc27
    • darin@chromium.org's avatar
      2008-11-04 Darin Fisher <darin@chromium.org> · 48246856
      darin@chromium.org authored
              Reviewed by Anders Carlsson.
      
              No need to clobber all ResourceRequest fields in FrameLoader::reload()
              https://bugs.webkit.org/show_bug.cgi?id=21949
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::reload):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48246856
    • darin@apple.com's avatar
      2008-11-04 Darin Adler <darin@apple.com> · ebdfeb60
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              * storage/Database.cpp:
              (WebCore::databaseVersionKey): Tweaked formatting.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebdfeb60
    • darin@apple.com's avatar
      2008-11-04 Darin Adler <darin@apple.com> · 3b841b41
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              * wtf/ThreadingNone.cpp: Tweak formatting.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b841b41
    • darin@apple.com's avatar
      2008-11-03 Darin Adler <darin@apple.com> · 6d0ef6fb
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              - https://bugs.webkit.org/show_bug.cgi?id=22061
                create script to check for exit-time destructors
      
              * WebCore.xcodeproj/project.pbxproj: Added a script
              phase that runs the check-for-exit-time-destructors script.
      
              * html/HTMLAttributeNames.in: Removed some unused attribute names.
      
              * html/HTMLEmbedElement.cpp:
              (WebCore::HTMLEmbedElement::parseMappedAttribute): Removed code that
              sets the write-only m_pluginPage.
              * html/HTMLEmbedElement.h: Ditto.
      
              * platform/mac/CursorMac.mm:
              (WebCore::leakNamedCursor): Changed to return a Cursor&.
              (WebCore::pointerCursor): Changed to leak an object to avoid an
              exit-time destructor.
              (WebCore::crossCursor): Ditto.
              (WebCore::handCursor): Ditto.
              (WebCore::moveCursor): Ditto.
              (WebCore::verticalTextCursor): Ditto.
              (WebCore::cellCursor): Ditto.
              (WebCore::contextMenuCursor): Ditto.
              (WebCore::aliasCursor): Ditto.
              (WebCore::zoomInCursor): Ditto.
              (WebCore::zoomOutCursor): Ditto.
              (WebCore::copyCursor): Ditto.
              (WebCore::noneCursor): Ditto.
              (WebCore::progressCursor): Ditto.
              (WebCore::noDropCursor): Ditto.
              (WebCore::notAllowedCursor): Ditto.
              (WebCore::iBeamCursor): Ditto.
              (WebCore::waitCursor): Ditto.
              (WebCore::helpCursor): Ditto.
              (WebCore::eastResizeCursor): Ditto.
              (WebCore::northResizeCursor): Ditto.
              (WebCore::northEastResizeCursor): Ditto.
              (WebCore::northWestResizeCursor): Ditto.
              (WebCore::southResizeCursor): Ditto.
              (WebCore::southEastResizeCursor): Ditto.
              (WebCore::southWestResizeCursor): Ditto.
              (WebCore::westResizeCursor): Ditto.
              (WebCore::northSouthResizeCursor): Ditto.
              (WebCore::eastWestResizeCursor): Ditto.
              (WebCore::northEastSouthWestResizeCursor): Ditto.
              (WebCore::northWestSouthEastResizeCursor): Ditto.
              (WebCore::columnResizeCursor): Ditto.
              (WebCore::rowResizeCursor): Ditto.
              (WebCore::grabCursor): Ditto.
              (WebCore::grabbingCursor): Ditto.
      
              * storage/Database.cpp:
              (WebCore::guidMutex): Changed to leak an object to avoid an
              exit-time destructor. Also added a comment explaining why it's
              thread safe.
              (WebCore::guidToVersionMap): Ditto.
              (WebCore::guidToDatabaseMap): Ditto.
              (WebCore::Database::databaseInfoTableName): Ditto.
              (WebCore::databaseVersionKey): Ditto.
              (WebCore::Database::getVersionFromDatabase): Ditto.
              (WebCore::Database::setVersionInDatabase): Ditto.
              (WebCore::guidForOriginAndName): Ditto.
              * storage/DatabaseTracker.cpp:
              (WebCore::DatabaseTracker::tracker): Ditto.
              (WebCore::notificationMutex): Ditto.
              (WebCore::notificationQueue): Ditto.
              (WebCore::DatabaseTracker::notifyDatabasesChanged): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d0ef6fb
    • mitz@apple.com's avatar
      2008-11-04 Pierre-Olivier Latour <pol@apple.com> · dd69d23f
      mitz@apple.com authored
              Reviewed by Dan Bernstein.
      
              - part of https://bugs.webkit.org/show_bug.cgi?id=21821
                Removed pixel results in platform/mac-tiger that were only slightly different
                (within 1% tolerance) from the platform/mac results.
                Removed results in platform/mac-tiger where the results in platform/mac were
                also correct for Tiger.
      
              (file listing elided)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd69d23f
    • darin@apple.com's avatar
      2008-11-03 Darin Adler <darin@apple.com> · f700e86f
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              - https://bugs.webkit.org/show_bug.cgi?id=22061
                create script to check for exit-time destructors
      
              * WebKit.xcodeproj/project.pbxproj: Added a script
              phase that runs the check-for-exit-time-destructors script.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f700e86f
    • darin@apple.com's avatar
      2008-11-03 Darin Adler <darin@apple.com> · b2d6e144
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              - https://bugs.webkit.org/show_bug.cgi?id=22061
                create script to check for exit-time destructors
      
              * JavaScriptCore.exp: Changed to export functions rather than
              a global for the atomically initialized static mutex.
      
              * JavaScriptCore.xcodeproj/project.pbxproj: Added a script
              phase that runs the check-for-exit-time-destructors script.
      
              * wtf/MainThread.cpp:
              (WTF::mainThreadFunctionQueueMutex): Changed to leak an object
              rather than using an exit time destructor.
              (WTF::functionQueue): Ditto.
              * wtf/unicode/icu/CollatorICU.cpp:
              (WTF::cachedCollatorMutex): Ditto.
      
              * wtf/Threading.h: Changed other platforms to share the Windows
              approach where the mutex is internal and the functions are exported.
              * wtf/ThreadingGtk.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Ditto.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              * wtf/ThreadingNone.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Ditto.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              * wtf/ThreadingPthreads.cpp:
              (WTF::threadMapMutex): Changed to leak an object rather than using
              an exit time destructor.
              (WTF::lockAtomicallyInitializedStaticMutex): Mutex change.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              (WTF::threadMap): Changed to leak an object rather than using
              an exit time destructor.
              * wtf/ThreadingQt.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Mutex change.
              (WTF::unlockAtomicallyInitializedStaticMutex): Ditto.
              * wtf/ThreadingWin.cpp:
              (WTF::lockAtomicallyInitializedStaticMutex): Added an assertion.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2d6e144
    • darin@apple.com's avatar
      2008-11-03 Darin Adler <darin@apple.com> · d0175992
      darin@apple.com authored
              Reviewed by Tim Hatcher.
      
              - https://bugs.webkit.org/show_bug.cgi?id=22061
                create script to check for exit-time destructors
      
              * Scripts/check-for-exit-time-destructors: Added.
              Started as a copy of check-for-global-initializers.
      
              * Scripts/check-for-global-initializers: Added code to make
              this script rerun any time it's modified, and also to properly
              run again after the first time it reports an error.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0175992
    • andersca@apple.com's avatar
      2008-11-04 Anders Carlsson <andersca@apple.com> · 9b4c9743
      andersca@apple.com authored
              Reviewed by Kevin Decker.
              
              https://bugs.webkit.org/show_bug.cgi?id=22065
              
              Remove some old, unused plug-in code.
              
              * Plugins/WebBaseNetscapePluginView.h:
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
              (-[WebBaseNetscapePluginView start]):
              (-[WebBaseNetscapePluginView setVariable:value:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b4c9743
    • simon.fraser@apple.com's avatar
      2008-11-04 Simon Fraser <simon.fraser@apple.com> · c65d3288
      simon.fraser@apple.com authored
              Reviewed by Dave Hyatt
      
              https://bugs.webkit.org/show_bug.cgi?id=21941
      
              Rename absolutePosition() to localToAbsolute(), and add the ability
              to optionally take transforms into account (which will eventually be the
              default behavior).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c65d3288