summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* QNAM HTTP: Remove eatWhitespace() hackMarkus Goetz2010-08-132-30/+8
| | | | | | | After the Unbuffered TCP rewrite this brought more trouble than it helped. Better fix the chunked decoder soon. Reviewed-by: Peter Hartmann
* QNAM: Fix namespaced compilationMarkus Goetz2010-08-121-1/+3
|
* QAbstractSocket: Remove warningMarkus Goetz2010-08-121-1/+0
|
* QNAM Zerocopy: QNAM implementation partMarkus Goetz2010-08-126-1/+138
| | | | | | Reviewed-by: Peter Hartmann Reviewed-by: Jeremy Katz Reviewed-by: Aleksandar Sasha Babic
* QNAM Zerocopy: HTTP implementation partMarkus Goetz2010-08-127-67/+230
| | | | | | Reviewed-by: Peter Hartmann Reviewed-by: Jeremy Katz Reviewed-by: Aleksandar Sasha Babic
* QAbstractSocket: Enable Unbuffered OpenMode for TCPMarkus Goetz2010-08-121-32/+111
| | | | | | Reviewed-by: Peter Hartmann Reviewed-by: Jeremy Katz Reviewed-by: Aleksandar Sasha Babic
* QNativeSocketEngine: Fix wrong debug outputMarkus Goetz2010-08-121-1/+1
|
* Added QObject::senderSignalIndex()John Brooks2010-08-122-1/+43
| | | | | | | Returns the metamethod index of the signal executing the current slot Merge-request: 2433 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
* Cleanup the connection list logic in QObject::senderJohn Brooks2010-08-121-7/+6
| | | | | Merge-request: 2433 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-08-1212-70/+253
|\ | | | | | | | | | | | | | | 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.
| * Fixed linking against libQtTest on Mac.Rohan McGovern2010-08-111-1/+0
| | | | | | | | | | | | | | | | 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.
| * Added -random option to tests, making the test cases within a test execute ↵Magne Pettersen Zachrisen2010-08-1113-70/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2Jan-Arve Sæther2010-08-116-59/+75
|\ \ | |/
| * Fix build os QSharedPointer on MSVCOlivier Goffart2010-08-111-1/+1
| | | | | | | | | | | | Which does not support template friends Reviewed-by: Thiago
| * Fix for QTBUG-2182: "connection still in use" warnings.Kimmo Kotajärvi2010-08-111-4/+4
| |
| * Replace gluOrtho2d with glOrtho.Bjørn Erik Nilsen2010-08-101-1/+1
| | | | | | | | | | | | GLU dependency was removed in commit: c67b4cac2e53ae77c4e16487838c17be85e73aa3, so instead of using gluOrtho2d we simply use glOrtho with near=-1 and far=1.
| * Optimize QSharedPointer::operator=(const QSharedPointer &)Olivier Goffart2010-08-101-1/+7
| | | | | | | | | | | | | | | | 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
| * Make selection work across ligaturesJiang Jiang2010-08-101-21/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Fix compilation on 64-bit Windows.Kim Motoyoshi Kalland2010-08-101-25/+8
| | | | | | | | | | | | | | When compiling for 64-bit with Visual Studio 2008, inline assembly is not supported. Use intrisic instead. Reviewed-by: Benjamin Poulain
| * Fix documentation for QAccessible::InterfaceFactoryJan-Arve Sæther2010-08-101-6/+11
| | | | | | | | Reported to me by Martin P.
* | Some polishing to merge request 723Jan-Arve Sæther2010-08-112-3/+3
| |
* | Patch to QTBUG-3078Carolina Gomes2010-08-114-0/+23
|/ | | | | Merge-request: 723 Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
* Remove dependency of OpenGL Utility Library (GLU).Bjørn Erik Nilsen2010-08-101-4/+0
| | | | | | | | 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
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-08-102-0/+57
|\ | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Added QPainter::clipBoundingRect() which is significantly faster
| * Added QPainter::clipBoundingRect() which is significantly fasterGunnar Sletta2010-08-092-0/+57
| | | | | | | | | | | | | | than QPainter::clipRegion().boundingRect(). Task: http://bugreports.qt.nokia.com/browse/QTBUG-12618 Reviewed-by: Kim
* | Are custom file engines in use?João Abecasis2010-08-091-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Make prefix handling in file engine creation more robustJoão Abecasis2010-08-091-5/+21
| | | | | | | | | | | | | | | | | | | | | | ... 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
* | Fix minor premature pessimizations in file engine creationJoão Abecasis2010-08-091-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 goes QResourceFileEngineHandlerJoão Abecasis2010-08-092-23/+7
|/ | | | | | There's no reason why resources can't be handled in the default handler. Reviewed-by: Marius Storm-Olsen
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-08-06120-841/+642
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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++
| * Compile.Yoann Lopes2010-08-061-1/+1
| | | | | | | | Related to 73791fe53805f3bfad651c36fce9249441f864cd.
| * Fix recursion in QScriptEngine::toScriptValueOlivier Goffart2010-08-061-1/+1
| | | | | | | | | | | | Introduced by mistake in 4232955aa9498a5e1e4e4b3fb4662222acffe70f Reviewed-by: Yoann Lopes
| * Deprecate qGenericMatrixFromMatrix4x4 and qGenericMatrixToMatrix4x4Olivier Goffart2010-08-062-7/+9
| | | | | | | | Rev-by: dev mailing list
| * Remove usage of deprecated QScriptValue* functionOlivier Goffart2010-08-066-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Deprecate qScriptValueFromQMetaObject, qScriptValueToValue, ↵Olivier Goffart2010-08-062-23/+31
| | | | | | | | | | | | qScriptValueFromValue Rev-by: dev mailing list
| * Remove the use of deprecated qVariant*Olivier Goffart2010-08-0663-268/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Deprecate qVariantValue qVariantCanConvert qVariantFromValue qVariantSetValueOlivier Goffart2010-08-062-21/+19
| | | | | | | | | | | | | | | | | | | | 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
| * Remove the use of deprecated qFindChild(ren)Olivier Goffart2010-08-0622-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Deprecated qFindChild and qFindChildrenOlivier Goffart2010-08-062-34/+37
| | | | | | | | Rev-by: dev mailing list
| * Implement QFontMetrics::inFont(uint) which takes UCS-4 encoded charEskil Abrahamsen Blomfeldt2010-08-062-1/+33
| | | | | | | | | | | | | | | | | | 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
| * Fix compilation with QT_NO_DEBUG_STREAMOlivier Goffart2010-08-041-3/+0
| | | | | | | | | | That code should have been removed in commit 26f43dcc70a0bcc8aec96a0ca6f648c543b97b10 There is a template member operator<< in QNoDebug
| * QImage::fill() overloads that take QColor and Qt::GlobalColorGunnar Sletta2010-08-042-0/+85
| | | | | | | | | | | | | | 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
| * It is no longer necessary to check for QT_NO_MEMBER_TEMPLATESminiak2010-08-0312-48/+7
| | | | | | | | | | Merge-request: 756 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
| * It is no longer necessary to check for QT_NO_PARTIAL_TEMPLATE_SPECIALIZATIONminiak2010-08-035-38/+2
| | | | | | | | | | Merge-request: 756 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
| * Fix MS Visual C++ 6.0 references in the documentationminiak2010-08-033-74/+60
| | | | | | | | | | Merge-request: 756 Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
| * Remove obsolete code & workarounds for unsupported versions of MS Visual C++miniak2010-08-0320-267/+34
| | | | | | | | | | | | | | 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>
* | Cocoa: add better support for delayed message invocationRichard Moe Gustavsen2010-08-061-2/+6
|/ | | | | This patch will make it easier to call methods that takes integer arguments. It will be used to bugfix native dialogs.
* Fix the issue of resizing a window with theFabien Freling2010-08-031-2/+16
| | | | | | raster engine on Mac OS X. Reviewed-by: Richard Moe Gustavsen
* Add QTextFragment::glyphs() accessorEskil Abrahamsen Blomfeldt2010-08-024-4/+46
| | | | | | | | 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
* Minor optimizationSimon Hausmann2010-07-301-1/+1
| | | | | | Make internal qpf2 font tag array read-only. Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>