summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2025-01-02Sort bin/find-unneeded-includes resultsGabor Kelemen
not naturally, but numerically so a hit in line 101 will be listed after the hit in line 99 not after the one in line 10 Change-Id: Ic5b3da80df20a3aeda7b1a71c8d6380371ed3ee8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179320 Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Tested-by: Jenkins
2025-01-02Revert "find-unneded-includes: don't suggest removal of fwd decls"Gabor Kelemen
This reverts commit cee2e455605bbb921e1e32201cc27af973cb775c. Improve the forward declaration removal algorithm: run IWYU without --no_fwd_decls but ignore the header removal suggestions This way only the obsolete forward declarations are listed Previously we did not have a way for telling apart needed and unneeded forward declarations, now these can be cleaned out too Put this mode behind a new command line switch: --fwdecl Change-Id: I1b5659fd44253627adbaa7866178ddc000b1b5eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178966 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-12-23crashreportScraper: open links in new tabXisco Fauli
Change-Id: I577b8d9ceff6c1aa74128a14a1e0f8ef57c3fd89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179258 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-12-21crashreportScraper: output to htmlXisco Fauli
it's clearer and faster and easier to add links Change-Id: Id3f41daae257cf002c63b9203ec9f24857b8fcb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178959 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-12-20crashreportScraper: fix idsXisco Fauli
Change-Id: I55b3529cdda0219fabb4ea14c8fa2a90e88b5a78 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178914 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-12-17[API CHANGE] a11y: Drop UNO service to create a11y contextsMichael Weghorn
Drop the com.sun.star.accessibility.GetStandardAccessibleFactoryService UNO service that was used to create instances of the a11y classes for (mainly vcl) widgets. The service was needed to break a dependency cycle. However, with Change-Id: Ib46c87446dc9121d3b8e735e0e5a40594da73cc5 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Tue Dec 17 12:04:04 2024 +0100 a11y: Merge accessibility module into vcl and all the preparatory commits in place, there is no more dependency cycle, as the a11y classes for vcl widgets no longer depend on any modules "above" vcl. Therefore, drop the UNO service and the abstract vcl::IAccessibleFactory class and other related classes. Make all methods in the AccessibleFactory class (that was previously subclassing the abstract IAccessibleFactory) static helper methods, and call them directly. The UNO service dropped in this commit was introduced in commit 1af510e95147374e5289ae1c12f1f280931919f4 Date: Wed Feb 21 11:30:47 2024 +0200 Create an UNO service to do the symbol lookup in toolkit::AccessibilityClient and its documentation was already clearly stating that it's only meant for LibreOffice internal use: > /** > The toolkit module uses this to get a pointer to the AccessibleFactory from the acc module. > Because we have a dependency in our modules that goes the "wrong" way. > > @since LibreOffice 24.8 > > @internal > > ATTENTION: This is marked <em>internal</em> and does not > have the <em>published</em> flag, which means it is subject to > change without notice and should not be used outside the LibreOffice core. > */ Change-Id: Ib97396a4bad486d9530361dd851ad3ee0f9681b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178689 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-11-13bin: Add script to check the latest version of external librariesXisco Fauli
it uses https://release-monitoring.org for that Change-Id: I8ec79f3b1b5e9ae57cc35e19156cba5022870911 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173618 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-28find-unneeded-includes: nicer output with --finderror optionGabor Kelemen
Change-Id: I9d60825fec879169228b18d0d57e59221c11623b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175550 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-10-24Remove archaic xmergeCaolán McNamara
Formats like Aportisdoc can be opened via org.libreoffice.comp.Writer.EBookImportFilter instead. It doesn't look like there will be any support implemented for Nokia 9210 Communicator PsiWord. No particular burning demand for that anymore apparently. Removal of the filters that used xmerge took place at: commit a5783fe922b2419b5b662eb5f544a1f401341dbf CommitDate: Sun Mar 3 19:19:26 2013 +0100 remove stale javafilters Change-Id: I0a0087fb2ee015de42c1802b5e9bc6dc42a5efe1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174563 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
2024-10-24diff-pdf-page.py: remove intermediate composite stepJustin Luth
One convert step can be eliminated, which should help with performance. Change-Id: I860c90fec7f178b456b942d8ad4e4ec5d0412e05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175467 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2024-10-24diff-pdf-page.py: change assumed background to transparentJustin Luth
The page background color of a document likely is white, so at least the overlay (the second PNG) must be transparent. [I saw (in Draw) that PRINT-TO-PDF tended to produce a PDF that would have a transparent background when converted to PNG, but that EXPORT-TO-PDF from LO would produce a white background that obviously would fully overlay and obscure the first image.] (Calc and Writer's export-to-pdf produced a transparent background.) In any case, it makes sense to try to force both of these to have a transparent background. NOTE: It was important to place -transparent before -fuzz, or else 95% of all colors will be considered white and turned into transparent. Change-Id: I26e6081fcd59e82b2aaedb86370bdbcc57b0a24e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175466 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2024-10-24diff-pdf-page.py: allow use of "magick" (on Windows)Justin Luth
The ImageMagick package on Windows does not use convert, but uses magick (which is not used by Linux). So use a variable to make is simpler to make it usable under Windows. Note that cygwin's ImageMagick package does use "convert", overriding Windows built in disk convert tool. Change-Id: I658e0eb11400cf9e6c65ab4ba150ed2ab239c94e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175455 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: László Németh <nemeth@numbertext.org>
2024-10-24diff-pdf-page.py: use magick order for -compositeJustin Luth
Apparently, "convert" allows a unix ordering which doesn't work when using the "magick" alternative under Windows. The point here is that -composite is an action for the third image argument, so it needs to come after the reading in of the source image-sequence. Change-Id: Ic9345d616c6c62c211c5b7eb359c4019501bef2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175454 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2024-10-18find-unneeded-includes: add option to detect IWYU failuresGabor Kelemen
In some cases IWYU may fail to run and give back -1 status - A file does not have any headers included, such as sw/source/ui/vba/vbawordbasic.hxx - A header includes itself such as sw/source/ui/vba/vbaformfielddropdownlistentries.hxx - Checking headers is not called with correct -I switches such as with sw/source/writerfilter/dmapper/*hxx misses -I/home/gabor/core/sw/source/writerfilter/inc Such cases were not handled/reported separately so far, so add a debug-like option to detect similar errors. Solving such issues is still down the road. Change-Id: I47ac876eb4eb4a0c16bd838ce3c3e4d604a07a7f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175099 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2024-10-06writer2latex is long goneCaolán McNamara
since: commit c5ae3e6de97f1341ea236680af3f4a1b5698796c CommitDate: Thu Apr 23 11:44:51 2009 +0000 CWS-TOOLING: integrate CWS native241correct_DEV300 2009-04-06 15:56:56 +0200 rene r270566 : autoconf 2009-04-06 15:56:02 +0200 rene r270565 : remove writer2latex Change-Id: I638a4369b9718e99446521bc8d0c45e480e145ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174562 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-29tdf#163170 Add support for MS Visio Template format with .vstx extensionBartosz Kosiorek
libvisio is already supporting .vstx template format. With this patch the LibreOffice is recognizing such file types, and successfully opening it. More information about format: https://learn.microsoft.com/en-us/office/client-developer/visio/introduction-to-the-visio-file-formatvsdx Change-Id: Ibee01288cdb2cd6a0ac3f371a22604d7bb5b471c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173997 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2024-09-27Add file stats to check-missing-unittests.pyAdam Seskunas
Get files modified, insertions and deletions for each of the missing unit tests. Change-Id: I7b6c2f0f988137c533d7b9283faa9a2753ef41e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173481 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-09-25add a rtf to pdf fuzzerCaolán McNamara
Change-Id: Ib805b2e8245903f63096cc21f511ba7ae0a4f488 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173466 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-09-18.NET Bindings: Create nuget package for LO SDKRMZeroFour
This patch includes: 1. CustomTarget to build and place the LibreOffice.Bindings NuGet package in <sdk>/dotnet/ 2. net_bridge (.NET library) to declare bootstrap() on the C# side, and net_bootstrap (C++ library) to wrap bootstrap() on the native side 3. Changes to LO SDK scripts to find .NET SDK and DOTNET_ROOT on the users machine Change-Id: Ia29ae56a2ad0f808f1563ef6167a3bd7c476642e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170172 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2024-09-10Add arguments to Last 4 UNO Commands in CrashReport DumpXisco Fauli
Change-Id: I8ea1e95abb62374b51de7b1d37055c216b29e04c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173125 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
2024-08-29tdf#161826 - Add uniform Glow effect for texts in shapesBalazs Varga
- Add new text Glow effect properties for shapes - Using TextGlowPrimitive for rendering uniform text glow in shapes - Add/allow new UI Glow Effect for texts in shapes on sidebar (Only for Impress/Draw and Calc) - Import/Export ooxml files with Glow effect on texts in shapes (Only PPTX/XLSX) - Import/Export odf files with Glow effect on texts in shapes - Add unit test for glow text attributes in ODF - Add uni tests for OOXML import/export Note: Also this patch effects on tdf#144061 - Effects: Allow GLOW to apply to Text (as we have for shapes) Change-Id: I16586c01654f197f532129e4e06aa2ef9f214395 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172216 Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de> Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2024-08-15merge CntUnencodedStringItem into SfxStringItemNoel Grandin
which simplifies the hierarhcy. We never allocate such a thing, we always allocate subclasses, and it has no real meaning by itself. Change-Id: Ie6b716c9ea6ca0efe0ae4f39ac345608c45534f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171890 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-08-14dubious to enable/disable help button based on IsContextHelpEnabledCaolán McNamara
in just the SingleTabController, which is a specific subset of all dialogs, the case of a dialog that hosts a page typically seen in a multi-table dialog. Why should such a dialog have no help, while its sibling containing the same page alongside others would have help, or vice-versa. Change-Id: I3f54c0088e30a396e83e990510ebe7f1f3bc7bda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171848 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-25bin: fix issues found by Ruff linterIlmari Lauhakangas
Change-Id: I44e546defb278bb5217ed028dcaebc9fb2d23f0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171020 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-25bin: fix issues found by Ruff linterIlmari Lauhakangas
Change-Id: Ic81d21a90059f5db87543c8ce2abb8007f278f14 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171008 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-07-19configure,curl: enable GSSAPI on Linux/MacOS/etc.Michael Stahl
This will link libgssapi_krb5.so.2 which is in krb5-libs (ABI CL1 in RHEL8, ABI CL2 in RHEL9). Change-Id: I2dbaa64e70f4502c5a47c6c85123c94b9ad41277 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170758 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-07-14Fix Python: use is None/is not None instead of == None/!= NoneJulien Nabet
Thank you Kevin for having spotted this! Change-Id: Ic63469d2d8dfd3f7848b6fc2250f90271055c027 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170449 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-07-13Python: use is None/is not None instead of == None/!= NoneJulien Nabet
Change-Id: I1c34181897506ad29a063865d752cb85ab76dbc3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170408 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2024-07-10merge-app-bundles: fix _ctypes.cpython pathXisco Fauli
Change-Id: I247c9674de88c9b97297d01b24232a562bcade01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170318 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
2024-06-30vs-ide-integration: set correct solution / project platformMike Kaganski
This allows the IDE to show active #ifdef conditions, type sizes, alignment, memory layout, selected overloads, and so on. Change-Id: Idd1211df3b3745658f1996a494929b07cf7aa573 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169772 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-06-25tdf#158803 F821: xrange undefined, should be range in py3; remove some ↵Leonard Sasse
unused variables changing range(len()) to enumerate as suggested by Arkadiy Illarionov Change-Id: I5000204281a5f6ded9c411525e612bf84b552f80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165505 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-06-06mar: allow parallel creation of diff packagesChristian Lohmaier
also include the version number in the base-URL for the mar files in the json-file Change-Id: I613ac7c1cf3aeb1eff856c58f00a67151267606c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168100 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-06-04bin: add a diff-pdf-page.py script to diff reference vs our rendering via PDFMiklos Vajna
Thanks László Németh for the idea, the mechanism used in the tool was also used to generate the visual diff visible at <https://wiki.documentfoundation.org/ReleaseNotes/24.2#New_line_break_algorithm_for_interoperability>. Change-Id: I51afb08c60c7134f75a54acdb94b49d2ff94befd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168404 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2024-05-27Adapt CustomTarget_postprocess/check_dynamic_objectsStephan Bergmann
...to 441d8ed9be0e7f831b455a69b8688dcb79a8bc00 "tdf#145735 avmedia qt: Use QtMultimedia for Qt 6 media playback", which caused > instdir/program/libavmediaqt6.so has suspicious NEEDED: libQt6Core.so.6 > instdir/program/libavmediaqt6.so has suspicious NEEDED: libQt6Gui.so.6 > instdir/program/libavmediaqt6.so has suspicious NEEDED: libQt6Widgets.so.6 > instdir/program/libavmediaqt6.so has suspicious NEEDED: libQt6Network.so.6 > instdir/program/libavmediaqt6.so has suspicious NEEDED: libQt6Multimedia.so.6 > instdir/program/libvclplug_qt6lo.so has suspicious NEEDED: libQt6Multimedia.so.6 > instdir/program/libvclplug_qt6lo.so has suspicious NEEDED: libQt6MultimediaWidgets.so.6 > instdir/program/libavmediaqt6.so has suspicious NEEDED: libQt6MultimediaWidgets.so.6 > instdir/program/libavmediaqt6.so has suspicious NEEDED: libxcb.so.1 Change-Id: Iccbef5048ddb8375da33517ca0f797fe8f8d5565 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168093 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins
2024-05-26Add gssapi/kerberos libs to mariadb connector lib checkThorsten Behrens
After https://gerrit.libreoffice.org/c/core/+/159954 this started to fail with: > instdir/program/libmysqlclo.so has suspicious NEEDED: libgssapi_krb5.so.2 > Change-Id: I6014136a053ba7ef92aef55a80517fb38c75e4ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168042 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-05-21tdf#158803 Remove E999: SyntaxError's and some other minor editsLeonard Sasse
Change-Id: I32d75eb03b1f1fd011dcbc6950bf74800446a422 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165464 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-05-15Remove obsolete TODOGabor Kelemen
This was implemented recently with find-unneeded-includes --ns Change-Id: I703f68890f383a474ca33e0b2e122f9f0420a829 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167636 Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Tested-by: Jenkins
2024-05-11Drop now unused SdOptionsLayout, SdOptionsLayoutItem classesGabor Kelemen
Change-Id: I5d4e77f8377eead4581f590a4cc160a3fa97e2a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166601 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-04-29reduce symbol visibilityNoel Grandin
Change-Id: Ibc850eb12c38f2985015f06e330585b02d6bf15f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166822 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
2024-04-28reduce symbol visibilityNoel Grandin
Change-Id: Iad2d114d257244f456d5579636e5c25ce070a08a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166805 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-28improve the mergedlib scriptNoel Grandin
by copying the improvements from the normal find-can-be-private script. Change-Id: I3cb23022ca33d3008af962fa99b5b0907fe753b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166783 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-27update can-be-private results fileNoel Grandin
Change-Id: I2ed375d0c47391b5afaa88935294313175f7b142 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166776 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-26Make odfvalidator and officeotron work in WSL_ONLY_AS_HELPER modeStephan Bergmann
...where e.g. CppunitTest_oox_testscene3d CPPUNIT_TEST_NAME=test_material_wireframe::TestBody had failed with > forced failure > - Error: Unable to access jarfile /mnt/d/lo/tar/odfvalidator-0.9.0-RC2-SNAPSHOT-jar-with-dependencies-2726ab578664434a545f8379a01a9faffac0ae73.jar and e.g. CppunitTest_oox_mcgr CPPUNIT_TEST_NAME=testAxialColorLinearTrans::TestBody had failed with > equality assertion failed > - Expected: 0 > - Actual : 1 > - failed to execute: sh D:/lo-wsl/core/bin/officeotron.sh C:\Users\steph\AppData\Local\Temp\test_oox_mcgr.dll2epgul.tmp > C:\Users\steph\AppData\Local\Temp\test_oox_mcgr.dll2epgup.tmp 2>&1 > Error: Unable to access jarfile /mnt/d/lo/tar/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar Change-Id: I094b76daff6eef2cb6a9874a4776bab9c4424f49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166703 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins
2024-04-18move writerfilter inside swNoel Grandin
writerfilter wants to convert incoming RTF and OOXML files into writer's document model. But it currently has to do so by manipulating the limited subset that we expose through the UNO API. This is both slower and less accurate than having access to the full document model. So move it inside, and then we can strip out various hacks, and optimise imports. Change-Id: Ie1114d28130ef5f9a786531bc552cb8ee7768015 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165953 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-15lok: provide global random symbol to find random device.Michael Meeks
This is vital for lok when used in a jail with no random device, but with an inherited file-handle to /dev/urandom. Use 'dup' to avoid changing code that wants to 'close' the handle after use. Change-Id: I15f40fb251f180a2394af030f56e47f2bf9651d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166113 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-04-09find-unneeded-includes: improve grepping for namespacesGabor Kelemen
for example this was not found: extensions/source/update/check/updatecheck.cxx:58:namespace frame = com::sun::star::frame ; due to the missing using and the space before the semicolon but IWYU correctly detected it as unused Change-Id: I404c93d41aec1a571c9ac49db7b7c7e8da824bf6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165698 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-04-09find-unneeded-includes: improve list of namespacesGabor Kelemen
Add 'star' for com::sun::star instances Add some vcl-specific ones 'PackageKit' gave always a false warning due to the similarity in org/freedesktop/PackageKit/*hpp and officecfg::Office::Common::PackageKit::* Change-Id: I109e7a2e8d7588d62b2a6bec2e55ec32e993e49e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165697 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-03-28Drop transitional header xmlsecurity/xmlsec-wrapper.hGabor Kelemen
It was introduced with commit ec52e5e5a204862905b555cdc1f7393aede1f7d8 and the reason of that was the XMLSEC_NO_SIZE_T behavior consolidation. But this was removed later with commit bfd479abf0d1d8ce36c3b0dcc6c824216f88a95b Change-Id: Ib5350d9ab5554d1412821b762cd3ee7906b65b64 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165440 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-03-28tdf#158803 unnecessary semicolonsLeSasse
Change-Id: I19cd8fed788297bdc4b6b332b2f1768bc40fd00b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165377 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-28tdf#158803 remove unused path.convert_to_unix importLeSasse
Change-Id: I01b8626c95bc234db38c76ee2fc6a17c91aad477 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165374 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>