summaryrefslogtreecommitdiff
path: root/vcl/Module_vcl.mk
AgeCommit message (Collapse)Author
2016-01-21Revert "disable test that suddenly eats GBs of memory"David Tardon
This reverts commit e1367aaf7d9cc93bbbe3ba64015fde3469c61c6e.
2016-01-20disable test that suddenly eats GBs of memoryDavid Tardon
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 Sherlock
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 Sherlock
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 PALO
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 Mehrbrodt
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 Stahl
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 Lillqvist
Now it works for me on Windows. This reverts commit 6e8ec907dce656b81486889bf27489ad866cebd2.
2015-08-28CppunitTest_vcl_timer always fails on Windows for meTor Lillqvist
Change-Id: I73f0771a09d3e74242b25922007c00ff77b37f8a
2015-08-23vcl: unittests for Timer and AutoTimer.Ashod Nakashian
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 McNamara
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 Mohrhard
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 Meeks
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 Meeks
Change-Id: Idef6b4259d784120a06d2a6c51b77029566da59f
2015-03-27vcl: tests for Bitmap, check for symmetry when scaling bitmapsTomaž Vajngerl
Change-Id: I53d6e70018477abb9f98140a52697c1de0f90934
2015-03-20The 'svp' "plug-in" library is empty so don't build it at allTor Lillqvist
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 McNamara
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 Magliocchetti
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 Sherlock
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 Meeks
Change-Id: Ia2bb1f8110c738cfbf6ff84293af115b32abeb93
2014-11-21make glxtest available in salmainMarkus Mohrhard
Change-Id: Ic8bc3f2d5d96506590d35138089ead2eac984314
2014-11-10Build vcldemo on Windows too.Jan Holesovsky
Change-Id: Ia6f7cfb819983a3a75ac78015a8eec1da539bead
2014-11-10outedevgrind: add missing makefile.Michael Meeks
Change-Id: I29d67c9ccbc4c684beb5561f74e5e69c0f0d7548
2014-11-10remove outdevgrind from build until makefile is addedMarkus Mohrhard
Change-Id: Ie339541fa57a237048470b21fd28bd4411592433
2014-11-10vcl: outdevgrind compile it by default, and fix it up.Michael Meeks
Change-Id: I4bdad4a0eb65991cd9faa9452485c64120b8b6dc
2014-11-10extract shaders from source codeMarkus Mohrhard
Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: Ifbb55e58e0854cc491703b8ca8d8e582741a9bd9
2014-11-10merge vcllo and vclopenglloMarkus Mohrhard
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-10-10Build icontest for OS X, too. Does not work at all, thoughTor Lillqvist
Change-Id: Id1c82638f12514f55f297ec5e4a07444849175ce
2014-10-10Build icontest for Windows, tooTor Lillqvist
Change-Id: I7c23d9a41c9b517bf8dcdd3e1de2ab24a8a1d0d0
2014-10-08Add a start on a "temporary" test prog for traditional vcl vs. OpenGLTor Lillqvist
Does nothing useful so far. Change-Id: I9d288a8b8ab92e01a28c92bb41162af4410e0163
2014-10-06vcl: FontCharMap to use intrusive_ptr ImplFontCharMapChris Sherlock
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 Meeks
At least test Unix platforms. Change-Id: I960343cb9622474fe48687a5e458e1c6dbe55358
2014-05-18vcl: don't build demos for windows at the momentThomas Arnhold
as they are broken, see red tinderboxes Change-Id: I09fed7b4c4dec0bebd9e8f85c6266688cf0d68ea
2014-05-18vcl: fix svpclientChris Sherlock
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 Sherlock
Change-Id: Ibaec6e027aa9fd61824ff6b4f1f71b69d217dfdc
2014-05-18vcl: make vcldemo workChris Sherlock
Change-Id: Icef2d988c37fb7b25245ad9f3f3856fa86f76a77
2014-05-17Don't build svdemo for Android and iOS.Andrzej Hunt
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 Sherlock
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ž Vajngerl
Change-Id: I546d654726483b40ce4d981bc66377c8a3df6194
2014-04-15Build the vclopengl lib for Android, too, i.e. for all our platformsTor Lillqvist
Change-Id: I244eb4877801ceb0ff22e8591dccd6b801d00d68
2014-04-08Make libvclopengl build for iOSTor Lillqvist
Change-Id: Id338d1fb8a1334fb4e984aff9494bab7f3c35dc1
2014-03-21Fold psprint_config into vclKhaled Hosny
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 Mohrhard
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ás
Change-Id: I6383ae3f94fc18aec92596b9d857d3fde5869dd6
2014-02-21Bug #63962 Dynamically scan the config directory for icon themesTobias Lippert
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 Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-10-18Resolves: rhbz#919070 offload set span-all-displays to a gtk3 utilityCaolán McNamara
Jaw dropping hack to set a slideshow to span all monitors if gtk3 is available at runtime Change-Id: I363f63c9855d5cb1f92d65d0b34add0c60f7263c
2013-06-15initial attempt at text measuring unit test: linux only.Michael Meeks
Change-Id: I11a1845350e3404f348be1321571b19d816426a3
2013-04-28fdo#63197: convert osxresJulien Nabet
Change-Id: I969217263fdda3e61b38dc16f0a9251b745de885 Reviewed-on: https://gerrit.libreoffice.org/3652 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>