Age | Commit message (Collapse) | Author |
|
Change-Id: I6095d1209f2339387e8562074daa32779089a018
|
|
...to avoid clashes with macros and poor warnings about hiding global FILE
Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
|
|
with other cluster element bounds
Change-Id: I2cc976eb6a0ef42a2678be80637c7220e2247921
|
|
...and fix o3tl::enumarray::operator [] const overload
Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
|
|
Change-Id: I7e3bb7f33e5b5d4d831ae1389b8ef64e160a94ff
|
|
script run ends after chunk we are rendering
Change-Id: Idbfe11c385db72a80d3d204f8638d67395580d1b
|
|
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
|
|
Change-Id: I909cf7e77f9d7194575636248196fda311fffdb6
|
|
Change-Id: I3269d005634c66929e092d6a8fb33d71819b6971
|
|
Change-Id: I51407c4b7ebbe3782539e1cb6f3c8294ae29566e
Reviewed-on: https://gerrit.libreoffice.org/13763
Reviewed-by: Katarina Behrens <bubli@bubli.org>
Tested-by: Katarina Behrens <bubli@bubli.org>
|
|
When a SwTxtFormatInfo is created to format a paragraph, pre-compute the
result of vcl::ScriptRun::next() and cache it for future calls to
OutputDevice::GetTextBreak() and GetTextWidth().
This requires adapting a bunch of methods to pass the additional
parameter, and some classes to backup and restore the cache when they
replace the text of the SwTxtFormatInfo.
There is some code in vcl OutputDevice::ImplPrepareLayoutArgs()
to modify the passed string and replace digits depending on
"meTextLanguage" member; try to set it to the correct value when
creating the layout cache (unfortunately it's not possible if the user
sets the CTL Numerals config to the non-default "Context" value).
Another issue is the check in OutputDevice::ImplLayout() if there is
a mpConversion member on the font; apparently this is used to translate
between different Symbol fonts, so not very important; just ignore the
cache in this case.
This reduces vcl::ScriptRun::next() from 11 to 0.36 billion callgrind
cycles when built with GCC 4.9.2 -m32 -Os (which is still 16% of the
formatting).
Change-Id: I61fb8530333f2e7a9199f767c00cf2181ba49951
Reviewed-on: https://gerrit.libreoffice.org/14732
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
The CairoTextRender::GetTextLayout() also handles non-existing fonts
gracefully, so adapt this for consistency.
Change-Id: I89cd9ad6aa64e3b320da83bd4290e4c0b57d08bc
|
|
Change-Id: I6972cdad9708a46bb8338590312196e55c4f8778
Reviewed-on: https://gerrit.libreoffice.org/15024
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Id28046eb318cd3b2ed0b813fd266617547cf6ee2
|
|
Change-Id: I65d76524847b57dcb17ee3f66e156ec1fd51b239
|
|
Change-Id: I47bb1acebf409f0d391a06ca7a7399d8654ff143
|
|
Change-Id: I9b626a8c5674157033f62f5aff10259136d21a42
|
|
Change-Id: If4707a661a447e5053df83c431ac9f4dab8ff5ae
|
|
Change-Id: I62e1c203e5224e69b4864f321287f2fcbe3db08f
|
|
Change-Id: I806744fed51f451f17e6f493555f81cc38e2d71e
|
|
Change-Id: Ie00be7806b5bce3599c47654585246edf6f8cc90
|
|
Change-Id: I3694decc417627fe8ea95642b7e1444e5140304f
|
|
Change-Id: Iceb274718ee2a15dcb3129d2623844e38b51bf8e
|
|
Change-Id: I6e3f804833db7487ddf7ba75c43d15017dcbe1ba
|
|
Change-Id: Id1e58547cf2b0786d7a2ca29eae8bbcdd644fdd5
|
|
Change-Id: Idf7b28e9c49ebe06a44b95dd284aa28c16a30c1c
|
|
Even if map mode is disabled, we have to check if the map mode is 100th
mm, and if so, do the mm100 -> twips conversion. This was not visible
previously due to the full repaints fixed by commit
7b8a59807806dbf6ec759a836c873b435e09e907 (sd: when tiled rendering,
disable map mode early, 2015-03-20).
Change-Id: I57862b43cc45ef864d7ec05c47b136e534ba2d54
|
|
Fixes a crash when running gengal on OS X in a ssh session when not
logged in through the window system at the same time.
Change-Id: I6a47666aeac43fc140f52ae2d62b36eadc976246
|
|
Change-Id: I0852c732d580d85ebad629ca26c28ede1576b957
|
|
Change-Id: I999ec56219a7d9a9dc8c1e9310cc74dccd0ac099
|
|
Change-Id: I36fb35338d8635e4bf1ac7c60e0f09da401406db
|
|
Change-Id: I702d3e1ced356efce28ebfec141776f07645b2f9
|
|
This reverts commit 1efe5fe38031f7bc23150c35e4c68940621a1d5b.
which broke windows.
|
|
Change-Id: I89922b2b3e7415275e7d91c037733537bc45e336
|
|
Change-Id: I83f2531e092eaa610cf887937c803e11c6120e55
|
|
Change-Id: Iad602cece6e328c7f5d5f36adb294c97b152ade3
|
|
When a SwTxtFormatInfo is created to format a paragraph, pre-compute the
result of vcl::ScriptRun::next() and cache it for future calls to
OutputDevice::GetTextBreak() and GetTextWidth().
This requires adapting a bunch of methods to pass the additional
parameter, and some classes to backup and restore the cache when they
replace the text of the SwTxtFormatInfo.
There is some code in vcl OutputDevice::ImplPrepareLayoutArgs()
to modify the passed string and replace digits depending on
"meTextLanguage" member; try to set it to the correct value when
creating the layout cache (unfortunately it's not possible if the user
sets the CTL Numerals config to the non-default "Context" value).
Another issue is the check in OutputDevice::ImplLayout() if there is
a mpConversion member on the font; apparently this is used to translate
between different Symbol fonts, so not very important; just ignore the
cache in this case.
This reduces vcl::ScriptRun::next() from 11 to 0.36 billion callgrind
cycles when built with GCC 4.9.2 -m32 -Os (which is still 16% of the
formatting).
Change-Id: I61fb8530333f2e7a9199f767c00cf2181ba49951
Reviewed-on: https://gerrit.libreoffice.org/14732
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Let's not make the mode space too complex. Do we really want to have to ponder
what it means to be console-only but not headless?
Make it so that turning on console-only mode also turns on headless mode (with
dialogsAreFatal turned on, too).
Change-Id: I630cb1bc605c1fb1787ace58180125509ef8789b
|
|
Change-Id: Id0593e1c9af79084ae798f26a0be37c57d254227
|
|
Change-Id: I4e654419221b39dfd64d85a18ae0919bbe2fab5a
|
|
Change-Id: Ifb5d85866d35cdd1c4150ea841194ee5ca8a496e
|
|
Change-Id: I2a2e8094aba0d227a9b60902133092cc33f1f586
|
|
some tinderboxes are complaining with:
could not deduce template argument for 'std::initializer_list<_Elem>' from 'int'
Change-Id: Ib6bb1c9958a86fd7bb98d5ce855764f381d2ba43
|
|
so that the enum names remain consistent
Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
|
|
Change-Id: I3d14b96b6b51e497bde33f0177b377e7fe3dbad9
|
|
Change-Id: I453d6e1840445a03c6918173dc93f32e3028ea74
error: no matching function for call to 'max(int, sal_Int32&)'
|
|
Change-Id: Iecc1400809212f56915cad56b739378cda49b90f
|
|
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
|
|
Change-Id: I51578e83a6a44beece174792c9e3e59f7f8c5fef
|
|
Change-Id: I793ed80a07d9488c5f75b3abdca6db344d80d3d8
|