summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-08move GetDPIScaleFactor check to ValueSet canvasCaolán McNamara
Change-Id: I586b3d1167300d914da18af7f32dd8e434bb49c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112140 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-08default to 'contents' hidden until toggled to floating modeCaolán McNamara
Change-Id: Iff671e9f8d0a41d4ed83f8fe05b70998558590b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112145 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-08sw: prefix members of SwHyphStrPortion, SwMinMaxArgs, SwMinMaxNodeArgs ...Miklos Vajna
... and SwTextCursor See tdf#94879 for motivation. Change-Id: Id226a5b30fae4c29476aebc6edf7fb180726eb4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112153 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-03-08Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to ead459c15f4eb1095d0dff0cb76611bff31d12f8 - Related to: tdf#140796 No-width no break -> Word Joiner ( shared/01/formatting_mark.xhp ) * No-width no break -> Word Joiner * .uno:InsertZWNBSP" -> .uno:InsertWJ" * update to <h1>,<h2> ( swriter/guide/hyphen_prevent.xhp ) * No-width no break -> Word Joiner, and change to <menuitem> in that paragraph * "paragraph" -> "listitem" for "role" * update to <h1>,<h2>,<tip>,<relatedtopics> Change-Id: I6b406e8baf6a34d96bacc896bd8fed39f87ffa85 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112082 Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk> Tested-by: Jenkins
2021-03-08filter: svg: js engine: unit test: slide background: exporting bitmapsMarco Cecchetti
Two unit tests: 1 - a slide background with a single bitmap 2 - a slide background with bitmap tiles Change-Id: Iffdb9ea958ba07391dfbdcfd6e925a9461e2af84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109932 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ash@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111843 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2021-03-08logerrit: do not submit if parent is older than a weekXisco Fauli
Change-Id: Ieb20b3086082bd0a88e457b0ae922234ce737b8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112009 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-03-08[API CHANGE] Remove unused XSystemTransferable interface from CDOTransferableMike Kaganski
This interface is only implemented on Windows' transferable; it is not used anywhere in the codebase, and its implementation is wrong: it passes COM interface pointer as 32-bit integer (thus truncating 64-bit pointers on Win64) to different processes, where the pointer has no value. This reverts commit 772fb7b3e482d537482437f5cd898093522d3fb5. Change-Id: I828c6595ac3f7836a3c72d5498efb279938407ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112072 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-08tdf#133260: move unittest to function testXisco Fauli
Change-Id: I602f83e1a5afd0ab05c35b848a32475cac3b21ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111982 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-08jsdialog: fix free JsonWriter assertionSzymon Kłos
Change-Id: I4bf1606d4f14fbaf9b63d5b06ff115a0f4d7eb21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112150 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-08tdf#140796: Wrong English string for U+2060 characterJulien Nabet
Rename "No-width No ~Break" to "Word ~Joiner" + replace pattern "ZWNBSP" variable names by "WJ" Change-Id: I95a874a9d2d20a30d2c4c3add6041adbe72d872c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112055 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-03-08BASIC : simplify BaseWindow initialization.Arnaud Versini
Change-Id: If12b32fa7cf19341a2de1a4c0efb156075ff6ec5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112122 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-08clean up some more dynamic/static castingNoel
using a hacked version of the staticdynamic plugin and some judgement Change-Id: I5e6668b19320025e419f84bebceade4239577729 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112137 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-08loplugin:refcounting check for one more caseNoel
where we might be holding something newly created by pointer instead of by *::Reference Change-Id: Ife6f7acae4252bf56dcdeb95d72e43c523444f97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112138 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-08tdf#128469 add "Reset" tooltip to style dialogsSeth Chaiklin
Change-Id: Ie97836467967d469ac37b7720a7b6dcc661702a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112081 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2021-03-07Revert "tdf#126310 Disable lazy loading of WMF images"Xisco Fauli
This reverts commit 184a4771dad448a37f80b29bc62ad62e0a6a4bb6. Reason for revert: The problem is no longer reproducible as described here: https://bugs.documentfoundation.org/show_bug.cgi?id=138515#c3 It also needs to be reverted in order to get tdf#138515 fixed, although it doesn't fix the problem Change-Id: I7bb678f1a19ae3609064449cfc5e71e0ba8c9de2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111931 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-07tdf#107459: move unittest to function testXisco Fauli
Change-Id: Ic509ba1451e5f59e2f61a37816132ef5bb9ac440 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111981 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-07tdf#116136 don't show statusbar template control tooltipJim Raykowski
in print preview Change-Id: I9bba275d89d1d70bfcef9182f52273fd405118d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111863 Tested-by: Jenkins Reviewed-by: John Turpish <jbt@gmx.us> Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-03-07move queue_resize to baseclassCaolán McNamara
Change-Id: I7f34037fc2c48168a56918c83ac7323febfe7486 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112139 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-07tdf#140856 macOS listbox renderingNoel Grandin
Change-Id: Ib5d4af162da7264d9e6da8742e36c194448bd1fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112132 Tested-by: Jenkins Reviewed-by: Thorsten Wagner <thorsten.wagner.4@gmail.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-07tdf#140833 show ScHeaderControl help tip after double click time has expiredCaolán McNamara
so under gtk the popover isn't active when the double click is processed by gtk because under load on wayland the double click is getting handled by something else and getting sent to the the window underneath our window Change-Id: Ie3afcf45c69b7b947b1aeb787478f947deca9307 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112104 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-07Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to a601b032ba5b63f30026fdfe5ba61941fc8e2b8c - tdf#102265 add Object and Shape submenu; embed in Format menu add simpress/submenu_object_shape.xhp ( simpress/main_format.xhp ) * embed the new submenu into Format menu - remove "Object and Shape" heading and embed to "Position and Size" for that heading. - remove "Text", "Area", "Line" controls because they are all described now in the new submenu. Change-Id: I06981f718b8d6f4d1869efc2a56ba6c9951e6de4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112080 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2021-03-07Simplify the use of custom hmtl/mathml entities on matmlexportdante
This patch also serves as a base for further improvements. Change-Id: I72967e3c9739576fb74d16e656f41c440af3a4ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112127 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-07tdf#124176 Use pragma once in sw/source/uibase/sidebarAhmet Hakan Çelik
Change-Id: I0f4f5b1d612d2fa92582fc8a26dc35d01fbfe4bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112129 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-03-07BASIC : use standard mutex from std.Arnaud Versini
Change-Id: Ie9abb32124b8718bbfde076f090180794c64f90e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108629 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-07Starmath now allows multiple parsers fourth partdante
Now smelementdockingwindow is version sensitible. Change-Id: I1ed172d03f0756f1603a9ff20aadcea59fe35e9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111805 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-07ref-count SdrPageNoel
which simplifies ownership handling, particularly with regard to undo/redo Change-Id: Ie8f300ebfdae6db3c06f78a87e35a07497d6b825 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111991 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-07loplugin:staticdynamic now with extra saltNoel
because it wasn't quite there yet - now checks for casts with and without const, because const doesn't really matter here. Change-Id: I319025b2095a803fcaad2a7a696d2730b7fd2f81 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112098 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-07Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to 771226e2a53178d66020f878d78baa6ec35ff710 - Related to: tdf#102265 Correction to Text tab and Text Attributes header ( shared/01/05990000.xhp ) * Title said "Text Attributes", but <h1> said "Text". Title was correct, so changed <h1> to "Text Attributes" * update to <h1> ( shared/01/05220000.xhp ) * Title said "Text", but <h1> said "Text Attributes". Title is correct, so changed <h1> to "Text" * update to <h1> Change-Id: I3bd52abd0804adf1197778173b2e3de6b732694f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112079 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2021-03-07Fix typosAndrea Gelmini
Change-Id: I0a6b74356bd689b54883efc4608a06fb9446e828 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112024 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be>
2021-03-07tdf#140850 update light bulb image of ToTDRizal Muttaqin
Change-Id: I5c653c7596dfdf0f0ca092a1d88ce16d543573ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112119 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-03-07tdf#140051 SI property values like "Bold" are now localisableshivam-51
This patch now allows "Bold", "Italic" and "Normal" to be localisable. Change-Id: Icd8102ce84db9a3c68ab69f5f9eadf0cf04755b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110475 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
2021-03-06filter: svg: js engine: support for bitmaps in slide backgroundMarco Cecchetti
When a slide background includes one or more bitmaps, they are exported only once. This avoid to export the same bitmap more than once when it is embedded in several backgound slides and to export only one bitmap for the tile style. Change-Id: Ia5b75f7805541486b76a81f86907e88ed9d4764a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109835 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111842 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2021-03-06update pchesJulien Nabet
Change-Id: Id892e426343746df2f01f4cdc5f470351bdb6a12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112099 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-03-06sw: rename misleading rMEvt, which is not a referenceMiklos Vajna
Change-Id: I6a3999be3003b8dd19cca665401fb1c4c3f004a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112025 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-03-06update pchesJulien Nabet
I just used ./bin/update_pch.sh Change-Id: I06a7f36eb4c511b8d6c6477fd87e57f0d9702457 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112097 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-03-06sidebar: use real height to determine preffered sizeSzymon Kłos
There was a bug causing to crop the sidebar in online: 1. open odt file in 2 sessions 2. select image in session A 3. move mouse over sidebar in session B 4. move mouse over sidebar in session A Result: sidebar A was cropped PosSizePropertyPanel on context change did some windows visibility changes in the meantime. get_preffered_size() returned lower height than real value in SidebarPanelBase::getHeightForWidth call queue_resize to invalidate cached optimal size Change-Id: I8080259ffb12ae3f6613e7749e908d6ef55c1f3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110894 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112092 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-06jsdialog: send selection change for icon viewSzymon Kłos
- add posibility to send additional actions - send selection change for icon view as separate command - optimization, no need for rendering Change-Id: I02dd129068baf32c265612a1cfa2c2af20319ae9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111767 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112071 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-06jsdialog: refresh on thawSzymon Kłos
Change-Id: Iaab6fe615bc916cab02a8027275264e899d3cabb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111405 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112093 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-06elementary: related to tdf#140838 new Undo & Redo iconsRizal Muttaqin
Change-Id: Ifc24f15cb876ce5676ff288a87b39b9a632dbcd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112057 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2021-03-06elementary: tdf#140838 new Undo & Redo iconsRizal Muttaqin
Change-Id: Id1fae6168de9c431c54b6b6c985a5cd3a6082531 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112056 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2021-03-06Styles preview: use listener to trigger updateSzymon Kłos
Do not render all styles on every selection change. Use listener to detect styles modification. Change-Id: I6d41acd7acad160d1477281d2b3d473233def4d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111833 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112013 Tested-by: Jenkins
2021-03-06jsdialog: stop idle on destructionSzymon Kłos
be sure timer is stopped after we destroy builder. if we close abandon previous messages. Change-Id: I8c5458d14c45660aadecb1559b87d30a32364ff6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111593 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111990 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-06jsdialog: update on treeview clearSzymon Kłos
Change-Id: I4152e7581ae9172e77474c7f62bd42351636793e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111733 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111989 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-06Add to smviewshell an acces to the docking windowdante
Change-Id: Ib5830ba0fef201cabb4e2589cbc277b72ed6b399 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111999 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-06SmParser obtainer, correct error on exception messagedante
Change-Id: Ia2c0bad7546e5a4288ce70cf2a72e400ff722a94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112001 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-06loplugin:staticdynamic look for static after dynamicNoel
Change-Id: Ic3066d9a9441e369370cc6aa0fbffb9a321bc928 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111985 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-06drop StyleSettings::GetColorValueSetMaximumRowCountNoel Grandin
pull it into the only place it is used. Change-Id: I5923f1599e033d893cebea606138c53ab2cd02fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112045 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-06tdf#135774 writerfilter Char highlight: revert tdf#117137Justin Luth
revert my 6.1 commit ac27f4e7abf5339f71d4f5f3fc09a13b25669fe4 tdf#117137: DOCX import: don't try to set grab-bag as UNO prop The ultimate problems in bug 117137 seem to have been fixed elsewhere and the unit test still passes after the revert. (Tested in Word 2016 and 2003). Also my entire tone was one of uncertainty in the review process. In general, the grabbags should not be ignored, as they are supposed to just contain import information that should be exported again. In this specific case, CharGrabBag is needed to identify that the background was imported as shading, so that it will still be exported as shading instead of being converted into a highlight. If this revert causes problems, then the grabbag will need to remove the problematic items (or keep only the essential items). Change-Id: I368fcdfca9057426aa6352f1caa7b552d87905d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111937 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-03-06drop check for visibility before calling updateMotionPathTagsCaolán McNamara
presumably this is effectively always the case Change-Id: I05ac9075ea340f800cdb9b8fda6e01c8ba1fa186 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112034 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-06use weld::WaitObjectCaolán McNamara
Change-Id: I726429b1af2b27310153c069b350ee18c7dea47c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112033 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>