Move qmljs_object.* to qv4object.*
authorLars Knoll <lars.knoll@digia.com>
Mon, 21 Jan 2013 20:54:53 +0000 (21:54 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Mon, 21 Jan 2013 21:54:46 +0000 (22:54 +0100)
Change-Id: I846958875eaa2feae51e3a70290a197dd40bcb12
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
27 files changed:
debugging.cpp
main.cpp
moth/qv4instr_moth_p.h
moth/qv4isel_moth_p.h
qmljs_engine.cpp
qmljs_engine.h
qmljs_environment.cpp
qmljs_runtime.cpp
qmljs_value.cpp
qv4argumentsobject.h
qv4array.cpp
qv4dateobject.h
qv4ecmaobjects_p.h
qv4errorobject.h
qv4functionobject.cpp
qv4functionobject.h
qv4isel_masm.cpp
qv4isel_masm_p.h
qv4jsonobject.h
qv4mathobject.h
qv4mm.cpp
qv4mm.h
qv4object.cpp [moved from qmljs_objects.cpp with 99% similarity]
qv4object.h [moved from qmljs_objects.h with 100% similarity]
qv4objectiterator.cpp
qv4stringobject.h
v4.pro

index bcebe44..61ae0e6 100644 (file)
@@ -28,7 +28,7 @@
 ****************************************************************************/
 
 #include "debugging.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4functionobject.h"
 #include <iostream>
 
index 93f4312..3f3e2df 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -44,7 +44,7 @@
 #endif
 
 #include "debugging.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qmljs_runtime.h"
 #include "qv4functionobject.h"
 #include "qv4errorobject.h"
index 8136a68..e3cc843 100644 (file)
@@ -2,7 +2,7 @@
 #define QV4INSTR_MOTH_P_H
 
 #include <QtCore/qglobal.h>
-#include "qmljs_objects.h"
+#include "qv4object.h"
 
 #define FOR_EACH_MOTH_INSTR(F) \
     F(Ret, ret) \
index f02914f..e109064 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "qv4isel_p.h"
 #include "qv4ir_p.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4instr_moth_p.h"
 
 namespace QQmlJS {
index 9dc0eb3..231c6b8 100644 (file)
@@ -39,7 +39,7 @@
 **
 ****************************************************************************/
 #include <qmljs_engine.h>
-#include <qmljs_objects.h>
+#include <qv4object.h>
 #include <qv4ecmaobjects_p.h>
 #include <qv4globalobject.h>
 #include <qv4errorobject.h>
index 72722e0..fbb6e48 100644 (file)
@@ -42,7 +42,7 @@
 #define QMLJS_ENGINE_H
 
 #include <qv4isel_p.h>
-#include <qmljs_objects.h>
+#include <qv4object.h>
 #include <qmljs_environment.h>
 #include <setjmp.h>
 
index bdfd685..b756f97 100644 (file)
@@ -42,7 +42,7 @@
 #include <QString>
 #include "debugging.h"
 #include <qmljs_environment.h>
-#include <qmljs_objects.h>
+#include <qv4object.h>
 #include <qv4ecmaobjects_p.h>
 #include "qv4mm.h"
 #include <qv4argumentsobject.h>
index 9ba9b89..2c03f47 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "debugging.h"
 #include "qmljs_runtime.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4ir_p.h"
 #include "qv4ecmaobjects_p.h"
 #include "private/qlocale_tools_p.h"
index 9121ea8..ebea41e 100644 (file)
@@ -39,7 +39,7 @@
 **
 ****************************************************************************/
 #include <qmljs_engine.h>
-#include <qmljs_objects.h>
+#include <qv4object.h>
 #include <qv4ecmaobjects_p.h>
 
 namespace QQmlJS {
index b8f15b3..90af02f 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef QV4ARGUMENTSOBJECTS_H
 #define QV4ARGUMENTSOBJECTS_H
 
-#include <qmljs_objects.h>
+#include <qv4object.h>
 #include <qv4functionobject.h>
 
 namespace QQmlJS {
index 1bbd266..15150cc 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "qv4array.h"
 #include "qmljs_runtime.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4functionobject.h"
 #include <stdlib.h>
 
index 1113755..204b837 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef QV4DATEOBJECT_P_H
 #define QV4DATEOBJECT_P_H
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4functionobject.h"
 #include <QtCore/qnumeric.h>
 
index d17bfc4..687601c 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef QV4ECMAOBJECTS_P_H
 #define QV4ECMAOBJECTS_P_H
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4functionobject.h"
 #include <QtCore/qnumeric.h>
 
index 95867e1..66f2676 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef QV4ERROROBJECT_H
 #define QV4ERROROBJECT_H
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4functionobject.h"
 
 namespace QQmlJS {
index 6d8b19f..01be726 100644 (file)
@@ -39,7 +39,7 @@
 **
 ****************************************************************************/
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4ir_p.h"
 #include "qv4isel_p.h"
 #include "qv4ecmaobjects_p.h"
index 775c84f..727361f 100644 (file)
@@ -44,7 +44,7 @@
 #include "qmljs_runtime.h"
 #include "qmljs_engine.h"
 #include "qmljs_environment.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4array.h"
 #include "qv4string.h"
 #include "qv4codegen_p.h"
index 8998618..085706b 100644 (file)
@@ -41,7 +41,7 @@
 
 #include "qv4isel_masm_p.h"
 #include "qmljs_runtime.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4functionobject.h"
 #include "qv4regexpobject.h"
 
index 6bc0420..192439b 100644 (file)
@@ -44,7 +44,7 @@
 #include "qv4ir_p.h"
 #include "qv4isel_p.h"
 #include "qv4isel_util_p.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qmljs_runtime.h"
 
 #include <QtCore/QHash>
index 1a6f24a..193d490 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef QV4JSONOBJECTS_H
 #define QV4SJONOBJECTS_H
 
-#include <qmljs_objects.h>
+#include <qv4object.h>
 
 namespace QQmlJS {
 namespace VM {
index 5f3f56f..68014f1 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef QV4MATHOBJECT_H
 #define QV$MATHOBJECT_H
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 
 namespace QQmlJS {
 
index fd7d86a..daac6e8 100644 (file)
--- a/qv4mm.cpp
+++ b/qv4mm.cpp
@@ -28,7 +28,7 @@
 ****************************************************************************/
 
 #include "qmljs_engine.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4ecmaobjects_p.h"
 #include "qv4mm.h"
 #include "PageAllocation.h"
diff --git a/qv4mm.h b/qv4mm.h
index 33ffc88..5790ba4 100644 (file)
--- a/qv4mm.h
+++ b/qv4mm.h
@@ -30,7 +30,7 @@
 #ifndef QV4GC_H
 #define QV4GC_H
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 
 #include <QScopedPointer>
 
similarity index 99%
rename from qmljs_objects.cpp
rename to qv4object.cpp
index eb93cf8..a8814b3 100644 (file)
@@ -39,7 +39,7 @@
 **
 ****************************************************************************/
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4ir_p.h"
 #include "qv4isel_p.h"
 #include "qv4ecmaobjects_p.h"
similarity index 100%
rename from qmljs_objects.h
rename to qv4object.h
index 271a3c5..8da2e7b 100644 (file)
@@ -39,7 +39,7 @@
 **
 ****************************************************************************/
 #include "qv4objectiterator.h"
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4stringobject.h"
 
 namespace QQmlJS {
index 465ab34..7e2fc84 100644 (file)
@@ -41,7 +41,7 @@
 #ifndef QV4STRINGOBJECT_P_H
 #define QV4STRINGOBJECT_P_H
 
-#include "qmljs_objects.h"
+#include "qv4object.h"
 #include "qv4functionobject.h"
 #include <QtCore/qnumeric.h>
 
diff --git a/v4.pro b/v4.pro
index 69c4a0c..d85e283 100644 (file)
--- a/v4.pro
+++ b/v4.pro
@@ -16,7 +16,6 @@ SOURCES += main.cpp \
     qmljs_engine.cpp \
     qmljs_environment.cpp \
     qmljs_runtime.cpp \
-    qmljs_objects.cpp \
     qmljs_value.cpp \
     qv4syntaxchecker.cpp \
     qv4ecmaobjects.cpp \
@@ -34,6 +33,7 @@ SOURCES += main.cpp \
     qv4globalobject.cpp \
     qv4jsonobject.cpp \
     qv4mathobject.cpp \
+    qv4object.cpp \
     qv4regexpobject.cpp \
     qv4stringobject.cpp \
     qv4string.cpp \
@@ -46,7 +46,6 @@ HEADERS += \
     qmljs_engine.h \
     qmljs_environment.h \
     qmljs_runtime.h \
-    qmljs_objects.h \
     qmljs_math.h \
     qmljs_value.h \
     qv4syntaxchecker_p.h \
@@ -65,6 +64,7 @@ HEADERS += \
     qv4globalobject.h \
     qv4jsonobject.h \
     qv4mathobject.h \
+    qv4object.h \
     qv4regexpobject.h \
     qv4stringobject.h \
     qv4string.h \