| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
any time soon with C++0x
|
|
|
|
|
|
| |
If we're building QtScript, we want the JS_EXPORTDATA and
JS_EXPORTCLASS to expand to nothing.
This avoids the macros being redefined (incorrectly) on MSVC.
|
|
|
|
|
|
| |
script.pro was defining JS_EXPORT in an attempt to avoid exporting,
but JSBase.h unconditionally undefines it, and redefines based on
JS_NO_EXPORT. So define that one instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Update qscriptvalueiterator test to expect length property when
iterating arrays and strings.
- Use EvalExecutable::create() instead of EvalExecutable constructor.
The constructor is private.
- Reimplement getOwnPropertyDescriptor() in all custom script objects.
- Remove all reimplementations of getPropertyAttributes().
It doesn't exist in trunk anymore (getOwnPropertyDescriptor() is used
instead).
- Remove checkDontDelete argument from deleteProperty() reimplementations.
The purpose of this argument was to support deleting properties
with attribute Undeletable from C++. But it was quite an invasive
patch to JavaScriptCore, and it doesn't seem worth it. If this feature
is really crucial it should be re-done upstream.
One of the tests needed to be updated so it's not sensitive to the
C++ undeletability.
- Adapt getOwnPropertyNames() reimplementations to signature change.
- Add missing QScriptObject structure flags, otherwise we don't get all virtual calls.
- Remove our patch for reporting column numbers in the debugger callbacks.
It was just too intrusive. As with the checkDontDelete issue, this should
be redone upstream if it's really important. In 4.7, QScriptEngineAgent
will always report a column number of 1.
Other compilation fixes:
- InternalFunction::name() takes an ExecState* argument, not GlobalData*
- ScopeChain::globalObject is no longer a function but a member variable
- ScopeChainNode constructor takes a GlobalObject argument
- Heap::collect() is called collectAllGarbage()
- JSValue::strictEqual() takes an ExecState* argument
- Debugger::exception() takes a bool hasHandler argument
- Debugger no longer reports column number (we decided to drop that patch from JSC)
- UString doesn't have operator+=(char*)
- Update the autotests to reflect the columnNumber=1 change.
- Add helper class to avoid crashing inside JSC.
Ever since r52856 in WebKit trunk, this is needed. There are probably a lot of
other public API functions that need this guard as well, but I'll add them as they
are discovered.
- Update mkdist-javascriptcore tag, exclude a few more files.
- Set ENABLE_JSC_MULTIPLE_THREADS=0 define on Mac due to r52355 in trunk.
Reviewed-by: Simon Hausmann
|
|
|
|
|
|
|
| |
Rename the WTF namespace.
Task-number: http://bugreports.qt.nokia.com/browse/QTBUG-5513
Reviewed-by: Simon Hausmann
|
|
|
|
|
|
|
|
|
|
| |
g++ on sparc appears to have problems inlining functions when Qt is
compiled in debug. ("sorry: unimplemented blah blah")
We're not entirely sure, but we suspect that removing -g might help
avoid this compiler bug.
Reviewed-by: Kent Hansen
|
|
|
|
| |
Reviewed-by: Simon Hausmann
|
|
|
|
| |
Reviewed-by: Simon Hausmann
|
|
|
|
|
|
| |
jscyyerror/parse/lex where exported on some platforms.
Reviewed-By: Simon Hausmann
|
|
|
|
|
|
| |
Rename the JSC namespace to QTJSC.
Reviewed-by: Lars Knoll
|
|
|
|
|
|
|
|
|
| |
QtWebKit uses.
This is needed to decouple QtScript from QtWebKit, as discussed in the
WebKit team.
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
| |
Print a message when doing so and don't re-define qmake functions that
come from JavaScriptCore.pri.
Reviewed-by: Trust me
|
|
|
|
| |
AKA, enable it on platforms where it's supported.
|
|
|
|
|
|
|
|
| |
We do it when compiling JavaScriptCore as part of QtWebKit, so do it
when compiling it as part of QtScript as well, otherwise the excess
warning output is just ridiculous.
Adopted from patch at https://bugs.webkit.org/show_bug.cgi?id=27709
|
|\ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
configure.exe
examples/examples.pro
qmake/Makefile.unix
qmake/Makefile.win32
qmake/Makefile.win32-g++
qmake/Makefile.win32-g++-sh
qmake/qmake.pro
src/script/api/qscriptable.h
src/script/api/qscriptclasspropertyiterator.h
src/script/api/qscriptcontext.h
src/script/api/qscriptengineagent.cpp
src/script/api/qscriptstring.cpp
src/script/api/qscriptstring.h
src/script/api/qscriptvalueiterator.cpp
src/script/api/qscriptvalueiterator.h
src/script/qscriptclass.cpp
src/script/qscriptcontext.cpp
src/script/qscriptengine.cpp
src/script/qscriptengine_p.cpp
src/script/qscriptvalue.cpp
src/script/qscriptvalue_p.h
src/script/qscriptvalueimplfwd_p.h
src/script/script.pro
src/src.pro
tests/auto/auto.pro
tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
tools/configure/configureapp.cpp
|
| | |
|
| |
| |
| |
| |
| |
| | |
Don't rely on the current working directory being src/script, as that does
not appear to be the case when building with .vcproj files. Instead add
src/script to the INCLUDEPATH, so that the above inclusion works.
|
| |
| |
| |
| | |
Not needed since commit 9727a71ea077658148e963bc8510269b08095023.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make new dependency: QScripttools on Webkit. This change is needed to
implement QScriptEngineAgent as child of JSC::Debugger.
Exclude common part from scripttool.pri and script.pri and move it to
webkit.pri
|
| |
|
|
|