Age | Commit message (Collapse) | Author |
|
Change-Id: I3a3a2122902e1731e95d8469dfe9efc5a6b567ee
|
|
(cherry picked from commit b5797deea72476fbcec4315f1f18249fd39bbaea)
Change-Id: I4d09592cd9e4b86445d048fb875e7bc13b03801d
|
|
.. and convert the last few places still using those methods.
Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd
Reviewed-on: https://gerrit.libreoffice.org/7495
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
.. to more explicit SvStream::Write* calls
This was done using another run of the clang rewriter, and then
a lot of hand tweaking to fix all the places where the rewriter
did not play nice with various macros.
Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18
Reviewed-on: https://gerrit.libreoffice.org/7494
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
|
|
The position in the stream is already at the end of color palette.
(cherry picked from commit 352ca2f6ecf8910afa24c53d7e872f62b2321321)
Change-Id: I1696c1b6780407ab579b6215ab13a327ae09fc32
|
|
Change-Id: I7454d90adfd507aae4c7efd1d4075454f03cddd8
|
|
For easy visual comparison.
Change-Id: Ib143f4bb7789b54dfbdd8fcf47516008403b47fd
|
|
Change-Id: I714caa8dc3d34fd56e6a11f57db6723dcb7e6705
|
|
Change-Id: I9e9ed9b83d830b1ebe2aae35036f49a649837765
|
|
This reverts commit 943e2930e7453857f229efe04ade85cb1dc87faf.
That commit introduces memory corruption because the variables are still
used through a pointer.
|
|
It is not immediately clear what maRerun is, besides it can be
confused with regular maRuns.
Change-Id: Idc754a185149a9a4d5e7495b76d8e61f783b42d2
|
|
Change-Id: I7ec4f5b2e691ec03e9e2c5ca3a004f1e04efbc27
|
|
Change-Id: I8eac2f5ff08968a885a8e413bf4db38092036957
|
|
VCL doesn't draw polygons if either its width or height is 1 pixel.
Detect when the polygon is too small to display, and substitute it
with a minimum displayable rectangle.
Change-Id: I7e3174d549880d00ffa55fd2239484c2db3d7829
|
|
Small enhancements to the code:
* Removed unused code that clips unicode characters to the baseplane
* Add a SAL_WARNING if the maximum character is greater than the
minimum character.
Change-Id: I783fba75435e7f98a65afab2e091b737efc9ddc6
Reviewed-on: https://gerrit.libreoffice.org/7404
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
This is in preparation for more conversion of SvStream::operator<< calls
to use more explicit method names.
This converts the subclasses that have their own convenience overloads
of operator<< to use normal methods.
Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
|
|
(cherry picked from commit f3263e7b8bfe740f8e1e7825214e3936cc938ea9)
Change-Id: I8d65ffa45ae69fe64826f8f49e4e6282b9db9807
|
|
Change-Id: I6c638f49b73b4a3d781e6e2e54a5facf52513ad3
|
|
Change-Id: I332e6ed3652f18843ec7abdeaec70d7bb8f5667b
|
|
Change-Id: Idb7ce105bf347d7cfee039da8939aecf743f2c16
|
|
we can use -1 as the failure return code as return value is always checked and
isolated from the rest of the code.
Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
|
|
Change-Id: I3570f653ec44edcf0a215ffcac2017b9a5a3544a
|
|
Change-Id: Iec55f8976ca180e380c9679c561aae61c0607520
|
|
Change-Id: I3dbb42b14a03c5bd98ebc1f67963ffe4c5e4b6b8
|
|
Change-Id: I35144034f002cdaaa759a84731aae5fa48c6aa5a
|
|
Change-Id: I794faf7ba0c2dd32b0c846dd1cf6d1825cf8b63c
|
|
This is the actual re-write.
Use a clang rewriter to rewrite SvStream::operator<< to methods
like WriteuInt32.
Note that the rewriter is not perfect, and I hand-tweaked the output.
In particular, I had to adjust places doing things like
(*this) << 1;
Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a
Reviewed-on: https://gerrit.libreoffice.org/7342
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
Using the central definition adds consistency and cleans up many ad hoc
declarations. The type sal_GlyphId will become a class in the future so
that its bitfield operations etc. can then be isolated into nice methods.
(cherry picked from commit c0a84ad10964fb7a65b6239cbe1cef8698b5d17b)
Conflicts:
vcl/aqua/source/gdi/salatslayout.cxx
vcl/aqua/source/gdi/salgdi.cxx
vcl/generic/glyphs/gcach_ftyp.cxx
vcl/generic/print/genpspgraphics.cxx
vcl/generic/print/glyphset.cxx
vcl/generic/print/glyphset.hxx
vcl/headless/svptext.cxx
vcl/inc/generic/genpspgraphics.h
vcl/inc/generic/glyphcache.hxx
vcl/inc/os2/salgdi.h
vcl/inc/quartz/salgdi.h
vcl/inc/salgdi.hxx
vcl/inc/sallayout.hxx
vcl/inc/unx/salgdi.h
vcl/inc/vcl/fontmanager.hxx
vcl/inc/win/salgdi.h
vcl/os2/source/gdi/os2layout.cxx
vcl/os2/source/gdi/salgdi3.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/sallayout.cxx
vcl/source/glyphs/gcach_ftyp.hxx
vcl/source/glyphs/gcach_layout.cxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/unx/generic/fontmanager/fontmanager.cxx
vcl/unx/generic/gdi/gcach_xpeer.cxx
vcl/unx/generic/gdi/gcach_xpeer.hxx
vcl/unx/generic/gdi/salgdi3.cxx
vcl/unx/generic/gdi/xrender_peer.hxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/gdi/winlayout.cxx
Change-Id: Ic629131950360e2df4c15db30d6a5362193c6330
|
|
and move the helper function UpdateAttributesFromPSName() there to
make it available for all platforms, not only ATSUI-based ones.
(cherry picked from commit a3895516f02a80151caaac8b92fb50aa5f7ee93b)
Conflicts:
include/vcl/metric.hxx
vcl/aqua/source/gdi/salatsuifontutils.cxx
vcl/inc/impfont.hxx
vcl/source/gdi/metric.cxx
Change-Id: I6d5702d429673c83740cb72775014f8942e5f44d
|
|
to sal_uInt32
The old mixture of sal_uInt32, ULONG, sal_uLong, sal_uIntPtr gets
consolidated. 4e9 points are more than enough for a SalGraphics.
(cherry picked from commit 03f5dce97331acc1a5e832f956d711a5dc0aac0e)
Conflicts:
vcl/aqua/source/gdi/salgdi.cxx
vcl/generic/print/genpspgraphics.cxx
vcl/inc/os2/salgdi.h
vcl/inc/quartz/salgdi.h
vcl/inc/salgdi.hxx
vcl/os2/source/gdi/salgdi.cxx
vcl/os2/source/gdi/salgdi2.cxx
vcl/source/gdi/salgdilayout.cxx
vcl/unx/generic/gdi/salgdi.cxx
vcl/unx/headless/svpgdi.hxx
vcl/unx/headless/svppspgraphics.cxx
vcl/unx/headless/svppspgraphics.hxx
Change-Id: Iddf806256c7e5403158635e3f5f0049e9382500f
|
|
It seems pAction may be NULL so let's keep on to check it.
Change-Id: Ie1a48c96bfa930364053c7c3ad0c940559544e33
|
|
Change-Id: Id3715b84a2328ca37fbc05d552fe58617ecfa78a
|
|
Change-Id: I101d2c40bc08130f719f52494d95ab60d1d97e0f
|
|
Fix build error:
no match for ‘operator!=’ in ‘it != std::vector<_Tp, _Alloc>::rend()
[with _Tp = rtl::OUString, _Alloc = std::allocator<rtl::OUString>]()’
Change-Id: I4d20a68259163303ce7f14014c939cc7dbdf2784
Reviewed-on: https://gerrit.libreoffice.org/7145
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ib374d5636a296663c8dde71827f1bca96f545e51
|
|
Change-Id: I8773b47967bc1aa8cf33b9a1edc4f826291d3554
|
|
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
|
|
This also introduces a getter for the mnDPIScaleFactor variable.
Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f
|
|
This is supposed to stay 1 (no scale) for printers and default virtual
devices, but should be set accordingly (2 or 3) for windows and virtual
devices derived from windows.
Various VCL widgets or paint operations should incrementally become aware of
this, and changed so that they draw nicely on the Hi-DPI displays. This patch
only introduces the behavior for waved lines.
The default is currently being set depending on the DPI setting only; could be
changed to a more clever way if necessary.
Change-Id: I71118f9ab6b64028d1eeee76e860e999d5cd9d19
|
|
Change-Id: Iff61209eb840d5b6722b651580a77ae50d610460
|
|
a new log section (sal.rtl.xub) is used to display alert in case of
suspicious len == 0xFFFF (aka STRING_LEN)
Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e
Reviewed-on: https://gerrit.libreoffice.org/7117
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: I01ec957bd4b10e26075e311593cec36487eee4bc
|
|
Change-Id: I63612bc5bd4e13fcc5c4e57ac73bd9c7bbf4f0e6
|
|
Just use the same simple trick as for OS X in
OutputDevice::ImplLayout().
Thanks to Khaled Hosny for pointing out this.
This reverts commit 9aba69e8cc034526c53f6135a41fc62dc3c5dce3.
Change-Id: I27ba92ef8ebd1ebdb9eb74f670d8170649078881
|
|
Except for our external api where the Oriya is stuck (and similar for
the vba implementation)
Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
|
|
Change-Id: If17510b572aa172c8d973f74b881b0d723213eef
|
|
Change-Id: I3cb377cfa99914fdba00504fb7d955e088bfca76
|
|
Without this the drawinglayer renderer is used, whereas
only the canvas renderer supports EMF+.
Change-Id: Id8a10e400e08c1913e7d6864a51f7b73fc9be437
|
|
Change-Id: I11bc4a82fd0d09fb255c30f3aeffecd3b4e95c09
|