Commit graph

496866 commits

Author SHA1 Message Date
Christian Lohmaier
e56a8300d3 use gb_StaticLibrary_WORKDIR and gb_Library_DLLDIR more consistently
same for gb_Executable_BINDIR[_FOR_BUILD] and fold
gb_Library_WORKDIR_FOR_BUILD into gb_Library_DLLDIR_FOR_BUILD (the
latter also has a workdir variant)

Change-Id: If7e4cf9aab46728182c89344546065bc33b452b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169201
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-06-19 20:00:39 +02:00
Noel Grandin
d8ddd3f1c9 Revert "tdf#144208 speedup doc with lots of redline(4)"
This reverts commit 5fe53e6b2e.

Reason for revert: crashing reveals a SwContentIndexReg::~SwContentIndexReg assert

Change-Id: I68554db3e62b7a20f105369eb9b09b7c27dc853d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169135
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-06-19 19:44:39 +02:00
Noel Grandin
38f16494f8 use local var to simplify code in MsLangId::getScriptType
Change-Id: If3b0709cb2d755ac4e031e2c14d29a1e49fe603f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169202
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-06-19 19:37:26 +02:00
Michael Stahl
ef77086255 tdf#161631 writerfilter: move another member to SubstreamContext
The problem is that the bugdoc contains a table in the footer, which
causes m_bDummyParaAddedForTableInSection to be set, which erroneously
causes the last paragraph in the body to be removed.

(regression from commit 86ad08f9d2)

Change-Id: I148785c54c37dc25f7d239b5898aec9fb5455f40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169191
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2024-06-19 18:27:26 +02:00
Christian Lohmaier
0740c9cde9 makefile simplification: replace $(call gb_AutoInstall_get_target,foo)
by a simple/static $(gb_AutoInstall_targetdir)/foo and also drop the
custom .dir target

Change-Id: I4893c2675cb076cb8a0b61c0c207a223658b43d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168709
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2024-06-19 16:16:05 +02:00
Sahil Gautam
86cd603627 tdf#159543 - Proper feedback needed when resizing a frame...
When autosize (a frame property) is enabled, then the (text) frame
manages it's height/width based on the content such that all the text
is visible. The user cannot decrease the height/width to be less than
the content height/width, but the resize  handles show up, and clicking and
dragging is enabled, which shows a blue virtual resize frame.

This patch adds UI feedback mechanism such that if the drag leads
to some change in any dimention of the original frame, then the
frame color will remain blue, otherwise it turns red.

Change-Id: Id4b3e3ae2c9864154e6028ca03008261bbc3e1b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165817
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2024-06-19 15:38:27 +02:00
Olivier Hallot
b344a611d7 Update git submodules
* Update helpcontent2 from branch 'master'
  to e6ef90ff763ee24c62f15dd4a312020a04b93655
  - tdf#161579 Fix on Save options Help page
    
    Change-Id: I58f37e50d5579b76b2b4b95a885ae2ef9e6856c2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169126
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-06-19 14:43:18 +02:00
Kira Tubo
59540d082f tdf#62603: sw unit test: replace string mix font style
Test to see if font style is retained when performing find/replace on
strings containing mixed font style/sizes.

1) For example, with a doc containing the string: "test
- Normal font: "
- Italic font: test

2) Search for: "t (this contains both normal and italic font)
3) Replace with: "gu

4) Resulting string should be: "guest
- Normal font: "
- Italic font: guest

An additional test has been added to test for changes in font sizes (per
comment 24).

Change-Id: I957077efbcced0b981c31d0e547299e12a61609b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168486
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-06-19 13:00:09 +02:00
Stephan Bergmann
81ac964986 Consistently 'use strict' for JS code
Change-Id: I6f6e06ad32ffa87242f5a0f41c176149b754e2ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169187
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-06-19 12:29:47 +02:00
Andrea Gelmini
5feafc1e20 Fix typo
Change-Id: Ifc1cbeec10fabd83ab3461e9a8c268c7f3b84f0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169161
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 11:43:35 +02:00
Miklos Vajna
61692b82ae tdf#161635 sw DoNotCaptureDrawObjsOnPage: fix handling of left padding
Open the bugdoc, the shape has an 5cm left padding for its text, but
only 4cm of that is visible in Writer.

Checking the shape, part of that is outside the page frame, so the first
1cm of the left padding is not visible, visually resulting in a 4cm left
padding in Writer, but not in Word.

Fix the problem by extending SwFlyFrame::MakePrtArea(), so in case the
shape is partially outside the page frame, then we make sure to increase
the left padding enough that the nominal (5cm) left padding is inside
the page frame.

With this, the text on the title page of the document is visually
centered also in Writer, even if not using an explicit paragraph
alignment.

