summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
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
2014-11-18windows opengl: Use the updated DrawMask to get nice text with OpenGL.Jan Holesovsky
Change-Id: Ie4f08575848e76159af86d44e10f24fa383930fb
2014-11-18windows: Improve logging.Jan Holesovsky
Change-Id: I15e6d240b3c94af07e9b39cc16efb581869729f2
2014-11-18opengl: Do not check for OpenGL errors in a loop.Jan Holesovsky
Can lead to an infinite loop. Change-Id: I09863959719115aec23534ac72a9a9690af3aeb9
2014-11-18pch: jpeg's headers conflict with INT32 typedef when in pch.Jan Holesovsky
Change-Id: I02b8fa22c11895d00e29d93b25397af676e3edae
2014-11-18vcl: fix tab spacing in ImpAnimView class definitionChris Sherlock
Change-Id: Ic9863ba0d57e4505ce182c5ccc7855f4797784de
2014-11-17vcl: initialize data when XGetWindowAttributes fails.Michael Meeks
Change-Id: If6fc99483c06efec9a600226a09ead9a3f6dab59
2014-11-17vcl: only use default windows' GL Context for bitmaps if NULL / uninitialized.Michael Meeks
Change-Id: I6465c548ba5d50da2cca7cce24e9bd2a20b28f47
2014-11-17vcl: Fix DrawMask implementation in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: Idc0bedaba5a4cea351f131d402c2b1093ac1c53c
2014-11-17vcl: Implement drawing of transformed bitmaps in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: I79717a608f33050b84244e378a6e51bd3be29232
2014-11-17vcl: always use the default windows' GL Context for now to create bitmaps.Michael Meeks
Change-Id: Ie20b10656788113709b0b0720d3cae2653639d78
2014-11-17vcl: copyBits should operate on mrParent if no context supplied.Michael Meeks
eg. OutputDevice::DrawOutDev: mpGraphics->CopyBits( aPosAry, NULL, this, NULL ); Change-Id: I0b041bb5aa6aba573b9f589842084722481cb438
2014-11-17vcl: make OpenGLContext::makeCurrent unfeasibly faster.Michael Meeks
Don't set the same context if it is already set. Apparently this is something that is unbelievably costly on Windows, and very costly on Linux. Instead check if the context is already set, and don't re-set it. Change-Id: If4fed3e555e1388031446be76d6fdfde5b9f13e5
2014-11-17coverity#1242859 rework to silence Untrusted loop boundCaolán McNamara
Change-Id: Ic30dd457b0f2fdbd13aa1508f97cdda6364390e4
2014-11-17coverity#1251174 help coverity out hereCaolán McNamara
Change-Id: I07d6d0356ee0093f7f10a7dfbbc37a620205f37a
2014-11-17use already existing variableDavid Tardon
Change-Id: I3f2781e2a041845e732046ea591a15c9bb21f1a5
2014-11-17coverity#1251174 untrusted pointer readDavid Tardon
Change-Id: I894fc64d6ae6881347bd1379d2934654536a01cf
2014-11-17Add internal libjpeg-turbo library to be used instead of libjpegMatúš Kukan
Unfortunately requires nasm - the netwide assembler - http://www.nasm.us/ Upstream libjpeg-turbo is meant to be built with CMake on Windows but thanks to our gcc-wrappers we are able to avoid that. jpeg is kept mostly for platforms we are cross-compiling to. For now, it's used also for Mac OS X because jpeg-turbo does not build there, which should be fixed later. Change-Id: Id87b7072a8acc2578c3abf7e82cb1499e5094dbf
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-17bridges, vcl: turns out there is sal/alloca.h; replace #ifdeferyMichael Stahl
Change-Id: I2eda8dab51e66af7856b55f2d5f297620e07ccdb
2014-11-17warning C4189: local variable is initialized but not referencedStephan Bergmann
Change-Id: Id87af31e9b60d548959ba735b635ff3d154fc587