Commit graph

462368 commits

Author SHA1 Message Date
David Tardon
158737c2aa upload libmwaw 0.3.19
Change-Id: Ibb26390e6cc13c925f499bf95cfc6177d8c9b735
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115355
Tested-by: Jenkins
Reviewed-by: David Tardon <dtardon@redhat.com>
2021-05-10 20:19:45 +02:00
dante
9c9f3ae5d8 Test Kahan Sum. Will check Kahan sum stills work properly.
This test file contains summations wich won't work with a raw sum.
However Kahan Summation can give a correct output.

Change-Id: I6fb3ded287414e8a99964b838c63f52f9262576e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115256
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-05-10 20:16:06 +02:00
Eike Rathke
3561978410 Resolves: tdf#142186 Accept 123.45 fractional input on weird formats like 0"."
... or 0"."0 where the literal "." is also the decimal separator
but can only occur in the integer part.

Change-Id: I95093fdddf7759346f2869ee322222de3d130e55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115338
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2021-05-10 18:52:22 +02:00
Noel Grandin
06ae35e5e2 update leak-suppress
with some CPPUNIT stuff that is being deliberately leaked

Change-Id: I7e3e3090877394f05e5bc9f270c456de7e7c57f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115333
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-10 18:16:31 +02:00
Caolán McNamara
eabdf3bfce gtk4: add focus-in/out
Change-Id: Ia954b2b1cc0ea368a318549f39e2efab42a0ebb2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115339
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 17:56:45 +02:00
Caolán McNamara
2947ae712f gtk4: get the event state into the button press/release
Change-Id: I85b7e64cf8216a7abf18432bbf7bf659876ee07a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115337
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 17:50:04 +02:00
Caolán McNamara
b3f9975c76 gtk4: add crossing events
Change-Id: I80adcb946a3f76b7a20fad381667a445e5927566
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115336
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 17:17:52 +02:00
Caolán McNamara
6c6b2fcdf3 gtk4: get motion events
Change-Id: I44f28891015cadf3714dbecd48bad73296d78b53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115335
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 17:17:36 +02:00
Caolán McNamara
bd0968922f gtk4: add gesturePressed/gestureReleased support for basic clicks
some unknowns here still, but gets some clicks working

Change-Id: Ib97a3b70baba5bcce70b71b6d030a1ad2a591724
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115331
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 17:17:12 +02:00
Caolán McNamara
819b575037 gtk4: enable the existing longpress and swipe gestures
for what limited amount of use they have

Change-Id: I86f35fde191c0864cdfe9b56176bd71bd488bc1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115330
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 16:16:40 +02:00
Caolán McNamara
62414237e0 gtk4: new close-request looks equivalent to old delete-event
Change-Id: I4176de9e8eb2029979f478e4a32e25e0314c7d99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115329
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 15:58:54 +02:00
Caolán McNamara
7db0efb7a3 gtk4: use GDK_ALT_MASK
define GDK_ALT_MASK as GDK_MOD1_MASK for gtk3

Change-Id: Iff6340956b83403af37b0416a234b6937f1bea18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115328
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 15:58:39 +02:00
Daniel Arato (NISZ)
0cd000bb83 tdf#141613 sw: avoid possible crash when undoing header creation
Move the ClearRedo() call to the very end of the undo process in order to avoid heap use after free.

We still need to call ClearRedo() because there's no mechanism in place to Redo a header/footer change.

Regression from commit 65e52cb61d
"tdf#141613 sw: fix crash at header/footer undo".

Change-Id: Ibd4604379c9791e85aef3d4dc6c29c9e3ecd5a28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115275
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-05-10 15:41:28 +02:00
Caolán McNamara
2436ed69a9 gtk4: enable signalTooltipQuery
Change-Id: Ida3593b1e6ecc98425342f9059f0dcd65901823c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115327
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 15:37:32 +02:00
Caolán McNamara
fdb4408225 gtk4: enable signalMap and signalUnmap
Change-Id: I614296cfc2ccf78e45a9b9df04977c938e47dff4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115326
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 15:37:08 +02:00
Caolán McNamara
9837e74c2a gtk4: enable partial signalRealize
Change-Id: I17bc5d5c0250aea6852e9e82e3742fece4966b34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115325
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 15:36:52 +02:00
Miklos Vajna
014f33066a svx: fix crash with active text edit vs slide delete
The problem is that SdrObjEditView::HideSdrPage() may delete
SdrPaintView::mpPageView when it calls SdrGlueEditView::HideSdrPage().

But SdrObjEditView::pTextEditPV is a non-owning reference to that.

GetTextEditBackgroundColor() in svx/ calls
SdrObjEditView::GetTextEditPageView(), so in case
SdrObjEditView::pTextEditPV is not cleared, we would access a deleted
SdrPageView.