Change-Id: I5dcbcf407ed7f12f0bc13820fa39621a76e23fe7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169186
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-06-19 11:22:25 +02:00
Andrea Gelmini
9bdb7ce3a9 Fix typo
Change-Id: Ic182dcf4a1e258d9a7cd450ca45f514a7fb7f262
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169175
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-06-19 09:55:02 +02:00
RMZeroFour
e597e712b6 .NET Bindings: Add netmaker (.NET codemaker)
This commit adds the netmaker executable to the codemaker/ module, to
generate C# code from UNOIDL specifications.

Also adds some Makefiles in the net_ure/ directory to generate code for
udkapi and offapi, to build the net_uretypes and net_oootypes assemblies.

Change-Id: Ifb61fe6a0f8f594eaa6ff95b025ba57f247b0d4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168710
Tested-by: Jenkins
Tested-by: Hossein <hossein@libreoffice.org>
Reviewed-by: Hossein <hossein@libreoffice.org>
2024-06-19 09:34:45 +02:00
László Németh
64365dfa67 tdf#161643 sw DOCX import/export of maximum consecutive hyphenated lines
Fix line break interoperability by importing w:consecutiveHyphenLimit to
ParaHyphenationMaxHyphens, and exporting ParaHyphenationMacHyphens to
w:consecutiveHyphenLimit in OOXML import/export filters.

