summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-09-10coverity#1323752 Logically dead codeCaolán McNamara
Change-Id: Ic7b0e9c6a1e4e1ce37d49358828a660fdfc63a1d
2015-09-10coverity#1323759 Uninitialized pointer fieldCaolán McNamara
Change-Id: I9fca8838beb1c2f6db8a9f1c9b6fe77f247b847c
2015-09-10coverity#1323760 Uninitialized scalar fieldCaolán McNamara
Change-Id: I933b208283629e7940f3d5928bae9f94a485f54c
2015-09-10coverity#1323758 Uninitialized pointer fieldCaolán McNamara
Change-Id: Iccbf40d09ffb9f9bb6058b81db4ebde6b64a7ae9
2015-09-10Calling empty std::function behaves different than calling empty LinkStephan Bergmann
...regression introduced with a50cd18768289c65debeed5ec507cf37095365b8 "make Control::ImplCallEventListenersAndHandler take a lambda" Change-Id: I62e66d71cd36e55d68cf15c70dc9e06214f7e312
2015-09-10vcl: fix utterly mysterious error C2064 term does not evaluateMichael Stahl
... to a function taking 0 arguments with MSVC 2013. Change-Id: I73744bfe9def70d00e6e489f7064472cdb64b113
2015-09-10windows opengl: mpProgram seen as 0Miklos Vajna
in JunitTest_sc_unoapi_3. Change-Id: Ic7e32979f31a3376b67eb3bef59373632461e39f
2015-09-10windows opengl: mpCurrentProgram seen as 0Miklos Vajna
in JunitTest_sc_unoapi_3. Change-Id: Ibe12a31c1158f782bd7df115171b07e1843d025c
2015-09-10remove unused Link<> fieldNoel Grandin
Change-Id: I9fa72bd4a39d630829356117cec73b686efc7ae7
2015-09-10convert Link<> to typedNoel Grandin
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-10Fixup low-prio idle's effect on min-period.Michael Meeks
Change-Id: Ib01883e09a32d839cc20455276655ad39bd6828c
2015-09-10convert Link<> to typedNoel Grandin
Change-Id: Iaca21344f6a38f508f79e6d5983e515162a6dca3
2015-09-10convert Link<> to typed, and introduce LinkParamNoneNoel Grandin
as a marker type for unused Link#Call(T) param Change-Id: Ife9149052a52b27fefd4f810309a5004a0f1771b
2015-09-10convert Link<> to typedNoel Grandin
Change-Id: Idcc6b760dfe2d388a2634fcc345c66ff5649a62a
2015-09-10remove unused Link<> fieldNoel Grandin
Change-Id: I121f133513a9897f38bd87be96c2cea39fbfc836
2015-09-10convert Link<> to typedNoel Grandin
Change-Id: I7aa46c5cbaf70bea5756a4066bc620b3c40dedee
2015-09-09vcl: restore lost hunk in Scheduler::ImplStartTimer()Miklos Vajna
Regression from commit 6d64d2f38d9f6c2f54e05675ecd0709eabf6d8ca (Minor refactoring and cleanup of Scheduler and Timer., 2015-07-19), the old Timer::ImplStartTimer() used to set nMS to at least 1, but the new Scheduler::ImplStartTimer() didn't do that. With this, JunitTest_sw_unoapi_3 no longer hangs for me. Change-Id: I16ad360f1e5430cde7ec8b28e8c2620d260c9ec0
2015-09-09Revert "add some warnings to non-implemented features"Tor Lillqvist
These warnings are too annoying. So sue me. This reverts commit 5c60dab390d66a4d5abeaf548efecf3913b90839.
2015-09-09tdf#92649: Converted pointers to unique_ptr's in vcl/unx/kde4Ryan McCoskrie
Change-Id: I1bab95a9a3db765d3b3bd34345dc006ccd33caf0
2015-09-09Resolves: tdf#93887 distinguish between empty selection lost selectionCaolán McNamara
Change-Id: Id0be728602b3c58b2853ff464336d68303531efe
2015-09-09convert Link<> to typedNoel Grandin
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 Grandin
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 Grandin
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 Grandin
Change-Id: I2f36a123662488ef5534f7bf0845d61e497fb0ec
2015-09-08OpenGL: use CHECK_GL_ERROR() only when a context is bound.Michael Meeks
Removes a large number of spurious GL errors left & right. Change-Id: I0b5639478812982b39d3b88be2600dad5d3f1fd0
2015-09-08Ensure the scheduler can set longer timeouts.Michael Meeks
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 Meeks
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-08clang-analyzer-deadcode.DeadStoresStephan Bergmann
same as 12a2a78cd1860ab5fea21889275a46c2456f00db Change-Id: Ibb4930abfd620f81c528ed0fe6ca62d887d77636
2015-09-08tdf#94006 - fix OpenGLContext mis-use in several places.Michael Meeks
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 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-08loplugin:mergeclass, merge BiNode with NameNode, Obj0Type with ObjkTypeNoel Grandin
Change-Id: Icbc0dfc6096a6e2c651dad4fe9f78d176f389390
2015-09-07don't use a null displayMarkus Mohrhard
Change-Id: Iab0a53abd723f0309f40742636315079a4b2c532
2015-09-07avoid some OpenGL calls when vcl OpenGL is not enabledMarkus Mohrhard
There are even more and it is causing a number of performance issues. This just fixes the most obvious place. Change-Id: Id85c13b5b7f4bb0bc077e62c39258067e17c0094
2015-09-07windows opengl: fix CppunitTest_writerperfect_writerMiklos Vajna
Change-Id: I4a7199633d0d940ae009ac144989da7d6c9262ec Reviewed-on: https://gerrit.libreoffice.org/18378 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with fccfef4812b07a56e2ea0b7dabe27bfa6ec78ea6 "INTEGRATION: CWS impresshydra" Change-Id: I098b4434bfb1ed2c10f1476c21f1427fe2292b60
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...the odd setting of iconSize (to the same value inside the if as well as unconditionally afterwards) was introduced in 17a5c8210349f9cd1943d0910fa281c6eac92701 "INTEGRATION: CWS vcl10: #109868# don't use ridiculously large icon sizes," together with the olwm comment, and olwm- specific code further down below that was removed again with b118d56c0b50d00822bdc2080e936709660edcc5 "Remove Olwm support and Windowmaker gravity handling;" so effectively revert the code to the state before 17a5c8210349f9cd1943d0910fa281c6eac92701 Change-Id: Ic68f6b5b44f48292a7a6983935427e529d8a5002
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since c3607b3bcb4540a90dece1eb53d7945a959beb5c "INTEGRATION: CWS presfixes01" Change-Id: I29107b0e55d16a8a88e25c7b929eeb40d56686f0
2015-09-07prevent crash with non-vcl OpenGL contextsMarkus Mohrhard
Change-Id: Ia829b0f723c8ded1237e52d48f034da3c1ac249e
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with 485d404dc2d12f86acd9c69f19e9075bd375e861 "vcl118: #i115788# fix file specs vs. URI" Change-Id: I990c3610b29b060b516a21ec6cba615fa101ccb5
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...needlessly added with 6d96720fd51ca4710c9ffef3db68ac13678f5bed "#98991# fix CJKV vertical glyph rotation, avoid obsolete FT helper functions" Change-Id: Ic0311ca8ae2b4c7d33c42f7fecaae4c95c24500a
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with a949f50ce969b1f8d018d2913c0d86cfcec4e72a "implemented GetGlyphOutline()" Change-Id: I4591ac5c3d42053b3caa9d68bb12ad02dc319b66
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with 2d1f08d63942666c0094904f50ba8c512ab69b9d "CWS-TOOLING: integrate CWS otf01" Change-Id: I92ec60f5704e632126f3ba98140c520ae5c9e784
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with 5624be5a3520a16d57724064e16df3722d728010 "CWS-TOOLING: integrate CWS graphite01" Change-Id: Ib530362efe1b52f43a2a25e531cce9326001044d
2015-09-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with d9bf8cb9c3f087115f72ba371e1291fd0eba3818 "add serverside font feature" Change-Id: I430b457dbf278be3299883ba0fac09a6b68c5d67
2015-09-07tdf#93884 windows opengl: make space around cached glyphs depend on font sizeMiklos Vajna
Cached glyphs used to have a 2px border in all font sizes, that's too small for larger fonts. Make the border size depend on the font size for larger fonts to make sure that the rendered glyphs are indeed independent. The introduced GLYPH_SPACE_RATIO = 8 constant is the smallest value where I don't see overflows anymore for large fonts. With this, not even the bugdoc renders correctly when presenting, but also the text is OK when the font size is set to the max allowed by the UI (96pt). Change-Id: I52aa5c4444583fc0467291463697a63f2b8fc86c
2015-09-06Related: tdf#84277 Hide separator only between two windowsMaxim Monastirsky
Change-Id: I3176933d20dce9f595fd6a9c0ee434a3709fa560
2015-09-04Minor refactoring and cleanup of Scheduler and Timer.Ashod Nakashian
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-04Reduce nVal scopeStephan Bergmann
Change-Id: Id5756033ccfbe392ae8264afbd3e2e0afd487f6b
2015-09-04Uniformly use if --- else if brachnes hereStephan Bergmann
Change-Id: I80d9d0d4c4d56aa8d52dc2e108a9b24025fb0f76
2015-09-04clang-tidy clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I1588f55b4be2d32dcafae27ac45eb5def1407fa6