Commit Graph

451504 Commits

Author SHA1 Message Date
Alain Romedenne
08f6f7e90b Update git submodules
* Update helpcontent2 from branch 'master'
  to 5e30d8fa70fb0f84dc42f6e716a55630ca4310fb
  - tdf#131416 Const syntax diagram
    
    Change-Id: Ie14901834c3fefbf612d8ad68e948d6e59de4658
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97676
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-06 20:14:13 +02:00
Noel Grandin
358674b87b xmloff/xof: create instances with uno constructors
See tdf#74608 for motivation

Also, the following
OOO_IMPORTER( XMLMathSettingsImportOOO,
              "com.sun.star.comp.Math.XMLSettingsImporter",
              "com.sun.star.comp.Math.XMLOasisSettingsImporter" )
was in the xof.component file, but was not listed in the factory class.

I fixed that, but it means we might see some differences in import
behaviour when reading math documents

Change-Id: I025b800ded28746d19e43b37032a5b37faee9b59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98198
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-06 18:14:26 +02:00
Noel Grandin
f4e122a1a7 no need to use prefix here
all of these use the constructor attribute

Change-Id: I0915c2f5af5a7dde501e9ae709b08e5c98604466
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98197
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-06 18:13:42 +02:00
Caolán McNamara
57ac9d6176 add get_editable and clipboard interaction to TextView
Change-Id: I5d0e1823685ef2334571d5279a300d177ac4a9db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98206
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 17:56:43 +02:00
Dennis Francis
06eae82ca6 Allow print-twips version of ScEditUtil::GetEditArea()
This will be used in the generation of edit-cursor/edit-selection
messages in print twips for LOK clients.

Change-Id: I91d48372551d1b6aca80aa793023c51b3c59d7ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98118
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 17:29:35 +02:00
Dennis Francis
bf9f97db8a Allow print-twips version of ScDocument::GetNeededSize()...
via an optional boolean argument bInPrintTwips which is false by default.

This is needed for edit-area calculation in print twips which will
aid in the generation of edit-cursor/edit-selection messages in print
twips for LOK clients.

Change-Id: Ibb15411278b9196d956ac952444d6e31c62dccda
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98117
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 17:26:58 +02:00
Szymon Kłos
6c97e5d0d5 notebookbar: early init
Change-Id: I2a129911b6949fd0e165065fd6d02f3546613407
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97232
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97206
Tested-by: Jenkins
2020-07-06 16:08:12 +02:00
Noel Grandin
1cd0e02cdf cairo/canvas: create instances with uno constructors
See tdf#74608 for motivation

Change-Id: I02411b23136051bfd0cd02d5378297f99127017f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98189
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-06 15:41:07 +02:00
Caolán McNamara
ba556833e1 exile fmtfield.hxx to toolkit headers
Change-Id: I4d16dd079d4f8900d5e04677742679d6592f7066
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98165
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 14:53:44 +02:00
Caolán McNamara
d5b3c5d509 weld DbNumericField item
Change-Id: I96b7945cdf9f00c3d0a4e043ee77666e19c8a072
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97896
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 14:53:21 +02:00
Caolán McNamara
291f1776a6 split off key processing
so we can explicitly call it rather than let implicit PreNotify
process it

Change-Id: I5f27b8c34a0be7239303307a2d5e93e5de4f4c2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98172
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 14:52:56 +02:00
Caolán McNamara
024bdf31b1 clarify that the parent is always a BrowserDataWin
Change-Id: I64aac74902c631e41fd54d7e198276885e2c4378
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98171
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 14:52:35 +02:00
Caolán McNamara
35a6e10a42 expose that GetDataWindow is always a BrowserDataWin
Change-Id: I63e29131dc5186dcb72b06f6425479271f191b0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98170
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 14:52:15 +02:00
Caolán McNamara
4e7398b632 this warning is very common now because of native widgets in the hierarchy
so its not helpful anymore

Change-Id: I79b66628b71503ed413dfe305f01af8423958b6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98196
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 14:51:52 +02:00
Caolán McNamara
a9d0edf102 don't deactivate if focus hasn't moved to another window
Change-Id: Ie019b8a0757578dec30c4834d095e75cd48ae957
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98164
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-06 14:51:10 +02:00
Stanislav Horacek
cfc210dc7a Update git submodules
* Update helpcontent2 from branch 'master'
  to 79308222ef7d53444039abc5b5e138ea228cb3d1
  - fix repeated sentence and label for default language
    
    Change-Id: I3c1d673cd1119f0c1373637b616b861317cc5969
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/98195
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-07-06 13:33:36 +02:00
Szymon Kłos
61c6d9a15c jsdialog: execute entry set text
Change-Id: I9e7d7da0bc0b6494b59270c683ae4a18d927bf4f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97624
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97861
Tested-by: Jenkins
2020-07-06 12:36:51 +02:00
Noel Grandin
29c5e1ccbe cui,cppcanvas: create instances with uno constructors
See tdf#74608 for motivation

Change-Id: Id603bc26f95d3da86b8c7360a7bde8eee97049ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-06 12:25:13 +02:00
Noel Grandin
088b7f419f avmedia: create instances with uno constructors
See tdf#74608 for motivation