Change-Id: I5f40bcff34ebebeabc0de9898955abda4dc34cde
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169127
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2024-06-19 09:08:56 +02:00
Andrea Gelmini
cd8cab9c76 Fix typo
Change-Id: I80dd506275bf8032316bba5eff152635e62268d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169150
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:47:46 +02:00
Andrea Gelmini
ee4cdfb6fa Fix typo
Change-Id: I2044da5e2b973f410531fee8d2b24a59c6279fc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169128
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:47:25 +02:00
Andrea Gelmini
e34d63230c Fix typo
Change-Id: I8613fc1be864f79af407f66b486f0e9cab9862db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169129
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:46:41 +02:00
Andrea Gelmini
4a85d3c12a Fix typo
Change-Id: I91c9d457aa7b0675df59415416121d2e21c78c63
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169153
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:45:49 +02:00
Andrea Gelmini
7e864b49de Fix typo
Change-Id: Ib82dd3d35d0fab5815c97a7c5f93592598ffaeed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169151
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:45:26 +02:00
Andrea Gelmini
839cac2c70 Fix typo
Change-Id: Icbcac3a6a69ecf8d958f7196bfde46ed32dc703a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169154
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:44:33 +02:00
Andrea Gelmini
41559f8c52 Fix typo
Change-Id: Icd8c5e8101d112d76da23f877c55c9627438e179
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169184
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:44:03 +02:00
Andrea Gelmini
58ef023d63 Fix typo
Change-Id: I30f0d9517bd244606ce596fbb88da1cc6ed54cd7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169162
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:43:41 +02:00
Andrea Gelmini
a9b462758b Fix typo
Change-Id: I4750989bffaa95c652fe5f90962342638296b026
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169156
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:43:24 +02:00
Andrea Gelmini
602e00b961 Fix typo
Change-Id: I99c1b5973e8a173f4b4fefe588f0bef825f2444f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169183
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:43:05 +02:00
Andrea Gelmini
a1c7ff92d2 Fix typo
Change-Id: I77229760404a8739755508a5991d00ce0ceed8d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169158
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:41:52 +02:00
Andrea Gelmini
677366d3c9 Fix typo
Change-Id: Ifae040774dff2e75d4ddcfd38e8e67192f70d69a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169160
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:41:28 +02:00
Andrea Gelmini
6ecadb3ed3 Fix typo
Change-Id: I4603be77e1d69a3e7d26946d656ef008d64836db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169159
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:39:45 +02:00
Andrea Gelmini
7cfefdd01b Fix typo
Change-Id: I633ad7aa1a8167795e76bfacfaeec9a42b9db3f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169157
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:39:22 +02:00
Andrea Gelmini
05f4724aab Fix typo
Change-Id: Ibd328464edc6e3906c2ad3155e3d9f6ae4ef2641
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169155
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:39:05 +02:00
Andrea Gelmini
59cfd8f4f6 Fix typo
Change-Id: I69c4e0794217e25ec15c953421c838d124b7d2f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169167
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:38:34 +02:00
Andrea Gelmini
9539ea2c91 Fix typo
Change-Id: Ie1a1e7b6da8303d3811df32d2ed524576c6be29e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169164
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:37:49 +02:00
Andrea Gelmini
758f1230f8 Fix typo
Change-Id: I0a68063a64d0a80b521cd69a1abf146476f27bee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169169
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:37:25 +02:00
Andrea Gelmini
637072a9b6 Fix typo
Change-Id: Ia7e36299a15fd4096f2e8e50efad2e8e1b61bec9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169166
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:37:10 +02:00
Andrea Gelmini
2eb9a61ca9 Fix typo
Change-Id: Id2140f45ea676324094741c331c4666ee74aea04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169163
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:36:50 +02:00
Andrea Gelmini
664167bb24 Fix typo
Change-Id: I782d794bd4acc760ec53e226796a4ac0424fd0d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169168
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:34:37 +02:00
Andrea Gelmini
382b4e0a08 Fix typo
Change-Id: If21c8e5bf48da78b505f826513673c5da0df2538
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169165
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:34:21 +02:00
Andrea Gelmini
a0fa7f8245 Fix typo
Change-Id: I5db57545327b839f71676aadcc688eb8bc26b8bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169172
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:33:49 +02:00
Andrea Gelmini
bbf9d0a934 Fix typo
Change-Id: I080533a791c8ad0034b4b24ea630c6ab7265e31e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169171
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:33:26 +02:00
Andrea Gelmini
dbfa98d162 Fix typo
Change-Id: I339f7b48db82d52faea5343412554c4c4939068e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169181
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:30:01 +02:00
Andrea Gelmini
bc1ed15460 Fix typo
Change-Id: I4df37ec7637c4b9719ea77e48f9fc49e2ff6fc54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169180
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:29:43 +02:00
Andrea Gelmini
e07e5e76f4 Fix typo
Change-Id: I392dc943c4a423ca6bd7c3a3efd2a68adb75bf1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169176
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:29:26 +02:00
Andrea Gelmini
ef38bc2455 Remove exec bits on docx file
Change-Id: I8aef24c3536493ab73df7637990c48a2c94c2bf0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169182
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:28:49 +02:00
Andrea Gelmini
e5f1b4cdec Fix typo
Change-Id: I33b497fd707e5100d0a03cf9868b0627859922ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169178
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:28:39 +02:00
Andrea Gelmini
c499b6af56 Fix typo
Change-Id: I5d7c48261ddf6f36c35c8ee84e7bc98f32dd83bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169177
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:28:23 +02:00
Andrea Gelmini
e9cc36ab10 Fix typo
Change-Id: I7ee174497b9f6ca7256ef71297c20c04b52ecae4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169179
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-06-19 08:28:06 +02:00
Olivier Hallot
3909a1186c Update git submodules
* Update helpcontent2 from branch 'master'
  to 88885d0ae30d7d89219d86d263b1a31d77fb6de0
  - tdf#191639 Fix macOS command path
    
    + refactor
    + moved command description above how-to-get
    + added tabbed UI how-to-get for Expert config
    
    Change-Id: I026ef0f1891c18ea50ce187b6fba35dd5a194ac9
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169119
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2024-06-18 22:40:23 +02:00
Olivier Hallot
996558b302 Update git submodules
* Update helpcontent2 from branch 'master'
  to 840359bcb401b17e55a0370a9a0d15890a824abe
  - tdf#161579 Further rework on Save options Help page
    
    + refactor
    + removed outdated screenshot from page
    + deleted outdated screenshot from build
    + change paragraph tag to a tip tag for better reading.
    
    Change-Id: I8ec7330ffe501e7b68ee1ccc9591e45dbe35c05b
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/169116
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-06-18 22:39:15 +02:00
Justin Luth
47af7ba63c tdf#161579 userautosave: fix wording to match 24.2 implementation
The implementation changed with my LO 24.2
commit 63bb760acc
https://gerrit.libreoffice.org/c/core/+/155273 for bug 57414

When the document successfully saved, there was no reason
to create a recovery version of it immediately afterward.

Change-Id: If62b9c60cf6b39d25ee42001eb6344593479c716
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168897
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2024-06-18 22:11:53 +02:00
Oliver Specht
52b95cfbb0 Add warning and progress to AutoFormat
Applying AutoFormat to large selections may take really long.
A warning has been added to warn users.
Additionally a progress is shown while AutoFormat is working.

Change-Id: I74909a6243748ebfe0089406ebe947bb48eb93d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167950
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Tested-by: Jenkins
2024-06-18 22:06:42 +02:00
Stephan Bergmann
4b80b643c1 Embind: Add the lifecylce fix also for attribute getter return values
...which had accidentally been left out at
04658a7067 "Embind: Fix lifecycle of UNO any and
sequence values returned from JS to C++"

Change-Id: I7ec1766850049cb5032020b65ccc171027f739b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169113
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-06-18 20:05:58 +02:00