Commit graph

492212 commits

Author SHA1 Message Date
Caolán McNamara
36a1484f72 cid#1546421 COPY_INSTEAD_OF_MOVE
Change-Id: Ifab2f2f5ec8c7f41cd705e0fb07d1273a34b879d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161724
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-06 21:52:26 +01:00
Caolán McNamara
a8b20ca2fe cid#1545475 COPY_INSTEAD_OF_MOVE
and

cid#1545626 COPY_INSTEAD_OF_MOVE
cid#1546203 COPY_INSTEAD_OF_MOVE

Change-Id: I98a6c36e77fe633d50fdb1a0f063b2656f852a2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161718
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-06 21:52:18 +01:00
Caolán McNamara
3871cca612 cid#1545576 COPY_INSTEAD_OF_MOVE
Change-Id: I085cc6802ba72c2334398dd34be9eecdab2ea575
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161709
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-06 19:48:32 +01:00
Caolán McNamara
f7327527d4 cid#1560053 Missing move assignment operator
and

cid#1560054 Missing move assignment operator

Change-Id: I438699b24ca7aa7726dbce3af310d80327b9a717
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161708
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-06 19:48:25 +01:00
Caolán McNamara
0b888c7854 fix build
since:

commit df1e72b853
Date:   Mon Jan 1 02:15:52 2024 +0100

    Use officecfg instead of SvtFilterOptions wrapper in sc

Change-Id: I8b90389e60b3bebf6f88bca2784188fea3682e12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161711
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-01-06 19:12:02 +01:00
Matt K
0ba4e0483b tdf#73678 Prevent conditional formatting from being lost in Calc
The problem is that when a Calc tab sheet is moved from one position
to another, the ScConditionEntry aSrcPos member variable isn't updated,
and therefore when deleting a blank sheet in front of a data sheet the
deletion still thinks it's looking at the correct sheet but it is now
out-of-date and as such the conditional formatting references are
invalidated such that all math operations are tested against 0.0 instead
of the actual formula value for the condtional formatting, which has
the side effect of updating cells colors that should be uncolored as
per the conditional formats set on them.  The fix is to update this
aSrcPos member variable of ScConditionEntry via the call to
ScTokenArray::AdjustReferenceOnMovedTab from
ScConditionEntry::UpdateMoveTab, which is called on tab sheet move.
This way, the aSrcPos variable is up to date when
ScConditionEntry::UpdateDeleteTab is called, which is called on tab
sheet delete.

Change-Id: I3bbc8111bb1685d6f7f307a15c852c6657f37b3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160234
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-06 18:20:29 +01:00
Olivier Hallot
06eeb2fb3d Update git submodules
* Update helpcontent2 from branch 'master'
  to 9054c070a7f7bb7c849c479bb693e750fe07b659
  - tdf#155876 UI cmds Calc-Tools menu (51)
    
    + Tools menu for Calc, Auto input, redact
    + fixes
    + refactoring
    
    Change-Id: I81a60bbff5996ae044797a8c4dde76265c10de4d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161714
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-06 17:37:06 +01:00
Olivier Hallot
0136fc130d Update git submodules
* Update helpcontent2 from branch 'master'
  to 46c9d68331df731a5318622ff1f1e15b54bbc8ca
  - tdf#155876 UI cmds Calc-Tools menu (50)
    
    + Tools menu for Calc, spelling commands
    + fixes
    + refactoring
    
    Change-Id: I7ad27f48ac6e989b5091d3132f7bec911d2b0507
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161713
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-06 17:35:46 +01:00
Taichi Haradaguchi
00eae23267 tdf#134526 Firebird: upgrade to release 3.0.11
- Removed unneeded patches [1][2][3][4].
- No changes of ODS version.
- Added patch to revert upstream commits to avoid CppunitTest_dbaccess_firebird_test,
  CppunitTest_dbaccess_hsql_binary_import, CppunitTest_dbaccess_tdf119625
  and CppunitTest_dbaccess_tdf126268 failing when building on Windows.

