| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\
| | |
| | |
| | | |
qtscript-jsc-backend
|
| | |
| | |
| | |
| | | |
Reviewed-by: Justin McPherson
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Existing QVariant-capable classes in QtGui like QColor, QPixmap,
etc have "operator QVariant()". This change adds the same operators
for QVector2D, QVector3D, QVector4D, QQuaternion, and QMatrix4x4.
Reviewed-by: Justin McPherson
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If qgetenv("QT_DIRECTFB_FORCE_RASTER").toInt() > 0 all paint operations
will fall back to the raster engine in DirectFB. Good trick for
debugging.
I hijacked the compositionModeStatus variable for this since it's
checked for every paint operation anyway and I didn't want to introduce
any overhead.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If I make sure all surfaces that Qt may paint on are ARGB instead of
RGB32 the problem that was solved by
cef63710576571405b4eed7b225e6c895a633d6a is still solved.
Reviewed-by: Donald <qt-info@nokia.com>
|
| | |\ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: trustme
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: trustme
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
QMatrix4x4::toTransform() now does what project() used to do.
Reviewed-by: trustme
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When converting from 3D back to 2D, it is necessary to project
the z component unless an orthographic projection is desired.
This change adds a distanceToPlane argument that specifies the
perspective projection factor to apply during the conversion.
The default value of 1024 corresponds to the projection performed
by QTransform::rotate(), for consistency with existing classes.
Reviewed-by: trustme
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Minor error in the documentation for the projection matrix.
Reviewed-by: trustme
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QTransform-based transformations create problems when performing
X and Y axis rotations because they aren't using true 3D. This
change modifies QGraphicsTransform and its sub-classes to use
QMatrix4x4 as the standard transformation matrix, with a project()
function to project back to 2D when required.
Reviewed-by: trustme
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
qtscript-jsc-backend
Conflicts:
src/3rdparty/webkit/JavaScriptCore/JavaScriptCore.pri
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes compilation of std::back_inserter(myQByteArray) when compiling with
"-std=c++0x -pedantic". Some code (ifdef'ed with CXX0X) in stl_iterator.h uses
value_type. Can't hurt to define it, even if the code is marked experimental.
gcc 4.3.3, libstdc++6-4.3.
Merge-request: 1286
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the renderHint SmoothPixmapTransform is set and a
drawPixmap/drawTiledPixmap/fillRect(QBrush(QPixmap)) includes a scale we
should fall back to raster engine.
Reviewed-by: Donald <qt-info@nokia.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(with QTextCursor::beginEditBlock() and QTextCursor::endEditBlock())
Previously QTextDocument would treat single command blocks as if there
was no block, i.e. command compression would occur, causing
tst_QTextDocument::testUndoBlocks() to fail. The patch completes the
insufficient block-flag of QTextUndoCommand with an addition flag block_end.
The block-flag itself is renamed to block_part.
Reviewed-by: con
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Test a newly discovered bug when a beginEditBlock()/endEditoBlock()
contains only one single insertion command. It should still be treated
as an undo block of its own.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some S60 and WinCE test scripts prefer to have only one executable per
directory.
|
| | | | |
| | | | |
| | | | |
| | | | | |
It's faster.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Get rid of the hash.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's the d-pointer that we most frequently want to access, so store it
to avoid having to use QScriptEnginePrivate::get() all over the place.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Autotest's correction after 3062cd6395ba13746aea452eb53447d915184e2d
Column numbers are calculated corectly
Reviewed-by: Kent Hansen
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Column number is rest after each new line character in
the source code.
Reviewed-by: Kent Hansen
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|