summaryrefslogtreecommitdiffstats
path: root/benchmarks
Commit message (Collapse)AuthorAgeFilesLines
* Fix running tst_qmailmessageheader and one test inside itPekka Vuorela3 days1-5/+0
| | | | | | | | | | | Commit 9da97137adae broke the output test by slightly shorter string. Went unnoticed as the whole test was marked passed no matter how many failures it had. Change-Id: I65d3321541d96bee0d7c56fd2fecaed84bb60b61 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: <matti.viljanen@kapsi.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr>
* Avoid some more qtopia referencesPekka Vuorela11 days1-6/+0
| | | | | | Change-Id: I36c493538d5c8b167e9bddf1979916773fc5f895 Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Remove non-functional NewCountNotifierPekka Vuorela2025-11-121-4/+2
| | | | | | | | | | | This doesn't nor has done anything meaningful. For handling new messages it should be better to just create a plugin, e.g. what SailfishOS has done for making notifications on new emails. Change-Id: I962339b406dd305c38fa11992d1576d6aa668084 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: <matti.viljanen@kapsi.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr>
* Fix some more compiler warningsPekka Vuorela2025-10-301-5/+5
| | | | | | | | | | | | | | | Disclaimer: didn't actually test the example as those are not in good shape, but the migration to non-deprecated API should be straightforward enough: mostly question() having default yes/no, and warning() having ok button is enough to skip explicit button declarations. For minor change not having now "no" as option when there is no question in verifyAccount(). checkMailConflict() removed as unused. Change-Id: I15067e1222264a685ba8c83c50e6ae06d4c51c38 Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: <matti.viljanen@kapsi.fi>
* Remove deprecated synchronizeAll requestPekka Vuorela2025-10-271-4/+4
| | | | | | | | | | | | | | | | | | | | | Small leftovers: pop service uses its synchronize() implementation also internally. ImapClient has a strategy for that which is set as ImapClient ctor. To be considered should the IPC / message source API be brought back for QMailRetrievalAction::synchronize(). Currently it ends up doing different sub-actions even if the original rationale was allowing the behavior to do thing in parallel. See commit 3e40ef86ac810. Also to worth note that this didn't possibly even work as the servicehandler code was doing exportUpdates() instead of synchronize(), maybe copy/paste error in commit 9c73f5415ace31 from the above request handler. Change-Id: I044732d63a11524a9b4d3a038123315c477d96e5 Reviewed-by: <matti.viljanen@kapsi.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Remove more unnecessary usage of core5compatPekka Vuorela2025-10-141-1/+1
| | | | | | | | | | | | | | Besides QTextCodec in a couple places, the remaining use was just - Couple simple QRegExps in protocol plugins. - QLinkedList in messageserver. QList should be good enough for that. Also spotted one ancient symbian test file and cleaned up some minor details. Change-Id: I348fd8d54ca3a6a6fcba1a757f33c7b490661706 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: <matti.viljanen@kapsi.fi>
* Remove some dead code and clean up a bitPekka Vuorela2025-10-111-55/+66
| | | | | | | | | | Some internal mail service command helpers have been dead for long time. For USE_ALTERNATE_MAILSTORE_IMPLEMENTATION only some references in 2010. Change-Id: I6bf8efb76f4f4e6b1877e7fe617c5c7b2370d8b3 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: <matti.viljanen@kapsi.fi>
* Add missing imaplog.* sources in benchmarksDamien Caliste2025-07-092-0/+4
| | | | | Change-Id: I73ce2814fe9fce7c9e30278b484768ec357fa060 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Add missing spaces after for/if/while/switchPekka Vuorela2025-05-091-3/+3
| | | | | | | Change-Id: I57c6ed78099b3359a16ce807da95325e755f0197 Reviewed-by: Pekka Vuorela <pvuorela@iki.fi> Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: <matti.viljanen@kapsi.fi>
* Add CMake build systemDamien Caliste2024-10-175-21/+48
| | | | | | | | | | | | | | | | Adjust source code where necessary like: - #include <private/...> cannot be used since private is the installation path, but not the path used in the sources, - fix map definition in qmailservice.xml, - had to add #include <qmailstore.h> to qmailserviceaction.h since qt_add_dbus_adaptor can only include one header, - add a method using QDBusVariant in ServiceHandler so the adaptor can call it. Change-Id: Idbecf4214dffdf523ccd8558370e8d2854b5d99a Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Remove cruft from some .pro files and remove pointless common.priPekka Vuorela2024-03-311-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | messageserver.pri not used anywhere. Neither PLUGIN_INTERNAL definition is no longer used anywhere. The common.pri isn't too good a common file as it's mostly included outside the src tree, only src/tools/messageserver uses it from the actual sources. Hence removing QMF_ENABLE_LOGGING shouldn't affect anything since it's used only in the libqmfclient for one thing. To use that properly one has needed the definition value passed externally. The win/mac special case release mode I didn't understand too well and neither did qtbase run_pro2cmake.py I was testing to proceed with cmake build. Unsure was that CONFIG_WIN working even in qt5 or was that some earlier thing. The mac bundle would have been used only for unit tests and such, so feels pointless. As neither target now even works because of d-bus ipc, let's just remove this part. Removing these makes the common.pri even more pointless so just moved the INSTALL=target to few places that were using the common.pri Change-Id: Ibfe6da554e0d452e09d08e184e22508c1af958e0 Reviewed-by: Damien Caliste <dcaliste@free.fr> Reviewed-by: Christopher Adams <chris.adams@qinetic.com.au>
* Update licensing to match latest approach in QtCore.Robin Burchell2015-08-289-204/+132
| | | | | Change-Id: Icce55517963f0cbc35211e9fc6f1a0fc413f5676 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Don't crash when running benchmark on OS X.Robin Burchell2014-02-031-2/+3
| | | | | Change-Id: I839b8ec72d14f663893067867567cb5ee4ab06e3 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Fix compilation of benchmark on OS X.Robin Burchell2014-01-282-4/+4
| | | | | | | | OS X does not have malloc.h or mallinfo. Restrict this to Linux only. Doesn't actually run yet, but it's a start. Change-Id: I8c7c848138cf5fc591ae1933e69e7db1b6ee6cbc Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Fix compilation of benchmark on Linux.Robin Burchell2014-01-281-1/+1
| | | | | | | We need qmfclient-private for QCop headers. Change-Id: Iff17d3bb974eea16196e05fc66386ad71d7bc3d4 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Convert qmfclient & qmfmessageserver into Qt modules: QmfClient & ↵Robin Burchell2014-01-231-13/+2
| | | | | | | | | | | | | | | | | | | | | QmfMessageServer. This was not possible prior to now due to Qt 4 support hanging around like the undead vampire it is, but now we purged it with fire and light, and the build system looks a lot less like a stinky, decomposed corpse. There's still a lot of surprises lurking: qtmail is one such surprise. I don't quite grasp why it's so heavy on plugins, and qmfutil also needs some... attention. But at least it's a start. As part of this work, we rename the qcop headers to fit the private convention. This could have been done in a prior commit, but given that I didn't have an easy way to build prior to this commit, I opted to roll them together. Change-Id: Ia3e288ffc3639a7751c9040ceecb54fca77a31b1 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Valerio Valerio <valerio.valerio@jollamobile.com>
* Remove Qt 4 support.Robin Burchell2014-01-213-38/+20
| | | | | | | | | | | This has persisted long enough, and as far as I am aware, has no users. It is also blocking potential build system cleanups and other good things. Reviewed-by: Valerio Valerio <valerio.valerio@jollamobile.com> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Change-Id: I5e0e0549ef6ffee31b5e60ec94a9e17f27e01436 Reviewed-by: John Brooks <john.brooks@dereferenced.net> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Allow parallel installation of qt4 and qt5 buildsValerio Valerio2013-04-261-5/+8
| | | | | | | | Signed-off-by: Valerio Valerio <valerio.valerio@jollamobile.com> Change-Id: I2c03d287fc871098cf45d75d4a1262b9c6c4378d Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Update Qt 5 port to match latest releaseValerio Valerio2013-04-193-2/+11
| | | | | | | | Update code base to match latest release of Qt. Signed-off-by: Valerio Valerio <valerio.valerio@jollamobile.com> Change-Id: I02c2ff250ea8cd960938b81903e92b04c745ae9c Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Remove Symbian support.Robin Burchell2013-02-283-13/+8
| | | | | | | | Symbian is not a supported platform anymore. Change-Id: I82e618e756ae0b247e6e038fa9d8d43fb90b44ff Reviewed-by: Valerio Valerio <valerio.valerio@jollamobile.com> Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Change to new-form Digia license headers.Robin Burchell2013-02-129-222/+222
| | | | | Change-Id: If0f4427ee93a37de4ebd9e097defd8b3956f0fc6 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Replace uses of qDebug with qMailLog.Don Sanders2012-04-202-2/+2
| | | | | | | | | | | | | | As qDebug shouldn't be used in release code, and may become deprecated. There's still some uses of qDebug left, namely, some automated tests that actually test qDebug/qMailLog functionality, some uses of qDebug in uncompiled documentation code snippet examples, one use of include QDebug in symbian code, and in qmailid some uses of defining operator<<(QDebug <<, ...). There's still about 500 uses of qWarning and qFatal left. For these I include qmaillog.h as currently that inclues QDebug. Apart from the one symbian case already mention.
* Build fixes for Qt5 and remove some spurious DEPENDS_ON macrosDon Sanders2012-03-122-17/+26
| | | | | | as they do nothing. Thanks to Valerio for the patch.
* Update license headers (make them consistent with harmattan qmf)Don Sanders2011-08-079-159/+159
| | | | Remove obsolete pre-release clause.
* Compile fix for glibc 2.14Don Sanders2011-06-031-1/+5
|
* Compiler warnings fixedMarko Minkkinen2011-02-101-1/+1
|
* Symbian related changes to .pri & .pro filesMarko Minkkinen2011-02-101-2/+4
|
* Rename the client qmf library from qmf to qmfclientespringe2010-09-091-5/+5
| | | | This is done to avoid conflicts with the QPID Management Framework
* Rename Qtopiamail library to QMFespringe2010-09-071-8/+8
| | | | | | | | | | | | | | | | | | | | | Library Renames: libmessageserver -> libqmfmessageserver libqtopiamail -> libqmf Directory Changes: src/libraries/messageserver -> src/libraries/qmfmessageserver src/libraries/qtopiamail -> src/libraries/qmf src/plugins/contentmanagers/qtopiamailfile -> qmfstoragemanager src/plugins/messageservices/qtopiamailfile -> qmfsettings Class changes: QtopiamailfileConfigurator -> QmfConfigurator QtopiamailfileSettings -> QmfSettings QtopiamailfileServicePlugin -> QmfServicePlugin QtopiamailfileManager -> QmfStorageManager There's still a few outstanding changes in the docs / translations that should be fixed shortly.
* Make it compile after synchronize -> synchronizeAll renaming.Don Sanders2010-08-021-4/+4
|
* Krazy code cleanupEric Springer2010-07-212-4/+4
| | | | Fix issues suggested by KDE's code checking tool "Krazy"
* Update license files, so they are the same as Qt.Don Sanders2010-06-299-144/+144
| | | | | | | | Specifically remove out dated "or the Beta Release License Agreement" text. Remove redundant GPL paragaph. Update copyright to 2010.
* Clean up warnings.AleksW2010-02-242-3/+2
|
* On Windows consider the build configuration of the Qt libraries we are ↵AleksW2010-02-191-6/+7
| | | | compiling against. If the build configuration is not specified we should match the configuration of the Qt libraries.
* Remove instances of 'Qt Software' from copyright info.MattV2009-11-239-9/+9
|
* Rely on common.pri for CONFIG settings.MattV2009-09-162-4/+6
|
* Merge branch 'qmf-1.0'MattV2009-06-055-15/+170
|\ | | | | | | | | Conflicts: src/libraries/qtopiamail/support/qmailnamespace.cpp
| * Update copyright header.2009W23MattV2009-06-055-15/+170
| |
* | Merge branch 'qmf-1.0'MattV2009-06-044-12/+136
|\| | | | | | | | | Conflicts: src/libraries/qtopiamail/support/qmailnamespace.h
| * Update copyright header.MattV2009-06-044-12/+136
| |
* | Pid is already exposed by QCoreApplication.MattV2009-05-261-1/+2
| |
* | Compile with MSVC9.MattV2009-05-223-16/+24
| |
* | Do not use separate debug/release configurations.MattV2009-05-212-0/+2
| |
* | Compile for S60 - untested, requires unreleased 'Tower' release of Qt.MattV2009-05-193-3/+34
|/
* Add a couple of callgrind tests.Rohan McGovern2009-03-302-14/+167
| | | | Turn off tests >2000 messages.
* Clean up benchmark reporting.Rohan McGovern2009-03-201-7/+10
| | | | | | | | Put the actual units of heap/disk usage into the metric name so reporting scripts can make use of it. Remove old datatag mangling put in to work around issues with the Qt Extended benchmark reporting system.
* Fixes crash in tst_messageserver: ASSERT failure in QTest::fetchData():Rohan McGovern2009-03-181-3/+4
| | | | | | | | "Test data requested, but no testdata available." The implementations of the testfunctions (*_impl) should not have been private slots as this caused testlib to effectively run them twice, and the _impl functions would crash as they cannot find their testdata.
* Disable 10,000 mails test in the interest of getting prompt results, at ↵Rohan McGovern2009-03-181-0/+2
| | | | | | least until the test can be verified to work correctly in Pulse.
* Description: Need callgrind.h too.Shane Bradley2009-03-172-2/+149
|
* Description: Add valgrind.h to the source tree so we don't need to have ↵Shane Bradley2009-03-172-1/+3933
| | | | installed on the build system. Also build if HAVE_TICK_COUNTER is undefined.