summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-14fix typo in style dialog functionSeth Chaiklin
Change-Id: I88b38a33a1ca50a0165b11679ca28bb092a6eab5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112307 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-03-14Fix ARM64 build after postgres upgrade to 13.1Thorsten Behrens
Change-Id: I12bdda6aedd9b7b15423f997fe8c6910d9c9e9d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112464 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-03-14tdf#137494 Add Select Cycle uno commanddipanshu124
Assign F8 for toggling SelWrd > SelSentence > SelPara > Unselect. Reassign Extend Selection to Alt+F8. Change-Id: I2fc03c70a5786a629169178e64a0b0fd85ba2742 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112326 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-03-14tdf#141011: Postpone SwFieldDBPage::Reset to tab activationMike Kaganski
This way, it will only ask for password when dialog is switched to that tab. Change-Id: Ie2a453b0b6867ceb1ef3728a8565de4f6cbf4757 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112469 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-14ScriptForge - (scriptforge.py) enhance property and method namingJean-Pierre Ledure
To make the access to services more close to Python habits and to better attract Basic users to Python, the convention for attributes naming has been enhanced: - property names may be ProperCased, camelCased or lowercased - method names may be ProperCased, camelCased or lowercased Their arguments are always lowercased In documentation examples, the camelCased notation will be privileged Synonyms for properties are managed with generic functions. The generic getter and setter has been reviewed accordingly. Method synonyms are hardcoded. The management of synonyms for servicenames have also been reviewed to be defined in each class i.o. centrally and hardcoded in CreateScriptService() Change-Id: Id8d3181118b1e61937e2412109bd0d1eedd6f5e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112470 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-03-14tdf#141012: do not try to expand the node if RequestingChildrenHdl failedMike Kaganski
Just select the database node itself, so that it's still obvious which database is associated with this document. After selecting this node when initializing the tab, another call to SwDBTreeList::Select will be made, so make sure to handle empty table and column names. Change-Id: Ie1d1bd445e18d5900910c780a24102b4dde5c787 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112467 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-14tdf#140986 hang in validity messageNoel Grandin
this doesn't fix the root of the problem (something generating an insanely long validation message). It just prevents that problem from locking up the UI. Change-Id: I334729a30eca4a11d0150e3c89ff11c92a862061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112461 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-14Cygwin/MINGW also use '--date'Mike Kaganski
Change-Id: Icd0ad5e304d8479a56552dc8ff00b3bddab0ecf6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112466 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-14tdf#141015: Show Mail Merge toolbar when DBData has data sourceMike Kaganski
Change-Id: I74ea06b47d851d979103599526ae970035854dae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112465 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-14check for quit when calling Yield in loopNoel Grandin
so we don't get stuck threads when the main application quits Change-Id: Id36e99267ceb4154873b6ef8ef494622fff6c19a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112409 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2021-03-14loplugin:unusedmethodsNoel
Change-Id: I851eba4ca80eac9ee5896df53fbcd0f5ad125763 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112433 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-13merge the various SetPointFont via DefaultDevice callsCaolán McNamara
Change-Id: I769bb95c588c7222ff0dc6c4b845dfc3f0d7cbc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112390 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-13loplugin:unusedfieldsNoel
Change-Id: Ic40d908c3063cc2537bc1746421fb76f070e5bc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112432 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-13tdf#128469 add extended tooltip for "Reset to Parent"Seth Chaiklin
Change-Id: If5aabfc5b677cbeb375745d5c1902848cf48c13f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112414 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Drop duplicate methodMike Kaganski
Change-Id: Ib9401c695a48673545d0adeac2bad24c7579e424 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112419 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-03-13devtools: document classes and method, remove unneeded methodsTomaž Vajngerl
This documents DevTools classes and methods. In addition it also removes some methods that aren't needed anymore. Change-Id: I550e2ce197d1565b4f770eb7dd59b2195f2230a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112379 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to a79cf6b2d03a68bbe60f8d6d827333f45afce47e - tdf#132643 Translate German section IDs Change-Id: I7188992d4b37d92cee355163246f79c9a39f1b4a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112436 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13ODF load: replace YY/YYYY with E/EE only for secondary calendarEike Rathke
In the context of Gengou calendar with Era a [~gregorian]YYYY should not be [~gregorian]EE (although it works and displays the same Gregorian year). Related to https://gerrit.libreoffice.org/c/core/+/108532 Change-Id: Iaec55c997089cbaea424220d858bffdf20ff3706 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112406 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to d9b48feca0a73b62fffb37f9422dacaf8f82fb99 - tdf#132643 Translate German section IDs Change-Id: I8e6b0831db34a3d89dee225ff3309c132b39d755 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112447 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 0e4b96b68eaed9a7930e7a536e4a6d07bb0a26d1 - tdf#132643 Translate German section IDs Change-Id: Ib318ea56b67af90268aa7b0db9263f868da22ed4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112446 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 8557d909425c3b27058fe9ed1c76ba42309836ef - tdf#132643 Translate German section IDs Change-Id: Ie7ed10945dbcdd2a131fbbe2267e630204e28961 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112445 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 3a3d1e415a812bd77aa9ea40b2e0cc969aa2f06d - tdf#132643 Translate German section IDs Change-Id: I54de1b24b18f8d8e7cd10c537e74e488467cb245 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112444 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to eabd5c1f6b4f4e9d9b9bbb409f7a0ed3375c4020 - tdf#132643 Translate German section IDs Change-Id: I6a84b9258f0959f152922a9deeba8d3c5ed8a083 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112443 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 5c2777e3d0f67c9de7fca9180a840640a749d2a2 - tdf#132643 Translate German section IDs Change-Id: Idd78a8afa5a2d9f7626d65ad6bcd7335fb4a3f07 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112442 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 7dabbacf15e54b9ae46c168690c66c9aa136588d - tdf#132643 Translate German section IDs Change-Id: I14a7815b360a46b2d96cbb23100929ee7199f3bc Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112441 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 862bcd66da0350ec419a01a599d5c40773af3e8b - tdf#132643 Translate German section IDs Change-Id: I0013226eccfda5accdcf5887b034008e11ad99a0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112440 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to c92790d38b2eda94fa01d7a48ac9c719c3eef945 - tdf#132643 Translate German section IDs Change-Id: I1e6ac034430a528bccb4fab8878f64e4b131c208 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112439 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to f2d9f18cb243217da0682083a948ad2d233de65d - tdf#132643 Translate German section IDs Change-Id: I87a2b141a93278539d0d8fff51769716d6bbecc4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112438 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 9f62bb5a8396acaa99c0a334365519a768482690 - tdf#132643 Translate German section IDs Change-Id: If02278a5f8d365f26623c104ecd1920d5c62725e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112437 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 817d694272d13aa9006739e1c1bb8299ccb27614 - tdf#132643 Translate German section IDs Change-Id: I80e25535a63f59f3025eb5804d40adc0fcbdb1cd Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112435 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to ddabd7954e37ae5308ded1c550ed6bf0422872f6 - tdf#118008 update Spacing commands for format menu Spacing has its own place in the format menu. Does not appear in a context menu anymore. Change access command for Format Spacing and the items in its submenu (and refactor the submenu pages to <h1>). Change-Id: Iaf360a56090c4a36eeb379224297c7e8b4f2689f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112296 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13Update git submodulesRafael Lima
* Update helpcontent2 from branch 'master' to fbd33772208531912a8c43917a8f660206ce38f9 - tdf#138254 Fix broken link to Mail Merge Wizard When the user clicks the Help button in Tools > Mail Merge Wizard, the help system can't find the Help page because a bookmark is missing. Change-Id: I61359ba9ed56ea1182ec77539dc620e4bdaed04e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112416 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-13ScriptForge - (scriptforge.py) Platform classJean-Pierre Ledure
Addition of SF_Platform class Most properties are provided by a direct call to ScriptForgeHelper.py Others result from an interaction with the Basic-Python machinery Addition of STarDesktop() method in the SF_Basic class Change-Id: If1c03fe8e0ad36b6a665c8c44b477eca7cbc24bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112393 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-03-13devtools: show superclass tree in interface and services tree viewTomaž Vajngerl
Change-Id: I508b568bbb5b0559c265a3f058e689eeeb326b83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112372 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-03-13add PixelFormat enum that replaces bit count in Bitmap/BitmapExTomaž Vajngerl
Bit count for the image is a numeric value (sal_uInt16) but only a handful of values make sense - namely 1,4,8,24 and 32. This replaces the numeric value with an enum, which only accepts those values and checks the correct values are used at compile time. Change-Id: I0fc137c62bce3b0d021f05019a1648da628521bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112408 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-03-13update pchesJulien Nabet
Change-Id: Id6dfae9fb97fbe3fc89b9f2e083d7a3d5c1d36d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112411 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-03-13tdf#135774 Char highlight: partial revert tdf#114799Justin Luth
...DOCX import: fix missing numbering highlight from 7.0 commit 315d56582f8a56d8f2d3ea6cda63ea4832249608. If the numbering had a specified w:highlight in numbering.xml, then that character background should apply to the bullet point. However, SetDiffFnt automatically clears the highlight, the same as it does with mxBackColor (fixed in earlier commit). So a special step is needed to check if the font has a highlight, and since that direct formatting has priority, re-apply it after SetDiffFnt has finished. This is slightly different from mxBackColor - which is an optional attribute. Highlight is reset to COL_TRANSPARENT. If a RES_CHRATR_HIGHLIGHT exists explicitly setting a COL_TRANSPARENT, then any overrides should have been removed from pCleanedSet, and so it never needs to SetHighlightColor(AUTO). Change-Id: Id9d88054254563706b9aee90a1d257b467139334 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112410 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-03-13test gif-in-png Microsoft extensionLuboš Luňák
Based on document from tdf#92643. Change-Id: I0837562da121e805d011f88ffe4a678e75ca441c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112202 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-03-13Minor improvementTor Lillqvist
Change-Id: I0814fe7e732715e73ad56e3b2c91618ba04ae35b
2021-03-12tdf#127217: vcl_pdfexport: Add unittestXisco Fauli
Change-Id: I7b57fcce1b03f950c13b1e9a26f85acf6a515dfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112405 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-12convert to/from premultiplied alpha if neededLuboš Luňák
A mistake from bf2ba0f39be62978b512d6ed101219b9dd0dc6e4. Change-Id: I8c732e8d79b376c9a5bb7b39c2562663e097db99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112396 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-03-12loplugin:elidestringvar in sfx2/devtoolsJulien Nabet
Change-Id: I328526e78969f475aecbd40ac93a9eb3c6760394 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112402 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-03-12tdf#135774 Char highlight: numbering: don't clear existing mxBackColorJustin Luth
If the numbering had a specified w:shd in numbering.xml, then that character background should apply to the bullet point. However, SetDiffFnt automatically clears mxBackColor (and I'm not sure why - but that has been true since way back to original import). Well, in this section the paragraph marker properties should only apply if the numbering doesn't have direct formatting already. So a special step is needed to check if the font has an mxBackColor, and since that direct formatting has priority, re-apply it after SetDiffFnt has finished. (P.S. This had been done earlier for GetHighlightColor, but it was reverted in 7.0. From my testing, I haven't seen an example where it was needed, but it too is reset to null - only it isn't optional.) Again, a unit test will be challenging here, since this is a visual change only. Change-Id: I2be129b11b6f746ba11c19d69bf01f3174c1b64b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111675 Tested-by: Jenkins Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-03-12TipOfTheDay: remove odd tip regarding GSOCXisco Fauli
Change-Id: I4d7111de1fb734c51e6449913caa52adaf43b594 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112381 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-12Fix typosAndrea Gelmini
Change-Id: I7366c5e7d6c9fb4dd7aa17a5d0405f28179a92af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112399 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-12CppunitTest_sw_ooxmlexport: clean up testEffectExtentMarginMiklos Vajna
The shape had line information, but the intent was to test what happens when the shape has some non-zero effect extent, line information is not needed for that. And do the same for a bunch of other tests: a test document should ideally have line information only if it's relevant for a test. Change-Id: I9ea1f38841a30e7e61088d347443e37948b1a9d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112401 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-03-12sw bibliography, refer to a page: make the biblio field clickableMiklos Vajna
- add support for this in SwWrtShell::ClickToField() - restrict this to ctrl-click by default (similar to hyperlinks) - ignore empty URLs - extend the tooltip to hint the URL - change pointer to hint that the field is clickable - downgrade the assert to SAL_WARN in SwAuthorityFieldType::RemoveField(), that currently fires every time a biblio field is de-selected Change-Id: I3b4a12d8a7661f7d8d41804f104505c7594debd6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112400 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-03-12tdf#140977 drop possible table-cursor before setting the new oneCaolán McNamara
Change-Id: I3d278af77886af3413b4a15464c8a52caa9a8e02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112391 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-12tdf#124176 Use pragma once in sw/source/uibase/incViswaasLP
Change-Id: I74c85b0327005ba7b2d07169f052a903381eb1f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112373 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-03-12we just use the OutputDevice api for setZoomFactorCaolán McNamara
Change-Id: Ia72d9a82b266b2172581c757c30bfb80529849c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112389 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>