summaryrefslogtreecommitdiff
path: root/vcl/Module_vcl.mk
AgeCommit message (Collapse)AuthorFilesLines
2016-03-04Don't build ui-previewer in the App Store caseAndras Timar1-2/+3
Change-Id: I25ca4b8672702095cc04723bc9c6bdf01a06382f
2016-02-15Unit test for opengl blocklist parsing and evaluatingTomaž Vajngerl1-0/+1
Parsing unit test checks that the xml values are parsed correctly and that the DriverInfo structure is populated with the expected values. Evaluate unit test checks that blacklisting / whitelisting logic blocks OS/vendor/driver/device as expected. Change-Id: Ib1b0926606f0835207c324193bbe19ba83f86bdc Reviewed-on: https://gerrit.libreoffice.org/22371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-02-15Package_opengl_blacklist is Windows-specificTor Lillqvist1-1/+2
Change-Id: Ida79aa0d5a519a2c124d20a1cd908411d01799de
2016-02-14tdf#85761 vcl: JPEG export does not save PPI values correctlyChris Sherlock1-0/+1
JPEG values are currently hardcoded to 96PPI when we export JPEGs. The Graphic class doesn't have an easy way to get the PPI, but this can actually be calculated from the pref size and pref map mode (no idea why it is called "Pref"). Interestingly, you need to get a multiplier to work this out, relative to units of 100th mm. The EPS filter code had a function that does exactly this, but it's entirely based on MapMode units so it was really implemented in the wrong class IMO. I have thus moved it out of PSWriter and into MapMode. This also fixes tdf#65695, which was partially fixed, but had the JPEG PPI hardcoded to 96dpi. Also fixes tdf#97481. Change-Id: Iedb674141dd4e22fcbfb7be357dc777f732aa3aa Reviewed-on: https://gerrit.libreoffice.org/22339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-01-21Revert "disable test that suddenly eats GBs of memory"David Tardon1-0/+1
This reverts commit e1367aaf7d9cc93bbbe3ba64015fde3469c61c6e.
2016-01-20disable test that suddenly eats GBs of memoryDavid Tardon1-1/+0
Regression since 62ea0ef8428ca4e12c5fa11674737a9bf0b646aa "replace use of basebmp in vcl entirely now". Change-Id: I196d02c20c00c938c3e298eb1a0f89029581e704
2016-01-15vcl: add symbol and charset accessors and mutators to FontChris Sherlock1-0/+1
Rules for the vcl::Font class for setting character set and the symbol flag: If the characterset changes to anything other than RTL_TEXTENCODING_SYMBOL then the symbol flag should be off. If the characterset changes to RTL_TEXTENCODING_SYMBOL then the symbol flag should be on. If the symbol flag is set to false and the characterset is already RTL_TEXTENCODING_SYMBOL then set the characterset to RTL_TEXTENCODING_DONTKNOW and set the symbol flag to false. However, if we are setting the symbol flag from false to false (i.e. we know the characterset) then we can keep the characterset as it is. Unit test written in this commit to test this is working. Change-Id: Iced44659ab88ff66b711c560cb68bd4681ecb537
2016-01-13vcl: Create accessor and mutator for font scaling in FontMetricChris Sherlock1-0/+1
This is fragile code! There are actually *two* classes that do almost precisely the same thing, they are: - ImplFontMetric, and - ImplFontMetricData They both have much in common, including their class name, and even most of their functionality. In fact, they both have common accessor functions. When I look at the code, it looks like OutputDevice is actually given an ImplFontMetricData object, which it then uses to populate an ImplFontMetric object... Basically, I'm going to merge these classes. To do so, I'm going to do the following: Step 1: Implement accessor functions for ImplFontMetric and FontMetric (then remove the friendship of this class to OutputDevice!) Step 2: Write a unit test for each accessor function in ImplFontMetric Step 3: Ensure that ImplFontMetric and ImplFontMetricData use some sort of smart pointer (probably an intrusive_ptr like I did ages ago with FontCharMap) Step 4: Merge the two classes together once their class interfaces are the same and I am satisfied they do the same thing Step 5: Find all instances of inefficient usage - for instance, I can do away with the code that copies the ImplFontMetricData attributes into an ImplFontMetric object. Change-Id: I07c1cb848774b130fa2ca60b51da53e07754dd00 Reviewed-on: https://gerrit.libreoffice.org/21399 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-10-20Add DLOPEN_LIBS to configure for some cases where -ldl is neededRichard PALO1-1/+1
use std::sqrt in vcldemo.cxx Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee Reviewed-on: https://gerrit.libreoffice.org/18591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-09-25Replace GUIBASE with USING_X11Samuel Mehrbrodt1-2/+2
That's what it actually means. Also make it a boolean Change-Id: I249e18351253b34b5dada28e2a9c6bc0c06b730c Reviewed-on: https://gerrit.libreoffice.org/18688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-03remove KDE3 support, --enable-kde and --enable-kdeabMichael Stahl1-7/+0
With the new RHEL6-era baseline TDF can finally ship KDE4 support. Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3 Reviewed-on: https://gerrit.libreoffice.org/18267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-28Revert "CppunitTest_vcl_timer always fails on Windows for me"Tor Lillqvist1-0/+6
Now it works for me on Windows. This reverts commit 6e8ec907dce656b81486889bf27489ad866cebd2.
2015-08-28CppunitTest_vcl_timer always fails on Windows for meTor Lillqvist1-6/+0
Change-Id: I73f0771a09d3e74242b25922007c00ff77b37f8a
2015-08-23vcl: unittests for Timer and AutoTimer.Ashod Nakashian1-0/+7
Enabled VCL Timer unittests on Windows builds and added two unittests to detect misfiring of timer events. Due to the nature of timer events having virtually no guarantees on non-realtime operating systems, the tests may fail randomly under different system loads. The tests repeat a few times in such cases, but still there are no guarantees. These tests are added to detect gross breaks in the timer algorithms and to improve certain corner cases. They are designed to minimize any random failures. Posterity might hate me for committing such unittests, so I added TEST_TIMERPRECISION directive to include/exclude the tests at compile time. It should be enabled if it causes more harm than good. Change-Id: If2856f194cb4732c84900113bdb969f397f67d5a Reviewed-on: https://gerrit.libreoffice.org/17906 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-20more config skipping stuff and a tester toolCaolán McNamara1-0/+1
Change-Id: I5e93a4c84b3a0940239213766eb24d21fb5fd649 Reviewed-on: https://gerrit.libreoffice.org/17863 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-17install blacklist into user profileMarkus Mohrhard1-0/+1
Change-Id: I2571fcdde1689f1a168a5c5d6bd20785ce018927 Reviewed-on: https://gerrit.libreoffice.org/16332 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-06-05VclPtr - more extensive lifecycle tests.Michael Meeks1-1/+1
Change-Id: Ifb5355b3a8f33601bcec0c11ce1afe1c735695b6 Reviewed-on: https://gerrit.libreoffice.org/16100 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-04-09vcl: more rtl::Reference cleanupMichael Meeks1-0/+1
Change-Id: Idef6b4259d784120a06d2a6c51b77029566da59f
2015-03-27vcl: tests for Bitmap, check for symmetry when scaling bitmapsTomaž Vajngerl1-0/+1
Change-Id: I53d6e70018477abb9f98140a52697c1de0f90934
2015-03-20The 'svp' "plug-in" library is empty so don't build it at allTor Lillqvist1-1/+0
Its code is in the vcl library nowadays. Change-Id: Idb659e541226724004660102f6641c38a2312c27
2015-03-02if you link vclplug_svp to desktop you end up with duplicate font cachesCaolán McNamara1-1/+0
so how about we just move all of the svp "headless" stuff into vcl proper Change-Id: Ibf4ab0b0698ef031ffeeb05ef9bbcf3b89144010 Reviewed-on: https://gerrit.libreoffice.org/14714 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-07Fixup --without-x buildRiccardo Magliocchetti1-5/+13
Accept gl linkage in hope of future offscreen mesa support. Avoid linking with GLX though. Change-Id: I4e666f60e74fe34075a8da9eeba95807cf8fe38c Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/13452 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-12-09vcl: add new metafile viewer demo - mainly for fdo#80503Chris Sherlock1-1/+2
This is going to be very helpful troubleshooting problems with metafiles that just won't display. Change-Id: I661dd40e04434a9c64a0f59d9310d36444601989
2014-12-02vcl: initial outdev unit test - for VirtualDevices.Michael Meeks1-0/+1
Change-Id: Ia2bb1f8110c738cfbf6ff84293af115b32abeb93
2014-11-21make glxtest available in salmainMarkus Mohrhard1-0/+1
Change-Id: Ic8bc3f2d5d96506590d35138089ead2eac984314
2014-11-10Build vcldemo on Windows too.Jan Holesovsky1-4/+4
Change-Id: Ia6f7cfb819983a3a75ac78015a8eec1da539bead
2014-11-10outedevgrind: add missing makefile.Michael Meeks1-1/+2
Change-Id: I29d67c9ccbc4c684beb5561f74e5e69c0f0d7548
2014-11-10remove outdevgrind from build until makefile is addedMarkus Mohrhard1-2/+1
Change-Id: Ie339541fa57a237048470b21fd28bd4411592433
2014-11-10vcl: outdevgrind compile it by default, and fix it up.Michael Meeks1-1/+2
Change-Id: I4bdad4a0eb65991cd9faa9452485c64120b8b6dc
2014-11-10extract shaders from source codeMarkus Mohrhard1-0/+1
Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: Ifbb55e58e0854cc491703b8ca8d8e582741a9bd9
2014-11-10merge vcllo and vclopenglloMarkus Mohrhard1-1/+0
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-10-10Build icontest for OS X, too. Does not work at all, thoughTor Lillqvist1-1/+1
Change-Id: Id1c82638f12514f55f297ec5e4a07444849175ce
2014-10-10Build icontest for Windows, tooTor Lillqvist1-1/+1
Change-Id: I7c23d9a41c9b517bf8dcdd3e1de2ab24a8a1d0d0
2014-10-08Add a start on a "temporary" test prog for traditional vcl vs. OpenGLTor Lillqvist1-1/+3
Does nothing useful so far. Change-Id: I9d288a8b8ab92e01a28c92bb41162af4410e0163
2014-10-06vcl: FontCharMap to use intrusive_ptr ImplFontCharMapChris Sherlock1-0/+1
ImplFontCharMap was using it's own reference counting mechanism, however we can use intrusive_ptr more effectively. Added a unit test around FontCharMap. Change-Id: Ifab6ce002fd1df8feb7e017dea3012ff9ea7f18a Reviewed-on: https://gerrit.libreoffice.org/11804 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-09-25fdo#84000 - unit test timers / main-loop bits.Michael Meeks1-0/+6
At least test Unix platforms. Change-Id: I960343cb9622474fe48687a5e458e1c6dbe55358
2014-05-18vcl: don't build demos for windows at the momentThomas Arnhold1-1/+1
as they are broken, see red tinderboxes Change-Id: I09fed7b4c4dec0bebd9e8f85c6266688cf0d68ea
2014-05-18vcl: fix svpclientChris Sherlock1-0/+1
I have converted the UNO stuff to the more modern variety (i.e. the stuff that actually works now...), use GraphicFilter to get the bitmap and fixed the string copy typo. Change-Id: I6a3c1af54d222ef70814d2bb581cc2f3c058bb2f
2014-05-18vcl: fix svptestChris Sherlock1-0/+1
Change-Id: Ibaec6e027aa9fd61824ff6b4f1f71b69d217dfdc
2014-05-18vcl: make vcldemo workChris Sherlock1-1/+3
Change-Id: Icef2d988c37fb7b25245ad9f3f3856fa86f76a77
2014-05-17Don't build svdemo for Android and iOS.Andrzej Hunt1-1/+1
f89296db5959cf009668f8aad85cfd860b9252ee adds building of svdemo, this however uses SAL_IMPLEMENT_MAIN from include/sal/main.h -- which specifically can't be built on Android and iOS, hence we shouldn't build svdemo for those platforms. Change-Id: I6ce851ece90837112279c89467326b82f7a2070b Reviewed-on: https://gerrit.libreoffice.org/9391 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-05-17vcl: fixup svdemoChris Sherlock1-3/+4
Change-Id: Ifb7cc12da349fcbcd1d3dc25b64cd2bf3fd7e819 Reviewed-on: https://gerrit.libreoffice.org/9378 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-05-15wmf: test that non-placeable WMF uses correct sizesTomaž Vajngerl1-0/+1
Change-Id: I546d654726483b40ce4d981bc66377c8a3df6194
2014-04-15Build the vclopengl lib for Android, too, i.e. for all our platformsTor Lillqvist1-3/+1
Change-Id: I244eb4877801ceb0ff22e8591dccd6b801d00d68
2014-04-08Make libvclopengl build for iOSTor Lillqvist1-1/+1
Change-Id: Id338d1fb8a1334fb4e984aff9494bab7f3c35dc1
2014-03-21Fold psprint_config into vclKhaled Hosny1-0/+2
The files are only used by the psprint stuff in vcl, so move them closer to it. We should kill all of this anyway, but that is for another day. Change-Id: Ie3b893c92d556333c9d8b041859d5e97604ace10 Reviewed-on: https://gerrit.libreoffice.org/8694 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-17Revert "Move OpenGLRender to vcl"Markus Mohrhard1-1/+0
This reverts commit 04b70c682e2cdc52b144961a83d05fd203de6884. The OpenGLRender is not abstract enough for vcl. Leave it in chart2. Conflicts: chart2/source/view/inc/DummyXShape.hxx chart2/source/view/main/OpenGLRender.hxx vcl/Library_vclopengl.mk Change-Id: I5392c8ee34462ff49059126ca2284d8ebe1eb379
2014-03-14Move OpenGLRender to vclZolnai Tamás1-0/+4
Change-Id: I6383ae3f94fc18aec92596b9d857d3fde5869dd6
2014-02-21Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert1-0/+1
The hard-coded icon themes have been replaced by a dynamic list which is filled by scanning the config directory Conflicts: include/vcl/settings.hxx vcl/source/app/settings.cxx vcl/source/window/window.cxx Change-Id: Ie3680ffe27d06e375acf22753e036cb6ddabc4ed Reviewed-on: https://gerrit.libreoffice.org/7935 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen1-1/+1
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06