summaryrefslogtreecommitdiffstats
path: root/src/corelib
Commit message (Collapse)AuthorAgeFilesLines
* Removing unused member in QFilePrivateJoão Abecasis2009-09-021-1/+0
| | | | | | Thank you coverity! Reviewed-by: Marius Storm-Olsen
* Fixing compilation issues on Windows 64-bitJoão Abecasis2009-09-021-3/+3
| | | | Reviewed-by: Trond Kjernåsen
* Fix access to uninitialized memoryJoão Abecasis2009-09-021-1/+0
| | | | | | | This was flagged by Coverity. We already have a struct filled from IPC_STAT above, we shouldn't be passing unitialized data for IPC_RMID. Reviewed-by: Marius Storm-Olsen
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Kai Koehne2009-09-02448-6769/+7606
|\
| * doc: Fixed several qdoc errors.Martin Smith2009-09-026-1/+19
| | | | | | | | That's the last of them... for now.
| * QCache: Variable initialization was missingMarkus Goetz2009-09-021-1/+1
| |
| * QTextStreamPrivate: Initialization in constructor missingMarkus Goetz2009-09-021-1/+1
| |
| * QTextStreamPrivate: Removed unnecessary conditionMarkus Goetz2009-09-021-1/+1
| |
| * Don't check for null if never happens, but test it if it may...João Abecasis2009-09-011-4/+4
| | | | | | | | | | | | Making coverity happy. Reviewed-by: Olivier Goffart
| * Define QT_NO_EXCEPTIONS if we detect that we are building without exceptions ↵Olivier Goffart2009-09-011-0/+3
| | | | | | | | | | | | | | | | | | on gcc This is necessary to compile applications that are compiled without exception support (many KDE applications) Reviewed-by: Thiago
| * Coverity: Small fix for QIODeviceMarkus Goetz2009-09-011-1/+6
| |
| * fix Windows CE compile failure in qatomic_windows.hJoerg Bornemann2009-09-011-1/+1
| | | | | | | | Reviewed-by: joao
| * Compilation fixes for Windows CE on ARMJoão Abecasis2009-09-011-12/+14
| | | | | | | | | | | | | | My earlier cleanup/refactoring of qatomic_windows.h broke things on this platform. Should be fixed now. Reviewed-by: Joerg Bornemann
| * Fixed warnings (just 2 Q_Q() that are not used any moreThierry Bastian2009-09-011-2/+0
| |
| * QMargins doesn't need to be exported as it is fully inlineThierry Bastian2009-09-011-1/+1
| | | | | | | | Reviewed-by: ogoffart
| * qlist.h uses memcpy() without including <string.h> or <cstring>Bernhard Rosenkraenzer2009-09-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempting to make use of the inlined QList::node_copy without including <string.h> or <cstring> with gcc 4.4 results in (e.g.) /usr/lib64/qt4/include/QtCore/qlist.h: In member function "void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = net::Port]": /usr/lib64/qt4/include/QtCore/qlist.h:600: instantiated from "void QList<T>::detach_helper() [with T = net::Port]" /usr/lib64/qt4/include/QtCore/qlist.h:121: instantiated from "void QList<T>::detach() [with T = net::Port]" /usr/lib64/qt4/include/QtCore/qlist.h:462: instantiated from "void QList<T>::append(const T&) [with T = net::Port]" /usr/src/ark/BUILD/kdenetwork/kget/transfer-plugins/bittorrent/libbtcore/net/portlist.cpp:54: instantiated from here /usr/lib64/qt4/include/QtCore/qlist.h:388: error: "memcpy" was not declared in this scope Task-number: reported, but not yet assigned a number Merge-request: 1388 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
| * Merge branch '4.6' of git:qt/qt into 4.6Thiago Macieira2009-09-013-17/+7
| |\
| | * QMetaObject::normalizeType: fix out-of-bound access.Olivier Goffart2009-09-011-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | As reported in merge request 1375 Also use QVarLenghtArray instead of manually allocated char* Reviewed-by: Thierry
| | * doc: Fixed several qdoc errors.Martin Smith2009-09-012-10/+3
| | | | | | | | | | | | | | | Also removed four function declarations from QMargins that had no definitions.
| * | Merge branch '4.5' into 4.6Thiago Macieira2009-08-311-8/+30
| |\ \ | | |/ | |/|
| | * Reset QTemporaryFile's state after failed open() on WindowsJoão Abecasis2009-08-311-8/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression introduced in 4.5.2 where QTemporaryFile would no longer attempt to generate a random name after a failed open. Under certain situations, this led to a non-random file being left behind in QDir::tempPath when using the fallback implementation of QFile::copy. Avoid calling QFSFileEngine::setFileName() on a template, so as not to process it as file name. By consistently not calling setFileTemplate in the constructor, we also delay allocation of the fileEngine. Changes made to that function also keep it from unnecessarily allocating the fileEngine. Task-number: 260165 Reviewed-by: Thiago Macieira
| * | Updated lisence headers for QMarginsJens Bache-Wiig2009-08-312-26/+26
| | |
| * | Make QMargins a proper classJens Bache-Wiig2009-08-313-63/+386
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we need QMargins for other things then the CSS helper functions in drawutil, we have to make it more generic. It is already useful for QWidget::contentsMargins for example. This ensures we have some flexibility on how to use and modify it in the future. Reviewed-by: mbm
| * | Refactoring qatomic_windows.hJoão Abecasis2009-08-313-323/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidated Interlocked* declarations and API implementation through macro hackery, (hopefully) for improved readability and maintainability. Fixes anti-aliasing warnings with MinGW in qatomic_windows.h. Gcc builds now use inline assembly for atomic operations, instead of relying on Interlocked* functions which aren't consistently declared across implementations (mingw32, mingw-w64, wine... others?). Drops support for VC 6 and MetroWerks. Reviewed-by: Thiago Macieira
| * | doc: Fixed several qdoc errors.Martin Smith2009-08-313-4/+5
| | |
| * | doc: Fixed several qdoc errors.Martin Smith2009-08-312-0/+17
| | |
| * | Document some of the new QVariant featureOlivier Goffart2009-08-311-0/+1
| | | | | | | | | | | | | | | | | | Including the befaviour change Reviewed-by: Thierry
| * | Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-3174-962/+962
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Merge branch '4.5' into 4.6Thiago Macieira2009-08-31369-4797/+4797
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp demos/boxes/vector.h demos/embedded/fluidlauncher/pictureflow.cpp demos/embedded/fluidlauncher/pictureflow.h doc/src/desktop-integration.qdoc doc/src/distributingqt.qdoc doc/src/examples-overview.qdoc doc/src/examples.qdoc doc/src/frameworks-technologies/dbus-adaptors.qdoc doc/src/geometry.qdoc doc/src/groups.qdoc doc/src/objecttrees.qdoc doc/src/platform-notes.qdoc doc/src/plugins-howto.qdoc doc/src/qt3support.qdoc doc/src/qtdbus.qdoc doc/src/qtdesigner.qdoc doc/src/qtgui.qdoc doc/src/qtmain.qdoc doc/src/qtopengl.qdoc doc/src/qtsvg.qdoc doc/src/qtuiloader.qdoc doc/src/qundo.qdoc doc/src/richtext.qdoc doc/src/topics.qdoc src/corelib/tools/qdumper.cpp src/gui/embedded/qkbdpc101_qws.cpp src/gui/embedded/qkbdsl5000_qws.cpp src/gui/embedded/qkbdusb_qws.cpp src/gui/embedded/qkbdvr41xx_qws.cpp src/gui/embedded/qkbdyopy_qws.cpp src/gui/embedded/qmousebus_qws.cpp src/gui/embedded/qmousevr41xx_qws.cpp src/gui/embedded/qmouseyopy_qws.cpp src/gui/painting/qpaintengine_d3d.cpp src/gui/painting/qwindowsurface_d3d.cpp src/opengl/gl2paintengineex/glgc_shader_source.h src/opengl/gl2paintengineex/qglpexshadermanager.cpp src/opengl/gl2paintengineex/qglpexshadermanager_p.h src/opengl/gl2paintengineex/qglshader.cpp src/opengl/gl2paintengineex/qglshader_p.h src/opengl/util/fragmentprograms_p.h src/plugins/kbddrivers/linuxis/linuxiskbdhandler.cpp src/plugins/mousedrivers/linuxis/linuxismousehandler.cpp src/script/parser/qscript.g src/script/qscriptarray_p.h src/script/qscriptasm_p.h src/script/qscriptbuffer_p.h src/script/qscriptclass.cpp src/script/qscriptclassdata_p.h src/script/qscriptcompiler.cpp src/script/qscriptcompiler_p.h src/script/qscriptcontext.cpp src/script/qscriptcontext_p.cpp src/script/qscriptcontext_p.h src/script/qscriptcontextfwd_p.h src/script/qscriptecmaarray.cpp src/script/qscriptecmaarray_p.h src/script/qscriptecmaboolean.cpp src/script/qscriptecmacore.cpp src/script/qscriptecmadate.cpp src/script/qscriptecmadate_p.h src/script/qscriptecmaerror.cpp src/script/qscriptecmaerror_p.h src/script/qscriptecmafunction.cpp src/script/qscriptecmafunction_p.h src/script/qscriptecmaglobal.cpp src/script/qscriptecmaglobal_p.h src/script/qscriptecmamath.cpp src/script/qscriptecmamath_p.h src/script/qscriptecmanumber.cpp src/script/qscriptecmanumber_p.h src/script/qscriptecmaobject.cpp src/script/qscriptecmaobject_p.h src/script/qscriptecmaregexp.cpp src/script/qscriptecmaregexp_p.h src/script/qscriptecmastring.cpp src/script/qscriptecmastring_p.h src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptengine_p.h src/script/qscriptenginefwd_p.h src/script/qscriptextenumeration.cpp src/script/qscriptextenumeration_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h src/script/qscriptextvariant.cpp src/script/qscriptfunction.cpp src/script/qscriptfunction_p.h src/script/qscriptgc_p.h src/script/qscriptmember_p.h src/script/qscriptobject_p.h src/script/qscriptprettypretty.cpp src/script/qscriptprettypretty_p.h src/script/qscriptvalue.cpp src/script/qscriptvalueimpl.cpp src/script/qscriptvalueimpl_p.h src/script/qscriptvalueimplfwd_p.h src/script/qscriptvalueiteratorimpl.cpp src/script/qscriptxmlgenerator.cpp src/script/qscriptxmlgenerator_p.h tests/auto/linguist/lupdate/testdata/recursivescan/project.ui tests/auto/linguist/lupdate/testdata/recursivescan/sub/finddialog.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp tools/linguist/shared/cpp.cpp
| | * Update tech preview license header.Jason McDonald2009-08-31356-4628/+4628
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * Eliminate some mentions of Trolltech.Jason McDonald2009-08-113-3/+3
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * Qt's domain name is now qt.nokia.com.Jason McDonald2009-08-112-5/+5
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * Update license headers.Jason McDonald2009-08-11356-356/+356
| | | | | | | | | | | | Reviewed-by: Trust Me
| | * xlC 7 cannot compile QtConcurrent with these templates hereThiago Macieira2009-08-071-1/+1
| | | | | | | | | | | | (cherry picked from commit cb64ac587249f5dc6563a035e2ef5a3ad2bc5d13)
| * | Add an opt-in QWeakPointer::operator->.Thiago Macieira2009-08-311-0/+4
| | | | | | | | | | | | | | | | | | | | | To use this, you must add #define QWEAKPOINTER_ENABLE_ARROW to your .cpp before #including any headers. Be careful about adding this to .h files. Reviewed-by: Olivier Goffart
| * | trivial: make moc compile againHarald Fernengel2009-08-281-0/+2
| | |
| * | QMetaObjectPrivate: refactor internal disconnect to avoid duplicate codeLeonardo Sobral Cunha2009-08-282-49/+47
| | | | | | | | | | | | Reviewed-by: ogoffart
| * | Mark the QSharedPointer with Qt::Uninitialized explicitThiago Macieira2009-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | That ensures we don't create ambiguities. QSharedPointer shouldn't have any implicit constructors. Suggested-By: Olivier Goffart
| * | Enable Q_OBJECT usage across DLL boundary on Symbian OSShane Kearns2009-08-283-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symbian loader does not allow DLL import relocations in the data section. To workaround this, added an accessor function which can be used to get the class static metadata from the base class even if it is in another DLL. Changing the implementation for all platforms would cause a binary break, so it is only used for Symbian. The Q_NO_DATA_RELOCATION macro is used to configure this feature instead of Q_OS_SYMBIAN, because it is possible another platform may need the same fix and Symbian may eventually fix their DLL loader to support this feature. Task-number: 258893 Reviewed-by: Kent Hansen
| * | doc: Fixed several qdoc errors.Martin Smith2009-08-281-2/+2
| | |
| * | Whitespaces & indentation cleanup in qobjectLeonardo Sobral Cunha2009-08-282-26/+27
| | | | | | | | | | | | Reviewed-by: trustme
| * | doc: Fixed several qdoc errors.Martin Smith2009-08-281-31/+45
| | |
| * | doc: Fixed several qdoc errors.Martin Smith2009-08-281-9/+9
| | |
| * | doc: Fixed several qdoc errors.Martin Smith2009-08-284-17/+15
| | |
| * | doc: Fixed several qdoc errors.Martin Smith2009-08-282-9/+12
| | |
| * | Q_ASSERT failure in QStateMachinePrivate::handleTransitionSignal.Gabriel de Dietrich2009-08-285-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The signal index actually emitted was different from the signal index registered. This was due to recent changes in the meta-object protocol, where new indexes are being created (cloned) for signals with default parameters. When registering the transition signal, we now look for the original (non cloned) signal index. The transition keeps track of the user-specified signal index, and sets it when calling onTransition. Reviewed-by: Kent Hansen Reviewed-by: Olivier Goffart Task-number: 260403
| * | Documentation of QAbstractProxyModel::resetOlivier Goffart2009-08-281-3/+2
| | | | | | | | | | | | | | | | | | Rectification after the last merge request integration Reviewed-by: Thierry
| * | Fix the API for resetting QAbstractItemModels.Stephen Kelly2009-08-282-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit deprecates the QAIM::reset() method, and adds beginResetModel() and endResetModel() methods, addressing Qt issue 247023. http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=247023 If models and proxies use QAIM::reset() alone, then proxies will emit modelAboutToBeReset after its source model is reset. This means that mapToSource will not behave as expected (Will always return an invalid index) in a slot connected to modelAboutToBeReset. The usecase for this is maintaining viewstate (which items are selected, expanded) when the model is reset. See BrowserWidget::modelChanged here: http://websvn.kde.org/trunk/KDE/kdepim/akonadi/akonadiconsole/browserwidget.cpp?view=markup Task-number: 247023 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> Merge-request: 1072
| * | QAbstractAnimation: replacing QPointer usage for QWeakPointerLeonardo Sobral Cunha2009-08-281-12/+19
| | | | | | | | | | | | | | | | | | Added guard checks after the virtual method calls. Reviewed-by: thierry
| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6David Boddie2009-08-273-9/+25
| |\ \