| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
To achieve behavior of the old back-end. There, the recursion guard
was automatic because a mark flag was set on the object as soon as
marking begun, but in JSC it appears to only be set _after_ the
marking is completed.
|
|
|
|
|
| |
For the innermost frame, we don't have a returnPC, so use the line
number that was last passed to the engine agent.
|
|
|
|
|
|
| |
In the JSC back-end it's currently possible that we know the file name,
but not the line number (we can't just assume that lineNumber == -1
implies native function).
|
|
|
|
|
| |
If the debugger stops execution, we want the frame pointer to be
in sync (so we get the full backtrace).
|
|
|
|
|
| |
The old back-end relied on a script-to-XML converter to get information
about the script, but it's not implemented yet in the new back-end.
|
|
|
|
|
| |
It needs to work even when there is no public QScriptValue that
holds a reference to the object.
|
|
|
|
|
|
| |
QtFunction::mark() does not cause infinite recursion any more.
Reviewed-by: Kent Hansen
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use fastMalloc when neither MMAP nor VIRTUALALLOC are enabled
RegisterFile constructor currently throws #error when both
MMAP and VIRTUALALLOC conditions fail.
On any platform that does not provide these features
(for instance, Symbian),
the fallback should be regular malloc (or fastMalloc).
It is functionally equivalent in this case, even though it may
have certain drawbacks such as lack of dynamic pre-allocation.
Taken upstream from https://bugs.webkit.org/show_bug.cgi?id=27051
Reviewed-by: Simon Hausmann
|
|
|
|
|
| |
QtScript needs to build JavaScriptCore (part of WebKit). If WebKit
can't be built, we assume that JavaScriptCore can't be built.
|
|
|
|
| |
Also add some compilers, and define PLATFORM(UNIX) on Solaris.
|
| |
|
|\
| |
| |
| | |
qtscript-jsc-backend
|
| |
| |
| |
| |
| |
| |
| |
| | |
When sending XdndLeave events, we should use the effectiveWinId() of
the drag source (just like we do when sending XdndEnter and
XdndPosition events).
Task-number: 255559
|
| |
| |
| |
| | |
Otherwise this codec would not be available.
|
| |
| |
| |
| | |
Reviewed-by: trustme
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... by not allocating space for slots in the vector.
Before, the vector uses the signal index as index. The problem is that
the slots and signal are mixed in the same index space.
We solve the problem by having a different index space for the signal in
the connectionlists vector. All we need to do is to add the information
about the number of signals in the moc.
Also, we are not connecting to cloned signal but only to the orginial
ones. For example, destroyed(QObject * = 0) would generate two signal,
we now only connect to the first one.
This also improve a little bit the performence while activating signals
since it removed one call to indexOfMethod.
Reviewed-by: Brad
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
be handled by connected views/proxies. Otherwise, the views/proxies may
end up in an invalid state.
Task: 227718
Reviewed-By: Olivier Goffart
|
| |
| |
| |
| |
| |
| |
| |
| | |
This includes docs on the default QWidget::event() behavior, how to
use touch with QAbstractScrollArea subclasses, how the propagation and
grouping works, as well as some caveats.
Reviewed-by: David Boddie
|
| |
| |
| |
| |
| |
| |
| |
| | |
QXmlStreamReader and QXmlStreamWriter can be used conveniently without
subclassing, which the example now demonstrates.
Reviewed-by: mae
Reviewed-by: David Boddie
|
| |
| |
| |
| | |
Reviewed-By: TrustMe
|
| |
| |
| |
| | |
Reviewed-By: TrustMe
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Mentioned in the doc that the preferred way to save/restore a geometry
of a QMainWindow is to use both saveGeometry() and saveState().
Reviewed-by: Kavindra Devi Palaraja
|
| |
| |
| |
| |
| |
| |
| |
| | |
Moved the dummy variable to the same scope as the 'motion' variable.
This fixes Coverity defect CID 1528.
Reviewed-by: Olivier Goffart
Reviewed-by: Gabriel de Dietrich
|
| |
| |
| |
| |
| |
| |
| | |
This is partly done to address a review comment for S60.
Reviewed-by: Marius SO
Reviewed-by: Paul
|
| | |
|
| |
| |
| |
| |
| | |
Now that it is really no longer used.
QXmlStreamReader::skipCurrentElement replaces it.
|
| |
| |
| |
| | |
Apparently I forgot one occurrence.
|
| |
| |
| |
| | |
It is a POD with the size of a pointer
|
| |
| |
| |
| |
| | |
Remove useless variable.
Use QBoolBlocker instread of custom QScript::InEval.
|
| |
| |
| |
| | |
Otherwise we will crash if someone tries to do something with the value.
|
| |
| |
| |
| |
| |
| |
| | |
QScriptValue id were made persistent. It depands
on JSC:JSValue JSCell pointer not on QScriptValuePrivate attr.
Reviewed-by: Kent Hansen
|
| | |
|
| |
| |
| |
| | |
Works as of commit 5bca43cca3ac90429e3f9263d0d7ea8c9eb164d4.
|
| |
| |
| |
| |
| |
| | |
Even if the QScriptValue is destroyed, the underlying ID should
not change; e.g. if a new QScriptValue is created and wraps the
same object, the ID should be the same as before.
|
| |
| |
| |
| | |
Output of backtrace has changed slightly (e.g. "at" instead of "@").
|
| |
| |
| |
| |
| |
| | |
Since QScriptEngine::evaluate() doesn't create a new stack frame
anymore, we need to use a dedicated variable to keep track of
whether the engine is currently evaluating or not.
|
| |
| |
| |
| |
| |
| |
| | |
With the JSC-based back-end, stack frames aren't created when
calling any of the built-in ECMA functions, so we can't base the
test on that. Instead, just look up the "name" property of each
function and check that it has the expected value.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Work-around for "Error: A union member cannot have a user-defined
assignment operator."
|
| |
| |
| |
| |
| | |
If we don't have alignment macros, we do what we can: overcommit 64
bytes and find the proper 64-byte-aligned position in the buffer.
|
| |
| |
| |
| | |
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| | |
There is no point in setting class member in destructor
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| | |
Static method QScriptValue::initFromJSCValue was removed.
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Internal API of QScriptValue were cleaned. toPublic() was
removed and replaced by standard static Private::get().
All initFromXXX() methods were replaced by overload call
of initFrom().
Reviewed-by: Kent Hansen
|
| |
| |
| |
| |
| |
| |
| |
| | |
Comparison between pointer and int where removed.
According to doc operator-> where created (class
QScriptValueAutoRegister suppose to behave as pointer).
Reviewed-by: Kent Hansen
|
| |
| |
| |
| | |
qmake no longer uses QtScript.
|