diff --git a/dust3d.pro b/dust3d.pro index e2ba317d..5c783fe4 100644 --- a/dust3d.pro +++ b/dust3d.pro @@ -388,21 +388,21 @@ SOURCES += src/main.cpp HEADERS += src/version.h -INCLUDEPATH += thirdparty/quickjs/quickjs-2019-07-09 +INCLUDEPATH += thirdparty/quickjs/quickjs-2019-07-09-dust3d DEFINES += "CONFIG_VERSION=\"\\\"2019-07-09\\\"\"" -SOURCES += thirdparty/quickjs/quickjs-2019-07-09/quickjs.c -HEADERS += thirdparty/quickjs/quickjs-2019-07-09/quickjs.h +SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.c +HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.h -SOURCES += thirdparty/quickjs/quickjs-2019-07-09/cutils.c -HEADERS += thirdparty/quickjs/quickjs-2019-07-09/cutils.h +SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.c +HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.h -SOURCES += thirdparty/quickjs/quickjs-2019-07-09/libunicode.c -HEADERS += thirdparty/quickjs/quickjs-2019-07-09/libunicode.h +SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.c +HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.h -SOURCES += thirdparty/quickjs/quickjs-2019-07-09/libregexp.c -HEADERS += thirdparty/quickjs/quickjs-2019-07-09/libregexp.h +SOURCES += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.c +HEADERS += thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.h INCLUDEPATH += thirdparty/nodemesh diff --git a/thirdparty/quickjs/quickjs-2019-07-09/Makefile b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/Makefile similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/Makefile rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/Makefile diff --git a/thirdparty/quickjs/quickjs-2019-07-09/TODO b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/TODO similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/TODO rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/TODO diff --git a/thirdparty/quickjs/quickjs-2019-07-09/VERSION b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/VERSION similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/VERSION rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/VERSION diff --git a/thirdparty/quickjs/quickjs-2019-07-09/bjson.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/bjson.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/bjson.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/bjson.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/cutils.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/cutils.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/cutils.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/cutils.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/cutils.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/doc/jsbignum.html b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/jsbignum.html similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/doc/jsbignum.html rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/jsbignum.html diff --git a/thirdparty/quickjs/quickjs-2019-07-09/doc/jsbignum.pdf b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/jsbignum.pdf similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/doc/jsbignum.pdf rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/jsbignum.pdf diff --git a/thirdparty/quickjs/quickjs-2019-07-09/doc/jsbignum.texi b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/jsbignum.texi similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/doc/jsbignum.texi rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/jsbignum.texi diff --git a/thirdparty/quickjs/quickjs-2019-07-09/doc/quickjs.html b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/quickjs.html similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/doc/quickjs.html rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/quickjs.html diff --git a/thirdparty/quickjs/quickjs-2019-07-09/doc/quickjs.pdf b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/quickjs.pdf similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/doc/quickjs.pdf rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/quickjs.pdf diff --git a/thirdparty/quickjs/quickjs-2019-07-09/doc/quickjs.texi b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/quickjs.texi similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/doc/quickjs.texi rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/doc/quickjs.texi diff --git a/thirdparty/quickjs/quickjs-2019-07-09/examples/c_module.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/c_module.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/examples/c_module.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/c_module.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/examples/fib.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/fib.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/examples/fib.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/fib.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/examples/fib_module.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/fib_module.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/examples/fib_module.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/fib_module.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/examples/hello.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/hello.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/examples/hello.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/hello.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/examples/hello_module.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/hello_module.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/examples/hello_module.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/hello_module.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/examples/pi.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/pi.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/examples/pi.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/examples/pi.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/jscompress.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/jscompress.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/jscompress.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/jscompress.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libbf.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libbf.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libbf.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libbf.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libbf.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libbf.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libbf.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libbf.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libregexp-opcode.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp-opcode.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libregexp-opcode.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp-opcode.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libregexp.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libregexp.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libregexp.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libregexp.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libregexp.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libunicode-table.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode-table.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libunicode-table.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode-table.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libunicode.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libunicode.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/libunicode.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/libunicode.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/libunicode.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/list.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/list.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/list.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/list.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/qjs.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/qjs.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/qjs.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/qjs.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/qjsc.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/qjsc.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/qjsc.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/qjsc.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/qjscalc.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/qjscalc.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/qjscalc.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/qjscalc.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/quickjs-atom.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-atom.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/quickjs-atom.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-atom.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/quickjs-libc.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-libc.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/quickjs-libc.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-libc.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/quickjs-libc.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-libc.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/quickjs-libc.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-libc.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/quickjs-opcode.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-opcode.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/quickjs-opcode.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs-opcode.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/quickjs.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.c similarity index 99% rename from thirdparty/quickjs/quickjs-2019-07-09/quickjs.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.c index b2fb2d79..9991cf79 100644 --- a/thirdparty/quickjs/quickjs-2019-07-09/quickjs.c +++ b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.c @@ -109,8 +109,8 @@ //#define FORCE_GC_AT_MALLOC #ifdef CONFIG_ATOMICS -//#include -//#include +#include +#include #include #endif diff --git a/thirdparty/quickjs/quickjs-2019-07-09/quickjs.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/quickjs.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/quickjs.h diff --git a/thirdparty/quickjs/quickjs-2019-07-09/readme.txt b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/readme.txt similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/readme.txt rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/readme.txt diff --git a/thirdparty/quickjs/quickjs-2019-07-09/release.sh b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/release.sh similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/release.sh rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/release.sh diff --git a/thirdparty/quickjs/quickjs-2019-07-09/repl.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/repl.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/repl.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/repl.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/run-test262.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/run-test262.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/run-test262.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/run-test262.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/test262.conf b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262.conf similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/test262.conf rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262.conf diff --git a/thirdparty/quickjs/quickjs-2019-07-09/test262_errors.txt b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262_errors.txt similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/test262_errors.txt rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262_errors.txt diff --git a/thirdparty/quickjs/quickjs-2019-07-09/test262bn.conf b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262bn.conf similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/test262bn.conf rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262bn.conf diff --git a/thirdparty/quickjs/quickjs-2019-07-09/test262bn_errors.txt b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262bn_errors.txt similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/test262bn_errors.txt rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262bn_errors.txt diff --git a/thirdparty/quickjs/quickjs-2019-07-09/test262o.conf b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262o.conf similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/test262o.conf rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262o.conf diff --git a/thirdparty/quickjs/quickjs-2019-07-09/test262o_errors.txt b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262o_errors.txt similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/test262o_errors.txt rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/test262o_errors.txt diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/microbench.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/microbench.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/microbench.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/microbench.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test262.patch b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test262.patch similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test262.patch rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test262.patch diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test_bignum.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_bignum.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test_bignum.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_bignum.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test_bjson.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_bjson.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test_bjson.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_bjson.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test_builtin.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_builtin.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test_builtin.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_builtin.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test_closure.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_closure.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test_closure.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_closure.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test_loop.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_loop.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test_loop.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_loop.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test_op.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_op.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test_op.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_op.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/tests/test_std.js b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_std.js similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/tests/test_std.js rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/tests/test_std.js diff --git a/thirdparty/quickjs/quickjs-2019-07-09/unicode_gen.c b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/unicode_gen.c similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/unicode_gen.c rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/unicode_gen.c diff --git a/thirdparty/quickjs/quickjs-2019-07-09/unicode_gen_def.h b/thirdparty/quickjs/quickjs-2019-07-09-dust3d/unicode_gen_def.h similarity index 100% rename from thirdparty/quickjs/quickjs-2019-07-09/unicode_gen_def.h rename to thirdparty/quickjs/quickjs-2019-07-09-dust3d/unicode_gen_def.h