aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppTransferManager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Disable Qt keywords completelyLinus Jahn2022-12-261-12/+12
| | | | | | | | | | | | | | | Previously we had the policy that no qt keywords were allowed in headers that may be included by users. However since there was no automatic test verifying that in some places keywords were still used. This now disables qt keywords completely, also in tests and examples. Qt keywords are in general no good or really good idea as they even conflict with the standard library (`emit` at least). In some cases in the examples I just removed the slot tag if the functions didn't need to be slots (anymore). Closes #503.
* Reformat codeLinus Jahn2022-09-061-54/+98
|
* Replace raw pointers with unique_ptrLinus Jahn2022-09-021-10/+4
| | | | safer, simpler
* Convert copyright headers to REUSELinus Jahn2022-01-141-22/+3
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* Use qMakePair() again to fix compile errorsLinus Jahn2021-08-011-2/+2
| | | | | | | With some configurations QPair(a, b) (without template parameters) causes errors, but it works with qMakePair(). Fixes #360.
* doc: Fix many small doxygen warningsLinus Jahn2021-03-281-1/+3
|
* Refactor and clean up TransferManagerLinus Jahn2021-03-281-44/+45
|
* doc: Fix warnings from TransferManagerLinus Jahn2021-03-281-33/+101
|
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* QXmppTransferManager: Fix undefined behaviour when parsing features (#322)Jan Lorenz2020-12-111-2/+6
| | | Co-authored-by: Jan Lorenz <jan.lorenz@pascom.net>
* Fix undocumented Q_PROPERTiesLinus Jahn2020-02-041-29/+1
|
* Run clang-format also on all cpp filesLinus Jahn2020-02-031-152/+82
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-11/+12
|
* Replace manual xmlns writing by writeDefaultNamespace()Linus Jahn2020-01-291-1/+1
| | | | | | | This is the result of: sed -i 's/writeAttribute("xmlns", /writeDefaultNamespace(/g' \ $(find . -iname "*.cpp" -or -iname "*.h")
* Port majority of old-style connects (#237)JBB2020-01-201-105/+28
| | | This provides more type safety and is future-proof.
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Replace Q_FOREACH (foreach) by C++11 ranged for-loopsLinus Jahn2019-10-231-22/+20
| | | | | | | Q_FOREACH is bad and will be deprecated in the future: https://www.kdab.com/goodbye-q_foreach/ This also disables Q_FOREACH by defining QT_NO_FOREACH.
* Use raw literals, range based loops and autoJonah Brüchert2019-10-221-6/+6
|
* QXmppTransferManager: Port away from QTime.elapsed()Jonah Brüchert2019-10-191-1/+2
|
* Modernize codebase using clang-tidyJonah Brüchert2019-09-081-15/+15
| | | | | | | | Using the following checks: * modernize-use-nullptr * modernize-use-override * modernize-use-using * modernize-use-bool-literals
* Bump copyright year to 2019Jeremy Lainé2019-01-081-1/+1
|
* Fix spelling errorsBoris Pek2019-01-081-1/+1
|
* Add missed variables initialization in constructors of few classes.Boris Pek2018-09-181-0/+1
|
* Tiny cosmetic fix to avoid cppcheck message about memory leak.Boris Pek2017-02-031-1/+1
|
* clarify the fact QXmppConstants_p.h is not APIJeremy Lainé2016-09-081-1/+1
|
* QXmppTransferManager: Close only devices which we opened.Alexandr Akulich2015-10-271-1/+4
| | | | | | | | sendFile() method expects the device to be opened, but QXmppTransferJob::terminate() closes the dev unconditionaly, which breaks reusable QIODevice workflow. Introduce a private boolean variable saying "we created this device".
* QXmppTransferManager: Fixed device ownership.Alexandr Akulich2015-10-271-3/+2
| | | | | | - sendFile() without a device argument now set Job as a parent for the constructed (own) device. - sendFile() with a device argument does not reparent the device anymore.
* File transfer: Make sure the filename is being converted to a QUrl correctlyfbeutel2015-10-211-1/+1
|
* check sendFile is actually given a full JIDJeremy Lainé2015-08-151-6/+10
|
* add a note that QXmppTransferManager::sendFile requires a full JIDJeremy Lainé2015-08-151-0/+6
|
* update project homepageJeremy Lainé2014-03-281-1/+1
|
* update project homepageJeremy Lainé2014-03-271-1/+1
|
* update copyright notice to 2008-2014Jeremy Lainé2014-03-261-1/+1
|
* Fixed possible memory leak in QXmppTransferManagerNikita Krupenko2013-08-281-1/+1
|
* move from toAscii() to toLatin1()Matt Broadstone2012-11-161-2/+2
|
* move IPv6 specifics inside QXmppSocksServerJeremy Lainé2012-09-181-19/+4
|
* enable IPv6 file transfersJeremy Lainé2012-09-171-29/+25
|
* bring QXmppTransferManager back to 3 argumentsJeremy Lainé2012-09-171-2/+2
|
* Allow StreamHost::host to contain a host nameJeremy Lainé2012-09-171-9/+9
|
* fixJeremy Lainé2012-09-121-1/+1
|
* test stream initiation IQ serialisation / parsingJeremy Lainé2012-09-121-32/+12
|
* add/test QXmppTransferFileInfo parsing/serialisationJeremy Lainé2012-09-121-0/+26
|
* QXmppTransferManager: use actual data forms instead of manually parsing themJeremy Lainé2012-09-121-98/+38
|
* Added description field to file transfers.0xd34df00d2012-09-101-1/+21
|
* doc fixesJeremy Lainé2012-07-211-0/+4
|
* doc fixesJeremy Lainé2012-07-211-13/+15
|
* update copyright yearJeremy Lainé2012-07-181-1/+1
|
* allow QXmppTransferManager to use point-to-point linksJeremy Lainé2012-06-261-2/+1
|
* restore 7 second timeout for SOCKS candidate testsJeremy Lainé2012-06-071-0/+17
|