1. 24 Oct, 2008 21 commits
    • aroben@apple.com's avatar
      Windows build fix · a9835031
      aroben@apple.com authored
              * WebCoreSupport/WebInspectorClientCF.cpp: Define WTF_PLATFORM_CF
              manually. Normally this gets defined on Windows by including config.h,
              but Mac has no config.h for WebKit, so we can't do that here.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9835031
    • cwzwarich@webkit.org's avatar
      2008-10-24 Cameron Zwarich <zwarich@apple.com> · 70f1fe9d
      cwzwarich@webkit.org authored
              Reviewed by Geoff Garen.
      
              Remove ScopeChainNode::bottom() and inline it into its only caller,
              ScopeChainnode::globalObject().
      
              * kjs/JSGlobalObject.h:
              (JSC::ScopeChainNode::globalObject):
              * kjs/ScopeChain.h:
              (JSC::ScopeChain::bottom):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70f1fe9d
    • ddkilzer@apple.com's avatar
      Build fix. · 25b7fc51
      ddkilzer@apple.com authored
              Reviewed by Greg Bolsinga.
      
              * WebKitSupport/InspectorClientWx.cpp:
              (WebCore::InspectorClientWx::populateSetting): Changed
              InspectorClient:: to InspectorClientWx::.
              (WebCore::InspectorClientWx::storeSetting): Ditto.
              (WebCore::InspectorClientWx::removeSetting): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25b7fc51
    • cwzwarich@webkit.org's avatar
      2008-10-24 Cameron Zwarich <zwarich@apple.com> · de65b9eb
      cwzwarich@webkit.org authored
              Reviewed by Maciej Stachowiak.
      
              Bug 21862: Create JSFunction prototype property lazily
              <https://bugs.webkit.org/show_bug.cgi?id=21862>
      
              This is a 1.5% speedup on SunSpider and a 1.4% speedup on the V8
              benchmark suite, including a 3.8% speedup on Earley-Boyer.
      
              * kjs/JSFunction.cpp:
              (JSC::JSFunction::getOwnPropertySlot):
              * kjs/nodes.cpp:
              (JSC::FuncDeclNode::makeFunction):
              (JSC::FuncExprNode::makeFunction):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de65b9eb
    • pkasting@chromium.org's avatar
      2008-10-23 Peter Kasting <pkasting@google.com> · a8304c03
      pkasting@chromium.org authored
              Reviewed by David Hyatt.
      
              https://bugs.webkit.org/show_bug.cgi?id=21844
              Remove setFocusRingColorChangeFunction.
      
              * page/Page.cpp:
              (WebCore::Page::Page):
              * platform/graphics/Color.h:
              * platform/graphics/mac/ColorMac.mm:
              (WebCore::focusRingColor):
              * platform/graphics/qt/GraphicsContextQt.cpp:
              * platform/graphics/win/ColorSafari.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8304c03
    • ddkilzer@apple.com's avatar
      Build fix for Qt. · 853ea9f4
      ddkilzer@apple.com authored
              Reviewed by Greg.
      
              * WebCore.pro: Added missing *.idl files.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      853ea9f4
    • timothy@apple.com's avatar
      Fix the Windows build. · 426de74e
      timothy@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      426de74e
    • simon.fraser@apple.com's avatar
      2008-10-24 Simon Fraser <simon.fraser@apple.com> · c92171ef
      simon.fraser@apple.com authored
              Reviewed by Sam Weinig
      
              Add to the comment some new CSSRule types that are not yet tested.
      
              * fast/dom/wrapper-classes.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c92171ef
    • ddkilzer@apple.com's avatar
      JavaScriptCore: · f930faff
      ddkilzer@apple.com authored
      2008-10-24  Greg Bolsinga  <bolsinga@apple.com>
      
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=21475
              
              Provide support for the Geolocation API
              
              http://dev.w3.org/geo/api/spec-source.html
      
              * wtf/Platform.h: ENABLE_GEOLOCATION defaults to 0
      
      WebCore:
      
      2008-10-24  Greg Bolsinga  <bolsinga@apple.com>
      
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=21475
              
              Provide support for the Geolocation API
              
              http://dev.w3.org/geo/api/spec-source.html
      
              Test: geolocation/geolocation-not-implemented.html
      
              * DerivedSources.make:
              * GNUmakefile.am: Added Geolocation support
              * WebCore.pro: Added Geolocation support
              * WebCore.vcproj/WebCore.vcproj: Added Geolocation support
              * WebCore.xcodeproj/project.pbxproj: Added Geolocation support
              * WebCoreSources.bkl: Added Geolocation support
              * bindings/js/JSCustomPositionCallback.cpp: Added.
              (WebCore::JSCustomPositionCallback::JSCustomPositionCallback):
              (WebCore::JSCustomPositionCallback::handleEvent):
              * bindings/js/JSCustomPositionCallback.h: Added.
              (WebCore::JSCustomPositionCallback::create):
              * bindings/js/JSCustomPositionErrorCallback.cpp: Added.
              (WebCore::JSCustomPositionErrorCallback::JSCustomPositionErrorCallback):
              (WebCore::JSCustomPositionErrorCallback::handleEvent):
              * bindings/js/JSCustomPositionErrorCallback.h: Added.
              (WebCore::JSCustomPositionErrorCallback::create):
              * bindings/js/JSDOMBinding.cpp: move markDOMObjectWrapper here from JSDOMWindowCustom
              (WebCore::markDOMObjectWrapper):
              * bindings/js/JSDOMBinding.h: move markDOMObjectWrapper here from JSDOMWindowCustom
              * bindings/js/JSDOMWindowCustom.cpp: move markDOMObjectWrapper to JSDOMBinding
              * bindings/js/JSGeolocationCustom.cpp: Added.
              (WebCore::JSGeolocation::getCurrentPosition):
              (WebCore::JSGeolocation::watchPosition):
              * bindings/js/JSNavigatorCustom.cpp: handle marking Geolocation
              (WebCore::JSNavigator::mark):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              * dom/Document.h:
              (WebCore::Document::setUsingGeolocation):
              (WebCore::Document::usingGeolocation):
              * loader/FrameLoader.cpp: don't add to back forward cache if using Geolocation
              (WebCore::FrameLoader::canCachePage):
              * page/Geolocation.cpp: Added.
              (WebCore::Geolocation::GeoNotifier::GeoNotifier):
              (WebCore::Geolocation::GeoNotifier::timerFired):
              (WebCore::Geolocation::Geolocation):
              (WebCore::Geolocation::disconnectFrame):
              (WebCore::Geolocation::getCurrentPosition):
              (WebCore::Geolocation::watchPosition):
              (WebCore::Geolocation::clearWatch):
              (WebCore::Geolocation::stopUpdatingIfEmpty):
              (WebCore::Geolocation::sendErrorToOneShots):
              (WebCore::Geolocation::sendErrorToWatchers):
              (WebCore::Geolocation::sendPositionToOneShots):
              (WebCore::Geolocation::sendPositionToWatchers):
              (WebCore::Geolocation::handleError):
              (WebCore::Geolocation::geolocationServicePositionChanged):
              (WebCore::Geolocation::geolocationServiceErrorOccurred):
              * page/Geolocation.h: Added.
              (WebCore::Geolocation::create):
              (WebCore::Geolocation::~Geolocation):
              (WebCore::Geolocation::lastPosition):
              (WebCore::Geolocation::GeoNotifier::create):
              * page/Geolocation.idl: Added.
              * page/Geoposition.cpp: Added.
              (WebCore::Geoposition::toString):
              * page/Geoposition.h: Added.
              (WebCore::Geoposition::create):
              (WebCore::Geoposition::latitude):
              (WebCore::Geoposition::longitude):
              (WebCore::Geoposition::altitude):
              (WebCore::Geoposition::accuracy):
              (WebCore::Geoposition::altitudeAccuracy):
              (WebCore::Geoposition::heading):
              (WebCore::Geoposition::velocity):
              (WebCore::Geoposition::timestamp):
              (WebCore::Geoposition::Geoposition):
              * page/Geoposition.idl: Added.
              * page/Navigator.cpp:
              (WebCore::Navigator::disconnectFrame): disconnect Geolocation
              (WebCore::Navigator::geolocation): accessor for Geolocation
              * page/Navigator.h:
              (WebCore::Navigator::optionalGeolocation): accessor for Geolocation
              * page/Navigator.idl: accessor for Geolocation
              * page/PositionCallback.h: Added.
              (WebCore::PositionCallback::~PositionCallback):
              * page/PositionCallback.idl: Added.
              * page/PositionError.h: Added.
              (WebCore::PositionError::):
              (WebCore::PositionError::create):
              (WebCore::PositionError::code):
              (WebCore::PositionError::message):
              (WebCore::PositionError::PositionError):
              * page/PositionError.idl: Added.
              * page/PositionErrorCallback.h: Added.
              (WebCore::PositionErrorCallback::~PositionErrorCallback):
              * page/PositionErrorCallback.idl: Added.
              * page/PositionOptions.h: Added.
              (WebCore::PositionOptions::create):
              (WebCore::PositionOptions::enableHighAccuracy):
              (WebCore::PositionOptions::setEnableHighAccuracy):
              (WebCore::PositionOptions::timeout):
              (WebCore::PositionOptions::setTimeout):
              (WebCore::PositionOptions::PositionOptions):
              * page/PositionOptions.idl: Added.
              * platform/GeolocationService.cpp: Added.
              (WebCore::GeolocationService::GeolocationService):
              (WebCore::GeolocationService::positionChanged):
              (WebCore::GeolocationService::errorOccurred):
              * platform/GeolocationService.h: Added.
              (WebCore::GeolocationServiceClient::~GeolocationServiceClient):
              (WebCore::GeolocationServiceClient::geolocationServicePositionChanged):
              (WebCore::GeolocationServiceClient::geolocationServiceErrorOccurred):
              (WebCore::GeolocationService::~GeolocationService):
      
      LayoutTests:
      
      2008-10-24  Greg Bolsinga  <bolsinga@apple.com>
      
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=21475
              
              Provide support for the Geolocation API
              
              http://dev.w3.org/geo/api/spec-source.html
      
              Tests to verify Geolocation isn't implemented (so that it didn't leak into 
              WebCore for platforms that do not support it).
      
              * geolocation: Added.
              * geolocation/geolocation-not-implemented-expected.txt: Added.
              * geolocation/geolocation-not-implemented.html: Added.
              * geolocation/geolocation-test.js: Copied from LayoutTests/media/video-test.js.
              (reset):
              (hanged):
              (watchPositionAndEnd):
              (watchPosition._positionCallback):
              (watchPosition):
              (watchPositionTestAndEnd):
              (watchPositionAndFail):
              (watchPositionAndTest._positionCallback):
              (watchPositionAndTest):
              (getCurrentPositionAndEnd):
              (getCurrentPosition._positionCallback):
              (getCurrentPosition):
              (getCurrentPositionTestAndEnd):
              (getCurrentPositionAndFail):
              (getCurrentPositionAndTest._positionCallback):
              (getCurrentPositionAndTest):
              (endTest):
              (relativeURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f930faff
    • simon.fraser@apple.com's avatar
      2008-10-24 Simon Fraser <simon.fraser@apple.com> · 98be6d36
      simon.fraser@apple.com authored
              Reviewed by Darin Adler
      
              https://bugs.webkit.org/show_bug.cgi?id=21858
      
              Add additional CSSRule types to the DOM-wrapper tests.
      
              * fast/dom/resources/wrapper-identity-base.js:
              * fast/dom/wrapper-identity-expected.txt:
              * platform/mac/fast/dom/objc-wrapper-identity-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98be6d36
    • simon.fraser@apple.com's avatar
      2008-10-24 Simon Fraser <simon.fraser@apple.com> · 912ac415
      simon.fraser@apple.com authored
              Reviewed by Darin Adler
      
              https://bugs.webkit.org/show_bug.cgi?id=21818
      
              Add HashTraits for AtomicString so that AtomicString can be used as
              the key for a HashMap or HashSet.
      
              * GNUmakefile.am: add AtomicStringHash.h
              * WebCore.vcproj/WebCore.vcproj: add AtomicStringHash.h
              * WebCore.xcodeproj/project.pbxproj: add AtomicStringHash.h
              * platform/text/AtomicString.h:
              (WebCore::AtomicString::AtomicString):
              (WebCore::AtomicString::isHashTableDeletedValue):
                  specialize DefaultHash for AtomicString to use AtomicStringHash
              * platform/text/AtomicStringHash.h: Added.
              * platform/text/StringImpl.cpp:
              (WebCore::StringImpl::StringImpl):
                  compute the hash up-front for the empty string
              * platform/text/StringImpl.h:
              (WebCore::StringImpl::existingHash):
                  method to get the hash without a test and branch, for callers like
                  AtomicStringHash who can guarantee that the hash has already been computed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      912ac415
    • simon.fraser@apple.com's avatar
      2008-10-24 Simon Fraser <simon.fraser@apple.com> · a0a1857d
      simon.fraser@apple.com authored
              Reviewed by Sam Weinig
      
              https://bugs.webkit.org/show_bug.cgi?id=21857
      
              Add WebKitCSSKeyframeRule and WebKitCSSKeyframesRule to the
              switch in _wrapCSSRule.
      
              * bindings/objc/DOMCSS.mm:
              (+[DOMCSSRule _wrapCSSRule:WebCore::]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0a1857d
    • aroben@apple.com's avatar
      Windows build fix · b3ba6926
      aroben@apple.com authored
              * plugins/PluginView.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3ba6926
    • mitz@apple.com's avatar
      WebCore: · 258a2a35
      mitz@apple.com authored
              Reviewed by Sam Weinig.
      
              - fix https://bugs.webkit.org/show_bug.cgi?id=21851
                <rdar://problem/6304151> REGRESSION (r36513): Crash when removing a widget with percent height
      
              Test: fast/replaced/percent-height-in-anonymous-block-widget.html
      
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::destroy): Copied code added to
              RenderBox::destroy() in r36513 into this function.
      
      LayoutTests:
      
              Reviewed by Sam Weinig.
      
              - test for https://bugs.webkit.org/show_bug.cgi?id=21851
                <rdar://problem/6304151> REGRESSION (r36513): Crash when removing a widget with percent height
      
              * fast/replaced/percent-height-in-anonymous-block-widget.html: Added.
              * platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.checksum: Added.
              * platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.png: Added.
              * platform/mac/fast/replaced/percent-height-in-anonymous-block-widget-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      258a2a35
    • timothy@apple.com's avatar
      Add a mechanism to store and retrieve preferences for the Web Inspector. · f454001b
      timothy@apple.com authored
      WebCore:
      
      2008-10-24  Timothy Hatcher  <timothy@apple.com>
      
              Add a mechanism to ask the InspectorClient for key/value setting pairs.
              These settings can be strings, numbers, booleans or string vectors. The
              settings are also bridged to and from JavaScript.
      
              https://bugs.webkit.org/show_bug.cgi?id=21856
      
              Reviewed by Darin Adler.
      
              * WebCore.base.exp: Expose the String CFStringRef constructor.
              * inspector/InspectorClient.h:
              (WebCore::InspectorClient::populateSetting): Added, pure virtual.
              (WebCore::InspectorClient::storeSetting): Ditto.
              (WebCore::InspectorClient::removeSetting): Ditto.
              * inspector/InspectorController.cpp:
              (WebCore::setting): Calls InspectorController::setting and wraps the result in script types.
              (WebCore::setSetting): Calls InspectorController::setSetting after converting from script types.
              (WebCore::InspectorController::InspectorController): Increment a global static
              to track the number of live InspectorControllers.
              (WebCore::InspectorController::~InspectorController): Decrement the global static
              that tracks the number of live InspectorControllers. Delete the setting cache if there
              are no more live controllers.
              (WebCore::InspectorController::setting): Check the cache and return the setting from there,
              otherwise make a new Setting and ask the client to populate it.
              (WebCore::InspectorController::setSetting): Change the cache and ask the client to store it.
              (WebCore::InspectorController::windowScriptObjectAvailable): Add setting and setSetting
              to the InspectorController script class.
              * inspector/InspectorController.h:
              (WebCore::InspectorController::Setting::Setting):
              (WebCore::InspectorController::Setting::operator=):
              (WebCore::InspectorController::Setting::type): Return m_type.
              (WebCore::InspectorController::Setting::string): Return m_string. Assert the type is correct.
              (WebCore::InspectorController::Setting::stringVector): Return m_stringVector.
              Assert the type is correct.
              (WebCore::InspectorController::Setting::doubleValue): Return m_simpleContent.m_double.
              Assert the type is correct.
              (WebCore::InspectorController::Setting::integerValue): Return m_simpleContent.m_integer.
              Assert the type is correct.
              (WebCore::InspectorController::Setting::booleanValue): Return m_simpleContent.m_boolean.
              Assert the type is correct.
              (WebCore::InspectorController::Setting::set): Overloaded for each data type, sets the right
              field and the type.
              * loader/EmptyClients.h:
              (WebCore::EmptyInspectorClient::populateSetting): Added, empty method.
              (WebCore::EmptyInspectorClient::storeSetting): Ditto.
              (WebCore::EmptyInspectorClient::removeSetting): Ditto.
      
      WebKit:
      
      2008-10-24  Timothy Hatcher  <timothy@apple.com>
      
              Implement new InspectorClient methods to work with Settings.
      
              https://bugs.webkit.org/show_bug.cgi?id=21856
      
              Reviewed by Darin Adler.
      
              * WebKit.xcodeproj/project.pbxproj: Add the new InspectorClientCF.cpp file.
      
      WebKit/gtk:
      
      2008-10-24  Timothy Hatcher  <timothy@apple.com>
      
              Stub out new InspectorClient methods.
      
              https://bugs.webkit.org/show_bug.cgi?id=21856
      
              Reviewed by Darin Adler.
      
              * WebCoreSupport/InspectorClientGtk.cpp:
              (WebKit::InspectorClient::populateSetting): Not implemented.
              (WebKit::InspectorClient::storeSetting): Ditto.
              (WebKit::InspectorClient::removeSetting): Ditto.
              * WebCoreSupport/InspectorClientGtk.h:
      
      WebKit/mac:
      
      2008-10-24  Timothy Hatcher  <timothy@apple.com>
      
              Implement new InspectorClient methods to work with Settings.
      
              https://bugs.webkit.org/show_bug.cgi?id=21856
      
              Reviewed by Darin Adler.
      
              * WebCoreSupport/WebInspectorClient.h: Add the new methods and
              guard the ObjC parts of the header.
      
      WebKit/qt:
      
      2008-10-24  Timothy Hatcher  <timothy@apple.com>
      
              Stub out new InspectorClient methods.
      
              https://bugs.webkit.org/show_bug.cgi?id=21856
      
              Reviewed by Darin Adler.
      
              * WebCoreSupport/InspectorClientQt.cpp:
              (WebCore::InspectorClientQt::populateSetting): Not implemented.
              (WebCore::InspectorClientQt::storeSetting): Ditto.
              (WebCore::InspectorClientQt::removeSetting): Ditto.
              * WebCoreSupport/InspectorClientQt.h:
      
      WebKit/win:
      
      2008-10-24  Timothy Hatcher  <timothy@apple.com>
      
              Implement new InspectorClient methods to work with Settings.
      
              https://bugs.webkit.org/show_bug.cgi?id=21856
      
              Reviewed by Adam Roben.
      
              * WebKit.vcproj/WebKit.vcproj: Add the new InspectorClientCF.cpp file.
              * WebCoreSupport/WebInspectorClient.h: Add the new methods.
      
      WebKit/wx:
      
      2008-10-24  Timothy Hatcher  <timothy@apple.com>
      
              Stub out new InspectorClient methods.
      
              https://bugs.webkit.org/show_bug.cgi?id=21856
      
              Reviewed by Darin Adler.
      
              * WebKitSupport/InspectorClientWx.cpp:
              (WebCore::InspectorClient::populateSetting): Not implemented.
              (WebCore::InspectorClient::storeSetting): Ditto.
              (WebCore::InspectorClient::removeSetting): Ditto.
              * WebKitSupport/InspectorClientWx.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f454001b
    • ddkilzer@apple.com's avatar
      Bug 21850: svn-apply and svn-unapply should preserve patch line endings · 2e4fb03f
      ddkilzer@apple.com authored
              <https://bugs.webkit.org/show_bug.cgi?id=21850>
      
              Reviewed by Adam Roben.
      
              * Scripts/svn-apply: Save end-of-line characters when stripping them
              off each line of a patch so that they may be restored after
              processing the line.
              * Scripts/svn-unapply: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e4fb03f
    • cwzwarich@webkit.org's avatar
      2008-10-24 Cameron Zwarich <zwarich@apple.com> · 22ade9b6
      cwzwarich@webkit.org authored
              Reviewed by Sam Weinig.
      
              Remove some C-style casts.
      
              * html/HTMLViewSourceDocument.cpp:
              (WebCore::HTMLViewSourceDocument::addViewSourceToken):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22ade9b6
    • darin@apple.com's avatar
      JavaScriptCore: · 44331f8b
      darin@apple.com authored
      2008-10-24  Darin Adler  <darin@apple.com>
      
              - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
      
              * API/APICast.h:
              * API/JSCallbackConstructor.h:
              * API/JSCallbackFunction.cpp:
              * API/JSCallbackFunction.h:
              * API/JSCallbackObject.h:
              * API/JSCallbackObjectFunctions.h:
              * API/JSContextRef.cpp:
              * API/JSObjectRef.cpp:
              * API/JSValueRef.cpp:
              * VM/CTI.cpp:
              * VM/CTI.h:
              * VM/CodeBlock.cpp:
              * VM/CodeBlock.h:
              * VM/CodeGenerator.cpp:
              * VM/CodeGenerator.h:
              * VM/ExceptionHelpers.cpp:
              * VM/ExceptionHelpers.h:
              * VM/JSPropertyNameIterator.cpp:
              * VM/JSPropertyNameIterator.h:
              * VM/Machine.cpp:
              * VM/Machine.h:
              * VM/Register.h:
              * kjs/ArgList.cpp:
              * kjs/ArgList.h:
              * kjs/Arguments.cpp:
              * kjs/Arguments.h:
              * kjs/ArrayConstructor.cpp:
              * kjs/ArrayPrototype.cpp:
              * kjs/BooleanConstructor.cpp:
              * kjs/BooleanConstructor.h:
              * kjs/BooleanObject.h:
              * kjs/BooleanPrototype.cpp:
              * kjs/CallData.cpp:
              * kjs/CallData.h:
              * kjs/ConstructData.cpp:
              * kjs/ConstructData.h:
              * kjs/DateConstructor.cpp:
              * kjs/DateInstance.h:
              * kjs/DatePrototype.cpp:
              * kjs/DatePrototype.h:
              * kjs/DebuggerCallFrame.cpp:
              * kjs/DebuggerCallFrame.h:
              * kjs/ErrorConstructor.cpp:
              * kjs/ErrorPrototype.cpp:
              * kjs/ExecState.cpp:
              * kjs/ExecState.h:
              * kjs/FunctionConstructor.cpp:
              * kjs/FunctionPrototype.cpp:
              * kjs/FunctionPrototype.h:
              * kjs/GetterSetter.cpp:
              * kjs/GetterSetter.h:
              * kjs/InternalFunction.h:
              * kjs/JSActivation.cpp:
              * kjs/JSActivation.h:
              * kjs/JSArray.cpp:
              * kjs/JSArray.h:
              * kjs/JSCell.cpp:
              * kjs/JSCell.h:
              * kjs/JSFunction.cpp:
              * kjs/JSFunction.h:
              * kjs/JSGlobalData.h:
              * kjs/JSGlobalObject.cpp:
              * kjs/JSGlobalObject.h:
              * kjs/JSGlobalObjectFunctions.cpp:
              * kjs/JSGlobalObjectFunctions.h:
              * kjs/JSImmediate.cpp:
              * kjs/JSImmediate.h:
              * kjs/JSNotAnObject.cpp:
              * kjs/JSNotAnObject.h:
              * kjs/JSNumberCell.cpp:
              * kjs/JSNumberCell.h:
              * kjs/JSObject.cpp:
              * kjs/JSObject.h:
              * kjs/JSStaticScopeObject.cpp:
              * kjs/JSStaticScopeObject.h:
              * kjs/JSString.cpp:
              * kjs/JSString.h:
              * kjs/JSValue.h:
              * kjs/JSVariableObject.h:
              * kjs/JSWrapperObject.h:
              * kjs/MathObject.cpp:
              * kjs/MathObject.h:
              * kjs/NativeErrorConstructor.cpp:
              * kjs/NumberConstructor.cpp:
              * kjs/NumberConstructor.h:
              * kjs/NumberObject.cpp:
              * kjs/NumberObject.h:
              * kjs/NumberPrototype.cpp:
              * kjs/ObjectConstructor.cpp:
              * kjs/ObjectPrototype.cpp:
              * kjs/ObjectPrototype.h:
              * kjs/PropertyMap.h:
              * kjs/PropertySlot.cpp:
              * kjs/PropertySlot.h:
              * kjs/RegExpConstructor.cpp:
              * kjs/RegExpConstructor.h:
              * kjs/RegExpMatchesArray.h:
              * kjs/RegExpObject.cpp:
              * kjs/RegExpObject.h:
              * kjs/RegExpPrototype.cpp:
              * kjs/Shell.cpp:
              * kjs/StringConstructor.cpp:
              * kjs/StringObject.cpp:
              * kjs/StringObject.h:
              * kjs/StringObjectThatMasqueradesAsUndefined.h:
              * kjs/StringPrototype.cpp:
              * kjs/StructureID.cpp:
              * kjs/StructureID.h:
              * kjs/collector.cpp:
              * kjs/collector.h:
              * kjs/completion.h:
              * kjs/grammar.y:
              * kjs/interpreter.cpp:
              * kjs/interpreter.h:
              * kjs/lookup.cpp:
              * kjs/lookup.h:
              * kjs/nodes.h:
              * kjs/operations.cpp:
              * kjs/operations.h:
              * kjs/protect.h:
              * profiler/ProfileGenerator.cpp:
              * profiler/Profiler.cpp:
              * profiler/Profiler.h:
              Use JSValue* instead of JSValuePtr.
      
      JavaScriptGlue:
      
      2008-10-24  Darin Adler  <darin@apple.com>
      
              - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
      
              * JSObject.cpp:
              (nativeCallFunction):
              * JSUtils.cpp:
              (KJSValueToJSObject):
              (JSObjectKJSValue):
              (KJSValueToCFTypeInternal):
              (KJSValueToCFType):
              * JSUtils.h:
              * JSValueWrapper.cpp:
              (JSValueWrapper::JSValueWrapper):
              (JSValueWrapper::GetValue):
              (JSValueWrapper::JSObjectCopyProperty):
              (JSValueWrapper::JSObjectSetProperty):
              (JSValueWrapper::JSObjectCallFunction):
              * JSValueWrapper.h:
              * UserObjectImp.cpp:
              (UserObjectImp::callAsFunction):
              (UserObjectImp::userObjectGetter):
              (UserObjectImp::getOwnPropertySlot):
              (UserObjectImp::put):
              (UserObjectImp::toPrimitive):
              * UserObjectImp.h:
              (UserObjectImp::createStructureID):
              Use JSValue* instead of JSValuePtr.
      
      WebCore:
      
      2008-10-24  Darin Adler  <darin@apple.com>
      
              - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
      
              * bindings/js/JSAttrCustom.cpp:
              * bindings/js/JSCSSRuleCustom.cpp:
              * bindings/js/JSCSSStyleDeclarationCustom.cpp:
              * bindings/js/JSCSSValueCustom.cpp:
              * bindings/js/JSCanvasPixelArrayCustom.h:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSClipboardCustom.cpp:
              * bindings/js/JSConsoleCustom.cpp:
              * bindings/js/JSCustomSQLStatementCallback.cpp:
              * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
              * bindings/js/JSCustomSQLTransactionCallback.cpp:
              * bindings/js/JSCustomSQLTransactionErrorCallback.cpp:
              * bindings/js/JSCustomVoidCallback.cpp:
              * bindings/js/JSCustomVoidCallback.h:
              * bindings/js/JSCustomXPathNSResolver.cpp:
              * bindings/js/JSCustomXPathNSResolver.h:
              * bindings/js/JSDOMApplicationCacheCustom.cpp:
              * bindings/js/JSDOMBinding.cpp:
              * bindings/js/JSDOMBinding.h:
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSDOMWindowBase.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDOMWindowCustom.h:
              * bindings/js/JSDOMWindowShell.cpp:
              * bindings/js/JSDOMWindowShell.h:
              * bindings/js/JSDatabaseCustom.cpp:
              * bindings/js/JSDedicatedWorkerCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSElementCustom.cpp:
              * bindings/js/JSEventCustom.cpp:
              * bindings/js/JSEventListener.cpp:
              * bindings/js/JSEventTarget.cpp:
              * bindings/js/JSEventTarget.h:
              * bindings/js/JSEventTargetBase.h:
              * bindings/js/JSEventTargetNodeCustom.cpp:
              * bindings/js/JSHTMLAllCollection.h:
              * bindings/js/JSHTMLAppletElementCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLDocumentCustom.cpp:
              * bindings/js/JSHTMLEmbedElementCustom.cpp:
              * bindings/js/JSHTMLFormElementCustom.cpp:
              * bindings/js/JSHTMLFrameElementCustom.cpp:
              * bindings/js/JSHTMLFrameSetElementCustom.cpp:
              * bindings/js/JSHTMLIFrameElementCustom.cpp:
              * bindings/js/JSHTMLInputElementCustom.cpp:
              * bindings/js/JSHTMLObjectElementCustom.cpp:
              * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              * bindings/js/JSHTMLSelectElementCustom.h:
              * bindings/js/JSHistoryCustom.cpp:
              * bindings/js/JSImageDataCustom.cpp:
              * bindings/js/JSInspectedObjectWrapper.cpp:
              * bindings/js/JSInspectedObjectWrapper.h:
              * bindings/js/JSInspectorCallbackWrapper.cpp:
              * bindings/js/JSInspectorCallbackWrapper.h:
              * bindings/js/JSJavaScriptCallFrameCustom.cpp:
              * bindings/js/JSLocationCustom.cpp:
              * bindings/js/JSMessagePortCustom.cpp:
              * bindings/js/JSMimeTypeArrayCustom.cpp:
              * bindings/js/JSNamedNodeMapCustom.cpp:
              * bindings/js/JSNamedNodesCollection.cpp:
              * bindings/js/JSNamedNodesCollection.h:
              * bindings/js/JSNavigatorCustom.cpp:
              * bindings/js/JSNodeCustom.cpp:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCondition.h:
              * bindings/js/JSNodeFilterCustom.cpp:
              * bindings/js/JSNodeIteratorCustom.cpp:
              * bindings/js/JSNodeListCustom.cpp:
              * bindings/js/JSPluginArrayCustom.cpp:
              * bindings/js/JSPluginCustom.cpp:
              * bindings/js/JSPluginElementFunctions.cpp:
              * bindings/js/JSPluginElementFunctions.h:
              * bindings/js/JSQuarantinedObjectWrapper.cpp:
              * bindings/js/JSQuarantinedObjectWrapper.h:
              * bindings/js/JSRGBColor.cpp:
              * bindings/js/JSRGBColor.h:
              * bindings/js/JSSQLResultSetRowListCustom.cpp:
              * bindings/js/JSSQLTransactionCustom.cpp:
              * bindings/js/JSSVGElementInstanceCustom.cpp:
              * bindings/js/JSSVGLengthCustom.cpp:
              * bindings/js/JSSVGMatrixCustom.cpp:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSSVGPathSegListCustom.cpp:
              * bindings/js/JSSVGPointListCustom.cpp:
              * bindings/js/JSSVGTransformListCustom.cpp:
              * bindings/js/JSStorageCustom.cpp:
              * bindings/js/JSStyleSheetCustom.cpp:
              * bindings/js/JSStyleSheetListCustom.cpp:
              * bindings/js/JSTextCustom.cpp:
              * bindings/js/JSTreeWalkerCustom.cpp:
              * bindings/js/JSXMLHttpRequestCustom.cpp:
              * bindings/js/JSXMLHttpRequestUploadCustom.cpp:
              * bindings/js/JSXSLTProcessorCustom.cpp:
              * bindings/js/ScheduledAction.cpp:
              * bindings/js/ScheduledAction.h:
              * bindings/js/ScriptController.cpp:
              * bindings/js/ScriptController.h:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/WebScriptObjectPrivate.h:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bridge/NP_jsobject.cpp:
              * bridge/c/c_instance.cpp:
              * bridge/c/c_instance.h:
              * bridge/c/c_runtime.cpp:
              * bridge/c/c_runtime.h:
              * bridge/c/c_utility.cpp:
              * bridge/c/c_utility.h:
              * bridge/jni/jni_instance.cpp:
              * bridge/jni/jni_instance.h:
              * bridge/jni/jni_jsobject.h:
              * bridge/jni/jni_jsobject.mm:
              * bridge/jni/jni_objc.mm:
              * bridge/jni/jni_runtime.cpp:
              * bridge/jni/jni_runtime.h:
              * bridge/jni/jni_utility.cpp:
              * bridge/jni/jni_utility.h:
              * bridge/objc/WebScriptObject.h:
              * bridge/objc/objc_class.h:
              * bridge/objc/objc_class.mm:
              * bridge/objc/objc_instance.h:
              * bridge/objc/objc_instance.mm:
              * bridge/objc/objc_runtime.h:
              * bridge/objc/objc_runtime.mm:
              * bridge/objc/objc_utility.h:
              * bridge/objc/objc_utility.mm:
              * bridge/qt/qt_class.cpp:
              * bridge/qt/qt_class.h:
              * bridge/qt/qt_instance.cpp:
              * bridge/qt/qt_instance.h:
              * bridge/qt/qt_runtime.cpp:
              * bridge/qt/qt_runtime.h:
              * bridge/runtime.cpp:
              * bridge/runtime.h:
              * bridge/runtime_array.cpp:
              * bridge/runtime_array.h:
              * bridge/runtime_method.cpp:
              * bridge/runtime_method.h:
              * bridge/runtime_object.cpp:
              * bridge/runtime_object.h:
              * bridge/testqtbindings.cpp:
              * inspector/JavaScriptCallFrame.cpp:
              * inspector/JavaScriptCallFrame.h:
              * inspector/JavaScriptProfile.cpp:
              * inspector/JavaScriptProfile.h:
              * inspector/JavaScriptProfileNode.cpp:
              * inspector/JavaScriptProfileNode.h:
              * loader/FrameLoader.cpp:
              * loader/FrameLoader.h:
              * page/Console.cpp:
              * page/Console.h:
              * plugins/MimeTypeArray.h:
              * plugins/Plugin.h:
              * plugins/PluginArray.h:
              * plugins/PluginView.cpp:
              * xml/XMLHttpRequest.cpp:
              Use JSValue* instead of JSValuePtr.
      
      WebKit/mac:
      
      2008-10-24  Darin Adler  <darin@apple.com>
      
              - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
      
              * WebView/WebFrame.mm:
              (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
              * WebView/WebScriptDebugDelegate.mm:
              (-[WebScriptCallFrame _convertValueToObjcValue:]):
              (-[WebScriptCallFrame exception]):
              (-[WebScriptCallFrame evaluateWebScript:]):
              * WebView/WebView.mm:
              (aeDescFromJSValue):
              (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
              Use JSValue* instead of JSValuePtr.
      
      WebKit/qt:
      
      2008-10-24  Darin Adler  <darin@apple.com>
      
              - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
      
              * Api/qwebframe.cpp:
              (QWebFrame::evaluateJavaScript): Use JSValue* instead of JSValuePtr.
      
      WebKit/win:
      
      2008-10-24  Darin Adler  <darin@apple.com>
      
              - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
      
              * WebScriptCallFrame.cpp:
              (WebScriptCallFrame::jsValueToString):
              (WebScriptCallFrame::stringByEvaluatingJavaScriptFromString):
              (WebScriptCallFrame::valueForVariable):
              (WebScriptCallFrame::valueByEvaluatingJavaScriptFromString):
              * WebScriptCallFrame.h:
              * WebView.cpp:
              (WebView::stringByEvaluatingJavaScriptFromString):
              Use JSValue* instead of JSValuePtr.
      
      WebKit/wx:
      
      2008-10-24  Darin Adler  <darin@apple.com>
      
              - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
      
              * WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44331f8b
    • hausmann@webkit.org's avatar
      2008-10-24 Simon Hausmann <hausmann@webkit.org> · cffb4f44
      hausmann@webkit.org authored
              Fix the Qt build.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cffb4f44
    • hausmann@webkit.org's avatar
      2008-10-23 Yael Aharon <yael.aharon@nokia.com> · 479c06e2
      hausmann@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Invalid history entries could cause a crash in QT Webkit
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      479c06e2
    • ddkilzer@apple.com's avatar
      Rolled out r37840 and r37841. · 4f3c9aa4
      ddkilzer@apple.com authored
      JavaScriptCore:
      
              Rolled out r37840.
      
              * wtf/Platform.h:
      
      WebCore:
      
              Rolled out r37840 and r37841.
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * bindings/js/JSCustomPositionCallback.cpp: Removed.
              * bindings/js/JSCustomPositionCallback.h: Removed.
              * bindings/js/JSCustomPositionErrorCallback.cpp: Removed.
              * bindings/js/JSCustomPositionErrorCallback.h: Removed.
              * bindings/js/JSDOMBinding.cpp:
              * bindings/js/JSDOMBinding.h:
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::markDOMObjectWrapper):
              * bindings/js/JSGeolocationCustom.cpp: Removed.
              * bindings/js/JSNavigatorCustom.cpp:
              * dom/Document.cpp:
              (WebCore::Document::Document):
              * dom/Document.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::canCachePage):
              * page/Geolocation.cpp: Removed.
              * page/Geolocation.h: Removed.
              * page/Geolocation.idl: Removed.
              * page/Geoposition.cpp: Removed.
              * page/Geoposition.h: Removed.
              * page/Geoposition.idl: Removed.
              * page/Navigator.cpp:
              (WebCore::Navigator::disconnectFrame):
              * page/Navigator.h:
              * page/Navigator.idl:
              * page/PositionCallback.h: Removed.
              * page/PositionCallback.idl: Removed.
              * page/PositionError.h: Removed.
              * page/PositionError.idl: Removed.
              * page/PositionErrorCallback.h: Removed.
              * page/PositionErrorCallback.idl: Removed.
              * page/PositionOptions.h: Removed.
              * page/PositionOptions.idl: Removed.
              * platform/GeolocationService.cpp: Removed.
              * platform/GeolocationService.h: Removed.
      
      LayoutTests:
      
              Rolled out r37840.
      
              * geolocation/geolocation-not-implemented-expected.txt: Removed.
              * geolocation/geolocation-not-implemented.html: Removed.
              * geolocation/geolocation-test.js: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f3c9aa4
  2. 23 Oct, 2008 19 commits
    • ddkilzer@apple.com's avatar
      Attempt to fix GTK build. · 4a4be180
      ddkilzer@apple.com authored
              * GNUmakefile.am: Added new *.idl files that were missing.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a4be180
    • ddkilzer@apple.com's avatar
      JavaScriptCore: · c9e37fd2
      ddkilzer@apple.com authored
      2008-10-23  Greg Bolsinga  <bolsinga@apple.com>
      
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=21475
              
              Provide support for the Geolocation API
              
              http://dev.w3.org/geo/api/spec-source.html
      
              * wtf/Platform.h: ENABLE_GEOLOCATION defaults to 0
      
      WebCore:
      
      2008-10-23  Greg Bolsinga  <bolsinga@apple.com>
      
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=21475
              
              Provide support for the Geolocation API
              
              http://dev.w3.org/geo/api/spec-source.html
      
              Test: geolocation/geolocation-not-implemented.html
      
              * DerivedSources.make:
              * GNUmakefile.am: Added Geolocation support
              * WebCore.pro: Added Geolocation support
              * WebCore.vcproj/WebCore.vcproj: Added Geolocation support
              * WebCore.xcodeproj/project.pbxproj: Added Geolocation support
              * WebCoreSources.bkl: Added Geolocation support
              * bindings/js/JSCustomPositionCallback.cpp: Added.
              (WebCore::JSCustomPositionCallback::JSCustomPositionCallback):
              (WebCore::JSCustomPositionCallback::handleEvent):
              * bindings/js/JSCustomPositionCallback.h: Added.
              (WebCore::JSCustomPositionCallback::create):
              * bindings/js/JSCustomPositionErrorCallback.cpp: Added.
              (WebCore::JSCustomPositionErrorCallback::JSCustomPositionErrorCallback):
              (WebCore::JSCustomPositionErrorCallback::handleEvent):
              * bindings/js/JSCustomPositionErrorCallback.h: Added.
              (WebCore::JSCustomPositionErrorCallback::create):
              * bindings/js/JSDOMBinding.cpp: move markDOMObjectWrapper here from JSDOMWindowCustom
              (WebCore::markDOMObjectWrapper):
              * bindings/js/JSDOMBinding.h: move markDOMObjectWrapper here from JSDOMWindowCustom
              * bindings/js/JSDOMWindowCustom.cpp: move markDOMObjectWrapper to JSDOMBinding
              * bindings/js/JSGeolocationCustom.cpp: Added.
              (WebCore::JSGeolocation::getCurrentPosition):
              (WebCore::JSGeolocation::watchPosition):
              * bindings/js/JSNavigatorCustom.cpp: handle marking Geolocation
              (WebCore::JSNavigator::mark):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              * dom/Document.h:
              (WebCore::Document::setUsingGeolocation):
              (WebCore::Document::usingGeolocation):
              * loader/FrameLoader.cpp: don't add to back forward cache if using Geolocation
              (WebCore::FrameLoader::canCachePage):
              * page/Geolocation.cpp: Added.
              (WebCore::Geolocation::GeoNotifier::GeoNotifier):
              (WebCore::Geolocation::GeoNotifier::timerFired):
              (WebCore::Geolocation::Geolocation):
              (WebCore::Geolocation::disconnectFrame):
              (WebCore::Geolocation::getCurrentPosition):
              (WebCore::Geolocation::watchPosition):
              (WebCore::Geolocation::clearWatch):
              (WebCore::Geolocation::stopUpdatingIfEmpty):
              (WebCore::Geolocation::sendErrorToOneShots):
              (WebCore::Geolocation::sendErrorToWatchers):
              (WebCore::Geolocation::sendPositionToOneShots):
              (WebCore::Geolocation::sendPositionToWatchers):
              (WebCore::Geolocation::handleError):
              (WebCore::Geolocation::geolocationServicePositionChanged):
              (WebCore::Geolocation::geolocationServiceErrorOccurred):
              * page/Geolocation.h: Added.
              (WebCore::Geolocation::create):
              (WebCore::Geolocation::~Geolocation):
              (WebCore::Geolocation::lastPosition):
              (WebCore::Geolocation::GeoNotifier::create):
              * page/Geolocation.idl: Added.
              * page/Geoposition.cpp: Added.
              (WebCore::Geoposition::toString):
              * page/Geoposition.h: Added.
              (WebCore::Geoposition::create):
              (WebCore::Geoposition::latitude):
              (WebCore::Geoposition::longitude):
              (WebCore::Geoposition::altitude):
              (WebCore::Geoposition::accuracy):
              (WebCore::Geoposition::altitudeAccuracy):
              (WebCore::Geoposition::heading):
              (WebCore::Geoposition::velocity):
              (WebCore::Geoposition::timestamp):
              (WebCore::Geoposition::Geoposition):
              * page/Geoposition.idl: Added.
              * page/Navigator.cpp:
              (WebCore::Navigator::disconnectFrame): disconnect Geolocation
              (WebCore::Navigator::geolocation): accessor for Geolocation
              * page/Navigator.h:
              (WebCore::Navigator::optionalGeolocation): accessor for Geolocation
              * page/Navigator.idl: accessor for Geolocation
              * page/PositionCallback.h: Added.
              (WebCore::PositionCallback::~PositionCallback):
              * page/PositionCallback.idl: Added.
              * page/PositionError.h: Added.
              (WebCore::PositionError::):
              (WebCore::PositionError::create):
              (WebCore::PositionError::code):
              (WebCore::PositionError::message):
              (WebCore::PositionError::PositionError):
              * page/PositionError.idl: Added.
              * page/PositionErrorCallback.h: Added.
              (WebCore::PositionErrorCallback::~PositionErrorCallback):
              * page/PositionErrorCallback.idl: Added.
              * page/PositionOptions.h: Added.
              (WebCore::PositionOptions::create):
              (WebCore::PositionOptions::enableHighAccuracy):
              (WebCore::PositionOptions::setEnableHighAccuracy):
              (WebCore::PositionOptions::timeout):
              (WebCore::PositionOptions::setTimeout):
              (WebCore::PositionOptions::PositionOptions):
              * page/PositionOptions.idl: Added.
              * platform/GeolocationService.cpp: Added.
              (WebCore::GeolocationService::GeolocationService):
              (WebCore::GeolocationService::positionChanged):
              (WebCore::GeolocationService::errorOccurred):
              * platform/GeolocationService.h: Added.
              (WebCore::GeolocationServiceClient::~GeolocationServiceClient):
              (WebCore::GeolocationServiceClient::geolocationServicePositionChanged):
              (WebCore::GeolocationServiceClient::geolocationServiceErrorOccurred):
              (WebCore::GeolocationService::~GeolocationService):
      
      LayoutTests:
      
      2008-10-23  Greg Bolsinga  <bolsinga@apple.com>
      
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=21475
              
              Provide support for the Geolocation API
              
              http://dev.w3.org/geo/api/spec-source.html
      
              Tests to verify Geolocation isn't implemented (so that it didn't leak into 
              WebCore for platforms that do not support it).
      
              * geolocation: Added.
              * geolocation/geolocation-not-implemented-expected.txt: Added.
              * geolocation/geolocation-not-implemented.html: Added.
              * geolocation/geolocation-test.js: Added.
              (reset):
              (hanged):
              (watchPositionAndEnd):
              (watchPosition._positionCallback):
              (watchPosition):
              (watchPositionTestAndEnd):
              (watchPositionAndFail):
              (watchPositionAndTest._positionCallback):
              (watchPositionAndTest):
              (getCurrentPositionAndEnd):
              (getCurrentPosition._positionCallback):
              (getCurrentPosition):
              (getCurrentPositionTestAndEnd):
              (getCurrentPositionAndFail):
              (getCurrentPositionAndTest._positionCallback):
              (getCurrentPositionAndTest):
              (endTest):
              (relativeURL):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9e37fd2
    • alp@webkit.org's avatar
      2008-10-23 Alp Toker <alp@nuanti.com> · 4e4aac33
      alp@webkit.org authored
              Fix typo in comment in previous commit. GTK -> GLIB
      
              * platform/gtk/guriescape.c:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e4aac33
    • alp@webkit.org's avatar
      2008-10-23 Kalle Vahlman <kalle.vahlman@movial.com> · 274a3a10
      alp@webkit.org authored
              Reviewed by Alp Toker.
      
              https://bugs.webkit.org/show_bug.cgi?id=21824
              [GTK] FileSystem abstraction uses features from Glib 2.16
      
              Wrap g_uri_unescape_string() to fix building with pre-2.16 Glib
      
              * platform/gtk/guriescape.c:
              (unescape_character):
              (_webcore_g_uri_unescape_segment):
              (_webcore_g_uri_unescape_string):
              * platform/gtk/guriescape.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      274a3a10
    • jmalonzo@webkit.org's avatar
      2008-10-23 Jan Michael Alonzo <jmalonzo@webkit.org> · a721ed5b
      jmalonzo@webkit.org authored
              Fix Gtk build typo introduced in http://trac.webkit.org/changeset/37826.
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a721ed5b
    • darin@chromium.org's avatar
      2008-10-23 Darin Fisher <darin@chromium.org> · 65ff24c9
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              m_frame null checked but then dereferenced
              https://bugs.webkit.org/show_bug.cgi?id=21845
      
              This error was found using a static analysis tool, and so I do not know
              how to produce a null m_frame on entry to this method.  Hence, I have
              not included a regression test.
      
              * page/EventHandler.cpp:
              (WebCore::EventHandler::allowDHTMLDrag): Add an early return.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65ff24c9
    • kmccullough@apple.com's avatar
      2008-10-23 Kevin McCullough <kmccullough@apple.com> · eb5dc783
      kmccullough@apple.com authored
              Rubber stamped by Mark Rowe.
      
              -Skipping the profiler tests until we know why they fail on tiger:
              <rdar://problem/6316530> Profiler tests fail on tiger
      
              * platform/mac-tiger/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb5dc783
    • ddkilzer@apple.com's avatar
      Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10 · 634df153
      ddkilzer@apple.com authored
      JavaScriptCore:
      
              Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
      
              <https://bugs.webkit.org/show_bug.cgi?id=21832>
      
              Reviewed by Sam Weinig.
      
              * pcre/dftables: Use imported tempfile() from File::Temp instead of
              'new File::Temp' to make the script work with Perl 5.10.
      
      WebKitTools:
      
              Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
      
              <https://bugs.webkit.org/show_bug.cgi?id=21832>
      
              Reviewed by Sam Weinig.
      
              * Scripts/bisect-builds: Use imported tempfile() from File::Temp
              instead of 'new File::Temp' to make the script work with Perl 5.10.
              * Scripts/sort-Xcode-project-file: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      634df153
    • barraclough@apple.com's avatar
      2008-10-23 Gavin Barraclough <barraclough@apple.com> · e9642656
      barraclough@apple.com authored
              Reviewed by Oliver Hunt.
      
              Fix hideous pathological case performance when looking up repatch info, bug #21727.
      
              When repatching JIT code to optimize we look up records providing information about
              the generated code (also used to track recsources used in linking to be later released). 
              The lookup was being performed using a linear scan of all such records.
      
              (1) Split up the different types of reptach information.  This means we can search them
                  separately, and in some cases should reduce their size.
              (2) In the case of property accesses, search with a binary chop over the data.
              (3) In the case of calls, pass a pointer to the repatch info into the relink function.
      
              * VM/CTI.cpp:
              (JSC::CTI::CTI):
              (JSC::CTI::compileOpCall):
              (JSC::CTI::privateCompileMainPass):
              (JSC::CTI::privateCompileSlowCases):
              (JSC::CTI::privateCompile):
              (JSC::CTI::unlinkCall):
              (JSC::CTI::linkCall):
              * VM/CTI.h:
              * VM/CodeBlock.cpp:
              (JSC::CodeBlock::dump):
              (JSC::CodeBlock::~CodeBlock):
              (JSC::CodeBlock::unlinkCallers):
              (JSC::CodeBlock::derefStructureIDs):
              * VM/CodeBlock.h:
              (JSC::StructureStubInfo::StructureStubInfo):
              (JSC::CallLinkInfo::CallLinkInfo):
              (JSC::CallLinkInfo::setUnlinked):
              (JSC::CallLinkInfo::isLinked):
              (JSC::getStructureStubInfoReturnLocation):
              (JSC::binaryChop):
              (JSC::CodeBlock::addCaller):
              (JSC::CodeBlock::getStubInfo):
              * VM/CodeGenerator.cpp:
              (JSC::CodeGenerator::emitResolve):
              (JSC::CodeGenerator::emitGetById):
              (JSC::CodeGenerator::emitPutById):
              (JSC::CodeGenerator::emitCall):
              (JSC::CodeGenerator::emitConstruct):
              * VM/Machine.cpp:
              (JSC::Machine::cti_vm_lazyLinkCall):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9642656
    • kmccullough@apple.com's avatar
      2008-10-23 Kevin McCullough <kmccullough@apple.com> · b7fd8c75
      kmccullough@apple.com authored
              Forgot to remove the tests from the skipped lists, this should have been
              apart of the last checkin.
      
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7fd8c75
    • kmccullough@apple.com's avatar
      2008-10-23 Kevin McCullough <kmccullough@apple.com> · 5b0d1ee6
      kmccullough@apple.com authored
              Reviewed by Tim Hatcher.
      
              https://bugs.webkit.org/show_bug.cgi?id=21817
              Bug 21817: Manual profiler tests should be made into layout tests
      
              - Added the expected results for the profiler tests and removed the
              tests from the skipped list.
              - Also removed two tests that were accidentally checked in previously.
              - Also changed the text on the tests to be more apparent how to run them
              manually.
      
              * fast/profiler/anonymous-event-handler-expected.txt: Added.
              * fast/profiler/anonymous-event-handler.html:
              * fast/profiler/anonymous-function-called-from-different-contexts-expected.txt: Added.
              * fast/profiler/anonymous-function-called-from-different-contexts.html:
              * fast/profiler/anonymous-function-calls-built-in-functions-expected.txt: Added.
              * fast/profiler/anonymous-function-calls-built-in-functions.html:
              * fast/profiler/anonymous-function-calls-eval-expected.txt: Added.
              * fast/profiler/anonymous-function-calls-eval.html:
              * fast/profiler/apply-expected.txt: Added.
              * fast/profiler/apply.html:
              * fast/profiler/built-in-function-calls-anonymous-expected.txt: Added.
              * fast/profiler/built-in-function-calls-anonymous.html:
              * fast/profiler/built-in-function-calls-user-defined-function-expected.txt: Added.
              * fast/profiler/built-in-function-calls-user-defined-function.html:
              * fast/profiler/call-expected.txt: Added.
              * fast/profiler/call-nodelist-as-function-expected.txt: Added.
              * fast/profiler/call-nodelist-as-function.html:
              * fast/profiler/call.html: Added.
              * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope-expected.txt: Added.
              * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html:
              * fast/profiler/compare-multiple-profiles-expected.txt: Added.
              * fast/profiler/compare-multiple-profiles.html:
              * fast/profiler/constructor-expected.txt: Added.
              * fast/profiler/constructor.html:
              * fast/profiler/dead-time-expected.txt: Added.
              * fast/profiler/dead-time.html:
              * fast/profiler/deep-recursion.html: Removed.
              * fast/profiler/document-dot-write-expected.txt: Added.
              * fast/profiler/document-dot-write.html:
              * fast/profiler/event-handler-expected.txt: Added.
              * fast/profiler/event-handler.html:
              * fast/profiler/execution-context-and-eval-on-same-line-expected.txt: Added.
              * fast/profiler/execution-context-and-eval-on-same-line.html:
              * fast/profiler/heavy-view-expected.txt: Added.
              * fast/profiler/heavy-view.html:
              * fast/profiler/inline-event-handler-expected.txt: Added.
              * fast/profiler/inline-event-handler.html:
              * fast/profiler/many-calls-in-the-same-scope-expected.txt: Added.
              * fast/profiler/many-calls-in-the-same-scope.html: Added.
              * fast/profiler/multiple-and-different-scoped-anonymous-function-calls-expected.txt: Added.
              * fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html:
              * fast/profiler/multiple-and-different-scoped-function-calls-expected.txt: Added.
              * fast/profiler/multiple-and-different-scoped-function-calls.html:
              * fast/profiler/multiple-frames-expected.txt: Added.
              * fast/profiler/multiple-frames.html:
              * fast/profiler/multiple-windows.html: Removed.
              * fast/profiler/nested-anonymous-functon-expected.txt: Added.
              * fast/profiler/nested-anonymous-functon.html:
              * fast/profiler/nested-start-and-stop-profiler-expected.txt: Added.
              * fast/profiler/nested-start-and-stop-profiler.html:
              * fast/profiler/no-execution-context-expected.txt: Added.
              * fast/profiler/no-execution-context.html:
              * fast/profiler/one-execution-context-expected.txt: Added.
              * fast/profiler/one-execution-context.html:
              * fast/profiler/profile-calls-in-included-file-expected.txt: Added.
              * fast/profiler/profile-calls-in-included-file.html:
              * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting-expected.txt: Added.
              * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html:
              * fast/profiler/profiling-from-a-nested-location-expected.txt: Added.
              * fast/profiler/profiling-from-a-nested-location.html:
              * fast/profiler/simple-event-call-expected.txt: Added.
              * fast/profiler/simple-event-call.html:
              * fast/profiler/simple-no-level-change-expected.txt: Added.
              * fast/profiler/simple-no-level-change.html:
              * fast/profiler/start-and-stop-profiler-multiple-times-expected.txt: Added.
              * fast/profiler/start-and-stop-profiler-multiple-times.html:
              * fast/profiler/start-and-stop-profiling-in-the-same-function-expected.txt: Added.
              * fast/profiler/start-and-stop-profiling-in-the-same-function.html:
              * fast/profiler/start-but-dont-stop-profiling-expected.txt: Added.
              * fast/profiler/start-but-dont-stop-profiling.html:
              * fast/profiler/stop-profiling-after-setTimeout-expected.txt: Added.
              * fast/profiler/stop-profiling-after-setTimeout.html:
              * fast/profiler/stop-then-function-call-expected.txt: Added.
              * fast/profiler/stop-then-function-call.html:
              * fast/profiler/throw-exception-from-eval-expected.txt: Added.
              * fast/profiler/throw-exception-from-eval.html:
              * fast/profiler/two-execution-contexts-expected.txt: Added.
              * fast/profiler/two-execution-contexts.html:
              * fast/profiler/user-defined-function-calls-built-in-functions-expected.txt: Added.
              * fast/profiler/user-defined-function-calls-built-in-functions.html:
              * fast/profiler/window-dot-eval-expected.txt: Added.
              * fast/profiler/window-dot-eval.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b0d1ee6
    • mitz@apple.com's avatar
      WebCore: · 83d2e872
      mitz@apple.com authored
              Reviewed by Sam Weinig with no hesitation.
      
              - fix the HTML/CSS case of https://bugs.webkit.org/show_bug.cgi?id=19839
                <rdar://problem/6304805> A PDF,RLE sequence that should be a no-op affects bidi reordering
      
              Test: fast/text/bidi-embedding-pop-and-push-same.html
      
              * platform/text/BidiResolver.h:
              (WebCore::BidiResolver::embed): Changed to only add the embedding
              operation to a vector of pending operations.
      
              (WebCore::BidiResolver::lowerExplicitEmbeddingLevel): Added. Moved the
              code that used to be in the PDF case of embed() here, except the part
              that sets the context.
      
              (WebCore::BidiResolver::raiseExplicitEmbeddingLevel): Added. Moved the
              code that used to be in the non-PDF case of embed() here, except the
              part the sets the context.
      
              (WebCore::BidiResolver::commitExplicitEmbedding): Added. Processes the
              explicit embedding operations in the vector by creating an updated
              context and determining the old and new embedding levels. If the levels
              are not the same, calls {lower,raise}ExplicitEmbeddingLevel(). Always
              sets the context to the new one.
      
              (WebCore::BidiResolver::createBidiRunsForLine): Added calls to
              commitExplicitEmbedding() after calling embed() and after calling
              increment().
      
              * rendering/bidi.cpp:
              (WebCore::bidiFirst): Added calls to commitExplicitEmbedding() because
              this function increments the resolver.
      
              (WebCore::RenderBlock::skipLeadingWhitespace): Ditto.
      
      LayoutTests:
      
              Reviewed by Sam Weinig with no hesitation.
      
              - test for the HTML/CSS case of https://bugs.webkit.org/show_bug.cgi?id=19839
                <rdar://problem/6304805> A PDF,RLE sequence that should be a no-op affects bidi reordering
      
              * fast/text/bidi-embedding-pop-and-push-same.html: Added.
              * platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.checksum: Added.
              * platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.png: Added.
              * platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83d2e872
    • mrowe@apple.com's avatar
      Build fix. · d4dce5b8
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4dce5b8
    • jmalonzo@webkit.org's avatar
      2008-10-23 Jan Michael Alonzo <jmalonzo@webkit.org> · 2af1d5f9
      jmalonzo@webkit.org authored
              Gtk build fix. Not reviewed.
      
              Add DNSCurl and DNSSoup to the Gtk build
      
              * GNUmakefile.am:
              * platform/gtk/TemporaryLinkStubs.cpp:
              * platform/network/soup/DNSSoup.cpp: Copied from WebCore/platform/network/curl/DNSCurl.cpp.
              (WebCore::prefetchDNS):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2af1d5f9
    • eric@webkit.org's avatar
      Reviewed by Sam Weinig. · 378afbe0
      eric@webkit.org authored
              Un-break the Darwin build.
      
              * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
              * platform/graphics/cg/ImageCG.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      378afbe0
    • darin@chromium.org's avatar
      2008-10-23 Darin Fisher <darin@chromium.org> · 9573fd42
      darin@chromium.org authored
              Reviewed by Eric Seidel.
      
              Fix forward decls to be struct instead of class.
              https://bugs.webkit.org/show_bug.cgi?id=21838
      
              * rendering/style/StyleRareInheritedData.h:
              * rendering/style/StyleRareNonInheritedData.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9573fd42
    • weinig@apple.com's avatar
      2008-10-23 Brent Fulgham <bfulgham@gmail.com> · bb96c632
      weinig@apple.com authored
              Reviewed by Oliver Hunt.
      
              * platform/network/curl/ResourceRequest.h:  A better implementation
                of CFURLRequest, rather than void*.  This gives better compatibility 
                with the WebKit.idl interface.
              (WebCore::ResourceRequest::cfURLRequest):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb96c632
    • kmccullough@apple.com's avatar
      2008-10-23 Kevin McCullough <kmccullough@apple.com> · 63e67135
      kmccullough@apple.com authored
              Reviewed by Tim Hatcher.
      
              https://bugs.webkit.org/show_bug.cgi?id=21817
              Bug 21817: Manual profiler tests should be made into layout tests
      
              - Here are the changes to the tests.  The most significant part is the
              change to profiler-test-JS-resources.js where endTest will now notify
              the layout test controller if it was waiting and call the print function
              to iterate over all of the profiles and log their structure.
              - Most of these tests changed to include the layoutTestController, use
              endTest() or call the print function directly if there was some reason
              that they could not use endTest().
      
              * fast/profiler/resources/profiler-test-JS-resources.js:
              (endTest): Stop any waits and print the profile information.
              (printHeavyProfilesDataWithoutTime): Print all profile information in 
              heavy view, without time.
              (printProfilesDataWithoutTime): Print all profile information in tree
              view, without time.
              (printProfileNodeWithoutTime): Print a profile node's informmation and
              all of it's children's information.
              * fast/profiler/anonymous-event-handler.html:
              * fast/profiler/anonymous-function-called-from-different-contexts.html:
              * fast/profiler/anonymous-function-calls-built-in-functions.html:
              * fast/profiler/anonymous-function-calls-eval.html:
              * fast/profiler/apply.html:
              * fast/profiler/built-in-function-calls-anonymous.html:
              * fast/profiler/built-in-function-calls-user-defined-function.html:
              * fast/profiler/call-nodelist-as-function.html:
              * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html:
              * fast/profiler/compare-multiple-profiles.html:
              * fast/profiler/constructor.html:
              * fast/profiler/dead-time.html:
              * fast/profiler/deep-recursion.html:
              * fast/profiler/document-dot-write.html:
              * fast/profiler/event-handler.html:
              * fast/profiler/execution-context-and-eval-on-same-line.html:
              * fast/profiler/heavy-view.html:
              * fast/profiler/inline-event-handler.html:
              * fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html:
              * fast/profiler/multiple-and-different-scoped-function-calls.html:
              * fast/profiler/multiple-frames.html:
              * fast/profiler/nested-anonymous-functon.html:
              * fast/profiler/nested-start-and-stop-profiler.html:
              * fast/profiler/no-execution-context.html:
              * fast/profiler/one-execution-context.html:
              * fast/profiler/profile-calls-in-included-file.html:
              * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html:
              * fast/profiler/profiling-from-a-nested-location.html:
              * fast/profiler/simple-event-call.html:
              * fast/profiler/simple-no-level-change.html:
              * fast/profiler/start-and-stop-profiler-multiple-times.html:
              * fast/profiler/start-and-stop-profiling-in-the-same-function.html:
              * fast/profiler/start-but-dont-stop-profiling.html:
              * fast/profiler/stop-profiling-after-setTimeout.html:
              * fast/profiler/stop-then-function-call.html:
              * fast/profiler/throw-exception-from-eval.html:
              * fast/profiler/two-execution-contexts.html:
              * fast/profiler/user-defined-function-calls-built-in-functions.html:
              * fast/profiler/window-dot-eval.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63e67135
    • eric@webkit.org's avatar
      2008-10-23 Mike Pinkerton <pinkerton@chromium.org> · b7074c08
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              PLATFORM(CHROMIUM) uses CG the same way PLATFORM(MAC) does so fix
              ifdefs to reflect that.
      
              * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h:
              * platform/graphics/cg/ImageCG.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7074c08