summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-01vcl: move drawPolyLine (+legacy) to SvpGraphicsBackendTomaž Vajngerl
Also moves drawPolyLine with cairo context param. to CairoCommon as it is also needed in X11SalGraphics::drawPolyLine. Change-Id: I49b24bc31ecf3f6ab3cebca4eaab351c91564db5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127740 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-01-01osl::Mutex->std::mutex in ThreadManagerNoel Grandin
Change-Id: I9a7ad88b77222c3419ab5eee0859ecc931d6b0aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127811 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-01osl::Mutex->std::mutex in SwRetrievedInputStreamDataManagerNoel Grandin
drop the locking call in IMPL_LINK( SwRetrievedInputStreamDataManager, LinkedInputStreamReady because it doesn't actually touch any related data and the lock is taken in the call to PopData. Change-Id: I2e679b97a1ce36e7d39a9a2818a9d62fd53009a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127812 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-01gbuild: silence Windows Skia clang buildsJan-Marek Glogowski
When building Skia on Windows in an non-English environment, the console is filled with "Note: including file:" output. That's because cl.exe has some translated output, but clang.exe has not. So detect the clang usage and its "showIncludes" output and override that setting for the compiler call. Change-Id: I19b403aa79a8dde70616865aef051aa365f79de6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127822 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-01oss-fuzz: depend on linktarget, not the binaryJan-Marek Glogowski
Not really an oss-fuzz-only problem, but general linking of static binaries. Broken in commit ecc50f56b3282ec3b0364101d860f22fe8da9042 ("gbuild: set library dependency for static builds"). Change-Id: Iba9c9405cf4adb78c1ec9b64dfa02c3a82d2cf55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127800 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-01Forward PCH setting to cross-toolsetJan-Marek Glogowski
Change-Id: I0b4bc369b070924cf3b79ba272b476501ca11467 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127820 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-01Android Arm: fix wrong bracket after refactorJan-Marek Glogowski
How did that even pass in Jenkins on Android Arm? Regression from commit c859b4aa48956cbf5ff41280b0008456e8f5189c ("gbuild: introduce gb_%_linktarget_target"). Change-Id: Id06cc151e92e221da856814d69eb8cced167b427 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127829 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-01Skip always failing testDrawingText on WindowsJan-Marek Glogowski
Change-Id: I15e60e13735bf87529264905773b486afb3fc74b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127835 Tested-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-01-01osl::Mutex->std::mutex in SwChartDataNoel Grandin
Change-Id: I1bc85e4c8ac4945e13063793203fd308526263a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127814 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-01osl::Mutex->std::mutex in SwXTextField*Noel Grandin
Change-Id: I80dde4f44dd3d2f701a246dec850f7560207ffee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127815 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-01osl::Mutex->std::mutex in SwXFrameNoel Grandin
Change-Id: I3d809accf34bf89f638481c84a671826ca4bd45f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127816 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-01osl::Mutex->std::mutex in SwThreadJoinerNoel Grandin
Change-Id: Id0fb961e78c7db9e352babce12625ac355d99d51 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127810 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-01vcl: move the draw*Bezier methods to SvpGraphicsBackendTomaž Vajngerl
These methods only return false (for fallback implementation to kick-in). Change-Id: I167dda09d401e69ca4a2296e8024ab0f203b097a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127739 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-01-01vcl: move drawPolyPolygon(..., Point**) to SvpGraphicsBackendTomaž Vajngerl
This moves the legacy drawPolyPolygon, which takes a 2D array of points as the input. The implementation just converts it to a B2dPolyPolygon and calls the regular drawPolyPolygon. Change-Id: I5be8b818bcdf58a15e575b904ed20bb8f97bcffc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127738 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-01-01vcl: move drawRect and drawPolyPolygon to SvpGraphicsBackendTomaž Vajngerl
Also move add_polygon_path and SystemDependentData_CairoPath class to CairoCommon. SystemDependentData_CairoPath is temporary made public until other dependencies are moved too. Change-Id: I381407fc7c168c8982fcfd8c886cf622f95591fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127711 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-01-01Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to 7ad8f2bbd7b786557b8bcd9b275e0c312a921bf8 - tdf#94537 COM.MICROSOFT.* namespace information + Covered all COM.MICROSOFT namespace of wiki page in the bug report. + refactor of other info such as release number availability. + Muted l10N in a table and drop duplication. Change-Id: Id77f9657f164193d5e672e9edf82a2170b5f4040 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127817 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-01-01Bump copyright year to 2021Adolfo Jayme Barrientos
Change-Id: Icbb000677066127fa67e8c22fb0ab6880acc0169
2021-12-31osl::Mutex->std::mutex in SwXBookmarkNoel Grandin
Change-Id: Ic3deffdafb62111f20540c1785824e5cd66a1623 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127813 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-31gbuild: introduce gb_%_linktarget_targetJan-Marek Glogowski
Just some refactoring. Change-Id: I47adb93f8a413d289f6abb2a48ed3f049f582a46 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127799 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-12-31osl::Mutex->std::mutex in SwXParagraphNoel Grandin
Change-Id: If65a862dab3d760357598ece1940e68e4bbc7907 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127803 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-31osl::Mutex->std::mutex in SwXMetaNoel Grandin
Change-Id: I395597215be7e6f5796b99c55ebb49da284c6a6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127804 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-31osl::Mutex->std::mutex in SwXDocumentIndexMarkNoel Grandin
Change-Id: Ic6b167ccec8a605a757eb437e2da86e0a290c63a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127802 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-31osl::Mutex->std::mutex in SwXFootnoteNoel Grandin
Change-Id: I5e831f85a151cff1b5472c4c7560bcb486b98b55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127801 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-31tdf#134982: use the right protocol for Mysql/MariadbKrzysztof Hałasa
Thank you Krzysztof Hałasa for the patch! Change-Id: Ib7532a716b7e0fa73f309e0a4f9af9e663e0d3df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127673 Reviewed-by: Lionel Mamane <lionel@mamane.lu> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
2021-12-31Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to 830ed1f1dd5ad301e635f32f4120297fcb104000 - tdf#94537 Inform user of non-ODFF functions (part) Open for discussion and contents improvement, other patches will follow once this is approved. - used embed to reduce translation workload - un-localize function name space Change-Id: Iab42e87754d5b9b0c3d2a248af82e297ec73ea7c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127751 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-12-31fix ubsan --disable-extensions error seen in oss-fuzz buildCaolán McNamara
i.e. instdir/program/libcuilo.a(dlgfact.o): error: undefined reference to 'typeinfo for AdditionsDialog' Change-Id: I6445632d81ca9d87b44cf9b0be59358ccd8f57ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127791 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-12-31tdf#146472: Missing page count in Go to Page dialog for some localesJulien Nabet
See https://bugs.documentfoundation.org/show_bug.cgi?id=146472#c2 and https://bugs.documentfoundation.org/show_bug.cgi?id=146472#c3 The _ is added by use_underline/use-underline In the case of Czech language, "z" was used as the shortcut for _Cancel/_Zrušit and since "of" is translated "z", the "_" had been put before the 1 and "z $1" was transformed into "z $_1" So let's remove the shortcut for "page_count" Change-Id: I11a03cf11cafe108f77f4b6427fa66b1686d0ea7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127790 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-12-31use concrete types in chart2, createLine3DNoel Grandin
Change-Id: I4e4eb969e8c3e797a5816fe2e781e3192367a0d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127762 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-31use concrete types in chart2, createLine2DNoel Grandin
Change-Id: I7e93bd51e7b02e72e56367a5fd027d3a129ee541 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127761 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-31Fix icon links.txt parse errorJulien Nabet
When trying: ./bin/run vcldemo I got: vcl/source/image/ImplImageTree.cxx:603: ImplImageTree::parseLinkFile: icon links.txt parse error, incomplete link at line 2643 Change-Id: I41899b5a6cb6c9b20b1da7e3456fe0ae23cae71b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127760 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org> Tested-by: Rizal Muttaqin <rizmut@libreoffice.org>
2021-12-31tdf#114995: sc: Add UItestXisco Fauli
Change-Id: I351f080f56b5e6183d932463ea2faf13bb666ba2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127765 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30tdf#145538 Use range based loopsAnkur Khandelwal
* Use range based loops in cui/source/tabpages/swpossizetabpage.cxx + Goal: Better readability of the code Change-Id: I8df81be6d6d628d4f3366bc2de4b3e44adbc430f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123871 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2021-12-30tdf#127484: sc: Add UItestXisco Fauli
Change-Id: I7c15750ae42d78bfb714638e44c7b761f5c22b47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127759 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to cb892ee8ca64a05e0912eaf83f175866b90089ad - tdf#131206 Review Writer field format TDF#131206 Comment 13 - 2 Change-Id: Id7d9f178df365ccb3120055a2626c646cd9c31e6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/127764 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-12-30uitest: sc: reintroduce code incorrectly removedXisco Fauli
Change-Id: I18ad03632950530d7ae2c24608936dba325b0a48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127758 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30tdf#133697: use true bullet size to avoid stretching in scaled UIMike Kaganski
Change-Id: I7fcff6234fa6ee5dcb47a6c32651a9bae5f056c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127741 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-12-30use concrete types in chart2, SvxGraphicObjectNoel Grandin
Change-Id: Ia01be1d6cdb1b9a1c2af32a8873575227fe32b03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127731 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-30tdf#95217: sc: simplify testXisco Fauli
Rechecking again, I found out that the encoding problem described in tdf#95217 was actually fixed by the same commit that fixed tdf#146048 ( 3392f567be8d52804b187b0bced47204ef38fa3c < tdf#146048: detect UTF-16 without BOM > ) This commit partially reverts d7fb6b22cf7e66eb2594001cc42c6bff8b5a49e2 < tdf#95217, tdf#142600: sc: Add UItest > since we don't have to create any http server to reproduce the issue Change-Id: I2f0177f8450f77de5df756354d48505193a6ba3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127742 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30vcl: move drawLine to SvpGraphicsBackendTomaž Vajngerl
Also move getClippedStrokeDamage, AddPolygonToPath, impPixelSnap to CairoCommon, as it is needed by the move. Change-Id: I002f0094935e5f5d4836bb973f7cf7bea0218ff2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127710 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-12-30vcl: move drawPixel to SvpGraphicsBackendTomaž Vajngerl
Includes moving getClippedFillDamage and dependent functions to CairoCommon. Change-Id: Iea7c39377816c3639de1b97cea47efa71ca47315 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127709 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-12-30vcl: move applyColor and clipRegion to CairoCommonTomaž Vajngerl
Change-Id: I0a207b10017923c4336d49ebc8abd53c78d809ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127708 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-12-30tdf#126269 Add clipping to diagonal border linesArmin Le Grand (Allotropia)
See task for in-deep discussion. Needed to do some re-arrangements to add clipping to diagonal border lines. It is necessary to only clip visible geometry but not touch vectors that get added to be able to solve all that dynamic border line style start/end overlapping. Change-Id: I656a5cd63a011140ee1281873e44ab5e60606b67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127713 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2021-12-30Fix uppercase EOT => LIBEOT usageJan-Marek Glogowski
Originally I had these hunks included, but somehow came to think that using EOT instead of LIBEOT would work... well I'm obviously wrong, so re-add the uppercase LIBEOT usage. Still uses the lowercase "eot", because of the autoconf switches. Regression from commit ce54ba96f38b4af3aab1a7064078ee406eb021c6 ("Use libo_CHECK_SYSTEM_MODULE for eot"). Change-Id: Id3e1c97cdb67621f0c0cfd67b78836f62df0e8e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127737 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-12-30tdf#145538 : Using range-based for loopsRamreiso Kashung
Change-Id: I9674eff3e2572ffef7ee19af12befc8a9b6b1c06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127734 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2021-12-30Minimal vcl applicationHossein
Created a minimal vcl application inside vcl/workben in ~55 loc in which creates a window and paints a simple text inside it. One can run the application by invoking: ./bin/run minvcl Change-Id: If648666ff25c4b66089a37c8d8164752663fa225 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125124 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2021-12-30use concrete types in chart2, StripeNoel Grandin
Change-Id: I8814616024345206a69b7e33ade42c74656e9213 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127730 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-30use concrete types in chart2, PieSegment2DNoel Grandin
Change-Id: I18bd576fdc3a679013f999d769089dce35e09994 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127729 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-30use concrete types in chart2, Svx3DLatheObjectNoel Grandin
Change-Id: I3c007cc5b70e6a7b854438b9b2558229f5a5c73f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127728 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-30tdf#146471: Firebird: impossible to delete an external tableJulien Nabet
See https://bugs.documentfoundation.org/show_bug.cgi?id=146471#c1 for full explanations Change-Id: Ie75669cf951429654ff8e6c28508b9fee2ee03bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127715 Tested-by: Jenkins Reviewed-by: Lionel Mamane <lionel@mamane.lu> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-12-30use concrete types in chart2, Svx3DSceneObjectNoel Grandin
Change-Id: Ic1cdc8a4efbb91bfabe84c32b703cb4868cd31a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127727 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>