summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-18Mathml gets it's own directorydante
It has grown recently and is going to grow more. cfgitem.hxx has been moved and clangformated because it is not anymore in excludelist Change-Id: I277837b2c0a90ae4e84028dc6e19962939c1aef3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108645 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-01-18tdf#133887 Set flag of variable when formal parameter is not expecting variant.tushar
If there is no param info for formal paramter then type of formal parameter and actual parameter will be same and there is no need to set the flag in that case. Change-Id: I12af64f82fc5b2d6d7fb920bde1cb96f8c7bd51b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109070 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-01-18Get the rest directly from startsWithMike Kaganski
Change-Id: Ie93fa23778dc224631c25dd1e9794a1af8ff4b99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109514 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-01-18uitest: sw: Add test for paste special dialogXisco Fauli
Change-Id: I470731d4e8c40077d63e8ed49d30f946ab9ab8b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109533 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-18make internals of ::Color privateNoel
was made public in commit d487d6e082bc7ce652217578ffd37397a59cc3ca rework Color to have R,G,B,A public variables but it's best to keep them private since we're changing the internal representation - and there is surprisingly little that depends on accessing the internals anyhow. Change-Id: I234d80fb33105f7bf5b865fb7c8194d893b09878 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109508 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-01-18tdf#136704 sw autofmt: prevent crash if no nextNodeJustin Luth
The second GetNextNode() was a nullptr that was being dereferenced. Now, when enter is pressed after some text followed by a colon, that line is made into a heading3, and the new blank line is properly using the text body paragraph style. Change-Id: If10dc85e490ac57fc150b3d541f5033dfd5293bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109413 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-01-18tdf#132596: sw: Move UItest to CppUnitTestXisco Fauli
Change-Id: I9c9ca9e266034f254c68b3f96d3582ce2cf08ab5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109511 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-18tdf#131963: sw: Move UItest to CppUnitTestXisco Fauli
Change-Id: I19f7cdb4c345b55fe7eea27312513c05a54eb52c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109510 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-18Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to 02621d694b83cc0fa710cbf110f8262967360402 - update Load Styles and related help pages to "Load Styles from Template" https://gerrit.libreoffice.org/c/core/+/109006 changed the label of the command "Load Styles" to "Load Styles from Template" and changed the some labels in the dialog box. This patch updates all help pages that were affected by that change, and takes the opportunity to review these pages and make small improvements where needed. ( swriter/00/00000405.xhp ) * update menu labels * replace German id "vorlagenladen" -> "loadstyles" ( swriter/00/stylesmenu.xhp ) * update menu labels for "Load Styles", "Update Selecte Style" and "New Style from Selection" * update to <menuitem> and <keycode>, only for modified paragraphs ( swriter/01/05140000.xhp ) * update menu labels ( swriter/01/05170000.xhp ) * update menu labels * replace German id "vorlagenladen" -> "loadstyles" and "vorlagentext" -> "styles_text" (which does not seem to be used anywhere else) ( swriter/guide/load_styles.xhp ) * update to <h1> ( swriter/main0115.xhp ) * update menu labels Change-Id: I779b2644195f3f6cdc00743c7577875e3e198902 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109289 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2021-01-18sw_fieldmarkhide: allow editing all fieldmarks if ...Michael Stahl
ForceImportWWFieldsAsGenericFields is set. Not sure what restrictions it needs. Change-Id: I8b8e61fb320d5c2b66d5ff332517759b53e68817 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109378 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-01-18GtkSizeGroup:ignore-hidden is deprecated and shouldn't be used anymoreCaolán McNamara
all these widgets are visible so it makes no difference in this dialog Change-Id: I05e15a584f5020343fcc05b1c28bc9cef71f15c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109486 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-01-18sw: prefix members of SwCombinedPortion, SwEnhancedPDFExportHelper, ...Miklos Vajna
... SwSetToRightMargin and SwTextPaintInfo See tdf#94879 for motivation. Change-Id: I05ef098d16d186782aba8200bddee5b15533dc01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109509 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-01-18Fix typoSamuel Mehrbrodt
Change-Id: I19ca7330285815bb7fdca86ad7348d7e9ae508b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109507 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2021-01-18simplify constructionNoel
Change-Id: If00dfd6aec5d39e17d63c7bc8fdc58ee406ef3bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109505 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-01-18Update git submodulesRoman Kuznetsov
* Update helpcontent2 from branch 'master' to 85aba709f71b6d1443db98fbacb22d9b47a71123 - tdf#139616 Updating a conditional formatting help page Change-Id: Id34c8e5e003802635e30a7e038d9f413625f1306 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109404 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-01-18tdf#139691: fixed wrong extend-tips in areatabpage.ui.Kiyotaka Nishibori
Change-Id: Ic99ef0a543098cd469db30474d1f8fcd466f2a2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109461 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-01-18tdf#115817 Make the Navigation toolbar persistJim Raykowski
This patch makes the Navigation (navigationobjectbar) toolbar reappear when Writer is started if it was displayed in the toolbar layout when Writer was ended. Change-Id: I71ddf85daf98720f7c5fd29462d1a2bcb48114d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109503 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-01-18devtools: handle the doc. model tree with attached obectsTomaž Vajngerl
Instead of filling the document model tree with fill* methods, refactor that to use objects that are attached (via get_id) to the tree nodes directly. For this introduce DocumentModelTreeEntry and subclasses, which implement what the current UNO object is that is being shown for a tree node and a "fill" virtual method, which is used to fill the child nodes of the tree when expanding a tree node. This makes the code much easier to work with and in addition it makes it possible to have all the tree nodes to fill the content on demand when expanded. Change-Id: Id5a027e060af90e483181439568f17d0172d1b35 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109500 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-01-18tdf#115817 set standard mode before recency navigationJim Raykowski
Using Navigate-by to move through the recency stack sets the writer shell to standard mode before navigation. Navigation using the Back and Forward navigation controls does not. This results in incorrect behaviour when a drawing object is selected and navigation is attempted. This patch sets writer shell to standard mode before recency navigation is done using .uno:NavigateBack and .uno:NavigateForward. Change-Id: If05883e8188452736cfedac9153bcc91422bf7e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109504 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-01-18Bring uno:RefreshView to CalcSamuel Mehrbrodt
Allow refreshing the document layout via UNO slot Change-Id: I956bb884b1fb4231b1f617c4aa5a80ff9a45ec92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109230 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-01-18elementary: tdf#139056 update many colors to follow upstream brandRizal Muttaqin
Change-Id: I4ef4bdb43e48f740ee2075627610e13142316434 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109490 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2021-01-18elementary: tdf#139047 redesign find (Print Preview)Rizal Muttaqin
Change-Id: I35b0b32ebc988f80f2f204e5570b74e708b33852 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109492 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2021-01-18devtools: separate DocumentModelTreeHandler into its own file(s)Tomaž Vajngerl
Change-Id: Ie657fca3d7e221ca6fbce1016589bd86312530fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109499 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-01-18elementary: tdf#139056 update RED color to follow upstream brandRizal Muttaqin
- Navigator related icons revised Change-Id: Idebb448738f7391d8af84d43778d0fefbf6de56f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109471 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2021-01-18devtools: separate handling of document model tree into own classTomaž Vajngerl
This introduces DocumentModelTreeHandler which is used to handle the left-side document model tree. This makes it easier to track how the tree is populated and handled by encapsulation. Change-Id: I0c11d8012d149c6f4ce9a5067a8c368fb794efe1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109498 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-01-18elementary: tdf#70102 repir RTL bullet numbering iconsRizal Muttaqin
Change-Id: I16d7133cfdc75758ec9df34bdd6d0d6b174fb620 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109489 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2021-01-18elementary: tdf#139056 update VIOLET color to follow upstream brandRizal Muttaqin
Change-Id: Ieb2b680bc698dc533ec47d1a7b4fd47b8074911d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109462 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2021-01-18Clean up includes a bit for iOS and macOSTor Lillqvist
Change-Id: I1dc6256968503ee3865f90e3693acce911a1d65c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109485 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-01-17tdf#132597: sw: Move UItest to CppUnitTestXisco Fauli
Change-Id: I0409e22571fa2bb6a9fbf3eb7f6e81b544886aa0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109488 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-17tdf#139056 update ORANGE color to follow upstream brandRizal Muttaqin
Change-Id: Icf5cc5f23c9b4980f6ca7e6401344cd8998e6046 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109463 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2021-01-17sw_uiwriter3: remove redundant call to clearXisco Fauli
See https://gerrit.libreoffice.org/c/core/+/109458 Kudos to Mike Kaganski for pointing this out Change-Id: I1daa919ffcdc8b7a382ebf04470d957500dcfad9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109483 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-17Expand vcl_quartz_code and vcl_coretext_code macros that were used only onceTor Lillqvist
The macOS-specific code is nowadays compiled in Library_vclplug_osx.mk so these macros that listed files compiled both for iOS and macOS were used only for iOS in this makefile anyway. Change-Id: I607ce0bd8834b81caff664f28419e50e87af87f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109484 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-01-17tdf#138122: Fix vcl for iOS after 1a167625314bf36b735176ed488e6ba9b5e9b675Tor Lillqvist
Make vcl compile again for iOS and make the Collabora Office iOS app work again when built against a master build of core. For now, keep the old versions of the functions touched by 1a167625314bf36b735176ed488e6ba9b5e9b675 in vcl/ios/salios.cxx, and move the modified versions to the new file vcl/osx/salmacos.cxx. Keep the functions as they were except that ifdefs for MACOSX or IOS are expanded. Keep the formatting as it was to make comparisons easier. Thus add the new files to the clang-format exclusion list. While at it, also move vcl/quartz/salgdiutils.cxx to vcl/osx as it is compiled only for macOS anyway. Change-Id: I990ef678f2263031d4a5af8cc547fffe185d17c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109480 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-01-17tdf#138314 Change selected tab text color on macOS Big SurThorsten Wagner
Starting with macOS Big Sur, coloring has changed. Currently there is no documentation which system color should be used for selected tab text. As a workaround text color is changed for macOS Big Sur and newer only. Change-Id: I2e8c83527775c17f95e5e4afe70577442e14715e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109479 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-01-17tdf#138122 Add window scaling for retina displays on macOSThorsten Wagner
(1) Remove hack to make application look as if being linked against SDK 10.13 (2) Use quad storage size on virtual devices for displaying on retina displays thereafter (3) Apply workaround to downsample bitmaps from scaled layers (to be implemented) (4) Disable dark mode (to be implemented) (5) Provide new environment variables: VCL_MACOS_FORCE_WINDOW_SCALING: window scaling on non retina displays VCL_MACOS_FORCE_DARK_MODE: enable dark mode (macOS 10.14, iOS 13 and newer) VCL_MACOS_USE_SYSTEM_APPEARANCE: use light mode or dark mode (macOS 10.14, iOS 13 and newer) as configured by system preferences Change-Id: I99877cd62a98cb91bcbf27af62b043c31c5f5fc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109072 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2021-01-17cppcheck: derefInvalidIteratorRedundantCheck (sfx2/classificationhelper)Julien Nabet
Change-Id: I25fc7eac5b323e5918f03d8bfb410ca6a860219d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109476 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2021-01-17duplicate break (xmloff/txtimp)Julien Nabet
Change-Id: I17c63ec5d8accf6f9d2f33ef92cfa63acbd02f3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109473 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2021-01-17Fix typoAndrea Gelmini
Change-Id: I0ce46927730cef961bbefd12551b2d56e8fe357d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109240 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-01-17use ::Color in ColorSet::addNoel Grandin
Change-Id: I8b34807e62c292a19700e6d37edd99e442574ec4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109452 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-01-17Fix typosAndrea Gelmini
Change-Id: Ibf250ad583c0c58c1c7866bf1c37129f0e4b8fd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109468 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-01-17Fix typoAndrea Gelmini
Change-Id: Id250432aa37a676f4929028b132b887daf9589f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109313 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-01-17Removed executable permission on ods fileAndrea Gelmini
Change-Id: Idabe9a8070c4a248b34e38ad58fcdd7a9e9afd72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109467 Tested-by: Jenkins Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2021-01-17cppcheck: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I866665b596a37c1e111fad8afeb9d4cb4d75c257 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109469 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-01-17cppcheck: zerodivcondJulien Nabet
I don't know if it can happen or if it's a false positive but at least, we're sure now it won't fail Change-Id: Id4620d74c0893b308b9fb45be71ca6c425066ae4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109470 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-01-17Update git submodulesAndrea Gelmini
* Update helpcontent2 from branch 'master' to c5ca7b12b4d593f22db0d450a46335879b5ff2e2 - Fix typo Change-Id: I065d78e1451ac2b0b9458935727c72279b7155e6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/109466 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-01-17Try to fix Windows TBJulien Nabet
by using std::max<tools::Long> and std::min<tools::Long> Change-Id: I07c93227cf040f159d1977ca94988169ecd6dc14 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109464 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-01-17Resolves tdf#139501 - About screen exceptional widthHeiko Tietze
All strings wrap now Change-Id: If810e67e55eb23685ab4e14da9d5da1864229833 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109330 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-01-17use ::Color in ColorPropertySet constructorNoel Grandin
Change-Id: I5649b39999de50d9f1fc33e2aef405be43069096 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109451 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-01-17fix rendershapeselection for drawingMert Tumer
Change-Id: Id4cb37885bf9b442adc679b895d89cd615ffb2ee Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108681 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109213 Tested-by: Jenkins
2021-01-17sw_uiwriter3: dispose/clear the document before opening a new oneXisco Fauli
Change-Id: I6400eae69c4ab5edc719e9be0eb45e6dc2585a7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109458 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>