Change-Id: I948bae8e0e8d557e38aa8f243e9eea522b21a043
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115324
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2021-05-10 15:19:52 +02:00
Noel Grandin
0afb2b63b3 fix some leaks in basic
Change-Id: I52c10cdbe9661974c908ee052336c779a40de402
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115323
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-10 15:14:48 +02:00
Mike Kaganski
b3541dea48 I suspect that we unlikely to use JRE older than 1.3.1_07
... and so possibly can rely on -Dfile.encoding=UTF8 now.

This reverts 79ac0685de
and 3428bace79.

Change-Id: Ia9e09025691b200c0f79427e0f4efe500f9c81f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115272
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-05-10 14:38:57 +02:00
László Németh
b11287cda0 tdf#142130 sw track changes: fix crossing out of neighboring images
Normal images got crossing out from the next deleted images.
Fix it by using only the start position of the image in CheckLine()
instead of the 1-character length range of the anchor point.

Note: add unit test also for tdf#78864.

Follow-up to commit d845b91bcc
(tdf#78864 sw track changes: cross out deleted images).

Change-Id: I8894e625d479adea4b1003f55f24f292064ed7ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115255
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-05-10 14:37:02 +02:00
Caolán McNamara
0038386cde gtk4: enable signalDestroy
Change-Id: Idd15db9c8666887818a6a119ee796db86fd1482f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115320
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 14:31:10 +02:00
Caolán McNamara
b03af6e223 gtk4: implement drawing and resizing
now we can see something

Change-Id: I428354ce382bb4dbf163309b80316488436b027c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115319
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 13:58:04 +02:00
Caolán McNamara
e79599b936 gtk4: fill in getXScreenFromDisplayScreen
for whatever that's still worth

Change-Id: I0be6ccfe6260b9b9f07922293a6654a12a181cdd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115318
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 13:37:13 +02:00
Caolán McNamara
603c959482 gtk4: implement GetDisplayScreenCount
Change-Id: I23cb4607da4ec4bbe1a8dac0484b269a919011a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115317
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 13:36:58 +02:00
Caolán McNamara
cbfeec2781 gtk4: get monitor size
Change-Id: I833fbb041c97b10cdca57b21aa7c467a7add646a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115316
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 13:08:37 +02:00
Caolán McNamara
6bab3e80de change <No selection possible> to avoid getting identified as an xml tag
Failed to set text '<No selection possible>' from markup due to error
parsing markup: Error on line 1 char 23: Odd character “p”, expected a
“=” after attribute name “selection” of element “No”

Change-Id: I8567862cb0f746529bcaa370e61a423dc9f646b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115313
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 13:08:21 +02:00
Caolán McNamara
b9b7f6b36a gtk4: get toplevel menubar and menus working
with gtk_popover_menu_bar_new_from_model

doesn't look great, long menus don't seem to scroll
or anything like that, but the entries do work

Change-Id: I69d6c324b9fe556067ded9acdf1af574ed784a09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115312
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 12:45:42 +02:00
Balazs Varga
3cd6402c54 tdf#127301 XLSX import: hide hidden named range of autofilter
Create but not insert/add hidden FILTER_CRITERIA (_xlnm._FilterDatabase)
to ScRangeName, because no need for them, so avoid of creating
extra named ranges by autofilter re-range (shown in Sheet ->
Named Ranges and Expressions -> Manage...).

See also commit 3a2263a206
"mib17: #163146# XLS import: do not skip hidden names[...]".

Change-Id: Ibfd86942a99b251a59394955bc890e6dbe0390f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115189
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-05-10 12:39:38 +02:00
dante
a25c9a2925 tdf#137679 Use KahanSum for SSE2
Change-Id: I97970cbb7a9562081f9a84b1d81423c80ed7f7f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115113
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-05-10 12:20:11 +02:00
Xisco Fauli
bdba387bad sc_mathematical_functions: Add test for 9a71644aa4
Change-Id: Ibf4b5b163b9b9ec123597cf99395a02e25a56be5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115315
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-10 12:10:55 +02:00
Tibor Nagy
c89a7e2d90 tdf#124457 PPTX animation: export repeatCount
Aanimation timing property "repeatCount" wasn't exported.

Note: PPTX uses a 1000 multiplication in repeatCount to
support fractional movement of animated objects, e.g.
1500 means one and a half steps.

Change-Id: Iac0dd10007c3e48f06c131d61671e1f78cad45a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115138
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-05-10 11:40:18 +02:00
Miklos Vajna
7ef207a79e sw: prefix members of SwAutoStylesEnumImpl, SwXRedline, ...
... SwXRedlineEnumeration and SwXRedlineText

See tdf#94879 for motivation.

Change-Id: I58a7077522264856e84ae53fe9134509b6640690
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115308
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2021-05-10 11:36:40 +02:00
Caolán McNamara
5def219451 gtk4: start without crashing
toplevel empty frame now appears

Change-Id: I755525ab5af7a2e532686e8633feafeb7f16f81e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115311
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 11:16:41 +02:00
Caolán McNamara
4c8e2b47cb bodge a gtk4 starting point into existence
this is not supposed to work or anything even close to that

Change-Id: I46b4fed6a1e6cfc885cb4f7c24660bb6438d5101
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115293
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 10:57:57 +02:00
Caolán McNamara
bc4e15d23c rename GtkDropTarget and GtkDragSource to avoid conflicts
Change-Id: I7a51cb6939204105cf49c91c92fdf33f9cb7cc42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115292
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 10:57:33 +02:00
Caolán McNamara
2dbf36132a rename to remove the gtk3 prefix
Change-Id: I219798ed42aff11d09fd45c26ca1a018c2d22c08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115239
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-10 10:56:58 +02:00
Balazs Santha
e9f9e2315b sw: test fix of tdf#140731 (freezing with track changes)
Follow-up to commit e463d23955
"tdf#140731: sw transliteration: avoid too many redlines"

Change-Id: I49d80d6fa5744797b7bb56d470ebc6f3b5f898d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113402
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2021-05-10 10:55:26 +02:00
Xisco Fauli
eef7fab896 tdf#120761: sw_ww8import: fix typo in unittest
Change-Id: Ia8fef7dea598cd2ea1513908f69e0176c057900b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115309
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-10 10:54:19 +02:00
Chris Sherlock
d4f116d957 vcl: move outdev.hxx flags into own headers
Change-Id: I550a0b374736b25d972d356ddbe62942590cfa1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114992
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2021-05-10 09:38:08 +02:00
Chris Sherlock
1dc6221a23 vcl: move DrawImageFlags to own header
Change-Id: I461c7db931a2011f1b7618159a8863db46c03601
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114991
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2021-05-10 09:36:46 +02:00
Chris Sherlock
efd1d047a7 vcl: move DrawTextFlags to own header
Change-Id: I02b40dbb901c07f8049249dbb42dae75a476dd9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114989
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-05-10 09:36:07 +02:00
Szymon Kłos
804f15e8bd Invalidate inputbar after size changed message
when canvas is resized the content is cleared

Change-Id: Iee51583cd74d15add70e8c5cdf0a4fb00d8b6efb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115119
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115297
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2021-05-10 09:00:16 +02:00
Noel Grandin
5295bc11e4 do not leak SdrObject global pool on shutdown
Change-Id: Id2948f044edc7a4c9497ece5fe7d497e826bc04b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115237
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-10 08:43:19 +02:00
Noel Grandin
47a9ee003c simplify DefItems
Change-Id: I90d5f3f77532f9e6dbbc0b2b87b5a52f4ac27ce6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115270
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-10 08:43:01 +02:00
Thorsten Behrens
80c9e7fe53 Some more vtables are still needed outside mergedlib
Fixup 99af09bf36 with a few more
methods - otherwise BColorModifierTest.cxx doesn't link for
release builds.

Change-Id: I13f0d57e56ba4344564e2534c0ee4e4883ec4d23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115294
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2021-05-10 07:19:11 +02:00
Andreas Heinisch
1675a68526 tdf#97066 - When using CTRL-A in a listbox, update selected items
Change-Id: I4f20b8e744bf99edd0677839654aa78aadcbfc85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115169
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2021-05-09 22:45:29 +02:00
Caolán McNamara
1a47606374 fix fuzzer build
Change-Id: I22cad5a2679e68159790fd614c9d33b20f99349f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115271
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-09 21:38:51 +02:00
Caolán McNamara
72ebbea096 cid#1401328 silence Uncaught exception
Change-Id: I7cd29462586b1dfe6fb7268ec3225317c1d2d782
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115268
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-09 21:34:59 +02:00
Martin Srebotnjak
898a6881ea Update git submodules
* Update translations from branch 'master'
  to 25d2fa3ee286cd1713b440f984c37a729a2c6cb7
  - Update Slovenian translation
    
    Change-Id: If447a7b6ce01b64ce36336d08fe542b9a90e5378
2021-05-09 20:08:31 +02:00
Olivier Hallot
210b54e3fd Update git submodules
* Update helpcontent2 from branch 'master'
  to cc7f7b0547c5d6904908d3ef194b3c33ca6cd4f6
  - Fix =FIXED() example
    
    Change-Id: I45a820aa6967756e9554aeec7c2c7ee7437a11df
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/115211
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-05-09 15:51:59 +02:00