summaryrefslogtreecommitdiff
path: root/vcl/workben
AgeCommit message (Collapse)AuthorFilesLines
2017-06-03add quattro pro fuzzerCaolán McNamara1-0/+28
Change-Id: Ic9ba37af508eabce528ea57ae5839b1cd603b3e1
2017-06-02rework ScQProReader to take SvStream instead of SfxMediumCaolán McNamara1-5/+18
its only uses the stream anyway and this makes it far easier to build a fuzzer on Change-Id: I4aa8b56d4b041708c4de1730d503641ab23c14e8
2017-06-01add ww8 fuzzerCaolán McNamara1-0/+33
Change-Id: Icb8b385e3c59b6476ac58da5e76bbe73eaa82d88
2017-05-30remove duplicate 'using namespace'Jochen Nitschke2-4/+0
Change-Id: I7f8828f677cfb588135ff75c03ffb75895773440 Reviewed-on: https://gerrit.libreoffice.org/38201 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-30teach redundantcast plugin about functional castsNoel Grandin1-3/+3
Change-Id: Iac8ccd17d9e46ebb2cb55db7adb06c469bbd4ea0 Reviewed-on: https://gerrit.libreoffice.org/37910 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-08vcl: split jpeg import into two partsMiklos Vajna2-2/+2
Split the import into two: 1) Just create the bitmap, this part is not thread-safe (e.g. OpenGLContext::makeCurrent() is called when OpenGL is enabled). 2) Import the image into an existing bitmap. The point is that the second part takes much more time than the first, and in the future that part may be executed on a thread, while without such a split the whole ImportJPEG() can't do that. For now GraphicFilter::ImportGraphic() simply invokes the two parts after each other, so no real functional changes yet. Change-Id: Iee742a2cd3c581aeaf1a1ed9f55cd543955a85e0 Reviewed-on: https://gerrit.libreoffice.org/37397 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-05-02add ww6 fuzzerCaolán McNamara1-0/+33
Change-Id: I7e84f29b321676c373f86acba375816a0e9ad386
2017-04-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin1-1/+1
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-19vcl JPEG import: remove unused pCallerDataMiklos Vajna2-2/+2
Which is always set to nullptr, is passed around, finally just ignored. Change-Id: I81aecbed33ea249e63fbb412a54345fbb8335e47 Reviewed-on: https://gerrit.libreoffice.org/36662 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-04-15add ww2 fuzzerCaolán McNamara1-0/+33
Change-Id: Ie1d7b73bfb6a5c08af9a00f58d204122576e8799
2017-04-13Removed duplicated includesAndrea Gelmini2-3/+0
No automatic tools. Manual checked and tested. Change-Id: Ife260fa4e1d786cf81f2917a901664cc54943754 Reviewed-on: https://gerrit.libreoffice.org/36371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-06Improved loplugin:redundantcast, static_cast on arithmetic types: vclStephan Bergmann1-2/+2
Change-Id: I5c85d3df578d0b7e9ffc54679b73a0ce35de8620
2017-04-02split up doc testing for three major variantsCaolán McNamara1-13/+34
Change-Id: Iac1b5cb1c209ba27d185c8a7ba1e59c663553d77
2017-04-02add cgm fuzzerCaolán McNamara1-0/+30
Change-Id: Id3bf2bc3c50421bb46e6fbdf3c492bdd2e3a976c
2017-04-02align fftester and wmffuzzerCaolán McNamara1-2/+0
Change-Id: Ib0017cfd290b41fc886b5516d2f50ee219185d5a
2017-04-01add rtf fuzzerCaolán McNamara2-4/+37
Change-Id: I36a6294c158232bef8fceeaf5159527f467f5786
2017-04-01adjust cgm import to make testing easierCaolán McNamara1-0/+15
Change-Id: I2979af77522e085075d4f1e1e379fe82e614163b
2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna5-94/+94
Mostly generated using make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle" Except some modules have their own foo::tools namespace, so there have to use ::tools::Rectangle. This commit just moves the class from the global namespace, it does not update pre/postwin.h yet. Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2 Reviewed-on: https://gerrit.libreoffice.org/35923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-03-24fix macosx build failureCaolán McNamara1-4/+0
I only *need* it for the fuzzers, just wanted to keep this in sync with those for simplicity Change-Id: I4fd8aef54c6604c0d44faca9a6515bfd8e85d8bf
2017-03-24update fftester documentationCaolán McNamara1-1/+1
Change-Id: I091491a628b267a18d044d770a28a6b9e96f39f4
2017-03-24ofz: explicitly release fontconfig options on every iterationCaolán McNamara3-5/+16
fontconfigs alloc mechanism is too complicated for lsan/valgrind so force the fontconfig options to be released at the end of every iteration, they are demand loaded so will be recreated if necessary on next use Change-Id: I061117b1fb8136298593a165847f78eabe008f0f
2017-03-23ofz: readjust LLVMFuzzerInitialize to get ppt SdDLL::Init outside leak detectCaolán McNamara25-6/+162
Change-Id: I01a6d19ef27c4678929e8e7554569c9219ea83f6
2017-03-21ofz#891 catch exceptions harderCaolán McNamara1-2/+2
Change-Id: Ieec895533c8220bb03164489a3e268defb4a8899
2017-03-20ofz: reduce jpeg mem limit by 1/4Caolán McNamara2-2/+2
Change-Id: I136cca9465debc4bc26e2173f050eb253de1a698
2017-03-20BitmapEx::Convert testing has served its purposeCaolán McNamara1-33/+0
Change-Id: Ib4bce41b07dd1bbf97a7cd9b0a64132b915998ab
2017-03-19Fix typo to have "NEEDS_QUALITY_PARAMETER"Julien Nabet1-3/+3
Change-Id: I7621c171ede3bbfc49fc2298f793473f10f21175 Reviewed-on: https://gerrit.libreoffice.org/35432 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19TypoKhaled Hosny2-2/+2
Change-Id: Icdcf060b8e6d5ecbb08a1915261687026d674c0b
2017-03-18use SAL_NO_FONT_LOOPUP for consistent resultsCaolán McNamara2-0/+2
Change-Id: Ibdc0df66325b49fb24c8e59c86beb2875b0e200e
2017-03-18ofz#891 an exception is an acceptable outcomeCaolán McNamara1-1/+7
Change-Id: Ia5939b81f6bc2d44a4966266a91ed14d4fafad2f
2017-03-17tweak libjpeg to honor JPEGMEM and set it in file format testersCaolán McNamara2-0/+2
Change-Id: I6660ccc68d3c82bf6118c2106a9293fd37e801ae Reviewed-on: https://gerrit.libreoffice.org/35283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-15add ppt fuzzerCaolán McNamara2-3/+27
Change-Id: I283d24fc2d7420273c3769fcd4ea3938da85afb4
2017-03-15add SAL_DISABLE_PRINTERLIST to fftesterCaolán McNamara1-0/+1
Change-Id: I55fd87a33e8a5dce2af9003ec6f2fa216ed1b72c
2017-03-14add a separate fuzzer for OLE2David Tardon1-0/+66
Change-Id: I518bd8dc6fd50e96746d6d415190551c6cbfdea5 Reviewed-on: https://gerrit.libreoffice.org/35178 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-06add a oss-fuzz BRAND_BASE_DIR overrideCaolán McNamara1-11/+19
Change-Id: I8878d5c35da6c9015420e54c4a82f80f5827ce5d
2017-03-02add lwp fuzzerCaolán McNamara2-3/+27
Change-Id: I72a2d8ce47059f9af65d89fbdcc09d96c40cb79b
2017-03-02Fix typosAndrea Gelmini1-1/+1
Change-Id: I72db7ff99cde394bc161dfd835bfb0d9a47a53d1 Reviewed-on: https://gerrit.libreoffice.org/34780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-28convince ofz lsan this isn't leakCaolán McNamara1-1/+5
Change-Id: Ifac8b0ac03cedb59deec1733b0d38887038992de
2017-02-28don't check for printers during fuzzingCaolán McNamara1-0/+1
Change-Id: Id52d5dc425b6e3319879c1802f6c1fc51c1dd4f3
2017-02-25add 602 fuzzerCaolán McNamara2-3/+27
Change-Id: I91242d4647922be1c668c6a6518dedf7048801be
2017-02-24add hwp fuzzerCaolán McNamara2-3/+28
Change-Id: I07fe351a182328f9ef98cb9866529637a6688c64 Reviewed-on: https://gerrit.libreoffice.org/34570 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-02-22add tif fuzzerCaolán McNamara1-0/+24
Change-Id: I4f7c73b85c34bfdf88536ed40b288392e7e21368
2017-02-22add tga fuzzerCaolán McNamara1-0/+24
Change-Id: If14486ffa268ce830b941b1b3f621dce190be43e
2017-02-21loplugin:subtlezeroinit: vclStephan Bergmann1-13/+13
Change-Id: I041390c7cea1e246f07e799ee2430c16e86723d8
2017-02-17add ras fuzzerCaolán McNamara1-0/+24
Change-Id: I06c36dd30ed6422b2c21dce3a43b89f43b1218b2
2017-02-14Convert WindowType to scoped enumNoel Grandin1-1/+1
Change-Id: I85cfe02f28729e13f2c0dd3d91cd89e6f3e3b6a9 Reviewed-on: https://gerrit.libreoffice.org/34219 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-13add pcx fuzzerCaolán McNamara1-0/+24
Change-Id: I861a64938a73f625ae190d18aee15dc57ac4d97d
2017-02-09convert BmpConversion to scoped enumNoel Grandin2-18/+18
and drop unused 4BIT_TRANS and 1BIT_MATRIX enumerators Also fix a bug in x11::convertBitmapDepth where we were incorrectly passing BmpConversion enumeratirs to ReduceColors Change-Id: I903c6866750e46ee752e10a17c05fcaaf6b11242 Reviewed-on: https://gerrit.libreoffice.org/34062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07ofz: get the font info early inside leak disabled codeCaolán McNamara1-0/+4
cause we don't have a tear-down to release it Change-Id: I86a72288a1ed03bf5fc5b6a00d9067f3f1063580
2017-02-01Revert "vcl: include config_features.h"Michael Stahl1-2/+0
This reverts commit a4d5d69eb4a1f5f889c933e5a801582f31c6ad80. Once is enough.
2017-02-01Need <config_features.h> here, tooTor Lillqvist1-0/+2
Change-Id: Ie16af2d0943cec6374307e9afb09cd47ed6d7043