[1] "extern/cloop: Missing dependencies of compilations on output directories"
<https://github.com/FirebirdSQL/firebird/pull/6948>
[2] "Fix checks for null HANDLE in Windows-only code"
<https://github.com/FirebirdSQL/firebird/pull/301>
[3] "Fix warning on Win64 build"
<https://github.com/FirebirdSQL/firebird/pull/231>
[4] "Mac sandbox" <https://github.com/FirebirdSQL/firebird/pull/308>

Change-Id: I17aa4938e41bfc070317fbb92ccea10f2db4d24d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152016
Tested-by: Jenkins
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-01-06 02:37:26 +01:00
Xisco Fauli
25276df12a tdf#158743: sd_png_export: Add unittest
Change-Id: I598960d8cc7d394581def20de3ab64a8ff6c7789
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161694
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-01-05 23:41:33 +01:00
Hossein
1ec3ef4db8 Update comment to match function parameters
One parameter of SfxStyleSheetBasePool::Make function was changed in
0035573ee7, but that change was not
reflected in the comment. It is now updated.

Change-Id: I89f7c1a6e0424d11acddf1f94d3af370af691b36
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161611
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-01-05 23:30:47 +01:00
Caolán McNamara
e93d25ab97 report what font is missing when terminating test
even in release mode

Change-Id: I3e9673cc498202c64ba00f5cd2cd0e7429d77834
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161659
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 20:30:40 +01:00
Olivier Hallot
88e871125c Update git submodules
* Update helpcontent2 from branch 'master'
  to 77b44d5655ac785543535fbd05d422316ff68d0a
  - tdf#155876 UI cmds Calc-Sheet menu (49)
    
    + Data menu for Calc, Statistics commands
    + fixes
    + refactoring
    
    Change-Id: I7ef7700412232bc6265c537c94207f42c498e639
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161690
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-05 19:49:07 +01:00
Gabor Kelemen
df1e72b853 Use officecfg instead of SvtFilterOptions wrapper in sc
Change-Id: I8f8ff35452147fe83a772d87eb94e86b8877cac8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161590
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-01-05 19:02:00 +01:00
Gabor Kelemen
e6f77135b4 Use officecfg instead of SvtFilterOptions wrapper in sfx2, sd, oox
Change-Id: I1a404fe156c9c7859c1eb19d4dff9892f4598bc9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161591
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-01-05 19:01:25 +01:00
Henry Castro
fbbad70b94 tdf#127856: fix cell selection language
Clicking the language in the popup Calc's status bar,
it will change the cell range selection language property.

Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: I1cc218da44eff0a4d3acee7b089e54aaad474379
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161371
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 18:14:26 +01:00
Stephan Bergmann
feb110d8e9 Fix make create-update-info also for non-Windows
Change-Id: I83a44d0cb563b1caf9459dddec7c6409af6ac0f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161693
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-05 17:55:08 +01:00
Stephan Bergmann
7a63830a47 external/lxml: Silence -Wincompatible-function-pointer-types
...with Clang since
<af01f717c4>
"Default implicit function pointer conversions diagnostic to be an error",
causing

