summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* define FSCTL_SET_REPARSE_POINT in test headerJoão Abecasis2010-12-201-0/+3
| | | | | ... as was already done in windows engine implementation for FSCTL_*GET*_REPARSE_POINT.
* add error handling to QXmlStreamWriterOswald Buddenhagen2010-12-173-5/+116
| | | | | | | introduce QXmlStreamWriter::hasError(). set the error flag when any write error occurs. ignore subsequent writes after the first error. Reviewed-by: denis
* optimize writing string constants and byte arraysOswald Buddenhagen2010-12-171-10/+12
| | | | | | | don't throw away the already known length just to call strlen() on it over and over again. Reviewed-by: denis
* remove some code duplicationOswald Buddenhagen2010-12-171-11/+1
| | | | | | writeEscaped() can simply call write() once it's done escaping Reviewed-by: denis
* make QXmlStreamWriterPrivate::write(const char *s) ascii-onlyOswald Buddenhagen2010-12-171-7/+2
| | | | | | | it's only ever called with ascii data, and the input encoding semantics weren't all that clear anyway. Reviewed-by: denis
* document WriteFailed status codes (whoops)Oswald Buddenhagen2010-12-172-0/+2
|
* Windows Vista and 7 also have animated progress barsJoão Abecasis2010-12-171-1/+6
| | | | | | Which means they get paint events all the time. Reviewed-by: Jens Bache-Wiig
* tst_QCompleter: Clean up after one's selfJoão Abecasis2010-12-171-16/+9
| | | | | | | The utility class FileSystem uses the RAII idiom to clean up directories created for the purpose of the test. Rubber-stamped-by: Oswald Buddenhagen
* Test doesn't need to depend on temp pathJoão Abecasis2010-12-171-1/+1
| | | | | | Instead, use the current directory for creating test data. Reviewed-by: Oswald Buddenhagen
* Make parent constructor argument optionalJoão Abecasis2010-12-161-1/+1
| | | | | Task-number: QTBUG-16100 Reviewed-by: Oswald Buddenhagen
* add write error handling to QTextStreamOswald Buddenhagen2010-12-163-18/+64
| | | | | | | | | | | add new status flag WriteFailed. use it in flushWriteBuffer(). remove the boolean return values from write(), putString() and putNumber(), as they were ignored anyway - flushWriteBuffer() does it correctly now. Task-number: QTBUG-376 Reviewed-by: mariusSO
* add write error handling to QDataStreamOswald Buddenhagen2010-12-163-20/+89
| | | | | | | | add new status flag WriteFailed. use it in all write functions. Task-number: QTBUG-376 Reviewed-by: mariusSO
* don't report flush error when we didn't flush in the first placeOswald Buddenhagen2010-12-161-1/+1
| | | | | | this went unnoticed, as the return value is ignored - so far. Reviewed-by: mariusSO
* clarify setStatus() behaviorOswald Buddenhagen2010-12-162-0/+6
| | | | Reviewed-by: mariusSO
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-12-1620-390/+945
|\ | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Satisfy the maketestselftest autotst Make the lancelot/baseline test system generically usable Make protocol less lancelot-specific, prepare use in other testcases Added new View command on reports Avoid race condition: don't quit until new executable is ready
| * Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-12-1520-390/+945
| |\ |/ / | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Satisfy the maketestselftest autotst Make the lancelot/baseline test system generically usable Make protocol less lancelot-specific, prepare use in other testcases Added new View command on reports Avoid race condition: don't quit until new executable is ready
| * Satisfy the maketestselftest autotstaavit2010-12-151-0/+1
| |
| * Merge branch 'lancelot'aavit2010-12-1519-390/+944
| |\
| | * Make the lancelot/baseline test system generically usableaavit2010-12-1415-160/+616
| | | | | | | | | | | | | | | | | | | | | | | | To facilitate usage outside of tst_lancelot: - Added new QBaseLineTest simple API - Added "tst_baselineexample" autotest to show usage - Improved reporting - Results from all testfunctions collected in same report
| | * Make protocol less lancelot-specific, prepare use in other testcasesaavit2010-12-085-88/+81
| | |
| | * Added new View command on reportsaavit2010-12-026-6/+108
| | |
| | * Avoid race condition: don't quit until new executable is readyaavit2010-11-252-0/+3
| | |
* | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging ↵Qt Continuous Integration System2010-12-158-49/+53
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | into master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging: Removed obsolete Maemo 5 code QScroller: nicer Overshoot bounce back animation. Use XRandR to get the real DPI values for the screen. Resolve XRRSizes() from libxrandr for QScroller's DPI calculation. Fix drag velocity smoothing in QScroller. Make QScroller examples Qt-namespace safe.
| * | Removed obsolete Maemo 5 codeRobert Griebl2010-12-151-23/+1
| | |
| * | QScroller: nicer Overshoot bounce back animation.Robert Griebl2010-12-151-3/+2
| | | | | | | | | | | | Reviewed-by: Ralf Engels
| * | Use XRandR to get the real DPI values for the screen.Robert Griebl2010-12-151-12/+24
| | | | | | | | | | | | | | | | | | This is needed for the Xomap server, but may also apply to others. Reviewed-by: Ralf Engels
| * | Resolve XRRSizes() from libxrandr for QScroller's DPI calculation.Robert Griebl2010-12-152-0/+5
| | | | | | | | | | | | Reviewed-by: Denis Dzyubenko
| * | Fix drag velocity smoothing in QScroller.Robert Griebl2010-12-153-11/+16
| | | | | | | | | | | | | | | | | | The algorithm used for smoothing the drag velocity was wrong in many ways. Reviewed-by: Ralf Engels
| * | Make QScroller examples Qt-namespace safe.Robert Griebl2010-12-153-1/+6
|/ /
* | Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-12-152-42/+0
|\ \ | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fixed stroke / fill inconsistencies in GL 2 paint engine.
| * | Fixed stroke / fill inconsistencies in GL 2 paint engine.Samuel Rødal2010-12-142-42/+0
| | | | | | | | | | | | | | | | | | | | | | | | Get rid of the aliased coordinate delta, like we already did in the raster paint engine. Task-number: QTBUG-16043 Reviewed-by: Gunnar Sletta
* | | Merge branch 'earth/file-engine-refactor' of ↵Qt Continuous Integration System2010-12-14159-3048/+8396
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scm.dev.nokia.troll.no:qt/qt-file-engines-refactor into master-integration * 'earth/file-engine-refactor' of scm.dev.nokia.troll.no:qt/qt-file-engines-refactor: (224 commits) Fix warnings, whitespace cleanup Don't rely on uninitialized data Doc: Fixing typo Doc: Fixing typo Skip failing tests Use effective user id instead of getlogin Fix compile error in tst_qfileinfo on Mac/Linux Fix tst_QFileInfo owner() & group() failure on Windows. Fix tst_QFileInfo::canonicalFilePath failure on Windows Fix QDir::relativeFilePath Fix spelling in comments Add missing license header to test case Define _WIN32_WINNT before any includes New attempt at fixing compilation failure Removing unused duplicate definitions No symbolic links in Windows CE Set minimum target Windows version to 2000 More missing includes Add missing include Fix compile error ...
| * | Merge branch 'earth/file-engine-refactor' of ↵Qt Continuous Integration System2010-12-14159-3048/+8396
| |\ \ |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scm.dev.nokia.troll.no:qt/qt-file-engines-refactor into master-integration * 'earth/file-engine-refactor' of scm.dev.nokia.troll.no:qt/qt-file-engines-refactor: (224 commits) Fix warnings, whitespace cleanup Don't rely on uninitialized data Doc: Fixing typo Doc: Fixing typo Skip failing tests Use effective user id instead of getlogin Fix compile error in tst_qfileinfo on Mac/Linux Fix tst_QFileInfo owner() & group() failure on Windows. Fix tst_QFileInfo::canonicalFilePath failure on Windows Fix QDir::relativeFilePath Fix spelling in comments Add missing license header to test case Define _WIN32_WINNT before any includes New attempt at fixing compilation failure Removing unused duplicate definitions No symbolic links in Windows CE Set minimum target Windows version to 2000 More missing includes Add missing include Fix compile error ...
| * | Fix warnings, whitespace cleanupJoão Abecasis2010-12-142-1/+5
| | | | | | | | | | | | ... and trigger CI :-/
| * | Don't rely on uninitialized dataJoão Abecasis2010-12-132-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we fail to get file attributes, the file times are left in an uninitialized state, which may lead to a crash. In particular, this was showing up in QMessageBox's autotest, where the lastModified time is being queried on a non-existing file. Before the refactoring, we were returning a default constructed QDateTime to queries about different file times, with this change we will return the time corresponding to a default constructed FILETIME object. Reviewed-by: Shane Kearns
| * | Doc: Fixing typoSergio Ahumada2010-12-101-1/+1
| | |
| * | Doc: Fixing typoSergio Ahumada2010-12-101-1/+1
| | |
| * | Skip failing testsJoão Abecasis2010-12-101-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Mac OS X 10.5 and earlier, QDir::canonicalPath depends on QDir::cleanPath which is fundamentally broken and specifically fails for the case of "/./", returning "" instead of "/". Fixing cleanPath to a sane and correct behaviour seems to break more code than it is worth so we're skipping these individual tests for the time being.
| * | Use effective user id instead of getloginJoão Abecasis2010-12-081-12/+16
| | | | | | | | | | | | | | | | | | And check if this gives us more reliable results. Reviewed-by: Prasanth Ullattil
| * | Merge branch 'earth/file-engine-refactor' of ↵Qt Continuous Integration System2010-12-08157-3045/+8321
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scm.dev.nokia.troll.no:qt/qt-file-engines-refactor into master-integration * 'earth/file-engine-refactor' of scm.dev.nokia.troll.no:qt/qt-file-engines-refactor: (218 commits) Fix compile error in tst_qfileinfo on Mac/Linux Fix tst_QFileInfo owner() & group() failure on Windows. Fix tst_QFileInfo::canonicalFilePath failure on Windows Fix QDir::relativeFilePath Fix spelling in comments Add missing license header to test case Define _WIN32_WINNT before any includes New attempt at fixing compilation failure Removing unused duplicate definitions No symbolic links in Windows CE Set minimum target Windows version to 2000 More missing includes Add missing include Fix compile error Update def files Fix tst_QFile::caseSensitivity test on Mac Fix typo in QFile test Add test generated files to .gitignore Fix compile error for qdir autotest on symbian3 QtDeclarative: make autotests compile on symbian ...
| | * \ Merge branch 'earth/file-engine-refactor' of ↵Qt Continuous Integration System2010-12-07157-3045/+8321
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | scm.dev.nokia.troll.no:qt/qt-file-engines-refactor into master-integration * 'earth/file-engine-refactor' of scm.dev.nokia.troll.no:qt/qt-file-engines-refactor: (218 commits) Fix compile error in tst_qfileinfo on Mac/Linux Fix tst_QFileInfo owner() & group() failure on Windows. Fix tst_QFileInfo::canonicalFilePath failure on Windows Fix QDir::relativeFilePath Fix spelling in comments Add missing license header to test case Define _WIN32_WINNT before any includes New attempt at fixing compilation failure Removing unused duplicate definitions No symbolic links in Windows CE Set minimum target Windows version to 2000 More missing includes Add missing include Fix compile error Update def files Fix tst_QFile::caseSensitivity test on Mac Fix typo in QFile test Add test generated files to .gitignore Fix compile error for qdir autotest on symbian3 QtDeclarative: make autotests compile on symbian ...
| | | * | Fix compile error in tst_qfileinfo on Mac/LinuxPrasanth Ullattil2010-12-071-0/+2
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Shane Kearns
| | | * | Fix tst_QFileInfo owner() & group() failure on Windows.Prasanth Ullattil2010-12-061-20/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ownership of newly created files are transferred to the Administrator group only if the application is running with Admin privilages. This will happen only on Windows 7 & Vista, on XP user has the ownership. Reviewed-by: Joao
| | | * | Fix tst_QFileInfo::canonicalFilePath failure on WindowsPrasanth Ullattil2010-12-061-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the test application is running without administrative privilages, the CreateSymbolicLink() can incorrectly return success. To handle this we need to check whether GetLastError() returns ERROR_PRIVILEGE_NOT_HELD or not. Reviewed-by: Joao
| | | * | Fix QDir::relativeFilePathJoão Abecasis2010-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to call cleanPath on the result of absolutePath, before returning it to the user, but stopped doing that. relativeFilePath actually depended on that and broke. Fixed now. Reviewed-by: Prasanth Ullattil
| | | * | Fix spelling in commentsJoão Abecasis2010-12-056-12/+12
| | | | |
| | | * | Add missing license header to test caseJoão Abecasis2010-12-051-0/+41
| | | | |
| | | * | Define _WIN32_WINNT before any includesJoão Abecasis2010-12-051-4/+4
| | | | | | | | | | | | | | | | | | | | ... to ensure it's properly defined before <windows.h> is ever included.
| | | * | New attempt at fixing compilation failureJoão Abecasis2010-12-052-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Including windows.h and defining _WIN32_WINNT didn't cut it. Instead, fall back to explicitly #defining IO_REPARSE_TAG_SYMLINK in metadata header, since it's all that's needed there. In windows-specific iterator implementation ensure _WIN32_WINNT >= 0x0500.
| | | * | Removing unused duplicate definitionsJoão Abecasis2010-12-051-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | These functions have been forked in qfilesystemengine_win.cpp and are no longer used in this file. Cleaning up.