summaryrefslogtreecommitdiff
path: root/vcl/workben
AgeCommit message (Collapse)Author
2016-01-21loplugin: unused return valuesNoel Grandin
Change-Id: I4eb1f0c9245c04058fd5e47046f043f8840a79c7 Reviewed-on: https://gerrit.libreoffice.org/21628 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-14vcl: (workbench) check error status of socket writesChris Sherlock
Change-Id: I0825a4e1a0dc49d7ab2d74ad4b11cfb8baf973f7
2016-01-11loplugin:staticmethodsStephan Bergmann
Change-Id: I15d48d69dd05de34f1b85896c2b143d6f17eeecb
2016-01-10avoid crash on vcldemo bad indexCaolán McNamara
Change-Id: I3a778f41897da885ea039526e4701ebebfe57c4d
2016-01-09tdf#96657 - vcldemo - implement invert: Track Frame rendering test.Michael Meeks
Change-Id: I07f4622945cf5787102317cfa38875c67104f265 Reviewed-on: https://gerrit.libreoffice.org/21290 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09tdf#96919 - vcl opengl: implement missing XOR mode.Michael Meeks
Also revert "tdf#96257: Silly work-around to produce same result ..." from commit ec8bc265050d86a749140c353360a78cce4e3fce. XOR rendering (it turns out) behaves oddly, and not for all operations. Change-Id: Ie07d988bbf7fed10fb5625ac547a01a306b05319 Reviewed-on: https://gerrit.libreoffice.org/21282 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-09tdf#96919 - vcldemo - implement XOR rendering test.Michael Meeks
Change-Id: Iecd8d1d1fafc9d80b40ab2069248678697dddb6c Reviewed-on: https://gerrit.libreoffice.org/21274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-08Revert "vcl: move filter headers to vcl/inc/filter"Chris Sherlock
Discussed on IRC - overwhelming consensus is to keep the headers where they were before. The main reason to keep them in the same directory is to keep headers as local as possible to the source files, unless something else needs to access it. The only thing that uses the headers is vc/workben/fftester.cxx I will work out how to get Doxygen to pick up these headers another way. This reverts commit 5d7772fc0464c867c5ad2f1e10ccabd7331f7efa. Change-Id: I45ee970722e27748ab8af8909ac49579dc47ef56 Reviewed-on: https://gerrit.libreoffice.org/21250 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08vcl: move filter headers to vcl/inc/filterChris Sherlock
Change-Id: I0b2b12d3f5cc6e35b2d87adb39ad44ba287c9a01
2016-01-04vcldemo: adjust benchmarking weights to fit changed workloads.Michael Meeks
Change-Id: I2cd8cdd541fd4095aea8abd2ea78b11e7df77440
2016-01-03vcl: Excise vcl::FontInfo classChris Sherlock
This may sound crazy, but literally vcl::FontInfo serves no purpose that I can see. The inheritance chain is like this: ┌────────────────────────┐ │ │ │ vcl::Font │ │ │ └────────────────────────┘ ^ ╱ ╲ │ │ ┌────────────────────────┐ │ │ │ vcl::FontInfo │ │ │ └────────────────────────┘ ^ ╱ ╲ │ │ ┌────────────────────────┐ │ │ │ FontMetric │ │ │ └────────────────────────┘ vcl::FontInfo (which, incidentally, needs to be put into the vcl namespace due to collisions with poppler!) literally does nothing and is acting as a bridge between FontMetric and vcl::Font. Unlike a bridge though, this bridge doesn't actually *do* anything. So I'm removing it, which means one less class to deal with in the vcl fonts world. Change-Id: I32725669c9bca7fbb0846b6a062135464046e4f6 Reviewed-on: https://gerrit.libreoffice.org/21058 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-02vcldemo - more clipping tests for RegionBand and Polygon cases.Michael Meeks
Change-Id: I959c0874c670027e79163ded6a1d8c8b55d66376 Reviewed-on: https://gerrit.libreoffice.org/21045 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-01-02vcldemo: add clipping torture test.Michael Meeks
Change-Id: I5b09d1777c994acaf25457e786222886b2435af8 Reviewed-on: https://gerrit.libreoffice.org/21042 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-12-31tdf#95507 - implement opengl / 50% invert method.Michael Meeks
Change-Id: I8488cb8e8074831a6f81e6c8c122462c9819d25d Reviewed-on: https://gerrit.libreoffice.org/21025 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-12-15Get rid of :: prefix for basegfx in include/vcl and vclTor Lillqvist
We already used it without the :: prefix, in many cases in the same files even. It is nice to have some consistency. I was not bored enough to do it everywhere. Change-Id: Ic8ac5bd9b4b2c02c41e5ea937a3d9477824f21cf
2015-12-10vcldemo: avoid svg load/render for icon test.Michael Meeks
Change-Id: Ie3f49ff759f0b5b038a7b6a3fb09c5e220aa4645
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara
cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-18com::sun::star->css in vcl/Noel Grandin
Change-Id: Ifad76177673cf93746ba221838be80ff76fed228 Reviewed-on: https://gerrit.libreoffice.org/20032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I7ac150458a72963f3336d30ef9d99d7c0d81c024
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I31a69a997098eb1807361b8049c3312a4f287d75
2015-11-02compilerplugins: add "badstatics" to detect abuse of VCL BitmapsMichael Stahl
VCL Image/Bitmap/BitmapEx instances must not have static life-time because then they will be destructed after DeInitVCL() and that likely segfaults. Change-Id: I3ff8d32de729c971b190028094cb4efe206395e2
2015-10-30tdf#93684 - Remove SalFrame::SyncRyan McCoskrie
Change-Id: Icae9cf0a17f9cdf9a671c7e7278019d6980602b1 Reviewed-on: https://gerrit.libreoffice.org/18453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-10-22tdf#93243 - replaced some boost::bind with C++11 lambdasSahas
Did half the file. Need comments before I finish the rest. Change-Id: Idbd98277e908dc568008925611ab1fd1fb778ab1 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-10-21move afl examples/test-cases to dedicated dirCaolán McNamara
Change-Id: I36f09cd19ea721ee69e62fac4cf0744827e8cefb
2015-10-21remove untyped Link<>Noel Grandin
Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-20Add DLOPEN_LIBS to configure for some cases where -ldl is neededRichard PALO
use std::sqrt in vcldemo.cxx Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee Reviewed-on: https://gerrit.libreoffice.org/18591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: I3e5ee77b51eb8e1207d3f95e6a1d9d8272532ba6
2015-10-16afl-eventtesting: add a realistic impress workoutCaolán McNamara
Change-Id: Ie40071dd91e28131ddb62c03834fda097a1d90ea
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12convert Link<> to typedNoel Grandin
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I9570057473f844c55b88d38f24f8156ea7c6c90c
2015-10-07afl-eventtesting: lets ditch the key repeat and timestamp fieldsCaolán McNamara
time stamp doesn't matter apparently for keyboard events so ditching it gives less surface area to fuzz repeat showed some interesting effects, but mostly just allows vast paragraphs to be generated causing timeout hangs which isn't what I'm super interested in right now. Change-Id: I955b91745a26d5044f0d53acd3fda0a160e53855
2015-10-06experimental afl driven ui testingCaolán McNamara
Change-Id: I1933951c52adc75ed36db2c083c232f29b6140d6
2015-10-03add QuattroPro support to fftesterCaolán McNamara
Change-Id: I832ab43e2fccf9b2c24e98ae443a9611012ea5a1
2015-10-01add 602 format to fftesterCaolán McNamara
Change-Id: I52055dc66ab2119dce6e3df3a34c25a822dea166
2015-09-30add xls support to fftesterCaolán McNamara
Change-Id: I23e219cec1a8d98e02c3584041f67ff42dd29bd8
2015-09-12GetCommandLineParamCount() returns sal_uInt16Matteo Casalin
Change-Id: Ie85f3a44034ffcfe08493256bc65e49b63a28013
2015-09-10coverity#1323758 Uninitialized pointer fieldCaolán McNamara
Change-Id: Iccbf40d09ffb9f9bb6058b81db4ebde6b64a7ae9
2015-09-08tdf#94006 - re-factor to use rtl::Reference for OpenGLContexts.Michael Meeks
Don't use rtl::Reference for the global / list state, so the ref-count reflects the number of real users. Hold a reference during ~OpenGLContext. Change-Id: I4e57a7246159acd58ae7d5a0dfc8704b9795c894
2015-09-02Resolve merge failure: an OutputDevice parameter not WorkWindow.Michael Meeks
Change-Id: I366fcab22550f5d386af7ed3be0ad25456317b7d
2015-09-02Add another vcldemo OpenGL test to try to catch another Windows nasty.Michael Meeks
Change-Id: I43e48617617e89f5aa089ef1487215c5b81c50bc
2015-08-31loplugin:staticmethodsStephan Bergmann
Change-Id: Idfc691a92d0cba72289699609cb99bce35aaade9
2015-08-31tdf#93772 - handle framebuffer unbinding on GL context switch.Michael Meeks
Also start gl tests in vcldemo: $ SAL_FORCEGL=1 vcldemo --gltests Change-Id: I8f0022770d57cd60c830659e3f7fcc0721320a10 Reviewed-on: https://gerrit.libreoffice.org/18132 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: I69c2c27af718b1d3ff35348a69d8b57914e5ae82
2015-08-27vcldemo: quit popup on mouse click.Michael Meeks
Change-Id: I0fc1967d3863723b0c8e3e082fac19cc49aba345
2015-08-26Add menubar to vcldemo --widgets test.Michael Meeks
Change-Id: I848b5a8834212fce1089fb3ef2186424a1e7a11e
2015-08-26add ppt to fftesterCaolán McNamara
Change-Id: I49162355ce5a58c6aaadfcfb9f45471e5c2a1424
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b