Commit a691b5af authored by cwzwarich@webkit.org's avatar cwzwarich@webkit.org
Browse files

2008-10-30 Cameron Zwarich <zwarich@apple.com>

        Rubber-stamped by Sam Weinig.

        Create a debugger directory in JavaScriptCore and move the relevant
        files to it.

        JavaScriptCore:

        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * VM/CodeBlock.cpp:
        * VM/CodeGenerator.h:
        * VM/Machine.cpp:
        * debugger: Added.
        * debugger/Debugger.cpp: Copied from kjs/debugger.cpp.
        * debugger/Debugger.h: Copied from kjs/debugger.h.
        * debugger/DebuggerCallFrame.cpp: Copied from kjs/DebuggerCallFrame.cpp.
        * debugger/DebuggerCallFrame.h: Copied from kjs/DebuggerCallFrame.h.
        * kjs/AllInOneFile.cpp:
        * kjs/DebuggerCallFrame.cpp: Removed.
        * kjs/DebuggerCallFrame.h: Removed.
        * kjs/Parser.cpp:
        * kjs/Parser.h:
        * kjs/debugger.cpp: Removed.
        * kjs/debugger.h: Removed.
        * kjs/interpreter.cpp:
        * kjs/nodes.cpp:
        * runtime/FunctionConstructor.cpp:
        * runtime/JSGlobalObject.cpp:

        WebCore:

        * ForwardingHeaders/debugger: Added.
        * ForwardingHeaders/debugger/Debugger.h: Copied from ForwardingHeaders/kjs/debugger.h.
        * ForwardingHeaders/debugger/DebuggerCallFrame.h: Copied from ForwardingHeaders/kjs/DebuggerCallFrame.h.
        * ForwardingHeaders/kjs/DebuggerCallFrame.h: Removed.
        * ForwardingHeaders/kjs/debugger.h: Removed.
        * WebCore.pro:
        * bindings/js/ScriptController.cpp:
        * inspector/JavaScriptCallFrame.cpp:
        * inspector/JavaScriptCallFrame.h:
        * inspector/JavaScriptDebugServer.cpp:
        * inspector/JavaScriptDebugServer.h:

        WebKit/mac:

        * ForwardingHeaders/debugger: Added.
        * ForwardingHeaders/debugger/DebuggerCallFrame.h: Copied from ForwardingHeaders/kjs/DebuggerCallFrame.h.
        * ForwardingHeaders/kjs/DebuggerCallFrame.h: Removed.
        * WebView/WebScriptDebugDelegate.mm:
        * WebView/WebScriptDebugger.h:
        * WebView/WebScriptDebugger.mm:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a4030788
2008-10-30 Cameron Zwarich <zwarich@apple.com>
Rubber-stamped by Sam Weinig.
Create a debugger directory in JavaScriptCore and move the relevant
files to it.
* GNUmakefile.am:
* JavaScriptCore.pri:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* VM/CodeBlock.cpp:
* VM/CodeGenerator.h:
* VM/Machine.cpp:
* debugger: Added.
* debugger/Debugger.cpp: Copied from kjs/debugger.cpp.
* debugger/Debugger.h: Copied from kjs/debugger.h.
* debugger/DebuggerCallFrame.cpp: Copied from kjs/DebuggerCallFrame.cpp.
* debugger/DebuggerCallFrame.h: Copied from kjs/DebuggerCallFrame.h.
* kjs/AllInOneFile.cpp:
* kjs/DebuggerCallFrame.cpp: Removed.
* kjs/DebuggerCallFrame.h: Removed.
* kjs/Parser.cpp:
* kjs/Parser.h:
* kjs/debugger.cpp: Removed.
* kjs/debugger.h: Removed.
* kjs/interpreter.cpp:
* kjs/nodes.cpp:
* runtime/FunctionConstructor.cpp:
* runtime/JSGlobalObject.cpp:
2008-10-30 Benjamin K. Stuhl <bks24@cornell.edu>
 
