summaryrefslogtreecommitdiff
path: root/vcl/workben
AgeCommit message (Collapse)Author
2017-07-10teach unnecessaryparen loplugin about identifiersNoel Grandin
Change-Id: I5710b51e53779c222cec0bf08cd34bda330fec4b Reviewed-on: https://gerrit.libreoffice.org/39737 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-05new loplugin unnecessaryparenNoel Grandin
Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-28loplugin:oncevar in vclNoel Grandin
Change-Id: I37a6dacda12e1c2910737d74aa344c7e2e195aeb Reviewed-on: https://gerrit.libreoffice.org/39328 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-15add quattro pro filter to fftesterCaolán McNamara
Change-Id: If59114dca8adb94266838f496d8b5d60d322bca2
2017-06-14use ERRCODE_NONE instead of 0Noel Grandin
peeling off a small chunk of my ErrCode strong_int conversion Change-Id: Idc89e8496083beed7608cba705cd981139eb7111 Reviewed-on: https://gerrit.libreoffice.org/38777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-03add quattro pro fuzzerCaolán McNamara
Change-Id: Ic9ba37af508eabce528ea57ae5839b1cd603b3e1
2017-06-02rework ScQProReader to take SvStream instead of SfxMediumCaolán McNamara
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 McNamara
Change-Id: Icb8b385e3c59b6476ac58da5e76bbe73eaa82d88
2017-05-30remove duplicate 'using namespace'Jochen Nitschke
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 Grandin
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 Vajna
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 McNamara
Change-Id: I7e84f29b321676c373f86acba375816a0e9ad386
2017-04-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin
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 Vajna
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 McNamara
Change-Id: Ie1d7b73bfb6a5c08af9a00f58d204122576e8799
2017-04-13Removed duplicated includesAndrea Gelmini
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 Bergmann
Change-Id: I5c85d3df578d0b7e9ffc54679b73a0ce35de8620
2017-04-02split up doc testing for three major variantsCaolán McNamara
Change-Id: Iac1b5cb1c209ba27d185c8a7ba1e59c663553d77
2017-04-02add cgm fuzzerCaolán McNamara
Change-Id: Id3bf2bc3c50421bb46e6fbdf3c492bdd2e3a976c
2017-04-02align fftester and wmffuzzerCaolán McNamara
Change-Id: Ib0017cfd290b41fc886b5516d2f50ee219185d5a
2017-04-01add rtf fuzzerCaolán McNamara
Change-Id: I36a6294c158232bef8fceeaf5159527f467f5786
2017-04-01adjust cgm import to make testing easierCaolán McNamara
Change-Id: I2979af77522e085075d4f1e1e379fe82e614163b
2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna
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 McNamara
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 McNamara
Change-Id: I091491a628b267a18d044d770a28a6b9e96f39f4
2017-03-24ofz: explicitly release fontconfig options on every iterationCaolán McNamara
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 McNamara
Change-Id: I01a6d19ef27c4678929e8e7554569c9219ea83f6
2017-03-21ofz#891 catch exceptions harderCaolán McNamara
Change-Id: Ieec895533c8220bb03164489a3e268defb4a8899
2017-03-20ofz: reduce jpeg mem limit by 1/4Caolán McNamara
Change-Id: I136cca9465debc4bc26e2173f050eb253de1a698
2017-03-20BitmapEx::Convert testing has served its purposeCaolán McNamara
Change-Id: Ib4bce41b07dd1bbf97a7cd9b0a64132b915998ab
2017-03-19Fix typo to have "NEEDS_QUALITY_PARAMETER"Julien Nabet
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 Hosny
Change-Id: Icdcf060b8e6d5ecbb08a1915261687026d674c0b
2017-03-18use SAL_NO_FONT_LOOPUP for consistent resultsCaolán McNamara
Change-Id: Ibdc0df66325b49fb24c8e59c86beb2875b0e200e
2017-03-18ofz#891 an exception is an acceptable outcomeCaolán McNamara
Change-Id: Ia5939b81f6bc2d44a4966266a91ed14d4fafad2f
2017-03-17tweak libjpeg to honor JPEGMEM and set it in file format testersCaolán McNamara
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 McNamara
Change-Id: I283d24fc2d7420273c3769fcd4ea3938da85afb4
2017-03-15add SAL_DISABLE_PRINTERLIST to fftesterCaolán McNamara
Change-Id: I55fd87a33e8a5dce2af9003ec6f2fa216ed1b72c
2017-03-14add a separate fuzzer for OLE2David Tardon
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 McNamara
Change-Id: I8878d5c35da6c9015420e54c4a82f80f5827ce5d
2017-03-02add lwp fuzzerCaolán McNamara
Change-Id: I72a2d8ce47059f9af65d89fbdcc09d96c40cb79b
2017-03-02Fix typosAndrea Gelmini
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 McNamara
Change-Id: Ifac8b0ac03cedb59deec1733b0d38887038992de
2017-02-28don't check for printers during fuzzingCaolán McNamara
Change-Id: Id52d5dc425b6e3319879c1802f6c1fc51c1dd4f3
2017-02-25add 602 fuzzerCaolán McNamara
Change-Id: I91242d4647922be1c668c6a6518dedf7048801be
2017-02-24add hwp fuzzerCaolán McNamara
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 McNamara
Change-Id: I4f7c73b85c34bfdf88536ed40b288392e7e21368
2017-02-22add tga fuzzerCaolán McNamara
Change-Id: If14486ffa268ce830b941b1b3f621dce190be43e
2017-02-21loplugin:subtlezeroinit: vclStephan Bergmann
Change-Id: I041390c7cea1e246f07e799ee2430c16e86723d8
2017-02-17add ras fuzzerCaolán McNamara
Change-Id: I06c36dd30ed6422b2c21dce3a43b89f43b1218b2
2017-02-14Convert WindowType to scoped enumNoel Grandin
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>