summaryrefslogtreecommitdiff
path: root/include/vcl
AgeCommit message (Collapse)AuthorFilesLines
2015-09-11convert Link<> to typedNoel Grandin2-5/+4
and remove unused maChildEventListeners Change-Id: I845a9af608c3429cf9ccb0e8041f24f423839513
2015-09-11convert Link<> to typedNoel Grandin1-2/+2
Change-Id: I8f64b8f8e1e8ac7ce1475fc5132acb7171237a32
2015-09-10remove unused Link<> fieldNoel Grandin1-1/+0
Change-Id: I9fa72bd4a39d630829356117cec73b686efc7ae7
2015-09-10convert Link<> to typedNoel Grandin1-2/+2
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-10convert Link<> to typedNoel Grandin1-1/+1
Change-Id: Iaca21344f6a38f508f79e6d5983e515162a6dca3
2015-09-10convert Link<> to typed, and introduce LinkParamNoneNoel Grandin1-8/+8
as a marker type for unused Link#Call(T) param Change-Id: Ife9149052a52b27fefd4f810309a5004a0f1771b
2015-09-10convert Link<> to typedNoel Grandin1-1/+1
Change-Id: Idcc6b760dfe2d388a2634fcc345c66ff5649a62a
2015-09-10remove unused Link<> fieldNoel Grandin1-1/+0
Change-Id: I121f133513a9897f38bd87be96c2cea39fbfc836
2015-09-10convert Link<> to typedNoel Grandin2-5/+5
Change-Id: I7aa46c5cbaf70bea5756a4066bc620b3c40dedee
2015-09-09convert Link<> to typedNoel Grandin3-4/+4
Change-Id: I3127752785b77672d37f99bc9eaa881377dabe7c Reviewed-on: https://gerrit.libreoffice.org/18431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09remove unused Link<> fieldNoel Grandin1-3/+0
Change-Id: I8832a303ae2ac384e49488835df6b2d145ebbfcd Reviewed-on: https://gerrit.libreoffice.org/18430 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09remove unused Link<> fieldsNoel Grandin1-4/+0
Change-Id: Ifed1a8cfa774225cb450bb211b1b1b949ef02811 Reviewed-on: https://gerrit.libreoffice.org/18429 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09convert Link<> to typedNoel Grandin1-6/+4
Change-Id: I2f36a123662488ef5534f7bf0845d61e497fb0ec
2015-09-08Ensure the scheduler can set longer timeouts.Michael Meeks1-1/+1
Regression from: 6d64d2f38d9f6c2f54e05675ecd0709eabf6d8ca. Also fix the low priority idle min timeout to 5ms. Change-Id: I26a6e89ef7fa173e64ee34f7a500157ba82b7198
2015-09-08tdf#94006 - need an explicit dispose for GLContext's SystemChildWindow.Michael Meeks1-0/+1
Previously we would get an explicit ~OpenGLContext - and potentially leave FMR's around for other OGC users, now we treat the other users properly - we need an explicit dispose() to get Window::dispose ordering right. Change-Id: I5edcbd73399b6db3dbcfb391570f364f9ab0c70d Reviewed-on: https://gerrit.libreoffice.org/18412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-08tdf#94006 - fix OpenGLContext mis-use in several places.Michael Meeks1-1/+1
gltf rendering, OpenGL canvas, GL transitions & GL capable (charts) Avoid GLX operations on un-initialized contexts. Change-Id: I7f523640f66ab656896181e5c865879234f6640e
2015-09-08tdf#94006 - re-factor to use rtl::Reference for OpenGLContexts.Michael Meeks1-9/+8
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-07convert Link<> to typedNoel Grandin1-2/+2
Change-Id: I38f2c15b4f8bb1d7187b019d26a2644b087898c1 Reviewed-on: https://gerrit.libreoffice.org/18357 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04Minor refactoring and cleanup of Scheduler and Timer.Ashod Nakashian3-12/+17
Members are now const-correct. Replaced compile-time constants with enum. Refactored common functions from Timer to Scheduler. Disabled timer-precision unittests as they misfire often. These changes are non-functional. Change-Id: I6bb3d9fc402cadd556d9063ed9a4888f114c73d7 Reviewed-on: https://gerrit.libreoffice.org/17977 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-04Avoid OpenGL information logging when not using OpenGLTor Lillqvist1-1/+1
Change-Id: I7ce9b5cedc620c14e6315acde66aefe60e8bd5ab
2015-09-04Add explanation and enforce non-instantiabilityTor Lillqvist2-4/+8
Change-Id: I3ea699dcda21b695a486c86d7f7b7a8abc2a8fbe
2015-09-04natural sort contents of writer navigatorCaolán McNamara1-0/+2
i.e. graphic1, graphic2, graphic10 not i.e. graphic1, graphic10, graphic2 Change-Id: Ic8596144b594a933cb1366e29d3c45a4c90d7d07
2015-09-04fix slider drawing, change to always draw the whole widgetTomaž Vajngerl1-2/+1
Change-Id: Ifca2f72962b808a355bd7dcc20babaeb61272bf8
2015-09-04warning C4521: multiple copy constructors specifiedStephan Bergmann1-0/+7
Change-Id: I1b28b6d18e33b85e335ca24e717e3eef7077cf8f
2015-09-04Prevent perfect forwarding ctor from hijacking copy construction attemptsStephan Bergmann1-0/+15
...and hope that this will already be enough to help MSVC 2015 re. <http://paste.openstack.org/show/444734/>. "This leads to beavior that's intuitive only if you've spent so much time around compilers and compiler-writers, you've forgotten what it's like to be human," as Meyers so aptly put it. Change-Id: I4015bf831cd4cfed6988cc3517f719b756e27bb8
2015-09-04convert Link<> to typedNoel Grandin1-12/+12
Change-Id: I936606b6fdbb5db50661bde68fc8472bb9dd8861 Reviewed-on: https://gerrit.libreoffice.org/18317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04convert Link<> to typedNoel Grandin1-3/+3
Change-Id: I5469c9983ef94b418b729af841f8db10b9116667 Reviewed-on: https://gerrit.libreoffice.org/18316 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04remove unused Link<> memberNoel Grandin1-1/+0
Change-Id: I987e799e785326b3b36f67aed1134ab6fe74f1db Reviewed-on: https://gerrit.libreoffice.org/18315 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04convert Link<> to typedNoel Grandin2-8/+8
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04convert Link<> to typedNoel Grandin1-4/+4
Change-Id: I4d6c37e82a5b96c09b989df248f94f0afe228b46 Reviewed-on: https://gerrit.libreoffice.org/18305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04remove unused Link<> fieldsNoel Grandin1-2/+0
Change-Id: I81401ae6d1b1e95375bf4a5792b3b83189be5683 Reviewed-on: https://gerrit.libreoffice.org/18304 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03tdf#93870 - GL accel. via VCL canvas for presentations when GL enabled.Michael Meeks1-0/+26
Change-Id: Ia31a88cb3d9e6baa987b22f77f407a3f592031f1 Reviewed-on: https://gerrit.libreoffice.org/18285 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-09-03convert Link<> to typedNoel Grandin1-6/+6
Change-Id: Ic15d0539aa00b46694a1715b6dda9d78bb1c00d8 Reviewed-on: https://gerrit.libreoffice.org/18269 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03convert Link<> to typedNoel Grandin1-7/+2
Change-Id: I8bea5ac685b0076649412bd95501461242797d77 Reviewed-on: https://gerrit.libreoffice.org/18266 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03convert Link<> to typedNoel Grandin1-4/+4
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83 Reviewed-on: https://gerrit.libreoffice.org/18258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-02tdf#93867 - clear current GL context before thread switch.Michael Meeks1-0/+3
Fixes regression from otherwise a nice cleanup in: d20092259c7ea63885a539f911788715f8147ee9 Also get polarity of debug logging only with a context right. Change-Id: Id322471f01e5656e758aefc57b0d4d5ad073ec54
2015-09-02Don't call GL debugging methods if there is no context.Michael Meeks1-1/+3
Change-Id: Ie6b824953b8ad19fd1b6a146cb6bf52bbb152ef7 Reviewed-on: https://gerrit.libreoffice.org/18276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-02opengl: Don't cache the menubar background.Jan Holesovsky1-0/+6
It can change based on the _toolbar_ size. The toolbar itself is fine though; it may depend on the menubar size, but that should be constant. Change-Id: Id2c68c89f4ec0774bc74b8c4a5b9a5e59e22137f
2015-09-02tdf#93859 opengl - don't cache radiobuttons, refactor code dupl.Tomaž Vajngerl1-0/+13
Radio buttons and check boxes can't be cached with current framework as they have an additional rendering state provided in additional data. Refactor code to control which controls can be cached in one place only. Change-Id: I095a01cbf5dde013247d70ada89020f64c8c6510
2015-09-02SetXXX(bool) with a default value of false are just wrongNoel Grandin1-2/+2
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-01Removed the crc table from the check-sum headerMarco Cecchetti1-95/+4
Now can be accessed through the vcl_get_crc64_table() function Change-Id: Ife85dde373a48652a0d67460184c1f325eb91702
2015-09-01Changed DLL macro for fixing warning C4273 on WindowsMarco Cecchetti1-2/+2
Change-Id: I50e4b30e0932f092db9e7d60e50f88f2b7e83895
2015-09-01switch to 64-bit checksum: now BitmapChecksum is a sal_uInt64Marco Cecchetti1-3/+2
Changed hardcoded checksum value in ooxmlimport unit test (testN777345). Change-Id: Ied43bf626be82c0e7f6c62e965d0704fc645ac19
2015-09-01switch to 64-bit checksum: conversion from BitmapChecksum to an octet arrayMarco Cecchetti1-2/+19
Defined BitmapChecksumOctetArray which is an array of bytes whose size is the same of BitmapChecksum. Defined a routine for converting a BitmapChecksum into a BitmapChecksumOctetArray. Change-Id: I70d17ab8b841795ae27c60b418d6b090bff604bb
2015-09-01vcl_get_checksum wraps the call to the real checksum functionMarco Cecchetti1-0/+9
Change-Id: I72916f18966756ecc99e77f1b164e99377eb456e
2015-09-01Switching to 64-bit checksum: substituted sal_uLong with BitmapChecksumMarco Cecchetti7-9/+14
A typedef sal_uLong BitmapChecksum; has been added to include/vcl/checksum.hxx Wherever needed sal_uLong and sal_Int32 has been substituted with BitmapChecksum. A BITMAP_CHECKSUM_BITS constant equal to the amount of bits used by the BitmapChecksum type has been defined and used in `GraphicID::GetIDString` (vstools/source/graphic/grfcache.cxx). Change-Id: I74bd285089e58a8b18c06233d75b87023c7bf31b
2015-09-01moved chechsum.hxx in include/vclMarco Cecchetti1-0/+154
Change-Id: I70f82f16d5907ce0bbe2d838c4acee226886aab2
2015-08-31tdf#93772 - handle framebuffer unbinding on GL context switch.Michael Meeks1-0/+2
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-31tdf#93751 - ensure textures are unbound from framebuffers post destroy.Michael Meeks1-0/+1
Change-Id: I81aec0e6f8db57905826c54c3442528be6068700
2015-08-30tdf#62525 vcl: use cow_wrapper for GradientDaniel Robertson1-4/+6
Convert the pimpled copy-on-write Gradient class from vcl to use ::o3tl::cow_wrapper using the default reference counting policy. Change-Id: Iadf4d2288669e58a4d5b41f436978c3ab34216f3 Reviewed-on: https://gerrit.libreoffice.org/18124 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>