summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-14loplugin:unocast (GrammarCheckingIterator)Stephan Bergmann
(See the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: I4ecaa3cfafbb2e01ede956e4f3f6d58f40bdbb57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144146 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-14loplugin:unocast (ucb::ucp::ext::Content)Stephan Bergmann
(See the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: If35b179b83383d8252a356c5bf43ae6ebb1d63f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144148 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-14Add precisions in extended tipOlivier Hallot
Change-Id: Ic339db77ba4064f7a4cf7533740e7a0f98955453 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143922 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-12-14loplugin:unocast (basic::SfxScriptLibraryContainer)Stephan Bergmann
(See the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: I962b2a11a6407a543fb8b4ad972128d59f62a8a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144142 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-14loplugin:unocast (sdext::presenter::PresenterNotesView)Stephan Bergmann
(See the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: Iee184c75fb5d4a8f00b932c001df023de795c469 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144144 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-14loplugin:unocast (SelectionChangeHandler)Stephan Bergmann
(See the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: Ibc2511c8521923c854e4b450649ea616581af2fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144141 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-14loplugin:unocast (vclcanvas::RepaintTarget)Stephan Bergmann
(The overall inheritance hierarchies of the classes deriving from RepaintTarget are so over-engineered that it looks easier to make each of those classes derive from css::uno::XUnoTunnel individually, rather than deriving RepaintTarget from something like cppu::WeakImplHelper<css::uno::XUnoTunnel>. And see the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: I4bcfad4049a2fb366768602a432c1282c2bf477e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144140 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-14tdf#152486 unreadable infobar buttons in macOS dark modeCaolán McNamara
These are the buttons in infobars where the infobar has a custom background color and on these platforms the buttons blend with their background. On other platforms the buttons typically are opaque and the issue doesn't arise. Change-Id: Idfc4bbf291953bbf27e73cd5dd7654fd1ce4b051 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144104 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-14tdf#151548 sw content controls: preserve tabIndexJustin Luth
This has to be vital to keyboard navigation. Certainly it is good to have it imported before we start to consider tab-movements for form controls. All tabIndex 1's are processed (in placement order) and then the 2's etc. 0's are to be done last. XML_TAB_INDEX already existed in include/xmloff/xmltoken.hxx and "tab-index" already exists in xmloff/source/token/tokens.txt make CppunitTest_writerfilter_dmapper CPPUNIT_TEST_NAME=testSdtRunRichText make CppunitTest_sw_ooxmlexport17 CPPUNIT_TEST_NAME=testDateContentControlExport make CppunitTest_sw_core_unocore CPPUNIT_TEST_NAME=testContentControlDate make CppunitTest_xmloff_text CPPUNIT_TEST_NAME=testAliasContentControlExport make CppunitTest_xmloff_text CPPUNIT_TEST_NAME=testAliasContentControlImport No existing unit test found containing blockSDT with tabIndex. Change-Id: I8a958844e6192b079a2b22a62dedfd8739021f4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143603 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-12-14CppunitTest_sw_core_layout: clean up testFollowTextFlowWrapInBackgroundMiklos Vajna
Use SwFEShell::Insert() to insert a graphic instead of duplicating it. Change-Id: I99b6ebda4d8e4d0c7ec9d8dc34348b66b56951ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144105 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-12-14CppunitTest_sw_globalfilter also needs the ASan hackStephan Bergmann
...from e854abe076155fc085b56549ced50b3ee9a095d2 "Avoid external processes picking up instdir/program/libnspr4.so" now, presumably since 31084ebb59093be7dfe5ab53a20fdb3bcfde34b6 "tdf#143311 offapi,oox,writerfilter,xmloff,sw: decorative flag on flys" Change-Id: Ic8a29c0fea8b34d95745a4e7d1c8e4b74da64653 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144106 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-14Update git submodulesAdolfo Jayme Barrientos
* Update helpcontent2 from branch 'master' to e3b1cce7dde7e964c7670dd24a167e750654685a - tdf#132398 Update icons for Online help navigation Change-Id: Id6c5bb5d486cd045238205318a6f99339716c117 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144138 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-12-14It's unnecessary to obtain what's not being usedEike Rathke
Change-Id: I3b5a2a8a2b095e77f71629910628ca7fe54aac25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144113 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-12-13crashtesting: (assert) fix treatment of "#FMT" input line valueEike Rathke
For "#FMT" test the original format type for not being NUMBER, the current format type may be different from finding an edit format. This constellation did not matter until commit 4fd1333ba4bb4f2311e9098291154772bd310429 CommitDate: Thu Mar 25 15:00:31 2021 +0100 tdf#140968 tdf#140978 XLSX import: fix lost rounded filters introduced the bFiltering parameter in which case the edit format is not used (and bFiltering is also set when collecting the filter entries for .xls export). In fact the logic should be changed such that obtaining the edit format isn't even executed in that case. For now just fix the "#FMT" case to be backported. Also, the bool return of SvNumberformat::GetOutputString(double,OUString&,Color**) does not indicate success or failure, but whether the "star" asterisk spreading was inserted or not. Contrary to SvNumberformat::GetOutputString(double,sal_uInt16,OUString&) ... cough. Change-Id: Ic8cbbd283a80c654a9ff22ea36897c9b72b8837d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144110 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-12-13tdf#152029 Bring footnotes and endnotes to attention in the documentJim Raykowski
view when mouse pointer is over footnote and endnote content type and content entries in the Navigator content tree Change-Id: Iec1c2112aa934e21340fd2a21ea4b3bf8d1ce9cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143900 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-12-13Use libxml2 instead of expat in bundled fontconfig in the Emscripten caseTor Lillqvist
For just running LO itdelf as WASM it presumably does not matter. But, when building Collabora Online as WASM, using expat in fontconfig turns out to be problematic. The Poco library that Online uses includes a bundled expat library. For some reason the function signatures in that expat are different from those in the bundled expat library from LO core. Thus you get "RuntimeError: null function or function signature mismatch" as only the Poco copy of expat gets linked in in the WASM binary and when code in fontconfig tries to call expat code the signatures don't match. Change-Id: Ic035bb7aab06564ad0050519a2d7a0975ad3a14d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144049 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-12-13Mark external/cppunit/propagate-exceptions.patch.0 as upstreamedStephan Bergmann
Change-Id: I847b682c2823dcaf523f361044105e91462fbc3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144075 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-12-13sw: rename SwFormat::m_bAutoUpdateFormat to m_bAutoUpdateOnDirectFormatMiklos Vajna
To make it more obvious that this flag describes the relatively obscure feature where a direct format on one paragraph automatically makes it into its style and all other paragraphs with the same style are updated accordingly, kind of preventing real direct formatting. Change-Id: Ia97929cd65f1aa0ff7f11425ec6d00f234053921 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144051 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-12-13Update git submodulesRafael Lima
* Update helpcontent2 from branch 'master' to cd924ae6a0bd8fbaad2ee4bcac7d4ccd7c689a59 - Update documentation of SF_Dialog and SF_Dialog control services This patch does the following changes: 1) Explain how to handle exceptions in dialog and control event handlers (both in Python and Basic) 2) Document the new SetPageManager method 3) Plus a few minor fixes in the text Change-Id: I4f7b3bfae025b45214b90dd036ecdbf4977d47e9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144018 Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-12-13Update git submodulesChristian Lohmaier
* Update helpcontent2 from branch 'master' to f048f02f505704a76c4f01b4ff3f369e8ed928b5 - hid2file.js generation: process in batch, not each file one-by-one xsltproc can happily process many files at once, no need to process them individually and also no need to surround them with the rm, touch, rm triplet each time to catch a possible error. When letting xargs actually run the command, then xargs will report error if any invocation failed. It will not stop execution commands for remaining input unless the command exists with status 255 explicitly, but this doesn't matter, processing the whole batch regardless is still much faster than processing each file separately. To maximize the number of files that can be processed in a single command, don't prefix each file with $(SRCDIR)/, but instead cd to $(SRCRDIR) before running the command. Change-Id: I532a54f7298d7011900af5e618d75b37649b0477 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/144050 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13Fix the "Found char > 127" warning to check the correct charactersMike Kaganski
Change-Id: Ia4a713c8a5ddda11e9802cbc317dde9ff48b8fd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144026 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-12-13Update git submodulesChristian Lohmaier
* Update helpcontent2 from branch 'master' to 5b99afe8ba3afe1a4673f8b7628011ced5583570 - avoid needless rebuilds of helpimages also the create_ilist.pl doesn't really do much anymore, was easily replaced by a plain $(file …) call Change-Id: I63a41ef8ed289feb4ab210961d2200032adaac28 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143936 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13don't rebuild Gallery themes if nothing changedChristian Lohmaier
Change-Id: I49fe9d36550a3f712be57fd4e67f0606ee8feea9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143909 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13don't rebuild icon-themes if nothing changedChristian Lohmaier
Change-Id: I99ab68852d1f6e915a4cd92a4be2d28209e546ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143934 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13use $(file …) directly instead of gb_var2file when not used as intermediateChristian Lohmaier
i.e. when the temporary file is not uses as a responsefile for another command, but instead the point of running gb_var2file is to have that file as a result in the end. also move the helper into the main gbuild.mk and remove Tempfile.mk Change-Id: I79382bef5d7e8a155ba6a8e0750c6a17da42eb37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143912 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13Update git submodulesChristian Lohmaier
* Update helpcontent2 from branch 'master' to e1cf5179765728ac70b100352ffb09bc1ec3fde5 - gb_var2file: remove now unused chunk-size parameter (help repo) Change-Id: Ie0a310b004d969b62c9ee886fee3e8e50d6e5184 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143935 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13gb_var2file: remove now unused chunk-size parameterChristian Lohmaier
that parameter did specify how many entries of the list the workaround method could use to not exceed commandline length limits, so it was a guess of sorts and many places didn't actually bother with tweaking that value anyway and just used 100. the $(file …) function doesn't care about that, so the parameter was always ignored in that case. Change-Id: If89ec3a1968be297c0fe7c65336c5a965598f0c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143911 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13bump minimum make version to 4.0 (for $(file …) function)Christian Lohmaier
This already was a requirement for Windows for a few years now, and make 4.0 was released nearly 9 years ago, and it has been used in LO's build system since it has been added 11 years ago while it was only available in prerelease versions of make, providing an alternative workaround for systems that didn't have make built from cvs… I guess it is finally time to get rid of those workarounds and just require make 4.0 for everyone. NOTE: reading files with the $(file …) function was only added with version 4.2 of GNU make, and just using it without contents was added in 4.1, so those usages aren't supported Change-Id: Ia1c2c86cfdbbd81f349bb9f7188299e16bdd155f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143910 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13tdf#45949 sw: add spell checking to hyperlinked textLászló Németh
Recognize plain words within hyperlinks and check their spelling. Not only URLs and e-mail addresses, but plain text of hyperlinks were removed from spell checking, which didn't conform to the specification: "URLs are skipped during spell checking Spelling of URLs in document doesn't make sense, because the words are not separated and often they aren't natural words at all. Since we can only decide what we know, we will only except URLs from spelling already recognized/formatted as URLs and if the URL and the text representation are equal." http://specs.openoffice.org/appwide/linguistic/Spellcheckdialog.sxw, see also https://bz.apache.org/ooo/show_bug.cgi?id=40133. Follow-up to commit ec8fdffec29de7c80da0c2a440e467c35a297119 "tdf#152492 sw: fix unwanted spell checking of parts of URLs" and commit 2cca160f8bfc4597cf0ad3aaaf0017a5210ea0ec "tdf#126657, tdf#145104: Don’t set language to none on defined styles". Change-Id: If2698c54bcdee0de635abd324173c909d9161a02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144044 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2022-12-13tdf#152492 sw: fix unwanted spell checking of parts of URLsLászló Németh
In new documents, spell checking started to report spelling mistakes within the recognized URLs. Regression from commit 2cca160f8bfc4597cf0ad3aaaf0017a5210ea0ec "tdf#126657, tdf#145104: Don’t set language to none on defined styles". Note: skipping spell checking of recognized URLs was specified by http://specs.openoffice.org/appwide/linguistic/Spellcheckdialog.sxw, see also https://bz.apache.org/ooo/show_bug.cgi?id=40133. Unfortunately, the original implementation caused possible regressions in text layout, so it was reverted in the previous commit. Change-Id: Ic5f84c8ec195677640a8870f2c484f3b6ef8b9db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143946 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2022-12-13SF_Dictionary: tdf#152351 Fix ReplaceItem does not accept array as valueJean-Pierre Ledure
Next basic code Dim myDict as Variant myDict = CreateScriptService("Dictionary") myDict.Add("key", Array()) myDict.ReplaceItem("key", Array(1, 2, 3)) produces an error message incriminating the user code. While it should run normally ... Fixed by enlarging the validation rules. Change-Id: I667abc81cb712308764c342d0e74b95821e46a5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144041 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins
2022-12-13tdf#151548 sw content controls: preserve lockJustin Luth
DOCX SdtControls can be locked in two ways: -Content Control cannot be deleted (sdtLocked) -Contents cannot be edited (contentLocked) or both (sdtContentLocked) make CppunitTest_writerfilter_dmapper CPPUNIT_TEST_NAME=testSdtRunRichText make CppunitTest_sw_ooxmlexport4 CPPUNIT_TEST_NAME=testSimpleSdts make CppunitTest_sw_ooxmlexport17 CPPUNIT_TEST_NAME=testDateContentControlExport make CppunitTest_sw_core_unocore CPPUNIT_TEST_NAME=testContentControlDate make CppunitTest_sw_macros_test CPPUNIT_TEST_NAME=testVba make CppunitTest_xmloff_text CPPUNIT_TEST_NAME=testAliasContentControlExport make CppunitTest_xmloff_text CPPUNIT_TEST_NAME=testAliasContentControlImport Change-Id: I5a82d9f6b5103a4902f59af66cd8a99addd4e690 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143542 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-12-13Related: tdf#152454 don't use Button to render dark mode TabsCaolán McNamara
on Windows. I can't find anything obviously suitable, so fall back to drawing simple rectangles with ActiveTabColor/InactiveTabColor Change-Id: Ic9e67baeb9e86c80787aa935d8f266e4a7db4489 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144046 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-13Related: tdf#152454 pick something suitable for dark mode Inactive tab colorCaolán McNamara
on Windows Change-Id: I400ca7d8c0c541977b574ae08f08aa5f28a2e3d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144045 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-13Update git submodulesAlain Romedenne
* Update helpcontent2 from branch 'master' to 551e891308a664f5c17613d381044381e2d92bb0 - tdf#134377 Refactoring a few help pages for 'built-in' file dialogs … for the following use cases: - (Writer, Impress, Forms) Insert ▶ Image - (Impress) Insert ▶ Audio or Video - (Base Report) Insert ▶ Media ▶ Image Change-Id: I44c15e13d5fad60f30889d396b829784c09938d3 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/143973 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-12-13tdf#148035 sw content controls: cursor-move for runSdt onlyJustin Luth
For normal documents, just doing a Push/PopSdt on a block SDT seems to work out-of-the-box for checkbox/dropdown/date content controls. Apparently that is not the right way to do it though. When I was trying it, the first control was always "lost". This patch takes care of that. At the moment it does nothing since only runSdt's even call push/pop, but at least it might save some trouble later on when block SDTs are turned into content controls. Change-Id: I6bf68f296ca919dc09dec660c052ddbdb59d56bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144007 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2022-12-13nss: upgrade to release 3.86.0Taichi Haradaguchi
Change-Id: Ia236c7124d920785f7a2856db5ee1ccbef7a2d68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143038 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-13sw, createTextRangeByPixelPosition(): fix crash with at-page anchored imagesMiklos Vajna
When createTextRangeByPixelPosition() was called with a position that is inside an at-page anchored image, we crashed. The problem is that in general we can't create an XTextRange for a graphic node. We already tried to return the anchor position for graphic nodes since 2302ebefb2e25878e8fe1e64d208f265f87d5b9b (sw, createTextRangeByPixelPosition(): fix crash when the position is an image, 2022-11-22), but that fixed the problem only in case GetContentAnchor() gave us a doc model position. Fix the problem by returning an empty reference in the "graphic node but no content anchor" case, that is still better for at-page and at-frame anchored images than a crash. A follow-up change could be to add a new API that has a more generic return type (similar to how getSelection() returns `any`) and then return the image itself, not its anchor in the image case. That approach would work for at-page and at-frame anchored images as well. Change-Id: If850ec945c24052568230a83da2ae2aa004b4265 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144043 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-12-13Update git submodulesAdolfo Jayme Barrientos
* Update helpcontent2 from branch 'master' to 77d02e65e9acae649867fe67cdba46f30e58a7e0 - tdf#152491 Update CSS coloring to match new icons https://wiki.documentfoundation.org/Design/Branding#LibreOffice_application_colors Change-Id: I914ddfd14f0ca351f4eed5eb14ed8ea6ed904422
2022-12-13MBI_NORMAL should be PBS_NORMALCaolán McNamara
Change-Id: I263d96e50699fe878ce153dc88ebfd00cd92415b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143999 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-13Add Emscripten ifdef to bootstrap_getExecutableFile()Tor Lillqvist
Change-Id: I15d31873a27ace544a76a64fe354edb97b144424 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144039 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-12-13Related: tdf#150007 add destructive-action to file overwrite message dialogCaolán McNamara
Change-Id: Ic522555a2d9d100a13f1d1dc35cfd6a57675447e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144038 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-13poppler: upgrade to release 22.12.0Taichi Haradaguchi
Change-Id: Ic0544fa378705b97b437132fc8860a65692634da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143977 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-12-13libpng: upgrade to release 1.6.39Taichi Haradaguchi
Change-Id: I46ad0c9426a115ba19620814397a834923e03ca6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143976 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-12-13resave with latest gladeCaolán McNamara
Change-Id: I2d65cdcd5f8e2050173fa90365239c6d68f02e62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144037 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-13remove bogus icon file ".svg"Christian Lohmaier
Change-Id: Ie5a6758bed4529af27d237ed6f99fb6b8de23946 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144034 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-12-13ofz#54240 Integer-overflowCaolán McNamara
Change-Id: I78058fa65c496ae537942222cff242943e6114ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144010 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-12-13Attempt to add ifdefs for WASM (Emscripten) for LOKit-based codeTor Lillqvist
Change-Id: I5b2556d1be61fa3a1d7996ce8d61958fbe7984c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144002 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-12-13tdf#152435 Revert "Make EMR_SAVEDC not UpdateClipRegion"Paris Oplopoios
This reverts commit 1230b88055c7389d2c376c316f91549e4aaef8aa. Reason for revert: The reverted commit breaks the files documented in tdf#152435 (some text is not shown in those .EMF files). The reverted commit would solve an issue where some text was not clipped correctly, albeit in a naive way. As it is more important that text is shown rather than some text having correct clipping, that patch is reverted and I will look for one that fixes both cases. Change-Id: I42e85b802b8bf1e77e96f0016cd1d83201047032 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143970 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-12-13sw: document SwDPageMiklos Vajna
That shared draw page means explicit clipping is needed at many places, e.g. this is the reason SdrPageView::DrawLayer() has a page frame parameter. Change-Id: I6b36c977a30d44e449b8b3a46ac4368f34210887 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144009 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>