2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* GNUmakefile.am:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* WebCoreSources.bkl:
* bindings/js/JSAudioConstructor.h:
* 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/JSDOMBinding.cpp: Copied from WebCore/bindings/js/kjs_binding.cpp.
* bindings/js/JSDOMBinding.h: Copied from WebCore/bindings/js/kjs_binding.h.
* bindings/js/JSDOMWindowBase.cpp:
* bindings/js/JSDOMWindowBase.h:
* bindings/js/JSDOMWindowCustom.cpp:
* bindings/js/JSDOMWindowShell.cpp:
* bindings/js/JSDOMWindowShell.h:
* bindings/js/JSDocumentCustom.cpp:
* bindings/js/JSHTMLCollectionCustom.cpp:
* bindings/js/JSHTMLFrameElementCustom.cpp:
* bindings/js/JSHTMLFrameSetElementCustom.cpp:
* bindings/js/JSHTMLIFrameElementCustom.cpp:
* bindings/js/JSHTMLInputElementBase.h:
* bindings/js/JSHTMLOptionElementConstructor.h:
* bindings/js/JSImageConstructor.h:
* bindings/js/JSLocationCustom.cpp:
* bindings/js/JSNamedNodeMapCustom.cpp:
* bindings/js/JSNamedNodesCollection.h:
* bindings/js/JSNodeFilterCondition.cpp:
* bindings/js/JSNodeFilterCustom.cpp:
* bindings/js/JSRGBColor.h:
* bindings/js/JSSVGPathSegCustom.cpp:
* bindings/js/JSXMLHttpRequestConstructor.h:
* bindings/js/JSXSLTProcessorConstructor.h:
* bindings/js/JSXSLTProcessorCustom.cpp:
* bindings/js/ScheduledAction.cpp:
(WebCore::ScheduledAction::execute):
* bindings/js/ScriptController.cpp: Copied from WebCore/bindings/js/kjs_proxy.cpp.
* bindings/js/ScriptController.h: Copied from WebCore/bindings/js/kjs_proxy.h.
* bindings/js/kjs_binding.cpp: Removed.
* bindings/js/kjs_binding.h: Removed.
* bindings/js/kjs_events.cpp:
(WebCore::JSAbstractEventListener::handleEvent):
* bindings/js/kjs_html.cpp:
* bindings/js/kjs_html.h:
* bindings/js/kjs_proxy.cpp: Removed.
* bindings/js/kjs_proxy.h: Removed.
* bindings/objc/DOMInternal.mm:
* bindings/scripts/CodeGeneratorJS.pm:
* bridge/jni/jni_jsobject.mm:
* dom/Document.cpp:
* dom/EventTarget.cpp:
* dom/Node.cpp:
* dom/XMLTokenizer.cpp:
(WebCore::XMLTokenizer::startElementNs):
* history/CachedPage.cpp:
(WebCore::CachedPage::CachedPage):
(WebCore::CachedPage::restore):
* html/HTMLPlugInElement.cpp:
* html/HTMLScriptElement.cpp:
* html/HTMLTokenizer.cpp:
(WebCore::HTMLTokenizer::processToken):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::executeScript):
* page/Frame.cpp:
(WebCore::Frame::scriptProxy):
* page/Frame.h:
* page/FramePrivate.h:
* page/InspectorController.cpp:
* page/JavaScriptDebugServer.cpp:
* page/JavaScriptProfileNode.cpp:
* page/Page.cpp:
* page/gtk/FrameGtk.cpp:
* page/mac/FrameMac.mm:
* page/qt/FrameQt.cpp:
* page/win/FrameWin.cpp:
* plugins/PluginView.cpp:
(WebCore::getString):
* plugins/gtk/PluginViewGtk.cpp:
* plugins/qt/PluginViewQt.cpp:
* plugins/win/PluginViewWin.cpp:
* svg/SVGDocumentExtensions.cpp:
* xml/XMLHttpRequest.cpp:
WebKit/gtk:
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* WebCoreSupport/FrameLoaderClientGtk.cpp:
* webkit/webkitwebframe.cpp:
WebKit/mac:
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* WebView/WebFrame.mm:
* WebView/WebScriptDebugDelegate.mm:
* WebView/WebView.mm:
WebKit/qt:
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* Api/qwebframe.cpp:
(QWebFrame::evaluateJavaScript):
* WebKit_pch.h:
WebKit/win:
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* WebFrame.cpp:
WebKit/wx:
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* WebView.cpp:
WebKitTools:
2008-06-14 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Moved planned renames into a separate hash
from the actual renames. Removed many renames that are either done or
no longer planned.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34561
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2008-06-14 Darin Adler <darin@apple.com>
+
+ Rubber stamped by Sam.
+
+ - new names for kjs_binding.h and kjs_proxy.h
+
+ * GNUmakefile.am:
+ * WebCore.pro:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.xcodeproj/project.pbxproj:
+ * WebCoreSources.bkl:
+ * bindings/js/JSAudioConstructor.h:
+ * 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/JSDOMBinding.cpp: Copied from WebCore/bindings/js/kjs_binding.cpp.
+ * bindings/js/JSDOMBinding.h: Copied from WebCore/bindings/js/kjs_binding.h.
+ * bindings/js/JSDOMWindowBase.cpp:
+ * bindings/js/JSDOMWindowBase.h:
+ * bindings/js/JSDOMWindowCustom.cpp:
+ * bindings/js/JSDOMWindowShell.cpp:
+ * bindings/js/JSDOMWindowShell.h:
+ * bindings/js/JSDocumentCustom.cpp:
+ * bindings/js/JSHTMLCollectionCustom.cpp:
+ * bindings/js/JSHTMLFrameElementCustom.cpp:
+ * bindings/js/JSHTMLFrameSetElementCustom.cpp:
+ * bindings/js/JSHTMLIFrameElementCustom.cpp:
+ * bindings/js/JSHTMLInputElementBase.h:
+ * bindings/js/JSHTMLOptionElementConstructor.h:
+ * bindings/js/JSImageConstructor.h:
+ * bindings/js/JSLocationCustom.cpp:
+ * bindings/js/JSNamedNodeMapCustom.cpp:
+ * bindings/js/JSNamedNodesCollection.h:
+ * bindings/js/JSNodeFilterCondition.cpp:
+ * bindings/js/JSNodeFilterCustom.cpp:
+ * bindings/js/JSRGBColor.h:
+ * bindings/js/JSSVGPathSegCustom.cpp:
+ * bindings/js/JSXMLHttpRequestConstructor.h:
+ * bindings/js/JSXSLTProcessorConstructor.h:
+ * bindings/js/JSXSLTProcessorCustom.cpp:
+ * bindings/js/ScheduledAction.cpp:
+ (WebCore::ScheduledAction::execute):
+ * bindings/js/ScriptController.cpp: Copied from WebCore/bindings/js/kjs_proxy.cpp.
+ * bindings/js/ScriptController.h: Copied from WebCore/bindings/js/kjs_proxy.h.
+ * bindings/js/kjs_binding.cpp: Removed.
+ * bindings/js/kjs_binding.h: Removed.
+ * bindings/js/kjs_events.cpp:
+ (WebCore::JSAbstractEventListener::handleEvent):
+ * bindings/js/kjs_html.cpp:
+ * bindings/js/kjs_html.h:
+ * bindings/js/kjs_proxy.cpp: Removed.
+ * bindings/js/kjs_proxy.h: Removed.
+ * bindings/objc/DOMInternal.mm:
+ * bindings/scripts/CodeGeneratorJS.pm:
+ * bridge/jni/jni_jsobject.mm:
+ * dom/Document.cpp:
+ * dom/EventTarget.cpp:
+ * dom/Node.cpp:
+ * dom/XMLTokenizer.cpp:
+ (WebCore::XMLTokenizer::startElementNs):
+ * history/CachedPage.cpp:
+ (WebCore::CachedPage::CachedPage):
+ (WebCore::CachedPage::restore):
+ * html/HTMLPlugInElement.cpp:
+ * html/HTMLScriptElement.cpp:
+ * html/HTMLTokenizer.cpp:
+ (WebCore::HTMLTokenizer::processToken):
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::executeScript):
+ * page/Frame.cpp:
+ (WebCore::Frame::scriptProxy):
+ * page/Frame.h:
+ * page/FramePrivate.h:
+ * page/InspectorController.cpp:
+ * page/JavaScriptDebugServer.cpp:
+ * page/JavaScriptProfileNode.cpp:
+ * page/Page.cpp:
+ * page/gtk/FrameGtk.cpp:
+ * page/mac/FrameMac.mm:
+ * page/qt/FrameQt.cpp:
+ * page/win/FrameWin.cpp:
+ * plugins/PluginView.cpp:
+ (WebCore::getString):
+ * plugins/gtk/PluginViewGtk.cpp:
+ * plugins/qt/PluginViewQt.cpp:
+ * plugins/win/PluginViewWin.cpp:
+ * svg/SVGDocumentExtensions.cpp:
+ * xml/XMLHttpRequest.cpp:
+
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
WebCore/bindings/js/JSXMLHttpRequestConstructor.cpp \
WebCore/bindings/js/JSXSLTProcessorCustom.cpp \
WebCore/bindings/js/JSXSLTProcessorConstructor.cpp \
- WebCore/bindings/js/kjs_binding.cpp \
+ WebCore/bindings/js/JSDOMBinding.cpp \
WebCore/bindings/js/kjs_events.cpp \
WebCore/bindings/js/kjs_html.cpp \
- WebCore/bindings/js/kjs_proxy.cpp \
+ WebCore/bindings/js/ScriptController.cpp \
WebCore/bindings/js/PausedTimeouts.cpp \
WebCore/bindings/js/ScheduledAction.cpp \
WebCore/bridge/NP_jsobject.cpp \
bindings/js/JSPluginCustom.cpp \
bindings/js/JSPluginArrayCustom.cpp \
bindings/js/JSMimeTypeArrayCustom.cpp \
- bindings/js/kjs_binding.cpp \
+ bindings/js/JSDOMBinding.cpp \
bindings/js/kjs_events.cpp \
bindings/js/kjs_html.cpp \
- bindings/js/kjs_proxy.cpp \
+ bindings/js/ScriptController.cpp \
bindings/js/PausedTimeouts.cpp \
bindings/js/ScheduledAction.cpp \
bridge/NP_jsobject.cpp \
>\r
</File>\r
<File\r
- RelativePath="..\bindings\js\kjs_binding.cpp"\r
+ RelativePath="..\bindings\js\JSDOMBinding.cpp"\r
>\r
</File>\r
<File\r
- RelativePath="..\bindings\js\kjs_binding.h"\r
+ RelativePath="..\bindings\js\JSDOMBinding.h"\r
>\r
</File>\r
<File\r
>\r
</File>\r
<File\r
- RelativePath="..\bindings\js\kjs_proxy.cpp"\r
+ RelativePath="..\bindings\js\ScriptController.cpp"\r
>\r
</File>\r
<File\r
- RelativePath="..\bindings\js\kjs_proxy.h"\r
+ RelativePath="..\bindings\js\ScriptController.h"\r
>\r
</File>\r
<File\r
93B6A0E60B0BCA5C00F5027A /* ContextMenu.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B6A0E50B0BCA5C00F5027A /* ContextMenu.h */; settings = {ATTRIBUTES = (Private, ); }; };
93B6A0E80B0BCA6700F5027A /* ContextMenu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B6A0E70B0BCA6700F5027A /* ContextMenu.cpp */; };
93B6A0EA0B0BCA8400F5027A /* ContextMenuMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 93B6A0E90B0BCA8400F5027A /* ContextMenuMac.mm */; };
- 93B70D6309EB0C7C009D8468 /* kjs_binding.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4709EB0C7C009D8468 /* kjs_binding.cpp */; };
- 93B70D6409EB0C7C009D8468 /* kjs_binding.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4809EB0C7C009D8468 /* kjs_binding.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 93B70D6309EB0C7C009D8468 /* JSDOMBinding.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4709EB0C7C009D8468 /* JSDOMBinding.cpp */; };
+ 93B70D6409EB0C7C009D8468 /* JSDOMBinding.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4809EB0C7C009D8468 /* JSDOMBinding.h */; settings = {ATTRIBUTES = (Private, ); }; };
93B70D6909EB0C7C009D8468 /* kjs_events.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4D09EB0C7C009D8468 /* kjs_events.cpp */; };
93B70D6A09EB0C7C009D8468 /* kjs_events.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4E09EB0C7C009D8468 /* kjs_events.h */; };
93B70D6B09EB0C7C009D8468 /* kjs_html.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4F09EB0C7C009D8468 /* kjs_html.cpp */; };
93B70D6C09EB0C7C009D8468 /* kjs_html.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D5009EB0C7C009D8468 /* kjs_html.h */; };
- 93B70D6F09EB0C7C009D8468 /* kjs_proxy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D5309EB0C7C009D8468 /* kjs_proxy.cpp */; };
- 93B70D7009EB0C7C009D8468 /* kjs_proxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D5409EB0C7C009D8468 /* kjs_proxy.h */; settings = {ATTRIBUTES = (Private, ); }; };
+ 93B70D6F09EB0C7C009D8468 /* ScriptController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D5309EB0C7C009D8468 /* ScriptController.cpp */; };
+ 93B70D7009EB0C7C009D8468 /* ScriptController.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D5409EB0C7C009D8468 /* ScriptController.h */; settings = {ATTRIBUTES = (Private, ); }; };
93B77A380ADD792500EA4B81 /* FrameLoaderTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B77A370ADD792500EA4B81 /* FrameLoaderTypes.h */; settings = {ATTRIBUTES = (Private, ); }; };
93B780CA09B3B7FE00690162 /* WidgetClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B780C909B3B7FE00690162 /* WidgetClient.h */; };
93C09A530B064DB3005ABD4D /* EventHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 93C09A520B064DB3005ABD4D /* EventHandler.h */; settings = {ATTRIBUTES = (Private, ); }; };
93B6A0E50B0BCA5C00F5027A /* ContextMenu.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ContextMenu.h; sourceTree = "<group>"; };
93B6A0E70B0BCA6700F5027A /* ContextMenu.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = ContextMenu.cpp; sourceTree = "<group>"; };
93B6A0E90B0BCA8400F5027A /* ContextMenuMac.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = ContextMenuMac.mm; sourceTree = "<group>"; };
- 93B70D4709EB0C7C009D8468 /* kjs_binding.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_binding.cpp; sourceTree = "<group>"; };
- 93B70D4809EB0C7C009D8468 /* kjs_binding.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_binding.h; sourceTree = "<group>"; };
+ 93B70D4709EB0C7C009D8468 /* JSDOMBinding.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMBinding.cpp; sourceTree = "<group>"; };
+ 93B70D4809EB0C7C009D8468 /* JSDOMBinding.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSDOMBinding.h; sourceTree = "<group>"; };
93B70D4D09EB0C7C009D8468 /* kjs_events.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_events.cpp; sourceTree = "<group>"; };
93B70D4E09EB0C7C009D8468 /* kjs_events.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_events.h; sourceTree = "<group>"; };
93B70D4F09EB0C7C009D8468 /* kjs_html.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_html.cpp; sourceTree = "<group>"; };
93B70D5009EB0C7C009D8468 /* kjs_html.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_html.h; sourceTree = "<group>"; };
- 93B70D5309EB0C7C009D8468 /* kjs_proxy.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_proxy.cpp; sourceTree = "<group>"; };
- 93B70D5409EB0C7C009D8468 /* kjs_proxy.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_proxy.h; sourceTree = "<group>"; };
+ 93B70D5309EB0C7C009D8468 /* ScriptController.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptController.cpp; sourceTree = "<group>"; };
+ 93B70D5409EB0C7C009D8468 /* ScriptController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ScriptController.h; sourceTree = "<group>"; };
93B77A370ADD792500EA4B81 /* FrameLoaderTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FrameLoaderTypes.h; sourceTree = "<group>"; };
93B780C909B3B7FE00690162 /* WidgetClient.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = WidgetClient.h; sourceTree = "<group>"; };
93C09A520B064DB3005ABD4D /* EventHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventHandler.h; sourceTree = "<group>"; };
BC348BE80DB80354004ABAB9 /* JSXMLHttpRequestConstructor.h */,
BCE99EC10DCA624100182683 /* JSXSLTProcessorConstructor.cpp */,
BCE99EC20DCA624100182683 /* JSXSLTProcessorConstructor.h */,
- 93B70D4709EB0C7C009D8468 /* kjs_binding.cpp */,
- 93B70D4809EB0C7C009D8468 /* kjs_binding.h */,
+ 93B70D4709EB0C7C009D8468 /* JSDOMBinding.cpp */,
+ 93B70D4809EB0C7C009D8468 /* JSDOMBinding.h */,
93B70D4D09EB0C7C009D8468 /* kjs_events.cpp */,
93B70D4E09EB0C7C009D8468 /* kjs_events.h */,
93B70D4F09EB0C7C009D8468 /* kjs_html.cpp */,
93B70D5009EB0C7C009D8468 /* kjs_html.h */,
- 93B70D5309EB0C7C009D8468 /* kjs_proxy.cpp */,
- 93B70D5409EB0C7C009D8468 /* kjs_proxy.h */,
+ 93B70D5309EB0C7C009D8468 /* ScriptController.cpp */,
+ 93B70D5409EB0C7C009D8468 /* ScriptController.h */,
BCA378140D15C64600B793D6 /* PausedTimeouts.cpp */,
BCA378150D15C64600B793D6 /* PausedTimeouts.h */,
65488D6A0DD5A83D009D83B2 /* StringSourceProvider.h */,
BCEA4855097D93020094C9E4 /* break_lines.h in Headers */,
65C97AF308EA908800ACD273 /* config.h in Headers */,
93309DE8099E64920056E581 /* htmlediting.h in Headers */,
- 93B70D6409EB0C7C009D8468 /* kjs_binding.h in Headers */,
+ 93B70D6409EB0C7C009D8468 /* JSDOMBinding.h in Headers */,
93B70D6A09EB0C7C009D8468 /* kjs_events.h in Headers */,
93B70D6C09EB0C7C009D8468 /* kjs_html.h in Headers */,
656581F509D1508D000E61D7 /* kjs_navigator.lut.h in Headers */,
- 93B70D7009EB0C7C009D8468 /* kjs_proxy.h in Headers */,
+ 93B70D7009EB0C7C009D8468 /* ScriptController.h in Headers */,
BCB16C2D0979C3BD00467741 /* loader.h in Headers */,
93309DF8099E64920056E581 /* markup.h in Headers */,
93309E1E099E64920056E581 /* visible_units.h in Headers */,
BCEA4852097D93020094C9E4 /* bidi.cpp in Sources */,
BCEA4854097D93020094C9E4 /* break_lines.cpp in Sources */,
93309DE7099E64920056E581 /* htmlediting.cpp in Sources */,
- 93B70D6309EB0C7C009D8468 /* kjs_binding.cpp in Sources */,
+ 93B70D6309EB0C7C009D8468 /* JSDOMBinding.cpp in Sources */,
93B70D6909EB0C7C009D8468 /* kjs_events.cpp in Sources */,
93B70D6B09EB0C7C009D8468 /* kjs_html.cpp in Sources */,
- 93B70D6F09EB0C7C009D8468 /* kjs_proxy.cpp in Sources */,
+ 93B70D6F09EB0C7C009D8468 /* ScriptController.cpp in Sources */,
BCB16C2C0979C3BD00467741 /* loader.cpp in Sources */,
93309DF7099E64920056E581 /* markup.cpp in Sources */,
93309E1D099E64920056E581 /* visible_units.cpp in Sources */,
bindings/js/JSXMLHttpRequestCustom.cpp
bindings/js/JSXSLTProcessorConstructor.cpp
bindings/js/JSXSLTProcessorCustom.cpp
- bindings/js/kjs_binding.cpp
+ bindings/js/JSDOMBinding.cpp
bindings/js/kjs_events.cpp
bindings/js/kjs_html.cpp
- bindings/js/kjs_proxy.cpp
+ bindings/js/ScriptController.cpp
bindings/js/PausedTimeouts.cpp
bindings/js/ScheduledAction.cpp
</set>
#if ENABLE(VIDEO)
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include <wtf/RefPtr.h>
namespace WebCore {
#include "Console.h"
#include "DOMWindow.h"
#include "Frame.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "JSSQLResultSet.h"
#include "JSSQLTransaction.h"
#include "Console.h"
#include "DOMWindow.h"
#include "Frame.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "JSSQLError.h"
#include "JSSQLTransaction.h"
#include "DOMWindow.h"
#include "Frame.h"
#include "Logging.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "JSSQLTransaction.h"
#include "Page.h"
#include <wtf/MainThread.h>
#include "Console.h"
#include "DOMWindow.h"
#include "Frame.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "JSSQLError.h"
namespace WebCore {
#include "DOMWindow.h"
#include "Frame.h"
#include "JSDOMWindowCustom.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
namespace WebCore {
#include "ExceptionCode.h"
#include "Frame.h"
#include "JSDOMWindowCustom.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
namespace WebCore {
#endif
#include "config.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include "DOMCoreException.h"
#include "Document.h"
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef kjs_binding_h
-#define kjs_binding_h
+#ifndef JSDOMBinding_h
+#define JSDOMBinding_h
#include <kjs/function.h>
#include <kjs/interpreter.h>
} // namespace WebCore
-#endif // kjs_binding_h
+#endif // JSDOMBinding_h
#include "WindowFeatures.h"
#include "htmlediting.h"
#include "kjs_events.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <wtf/AlwaysInline.h>
#include <wtf/MathExtras.h>
#define JSDOMWindowBase_h
#include "PlatformString.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include <kjs/protect.h>
#include <wtf/HashMap.h>
#include <wtf/OwnPtr.h>
#include "FrameTree.h"
#include "JSDOMWindowShell.h"
#include "Settings.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <kjs/object.h>
using namespace KJS;
#include "Frame.h"
#include "JSDOMWindow.h"
#include "DOMWindow.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <kjs/object.h>
using namespace KJS;
#define JSDOMWindowShell_h
#include "JSDOMWindow.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
#include "JSHTMLDocument.h"
#include "JSLocation.h"
#include "Location.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#if ENABLE(SVG)
#include "JSSVGDocument.h"
#include "JSNamedNodesCollection.h"
#include "JSNode.h"
#include "Node.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include "kjs_html.h"
#include <wtf/Vector.h>
#include "CSSHelper.h"
#include "HTMLFrameElement.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
using namespace KJS;
#include "HTMLNames.h"
#include "JSDOMWindow.h"
#include "JSDOMWindowShell.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
using namespace KJS;
#include "CSSHelper.h"
#include "HTMLIFrameElement.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
using namespace KJS;
#define JSHTMLInputElementBase_h
#include "JSHTMLElement.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include "kjs_html.h"
namespace WebCore {
#ifndef JSHTMLOptionElementConstructor_h
#define JSHTMLOptionElementConstructor_h
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include <wtf/RefPtr.h>
namespace WebCore {
#ifndef JSImageConstructor_h
#define JSImageConstructor_h
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
#include "JSDOMWindowCustom.h"
#include "KURL.h"
#include "Location.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
using namespace KJS;
#include "NamedNodeMap.h"
#include "Node.h"
#include "PlatformString.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
using namespace KJS;
#ifndef JSNamedNodesCollection_h
#define JSNamedNodesCollection_h
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include <wtf/Vector.h>
namespace WebCore {
#include "JSNode.h"
#include "JSNodeFilter.h"
#include "NodeFilter.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
namespace WebCore {
#include "JSNode.h"
#include "JSNodeFilterCondition.h"
#include "NodeFilter.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
using namespace KJS;
#define JSRGBColor_h
#include "Color.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
#include "JSSVGPathSegMovetoAbs.h"
#include "JSSVGPathSegMovetoRel.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include "SVGPathSeg.h"
#include "SVGPathSegArc.h"
#ifndef JSXMLHttpRequestConstructor_h
#define JSXMLHttpRequestConstructor_h
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
#if ENABLE(XSLT)
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
#include "Node.h"
#include "PlatformString.h"
#include "XSLTProcessor.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
using namespace KJS;
#include "Frame.h"
#include "FrameLoader.h"
#include "JSDOMWindow.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
using namespace KJS;
if (!frame->scriptProxy()->isEnabled())
return;
- KJSProxy* scriptProxy = frame->scriptProxy();
+ ScriptController* scriptProxy = frame->scriptProxy();
scriptProxy->setProcessingTimerCallback(true);
*/
#include "config.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "Console.h"
#include "DOMWindow.h"
namespace WebCore {
-KJSProxy::KJSProxy(Frame* frame)
+ScriptController::ScriptController(Frame* frame)
: m_frame(frame)
, m_handlerLineno(0)
, m_processingTimerCallback(0)
{
}
-KJSProxy::~KJSProxy()
+ScriptController::~ScriptController()
{
if (m_windowShell) {
m_windowShell = 0;
}
}
-JSValue* KJSProxy::evaluate(const String& filename, int baseLine, const String& str)
+JSValue* ScriptController::evaluate(const String& filename, int baseLine, const String& str)
{
// evaluate code. Returns the JS return value or 0
// if there was none, an error occured or the type couldn't be converted.
return 0;
}
-void KJSProxy::clear()
+void ScriptController::clear()
{
if (!m_windowShell)
return;
gcController().garbageCollectSoon();
}
-PassRefPtr<EventListener> KJSProxy::createHTMLEventHandler(const String& functionName, const String& code, Node* node)
+PassRefPtr<EventListener> ScriptController::createHTMLEventHandler(const String& functionName, const String& code, Node* node)
{
initScriptIfNeeded();
JSLock lock;
}
#if ENABLE(SVG)
-PassRefPtr<EventListener> KJSProxy::createSVGEventHandler(const String& functionName, const String& code, Node* node)
+PassRefPtr<EventListener> ScriptController::createSVGEventHandler(const String& functionName, const String& code, Node* node)
{
initScriptIfNeeded();
JSLock lock;
}
#endif
-void KJSProxy::finishedWithEvent(Event* event)
+void ScriptController::finishedWithEvent(Event* event)
{
// This is called when the DOM implementation has finished with a particular event. This
// is the case in sitations where an event has been created just for temporary usage,
ScriptInterpreter::forgetDOMObject(event);
}
-void KJSProxy::initScript()
+void ScriptController::initScript()
{
if (m_windowShell)
return;
m_frame->loader()->dispatchWindowObjectAvailable();
}
-bool KJSProxy::processingUserGesture() const
+bool ScriptController::processingUserGesture() const
{
if (!m_windowShell)
return false;
return false;
}
-bool KJSProxy::isEnabled()
+bool ScriptController::isEnabled()
{
Settings* settings = m_frame->settings();
return (settings && settings->isJavaScriptEnabled());
}
-void KJSProxy::attachDebugger(KJS::Debugger* debugger)
+void ScriptController::attachDebugger(KJS::Debugger* debugger)
{
if (!m_windowShell)
return;
currentDebugger->detach(m_windowShell->window());
}
-void KJSProxy::updateDocument()
+void ScriptController::updateDocument()
{
if (!m_frame->document())
return;
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef kjs_proxy_h
-#define kjs_proxy_h
+#ifndef ScriptController_h
+#define ScriptController_h
#include "JSDOMWindowShell.h"
#include <kjs/protect.h>
// FIXME: Rename this class to JSController and the Frame function to javaScript().
-class KJSProxy {
+class ScriptController {
public:
- KJSProxy(Frame*);
- ~KJSProxy();
+ ScriptController(Frame*);
+ ~ScriptController();
bool haveWindowShell() const { return m_windowShell; }
JSDOMWindowShell* windowShell()
} // namespace WebCore
-#endif // kjs_proxy_h
+#endif // ScriptController_h
#include "JSDOMWindow.h"
#include "JSEvent.h"
#include "JSEventTargetNode.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <kjs/function_object.h>
using namespace KJS;
Frame* frame = window->impl()->frame();
if (!frame)
return;
- KJSProxy* scriptProxy = frame->scriptProxy();
+ ScriptController* scriptProxy = frame->scriptProxy();
if (!scriptProxy->isEnabled() || scriptProxy->isPaused())
return;
#include "HTMLDocument.h"
#include "HTMLNames.h"
#include "JSHTMLElement.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "HTMLPlugInElement.h"
#if USE(JAVASCRIPTCORE_BINDINGS)
#ifndef kjs_html_h
#define kjs_html_h
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
#import "SVGException.h"
#import "WebScriptObjectPrivate.h"
#import "XPathEvaluator.h"
-#import "kjs_proxy.h"
+#import "ScriptController.h"
#import "runtime_root.h"
//------------------------------------------------------------------------------------------
if ($hasParent) {
push(@headerContentHeader, "#include \"$parentClassName.h\"\n");
} else {
- push(@headerContentHeader, "#include \"kjs_binding.h\"\n");
+ push(@headerContentHeader, "#include \"JSDOMBinding.h\"\n");
push(@headerContentHeader, "#include <kjs/JSGlobalObject.h>\n");
push(@headerContentHeader, "#include <kjs/object_object.h>\n");
}
if ($attribute->signature->extendedAttributes->{"Custom"} || $attribute->signature->extendedAttributes->{"CustomGetter"}) {
push(@implContent, " return $getterFunctionName(exec);\n");
} elsif ($attribute->signature->extendedAttributes->{"CheckNodeSecurity"}) {
- $implIncludes{"kjs_binding.h"} = 1;
+ $implIncludes{"JSDOMBinding.h"} = 1;
push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(impl());\n");
push(@implContent, " return checkNodeSecurity(exec, imp->$getterFunctionName()) ? " . NativeToJSValue($attribute->signature, 0, $implClassName, $implClassNameForValueConversion, "imp->$getterFunctionName()") . " : jsUndefined();\n");
} elsif ($attribute->signature->extendedAttributes->{"CheckFrameSecurity"}) {
$implIncludes{"Document.h"} = 1;
- $implIncludes{"kjs_binding.h"} = 1;
+ $implIncludes{"JSDOMBinding.h"} = 1;
push(@implContent, " $implClassName* imp = static_cast<$implClassName*>(impl());\n");
push(@implContent, " return checkNodeSecurity(exec, imp->contentDocument()) ? " . NativeToJSValue($attribute->signature, 0, $implClassName, $implClassNameForValueConversion, "imp->$getterFunctionName()") . " : jsUndefined();\n");
} elsif ($attribute->signature->type =~ /Constructor$/) {
if ($function->signature->extendedAttributes->{"SVGCheckSecurityDocument"}) {
push(@implContent, " if (!checkNodeSecurity(exec, imp->getSVGDocument(" . (@{$function->raisesExceptions} ? "ec" : "") .")))\n");
push(@implContent, " return jsUndefined();\n");
- $implIncludes{"kjs_binding.h"} = 1;
+ $implIncludes{"JSDOMBinding.h"} = 1;
}
my $paramIndex = 0;
#include "WebCoreFrameView.h"
#include "jni_runtime.h"
#include "jni_utility.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "runtime_object.h"
#include "runtime_root.h"
#include <kjs/ExecState.h>
#include "XMLHttpRequest.h"
#include "XMLNames.h"
#include "XMLTokenizer.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#if ENABLE(DATABASE)
#include "Database.h"
#include "EventNames.h"
#include "Frame.h"
#include "FrameView.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "RegisteredEventListener.h"
namespace WebCore {
#include "Text.h"
#include "XMLNames.h"
#include "htmlediting.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
#include "HTMLScriptElement.h"
#include "HTMLStyleElement.h"
#include "HTMLTokenizer.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "ProcessingInstruction.h"
#include "ResourceError.h"
#include "ResourceHandle.h"
return;
}
- KJSProxy* jsProxy = m_doc->frame() ? m_doc->frame()->scriptProxy() : 0;
+ ScriptController* jsProxy = m_doc->frame() ? m_doc->frame()->scriptProxy() : 0;
if (jsProxy && m_doc->frame()->scriptProxy()->isEnabled())
jsProxy->setEventHandlerLineno(lineNumber());
#include "PageGroup.h"
#include "PausedTimeouts.h"
#include "SystemTime.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <kjs/JSLock.h>
#if ENABLE(SVG)
JSLock lock;
- KJSProxy* proxy = mainFrame->scriptProxy();
+ ScriptController* proxy = mainFrame->scriptProxy();
if (proxy->haveWindowShell()) {
m_window = proxy->windowShell()->window();
m_pausedTimeouts.set(m_window->pauseTimeouts());
JSLock lock;
- KJSProxy* proxy = mainFrame->scriptProxy();
+ ScriptController* proxy = mainFrame->scriptProxy();
if (proxy->haveWindowShell()) {
JSDOMWindowShell* windowShell = proxy->windowShell();
if (m_window) {
#include "RenderWidget.h"
#include "Settings.h"
#include "Widget.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#if USE(JAVASCRIPTCORE_BINDINGS)
#include "runtime.h"
#include "Frame.h"
#include "FrameLoader.h"
#include "HTMLNames.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "MIMETypeRegistry.h"
#include "Text.h"
#include "PreloadScanner.h"
#include "Settings.h"
#include "SystemTime.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <wtf/ASCIICType.h>
#include "HTMLEntityNames.c"
PassRefPtr<Node> HTMLTokenizer::processToken()
{
- KJSProxy* jsProxy = (!m_fragment && m_doc->frame()) ? m_doc->frame()->scriptProxy() : 0;
+ ScriptController* jsProxy = (!m_fragment && m_doc->frame()) ? m_doc->frame()->scriptProxy() : 0;
if (jsProxy && m_doc->frame()->scriptProxy()->isEnabled())
jsProxy->setEventHandlerLineno(tagStartLineno + 1); // Script line numbers are 1 based.
if (dest > buffer) {
#include "WindowFeatures.h"
#include "XMLHttpRequest.h"
#include "XMLTokenizer.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#include <kjs/JSLock.h>
#include <kjs/object.h>
JSValue* FrameLoader::executeScript(const String& url, int baseLine, const String& script)
{
- KJSProxy* scriptProxy = m_frame->scriptProxy();
+ ScriptController* scriptProxy = m_frame->scriptProxy();
if (!scriptProxy->isEnabled() || scriptProxy->isPaused())
return 0;
#include "TextIterator.h"
#include "TextResourceDecoder.h"
#include "XMLNames.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "npruntime_impl.h"
#include "runtime_root.h"
#include "visible_units.h"
loader()->resetMultipleFormSubmissionProtection();
}
-KJSProxy* Frame::scriptProxy()
+ScriptController* Frame::scriptProxy()
{
return &d->m_jscript;
}
class FrameTree;
class HTMLFrameOwnerElement;
class HTMLTableCellElement;
-class KJSProxy;
+class ScriptController;
class RegularExpression;
class RenderPart;
class Selection;
SelectionController* selectionController() const;
FrameTree* tree() const;
AnimationController* animationController() const;
- KJSProxy* scriptProxy();
+ ScriptController* scriptProxy();
RenderView* contentRenderer() const; // root renderer for the document contained in this frame
RenderPart* ownerRenderer() const; // renderer for the element that contains this frame
#include "Range.h"
#include "SelectionController.h"
#include "StringHash.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
namespace KJS {
class Interpreter;
RefPtr<FrameView> m_view;
RefPtr<Document> m_doc;
- KJSProxy m_jscript;
+ ScriptController m_jscript;
String m_kjsStatusBarText;
String m_kjsDefaultStatusBarText;
#include "SystemTime.h"
#include "TextEncoding.h"
#include "TextIterator.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <JavaScriptCore/APICast.h>
#include <JavaScriptCore/JSLock.h>
#include <JavaScriptCore/JSRetainPtr.h>
#include "PluginView.h"
#include "ScrollView.h"
#include "Widget.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <kjs/DebuggerCallFrame.h>
#include <wtf/MainThread.h>
#include <wtf/UnusedParam.h>
#include "config.h"
#include "JavaScriptProfileNode.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
#include <profiler/ProfileNode.h>
#include <JavaScriptCore/APICast.h>
#include <JavaScriptCore/JSObjectRef.h>
#include "StringHash.h"
#include "TextResourceDecoder.h"
#include "Widget.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include <kjs/collector.h>
#include <kjs/JSLock.h>
#include <wtf/HashMap.h>
#include "NotImplemented.h"
#include "PluginView.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "runtime_root.h"
#include "runtime.h"
#import "UserStyleSheetLoader.h"
#import "WebCoreViewFactory.h"
#import "WebScriptObjectPrivate.h"
-#import "kjs_proxy.h"
+#import "ScriptController.h"
#import "visible_units.h"
#import <Carbon/Carbon.h>
#import <JavaScriptCore/APICast.h>
#include "PlatformWheelEvent.h"
#include "MouseEventWithHitTestResults.h"
#include "SelectionController.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "TypingCommand.h"
#include "JSLock.h"
#include "qt_instance.h"
#include "RenderView.h"
#include "ResourceHandle.h"
#include "TextResourceDecoder.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
#include "npruntime_impl.h"
#include "runtime_root.h"
#include "GraphicsContext.h"
#include "PluginMessageThrottlerWin.h"
#endif
#include "PluginPackage.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#include "PluginDatabase.h"
#include "PluginDebug.h"
#include "PluginPackage.h"
return result;
}
-static bool getString(KJSProxy* proxy, JSValue* result, String& string)
+static bool getString(ScriptController* proxy, JSValue* result, String& string)
{
if (!proxy || !result || result->isUndefined())
return false;
#include "PluginPackage.h"
#include "RenderLayer.h"
#include "Settings.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#include "npruntime_impl.h"
#include "runtime.h"
#include "runtime_root.h"
#include "runtime_root.h"
#include <kjs/JSLock.h>
#include <kjs/value.h>
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#include "Document.h"
#include "DocumentLoader.h"
#include "PlatformMouseEvent.h"
#include "PluginMessageThrottlerWin.h"
#include "PluginPackage.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#include "PluginDatabase.h"
#include "PluginDebug.h"
#include "PluginPackage.h"
#include "SVGSVGElement.h"
#include "SMILTimeContainer.h"
#include "XMLTokenizer.h"
-#include "kjs_proxy.h"
+#include "ScriptController.h"
namespace WebCore {
#include "TextResourceDecoder.h"
#include "XMLHttpRequestException.h"
#include "XMLHttpRequestProgressEvent.h"
-#include "kjs_binding.h"
+#include "JSDOMBinding.h"
namespace WebCore {
+2008-06-14 Darin Adler <darin@apple.com>
+
+ Rubber stamped by Sam.
+
+ - new names for kjs_binding.h and kjs_proxy.h
+
+ * WebCoreSupport/FrameLoaderClientGtk.cpp:
+ * webkit/webkitwebframe.cpp:
+
2008-06-14 Darin Adler <darin@apple.com>
- fix build
#include "ResourceRequest.h"
#include "CString.h"
#include "ProgressTracker.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#include "webkitwebview.h"
#include "webkitwebframe.h"
#include "webkitprivate.h"
#include "JSDOMWindow.h"
#include "PrintContext.h"
#include "RenderView.h"
-#include "kjs_binding.h"
-#include "kjs_proxy.h"
+#include "JSDOMBinding.h"
+#include "ScriptController.h"
#include <JavaScriptCore/APICast.h>
+2008-06-14 Darin Adler <darin@apple.com>
+
+ Rubber stamped by Sam.
+
+ - new names for kjs_binding.h and kjs_proxy.h
+
+ * WebView/WebFrame.mm:
+ * WebView/WebScriptDebugDelegate.mm:
+ * WebView/WebView.mm:
+
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
#import <WebCore/TextIterator.h>
#import <WebCore/TypingCommand.h>
#import <WebCore/htmlediting.h>
-#import <WebCore/kjs_proxy.h>
+#import <WebCore/ScriptController.h>
#import <WebCore/markup.h>
#import <WebCore/visible_units.h>
#import <JavaScriptCore/interpreter.h>
#import <WebCore/Frame.h>
#import <WebCore/WebScriptObjectPrivate.h>
-#import <WebCore/kjs_proxy.h>
+#import <WebCore/ScriptController.h>
#import <WebCore/runtime_root.h>
using namespace KJS;
#import <WebCore/WebCoreObjCExtras.h>
#import <WebCore/WebCoreTextRenderer.h>
#import <WebCore/WebCoreView.h>
-#import <WebCore/kjs_proxy.h>
+#import <WebCore/ScriptController.h>
#import <WebKit/DOM.h>
#import <WebKit/DOMExtensions.h>
#import <WebKit/DOMPrivate.h>
#include "runtime_root.h"
#include "JSDOMWindow.h"
#include "qt_instance.h"
-#include "kjs_proxy.h"
-#include "kjs_binding.h"
+#include "ScriptController.h"
+#include "JSDOMBinding.h"
#include "ExecState.h"
#include "object.h"
#include "qt_runtime.h"
*/
QVariant QWebFrame::evaluateJavaScript(const QString& scriptSource)
{
- KJSProxy *proxy = d->frame->scriptProxy();
+ ScriptController *proxy = d->frame->scriptProxy();
QVariant rc;
if (proxy) {
KJS::JSValue *v = proxy->evaluate(String(), 1, scriptSource);
+2008-06-14 Darin Adler <darin@apple.com>
+
+ Rubber stamped by Sam.
+
+ - new names for kjs_binding.h and kjs_proxy.h
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::evaluateJavaScript):
+ * WebKit_pch.h:
+
2008-06-14 Darin Adler <darin@apple.com>
- fix build
#include <wtf/AlwaysInline.h>
#include <wtf/GetPtr.h>
-#include "../../WebCore/bindings/js/kjs_binding.h"
+#include "../../WebCore/bindings/js/JSDOMBinding.h"
#include "../../JavaScriptCore/kjs/math_object.h"
#endif
+2008-06-14 Darin Adler <darin@apple.com>
+
+ Rubber stamped by Sam.
+
+ - new names for kjs_binding.h and kjs_proxy.h
+
+ * WebFrame.cpp:
+
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
#include <WebCore/RenderTreeAsText.h>
#include <WebCore/Settings.h>
#include <WebCore/TextIterator.h>
-#include <WebCore/kjs_binding.h>
-#include <WebCore/kjs_proxy.h>
+#include <WebCore/JSDOMBinding.h>
+#include <WebCore/ScriptController.h>
#include <JavaScriptCore/APICast.h>
#include <wtf/MathExtras.h>
#pragma warning(pop)
+2008-06-14 Darin Adler <darin@apple.com>
+
+ Rubber stamped by Sam.
+
+ - new names for kjs_binding.h and kjs_proxy.h
+
+ * WebView.cpp:
+
2008-06-14 Darin Adler <darin@apple.com>
- try to fix wx build, again
#include "FrameLoaderClientWx.h"
#include "InspectorClientWx.h"
-#include "kjs_proxy.h"
-#include "kjs_binding.h"
+#include "ScriptController.h"
+#include "JSDOMBinding.h"
#include <kjs/value.h>
#include <kjs/ustring.h>
+2008-06-14 Darin Adler <darin@apple.com>
+
+ * Scripts/do-webcore-rename: Moved planned renames into a separate hash
+ from the actual renames. Removed many renames that are either done or
+ no longer planned.
+
2008-06-14 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Fixed obvious typo.
}
my %renames = (
+);
+
+my %plannedRenames = (
"ARRAY_INSTANCE_H" => "ArrayInstance_h",
"ActivationImp" => "Activation",
"ActivationImpData" => "ActivationData",
"ArrayInstance" => "JSArray",
"ArrayObjectImp" => "ArrayConstructor",
- "ArrayProtoFuncConcat" => "ArrayFunctionConcat",
- "ArrayProtoFuncEvery" => "ArrayFunctionEvery",
- "ArrayProtoFuncFilter" => "ArrayFunctionFilter",
- "ArrayProtoFuncForEach" => "ArrayFunctionForEach",
- "ArrayProtoFuncIndexOf" => "ArrayFunctionIndexOf",
- "ArrayProtoFuncJoin" => "ArrayFunctionJoin",
- "ArrayProtoFuncLastIndexOf" => "ArrayFunctionLastIndexOf",
- "ArrayProtoFuncMap" => "ArrayFunctionMap",
- "ArrayProtoFuncPop" => "ArrayFunctionPop",
- "ArrayProtoFuncPush" => "ArrayFunctionPush",
- "ArrayProtoFuncReverse" => "ArrayFunctionReverse",
- "ArrayProtoFuncShift" => "ArrayFunctionShift",
- "ArrayProtoFuncSlice" => "ArrayFunctionSlice",
- "ArrayProtoFuncSome" => "ArrayFunctionSome",
- "ArrayProtoFuncSort" => "ArrayFunctionSort",
- "ArrayProtoFuncSplice" => "ArrayFunctionSplice",
- "ArrayProtoFuncToLocaleString" => "ArrayFunctionToLocaleString",
- "ArrayProtoFuncToString" => "ArrayFunctionToString",
- "ArrayProtoFuncUnShift" => "ArrayFunctionUnshift",
"BooleanInstance" => "BooleanObject",
"BooleanObjectImp" => "BooleanConstructor",
"BooleanProtoFunc" => "BooleanFunction",
"DELETE_CONTENTS" => "Delete",
"DateObjectFuncImp" => "DateFunction",
"DateObjectImp" => "DateConstructor",
- "DateProtoFuncGetDate" => "DateFunctionGetDate",
- "DateProtoFuncGetDay" => "DateFunctionGetDay",
- "DateProtoFuncGetFullYear" => "DateFunctionGetFullYear",
- "DateProtoFuncGetHours" => "DateFunctionGetHours",
- "DateProtoFuncGetMilliSeconds" => "DateFunctionGetMilliSeconds",
- "DateProtoFuncGetMinutes" => "DateFunctionGetMinutes",
- "DateProtoFuncGetMonth" => "DateFunctionGetMonth",
- "DateProtoFuncGetSeconds" => "DateFunctionGetSeconds",
- "DateProtoFuncGetTime" => "DateFunctionGetTime",
- "DateProtoFuncGetTimezoneOffset" => "DateFunctionGetTimezoneOffset",
- "DateProtoFuncGetUTCDate" => "DateFunctionGetUTCDate",
- "DateProtoFuncGetUTCDay" => "DateFunctionGetUTCDay",
- "DateProtoFuncGetUTCFullYear" => "DateFunctionGetUTCFullYear",
- "DateProtoFuncGetUTCHours" => "DateFunctionGetUTCHours",
- "DateProtoFuncGetUTCMilliseconds" => "DateFunctionGetUTCMilliseconds",
- "DateProtoFuncGetUTCMinutes" => "DateFunctionGetUTCMinutes",
- "DateProtoFuncGetUTCMonth" => "DateFunctionGetUTCMonth",
- "DateProtoFuncGetUTCSeconds" => "DateFunctionGetUTCSeconds",
- "DateProtoFuncGetYear" => "DateFunctionGetYear",
- "DateProtoFuncSetDate" => "DateFunctionSetDate",
- "DateProtoFuncSetFullYear" => "DateFunctionSetFullYear",
- "DateProtoFuncSetHours" => "DateFunctionSetHours",
- "DateProtoFuncSetMilliSeconds" => "DateFunctionSetMilliSeconds",
- "DateProtoFuncSetMinutes" => "DateFunctionSetMinutes",
- "DateProtoFuncSetMonth" => "DateFunctionSetMonth",
- "DateProtoFuncSetSeconds" => "DateFunctionSetSeconds",
- "DateProtoFuncSetTime" => "DateFunctionSetTime",
- "DateProtoFuncSetUTCDate" => "DateFunctionSetUTCDate",
- "DateProtoFuncSetUTCFullYear" => "DateFunctionSetUTCFullYear",
- "DateProtoFuncSetUTCHours" => "DateFunctionSetUTCHours",
- "DateProtoFuncSetUTCMilliseconds" => "DateFunctionSetUTCMilliseconds",
- "DateProtoFuncSetUTCMinutes" => "DateFunctionSetUTCMinutes",
- "DateProtoFuncSetUTCMonth" => "DateFunctionSetUTCMonth",
- "DateProtoFuncSetUTCSeconds" => "DateFunctionSetUTCSeconds",
- "DateProtoFuncSetYear" => "DateFunctionSetYear",
- "DateProtoFuncToDateString" => "DateFunctionToDateString",
- "DateProtoFuncToGMTString" => "DateFunctionToGMTString",
- "DateProtoFuncToLocaleDateString" => "DateFunctionToLocaleDateString",
- "DateProtoFuncToLocaleString" => "DateFunctionToLocaleString",
- "DateProtoFuncToLocaleTimeString" => "DateFunctionToLocaleTimeString",
- "DateProtoFuncToString" => "DateFunctionToString",
- "DateProtoFuncToTimeString" => "DateFunctionToTimeString",
- "DateProtoFuncToUTCString" => "DateFunctionToUTCString",
- "DateProtoFuncValueOf" => "DateFunctionValueOf",
"DebuggerImp" => "DebuggerData",
"EXTRACT_CONTENTS" => "Extract",
"ErrorObjectImp" => "ErrorConstructor",
"ErrorProtoFuncToString" => "ErrorFunction",
- "FRAMES_ON_STACK" => "numFramesOnStack",
"FTPDirectoryTokenizer" => "FTPDirectoryDocumentBuilder",
"FunctionImp" => "JSFunction",
"FunctionObjectImp" => "FunctionConstructor",
"GetterSetterImp" => "JSGetterSetter",
"GlobalFuncImp" => "GlobalFunction",
"GlobalImp" => "TestGlobalObject",
- "HTMLGenericFormElement" => "HTMLFormControlElement",
- "HTMLGenericFormElement_h" => "HTMLFormControlElement_h",
"HTMLTokenizer" => "HTMLDocumentBuilder",
"ImageConstructorImp" => "JSImageConstructor",
"ImageTokenizer" => "ImageDocumentBuilder",
"KURL_H_" => "URL_h",
"List" => "JSArgumentList",
"MathObjectImp" => "MathObject",
- "MathProtoFuncACos" => "MathFunctionACos",
- "MathProtoFuncASin" => "MathFunctionASin",
- "MathProtoFuncATan" => "MathFunctionATan",
- "MathProtoFuncATan2" => "MathFunctionATan2",
- "MathProtoFuncAbs" => "MathFunctionAbs",
- "MathProtoFuncCeil" => "MathFunctionCeil",
- "MathProtoFuncCos" => "MathFunctionCos",
- "MathProtoFuncExp" => "MathFunctionExp",
- "MathProtoFuncFloor" => "MathFunctionFloor",
- "MathProtoFuncLog" => "MathFunctionLog",
- "MathProtoFuncMax" => "MathFunctionMax",
- "MathProtoFuncMin" => "MathFunctionMin",
- "MathProtoFuncPow" => "MathFunctionPow",
- "MathProtoFuncRandom" => "MathFunctionRandom",
- "MathProtoFuncRound" => "MathFunctionRound",
- "MathProtoFuncSin" => "MathFunctionSin",
- "MathProtoFuncSqrt" => "MathFunctionSqrt",
- "MathProtoFuncTan" => "MathFunctionTan",
"NativeErrorImp" => "NativeErrorConstructor",
"Navigator" => "JSNavigator",
"NumberImp" => "JSNumberCell",
"ObjectObjectImp" => "ObjectConstructor",
"ObjectProtoFunc" => "ObjectFunction",
"PluginTokenizer" => "PluginDocumentBuilder",
- "RECURSIVE_MATCH_STARTNG_NEW_GROUP" => "RECURSIVE_MATCH_NEW_GROUP",
"RegExpImp" => "RegExpObject",
"RegExpObjectImp" => "RegExpConstructor",
"RegExpObjectImpPrivate" => "RegExpConstructorPrivate",
"StringInstanceThatMasqueradesAsUndefined" => "StringObjectThatMasqueradesAsUndefined",
"StringObjectFuncImp" => "StringConstructorFunction",
"StringObjectImp" => "StringConstructor",
- "StringProtoFuncAnchor" => "StringFunctionAnchor",
- "StringProtoFuncBig" => "StringFunctionBig",
- "StringProtoFuncBlink" => "StringFunctionBlink",
- "StringProtoFuncBold" => "StringFunctionBold",
- "StringProtoFuncCharAt" => "StringFunctionCharAt",
- "StringProtoFuncCharCodeAt" => "StringFunctionCharCodeAt",
- "StringProtoFuncConcat" => "StringFunctionConcat",
- "StringProtoFuncFixed" => "StringFunctionFixed",
- "StringProtoFuncFontcolor" => "StringFunctionFontcolor",
- "StringProtoFuncFontsize" => "StringFunctionFontsize",
- "StringProtoFuncIndexOf" => "StringFunctionIndexOf",
- "StringProtoFuncItalics" => "StringFunctionItalics",
- "StringProtoFuncLastIndexOf" => "StringFunctionLastIndexOf",
- "StringProtoFuncLink" => "StringFunctionLink",
- "StringProtoFuncLocaleCompare" => "StringFunctionLocaleCompare",
- "StringProtoFuncMatch" => "StringFunctionMatch",
- "StringProtoFuncReplace" => "StringFunctionReplace",
- "StringProtoFuncSearch" => "StringFunctionSearch",
- "StringProtoFuncSlice" => "StringFunctionSlice",
- "StringProtoFuncSmall" => "StringFunctionSmall",
- "StringProtoFuncSplit" => "StringFunctionSplit",
- "StringProtoFuncStrike" => "StringFunctionStrike",
- "StringProtoFuncSub" => "StringFunctionSub",
- "StringProtoFuncSubstr" => "StringFunctionSubstr",
- "StringProtoFuncSubstring" => "StringFunctionSubstring",
- "StringProtoFuncSup" => "StringFunctionSup",
- "StringProtoFuncToLocaleLowerCase" => "StringFunctionToLocaleLowerCase",
- "StringProtoFuncToLocaleUpperCase" => "StringFunctionToLocaleUpperCase",
- "StringProtoFuncToLowerCase" => "StringFunctionToLowerCase",
- "StringProtoFuncToString" => "StringFunctionToString",
- "StringProtoFuncToUpperCase" => "StringFunctionToUpperCase",
- "StringProtoFuncValueOf" => "StringFunctionValueOf",
"TestFunctionImp" => "TestFunction",
"TextTokenizer" => "TextDocumentBuilder",
"ThreadSafeShared" => "ThreadSafeRefCounted",
"XSLTProcessorPrototypeTable" => "JSXSLTProcessorPrototypeTable",
"animationController" => "animation",
"array_instance" => "ArrayInstance",
- "branchfirstbyte" => "branchFirstByte",
- "branchreqbyte" => "branchReqByte",
- "class_charcount" => "classCharCount",
- "class_lastchar" => "classLastChar",
- "codeptr" => "codePtr",
"createTokenizer" => "createBuilder",
- "domString" => "string",
"equalIgnoringCase" => "equalFoldingCase",
- "errorcodeptr" => "errorCodePtr",
- "errorptr" => "errorPtr",
- "first_byte" => "firstByte",
- "first_byte_caseless" => "firstByteIsCaseless",
- "first_char" => "firstChar",
- "firstbyte" => "firstByte",
- "groupsetfirstbyte" => "didGroupSetFirstByte",
"isHTMLTokenizer" => "isHTMLDocumentBuilder",
- "is_quantifier" => "isQuantifier",
- "isclass" => "isClass",
- "kjs_binding" => "JSDOMBinding",
- "kjs_binding_h" => "JSDOMBinding_h",
- "kjs_proxy" => "ScriptController",
- "kjs_proxy_h" => "ScriptController_h",
- "last_branch" => "lastBranch",
"m_tokenizer" => "m_builder",
- "mclength" => "mcLength",
- "negate_class" => "negateClass",
- "offsetcount" => "offsetCount",
- "op_type" => "opType",
- "prev_length" => "prevLength",
"property_slot" => "PropertySlot",
- "ptrptr" => "ptrPtr",
- "repeat_min" => "repeatMin",
- "repeat_type" => "repeatType",
- "req_byte" => "reqByte",
- "req_byte2" => "reqByte2",
- "req_byte_caseless" => "reqByteIsCaseless",
- "req_caseopt" => "reqCaseOpt",
- "req_varyopt" => "reqVaryOpt",
- "reqbyte" => "reqByte",
- "resetcount" => "resetCount",
"scope_chain" => "ScopeChain",
"scope_chain_mark" => "ScopeChainMark",
"scope_chain_mark_h" => "ScopeChainMark_h",
"scriptProxy" => "script",
"selectionController" => "selection",
- "should_flip_negation" => "shouldFlipNegation",
- "skipbytes" => "skipBytes",
- "subfirstbyte" => "subFirstByte",
- "subreqbyte" => "subReqByte",
"tokenizerProcessedData" => "documentBuilderProcessedData",
- "top_backref" => "topBackref",
- "top_bracket" => "topBracket",
- "using_temporary_offsets" => "usingTemporaryOffsets",
- "zerofirstbyte" => "zeroFirstByte",
- "zeroreqbyte" => "zeroReqByte",
);
# rename files