Change-Id: Ibe3557a8d3be7c9af21a2b07e70252432ff12e0a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98186
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-06 11:36:54 +02:00
Tor Lillqvist
0a08f981a6 Allow also --disable-python on macOS
Change-Id: I27cdd86a730a042d6e846c90319c306f5a3b35ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98159
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-06 10:12:40 +02:00
Michael Stahl
dc7e7b94a7 tdf#134253 sw: fix SwUndoInserts::UndoImpl() if inserting before section
Somehow the clipboard is pasted before the SwSectionNode, which is the
first node in the body text.

The OSL_ENSURE( !bStartIsTextNode, "Oops, undo may be instable now." )
is triggered; the Undo must remove 2 SwTextNode in this case.

Because of the extra SwTextNode the indexes are off by 1 and this starts
to assert since commit 24fd14b387 when
setting a fieldmark on a non-text node.

Change-Id: Ic52b0f4c7665994cadfe8f074bc4607c55352aa1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97887
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-07-06 10:07:21 +02:00
Laurent BP
9e2da576bd tdf#133342 UnitTest Add/Delete decimal of percent
Space between number and percent sign should be
preserved while adding/deleting decimals

Change-Id: Ia80faf5eb9ed76bdfb8b26137e2bd4dafd53b062
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95449
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-07-06 09:27:53 +02:00
Eike Rathke
7186541219 Resolves: tdf#131562 decimal separator may not be surrounded by blanks
1 .
1 .2
1 . 2
1. 2
 . 2
. 2
are not numbers. But
 .2
is.

Change-Id: Ie2e0775852e13eee733d0fed3399cbd3d065d9fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97895
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2020-07-06 08:59:38 +02:00
Tor Lillqvist
b9cd758f71 There is no QuickTime framework
The reference was a leftover from 32-bit times.

Change-Id: Ie453a4c644787a49f8742eab4b4ea9d49cddf32d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98175
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-06 08:57:26 +02:00
Eike Rathke
348e78b8cc Resolves: tdf#134490 do not skip all trailing '-' or '/' of the start string
Skip *one* of them under the condition that a month name was
actually recognized.

A horrible implementation of

    commit b00fc9462d
    CommitDate: Wed Sep 15 11:54:10 2010 +0200

        sc-date-fix.diff: Parse 'june-2007' as June 1 2007 in en-US locales

Change-Id: I0800c4f0b33aa1413bde558d710fe467e4380262
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97903
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2020-07-06 08:56:08 +02:00
Noel Grandin
37b2c02bee configmgr: create instances with uno constructors
See tdf#74608 for motivation

Change-Id: I8d1419a9f2c0eb4d488b3f60b357f12e8177d7b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98134
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-06 08:43:12 +02:00
Dennis Francis
508a596df1 lokit: Do not assume 100% zoom for computing document-size
This fix prevents rendering issues (bottom/right area the sheet clipped
off/extra spaces) at the bottom/right of sheets with certain non default
zooms in online.

Change-Id: I2778d6259f8caf5a99d9eab57ae7b87751304ce3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98116
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 08:41:41 +02:00
Dennis Francis
53f151e6bb lokit: Adjust nSize* to agree with the definition in tools::Rectangle
Change-Id: I6ebe539fe47403e4aa605c5ddfb6175080bd4655
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98115
Tested-by: Jenkins
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-06 08:38:27 +02:00
Andrea Gelmini
9af38b4504 Fix typo
Change-Id: I82699bebb9b8ccee41cce3aabb092913df33b85d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98178
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-07-06 01:40:39 +02:00
Tor Lillqvist
a292d2e43f Avoid warning about deprecation in macOS 11.0
Change-Id: Ie1a7e19093b439eb133632ee881e1e3dbe58132d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98176
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-06 01:10:46 +02:00
Tor Lillqvist
02d931a59e When cross-compiling to DESKTOP, just make "build" for the build platform
Trying to fine-tune that exactly what is needed but nothing else is
built is very painful.

For instance, on macOS, if you build gengal but not soffice, you end
up with this error when trying to run the built gengal, because there
is no Info.plist in the app bundle in instdir_for_build: "No
Info.plist file in application bundle or no NSPrincipalClass in the
Info.plist file, exiting"

Change-Id: I63d766f0e7e72f55454d16c72c32e153cf976443
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98177
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-06 01:07:35 +02:00
Mike Kaganski
687b6395d4 Don't explicitly convert OUString to OString
See commit 57afeb8d9e

Change-Id: Idb41fb2e3b90bd0eb1d7ebd588c13fd50b9536fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98173
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-06 00:25:25 +02:00
Tomaž Vajngerl
1c50121561 pdf: convert static functions to functs in anonymous namespace
Change-Id: Ia89cab0add22f0d5ea6ac978606191c112402d96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97726
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-05 23:17:29 +02:00
Tomaž Vajngerl
8166f34051 add generateStripRanges and use that in StackBlur and ScaleSuper
generateStripRanges divides a range into equally long stripes that
is useful for defining scanlines for a thread. This is used in
the BitmapFilterStackBlur and BitmapScaleSuperFilter as they are
running using a thread pool.

