Age | Commit message (Collapse) | Author |
|
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
|
|
Change-Id: Iebdc66d1c994e3702efa5609fb36b5b2b9273c86
Reviewed-on: https://gerrit.libreoffice.org/15217
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
|
|
...as follow-up clean-up after 71fefe1dc2bcda3a4cc18d71e1acaf161cc059f2 "Change
'blink times' to be of type sal_uInt64 and thus consistent with
Timer::Get/SetTimeout since 9c7016b5b530ca212b1275f44f9e2fc0527109ee 'Scheduler:
Changed uLong to uInt32/uInt64.'"
Transitively meant to change quite a number of further time-related places from
sal_uLong/sal_uIntPtr to consistently use sal_uInt64.
Change-Id: I38eb493943906356138bf58eb098d2f54a3dee34
Reviewed-on: https://gerrit.libreoffice.org/15214
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
but the PanelLayout didn't
Change-Id: I38a8975f1488fa2a2ffe91b66745e1a1c6c48a28
|
|
this reverts
commit f0ee8ed43528b17e9ea6d83388fbaab0a645b677
Author: Caolán McNamara <caolanm@redhat.com>
see if we can merge floating window and dialog child size/pos setting
seeing as we apparently can't merge them the way that tried to do
Change-Id: I25fb741c9ae73375124b469f98bf1eecd76ff3c1
|
|
Change-Id: I9e2b9388c5df1b3a5fc0b2deb570b6f63e59b8eb
Reviewed-on: https://gerrit.libreoffice.org/14637
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
...which removes the need to abstract over the standard URI '%' escape prefix
vs. the silly vim '=' special case invention.
Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
|
|
Change-Id: If6e9a4a26ff31eb192e054f68398287c18768fcb
|
|
because TextLayoutCache took an OUString arg, passing reinterpret_cast<const
UChar *>(rArgs.mpStr) as an input created a temp string from mpStr, but ctor
stops at first NULL of course unless length arg is passed and input string
contains nulls. Just take a sal_Unicode* as input.
Change-Id: I452cf6fa61155456fbeceeda105e2e15557a21b3
|
|
...and thus consistent with Timer::Get/SetTimeout since
9c7016b5b530ca212b1275f44f9e2fc0527109ee "Scheduler: Changed uLong to
uInt32/uInt64." Otherwise, at least JunitTest_forms_unoapi on 32-bit Linux
would stay busy forever in vcl::Cursor::ImplTimerHdl, alternating among
ImplRestore() and ImplDraw().
Change-Id: Ic3fd349344c105078b52749ca85559fce485d0c4
|
|
Turns out Impress wants an mm100 -> twips conversion in this case, while
Calc wants a pixel -> twips one, so there isn't anything here that can
be abstracted in VCL.
Change-Id: Ieb961afa97affbf682e13c0a56585396ae09f552
|
|
Both Writer and Impress disable map mode during tiled rendering, i.e.
IsMapModeEnabled() always returns false. Nevertheless, using
GetMapMode(), it's possible to query what was the map unit before
disabling the map mode, which is twips for Writer and mm100 for Impress.
If Calc needs anything special here, that's better to be done in
ScGridWindow::LogicInvalidate().
Change-Id: I2c10df47d32b80d2cef2b6e6587872fe4126a3f5
|
|
When dragging shapes the MapMode is disabled, so the coordinates are wrong values
converted to twip unit.
Change-Id: Idf1e40963cf124fd20dbdf8633487bc71786c6cf
|
|
mostly changed due to loplugin:constantfunction
Change-Id: Ib677c78db256f8032a99b3f02a3e363fee68ebcc
|
|
Change-Id: Ieead62bcbfab5a96b5350bf30fbbb712f981f10c
|
|
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
|