summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-11-22fix glx resource leakMarkus Mohrhard
Change-Id: I013676d2f4caa0479c917a7f833966be8f0b8009
2014-11-22vcl: remove unnecessary typedef VCLXGraphicsList_implChris Sherlock
Change-Id: Iaaf2f0edf721567f88ffc948501548fddd648428
2014-11-21vcl: remove ::Bitmap as friend of OutputDeviceChris Sherlock
Change-Id: Idea0fee1ca79ae1660e89ef7038b35cf27358082 Reviewed-on: https://gerrit.libreoffice.org/13013 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-11-21make glxtest available in salmainMarkus Mohrhard
Change-Id: Ic8bc3f2d5d96506590d35138089ead2eac984314
2014-11-21coverity#1213367 rework to make comparison to len more clearCaolán McNamara
Change-Id: I9cb09bfc35f2b04567e52247f8bd1378910aeeb5
2014-11-21coverity#1213368 Untrusted value as argumentCaolán McNamara
Change-Id: Ia1bd6464e6d4c6054ca8f2fce792de365984c02e
2014-11-21move error patch test to startCaolán McNamara
Change-Id: Icd6a8b301eb7cc53aac9b84d2208bcde94218470
2014-11-21coverity#1213370 rework to make comparison to rec[i].slen more clearCaolán McNamara
Change-Id: I13ff12f0023b2752ea40cbf941350ca4c7dc7f78
2014-11-21coverity#1209863 rework to explicitly compare cMaxCharCaolán McNamara
Change-Id: I739cf10c5031fd7abeb0c58569d65c03e225f5e4
2014-11-21coverity#1255388 Division or modulo by float zeroCaolán McNamara
and coverity#1255387 Division or modulo by float zero Change-Id: I86c6d5874a7a2c2eecefe7f786edff89ff50ffbf
2014-11-21OpenGLContext stopped to support multisampling under linux.Zolnai Tamás
glTF rendering needs to have a context with multisampling so it also became broken. Regresssion from: 07c0396ab9c94be5af392827f56f0d91551f3e25 This breaker change was made assuming getVisual{Info}() is always called after the SystemChildWindow is already created, but generateWinData() is run as part of the new child window creation. It's aim to choose the best visual / FBConfig which potentially support multisampling. Change-Id: Ic881c6769260b5eaa9fed2552eca882191f6c56d
2014-11-21maDocFileURLStr is always emptyZolnai Tamás
Change-Id: I34c4a44d4fbe8d721a3a0bda5dbe35c68fe15c13
2014-11-20vcl: remove Application as friend of OutputDeviceChris Sherlock
Change-Id: Id8296445c72334164db149440c60c89823c94e40 Reviewed-on: https://gerrit.libreoffice.org/12989 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-11-20boost::scoped_ptr instead of manual pointer lifecycle management.Jan Holesovsky
Change-Id: I3b518065cead1c2805662326f063cb7b24d3d52a
2014-11-20windows opengl: Implement the native theming with OpenGL.libreoffice-4-4-branch-pointJan Holesovsky
Change-Id: If8eb5cef228f4eb28e16de3e3135742282403cdc
2014-11-20windows opengl: Introduce OpenGLCompatibleDC.Jan Holesovsky
This is to abstract the compatible DC creation and usage, to be reused in the native theme rendering. Change-Id: Id34bba4aeea7f46fc2aa42f292f0a525d753b8d7
2014-11-20vcl: If there it a MapMode, it is applied.Jan Holesovsky
Based on that, I believe this condition can go too. Change-Id: I88d8211678ca148bdf85729f57893e1476a52fc9
2014-11-20vcl: Kill IsMapMode(), it means the same as IsMapModeEnabled().Jan Holesovsky
Change-Id: I65fd40b8268cb0a27ba40da60fcf8e84cc8f7661
2014-11-20WaE: unused variable 'aOSRelease'Tor Lillqvist
Actually we don't need the aOS variable either, we can check maOS directly. Change-Id: Ib14d6baf0bda28a45361886059629460641571bc
2014-11-20WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist
Change-Id: Ieb8da224e02a9c8e19eabb4c5bcbd81120900245
2014-11-20bad API translation between mozilla strings and OUStringMarkus Mohrhard
Change-Id: I99df7d45a1e242e8a1373f150da7a5b74a7d0ffb
2014-11-20include the unx part for getting OpenGL driver & device informationMarkus Mohrhard
desktop/unx/source/glxtest.cxx is taken directly from the Mozilla project. THe whole concept is taken from Mozilla and is based on starting an early process that creates an OpenGL context. This prevents crashing drivers to crash Libreoffice. We read the information from the pipe as soon as we create the first vcl Window. In that place we then decide if the device/driver combination is blacklisted. Change-Id: I2624d4ce06d503281a4459cf3174f57cf1f7b733
2014-11-20[Accessibility] Make the sidebar a bit accessibleNiklas Johansson
The accessibility of the sidebar is heavily built on PANEL's. Since A11y on mac ignored panels it did not pan out well. Also the title was removed from AXGroupRole but is needed to announce the different panels of the sidebar. This might have some unwanted effects on other parts of LibreOffice since a lot of things are built up from AccessibleRole::PANEL. Change-Id: I095d26b3c89e2c0403d3267baa53f3bec5e07662 Reviewed-on: https://gerrit.libreoffice.org/12985 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-20Bitmap::Crop: When the rectangle is entire bitmap, do nothingMatúš Kukan
It is expensive to rewrite the whole bitmap with the same content. Change-Id: I001210840d535ac54837fff092c90835f9f2f547
2014-11-20vcl: update the OpenGLContext's pixmap when re-sizing a VirtualDevice.Michael Meeks
Change-Id: Iee8089fc3bfbea60adee95dfb2c229f3efea28f8
2014-11-19WaE: -Werror=unused-but-set-variableCaolán McNamara
Change-Id: If55fe92af710221000ccec4e09eeba9f56c8a7aa
2014-11-19coverity#1254674 Unchecked dynamic_castCaolán McNamara
Change-Id: Iae62353e42947324beca8d036fcd1c20346d0d29
2014-11-19coverity#1242627 Use of untrusted scalar valueCaolán McNamara
Change-Id: I81b034859e80507740092b25a7352c19933e8449
2014-11-19mbSwapUnderway always true inside ImpGraphic::ImplReadEmbeddedMatúš Kukan
Change-Id: I641a9ca69d8e821f6b4e82ca98179a59b793345a
2014-11-19ImpGraphic::ImplReadEmbedded: bSwap is false; remove dead codeMatúš Kukan
Change-Id: Ie5b6b593e178d3752ebf7421af8aee4b50f75819
2014-11-19fdo#86298 Avoid crash blending upside down Bitmaps of differing sizeMatthew J. Francis
Change-Id: I3ed0dec7c2f8d80ca104f8ba8d47894ace582c0a Reviewed-on: https://gerrit.libreoffice.org/12961 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-19Add dummy Crop to SalBitmap implementationsMatúš Kukan
Change-Id: Ib402395f5523a980c9ca098dcd2d8e1ecbbfa7c0
2014-11-18vcl: fix un-initialized log length & clean copy/paste bits.Michael Meeks
Change-Id: I39cd9ef32fafa2894ffde961d87adc6aac9d4a4f
2014-11-18vcl: since we share Bitmaps across all GLContexts simplify lifecycle.Michael Meeks
~X11SalVirtualDevice() was destroying X resources referred to by OpenGLSalBitmap's mpContext, which were subsequently accessed by Bitmap::AcquireReadAccess on the floating Bitmap. Better to use the default window's GLContext for all bitmap operations. Change-Id: I9009980e791cff1a1f36d626592d72c7a32efd39
2014-11-18vcldemo: render more small scaled page-border alikesMichael Meeks
Change-Id: I2605175e7ee66d3da5e41497baa4178074830e99
2014-11-18OS X: Default to the 'sifr' icon theme.Jan Holesovsky
Change-Id: I0c3d6d99f478b86873d108c893798687032b79bc
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18vcl: check the OpenGL drawable as well as the context.Michael Meeks
Change-Id: Idac493dfb3239f7ae5b5e49158d79c4f3e707509
2014-11-18restore old explanation message via assert hackCaolán McNamara
Change-Id: I897f71e5ae4d2368d5d3ced60d90fb1c833fa376
2014-11-18windows opengl: Share the contexts as we do on Linux.Jan Holesovsky
Change-Id: Ic58cca612cdf8f73170c18573917465bf34a187c
2014-11-18vcl: remove old GetOpenGLContext method.Michael Meeks
Change-Id: I1959b2e4aabdee92472fed31905fea44b989230d
2014-11-18windows opengl: Provide the context to textures everywhere where we have it.Jan Holesovsky
Change-Id: Ib820326fdc752d0893840bad3eb7f1369469f796
2014-11-18vcl: Unbind framebuffer after setting offscreen modeLouis-Francis Ratté-Boulianne
Change-Id: I057b148f51c8f011cb013e1f06288aec4d9bdb2a
2014-11-18vcl: Execute pending operations on source when copying bitmapLouis-Francis Ratté-Boulianne
Change-Id: I8a6a5ffe71c9e5f16533fd1f0944d4fd2a051c73
2014-11-18fdo#75757 remove inheritance from std::vectorMichaël Lefèvre
For TextDoc, also removing ToolsList Change-Id: Id818f61f562317ce106414937253f1748a33315a Reviewed-on: https://gerrit.libreoffice.org/12454 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-18java: make fields final where possibleNoel Grandin
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-18fdo#75757 remove inheritance from std::vectorMichaël Lefèvre
Removing TextLines class by the way Change-Id: Ic491af976d61cac8e4b37857ff3a76570611d90d Reviewed-on: https://gerrit.libreoffice.org/12474 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-18More iwyu suggested headers removalRiccardo Magliocchetti
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was detrimental to loplugin:unreffun Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
2014-11-18vcl: rename ImplAnimView functions to more readable namesChris Sherlock
Change-Id: I47e888bcd08cadcbbd3788b264a478c56af4d063
2014-11-18vcl: make all members of ImplAnimView privateChris Sherlock
I'm making Animation a friend class of ImplAnimView. Nothing should be using ImplAnimView other than Animation - so to enforce this I'm making all member functions private. This is part of general cleanup of vcl's Animation. Change-Id: Ib4746d31c14b1b2caeed61cae99c61fca0e02abc