summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-29tdf#134320: fix XInfobarProvider appendInfoBar for showCloseButtonJulien Nabet2-3/+3
There was a mix of arguments which caused misinterpretation. Like this since initial commit: 9e3ba7c3036c4d21e01d6f75ed29a1e8c4208141 author Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2019-11-18 09:08:03 +0100 committer Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2019-11-19 08:51:43 +0100 commit 9e3ba7c3036c4d21e01d6f75ed29a1e8c4208141 (patch) tree c648a26f2445955be14aa6e96815c14ec193dddc parent b234743dd26e0be4be272d2d2c82f90c67e192b7 (diff) tdf#97926 Add UNO API for Infobar This allows creating, updating and removing infobars from macros/extensions. It also extends the infobar with a primary and a secondary text, so there can be a bold summary at the beginning at the infobar with a longer text following in normal letters. ... Change-Id: Ic3e0b6a9da4da574eb7ca440a881fdcee1dd1132 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97349 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-06-29More WIP work for macOS on Apple SiliconTor Lillqvist2-35/+5
If cross-compiling to a DESKTOP platform, just use RepositoryModule_host.mk on the build platform, too. Change-Id: Icd3f3081e5af0c7cda95e9bce7572d37567d4f6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97356 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29Initial WIP steps for building for macOS on Apple SiliconTor Lillqvist4-41/+111
Don't use $host_os="darwin" for both macOS and iOS depending on $host_cpu. Soon macOS will run on either x86_64 or arm64. Instead, use "darwin" (or "macos") for macOS and "ios" for iOS. Some other early changes for arm64-apple-macos, too. Change-Id: Id89987d854ceba2cd87c6222db2081ccdec0c73e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96976 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29LOKit: do not show 'Add to Dictionary' button for OnlineAndras Timar1-4/+5
Because user profiles (user dictionaries) are not persistent. Change-Id: I78261cccc068cfc1cc9fb2ddecd085ac58ff31c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97308 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-29Colibre: tdf#128689, add more Korean UIRizal Muttaqin75-13/+63
- Update Color related icons Change-Id: Ie0a8e3a9723a1aa129bde4ea7f686a528d7e5b3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97357 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28decouple IEditImplementation from Edit moreCaolán McNamara4-11/+30
Change-Id: Ie01373ca40d519c179485bd1a4b6616d5929fa5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97328 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-28tdf#44076: sc: Add unittestXisco Fauli1-0/+16
Change-Id: I9469b90e10fa51006a5dfb267c4129cf2b5e40dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97348 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-06-28tdf#98844: sc: Add unittestXisco Fauli2-0/+21
Change-Id: I31fc5ca3778048010e34dafd289e0cadf7ee4169 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97347 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-06-28No need for the AdditionsDialog if --disable-extensionsTor Lillqvist2-1/+9
Change-Id: If1ed6c860256e656846a1516e8170fb0dbd20499 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97346 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-28bin/lo-xlate-lang: norwegian -> norwegian_bokmal for nbRene Engelhard1-1/+1
Change-Id: Id01ae546e3ff00c2236aaf1102b21ba361d7a766
2020-06-28Qt5 refactor mouse event fill codeJan-Marek Glogowski2-25/+26
Adds Qt5Widget::fillSalAbstractMouseEvent to set the common Sal*MouseEvent members. While the member functions of QMouseEvent and QWheelEvent have the same name, they aren't shared via QInputEvent, so this uses a small FILL_SAME macro for less code, Change-Id: I3e5aa52b1bf2774251d97534ce0106a27ef5899b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97343 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28VCL refactor Sal*MouseEvent structuresJan-Marek Glogowski2-12/+17
Moves the common members of SalWheelMouseEvent and SalMouseEvent into a new SalAbstractMouseEvent. Change-Id: I68019a33be47b983976a38a1a5b8d15d12b4c504 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97342 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28pdf: fix text annotation (note) modification dateTomaž Vajngerl1-1/+2
The modification date wasn't encolsed in brackets, which is required for the modification date. Change-Id: Icf91516436b095a8577d3ab10b2a708d10d58cb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97330 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28sd: send annotation position for LOKit, fix multiple annotationsTomaž Vajngerl2-2/+17
This adds support to send annotation position in the document when sending the available annotations using LOKit. It also fixes an issue with the json structure for the annotations, which sends multiple annotation objects with the same (empty) key, that after parsing reduces to only one (so only one of the many annotations is present). This fix changes that so annotation objects have each its own unique key. Change-Id: I9d994383d6ee322f27f1426be5bd96ac81e8e609 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97329 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28tdf#128964 fix shifting of icons when the pause/resume button changesSrijan Bhatia1-4/+21
Added a property that specifies width of the button in the presenter toolbar. Change-Id: I556ec0363064b36ef9fe80f2d947849cee356a1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97151 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-06-28Colibre: Fix inverted Promote and Demote icons in links.txtRizal Muttaqin1-6/+6
Change-Id: I806fb983b3b8249ebe7dc3daddef3062afcf9c84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97337 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28Qt5 document some VCL (env) variablesJan-Marek Glogowski1-1/+8
Change-Id: I86260975c8a68318d984b768dfc8d1323fc5a06c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97339 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28Sifr: tdf#133538 add Show White Space iconsRizal Muttaqin60-0/+30
- Add Calc's Fill icons Change-Id: I0587e45970ea6c3381297d133114aab632d6e84e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97340 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28Karasa Jaga: tdf#133538: icon for Show White SpaceRizal Muttaqin955-457/+477
- Update Shape color to gray instead of blue - Add Calc's Fill icons Change-Id: I5e175466815fbce6d28d61cf5b863ff34f304d17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97272 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28tdf#131991 Qt5 RTL mirror mouse wheel X positionJan-Marek Glogowski1-1/+3
Just like all the other events, the mouse wheels X position must be mirrord in LO RTL mode. Change-Id: I28e8da0455d941f42f869b08edcdbe570de366c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97338 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28Sukapura: tdf#133538 add Show White Space iconsRizal Muttaqin12-3/+8
- update Hide White Space icons Change-Id: I0de99d35ab8e9a164944c45c4e7f2c11ee7d4870 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97336 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28drawinglayer: remove textprimitive2d.hxx from clang-format blacklistTomaž Vajngerl2-139/+137
Change-Id: I6fa692bb3e4a16400ee2ae847a1f97201493f53a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97287 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-27organise includes in textprimitive2d.hxxTomaž Vajngerl1-4/+3
Change-Id: I6f822707520688cb3b5b501094e238f02e90ce56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97286 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-27drawinglayer: remove fontattribute.hxx from clang-format blacklistTomaž Vajngerl2-52/+40
Change-Id: I58ef867586bdd2c8c9f4eb249f10610860c9568a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97285 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-27tdf#134326 allow 2 decimal places for asian grid point sizesCaolán McNamara1-8/+11
possibly a regression since... commit 1f622157d10b15c7d9496e3887f493de0f0f94c8 Date: Sun Apr 7 18:04:11 2013 -0300 Convert Writer asian text grid page to Widget UI and use the same step increments found before that conversion Change-Id: Ifbbc847a487e0b7d33704e6cac74a6c1c6012ed4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97327 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1401342 Uncaught exceptionCaolán McNamara7-8/+27
Change-Id: Ia22ed8541f1148355d71cd5b90ad13e64c1b50c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97289 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27elementary: tdf#133538 add White Space iconsRizal Muttaqin32-1/+16
- Add Calc's Fill icons Change-Id: I4b099359f2dfd1a90be77b5eb03e4f3a932d99a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97316 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-27cid#1464973 & cid#1464975 Resource leakCaolán McNamara4-9/+9
Change-Id: I4df8fefa7f875e0a25585c4fef22f077dcd0b83d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97318 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464972 Unchecked dynamic_castCaolán McNamara1-4/+10
Change-Id: If40ee310e0a16af7ce93a5f93e2b436069aa153a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97317 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464971 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: Id0f6aec4552e551d3ba697bb4a3c9b0e498fdf24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97315 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464968 Logically dead codeCaolán McNamara1-3/+0
added in... commit 99c4fefdbb6129a58421b9c7f4a005f868a0e701 Date: Wed Apr 22 11:43:22 2020 +0300 tdf#98409 doc export: export (non-default) cell margins Change-Id: Ie6bf4f16f73eb4d6b604e7c98ee61b388e9acd27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97312 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464970 Unchecked dynamic_castCaolán McNamara1-2/+4
Change-Id: I9190065a88defe9165ac79a0339a6a510b0903d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97314 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464966 Logically dead codeCaolán McNamara1-9/+0
since... commit d6c7fbe28aca170e804c4ebe7c1101bb3345c2c2 Date: Wed May 20 14:23:51 2020 +0200 [API CHANGE] officecfg,xmloff: remove SaveBackwardCompatibleODF Change-Id: I05db7083262d02aa051372773fc6ef60c1549b8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97311 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464969 Unchecked return valueCaolán McNamara1-3/+1
Change-Id: I74c1f2d3e45222be7357e0ded70beeb5437ff892 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97313 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464965 Logically dead codeCaolán McNamara1-8/+0
since... commit d6c7fbe28aca170e804c4ebe7c1101bb3345c2c2 Date: Wed May 20 14:23:51 2020 +0200 [API CHANGE] officecfg,xmloff: remove SaveBackwardCompatibleODF Change-Id: Idbe785a2426adf3288a3ba27e065a7ddd8d9406f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97310 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464973: RESOURCE_LEAK (sc/excel)Julien Nabet1-1/+1
Change-Id: I923788f57e022c99a89a6406cf3ed02066efd022 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97279 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464963: Null pointer dereferences (sw/wrtww8)Julien Nabet1-2/+2
Change-Id: Iea4b91b440c87a8a193a3c6b683a017d0948399c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97281 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464967: RESOURCE_LEAK (sw/wrtww8)Julien Nabet1-1/+1
Change-Id: Ic1aa0d42f174808c7700875cb31f1c726b3160e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97280 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464974: Null pointer dereferences (sw/unosett)Julien Nabet1-2/+2
Change-Id: I4ea6de59ce1d1cb3133b0fb57176caee5497878f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97276 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27cid#1464975: RESOURCE_LEAK (sd/sdpptwrp)Julien Nabet1-1/+1
Change-Id: Icb8a1add327e7b11b4095c1e3f60cddf2ea0f5c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97275 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27map has-frame to WB_BORDERCaolán McNamara1-1/+16
Change-Id: I3f0aeceb3015bb09d6b82a631f3b001f9061d090 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97265 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27those properties should use - not _Caolán McNamara1-2/+2
Change-Id: Ifae279b7ffd50cd7f977e0b03a9207355a9304a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97264 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-27drawinglayer: pragma once for fontattribute.hxxTomaž Vajngerl1-13/+3
Change-Id: I1d257a34b15a65d9b988a791e154ee64e781e0ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97284 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-27Breeze: tdf#133538, tdf#126122, tdf#70102Rizal Muttaqin266-88/+294
- tdf#133538: Add Show White Space icons - tdf#126122: Differentiate icons for Promote and Indent - tdf#70102: Add RTL support for outline & numbering - Add Calc's Fill icons Change-Id: I16757a199852f544b4c32a011205dea483e7606f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97282 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-27tdf#90978 add exit button to impress presenter consoleSrijan Bhatia10-0/+108
Change-Id: If8a5226d700eb7a4137218191b5abc85bbb36b4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97041 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-06-27do not use VCL scaling algorithm from SkiaLuboš Luňák2-42/+13
The only threaded one is "Super" (i.e. the default one), and Skia at a comparable quality seems to perform better. And the code is simpler too. Change-Id: I366197fe1a033c1f7a5f5c7f9fdcc00bff74dc11 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97278 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-06-27properly copy pending scale quality in SkiaSalBitmapLuboš Luňák1-1/+2
EnsureBitmapData() was using Create() to make a copy of the bitmap to scale, but the quality was not copied, so it was usually at the default (and slowest) high quality. Change-Id: I7100304a935db420e2d55c2a9450016be1195965 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97277 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-06-27cache raster scaling also in Skia's drawAlphaBitmap()Luboš Luňák1-4/+16
Change-Id: I52849097267326cb362b113241179a766d286a6b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97273 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-06-27use boost::make_shared_noinit()Luboš Luňák1-2/+2
The unnecessary initialization of all elements with plain boost::make_shared() actually shows up in the profiler. Change-Id: I054b13ac74362aca7f2dfa7dc746d3a80c7f1042 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97267 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-06-27Colibre: tdf#133538: icons for Show White SpaceRizal Muttaqin15-6/+11
Change-Id: I757696ece0b06cdd91358ea8944ba5cc49a644d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97274 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>