summaryrefslogtreecommitdiff
path: root/vcl/qa
AgeCommit message (Collapse)Author
2014-11-18java: make fields final where possibleNoel Grandin
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-12valgrind+afl: bad rleCaolán McNamara
Change-Id: I0a9e5fc88ed1fcc7f1bd21218cabeb0adf65c9f4
2014-11-12valgrind+afl: short readCaolán McNamara
Change-Id: I4e78a434e4e49b376864549f7b96ca515eb1654a
2014-11-12valgrind+afl: short readCaolán McNamara
Change-Id: I48fe6550c07c1b3d6b1099fd27f8c21427e37601
2014-11-12valgrind+afl: check p1 at start of loopCaolán McNamara
Change-Id: I9ef947d9a9089f2bcf6c86711f10224a03abf394
2014-11-11There are three positive return codes from inflateCaolán McNamara
#define Z_OK 0 #define Z_STREAM_END 1 #define Z_NEED_DICT 2 and we don't support dictionaries, so a Z_NEED_DICT return creates an infinite loop Change-Id: Iafb1da594962b3cb456a3223cc6d4122791718c5
2014-11-05idle: unit test.Michael Meeks
Change-Id: Ie48fb4260bf580010715777bc63974e4d635aed8
2014-11-05idle: implement ProcessAllIdleHandlers.László Németh
It is often useful to flush all pending idle / GUI work for testing and/or profiling - so make that easy to do with this new method. Also tag idle Timers with a boolean, for ease of use. Change-Id: I57e883be8fe8637b3715008e8074d0fa258ca0c3
2014-11-05markup with event type not checker typeCaolán McNamara
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-28coverity#982593 experiment with silencing Infinite loopCaolán McNamara
etc. Change-Id: I1548d60280ab4f74fe023d026435a05f7865b516
2014-10-17java: final fields that can be staticNoel Grandin
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-13vcl: Make ImplFontCharMap a pImpl and move functions to FontCharMapChris Sherlock
To do this, I've made FontCharMap a friend class for ImplFontCharMap, and have moved the functions directly into FontCharMap. In this patch, I am attempting to stop the direct use of ImplFontCharMap by anything other than FontCharMap. However, FontCharMap itself requires a refcounter, so we will use FontCharMapPtr to access the font character map. Change-Id: I509b990a8cbd911c5cc1572c7d24fc5348ca06d9 Reviewed-on: https://gerrit.libreoffice.org/11823 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-10-10coverity#1244943 Resource leakCaolán McNamara
Change-Id: Ibee999fada60eed067d0d4e44a94294084529294
2014-10-07java: use isEmpty() instead of "size() == 0"Noel Grandin
Change-Id: I23e1038246999b0744d8e9ae83b66fa1f7dafa99
2014-10-06vcl: FontCharMap to use intrusive_ptr ImplFontCharMapChris Sherlock
ImplFontCharMap was using it's own reference counting mechanism, however we can use intrusive_ptr more effectively. Added a unit test around FontCharMap. Change-Id: Ifab6ce002fd1df8feb7e017dea3012ff9ea7f18a Reviewed-on: https://gerrit.libreoffice.org/11804 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-09-25vcl: try to make clang tinderbox happy about new timer testMichael Stahl
Change-Id: I15ae1693e92e430c78b5d73c12a7bae297c098bb
2014-09-25fdo#84000 - unit test timers / main-loop bits.Michael Meeks
At least test Unix platforms. Change-Id: I960343cb9622474fe48687a5e458e1c6dbe55358
2014-09-24add test case for EDB-34720Caolán McNamara
Change-Id: I9ef73811b93dfff502a2430a1e3e9aa3b46c9935
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-08-22WaE: Unreferenced function declarationsTor Lillqvist
Change-Id: I86087bac83de9756a1645fef6f0d74306f8d010d
2014-08-22remove special casing for default theme in vclBjoern Michaelsen
Change-Id: I4d7a37ab9b31fcce7704f07d883d6f7806f066ec
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-14java: remove unused importsNoel Grandin
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13valgrind + bff: don't add 0xffff oldcodeCaolán McNamara
Invalid read of size 1 at 0x9DC6247: GIFLZWDecompressor::AddToTable(unsigned short, unsigned short) (decode.cxx:117) Change-Id: I9cea8dcd4a5eeaa1e793b9be96f82854b9d088af
2014-08-13java: remove unused fieldsNoel Grandin
found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
2014-08-13java: reduce scope, make some methods privateNoel Grandin
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make fields privateNoel Grandin
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-12java: remove useless javadoc tagsNoel Grandin
that are not conveying any useful information Change-Id: Ic37934b8cc376fcdcb3d295232452f411dfd43b1
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-05java: remove unused fieldsNoel Grandin
Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
2014-07-20bnc#881024 test font size at world transformTomaž Vajngerl
Change-Id: If9b09b69ccd890e45d963422ccedb711585f6434
2014-06-10MetafileXmlDump: No need to specify the stream, simplify the API.Jan Holesovsky
Change-Id: Ia08f67e359bbd26cefdba8661f0b0c4ae2147382
2014-06-05WMF record size < 3 is clearly brokenStephan Bergmann
...so we should not attempt to (mis-)interpret such broken input. Change-Id: I97f4f46fdfc0dfe6f9aff42917d23634b844c7f0
2014-05-27mark QA file non-translatableAndras Timar
Change-Id: I19f10c40151ebfea9b02bfe5df7c31b157188351
2014-05-24cppcheck: redundantAssignmentThomas Arnhold
Change-Id: Ia53ac439c785e83de380fddd201ad4159f729cb2
2014-05-19Argh, *this* is what the compiler tried to tell meTor Lillqvist
Change-Id: Id5716bf6f9c86e7fa0d64b1bae9b69b4a5dadfe5
2014-05-19Fix 'non-const lvalue reference cannot bind to a temporary'Tor Lillqvist
Change-Id: Ic308a281f7b16c8924658be792216d3aba4444c5
2014-05-19WaE: passing OUString by value, rather pass by referenceTor Lillqvist
Change-Id: I6a7331ab3d87cc04021e92283db938c92b066e6b
2014-05-19vcl emf test: test clip region is correct for problematic filesTomaž Vajngerl
Change-Id: I60caf9ebcff417e0f87bae9c6b5d308b5e2f0b37
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-15vcl wmf test: null terminate streamTomaž Vajngerl
Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4
2014-05-15loplugin:unreffunStephan Bergmann
Change-Id: I10ca928ce30631b531a2549985b54ca071efb79c
2014-05-15wmf: test that non-placeable WMF uses correct sizesTomaž Vajngerl
Change-Id: I546d654726483b40ce4d981bc66377c8a3df6194
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-04-18add some jpeg format testsCaolán McNamara
Change-Id: I17347c638b5c6c72e740aaa995339a8ff33609bc
2014-04-18add a testcase for CVE-2008-1097 bmpCaolán McNamara
Change-Id: I3b1b315654fbb2a35785a87540f7da03d2d7301c