| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
- in QScriptContextInfo, get the filename of specials context
- in QScriptContextInfo, get the right information for the global
context (from the skipped fake frame)
- addapt the test to the current backtrace layout.
|
|
|
|
|
| |
No need to look up the global object via the scope chain since we have
a direct pointer to it already.
|
|
|
|
| |
It's not used in the example anymore.
|
|\
| |
| |
| | |
qtscript-jsc-backend
|
| |
| |
| |
| |
| |
| |
| |
| | |
Made better use of qreal all over the place. We were previously
using QVariant::toDouble a lot. That is triggering unnecessary
conversions between float and double on embedded.
Reviewed-by: ogoffart
|
| |
| |
| |
| |
| |
| | |
This matches the logic for the 'lib' template to the one for 'app'.
Reviewed-by: Simon Hausmann
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Autotest: qcoreapplication, qapplication, qtimer
qwidget_window, qwidget
Issue 1: stacking order of modal windows was not
working correctly. With this patch, we remove the
need for rebuilding modal sessions all the time,
and when we do, we rebuild them all in the correct
order.
Issue 2: When running the event processor manually
(that is, just calling processEvents in a loop), we
sometimes spendt 100% cpu if a window was pending to
become modal. The reason was that we need to keep
reposting the QCocoaRequestModal event until we
could block the calling thread (that is, one of
the exec flags was given to processEvents). With this
patch, the need for posting QCocoaRequestModal is
completly removed in favor of an 'interrupt'
approach instead.
Issue 3: If using Qt as a plugin, or just add widget
to a native cocoa application, it would often lead
to closing down the application. The reason is that
the event dispatcher needs to restart [NSApp run]
now and then. But this approach fails if Qt was not
the code that started [NSApp run] in the first place.
This patch removes the need to restart NSApp in this
situation, at the cost of modal windows not beeing
modal if Qt is not spinning the event dispatcher.
Normal QDialog::exec etc will always work.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Limit the changelog to WebKit/qt.
Reviewed-by: Trust me
|
| |
| |
| |
| |
| | |
it was even a bug when checking against QMetaType::Float because Float
is a user type so it could never be true
|
| |
| |
| |
| |
| |
| | |
Exclude platform/wince and platform/graphics/haiku
Reviewed-by: Trust me
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Overview of QGesture class and reference to QStandardGestures
Gesture overview using ImageViewer example to demonstrate use of
class by implementer.
|
| | |
|
| |
| |
| |
| | |
Reviewed-by: trustme
|
| |
| |
| |
| | |
"sm"+ellipsis (...) is same length as "small" in some fonts
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The second and third arguments to qmake's include function are optional
Task-number: 259398
Reviewed-by: Stian Sandvik Thomassen
|
| | |
| | |
| | |
| | |
| | |
| | | |
Handle platforms that don't have backends.
Reviewed-by: Bill King
|
| | | |
|
| | |
| | |
| | |
| | | |
tst_qobject deleteQObjectWhenDeletingEvent needs QtGui.
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't re-create world TRUSTEE everytime in getPermissions()
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Get current user SID from the token of the current process
and use it to fill UserTrustee with BuildTrusteeWithSid;
Remove workaround for buggy secur32.dll version.
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
OpenProcessToken and SetFilePointerEx are present in all versions since NT4.0;
use them if Q_OS_WINCE is not defined
Merge-request: 1167
Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
_wchmod returns 0 on success and -1 on error.
Our Windows CE implementation did it wrong.
Thanks to Konstantin Ritt for spotting this!
Reviewed-by: mauricek
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Undocumented, but maybe they're useful somewhere. It doesn't hurt to
add them.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
for unreachable code, break missing and uninitialized members
in constructors
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We don't get a FontChange event initially, so the control ended up
with the default font instead.
Reviewed-by: Andreas
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: 214990
Reviewed-by: Joerg
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
no official support
Task-number: 214990
Reviewed-by: kh
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
reimplmenting some missing C functions
Task-number: 214990
Reviewed-by: kh
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change would have been much simpler if either QGraphicsItem
inherited QObject, or if we had some similar QPointer-like class that
supported QGraphicsItem. The issue is this: Each item can delegate
another item to be its focus proxy. That item can be a parent or child,
or something completely unrelated. Either of the two items can be
deleted independently.
The former solution was to store backpointers in a map in the scene.
Problem is, the items may not be in a scene when this happens, they
may be removed from the scene, and the items may be moved between
two scenes.
The bad part about this fix is that it adds another pointer to
QGraphicsItemPrivate.
Reviewed-by: Shane Kearns <shane.kearns@sosco.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removed the src/common.pri includes
Reviewed-by: Trust Me
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Task-number: 259071
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-By: Simon Hausmann
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Mac needs a bit more time to update the widgets when they
are redocked
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If the Qt package contains one of x86 and x86_64, pick that one. If it
contains both then use the compiler default. Make a similiar decision for
PowerPC-based systems. Note that this logic assumes that Qt has been
configured with an architecture that is usable on the system.
Reviewed-by: Marius Storm-Olsen
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We need to remove Zm200 from compiler flags before adding Zm1200
Reviewed-by: Marius Storm-Olsen
|
| | | | |
|