summaryrefslogtreecommitdiff
path: root/vcl/Library_vcl.mk
AgeCommit message (Collapse)AuthorFilesLines
2016-07-12opencl: OpenCLZone, detect CL device change and disable CL on crashTomaž Vajngerl1-0/+1
Guard OpenCL calls with OpenCLZone, so if a OpenCL call crashes we detect this and disable OpenCL so next time the user doesn't encounter the crash at the same calculation because he has a broken OpenCL drivers. Similar has been implemented for OpenGL with good results. Additionaly we persistently remember a known good OpenCL device ID and driver version so we can match this and perform calculation tests when they change. This is to ensure that the selected OpenCL device performs as we expect. In this commit the calculation tests aren't included yet. Remove complex static initializer in opencl wrapper library. Change-Id: I1a8b81ee31298731efcf63dc6a476955afc035e9 Reviewed-on: https://gerrit.libreoffice.org/27064 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit f41eb66302208f384a475fb20c98b6d1b0676cb6) Reviewed-on: https://gerrit.libreoffice.org/27099 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-05-19Resolve: "TODO(Q1): Make GetSystemData method virtual"Caolán McNamara1-1/+0
and remove the casting silliness, allowing the removal of cairo_cairo.?xx If anything is to go wrong I'd guess it'll be the windows directx stuff. Change-Id: I3e22c07b9c26ade9b27a245fdd8408de540643f4
2016-05-16tdf#97527 vcl: reference-count Menumelikeyurtoglu1-0/+1
Change-Id: Ia12434fede69ad247ed67691517437a9ada31acd Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/24596 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-08opengl: texture atlas impl. to efficiently packs texturesTomaž Vajngerl1-0/+1
Change-Id: I66b3eddadb172da26aa1a62f2a795895769db93b
2016-03-30vcl: same confusing condition hereMichael Stahl1-1/+1
Change-Id: I970bd11ac0e818290cf6c3c24314f19ae0322dd0
2016-03-30notebookbar: Rename NotebookBarWindow to NotebookBar, and move accordingly.Jan Holesovsky1-1/+1
Change-Id: If04a8f62aba0bcb712ae6405db318a4bd073fc54
2016-03-30Fix Android buildMiklos Vajna1-1/+1
Change-Id: I7247f19b03302b2270e0f6f32c6e6b6e760fd7bd
2016-03-25fix headless buildOliver Specht1-16/+33
disables OpenGL and glew usage, lets --without-gui do what --without-x did before and disables X related test Change-Id: I680b47c9962a0d43c8ece593db0b82e347ceebdb Reviewed-on: https://gerrit.libreoffice.org/23474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-02-26log some information about used OpenGL deviceMarkus Mohrhard1-0/+2
Change-Id: I0c050396e6b1efa7dd2f003a79a9dc506135197a Reviewed-on: https://gerrit.libreoffice.org/22555 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-19move dbus config into its own config headerCaolán McNamara1-6/+0
Change-Id: I5b0734a30dee323d41270de06f6a02fd676155c9 Reviewed-on: https://gerrit.libreoffice.org/22502 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-15rename X11WindowProvider to a NativeWindowHandle providerCaolán McNamara1-1/+1
sort of thing and genericize it Change-Id: I27e1e47f2b371e5269db079cfc1262d056105f80
2016-02-08vcl: cmdevt.[hc]xx -> commandevent.[hc]xxChris Sherlock1-1/+1
Change-Id: I77b30f28ae5a6fad360d7cada9acfaa9c324408b Reviewed-on: https://gerrit.libreoffice.org/22216 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-25vcl: rename private ilstbox.hxx header to listbox.hxxChris Sherlock1-2/+2
It actually was deliberately named "ilstbox.hxx", it wasn't a typo as it stands for Implementation (the "i") and lstbox is abbreviated, I assume because the original developers were contorting themselves into getting filenames into DOS 8.3 chars... Change-Id: I04e5927e9df754f5115829645ca0013792bf3c54
2016-01-25git: rename dndlcon.{hxx|cxx} to dndlistenercontainer.{hxx|cxx}Chris Sherlock1-1/+1
Change-Id: I549a17f68971f68313c6665fb4b04a88f7084ad6
2016-01-25vcl: move dndevdis.{hxx|cxx} to dndeventdispatcher.{hxx|cxx}Chris Sherlock1-1/+1
Change-Id: Ia9d41552a8361e086d6fcb379e041522d40fb7e9
2016-01-25vcl: rename cvtsvm.{cxx|hxx} file to svmconverter.{cxx|hxx}Chris Sherlock1-1/+1
Change-Id: Id896ae1360a7becaabfaab605f9f6c560813717b
2016-01-20replace use of basebmp in vcl entirely nowCaolán McNamara1-12/+0
we're just using it to store bitmap data and to convert to preferred destination format, so we can use the preexisting vcl BitmapBuffer for that Change-Id: I0e800956d95faddfafa53d2c48b09494a7a867c0
2016-01-15vcl: move metric.cxx to font/fontmetric.cxxChris Sherlock1-1/+0
Change-Id: If8e4a479967a84f7c43c762c55a3a60b7083d6d9
2016-01-14vcl: move font.cxx from gdi directory to font directoryChris Sherlock1-1/+1
Change-Id: I6768b37a4b0b98202b7d2410d8cbfac47dac0415
2016-01-12vcl: resplit FontAttributes from ImplFontMetricDataChris Sherlock1-0/+1
The change I made in commit 7b974e056df3 ("vcl: merge ImplFontMetricData with ImplFontAttributes") was... ill-advised. For starters, there really needs to be this split as FontSelectPattern needs it, and PhysicalFontFace only requires the font attributes, not the metric data. So the merge was unfortunately, in my mind, a failure and I'm manually backing it out now. Change-Id: Iac38f0815f984541e2f55099c965376dd88eeb43 Reviewed-on: https://gerrit.libreoffice.org/21380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-12vcl: move fontcharmap.cxx to the font folderChris Sherlock1-1/+1
Change-Id: If764e87a90d57b473019ec96a1ef9026dc9675ae Reviewed-on: https://gerrit.libreoffice.org/21340 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-12vcl: tidyup file name impfont.cxx -> fontcharmap.cxxChris Sherlock1-1/+1
Change-Id: Ib2acc963704c7613e1d3bd1761b619ece1aef79f Reviewed-on: https://gerrit.libreoffice.org/21339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11Remove BitmapFilterStackBlur, which is unused...Stephan Bergmann1-1/+0
...ever since it got introduced with 28c61871e876e6a2cac47439f768504b1a4c94a0 "vcl: stack blur implementation + basic test & performance test" Change-Id: I78672cf74c24930df92121baecb9886df4382036
2016-01-11vcl: move vcl/generic/app/ files to vcl/unx/generic/appChris Sherlock1-11/+3
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: Idba1e9bbe14d8a4bb8e5dd2c2ad1dc75458da53c Reviewed-on: https://gerrit.libreoffice.org/21335 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move vcl/generic/print files to vcl/unx/generic/printChris Sherlock1-9/+9
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: I6008a272c4b961a12702e2ef8727c56df9e80164 Reviewed-on: https://gerrit.libreoffice.org/21334 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move vcl/generic/fontmanager files to vcl/unx/generic/fontmanagerChris Sherlock1-7/+7
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: I23650c86a7b74c2ac150b981e4be88eaea07e936 Reviewed-on: https://gerrit.libreoffice.org/21314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move all glyph files from generic to unxChris Sherlock1-4/+4
All the files in glyph are only used by Unix based systems, with the exception of OS X. Therefore, it's not really "generic" as in "used across all platforms" but is generic as in "used in all Unix-based systems". Change-Id: Id89c09df74f0ddafee5c88c55bac4c35f9b23ef8 Reviewed-on: https://gerrit.libreoffice.org/21312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: rename gcach_ftyp.{cxx|hxx} to freetype_glyphcache.{cxx|hxx}Chris Sherlock1-1/+1
Change-Id: If17c0c36108c2437accba105e11a93a009d2c91f Reviewed-on: https://gerrit.libreoffice.org/21311 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-11vcl: move gcach_ftyp.cxx to vcl/unx/generic/glyphsChris Sherlock1-1/+1
Change-Id: Id12edc0660a2c22c6d04b820ad052bde4fa75143 Reviewed-on: https://gerrit.libreoffice.org/21310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-09try and fix android buildCaolán McNamara1-1/+1
post... commit 86d06c9102d6f59946d7fbfdee5bb40e9a6d0fc6 Author: Chris Sherlock <chris.sherlock79@gmail.com> Date: Sat Jan 9 14:41:15 2016 +1100 vcl: move some Freetype stuff away from the "generic" folder I'm not adverse to simply moving these files into the "headless" dir to further untangle this Change-Id: Ib0c697b3d829baa92195d29983d39406bb72fce8
2016-01-09vcl: move some Freetype stuff away from the "generic" folderChris Sherlock1-1/+1
Freetype is definitely not "generic" code. It is only used for Unix platforms, but is not used for OS X which has it's own font/glyph/text system called CoreText and that is implemented elsewhere in our codebase. Change-Id: I30b2756d2cd9a81b6f746988685295d25ba1de44 Reviewed-on: https://gerrit.libreoffice.org/21286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08vcl: change ImplFontEntry to LogicalFontInstanceChris Sherlock1-1/+1
There is a TODO in the code that suggests to do this, when I looked at the collaboration diagram on Doxygen things made a LOT more sense. Change-Id: If335498bb70872ffa5738cc5c17660faec84c35e Reviewed-on: https://gerrit.libreoffice.org/21257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-07vcl: migrate font functions from outdev/font.cxx to own filesChris Sherlock1-0/+2
I have moved all ImplFontAttributes and ImplFontCache functions from vcl/source/outdev/font.cxx to vcl/source/font/fontattributes.cxx and vcl/source/font/fontcache.cxx accordingly. Change-Id: I12ca80799828a772482424da171cc76bffaac43d
2016-01-07vcl: reorganize ImplFontEntry functionsChris Sherlock1-0/+1
I have moved all ImplFontEntry functions into vcl/source/font/fontentry.cxx and also created a new hash function that hashes std::pair<sal_UCS4,FontWeight> types by specializing std::hash. Change-Id: Ibbe07c38b98e3c976836a895dbfdcaecd5daff8d
2016-01-07vcl: move FontSelectPattern[Attributes] to fontselect.cxxChris Sherlock1-0/+1
Change-Id: I41361d8dd4619a27bba5cc9ad2c627b37f1b2013 Reviewed-on: https://gerrit.libreoffice.org/21190 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-03vcl: move Windows salgdi3.cxx to salfont.cxx - that's all it does!Chris Sherlock1-1/+1
Change-Id: I0a49bab5f410901d40c5b3b62a5a3f9d9946b8a0 Reviewed-on: https://gerrit.libreoffice.org/21057 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-12-16vcl: Initial NotebookBar implementation.Jan Holesovsky1-0/+1
Re-introduced, this is still useful code to have :-) Change-Id: I91535c13d68261f7195989ec78bd305cf572c87c
2015-12-11vcl: extract scale convolution from bitmap to its own class/fileTomaž Vajngerl1-0/+1
Change-Id: Ibb10aa7450b78ca2709da38857f095ccbc679c54
2015-12-08Bin the pointless and thin OS X specific wrapper namespace 'OpenGLWrapper'Tor Lillqvist1-4/+0
Besides, the namespace was confusingly named the same as the public cross-platform OpenGLWrapper struct (which is effectively just a namespace, too). Change-Id: I9a5255ec446dcdb5086d92a742f29327d0780685
2015-12-07Make buttonstatuslistener a generic listener for any widgetsSamuel Mehrbrodt1-1/+0
Change-Id: I966b06e1169f8a06d08be811f78e98a2e3d7580c Reviewed-on: https://gerrit.libreoffice.org/20401 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-12-02Get rid of a superfluous directory levelTor Lillqvist1-20/+20
Change-Id: I79e065f0c68b149d2ef69f428d31e36e97a6098b
2015-11-23Do all svp text rendering with cairoCaolán McNamara1-3/+3
enabling us to delete a whole pile of foo For android we patch cairo, which is internal in that case, to swap the rgb components so that cairo then matches the OpenGL GL_RGBA format so we can use it there where we don't have GL_BGRA support. Change-Id: I25e34889c7b7263438b143dd2a2ad882fb0f190a
2015-11-23vcl: simplify Image internalsTomaž Vajngerl1-2/+0
Image could be of 2 types - BITMAP or IMAGE, where BITMAP used to store the content in a Bitmap and IMAGE in a ImplImageData, which contained a BitmapEx. This was refactored with this commit to always store the content in a BitmapEx and there are no distinct image types anymore. This greatly simplfies the code. Drawing of the image in case of type IMAGE was done in the class ImplImageBmp which also modified the image according to DrawImageFlags (for example to create a "disabled" image). This was moved to ImplImage and the bitmap manipulation code was moved to BitmapProcessor (done in previous commits). Change-Id: Iec9f63a7c05618c457d8465f1ec60ed4f16bd579
2015-11-20Revert "vcl: Initial NotebookBar implementation."Samuel Mehrbrodt1-1/+0
Will use a different approach for NotebookBar. Also this should not be in 5.1. This reverts commit 8c1014021dbe9da2e18233d215b970f5359db67b. Change-Id: Ic699723818a890bf4c3be3a2c045527148bd118b Reviewed-on: https://gerrit.libreoffice.org/20075 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-19We don't actually use GLyphy on Linux yetTor Lillqvist1-4/+0
So don't link with it, to avoid pointlessly depending on the very new glyphy package in Debian. Change this back once needed, after 5.1 branch-off. Change-Id: I4e2e873858841429738e2992676a0142acc528ee
2015-11-19Use GLyphy for text on Windows (broken)Tor Lillqvist1-0/+2
Work in progress. Produces visible text in some cases, but not nearly all. The text that is visible is roughly in the right place and of the right size, but horribly ugly. Compare to glyphy-demo, which does produce beautiful text, so the problem is not in the GLyphy code but in the way we use it. Include sources from GLyphy's "demo" directory (with only slight modifications to avoid unconditional debug output) and use that "demo" API from vcl. The changes to existing vcl code are all in one place, in the winlayout.cxx file. Change-Id: I69cce5d66db534c6f4c1ab85d520b6090baf8fe0
2015-11-19Link with GLyphy also for WindowsTor Lillqvist1-0/+6
(We don't actually use it yet for anything, though.) Change-Id: Id246a2a4853ba4d6dc09372b9cebcbb983363d36
2015-11-19link vcl against libglyphyMarkus Mohrhard1-0/+4
Change-Id: I5b206f5d857d28acda82ce8ac53f835142f46da2
2015-11-19vcl: move and split up "Image" related sources to "image" folderTomaž Vajngerl1-4/+9
This commit moves all sources related to Image class into its own "vcl/source/image" folder. Sources containing more classes were split up into its own source file. Change-Id: Ie6edcdb0a7caf936bccdc210c31f78bb15667945
2015-11-19move translating a command name to image name out of frameworkTomaž Vajngerl1-0/+1
This is the first step to decouple resolving of command names to image (icon) names. This is necessary to make allow additional processing of images before the image is passed on and better decision which image source to take. Change-Id: I129dc6a1ae812aaaca32696ef2a2749d5fa86a54