| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
The original JavaScriptCore doesn't create stack frame or scope for
native function.
JSC has been patched to support that.
This commit revert our patches to JSC, and implement create the stack
frame from QScript
Reviewed-by: Kent Hansen
|
|
|
|
|
|
|
| |
QSCriptEngine::evaluate()
Fix broken behavior after bad integration with
538153994cacc4613aef1eb8ef77e501be7f5a88 commit
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qtscript-jsc-backend
Conflicts:
configure
src/script/qscriptarray_p.h
src/script/qscriptasm.cpp
src/script/qscriptasm_p.h
src/script/qscriptbuffer_p.h
src/script/qscriptclass.cpp
src/script/qscriptclassdata.cpp
src/script/qscriptclassdata_p.h
src/script/qscriptclassinfo_p.h
src/script/qscriptclasspropertyiterator_p.h
src/script/qscriptcompiler.cpp
src/script/qscriptcompiler_p.h
src/script/qscriptcontext_p.cpp
src/script/qscriptcontext_p.h
src/script/qscriptcontextfwd_p.h
src/script/qscriptcontextinfo_p.h
src/script/qscriptecmaarray.cpp
src/script/qscriptecmaarray_p.h
src/script/qscriptecmaboolean.cpp
src/script/qscriptecmaboolean_p.h
src/script/qscriptecmacore.cpp
src/script/qscriptecmacore_p.h
src/script/qscriptecmadate.cpp
src/script/qscriptecmadate_p.h
src/script/qscriptecmaerror.cpp
src/script/qscriptecmaerror_p.h
src/script/qscriptecmafunction.cpp
src/script/qscriptecmafunction_p.h
src/script/qscriptecmaglobal.cpp
src/script/qscriptecmaglobal_p.h
src/script/qscriptecmamath.cpp
src/script/qscriptecmamath_p.h
src/script/qscriptecmanumber.cpp
src/script/qscriptecmanumber_p.h
src/script/qscriptecmaobject.cpp
src/script/qscriptecmaobject_p.h
src/script/qscriptecmaregexp.cpp
src/script/qscriptecmaregexp_p.h
src/script/qscriptecmastring.cpp
src/script/qscriptecmastring_p.h
src/script/qscriptengine.cpp
src/script/qscriptengine_p.cpp
src/script/qscriptengine_p.h
src/script/qscriptengineagent_p.h
src/script/qscriptenginefwd_p.h
src/script/qscriptextenumeration.cpp
src/script/qscriptextenumeration_p.h
src/script/qscriptextqobject.cpp
src/script/qscriptextqobject_p.h
src/script/qscriptextvariant.cpp
src/script/qscriptextvariant_p.h
src/script/qscriptfunction.cpp
src/script/qscriptfunction_p.h
src/script/qscriptgc_p.h
src/script/qscriptglobals_p.h
src/script/qscriptmember_p.h
src/script/qscriptnameid_p.h
src/script/qscriptnodepool_p.h
src/script/qscriptobject_p.h
src/script/qscriptobjectfwd_p.h
src/script/qscriptprettypretty.cpp
src/script/qscriptprettypretty_p.h
src/script/qscriptsyntaxcheckresult_p.h
src/script/qscriptvalue.cpp
src/script/qscriptvalue_p.h
src/script/qscriptvaluefwd_p.h
src/script/qscriptvalueimpl.cpp
src/script/qscriptvalueimpl_p.h
src/script/qscriptvalueimplfwd_p.h
src/script/qscriptvalueiteratorimpl.cpp
src/script/qscriptvalueiteratorimpl_p.h
|
| | |
|
| |
| |
| |
| | |
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| | |
The problem was that when switching source, the previous one was still
running. So we now explicitly stop it.
|
| |
| |
| |
| |
| |
| |
| | |
small patch to make sure even the native events of the pending ones
won't trigger anything in the paintevent
Task-number: 251776
|
| |
| |
| |
| | |
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| |
| | |
Added new overload with int64 parameter.
Reviewed-by: Simon Hausmann
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Webkit uses the runtime patching trick explained by "Feng Yuan" for
hooking these paint functions. It currently supports only 32bit assembly
code. This patch adds support for 64Bit version. Since inline-assemblies
are not supported for 64Bit, we have use a seperate .asm file.
Reviewed-by: Simon Hausmann
Reviewed-by: Thiago Macieira
|
| |
| |
| |
| |
| |
| |
| | |
Now we just disable the updates during a short amount of time. This
should give enough time to the video to start.
Task-number: 251776
|
| |
| |
| |
| | |
Task-number: 259482
|
| |
| |
| |
| |
| |
| | |
There's no getenv on Windows CE.
Reviewed-By: Simon Hausmann
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using streaming, it could happen that the last reference to the
MediaSource is in another thread. So the objects are destroyed from
another thread. In which case we would delete QObject (ioDevice) in
another thread. That is fixed by calling deleteLater which will ensure
that they are deleted in their own thread.
Note: there was a nother assert that could happen due to a race
condition in the worker thread. That is also fixed with this patch.
Reviewed-by: jbache
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
b62ab93d001d2f3238e24faa133720cb877e3023 commit.
Calls to Debuggers's evaluateStart, evaluateStop, exceptionThrow methods
where created.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
b62ab93d001d2f3238e24faa133720cb877e3023 commit.
In CallData and ConstructData native function call were replaced by
class with operator() that decorate every call with debugger->functionEntry
and debugger->functionExit events.
In Interpreter new debugger calls for functionExit, functionEntry,
exceptionThrow and exceptionCatch events where created
|
| |
| |
| |
| |
| |
| |
| | |
Setting Debugger for JSGlobalObject automatically set it to ScriptPool
object.
Should be part of f5af011ede569bb88ec9b27ff7a65fe99f7d17fd commit
|
| |
| |
| |
| |
| |
| |
| | |
Generation point of debug opcode for different statements were changed
to simulate old - backend QtScript's debugger.
Code is Qt specific and secured by QT_BUILD_SCRIPT_LIB define.
|
| |
| |
| |
| |
| |
| |
| | |
SourcePool's objects should be responsible for calling debugger each time
scriptLoad or scriptUnload event occurs.
This code is specific to Qt only.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
where created:
scriptUnload, scriptLoad, contextPush, contextPop, evaluateStart,
evaluateStop, exceptionThrow, exceptionCatch, functionExit
Some of them are really similar to standard JSC events but not
enough to implement correct old QtScript debugger behavior.
Default empty implementation where created (the new events are not pure
virtual methods as the others)
|
| |
| |
| |
| |
| |
| |
| | |
opcode and pass it for DidReachBreakpoint and WillExecuteStatement
events as an argument.
Compilation fix for JIT.
|
| |
| |
| |
| | |
QtScript defines its own print function.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
qtscript-jsc-backend
Conflicts:
src/script/api/qscriptable.cpp
src/script/api/qscriptable_p.h
src/script/qscriptclassdata.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
can not be found change that behavior to warn by default.
Currently the default behavior of include() in a .pro file is not to
warn if the supplied file argument can not be found which can lead to
hard to find build errors. The include() will now,by default, warn if
the specified file can not be found.
If a warning is not required because the included file is optional then
example use in the .pro file:
include(SomePriFile.pri", "", true)
Task-number:259398
Reviewed-by:Marius Storm-Olsen
|
| |
| |
| |
| |
| |
| | |
394f62d779e6e120ce2fc19bd61ec64bd29a87a9
The virtual deleteProperty() method has a new argument (bool checkDontDelete).
|
| |
| |
| |
| |
| | |
This was a hack that was added for QtScript, but it's not needed
anymore.
|
| |
| |
| |
| | |
As per ECMA-262, chapter 15.
|
| |
| |
| |
| | |
Member initialization
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add new member in all statements nodes which suppose to be a
column number from parser. All calls to setLoc were changed, they
should pass 2xline number (first and last line) and column number of
current "cursor"(token?) position.
Develop op_debug opcode to contain column number.
Review by: Kent Hansen
|
| |
| |
| |
| |
| |
| |
| |
| | |
getPropertyNames() now uses a flag to specify which property should be
filtered. This flag should be used by all javascript objects.
This patch fixes the changes introduced by
e520df1f8678bd59adb341fb586f008a7de17fe8
|
| |
| |
| |
| |
| | |
Like ECMA-262 says, // starts a single-line comment;
/(?:)/ represents an empty regular expression.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
We need it to be a QScriptObject so that it's possible to call
e.g. setScriptClass() on the result.
Also, return the default-constructed object if the result of
calling the constructor function is not an object.
|
|\ \
| |/
| |
| |
| |
| |
| | |
qtscript-jsc-backend
Conflicts:
src/script/qscriptextqobject.cpp
|
| |
| |
| |
| | |
Reviewed-by: Trustme
|
| |
| |
| |
| |
| | |
Explain the implications in the QWebHistoryItem documentation, and get rid
of the "group".
|
| |
| |
| |
| | |
Review by: Kent Hansen
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
attribute
This makes it possible to delete properties in C++, even though
they can't be deleted in JS.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This new implementation of QScriptValueIterator passes all the tests.
QScriptValueIterator uses an linked list instead of
JSC::PropertyNameArray so the list can be modified by ::remove() and
to be able to add internal properties for the strings and arrays.
Structure::getPropertyNames() has been modified to not show the
property from the prototype.
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| | |
The changes to WebCore/bindings/scripts/CodeGeneratorJS.pm
will take care of this once we upstream the change.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added an extra argument to JSObject::getPropertyNames() that
specifies if the non-enumerable properties (those with the
DontEnum attribute set) should be included or not.
Tried looking at using a unsigned as an attribute-inclusion
or exclusion filter, but the semantics of either the calling
or the callee code would be very strange so I opted out.
|
| |
| |
| |
| |
| | |
JSC uses "sourceURL", but for compatibility with the old back-end
we need it to be called "fileName".
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
qtscript-jsc-backend
Conflicts:
src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h
src/3rdparty/webkit/VERSION
src/3rdparty/webkit/WebKit/qt/Api/qwebview.cpp
src/script/qscriptbuffer_p.h
src/script/qscriptclassinfo_p.h
src/script/qscriptecmadate.cpp
src/script/qscriptgc_p.h
src/script/qscriptmemberfwd_p.h
src/script/qscriptsyntaxcheckresult_p.h
src/script/qscriptvalueimplfwd_p.h
tests/auto/qscriptengine/tst_qscriptengine.cpp
util/webkit/mkdist-webkit
|