summaryrefslogtreecommitdiff
path: root/vcl/workben
AgeCommit message (Collapse)Author
2023-11-19Extended loplugin:ostr: vclStephan Bergmann
Change-Id: I2a9d5383d1831d8bf61e5280d66556d71fccae52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159666 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-09bump odt2pdffuzzer max_len againCaolán McNamara
Change-Id: I2fcd448d4efef924d088bfc9470ae800dbd78504 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157737 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-07loplugin:ostr: automatic rewriteStephan Bergmann
Change-Id: I2d09b2b83e1b50493ec88d0b2c323a83c0c86395 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157647 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
2023-10-03Use Degree100Mike Kaganski
Change-Id: I133dbe40d57eda77b64f3e38631da30f296489f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157517 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-09-23tdf#105303: Drop html export wizardXisco Fauli
Done during the conference hackfest Change-Id: I765e6dc839a98038c4071c8444ce3db9293c8a6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157173 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-09-07increase max_len for fodt2pdffuzzer furtherCaolán McNamara
Change-Id: I517fe5c9a3168cbaea670e0ead6d1f9588f588a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156664 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-08-30increase max_len for fodt2pdffuzzerCaolán McNamara
it's all gone very quiet since ofz#61511 Direct-leak Change-Id: Ia78de8b10e89905a29c0150f9582ad769e6984a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156311 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-08-06increase max_len for fodt2pdffuzzerCaolán McNamara
very little output from this fuzzer to date Change-Id: I1bd0eaf983c3c88f620803bbd85f464923d6484d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155374 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-07-07give fodt2pdffuzzer more rope to play withCaolán McNamara
Change-Id: I30ee4e76e1ffb8cdec989f81d5bb43ed7bf7529e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154204 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-05-11move xmlSetGenericErrorFunc into LLVMFuzzerInitializeCaolán McNamara
and add xmlInitParser there Change-Id: Ifde0f8d9e8be413fd3dcf216ad33effa731fa549 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151684 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-05-11libxml2's fuzzers call xmlResetLastError so do that tooCaolán McNamara
Change-Id: I6a422be17569340865d8799a74dbc5a9867b7562 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151683 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-05-09increase max_len for fodt2pdffuzzerCaolán McNamara
Change-Id: Ib8c3c0e35c6a7cc8b3b40fce4f89c038e819f088 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151587 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-05-05adjust some fuzzer max-lensCaolán McNamara
Change-Id: Idf893faafac27d8a395bd39ca8297121e8ceffa1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151435 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-05-05experiment with LLVMFuzzerCustomMutatorCaolán McNamara
Change-Id: I3294c4e6cc5671927824cffaf03fd536a0a7dba6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151403 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-05-05build and use an odf fuzzing dictionaryCaolán McNamara
Change-Id: Ib6dabc636cd171151ce77e48a0e774e955ab7ce3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151434 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-05-05use the mathml dict for the mml fuzzerCaolán McNamara
Change-Id: I5b238bfad2495b3354140a39366001186b3eb91a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151426 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-30fix fuzzer buildCaolán McNamara
Change-Id: I9b980f3c81d468da4bcc33b6d27df9233f78c365 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151219 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-29reject fodt input that doesn't load and so doesn't exercise pdf exportCaolán McNamara
Change-Id: Ie8596618f62d245f35cb56e128c529464bc7cc25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151177 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-29add a fodt to pdf fuzzerCaolán McNamara
Initially give it a fairly tiny input size limit. Change-Id: Iabc2611174e88f1f6050edb21da4f28694bac4a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151151 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-27add something for fodt to pdfCaolán McNamara
Change-Id: Ia2dd8a4d5c6e558ebea6c170a0b01b5f361e1d39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151135 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-26upgrade to more recent fuzzing dicts and use some additional onesCaolán McNamara
that look a good fit for the formats we're already fuzzing Change-Id: Ie635d17d829858c0cb10f71ea936f8dc131db811 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151052 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-26add a svg fuzzerCaolán McNamara
Change-Id: I9662d91d2761b4f160858897f19f31f474dccbed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151051 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-26expose parsing svgs for testingCaolán McNamara
Change-Id: I4d59aa9a684bd3e05fca473d6c7567cd8258b242 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151002 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-25add a fuzzer to test zip recovery modeCaolán McNamara
Change-Id: I25f82cd83afae0fb3b0cfc3f1586e28323369f8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150978 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-25Remove lock file fuzzerCaolán McNamara
this found nothing in 12 months and exists to try and follow up on a confusing report which went nowhere in the end Change-Id: I7f3c6a5e2ccedad2e7b925b3c15b076cd22f1ce4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150972 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-25expose recovering zips for testingCaolán McNamara
Change-Id: I4709a2fb0bbb0fcc4c7d57dad53c899e7ba79cb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150971 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-21MCGR: Reduce diverse GradientStyle enums to single UNO API oneArmin Le Grand (allotropia)
Change-Id: Ie0cd26a308a75ddead9451c53e874a39cc6eeb63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150705 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2023-02-07improve readability of VirtualDevice constructorNoel Grandin
(a) It is not obvious what DeviceFormat::DEFAULT means (b) There are two parameters (each with two states), but only really 2 possible overall states So (1) use more useful names (2) combine the two parameters into one enum Change-Id: Ic0595b39e032cc9e019b88326389d055b977da00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146589 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-02-06ofz: bump sc-rtf and html max lengthsCaolán McNamara
Change-Id: Id2b97538dcc2919b2fb993e8494478a7a444a9a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146568 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-01-28Fix typoAndrea Gelmini
Change-Id: I45f5252291875b8e3dbf8f39f304e3a3f77a9f56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146289 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-01-28Add exception handling to minvcl, minify codeHossein
Improve minvcl example: * Add exception handling * Minify code by removing custom Window Change-Id: I1f1dc10c05812b4cfad7d38e09d7ecd26bec35b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143650 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2023-01-23[API CHANGE] sd::frame::Configuration does not need to be an UNO serviceNoel Grandin
It does not ever appear to have been used as such, and it makes no sense to be constructed externally. Change-Id: Ia1a0cccdaeb19ded1197ad8aae701ac86dd3bb48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145989 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-20[API CHANGE] remove unused SlideSorterServiceNoel Grandin
which was introduced in commit 8c4d7aa42dd4b3b08c3b4a9e4ba772737b7bd0c4 Author: Kurt Zenker <kz@openoffice.org> Date: Thu Apr 3 13:42:43 2008 +0000 INTEGRATION: CWS presenterview (1.1.2); FILE ADDED but does not appear to have ever been actually used. Change-Id: Icd33f81cfee246fe72a4b9e584f7a6ca96d6e38b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145907 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-20[API CHANGE] PresenterTextView UNO service is deadNoel Grandin
Nothing constructs it, and it looks like it was never fully hooked up, various bits of it have been removed, starting with commit a38cbc58bbe3b385830a5287ea272e28a8ae3652 Author: Felix Zhang <fezhang@suse.com> Date: Mon Oct 24 17:50:01 2011 +0800 remove unused methods from sdext:presenter Change-Id: I61080fa589ab6b886b841d7be5eed892c4bd829a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145898 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-11rename BitmapEx::GetAlpha to GetAlphaMaskNoel Grandin
to ease the reading of code related to an upcoming patch to convert transparency to alpha, since there is already a GetAlpha in Color. Change-Id: I1af0f8f6dd94acfe4673c8556c7aff6c20da3f7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145209 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-09use std::this_thread::sleep_for instead of osl equivalentArnaud VERSINI
Change-Id: I5b4edc5417e5bb5e082688df616e1d5735717d92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142357 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-02tdf#152094 retain more accuracy from RefDevMode::MSO1Caolán McNamara
do it like this to avoid adding another mapmode and to keep things "the same" as much as possible Change-Id: I1965aa545646f2d27b950d6335b2f608c3e4e04b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143475 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-25vcl: list the glyphs and bound rects of a specified fontChris Sherlock
Change-Id: Ia635d83a5d3dd257948777e9f6976fecfeb4ee98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141526 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-11-22tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macroLeonid Ryzhov
Change-Id: Iec561daa71b17cedf0ea4cd2b473df9591a7bf3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142900 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2022-11-21drop effectively unused Font::IsSymbolFontCaolán McNamara
Change-Id: I717319dd3843aa7d73d0722967e80f7d07e98143 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143006 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-06ofz: bump sc-rtf and html max lengthsCaolán McNamara
Change-Id: I5a9f8ec669a211898989e5f4f7a11c4c33a8a665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142351 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-10-15ofz: bump sc-rtf and html max lengthsCaolán McNamara
Change-Id: Idd605931d7637d2fc4d1ca878c4ddc6eca9af87b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141419 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-10-11Don't convert OUString to char* to get OUString in the endMike Kaganski
Which by the way fixes the mismatch between converting _sAppName to OString as UTF-8 in SplashScreen::SetScreenBitmap, and converting pName to OUString as ASCII in Application::LoadBrandBitmap. Change-Id: I2082f92693ca9633b64411dd668befaa30e978d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141202 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-09-23ofz: bump sc-rtf and html max lengthsCaolán McNamara
Change-Id: Ic7c596b59a420dc098ae61298d9fa048f826662c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140528 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-17ofz: bump sc-rtf and html max lengthsCaolán McNamara
Change-Id: Id3400c686fefbf395e459ee9a654382bac87f141 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140102 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-09-14merge sdfilt library into sdNoel Grandin
it is very small, and this means we can get rid of some ugly runtime symbol loading Change-Id: I1d5f5da6a9e908ccd018915bf09b9ab97d67feb6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139866 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-08vcl: Sort fonts in workben/listfontsKhaled Hosny
I only need a stable font order, so I can compare the output across invocations. Change-Id: I8141fd0425cdb638b0bf4bb4faa1889200bf8578 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139621 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
2022-09-02ofz#39186 reduce htmlfuzzer len to hasten closure of Timeout stateCaolán McNamara
restrict this to a very short length to reset ofz Timeout to force ofz to report a new issue when restored later. Bump up the sc-rtf one. Change-Id: Ida1a12f4833cef50a1fb8b7bb4c47f85f3fc155e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139268 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-08-30bump scrtf input len some moreCaolán McNamara
Change-Id: I02a8250f85ee13e5eb8596f2ebf609b743a6cc38 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139060 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-08-26bump scrtf input len some moreCaolán McNamara
Change-Id: I3690f2ec60eed58bba149c322e92b39cf2f8ba32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138887 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>