| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
After the Unbuffered TCP rewrite this brought more trouble than it
helped. Better fix the chunked decoder soon.
Reviewed-by: Peter Hartmann
|
| |
|
| |
|
|
|
|
|
|
| |
Reviewed-by: Peter Hartmann
Reviewed-by: Jeremy Katz
Reviewed-by: Aleksandar Sasha Babic
|
|
|
|
|
|
| |
Reviewed-by: Peter Hartmann
Reviewed-by: Jeremy Katz
Reviewed-by: Aleksandar Sasha Babic
|
|
|
|
|
|
| |
Reviewed-by: Peter Hartmann
Reviewed-by: Jeremy Katz
Reviewed-by: Aleksandar Sasha Babic
|
| |
|
|
|
|
|
|
|
| |
Returns the metamethod index of the signal executing the current slot
Merge-request: 2433
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
|
|
|
|
|
| |
Merge-request: 2433
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
|
|\
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fixed linking against libQtTest on Mac.
Added -random option to tests, making the test cases within a test execute in arbitrary order. Very useful for avoiding test cases being dependent on the running order.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes: `ld: framework not found QtTest'
testlib was forcing CONFIG+=debug, which caused only the QtTest_debug
variant of the framework to be produced on Mac. Qt libraries shouldn't
force release or debug at this level.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
in arbitrary order. Very useful for avoiding test cases being dependent on the running order.
Added -seed option -random to make it possible to reroduce
test results. The seed is printed out when -random is specified
Added selftests for -random and -seed options
Changed int parsing into strtol and QTime->QDateTime as suggested by Mr Macieira, fixed selftests
Merge-request: 2362
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Which does not support template friends
Reviewed-by: Thiago
|
| | |
|
| |
| |
| |
| |
| |
| | |
GLU dependency was removed in commit:
c67b4cac2e53ae77c4e16487838c17be85e73aa3, so instead of using gluOrtho2d
we simply use glOrtho with near=-1 and far=1.
|
| |
| |
| |
| |
| |
| |
| |
| | |
internalSet check that stringref is > 0
Which is not required as we do not assign from a QWeakPointer
Reviewed-by: Thiago
Task-number: QTBUG-12700
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For widgets like QPlainTextEdit, selection across ligatures (typically
'fi', 'ffi', 'fl', etc.) end up highlighting the entire ligature
glyphs, this patch fixed that by dividing width inside the ligature so
that selection will not expand past the actual selected characters.
Since cursor position already considered this, we merely adopted the
algorithm and made it a separated helper function for all necessary
cases. Dividing width directly looks like a temporary workaround but
works well enough so far for cursor positions.
Task-number: QTBUG-11969
Reviewed-by: Eskil
|
| |
| |
| |
| |
| |
| |
| | |
When compiling for 64-bit with Visual Studio 2008, inline
assembly is not supported. Use intrisic instead.
Reviewed-by: Benjamin Poulain
|
| |
| |
| |
| | |
Reported to me by Martin P.
|
| | |
|
|/
|
|
|
| |
Merge-request: 723
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
|
|
|
|
|
|
|
|
| |
GLU is not part of standard OpenGL and is not used internally in Qt,
so we should not depend on it.
Task-number: QT-12227
Reviewed-by: kim
|
|\
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Added QPainter::clipBoundingRect() which is significantly faster
|
| |
| |
| |
| |
| |
| |
| | |
than QPainter::clipRegion().boundingRect().
Task: http://bugreports.qt.nokia.com/browse/QTBUG-12618
Reviewed-by: Kim
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If no custom file engine handlers have been registered, we can avoid
using the Read/Write lock and, most of the time, we also avoid the
creating the handler list at all.
Since the custom handler for QResource's engine has been folded into the
default handler, there should be no other internal use of this API, thus
triggering this optimization by default for all users.
The new flag may also in the future be exported to other modules to
trigger bypassing of file engines completely.
Reviewed-by: Marius Storm-Olsen
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... and make it exit earlier, when feasible.
While we could fully validate the prefix at this level, consulting
Unicode tables on each character of a file name could quickly become
expensive. Furthermore, we can already reap some benefits just by
checking for '/' before ':'.
Reviewed-by: Marius Storm-Olsen
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QAbstractFileEngineHandler ctor adds itself once to handler list, dtor
should not try to be any smarter.
Repeatedly calling the global static "constructor" fileEngineHandlers()
could lead to additional overhead while checking for repeated
construction -- that said, compilers can probably figure this one out,
but being explicit shouldn't hurt.
Reduce string manipulation and copying. Also, prefer QStringBuilder to
building strings by hand.
Reviewed-by: Marius Storm-Olsen
|
|/
|
|
|
|
| |
There's no reason why resources can't be handled in the default handler.
Reviewed-by: Marius Storm-Olsen
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Compile.
Fix recursion in QScriptEngine::toScriptValue
Deprecate qGenericMatrixFromMatrix4x4 and qGenericMatrixToMatrix4x4
Remove usage of deprecated QScriptValue* function
Deprecate qScriptValueFromQMetaObject, qScriptValueToValue, qScriptValueFromValue
Remove the use of deprecated qVariant*
Deprecate qVariantValue qVariantCanConvert qVariantFromValue qVariantSetValue
Remove the use of deprecated qFindChild(ren)
Deprecated qFindChild and qFindChildren
Implement QFontMetrics::inFont(uint) which takes UCS-4 encoded char
tst_qsharedpointer.cpp: fix compilation
Fix compilation with QT_NO_DEBUG_STREAM
QImage::fill() overloads that take QColor and Qt::GlobalColor
qmake: qmakeDeleteCacheClear() function can be template now
It is no longer necessary to check for QT_NO_MEMBER_TEMPLATES
It is no longer necessary to check for QT_NO_PARTIAL_TEMPLATE_SPECIALIZATION
Fix MS Visual C++ 6.0 references in the documentation
Remove obsolete code & workarounds for unsupported versions of MS Visual C++
|
| |
| |
| |
| | |
Related to 73791fe53805f3bfad651c36fce9249441f864cd.
|
| |
| |
| |
| |
| |
| | |
Introduced by mistake in 4232955aa9498a5e1e4e4b3fb4662222acffe70f
Reviewed-by: Yoann Lopes
|
| |
| |
| |
| | |
Rev-by: dev mailing list
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Tests were untouched.
Regexp used:
git grep -O"sed -i 's/qScriptValueFromQMetaObject *<\([^>]*\)> *(\([^&*\(),]*\))/\\2->scriptValueFromQMetaObject<\\1>()/g'" qScriptValueFromQMetaObject
git grep -O"sed -i 's/qScriptValueFromValue(this, */toScriptValue(/'" qScriptValueFromValue
git grep -O"sed -i 's/qScriptValueFromValue(\([^&*\(),]*\), */\\1->toScriptValue(/'" qScriptValueFromValue
git grep -O"sed -i 's/qScriptValueFromValue(&\([^&*\(),]*\), */\\1.toScriptValue(/'" qScriptValueFromValue
git grep -O"sed -i 's/qScriptValueToValue</qscriptvalue_cast</'" qScriptValueToValue
Rev-by: dev mailing list
|
| |
| |
| |
| |
| |
| | |
qScriptValueFromValue
Rev-by: dev mailing list
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test directory untouched.
This just apply those regexp:
git grep -O"sed -i 's/qVariantValue</qvariant_cast</'" qVariantValue
git grep -O"sed -i 's/qVariantSetValue(\([^&*\(),]*\), */\\1.setValue(/'" qVariantSetValue
git grep -O"sed -i 's/qVariantSetValue *<\([^>]*\)> *(\([^&*\(),]*\), */\\2.setValue<\\1>(/'" qVariantSetValue
git grep -O"sed -i 's/qVariantCanConvert *<\([^>]*\)> *(\([^&*\(),]*\))/\\2.canConvert<\\1>()/g'" qVariantCanConvert
git grep -O"sed -i 's/qVariantCanConvert *<\([^>]*\)> *(\([^&*\(),]*([^&*\(),]*)\))/\\2.canConvert<\\1>()/g'" qVariantCanConvert
git grep -O"sed -i 's/qVariantFromValue\( *[(<]\)/QVariant::fromValue\\1/'" qVariantFromValue
git checkout src/corelib/kernal/qvariant*
Rev-by: dev mailing list
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The template member equivalent should be used instead.
qVariantFromValue and qVariantSetValue does not have the QT_DEPRECATED macro,
as they have template specialisation which is not possible to acheive as member function.
So they are called by the non-deprecated implementation.
Rev-by: dev mailing list
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test directory untouched.
This just apply those regexp:
git grep -O"sed -i 's/qF\(indChildr*e*n*<[^>]*>\)(this,* */f\\1(/'" qFindChild
git grep -O"sed -i 's/qF\(indChildr*e*n*<[^>]*>\)(&\([^\(),]*\),* */\\2.f\\1(/'" qFindChild
git grep -O"sed -i 's/qF\(indChildr*e*n*<[^>]*>\)(\([^\(),]*()\),* */\\2->f\\1(/'" qFindChild
git grep -O"sed -i 's/qF\(indChildr*e*n*<[^>]*>\)(\([^\(),]*\):\([^\(),]*\),* */(\\2:\\3)->f\\1(/'" qFindChild
git grep -O"sed -i 's/qF\(indChildr*e*n*<[^>]*>\)(\([^\(),]*\),* */\\2->f\\1(/'" qFindChild
Rev-by: dev mailing list
|
| |
| |
| |
| | |
Rev-by: dev mailing list
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Support unicode characters which are not representable in 16 bits in
QFontMetrics::inFont() to enable font selection algorithms for unicode
ranges that require surrogates.
Task-number: QTBUG-12638
Reviewed-by: Simon Hausmann
|
| |
| |
| |
| |
| | |
That code should have been removed in commit 26f43dcc70a0bcc8aec96a0ca6f648c543b97b10
There is a template member operator<< in QNoDebug
|
| |
| |
| |
| |
| |
| |
| | |
This will break source compatibility in some cases, but only
when the user has a bug in the first place, so this is preferable
Reviewed-by: Eskil
|
| |
| |
| |
| |
| | |
Merge-request: 756
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
|
| |
| |
| |
| |
| | |
Merge-request: 756
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
|
| |
| |
| |
| |
| | |
Merge-request: 756
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
|
| |
| |
| |
| |
| |
| |
| | |
The minimum supported version of MS Visual C++ 2003, which is _MSC_VER 1310.
Merge-request: 756
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
|
|/
|
|
|
| |
This patch will make it easier to call methods that takes
integer arguments. It will be used to bugfix native dialogs.
|
|
|
|
|
|
| |
raster engine on Mac OS X.
Reviewed-by: Richard Moe Gustavsen
|
|
|
|
|
|
|
|
| |
Add a function to retrieve fonts, glyph indexes and positions needed to
visualize the text in a QTextFragment to allow converting the text of
a QTextDocument to QGlyphs objects.
Reviewed-by: Simon Hausmann
|
|
|
|
|
|
| |
Make internal qpf2 font tag array read-only.
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
|