gcc 4.3.3/linux-x86 generates "suggest parentheses around && within ||"
......
......@@ -2,6 +2,7 @@ javascriptcore_cppflags += \
-I$(srcdir)/JavaScriptCore/API \
-I$(srcdir)/JavaScriptCore/ForwardingHeaders \
-I$(srcdir)/JavaScriptCore/VM \
-I$(srcdir)/JavaScriptCore/debugger \
-I$(srcdir)/JavaScriptCore/pcre \
-I$(srcdir)/JavaScriptCore/profiler \
-I$(srcdir)/JavaScriptCore/runtime \
......@@ -113,8 +114,8 @@ javascriptcore_sources += \
JavaScriptCore/kjs/Arguments.h \
JavaScriptCore/kjs/BatchedTransitionOptimizer.h \
JavaScriptCore/kjs/CollectorHeapIterator.h \
JavaScriptCore/kjs/DebuggerCallFrame.cpp \
JavaScriptCore/kjs/DebuggerCallFrame.h \
JavaScriptCore/debugger/DebuggerCallFrame.cpp \
JavaScriptCore/debugger/DebuggerCallFrame.h \
JavaScriptCore/kjs/ExecState.cpp \
JavaScriptCore/kjs/ExecState.h \
JavaScriptCore/kjs/InitializeThreading.cpp \
......@@ -143,7 +144,7 @@ javascriptcore_sources += \
JavaScriptCore/kjs/collector.h \
JavaScriptCore/kjs/completion.h \
JavaScriptCore/kjs/config.h \
JavaScriptCore/kjs/debugger.h \
JavaScriptCore/debugger/Debugger.h \
JavaScriptCore/kjs/dtoa.h \
JavaScriptCore/kjs/identifier.h \
JavaScriptCore/kjs/interpreter.h \
......@@ -323,7 +324,7 @@ javascriptcore_sources += \
JavaScriptCore/kjs/RegExpPrototype.cpp \
JavaScriptCore/kjs/ScopeChain.cpp \
JavaScriptCore/kjs/collector.cpp \
JavaScriptCore/kjs/debugger.cpp \
JavaScriptCore/debugger/Debugger.cpp \
JavaScriptCore/kjs/dtoa.cpp \
JavaScriptCore/kjs/identifier.cpp \
JavaScriptCore/kjs/interpreter.cpp \
......
......@@ -2,7 +2,7 @@
VPATH += $$PWD
INCLUDEPATH += tmp
INCLUDEPATH += $$PWD $$PWD/kjs $$PWD/runtime $$PWD/wtf $$PWD/wtf/unicode $$PWD/VM $$PWD/profiler $$PWD/API $$PWD/.. \
INCLUDEPATH += $$PWD $$PWD/kjs $$PWD/debugger $$PWD/runtime $$PWD/wtf $$PWD/wtf/unicode $$PWD/VM $$PWD/profiler $$PWD/API $$PWD/.. \
$$PWD/ForwardingHeaders
DEFINES += BUILDING_QT__
......@@ -81,8 +81,8 @@ SOURCES += \
runtime/DateInstance.cpp \
runtime/DateMath.cpp \
runtime/DatePrototype.cpp \
kjs/debugger.cpp \
kjs/DebuggerCallFrame.cpp \
debugger/Debugger.cpp \
debugger/DebuggerCallFrame.cpp \
kjs/dtoa.cpp \
runtime/Error.cpp \
runtime/ErrorConstructor.cpp \
......
......@@ -1326,19 +1326,19 @@
Name="Debugger"
>
<File
RelativePath="..\..\kjs\debugger.cpp"
RelativePath="..\..\debugger\Debugger.cpp"
>
</File>
<File
RelativePath="..\..\kjs\debugger.h"
RelativePath="..\..\debugger\Debugger.h"
>
</File>
<File
RelativePath="..\..\kjs\DebuggerCallFrame.cpp"
RelativePath="..\..\debugger\DebuggerCallFrame.cpp"
>
</File>
<File
RelativePath="..\..\kjs\DebuggerCallFrame.h"
RelativePath="..\..\debugger\DebuggerCallFrame.h"
>
</File>
</Filter>
......
......@@ -149,7 +149,7 @@
BC18C3F50E16F5CD00B34460 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = F68EBB8C0255D4C601FF60F7 /* config.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC18C3F60E16F5CD00B34460 /* ConstructData.h in Headers */ = {isa = PBXBuildFile; fileRef = BC8F3CCF0DAF17BA00577A80 /* ConstructData.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC18C3F90E16F5CD00B34460 /* DateMath.h in Headers */ = {isa = PBXBuildFile; fileRef = D21202290AD4310C00ED79B6 /* DateMath.h */; };
BC18C3FA0E16F5CD00B34460 /* debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = F692A8590255597D01FF60F7 /* debugger.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC18C3FA0E16F5CD00B34460 /* Debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = F692A8590255597D01FF60F7 /* Debugger.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC18C3FB0E16F5CD00B34460 /* DebuggerCallFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 1480DB9B0DDC227F003CFDF2 /* DebuggerCallFrame.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC18C3FC0E16F5CD00B34460 /* Deque.h in Headers */ = {isa = PBXBuildFile; fileRef = 5186111D0CC824830081412B /* Deque.h */; settings = {ATTRIBUTES = (Private, ); }; };
BC18C3FD0E16F5CD00B34460 /* DisallowCType.h in Headers */ = {isa = PBXBuildFile; fileRef = 938C4F6B0CA06BCE00D9310A /* DisallowCType.h */; settings = {ATTRIBUTES = (Private, ); }; };
......@@ -409,7 +409,7 @@
14760863099C633800437128 /* JSImmediate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSImmediate.cpp; sourceTree = "<group>"; };
147B83AA0E6DB8C9004775A4 /* BatchedTransitionOptimizer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BatchedTransitionOptimizer.h; sourceTree = "<group>"; };
147B84620E6DE6B1004775A4 /* PutPropertySlot.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PutPropertySlot.h; sourceTree = "<group>"; };
1480DB9B0DDC227F003CFDF2 /* DebuggerCallFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DebuggerCallFrame.h; path = kjs/DebuggerCallFrame.h; sourceTree = "<group>"; };
1480DB9B0DDC227F003CFDF2 /* DebuggerCallFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DebuggerCallFrame.h; sourceTree = "<group>"; };
1482B6EA0A4300B300517CFC /* JSValueRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSValueRef.h; sourceTree = "<group>"; };
1482B74B0A43032800517CFC /* JSStringRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSStringRef.h; sourceTree = "<group>"; };
1482B74C0A43032800517CFC /* JSStringRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSStringRef.cpp; sourceTree = "<group>"; };
......@@ -419,7 +419,7 @@
1483B589099BC1950016E4F0 /* JSImmediate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSImmediate.h; sourceTree = "<group>"; };
148A1626095D16BB00666D0D /* ListRefPtr.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ListRefPtr.h; sourceTree = "<group>"; };
148A1ECD0D10C23B0069A47C /* RefPtrHashMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RefPtrHashMap.h; sourceTree = "<group>"; };
149559ED0DDCDDF700648087 /* DebuggerCallFrame.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DebuggerCallFrame.cpp; path = kjs/DebuggerCallFrame.cpp; sourceTree = "<group>"; };
149559ED0DDCDDF700648087 /* DebuggerCallFrame.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DebuggerCallFrame.cpp; sourceTree = "<group>"; };
149B15E40D81F986009CB8C7 /* Opcode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Opcode.h; path = VM/Opcode.h; sourceTree = "<group>"; };
149B15E50D81F986009CB8C7 /* Opcode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Opcode.cpp; path = VM/Opcode.cpp; sourceTree = "<group>"; };
149B15E60D81F986009CB8C7 /* Machine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Machine.h; path = VM/Machine.h; sourceTree = "<group>"; };
......@@ -712,8 +712,8 @@
F692A8520255597D01FF60F7 /* collector.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = collector.cpp; sourceTree = "<group>"; tabWidth = 8; };
F692A8530255597D01FF60F7 /* collector.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = collector.h; sourceTree = "<group>"; tabWidth = 8; };
F692A8540255597D01FF60F7 /* create_hash_table */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = text.script.perl; path = create_hash_table; sourceTree = "<group>"; tabWidth = 8; };
F692A8580255597D01FF60F7 /* debugger.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; name = debugger.cpp; path = kjs/debugger.cpp; sourceTree = "<group>"; tabWidth = 8; };
F692A8590255597D01FF60F7 /* debugger.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; name = debugger.h; path = kjs/debugger.h; sourceTree = "<group>"; tabWidth = 8; };
F692A8580255597D01FF60F7 /* Debugger.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Debugger.cpp; sourceTree = "<group>"; tabWidth = 8; };
F692A8590255597D01FF60F7 /* Debugger.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = Debugger.h; sourceTree = "<group>"; tabWidth = 8; };
F692A85C0255597D01FF60F7 /* FunctionPrototype.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FunctionPrototype.cpp; sourceTree = "<group>"; tabWidth = 8; };
F692A85D0255597D01FF60F7 /* FunctionPrototype.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = FunctionPrototype.h; sourceTree = "<group>"; tabWidth = 8; };
F692A85E0255597D01FF60F7 /* JSFunction.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFunction.cpp; sourceTree = "<group>"; tabWidth = 8; };
......@@ -922,12 +922,12 @@
1480DB9A0DDC2231003CFDF2 /* debugger */ = {
isa = PBXGroup;
children = (
F692A8580255597D01FF60F7 /* debugger.cpp */,
F692A8590255597D01FF60F7 /* debugger.h */,
F692A8580255597D01FF60F7 /* Debugger.cpp */,
F692A8590255597D01FF60F7 /* Debugger.h */,
149559ED0DDCDDF700648087 /* DebuggerCallFrame.cpp */,
1480DB9B0DDC227F003CFDF2 /* DebuggerCallFrame.h */,
);
name = debugger;
path = debugger;
sourceTree = "<group>";
};
149B15DF0D81F887009CB8C7 /* compiler */ = {
......@@ -1383,7 +1383,7 @@
BC18C3F60E16F5CD00B34460 /* ConstructData.h in Headers */,
5DE6E5B30E1728EC00180407 /* create_hash_table in Headers */,
BC18C3F90E16F5CD00B34460 /* DateMath.h in Headers */,
BC18C3FA0E16F5CD00B34460 /* debugger.h in Headers */,
BC18C3FA0E16F5CD00B34460 /* Debugger.h in Headers */,
BC18C3FB0E16F5CD00B34460 /* DebuggerCallFrame.h in Headers */,
BC18C3FC0E16F5CD00B34460 /* Deque.h in Headers */,
BC18C3FD0E16F5CD00B34460 /* DisallowCType.h in Headers */,
......
......@@ -33,7 +33,7 @@
#include "CTI.h"
#include "JSValue.h"
#include "Machine.h"
#include "debugger.h"
#include "Debugger.h"
#include <stdio.h>
#include <wtf/StringExtras.h>
......
......@@ -38,7 +38,7 @@
#include "RegisterID.h"
#include "SegmentedVector.h"
#include "SymbolTable.h"
#include "debugger.h"
#include "Debugger.h"
#include "nodes.h"
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
......
......@@ -51,7 +51,7 @@
#include "RegExpPrototype.h"
#include "Register.h"
#include "collector.h"
#include "debugger.h"
#include "Debugger.h"
#include "operations.h"
#include "SamplingTool.h"
#include <stdio.h>
......
......@@ -20,7 +20,7 @@
*/
#include "config.h"
#include "debugger.h"
#include "Debugger.h"
#include "JSGlobalObject.h"
......
......@@ -37,7 +37,7 @@
#include "runtime/JSGlobalObjectFunctions.cpp"
#include "runtime/PrototypeFunction.cpp"
#include "runtime/GlobalEvalFunction.cpp"
#include "debugger.cpp"
#include "debugger/Debugger.cpp"
#include "runtime/JSArray.cpp"
#include "runtime/ArrayConstructor.cpp"
#include "runtime/ArrayPrototype.cpp"
......
......@@ -23,7 +23,7 @@
#include "config.h"
#include "Parser.h"
#include "debugger.h"
#include "Debugger.h"
#include "lexer.h"
#include <wtf/HashSet.h>
#include <wtf/Vector.h>
......
......@@ -24,7 +24,7 @@
#define Parser_h
#include "SourceProvider.h"
#include "debugger.h"
#include "Debugger.h"
#include "nodes.h"
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
......
......@@ -29,7 +29,7 @@
#include "Machine.h"
#include "Parser.h"
#include "completion.h"
#include "debugger.h"
#include "Debugger.h"
#include <stdio.h>
#if !PLATFORM(WIN_OS)
......
......@@ -34,7 +34,7 @@
#include "PropertyNameArray.h"
#include "RegExpObject.h"
#include "SamplingTool.h"
#include "debugger.h"
#include "Debugger.h"
#include "lexer.h"
#include "operations.h"
#include <math.h>
......
......@@ -26,7 +26,7 @@
#include "JSGlobalObject.h"
#include "JSString.h"
#include "Parser.h"
#include "debugger.h"
#include "Debugger.h"
#include "lexer.h"
#include "nodes.h"
......
......@@ -66,7 +66,7 @@
#include "ScopeChainMark.h"
#include "StringConstructor.h"
#include "StringPrototype.h"
#include "debugger.h"
#include "Debugger.h"
namespace JSC {
......
2008-10-30 Cameron Zwarich <zwarich@apple.com>
Rubber-stamped by Sam Weinig.
Create a debugger directory in JavaScriptCore and move the relevant
files to it.
* ForwardingHeaders/debugger: Added.
* ForwardingHeaders/debugger/Debugger.h: Copied from ForwardingHeaders/kjs/debugger.h.
* ForwardingHeaders/debugger/DebuggerCallFrame.h: Copied from ForwardingHeaders/kjs/DebuggerCallFrame.h.
* ForwardingHeaders/kjs/DebuggerCallFrame.h: Removed.
* ForwardingHeaders/kjs/debugger.h: Removed.
* WebCore.pro:
* bindings/js/ScriptController.cpp:
* inspector/JavaScriptCallFrame.cpp:
* inspector/JavaScriptCallFrame.h:
* inspector/JavaScriptDebugServer.cpp:
* inspector/JavaScriptDebugServer.h:
2008-10-30 Tony Chang <tony@chromium.org>
 
Fix 2 Windows theme bugs:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment