1. 06 Nov, 2008 8 commits
    • alp@webkit.org's avatar
      2008-11-06 Alp Toker <alp@nuanti.com> · 4c29a2f2
      alp@webkit.org authored
              GTK build fix for r38155. create_hash_table was moved out of kjs/
      
              * GNUmakefile.am:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c29a2f2
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · 61a3d964
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Correct the date on previous ChangeLogs.
      
              * ChangeLog:
              * JavaScriptCore/ChangeLog:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61a3d964
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · f368350f
      cwzwarich@webkit.org authored
              Rubber-stamped by Sam Weinig.
      
              Move create_hash_table and jsc.pro out of the kjs directory and into the
              root directory of JavaScriptCore.
      
              JavaScriptCore:
      
              * DerivedSources.make:
              * JavaScriptCore.pri:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * create_hash_table: Copied from kjs/create_hash_table.
              * jsc.pro: Copied from kjs/jsc.pro.
              * kjs/create_hash_table: Removed.
              * kjs/jsc.pro: Removed.
              * make-generated-sources.sh:
      
              * WebKit.pro:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f368350f
    • cwzwarich@webkit.org's avatar
      2008-11-06 Cameron Zwarich <zwarich@apple.com> · df57b3fd
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Fix a case-sensitivity issue in Mac forwarding headers. Strangely
              enough, this does not always cause the build to break, even with a
              case-sensitive filesystem.
      
              * ForwardingHeaders/runtime/Interpreter.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df57b3fd
    • alp@webkit.org's avatar
      2008-11-05 Alp Toker <alp@nuanti.com> · f7ca0dea
      alp@webkit.org authored
              GTK build script tweak.
      
              Make the path relative since it will appear in all -I compiler flags.
              Long argument lists cause bizarre slowdowns in libtool and result
              in huge build logs.
      
              * Scripts/webkitdirs.pm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7ca0dea
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · 06b26748
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Fix the JavaScriptGlue build. This wouldn't show up unless one was
              doing a clean build, because changes in JavaScriptCore don't cause
              anything in JavaScriptGlue to get rebuilt.
      
              * JSRun.cpp:
              * JSUtils.h:
              * JavaScriptGlue.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06b26748
    • ap@webkit.org's avatar
      Reviewed by Maciej Stachowiak. · ddf6794f
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=22083
              MessageEvents cannot be used across threads
      
              * dom/Event.idl:
              * dom/MessageEvent.idl:
              Add a NoStaticTables attribute - MessageEvent is used in worker threads, so static tables
              won't work.
      
              * dom/MessagePort.cpp:
              (WebCore::MessagePort::EventData::EventData):
              (WebCore::MessagePort::EventData::~EventData):
              (WebCore::MessagePort::clone):
              (WebCore::MessagePort::postMessage):
              (WebCore::MessagePort::startConversation):
              (WebCore::MessagePort::dispatchMessages):
              * dom/MessagePort.h:
              Don't create a MessageEvent until dispatch time - messages can be posted across threads,
              but MessageEvents are tied to the thread that they were created in.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddf6794f
    • ap@webkit.org's avatar
      Reviewed by Darin Adler. · 90b52e84
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=22066
              Implement Worker global object
      
              * DerivedSources.make: Added WorkerLocation IDL and JSWorkerContext lookup table.
      
              * WebCore.xcodeproj/project.pbxproj: Only adding files to Mac project for now, as Worker
              support is still disabled by default.
      
              * bindings/js/JSDOMGlobalObject.cpp: (WebCore::toJSDOMGlobalObject): Implemented Worker case.
      
              * bindings/js/JSMessageChannelConstructor.cpp:
              (WebCore::JSMessageChannelConstructor::JSMessageChannelConstructor): Ditto.
      
              * bindings/js/JSWorkerContext.cpp: Added.
              * bindings/js/JSWorkerContext.h: Added.
              * bindings/js/WorkerScriptController.cpp: Added.
              * bindings/js/WorkerScriptController.h: Added.
              * dom/WorkerContext.cpp: Added.
              * dom/WorkerContext.h: Added.
              Added an implementation of worker contexts.
      
              * dom/DedicatedWorker.cpp:
              (WebCore::DedicatedWorker::startLoad): Fixed a lifetime bug I saw on my tests.
              (WebCore::DedicatedWorker::notifyFinished): Create a thread. Currently, object ownership
              and lifetime is not clear at all.
      
              * dom/WorkerLocation.cpp: Added.
              * dom/WorkerLocation.h: Added.
              * dom/WorkerLocation.idl: Added.
              Added WorkerLocation, which is one of the objects available to workers.
      
              * dom/WorkerThread.cpp: Added.
              (WebCore::WorkerThread::WorkerThread):
              (WebCore::WorkerThread::start):
              (WebCore::WorkerThread::workerThreadStart):
              (WebCore::WorkerThread::workerThread):
              * dom/WorkerThread.h: Added.
              (WebCore::WorkerThread::create):
              Run some code in a worker thread (no message loop yet).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90b52e84
  2. 05 Nov, 2008 30 commits
    • alp@webkit.org's avatar
      Attempt to fix the GTK build bot after the latest kjs -> runtime move: · d4ff35ba
      alp@webkit.org authored
      Remove the built products directory completely rather than using distclean.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4ff35ba
    • barraclough@apple.com's avatar
      JavaScriptCore: · e3aaa165
      barraclough@apple.com authored
      2008-11-05  Gavin Barraclough  <barraclough@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              https://bugs.webkit.org/show_bug.cgi?id=22094
      
              Fix for bug where the callee incorrectly recieves the caller's lexical
              global object as this, rather than its own.  Implementation closely
              follows the spec, passing jsNull, checking in the callee and replacing
              with the global object where necessary.
      
              * VM/CTI.cpp:
              (JSC::CTI::compileOpCall):
              * VM/Machine.cpp:
              (JSC::Machine::cti_op_call_NotJSFunction):
              (JSC::Machine::cti_op_call_eval):
              * runtime/JSCell.h:
              (JSC::JSValue::toThisObject):
              * runtime/JSImmediate.cpp:
              (JSC::JSImmediate::toThisObject):
              * runtime/JSImmediate.h:
      
      LayoutTests:
      
      2008-11-05  Gavin Barraclough  <barraclough@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              Previosly the test 'cross-site-this' checked that the second level deep method called
              across frames recieved the correct this pointer, when no base object is provided.
              
              Test updated so that it check that the code in the child frame, and both the first
              and second functions called in the parent frame recieve the correct this values.
      
              * fast/frames/cross-site-this.html:
              * fast/frames/resources/cross-site-this-helper.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3aaa165
    • antti@apple.com's avatar
      2008-11-05 Antti Koivisto <antti@apple.com> · c5a3853c
      antti@apple.com authored
              Reviewed by Dan Bernstein.
              
              https://bugs.webkit.org/show_bug.cgi?id=22093
              Don't keep decoded stylesheet data in cache
              
              <rdar://problem/6343588>
      
              Don't keep decoded stylesheet string around in the cache. There are no sharing benefits and
              performance benefits are negligible (no measured PLT impact). Reduces memory consumption of
              style sheet data in cache by 2/3 in common case.  
      
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::sheetText):
              (WebCore::CachedCSSStyleSheet::data):
              * loader/CachedCSSStyleSheet.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5a3853c
    • kevino@webkit.org's avatar
      wx build fix after Operations.cpp move. · 3368923b
      kevino@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3368923b
    • ddkilzer@apple.com's avatar
      Bug 21596: WebCore::Cache should use parsed Pragma and Cache-Control headers · b02df967
      ddkilzer@apple.com authored
              <https://bugs.webkit.org/show_bug.cgi?id=21596>
      
              Reviewed by Antti.
      
              This patch adds real parsing for Pragma and Cache-Control headers
              based on RFC 2616, Sections 2, 14.9 and 14.32.  It also adds some
              new String and StringImpl methods to assist with the parsing.
      
              * loader/Cache.cpp:
              (WebCore::Cache::dumpStats): Added.  Convenience method for dumping
              stats outside of Safari.
              * loader/Cache.h: Declared dumpStats().
      
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::mustRevalidate): Updated to use
              ResourceResponseBase::cacheControlDirectives() instead of substring
              matching of the entire Cache-Control header.
      
              * loader/loader.cpp:
              (WebCore::Loader::Host::didReceiveResponse): Used the local
              'resource' variable instead of 'request->cachedResource()'.
      
              * platform/network/ResourceResponseBase.cpp:
              (WebCore::ResourceResponseBase::setHTTPHeaderField): Set
              m_haveParsedCacheControlHeader to false when a "Cache-Control"
              header is set.  Ditto for m_haveParsedPragmaHeader and "Pragma".
              (WebCore::ResourceResponseBase::parsePragmaDirectives): Added.
              Provides parsed Pragma header directives.
              (WebCore::ResourceResponseBase::parseCacheControlDirectives): Added.
              Provides parsed Cache-Control header directives.
              (WebCore::isCacheHeaderSeparator): Added.  Returns true if a
              character is a separator character per RFC 2616, Section 2.2, else
              returns false.
              (WebCore::isControlCharacter): Added.  Returns true if a character
              is a control character per RFC 2616 Section 2.2, else returns false.
              (WebCore::trimToNextSeparator): Added.  Returns a string truncated
              at the first separator character per isCacheHeaderSeparator().
              (WebCore::parseCacheHeader): Added.  This is the main parsing
              routine for both Cache-Control and Pragma headers.
              (WebCore::parseCacheControlDirectiveValues): Added.  This splits
              certain Cache-Control directive values into a vector of strings.
              * platform/network/ResourceResponseBase.h:
              (WebCore::CacheControlDirectiveMap): Added.  Typedef for a parsed
              Cache-Control header.
              (WebCore::PragmaDirectiveMap): Added.  Typedef for a parsed Pragma
              header.
              (WebCore::ResourceResponseBase::parsePragmaDirectives): Added
              declaration.
              (WebCore::ResourceResponseBase::parseCacheControlDirectives): Ditto.
              (WebCore::ResourceResponseBase::m_haveParsedCacheControlHeader):
              Added.  Boolean to describe when the "Cache-Control" header needs to
              be reparsed.
              (WebCore::ResourceResponseBase::m_haveParsedPragmaHeader):  Added.
              Boolean to describe when the "Pragma" header needs to be reparsed.
              (WebCore::ResourceResponseBase::m_cacheControlDirectiveMap): Added.
              Cached map to hold parsed "Cache-Control" headers.
              (WebCore::ResourceResponseBase::m_pragmaDirectiveMap): Added.
              Cached map to hold parsed "Pragma" headers.
      
              * platform/text/PlatformString.h:
              (WebCore::String::find): Added.  Returns the first match based on
              the character-matching function pointer passed in.
              (WebCore::String::removeCharacters): Added declaration.
              (WebCore::find): Added.  Inline method that takes a character-
              matching function pointer.  Called by StringImpl::find().
              * platform/text/String.cpp:
              (WebCore::String::removeCharacters): Added.  Calls
              StringImpl::removeCharacters().
              * platform/text/StringImpl.cpp:
              (WebCore::StringImpl::removeCharacters): Added.  Returns a string
              with all characters removed that match the character-matching
              function pointer passed in.  If there is no change to the string, it
              returns itself.  Based heavily on StringImpl::simplifyWhitespace().
              (WebCore::StringImpl::find): Added.  Calls WebCore::find().
              * platform/text/StringImpl.h:
              (WebCore::FindMatchFunctionPtr): Added.  Typedef for a character-
              matching function pointer.
              (WebCore::StringImpl::removeCharacters): Added declaration.
              (WebCore::StringImpl::find): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b02df967
    • justin.garcia@apple.com's avatar
      WebCore: · 41ed13a7
      justin.garcia@apple.com authored
      2008-11-05  Justin Garcia  <justin.garcia@apple.com>
      
              Reviewed by Beth Dakin.
      
              <rdar://problem/5480736> In Mail and Gmail, copied indented text pastes with line break
              
              As a rule, we don't allow merges out of blockquotes.  In the bug, we are inserting a text node 
              between two blockquotes.  Because the start merge moves the text node into a blockquote, when we
              determine whether or not we should do the end merge, it incorrectly appears as though the end merge 
              is merging out of a blockquote.  The fix is to determine whether or not we should do the end merge
              before we do the start merge, so that the start merge doesn't effect our decision.
      
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::ReplaceSelectionCommand): Initialize the new boolean.
              (WebCore::ReplaceSelectionCommand::mergeEndIfNeeded): Moved code from doApply() here for clarity.
              (WebCore::ReplaceSelectionCommand::doApply): Set m_shouldMergeEnd before we do the start merge.
              * editing/ReplaceSelectionCommand.h: Added m_shouldMergeEnd.
      
      LayoutTests:
      
      2008-11-05  Justin Garcia  <justin.garcia@apple.com>
      
              Reviewed by Beth Dakin.
              
              <rdar://problem/5480736> In Mail and Gmail, copied indented text pastes with line break
      
              * editing/pasteboard/5480736-expected.txt: Added.
              * editing/pasteboard/5480736.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41ed13a7
    • andersca@apple.com's avatar
      2008-11-05 Anders Carlsson <andersca@apple.com> · 9ab35ff7
      andersca@apple.com authored
              Reviewed by Mark Rowe.
      
              Keep track of which plug-in host architecture would be needed for a given plug-in package.
              
              * Plugins/WebNetscapePluginPackage.h:
              * Plugins/WebNetscapePluginPackage.m:
              (-[WebNetscapePluginPackage _initWithPath:]):
              * WebKitPrefix.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ab35ff7
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · 36c7fc7d
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Speculatively fix the Windows build, even though these changes may not
              actually matter for anything in the build, because the Windows bots are
              behind.
      
              * WebCore.vcproj/WebCore.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36c7fc7d
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron <zwarich@apple.com> · 9eece252
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Fix the Qt build.
      
              * bridge/qt/qt_class.cpp:
              * bridge/qt/qt_runtime.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9eece252
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · 3e348675
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Fix the build for case-sensitive build systems and wxWindows.
      
              * JavaScriptCoreSources.bkl:
              * kjs/create_hash_table:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e348675
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · 7764713e
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Fix the build for case-sensitive build systems.
      
              * JavaScriptCoreSources.bkl:
              * kjs/Shell.cpp:
              * runtime/Interpreter.cpp:
              * runtime/JSArray.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7764713e
    • cwzwarich@webkit.org's avatar
      2008-11-05 Cameron Zwarich <zwarich@apple.com> · 858b2b61
      cwzwarich@webkit.org authored
              Not reviewed.
      
              Fix the build for case-sensitive build systems.
      
              * API/JSBase.cpp:
              * API/JSObjectRef.cpp:
              * runtime/CommonIdentifiers.h:
              * runtime/Identifier.cpp:
              * runtime/InitializeThreading.cpp:
              * runtime/InternalFunction.h:
              * runtime/JSString.h:
              * runtime/Lookup.h:
              * runtime/PropertyNameArray.h:
              * runtime/PropertySlot.h:
              * runtime/StructureID.cpp:
              * runtime/StructureID.h:
              * runtime/UString.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      858b2b61
    • 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
  3. 04 Nov, 2008 2 commits