> src/lxml/etree.c:113121:38: error: incompatible function pointer types assigning to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') from 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  113121 |   __pyx_v_self->_c_ctxt->sax->serror = __pyx_f_4lxml_5etree__receiveParserError;
>         |                                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/lxml/etree.c:117609:25: error: incompatible function pointer types assigning to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') from 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  117609 |     __pyx_v_sax->serror = __pyx_f_4lxml_5etree__receiveParserError;
>         |                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/lxml/etree.c:181693:28: error: incompatible function pointer types assigning to 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') from 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  181693 |   __pyx_v_xpathCtxt->error = __pyx_f_4lxml_5etree__receiveXPathError;
>         |                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/lxml/etree.c:218967:60: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  218967 |   xmlRelaxNGSetParserStructuredErrors(__pyx_v_parser_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
>         |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> workdir/UnpackedTarball/libxml2/include/libxml/relaxng.h:156:30: note: passing argument to parameter 'serror' here
>   156 |                                          xmlStructuredErrorFunc serror,
>       |                                                                 ^
> src/lxml/etree.c:219385:60: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  219385 |     xmlRelaxNGSetValidStructuredErrors(__pyx_v_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
>         |                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> workdir/UnpackedTarball/libxml2/include/libxml/relaxng.h:185:31: note: passing argument to parameter 'serror' here
>   185 |                                           xmlStructuredErrorFunc serror, void *ctx);
>       |                                                                  ^
> src/lxml/etree.c:220274:59: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  220274 |   xmlSchemaSetParserStructuredErrors(__pyx_v_parser_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
>         |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> workdir/UnpackedTarball/libxml2/include/libxml/xmlschemas.h:156:30: note: passing argument to parameter 'serror' here
>   156 |                                          xmlStructuredErrorFunc serror,
>       |                                                                 ^
> src/lxml/etree.c:220817:59: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  220817 |     xmlSchemaSetValidStructuredErrors(__pyx_v_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
>         |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> workdir/UnpackedTarball/libxml2/include/libxml/xmlschemas.h:185:30: note: passing argument to parameter 'serror' here
>   185 |                                          xmlStructuredErrorFunc serror,
>       |                                                                 ^
> src/lxml/etree.c:221582:66: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  221582 |     xmlSchemaSetValidStructuredErrors(__pyx_v_self->_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_error_log));
>         |                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> workdir/UnpackedTarball/libxml2/include/libxml/xmlschemas.h:185:30: note: passing argument to parameter 'serror' here
>   185 |                                          xmlStructuredErrorFunc serror,
>       |                                                                 ^
> src/lxml/etree.c:222759:63: error: incompatible function pointer types passing 'void (void *, xmlError *)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
>  222759 |     xmlSchematronSetValidStructuredErrors(__pyx_v_valid_ctxt, __pyx_f_4lxml_5etree__receiveError, ((void *)__pyx_v_self->__pyx_base._error_log));
>         |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> workdir/UnpackedTarball/libxml2/include/libxml/schematron.h:106:31: note: passing argument to parameter 'serror' here
>   106 |                                           xmlStructuredErrorFunc serror,
>       |                                                                  ^

Change-Id: I98d1861acfe364d8f83aaca26100dc2c9729ec33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161669
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-05 17:54:25 +01:00
Caolán McNamara
1bcb7d4bda Resolves: tdf#158997 optimal col width too narrow to render text
optimal is measured with kerning on, while text is rendered with
kerning off

possibly a problem since:

commit 36eed54d3d
Date:   Tue Jul 3 15:00:26 2018 +0200

    Resolves: tdf#118221 whole cell kerning default is off

Change-Id: I0e6de75a89823f6ed58a74782e47feb0a44014e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161666
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 17:49:02 +01:00
Justin Luth
788eb8e7b3 fix build: Revert "tdf#111969 sw: acknowledge that last half-char
..acter for mouse pointer"

This reverts commit a7649b85f1.
I forgot to rebase this after a the Christmas break.

Change-Id: I78781808d15b81496b1572fb3bf304751ae279a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161668
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-01-05 16:17:22 +01:00
Stephan Bergmann
0c0b4f0ce5 Introduce external/onlineupdate/monitor-sources.sh
...to: "Monitor any changes in upstream git repo $1 between revisions $2 and $3
that affect files that we copy with our
external/onlineupdate/generate-sources.sh"

(and while at it add license boilerplate and a descriptive comment to
external/onlineupdate/generate-sources.sh)

Change-Id: I2872d04c2db9d3a7226a9e744d84367ae7aa8672
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161665
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-05 16:11:14 +01:00
Stephan Bergmann
bd2204b1ea Workaround for --disable-windows-build-signing --enable-dbgutil test builds
Change-Id: I8c14cfafd39b8575a5e1e236f965283718777416
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161663
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-05 15:33:32 +01:00
Darshan11
4030a04391 Send checkboxtype property to online for webtreeview widget
- webtreeview widget does not have any property that define that element is a checkbox or radio button
- added `checboxtype` property
- will help to identify the element type (radio/checbox)
Change-Id: Ic8aa0c3eeb6373566f3507ebf01cee3427a57704
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161043
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161655
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 15:10:19 +01:00
Justin Luth
a7649b85f1 tdf#111969 sw: acknowledge that last half-character for mouse pointer
This fixes WHEN the helpful mouse cursor changes to a finger
when over top of a smart-tag.

The impact is MUCH LARGER than just smart tags,
but they were the impetus for the change.

Prior to this patch, it would start half-a-character too soon,
and end half-a-character too early.

Change-Id: I84b1e91ccfac2aa18ec58ddfdea25cd199fc694a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161041
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-01-05 14:47:31 +01:00
Stephan Bergmann
4a3c1f0741 Also copy updater.ini (so that updater progress UI will actually shown up)
Change-Id: I2805087da196aa7153850345803999af4de313df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161660
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-05 14:47:29 +01:00
Justin Luth
062b4bee5e tdf#111969 sw: acknowledge that last half-character for popup/pointer
This fixes WHEN the helpful pop-up notifies about the cursor
being over top of a smart-tag, and suggesting that the user
can CTRL-clicking to activate the smart tag.

Prior to this patch, it would start half-a-character too soon,
and end half-a-character too early.

It similarly fixes WHEN the helpful cursor pointer changes into a finger
when holding ctrl and moving into the start or end of the smarttag.

Smart tags REQUIRE a plugin, so a unit test is out of the question.

The impact could be MUCH LARGER than just smart tags,
but they were the impetus for the change,
because smart tags are not portions while the other
things (redlines, fields, refs/footnotes, formulas) are.

The net effect on other IsAttrAtPos SHOULD be nothing,
so that still doesn't leave me with anything unit testable.

If I ONLY removed the --index from itrcrsr,
then unit tests in  uiwriter9 fail.
Adding aTmpState.m_bPosMatchesBounds = true
(which is the fix for smart tags) makes it not fail.

Adding bPosMatchesBounds OUGHT to obsolete an initial-import --index hack?
While I don't NEED to remove the (what looks to me) hack
(and it actually is super dangerous to remove it)
I really think it is obsolete and thus deserves removal.
Easy to restore if it proves a regression...

So bFieldInfo and bPosMatchesBounds end up doing much of the same thing.
This is one of only two places which sets m_bFieldInfo = true,
the other being a EnhancedPDFExportHelper.cxx which tests pEnd inclusively.
    cms.m_bFieldInfo = true;
    auto const [pStart, pEnd] = rShell.GetCursor_()->StartEnd();
    if (rShell.GetLayout()->GetModelPositionForViewPoint(&pos, center, &cms)
        && *pStart <= pos && pos <= *pEnd)
make CppunitTest_vcl_pdfexport CPPUNIT_TEST_NAME=testTdf157816
is not a good test for this - it passes without --index and !FieldInfo

Change-Id: I77df5e054879eb3bbc82907962b77386811bceac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161034
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Justin Luth <jluth@mail.com>
2024-01-05 14:44:51 +01:00
Stephan Bergmann
28bad382fa Fix make create-update-info (for Windows, at least)
* The shell scripts that had once been copied from Mozilla to bin/update/*.sh
  are now included in
  onlineupdate-c003be8b9727672e7d30972983b375f4c200233f-2.tar.xz (which is still
  generated from the same
  <c003be8b97>
  that was used for the original tarball in
  3a445cb497 "Turn onlineupdate into
  external/onlineupdate").

* The additional modifications in external/onlineupdate/lo.patch are:

** Allowing to pass the list of files into the mar tool via -f instead of on the
   command line, to avoid "command line too long" errors on Windows, inspired by
   the modifications once made directly in our old downstream sources with
   4165dd4e46 "add a way to create mar file from
   file", 8e4d49340b "use the new file based
   approach for the mar creation", and fb13ed6955
   "add the manifest file to the mar file".  (To keep things simple for now, it
   still uses a hard-coded maximum of 10000 lines in the file, marked with a
   TODO.)

** Not failing when "precomplete file is missing!"  (There is a comment

    // Applications aren't required to have a precomplete manifest. The mar
    // generation scripts enforce the presence of a precomplete manifest.

    in
    workdir/UnpackedTarball/onlineupdate/onlineupdate/source/update/updater/updater.cpp
    and it appears to be OK that we don't have such a  precomplete manifest file
    and just skip that test.)

* In the Makefile.gbuild create-update-info, the create_full_mar.py script needs
  to be called with a Unix pathname on Windows, or else the

  #!/usr/bin/env python3

  shebang in that script would get confused.

* The related Makefile.gbuild targets upload-update-info and create-partial-info
  have not been addressed yet.

Change-Id: Iab4e083ddbe99e07d846e202f20c6031e2983e1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161656
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-05 13:49:13 +01:00
Weblate
3a561a29cf android-viewer translated using Weblate
Spanish currently translated at 100.0% (118 of 118 strings)

Change-Id: Ic665ce7eb865fc0755c9b295229f5dca8ed83ae3

android-viewer translated using Weblate

Portuguese currently translated at 100.0% (118 of 118 strings)

Change-Id: I4112a3377775ac15c56464fd121d081d31bb6865

Added translation for android-viewer using Weblate (Portuguese)

Change-Id: Ifab7260e34b78fcbc9344d79807aa551416b4db2

android-viewer translated using Weblate

Hungarian currently translated at 100.0% (118 of 118 strings)

Change-Id: Ia4cb99b091c1035ccd1952e0bfb164e986381418

android-viewer translated using Weblate

Italian currently translated at 94.0% (111 of 118 strings)

Change-Id: I1c1d672a34b8684b5cb17215d0575a91c2c067a6
Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org>
Co-authored-by: Gábor Kelemen <gabor.kelemen.extern@allotropia.de>
Co-authored-by: Sérgio Marques <smarquespt@gmail.com>
Co-authored-by: Valter Mura <valtermura@gmail.com>
Co-authored-by: Weblate <noreply@documentfoundation.org>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/es/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hu/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/
Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pt/
Translation: android-viewer/android-strings
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161457
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-01-05 13:39:34 +01:00
Ilmari Lauhakangas
43ec43154c Update git submodules
* Update helpcontent2 from branch 'master'
  to 27088ec11fbefefff49820050a411d5d21e32c6d
  - tdf#158961 Remove a z-index: 100 rule to keep Safari happy
    
    Modules navigation was not showing up in Safari because it had too
    few elements to overflow. For some reason the z-index: 100 rule for
    the containing div triggered this buggy behaviour.
    
    Change-Id: I50776401b567d125d086e826ec7a23694bdf6774
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161651
    Tested-by: Jenkins
    Reviewed-by: Juan José González <juanjosegzl@libreoffice.org>
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-01-05 13:00:32 +01:00
Miklos Vajna
1bde4e6ff4 sw: simplify RES_TXTATR_INETFMT handling in SwTextAttr::dumpAsXml()
RES_TXTATR_INETFMT will result in a call to GetINetFormat().dumpAsXml()
later and that contains all the info (symbol name, URL) in a repeated
form. And if more info is needed, an SwFormatINetFormat::dumpAsXml() can
be introduced.

Change-Id: I42f941fab79f96927ba6e82fe8bfa6616b67c6a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161653
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-01-05 11:28:28 +01:00
Justin Luth
1f6d845e10 tdf#139636 thumbnail: don't regenerate on file close
Back in 2001, this might have been the primary time
when the thumbnail was generated. Now it is also generated
on file open and file-save. This bug report is at least
one example why regenerating on exit is not desireable.

But are there examples of why a thumbnail IS needed on file exit?

One way the thumbnail can change is viewing track changes,
since toggling track changes doesn't "modify" the document.

What other things can affect the document layout
without be considered a modification?

Change-Id: Ic08fefadb7a2ff594dc2788dfc9cf9e0cc528a71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126649
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-01-05 11:13:58 +01:00
Caolán McNamara
6875c975f8 upgrade libxml2, libxslt & liblangtag
what I'm really after is some vexating not-reproducible oss-fuzz msan
warnings when using libxml2 in the fodt2pdf fuzzer. So lets upgrade
libxml2 to the latest, which requires bumping libxslt, and then requires
a newer liblangtag because of no longer implicit includes that it
depended on.

xmlKeepBlanksDefaultValue and xmlSubstituteEntitiesDefault are
deprecated, we should get around to updating those uses

Change-Id: I8fda0dffda0a7ea65407d246a3121875cb8ad4a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161598
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 11:05:36 +01:00
Michael Stahl
4c2243cd59 argon2: build opt.c again for WNT X86_64
Commit 401e9408d1 replaced opt.c with
ref.c also for X86_64, which was probably not intended; apply patch only
when needed.

Change-Id: Ie7ca7b88751fb2d7de4d1a27e81c7f60a98359f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161629
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-01-05 10:59:09 +01:00
Caolán McNamara
c458bfe2cc nColCount is sal_Int32 so iter i can be as well
Change-Id: I60d59a94329240b4cec0bae8beaeb93cddc5d3b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161623
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 09:52:23 +01:00
Caolán McNamara
30f4044ff4 Resolves: tdf#158965 Find Record: Similarities dialog doesn't appear
and assert in DBG_UTIL mode

regression since:

commit 36343165c2
Date:   Wed Jan 25 11:07:28 2023 +0000

    cui: Make SimilaritySearch dialog async and enable use for jsdialog

Change-Id: Iee2071874836ccf8a1ab10fbc6d6b3c491fd04ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161624
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 09:51:39 +01:00
Caolán McNamara
cbb17a548b std::size/SAL_N_ELEMENTS also counts the null terminator
which libxml2 2.12 will fail on with error:

'Extra content at the end of the document'

Change-Id: I9d5da9fdd826cce8462ede8c510eaea7281b760f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161627
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-05 09:51:27 +01:00
Heiko Tietze
79018bac2e Resolves tdf#158780 - Disable resolution controls initially
Change-Id: I80e620085868925643d4b7561cd7aeff2d9c930f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161620
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-01-05 07:36:33 +01:00
László Németh
96b3ed389f tdf#159032 sw smart justify: fix crash with complex tables
Regression from commit 36bfc86e27
"tdf#119908 tdf#158776 sw smart justify: shrink only spaces"

Change-Id: Ia3f39ad6549ea909bfe327ff8c8cbde821b90f46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161652
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-01-05 06:08:09 +01:00
Stephan Bergmann
5056da285d Don't mess with UserInstallation setting of --with-package-format=archive
Ever since 9043c50f5e "INTEGRATION: CWS native62
(1.68.8); FILE MERGED" and its "2006/09/15 14:51:02 is 1.68.8.2: #i67179# new
user dir for all simple-package installation sets" archive installation sets had
set the UserInstallation bootstrap variable to $ORIGIN/../... instead of the
normal $SYSUSERCONFIG/... that is used for other installation set formats.

However, I see no good reason for that, and it interferes with my current work
of making the --enable-online-update-mar `make create-update-info` work again
(which builds a mar file from an archive installation set, so contained a
boostrap ini-file with an unexpected UserInstallation value).

(I don't know about the "installed" installation set format, which also messes
with the UserInstallation setting, so I left that alone.)

Change-Id: I3bd1e00771a4149922c3ce4e4d187abd3889b4ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161650
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-01-04 23:07:13 +01:00
Stéphane Guillou
780e918a7d Update git submodules
* Update helpcontent2 from branch 'master'
  to c8244945b9d36822a2a35edca7bb9111f39ef282
  - tdf#156156: add Slide Transition sidebar deck help button's HID
    
    and document how to access it.
    
    Change-Id: I3f5c8e0f65f704389ed27989b29cca2cf0279302
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161107
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-04 21:46:53 +01:00
Olivier Hallot
c824843612 Update git submodules
* Update helpcontent2 from branch 'master'
  to c66cae4936bcf19b5e98aaebcbc94139d4be9734
  - tdf#155876 UI cmds Calc-Sheet menu (48)
    
    + Data menu for Calc, Outline commands
    + refactoring
    
    Change-Id: I329995051e89390ba115120c20b5f88e39513d59
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161619
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-04 15:05:08 +01:00
Olivier Hallot
bc06b47486 Update git submodules
* Update helpcontent2 from branch 'master'
  to f74d61f5ec7aa420c5d2b8053fa0ed8b464c83b1
  - tdf#155876 UI cmds Calc-Sheet menu (47)
    
    + Data menu for Calc, Consolidate commands
    + refactoring
    
    Change-Id: I543ea880db1664496c81693f0a026db84f036da2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161618
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-04 15:04:57 +01:00
Olivier Hallot
8e0aa45b4a Update git submodules
* Update helpcontent2 from branch 'master'
  to af50ff49da5f2b7288f9a713bb00b89f64988b84
  - tdf#155876 UI cmds Calc-Sheet menu (46)
    
    + Data menu for Calc, text to columns commands
    + refactoring
    
    Change-Id: I81c84de5faab4e6fe61d6d9352fb0efe7f22f12b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161617
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-04 15:04:45 +01:00
Julien Nabet
109e5e54a1 tdf#155649: EDITING Writer some position parameters cannot go beyond 17 mm
Change-Id: I70a80527dcc1c714fbe8783d1c4594bcc26b0624
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161528
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-01-04 14:38:34 +01:00
Martin Srebotnjak
fbe86e6c29 Update git submodules
* Update dictionaries from branch 'master'
  to ef5ed1ca0e43519a2013d50d9ac67529b78f612c
  - Updated Slovenian thesaurus
    
    Change-Id: Ib3c9a0b4a36398b25def93bbbc62a9bcc8e3fa2c
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/161614
    Tested-by: Andras Timar <andras.timar@collabora.com>
    Reviewed-by: Andras Timar <andras.timar@collabora.com>
2024-01-04 14:19:23 +01:00
Mike Kaganski
06ff6370a4 Send tooltip text to LOK
Call vcl::Window::RequestHelp from LOKPostAsyncEvent for
mouse movement. Introduce LOK_CALLBACK_TOOLTIP callback
type, and send it from SwEditWin::RequestHelp.

Intention is, that the tooltip is shown by client at the
current mouse pointer position, which is hopefully not
far away from the point that generated the mouse event.
On the next movement, the client starts a timer to hide
the tooltip. If the next tooltip message arrives, the
tooltip would be updated in the new place.

Alternatively, the payload could contain the coordinates
from the HelpEvent.

Change-Id: I8e96eb6e6983ad8d13b4c5d7be4d51ff3fd11893
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161302
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-01-04 14:12:23 +01:00
Heiko Tietze
a5a0bb0c65 Resolves tdf#158780 - Enable "Reduce Resolution" by default
Change-Id: Ib60f8484ebf6b140c52c7d2b6f190eac9dd3ade1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161612
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-01-04 14:00:21 +01:00
Andrea Gelmini
d6a8bfe372 Update git submodules
* Update helpcontent2 from branch 'master'
  to fc99bb699412a3086f23f11ab6383994eb837f72
  - Fix typo
    
    Change-Id: Ic1f5c6a8138ddc63b5d746a5384f5751fd2844a3
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161600
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-01-04 13:21:54 +01:00
buldi
f5e5e86144 tdf#114441 sal_uLong to better integer type
At first it seemd that sal_uInt16 may be sufficient for storing possible
values. But as elsewhere unsigned 32 bit variables are used for such
purpose, sal_uInt32 is used which allows having more space for bigger values.

Change-Id: Ic2834ffc0fcabad91175aba3753e832dc1807fbe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151006
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-01-04 12:38:38 +01:00
Caolán McNamara
be14802640 ofz#65442 Abrt in comphelper::SolarMutex::doRelease
Change-Id: I0a256564abfdeb3209eb928f2888064f628eaf00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161610
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-01-04 12:27:13 +01:00