Change-Id: Ifb9f70dea3b0233e6aa30ccf20187a2ff58fd5a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97725
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-05 23:17:16 +02:00
Jan-Marek Glogowski
b945946135 gla11y: add check, buffer output and # comment
- add visible check to labelled-by
- buffer output, so it's consistent in parallel builds
- remove per-line file reference and just add a general header
  referencing the used suppress and false-positive files
- allow common commenting in suppression and false-positive
  files by starting a line with a #

Change-Id: Iefac711deb9ea620728ab5b0aeac73cfff40a7b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/61051
Tested-by: Jenkins
Reviewed-by: Samuel Thibault <sthibault@hypra.fr>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-07-05 22:50:39 +02:00
Mike Kaganski
57afeb8d9e Allow use OUString as attribute value in FastSerializerHelper::*Element
Change-Id: Id34d08787d0188d5c7847dcb75958a511a1fef27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98143
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-05 22:14:12 +02:00
Mike Kaganski
01c58c7d6d Simplify FastSerializerHelper::*ElementNS to just call corresponding *Element
Change-Id: Idd7ab4961fe5e4871ea5b64e7d837f98743eb301
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97954
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-05 22:00:56 +02:00
Caolán McNamara
9202793ed8 loosen requirement that createField return something derived from SpinField
Change-Id: I2f15717d2e96f21c3fcbbcfd9eda6544daf2a0a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97984
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-05 21:35:55 +02:00
Johnny_M
0c4336e83f Update git submodules
* Update helpcontent2 from branch 'master'
  to 6e391bd9be1d344565b84dc42df5b76197aa5207
  - tdf#132643 Translate German section IDs
    
    Change-Id: I6d62bf5afebc4f1789676c58620849cef56f66dd
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97755
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 20:42:03 +02:00
Tor Lillqvist
5fe12dd54a Use correct location for the config.{guess,sub} in the postgresql tarball
Change-Id: Iccec53f67ab6c9e7920354f6a26c81300c1bee48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98097
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-05 20:34:50 +02:00
Johnny_M
3cd512bd68 Update git submodules
* Update helpcontent2 from branch 'master'
  to 193415db6bd7d5f7ca9c828e354efc9bac1919ac
  - tdf#132643 Translate German section IDs
    
    Change-Id: I2a9caef0d9e87224cd512e3c8bbe9a19296edc2e
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97852
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 20:32:36 +02:00
Tor Lillqvist
d0ed2c49d2 Remove leftover thing for macOS on x86
Change-Id: I353e854c3deb7d1df3767e2295aef68e9491f0e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98144
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-07-05 20:18:09 +02:00
Caolán McNamara
d60bc5d082 clarify this arg is to determine if its a spinbutton or entry variant
Change-Id: If102441312bf0c6d27462535268e79242bcde48c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97894
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-05 16:45:21 +02:00
Caolán McNamara
697f635fb8 add a DoubleNumericEntry
Change-Id: I866f078531779cbffb22035848dc88e0039c5ba0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97889
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-05 16:44:58 +02:00
Caolán McNamara
ef371319fa return a reference instead of a pointer
Change-Id: Ib8b9133991a9c36e737171ae6dfb6a87cc91e1ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97888
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-05 16:44:27 +02:00
Caolán McNamara
95cfa85395 adjust FormattedSpinButton to be driven by an EntryFormatter
so we can have the same backend driving the FormattedSpinButtons as a
FormattedEntry

Change-Id: I07a472315a04787eb5fcf992cde8f758af742156
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97860
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-05 16:44:09 +02:00
Johnny_M
7b6549811a Update git submodules
* Update helpcontent2 from branch 'master'
  to 770a9dbb7c4224cb379d327ca02300abe5083001
  - tdf#132643 Translate German section IDs
    
    Change-Id: I9caadfaaea1e96ebf583379b0ed31f29ea11d860
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97850
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:29:31 +02:00
Johnny_M
9b7bfb6f32 Update git submodules
* Update helpcontent2 from branch 'master'
  to 3d0d927f0c4337a27ffcc94caba4ee6818fbdd8e
  - tdf#132643 Translate German section IDs
    
    Change-Id: Ib49d9ddad0fd04c00bc6fc33572c627354409f60
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97848
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:28:43 +02:00
Johnny_M
8e65c80dcf Update git submodules
* Update helpcontent2 from branch 'master'
  to 86cef767faa48cafb031eab201a8cec16ce7102b
  - tdf#132643 Translate German section IDs
    
    Change-Id: I5697e0717deea95fb32d462c1781cc9f404d6f1a
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97847
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:27:54 +02:00
Johnny_M
bc18043269 Update git submodules
* Update helpcontent2 from branch 'master'
  to cb2fb05325ca1a669e66c1b6ea0180707ebe84ba
  - tdf#132643 Translate German section IDs
    
    Change-Id: I46ffa2c6b1cf63241c35c9f2f35fdde250deac23
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97846
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-05 15:27:04 +02:00