summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcontiguouscache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* doc: Fixed qdoc according to Bjarne's recommendation.Martin Smith2009-11-161-3/+28
| | | | | | Someone had changed an operator==() and an operator!=() from single parameter members to two-parameter friends but hadn't changed the qdoc comments.
* Fix Qt containers to properly support types with strict alignments.Thiago Macieira2009-10-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | QContiguousCache is a new type, so there are no binary compatibility issues. QHash and QMap didn't have any public qMalloc / qFree, so the entire logic is contained in .cpp code. However, since old code will not inform us of the alignment requirements, we need to add a bit to the structure to indicate whether strict alignment is in use or not. QList doesn't require any changes. For small, movable types, they're all stored in the pointer array itself, so they're aligned. For larger types, we use new(), so types with stricter requirements should define their own operator new(). QLinkedList cannot be fixed. It uses new() on the QLinkedListNode, which contains a T type. Sorry. QVector did have public qMalloc / qFree. I've moved the calls to the inner function and made it keep the old calls if the alignment requirement is below a certain threshold. The idea is that, if it's above, no one was using QVector anyway. Reviewed-by: Bradley T. Hughes
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Doc: not an overloadVolker Hilsheimer2009-07-201-2/+0
|
* Doc: A few cleanups, fixes and improvements.Volker Hilsheimer2009-07-191-7/+8
|
* Doc: add \since 4.6 for new APIsVolker Hilsheimer2009-07-191-0/+1
|
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* doc: Fixed several qdoc warnings.Martin Smith2009-06-111-7/+0
|
* Protect dump function by ifdef.Ian Walters2009-05-251-0/+4
| | | | | Use the same pattern for protecting the dump function as qmap.h and qhash.h employ.
* Grammer fix, 'be be' to 'be'Ian Walters2009-05-141-1/+1
|
* Various fixes resulting from QA code review.Ian Walters2009-05-121-17/+56
| | | | | | | Some documentation fixes. More clear handling of what is and isn't a valid indexes. Added functions for the 'really long lived circular buffer use case' Improved unit tests.
* Documentation patch from JasonIan Walters2009-05-111-32/+35
| | | | A bunch of minor doc fixes.
* Update licensing headers.Ian Walters2009-04-071-3/+37
| | | | | Update files to have consistent licencesing with the rest of Qt.
* Rename OffsetVector to ContiguousCacheIan Walters2009-04-031-0/+359