- 04 Nov, 2008 10 commits
-
-
cwzwarich@webkit.org authored
Reviewed by Alexey Proskuryakov. Move AllInOneFile.cpp to the top level of JavaScriptCore. * AllInOneFile.cpp: Copied from kjs/AllInOneFile.cpp. * GNUmakefile.am: * JavaScriptCore.xcodeproj/project.pbxproj: * kjs/AllInOneFile.cpp: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=22030 Make EventNames usable from multiple threads * platform/text/AtomicString.cpp: (WebCore::stringTable): (WebCore::AtomicString::add): (WebCore::AtomicString::remove): (WebCore::AtomicString::find): (WebCore::AtomicString::init): * platform/text/AtomicString.h: Atomic string table is now per-thread. Individual strings cannot be shared between threads, so global AtomicString constants cannot be used from threads other than the main one. * dom/EventNames.cpp: (WebCore::EventNames::EventNames): (WebCore::eventNames): (WebCore::EventNames::init): * dom/EventNames.h: Made EventNames a ThreadSpecific struct. Individual event names are now accessed as eventNames().fooEvent, not EventNames::fooEvent. This makes EventNames usable from all threads. * <Many files>: Access event names via eventNames() function. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Rubber-stamped by Alexey Proskuryakov. Add NodeInfo.h to the JavaScriptCore Xcode project. * JavaScriptCore.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Mark Rowe. Delete unused forwarding headers. WebCore: * ForwardingHeaders/kjs/Activation.h: Removed. * ForwardingHeaders/kjs/Register.h: Removed. * ForwardingHeaders/kjs/RegisterID.h: Removed. WebKit/mac: * ForwardingHeaders/kjs/string_object.h: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Mark Rowe. Remove JavaScriptGlue forwarding headers that are no longer necessary, and correct the path of the ExecState.h forwarding header. * ForwardingHeaders/kjs: Removed. * ForwardingHeaders/kjs/CTI.h: Removed. * ForwardingHeaders/kjs/ExecState.h: Removed. * ForwardingHeaders/kjs/JSValue.h: Removed. * ForwardingHeaders/kjs/PutPropertySlot.h: Removed. * ForwardingHeaders/kjs/ustring.h: Removed. * ForwardingHeaders/runtime: Added. * ForwardingHeaders/runtime/ExecState.h: Copied from ForwardingHeaders/kjs/ExecState.h. * config.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Not reviewed. Fix stupid typo in previous build fix. * bindings/js/JSStorageCustom.cpp: * bindings/scripts/CodeGeneratorJS.pm: * bridge/NP_jsobject.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Not reviewed. Fix the build for all non-Mac platforms. * ForwardingHeaders/kjs/PropertyNameArray.h: Removed. * ForwardingHeaders/runtime/PropertyNameArray.h: Copied from ForwardingHeaders/kjs/PropertyNameArray.h. * bindings/js/JSStorageCustom.cpp: * bindings/scripts/CodeGeneratorJS.pm: * bridge/NP_jsobject.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Not reviewed. Fix the wxWindows build. * bridge/c/c_instance.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Rubber-stamped by Maciej Stachowiak. Move more files into the runtime subdirectory of JavaScriptCore. JavaScriptCore: * API/JSBase.cpp: * API/JSCallbackConstructor.cpp: * API/JSCallbackFunction.cpp: * API/JSClassRef.cpp: * API/OpaqueJSString.cpp: * GNUmakefile.am: * JavaScriptCore.pri: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: * JavaScriptCore.xcodeproj/project.pbxproj: * JavaScriptCoreSources.bkl: * kjs/AllInOneFile.cpp: * kjs/ArgList.cpp: Removed. * kjs/ArgList.h: Removed. * kjs/Arguments.cpp: Removed. * kjs/Arguments.h: Removed. * kjs/BatchedTransitionOptimizer.h: Removed. * kjs/CollectorHeapIterator.h: Removed. * kjs/CommonIdentifiers.cpp: Removed. * kjs/CommonIdentifiers.h: Removed. * kjs/ExecState.cpp: Removed. * kjs/ExecState.h: Removed. * kjs/GetterSetter.cpp: Removed. * kjs/GetterSetter.h: Removed. * kjs/InitializeThreading.cpp: Removed. * kjs/InitializeThreading.h: Removed. * kjs/JSActivation.cpp: Removed. * kjs/JSActivation.h: Removed. * kjs/JSGlobalData.cpp: Removed. * kjs/JSGlobalData.h: Removed. * kjs/JSLock.cpp: Removed. * kjs/JSLock.h: Removed. * kjs/JSStaticScopeObject.cpp: Removed. * kjs/JSStaticScopeObject.h: Removed. * kjs/JSType.h: Removed. * kjs/PropertyNameArray.cpp: Removed. * kjs/PropertyNameArray.h: Removed. * kjs/ScopeChain.cpp: Removed. * kjs/ScopeChain.h: Removed. * kjs/ScopeChainMark.h: Removed. * kjs/SymbolTable.h: Removed. * kjs/Tracing.d: Removed. * kjs/Tracing.h: Removed. * runtime/ArgList.cpp: Copied from kjs/ArgList.cpp. * runtime/ArgList.h: Copied from kjs/ArgList.h. * runtime/Arguments.cpp: Copied from kjs/Arguments.cpp. * runtime/Arguments.h: Copied from kjs/Arguments.h. * runtime/BatchedTransitionOptimizer.h: Copied from kjs/BatchedTransitionOptimizer.h. * runtime/CollectorHeapIterator.h: Copied from kjs/CollectorHeapIterator.h. * runtime/CommonIdentifiers.cpp: Copied from kjs/CommonIdentifiers.cpp. * runtime/CommonIdentifiers.h: Copied from kjs/CommonIdentifiers.h. * runtime/ExecState.cpp: Copied from kjs/ExecState.cpp. * runtime/ExecState.h: Copied from kjs/ExecState.h. * runtime/GetterSetter.cpp: Copied from kjs/GetterSetter.cpp. * runtime/GetterSetter.h: Copied from kjs/GetterSetter.h. * runtime/InitializeThreading.cpp: Copied from kjs/InitializeThreading.cpp. * runtime/InitializeThreading.h: Copied from kjs/InitializeThreading.h. * runtime/JSActivation.cpp: Copied from kjs/JSActivation.cpp. * runtime/JSActivation.h: Copied from kjs/JSActivation.h. * runtime/JSGlobalData.cpp: Copied from kjs/JSGlobalData.cpp. * runtime/JSGlobalData.h: Copied from kjs/JSGlobalData.h. * runtime/JSLock.cpp: Copied from kjs/JSLock.cpp. * runtime/JSLock.h: Copied from kjs/JSLock.h. * runtime/JSStaticScopeObject.cpp: Copied from kjs/JSStaticScopeObject.cpp. * runtime/JSStaticScopeObject.h: Copied from kjs/JSStaticScopeObject.h. * runtime/JSType.h: Copied from kjs/JSType.h. * runtime/PropertyNameArray.cpp: Copied from kjs/PropertyNameArray.cpp. * runtime/PropertyNameArray.h: Copied from kjs/PropertyNameArray.h. * runtime/ScopeChain.cpp: Copied from kjs/ScopeChain.cpp. * runtime/ScopeChain.h: Copied from kjs/ScopeChain.h. * runtime/ScopeChainMark.h: Copied from kjs/ScopeChainMark.h. * runtime/SymbolTable.h: Copied from kjs/SymbolTable.h. * runtime/Tracing.d: Copied from kjs/Tracing.d. * runtime/Tracing.h: Copied from kjs/Tracing.h. WebCore: * ForwardingHeaders/kjs/ArgList.h: Removed. * ForwardingHeaders/kjs/CollectorHeapIterator.h: Removed. * ForwardingHeaders/kjs/ExecState.h: Removed. * ForwardingHeaders/kjs/InitializeThreading.h: Removed. * ForwardingHeaders/kjs/JSGlobalData.h: Removed. * ForwardingHeaders/kjs/JSLock.h: Removed. * ForwardingHeaders/kjs/SymbolTable.h: Removed. * ForwardingHeaders/runtime/ArgList.h: Copied from ForwardingHeaders/kjs/ArgList.h. * ForwardingHeaders/runtime/CollectorHeapIterator.h: Copied from ForwardingHeaders/kjs/CollectorHeapIterator.h. * ForwardingHeaders/runtime/ExecState.h: Copied from ForwardingHeaders/kjs/ExecState.h. * ForwardingHeaders/runtime/InitializeThreading.h: Copied from ForwardingHeaders/kjs/InitializeThreading.h. * ForwardingHeaders/runtime/JSGlobalData.h: Copied from ForwardingHeaders/kjs/JSGlobalData.h. * ForwardingHeaders/runtime/JSLock.h: Copied from ForwardingHeaders/kjs/JSLock.h. * ForwardingHeaders/runtime/SymbolTable.h: Copied from ForwardingHeaders/kjs/SymbolTable.h. * bindings/js/GCController.cpp: * bindings/js/JSCustomPositionCallback.cpp: * bindings/js/JSCustomPositionErrorCallback.cpp: * bindings/js/JSCustomSQLStatementCallback.cpp: * bindings/js/JSCustomSQLStatementErrorCallback.cpp: * bindings/js/JSCustomSQLTransactionCallback.cpp: * bindings/js/JSCustomSQLTransactionErrorCallback.cpp: * bindings/js/JSCustomVoidCallback.cpp: * bindings/js/JSCustomXPathNSResolver.cpp: * bindings/js/JSDOMWindowBase.cpp: * bindings/js/JSEventCustom.cpp: * bindings/js/JSEventListener.cpp: * bindings/js/JSNodeFilterCondition.cpp: * bindings/js/ScheduledAction.cpp: * bindings/js/ScriptController.cpp: * bindings/js/ScriptControllerMac.mm: * bindings/objc/WebScriptObject.mm: * bridge/NP_jsobject.cpp: * bridge/c/c_class.cpp: * bridge/c/c_instance.cpp: * bridge/c/c_runtime.cpp: * bridge/c/c_utility.cpp: * bridge/jni/jni_class.cpp: * bridge/jni/jni_instance.cpp: * 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/npruntime.cpp: * bridge/objc/objc_instance.mm: * bridge/objc/objc_runtime.mm: * bridge/objc/objc_utility.mm: * bridge/runtime.cpp: * dom/Document.cpp: * dom/Node.cpp: * dom/NodeFilter.cpp: * dom/NodeIterator.cpp: * dom/TreeWalker.cpp: * history/CachedPage.cpp: * inspector/InspectorController.cpp: * inspector/JavaScriptCallFrame.cpp: * inspector/JavaScriptCallFrame.h: * inspector/JavaScriptDebugServer.cpp: * inspector/JavaScriptProfileNode.cpp: * loader/FrameLoader.cpp: * loader/icon/IconDatabase.cpp: * page/Console.cpp: * page/Page.cpp: * page/mac/FrameMac.mm: * plugins/PluginView.cpp: * plugins/gtk/PluginViewGtk.cpp: * plugins/qt/PluginViewQt.cpp: * plugins/win/PluginViewWin.cpp: * storage/Database.cpp: * xml/XMLHttpRequest.cpp: WebKit/gtk: * webkit/webkitprivate.cpp: WebKit/mac: * ForwardingHeaders/kjs/JSLock.h: Removed. * ForwardingHeaders/kjs/SymbolTable.h: Removed. * ForwardingHeaders/runtime/JSLock.h: Copied from ForwardingHeaders/kjs/JSLock.h. * ForwardingHeaders/runtime/SymbolTable.h: Copied from ForwardingHeaders/kjs/SymbolTable.h. * Misc/WebCoreStatistics.mm: * Plugins/WebBaseNetscapePluginStream.mm: * Plugins/WebBaseNetscapePluginView.mm: * Plugins/WebPluginController.mm: * WebView/WebFrame.mm: * WebView/WebScriptDebugDelegate.mm: * WebView/WebView.mm: WebKit/qt: * Api/qwebpage.cpp: WebKit/win: * WebJavaScriptCollector.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- implement WebMutableURLRequest::setHTTPShouldHandleCookies() - add and implement WebMutableURLRequest::mutableCopy() * Interfaces/IWebURLRequest.idl: * WebMutableURLRequest.cpp: (WebMutableURLRequest::setHTTPShouldHandleCookies): (WebMutableURLRequest::mutableCopy): * WebMutableURLRequest.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Nov, 2008 17 commits
-
-
mrowe@apple.com authored
Pull the frequently-made check for drawingModel == NPDrawingModelQuickDraw out into a helper function to avoid #ifdef'ing all of the new places that this check is made. A few other #ifdef's are moved inside functions to allow their call sites to remain #ifdef-free, and we rely on the compiler to optimise out the check (which will always be false in 64-bit) instead. * Plugins/WebBaseNetscapePluginView.mm: (isDrawingModelQuickDraw): (-[WebBaseNetscapePluginView fixWindowPort]): (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]): (-[WebBaseNetscapePluginView sendEvent:isDrawRect:]): (-[WebBaseNetscapePluginView updateAndSetWindow]): (-[WebBaseNetscapePluginView start]): (-[WebBaseNetscapePluginView tellQuickTimeToChill]): (-[WebBaseNetscapePluginView viewWillMoveToWindow:]): (-[WebBaseNetscapePluginView _viewHasMoved]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
autotools distcleancheck fix. Add dolt-generated files and webkitenumtypes.h to the list of files that need to be cleaned. Unreviewed. * GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Sam Weinig. Remove the forwarding header for FunctionCallProfile, because it was renamed to ProfileNode in r33466. * ForwardingHeaders/kjs/FunctionCallProfile.h: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Dan Bernstein. Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox. https://bugs.webkit.org/show_bug.cgi?id=22054 * DumpRenderTree/mac/DumpRenderTree.mm: (setDefaultsToConsistentValuesForTesting): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs@apple.com authored
Reviewed by Kevin Decker. - fix release build (and unitialized variable for CG drawing model!) * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView sendEvent:isDrawRect:]): initialize portState in all code paths git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Mark Rowe. Move #define to turn on dumping StructureID statistics to StructureID.cpp so that turning it on does not require a full rebuild. * runtime/StructureID.cpp: (JSC::StructureID::dumpStatistics): * runtime/StructureID.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
simon.fraser@apple.com authored
Reviewed by Dave Hyatt https://bugs.webkit.org/show_bug.cgi?id=22026 When computing the bounds of the transparency layer, we need to map the clipRect through the enclosing transform. Test: fast/layers/opacity-transforms.html * rendering/RenderLayer.cpp: (WebCore::transparencyClipBox): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kdecker@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=22053 This patch adds initial support for the NPDrawingModelCoreAnimation drawing model. * Plugins/WebBaseNetscapePluginView.h: Added _layer ivar. * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]): ASSERT this is not a plug-in using NPDrawingModelCoreAnimation. (-[WebBaseNetscapePluginView restorePortState:]): Ditto. (-[WebBaseNetscapePluginView sendEvent:isDrawRect:]): Slightly refactored a small block of code which with the PortState. Plug-ins using the NPDrawingModelCoreAnimation drawing model have no PortState. (-[WebBaseNetscapePluginView isNewWindowEqualToOldWindow]): ASSERT this is not a plug-in using NPDrawingModelCoreAnimation (-[WebBaseNetscapePluginView updateAndSetWindow]): Ditto. (-[WebBaseNetscapePluginView setWindowIfNecessary]): Ditto. (-[WebBaseNetscapePluginView start]): If the plug-in is a plug-in using the Core Animation model, request a layer from it. (-[WebBaseNetscapePluginView drawRect:]): Return early for NPDrawingModelCoreAnimation plug-ins. (-[WebBaseNetscapePluginView getVariable:value:]): Tell plug-ins running on post-Tiger systems WebKit supports NPDrawingModelCoreAnimation. (-[WebBaseNetscapePluginView setVariable:value:]): Added the new NPDrawingModelCoreAnimation case, which initializes drawingMode. (-[WebBaseNetscapePluginView _viewHasMoved]): Reworded the conditional call to updateAndSetWindow to be specific to CoreGraphics and QuickDraw plug-ins. Reviewed by Anders Carlsson. https://bugs.webkit.org/show_bug.cgi?id=22053 Added additional support needed for the NPDrawingModelCoreAnimation drawing model. * bridge/npapi.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Geoffrey Garen. Fix warning when building on Darwin without JSC_MULTIPLE_THREADS enabled. * kjs/InitializeThreading.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Holger Freyther. Deprecate flawed webkit_web_frame_new() function. This would never have worked properly when used outside WebCore since Frame::create() can only be called without an owner element once in the lifetime of a Page and would result in assertions, leaks and an unusable WebView instance. Frame creation may be exposed in API some time later via the DOM binding but probably not in the WebKit GTK+ core API. * webkit/webkitwebframe.cpp: * webkit/webkitwebframe.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Alp Toker. Update parseDataUrl() function in the libsoup http backend with the one from the curl backend which has recent correctness and crash fixes. * platform/network/soup/ResourceHandleSoup.cpp: (WebCore::parseDataUrl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Holger Freyther. Redundant scrollbars appear in frames where they shouldn't be visible eg. embedded Google adverts. Call setCanHaveScrollbars() when necessary. The Mac and Win ports already have this but it was missing in FrameLoaderClientGtk. * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::transitionToCommittedForNewPage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Rubber-stamped by Holger Freyther. Sync WebKit GTK+ default UA version string to 528.5+. (We're still doing this manually!) * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::composeUserAgent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Rubber-stamped by Holger Freyther. Do not enable RTTI or exceptions in debug builds, matching release builds. They don't help much with debugging and significantly slow down and increase the size of the debug build. * GNUmakefile.am: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Alp Toker. https://bugs.webkit.org/show_bug.cgi?id=22041 Fix CURL crashes on the test suite Fix segfault with setDefersLoading(). Do not call into curl when we don't have a CURL handle. It is attempted to defer the loading before the load has been started (no curl handle was allocated yet). If that happens then just remember that. ResourceHandleManager::startJob is already taking care of this and in initResourceHandle the the downloading will be paused if needed. Fixes fast/loader/simultaneous-reloads-assert.html * platform/network/curl/ResourceHandleCurl.cpp: (WebCore::ResourceHandle::setDefersLoading): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Alp Toker. https://bugs.webkit.org/show_bug.cgi?id=22041 Fix CURL crashes on the test suite Do not send "no data" to WebCore in parseDataUrl(). Fixes assert on fast/tokenizer/image-empty-crash.html * platform/network/curl/ResourceHandleManager.cpp: (WebCore::parseDataUrl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Rubber-stamped by Holger Freyther. Add mingw32 case to dolt for faster GTK+ Windows builds. * acinclude.m4: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 02 Nov, 2008 3 commits
-
-
pewtermoose@webkit.org authored
Reviewed by Cameron Zwarich. Bug 22042: REGRESSION(r38066): ASSERTION FAILED: source in CodeBlock <https://bugs.webkit.org/show_bug.cgi?id=22042> Rename parameter name to avoid ASSERT. * VM/CodeBlock.h: (JSC::CodeBlock::CodeBlock): (JSC::ProgramCodeBlock::ProgramCodeBlock): (JSC::EvalCodeBlock::EvalCodeBlock): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
christian@webkit.org authored
Reviewed by Holger Freyther https://bugs.webkit.org/show_bug.cgi?id=22009 HTML5 Video with GStreamer pulls gnome-vfs without using it. * configure.ac: Remove gnome-vfs from configure.ac, it's unused. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Oliver Hunt. Bug 22035: Remove the '_' suffix on constructor parameter names for structs <https://bugs.webkit.org/show_bug.cgi?id=22035> * API/JSCallbackObject.h: (JSC::JSCallbackObject::JSCallbackObjectData::JSCallbackObjectData): * VM/CodeBlock.h: (JSC::CodeBlock::CodeBlock): (JSC::ProgramCodeBlock::ProgramCodeBlock): (JSC::EvalCodeBlock::EvalCodeBlock): * wrec/WREC.h: (JSC::Quantifier::Quantifier): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Nov, 2008 3 commits
-
-
abarth@webkit.org authored
2008-11-01 Adam Barth <abarth@webkit.org> Reviewed by Sam Weinig. Be sure to check the final URLs of requested resources to make sure we don't get fooled by HTTP redirects. https://bugs.webkit.org/show_bug.cgi?id=21963 Tests: http/tests/security/xss-DENIED-xsl-document-redirect.xml http/tests/security/xss-DENIED-xsl-external-entity-redirect.xml * dom/XMLTokenizerLibxml2.cpp: (WebCore::openFunc): * loader/DocLoader.cpp: (WebCore::DocLoader::canRequest): (WebCore::DocLoader::requestResource): * loader/DocLoader.h: * xml/XSLTProcessor.cpp: (WebCore::docLoaderFunc): LayoutTests: 2008-11-01 Adam Barth <abarth@webkit.org> Reviewed by Sam Weinig. Test that we properly block non-same-origin redirects for these esoteric loads. https://bugs.webkit.org/show_bug.cgi?id=21963 * http/tests/security/resources/xsl-using-document-redirect.xsl...
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=22001 AtomicStringImpl* keys of event listener maps can outlive their strings Test: fast/events/destroyed-atomic-string.html * dom/MessagePort.cpp: (WebCore::MessagePort::addEventListener): (WebCore::MessagePort::removeEventListener): (WebCore::MessagePort::dispatchEvent): * dom/MessagePort.h: * loader/appcache/DOMApplicationCache.cpp: (WebCore::DOMApplicationCache::addEventListener): (WebCore::DOMApplicationCache::removeEventListener): (WebCore::DOMApplicationCache::dispatchEvent): * loader/appcache/DOMApplicationCache.h: * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::addEventListener): (WebCore::XMLHttpRequest::removeEventListener): (WebCore::XMLHttpRequest::dispatchEvent): * xml/XMLHttpRequest.h: * xml/XMLHttpRequestUpload.cpp: (WebCore::XMLHttpRequestUpload::addEventListener): (WebCore::XMLHttpRequestUpload::removeEventListener): (WebCore::XMLHttpRequestUpload::dispatchEvent): * xml/XMLHttpRequestUpload.h: Changed EventListenersMap to use AtomicString as key (instead of AtomicStringImpl*). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=21998 Use JSDOMGlobalObject in EventListener-related bindings * dom/MessagePort.idl: Auto-generate bindings for onclose and onmessage. * bindings/scripts/CodeGeneratorJS.pm: Use JSDOMGlobalObject instead of JSDOMWindow in JS bindings for inline event handlers. * bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::addEventListener): (WebCore::JSDOMApplicationCache::removeEventListener): * bindings/js/JSEventTargetNodeCustom.cpp: (WebCore::JSEventTargetNode::addEventListener): (WebCore::JSEventTargetNode::removeEventListener): * bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::removeEventListener): * bindings/js/JSSVGElementInstanceCustom.cpp: (WebCore::JSSVGElementInstance::addEventListener): (WebCore::JSSVGElementInstance::removeEventListener): * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::addEventListener): (WebCore::JSXMLHttpRequest::removeEventListener): * bindings/js/JSXMLHttpRequestUploadCustom.cpp: (WebCore::JSXMLHttpRequestUpload::addEventListener): (WebCore::JSXMLHttpRequestUpload::removeEventListener): Use ScriptExecutionContext and JSDOMGlobalObject in bindings. * dom/EventTarget.h: * dom/EventTargetNode.cpp: (WebCore::EventTargetNode::scriptExecutionContext): * dom/EventTargetNode.h: * dom/MessagePort.cpp: * dom/MessagePort.h: (WebCore::MessagePort::scriptExecutionContext): * loader/appcache/DOMApplicationCache.cpp: (WebCore::DOMApplicationCache::scriptExecutionContext): * loader/appcache/DOMApplicationCache.h: * svg/SVGElementInstance.cpp: (WebCore::SVGElementInstance::scriptExecutionContext): * svg/SVGElementInstance.h: * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::scriptExecutionContext): * xml/XMLHttpRequest.h: * xml/XMLHttpRequestUpload.cpp: (WebCore::XMLHttpRequestUpload::scriptExecutionContext): * xml/XMLHttpRequestUpload.h: Remove associatedFrame() method, and provide scriptExecutionContext() where it wasn't available yet. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 31 Oct, 2008 7 commits
-
-
slewis@apple.com authored
Fix build by including right files. * JSRun.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Rubber-stamped by Geoff Garen. Rename SourceRange.h to SourceCode.h. JavaScriptCore: * API/JSBase.cpp: * GNUmakefile.am: * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: * JavaScriptCore.xcodeproj/project.pbxproj: * VM/CodeBlock.h: * kjs/SourceCode.h: Copied from kjs/SourceRange.h. * kjs/SourceRange.h: Removed. * kjs/grammar.y: * kjs/lexer.h: * kjs/nodes.cpp: (JSC::ForInNode::ForInNode): * kjs/nodes.h: (JSC::ThrowableExpressionData::setExceptionSourceCode): WebCore: * ForwardingHeaders/kjs/SourceCode.h: Copied from ForwardingHeaders/kjs/SourceRange.h. * ForwardingHeaders/kjs/SourceRange.h: Removed. * bindings/js/StringSourceProvider.h: * bridge/NP_jsobject.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cwzwarich@webkit.org authored
Reviewed by Darin Adler. Bug 22019: Move JSC::Interpreter::shouldPrintExceptions() to WebCore::Console <https://bugs.webkit.org/show_bug.cgi?id=22019> The JSC::Interpreter::shouldPrintExceptions() function is not used at all in JavaScriptCore, so it should be moved to WebCore::Console, its only user. JavaScriptCore: * JavaScriptCore.exp: * kjs/interpreter.cpp: * kjs/interpreter.h: WebCore: * WebCore.base.exp: * page/Console.cpp: (WebCore::printToStandardOut): (WebCore::Console::shouldPrintExceptions): (WebCore::Console::setShouldPrintExceptions): * page/Console.h: WebKit/mac: * Misc/WebCoreStatistics.mm: (+[WebCoreStatistics shouldPrintExceptions]): (+[WebCoreStatistics setShouldPrintExceptions:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
christian@webkit.org authored
http://bugs.webkit.org/show_bug.cgi?id=22018 enable-developer-extras doesn't toggle WebInspector * webkit/webkitwebview.cpp: Add missing 'if' in notification for 'enable-developer-extras'. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by John Sullivan. - WebCore part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie * dom/Document.cpp: (WebCore::Document::cookie): Added checking if cookies are disabled. (WebCore::Document::setCookie): Ditto. * page/Navigator.cpp: (WebCore::Navigator::cookieEnabled): Ditto. * page/Page.cpp: (WebCore::Page::Page): Initialize m_cookieEnabled to true. * page/Page.h: (WebCore::Page::cookieEnabled): Added. (WebCore::Page::setCookieEnabled): Added. WebKit/mac: Reviewed by John Sullivan. - WebKit/mac part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie * WebView/WebView.mm: (-[WebView _cookieEnabled]): (-[WebView _setCookieEnabled:]): * WebView/WebViewPrivate.h: WebKit/win: Reviewed by John Sullivan. - WebKit/win part of <rdar://problem/6334641> Add WebView SPI for disabling document.cookie * Interfaces/IWebViewPrivate.idl: * WebView.cpp: (WebView::setCookieEnabled): (WebView::cookieEnabled): * WebView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele@apple.com authored
2008-10-31 Adele Peterson <adele@apple.com> Reviewed by Darin Adler. WebCore Windows part of fix for <rdar://problem/5839256> FILE CONTROL: multi-file upload. https://bugs.webkit.org/show_bug.cgi?id=22008 * platform/FileChooser.cpp: (WebCore::FileChooser::chooseIcon): Rename newIconForFile and newIconForFiles to createIconForFile and createIconForFiles. * platform/graphics/Icon.h: ditto. * platform/graphics/gtk/IconGtk.cpp: (WebCore::Icon::createIconForFile): ditto. (WebCore::Icon::createIconForFiles): ditto. * platform/graphics/mac/IconMac.mm: (WebCore::Icon::createIconForFile): ditto. (WebCore::Icon::createIconForFiles): ditto. * platform/graphics/qt/IconQt.cpp: (WebCore::Icon::createIconForFile): ditto. (WebCore::Icon::createIconForFiles): ditto. * platform/wx/TemporaryLinkStubs.cpp: (Icon::createIconForFile): ditto. (Icon::createIconForFiles): ditto. * platform/graphics/win/IconWin.cpp: (WebCore::Icon::createIconForFile): ditto. (WebCore::Icon::createIconForFiles): Add creation of an icon for multiple files. * rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::paintSearchFieldResultsDecoration): Improve icon creation code to match new code in Icon::createIconForFiles WebKit/win: 2008-10-31 Adele Peterson <adele@apple.com> Reviewed by Darin Adler. WebKit Windows part of fix for <rdar://problem/5839256> FILE CONTROL: multi-file upload. https://bugs.webkit.org/show_bug.cgi?id=22008 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::runOpenPanel): Add support for mulitple file selection. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Kevin Decker. Move WebNetscapePluginEventHandler classes to a subgroup of Netscape Plug-Ins. * WebKit.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-