aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppDataForm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reformat codeLinus Jahn2022-09-061-12/+24
|
* Add move constructors and move assignment operators everywhereLinus Jahn2022-06-181-6/+12
| | | | | This is so std::move() on implicitly-shared types actually moves the content and doesn't call the copy ctor/assignment operator.
* Run 'clang-format' on all filesMelvin Keskin2022-01-151-1/+2
|
* Convert copyright headers to REUSELinus Jahn2022-01-141-23/+4
|
* Update copyright years (2022 edition)Linus Jahn2022-01-091-1/+1
|
* QXmppDataForm: Merge constructorsLinus Jahn2021-09-071-18/+0
| | | | Can be done because binary compatibility has been broken.
* Introduce data form parsing abstractionsLinus Jahn2021-08-221-0/+11
|
* Use qMakePair() again to fix compile errorsLinus Jahn2021-08-011-1/+1
| | | | | | | With some configurations QPair(a, b) (without template parameters) causes errors, but it works with qMakePair(). Fixes #360.
* Refactor and clean up QXmppDataFormLinus Jahn2021-03-281-130/+73
|
* doc: Fix warnings and clean up QXmppDataFormLinus Jahn2021-03-281-66/+217
|
* QXmppDataForm: Add FORM_TYPE search functionLinus Jahn2021-03-231-0/+21
|
* Replace qAsConst by std::as_constLinus Jahn2021-03-171-1/+1
|
* Update copyright headers to 2021Linus Jahn2021-02-191-1/+1
|
* QXmppDataForm: tiny fix after 8cfb21e93bb83e3d4cdb4cb26d608c04c340639cBoris Pek2020-10-111-1/+1
|
* QXmppDataForm: Fix with Qt6 QVariant::isNull() behaviourLinus Jahn2020-10-101-1/+1
|
* Hide deprecation warnings caused by compatibility codeLinus Jahn2020-08-041-1/+8
| | | | This makes the build log clean again.
* QXmppDataForm: Add ctor with all attributesLinus Jahn2020-03-291-0/+40
| | | | This makes creating forms manually a lot easier.
* Expand QSL and QBLJonah Brüchert2020-03-291-7/+7
| | | | So they don't leak into the public API
* base: Convert to QStringLiteralJonah Brüchert2020-03-281-7/+7
| | | | | | Two new macros were added: * QBL (short alias for QByteArrayLiteral) * QSL (short alias for QStringLiteral)
* doc: Use XEP links everywhereLinus Jahn2020-02-111-6/+6
|
* Run clang-format also on all cpp filesLinus Jahn2020-02-031-90/+59
|
* clang-format: Enable regrouping and sorting of includesLinus Jahn2020-02-031-0/+5
|
* 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")
* Bump copyright year to 2020Linus Jahn2020-01-061-1/+1
|
* Replace Q_FOREACH (foreach) by C++11 ranged for-loopsLinus Jahn2019-10-231-6/+4
| | | | | | | 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.
* Refactor data form media elementLinus Jahn2019-10-231-40/+247
| | | | | | | | | | | * Add QXmppDataForm::MediaSource instead of using a QPair<QString, QString> to save the URIs and content types. * Deprecate QXmppDataForm::Media: The extra class was useless: Each Field has exactly one media element and the media element has only two attributes (size and media sources) * Add mediaSources and mediaSize attributes to the QXmppDataForm::Field * Deprecate getters/setters for the Media element of QXmppDataForm::Field (they are still working and tested)
* Modernize codebase using clang-tidyJonah Brüchert2019-09-081-1/+1
| | | | | | | | 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
|
* clarify the fact QXmppConstants_p.h is not APIJeremy Lainé2016-09-081-1/+1
|
* 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
|
* add explicit copy constructor for QXmppDataForm::MediaJeremy Lainé2012-07-211-0/+8
|
* doc fixesJeremy Lainé2012-07-211-1/+2
|
* don't write null form valuesJeremy Lainé2012-07-181-1/+1
|
* add support for XEP-0221: Data Forms Media ElementJeremy Lainé2012-07-181-0/+130
|
* Fix and test data form title/instructions XML serialization.Jeremy Lainé2012-07-181-3/+2
|
* update copyright yearJeremy Lainé2012-07-181-1/+1
|
* hide QXmppDataForm internalsJeremy Lainé2012-05-141-50/+124
|
* move files common to client/server into "base"Jeremy Lainé2012-02-081-0/+448