Commit Graph

423477 Commits

Author SHA1 Message Date
Olivier Hallot
395e7d47b8 Updated core
Project: help  0affb71917d215b6d76eb5983a39c726fed53f29

Add GDPR in online help

Change-Id: Ic752beee3901bd9963deb4782702a1de745b5406
Reviewed-on: https://gerrit.libreoffice.org/54785
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-05-25 11:14:16 +02:00
Tor Lillqvist
9bbb71d4a0 Add one line of hopefully correctly understood explanation
Change-Id: Ib22583a45c03a4b7c3b4ff73e9d28f47ab31bc4f
2018-05-25 11:30:50 +03:00
Tor Lillqvist
8d6f684067 Bin noise part of comment
Our convention is to just have the name of the abstract base class in
a comment before the declaration of the concrete overrides of its
abstract member functions. No need to say "Abstract struct" there.

Change-Id: I2b9bdf0555af5280771370a6df56fd4c8623661a
2018-05-25 11:00:53 +03:00
Justin Luth
5e4d89f596 tdf#117297 sw unotbl XCell: apply char/para style props to text
This is specifically for the benefit of DOCX import, but it
also makes sense in general. If a SwXCell is given char/para
properties, then apply those properties (without overwriting)
to the cell's contents.

This allows ANY paragraph or character properties that are applied
to a table style to become the "default" for the table.

This fixes a number of things:
-remove one-off hack to get PROP_PARA_LINE_SPACING to work.
-works for all character and paragraph properties (except those
shared with tables like borders).
-works in multi-paragraph cells. Previously those could return
AMBIGUOUS state, in which case the style wasn't applied at all.

Change-Id: Ia98c129879575c1aa8ca1fe2a64f4991c0a264e8
Reviewed-on: https://gerrit.libreoffice.org/54511
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-25 09:14:39 +02:00
Gabor Kelemen
a73ae323fa tdf#42949 Fix IWYU warnings in chart2/source/inc/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here
A bit of fallout management was necessary as well
find-unneeded-includes gave no proposals for chart2/inc

Change-Id: Id382586f575cf45da758da453df9340b28e9ddd0
Reviewed-on: https://gerrit.libreoffice.org/54778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-25 09:13:21 +02:00
Miklos Vajna
89dc667ceb tdf#113143 PDF export: fix mis-scaled JPGs on Impress note pages
This is really similar to commit
4c2172a3e9 (tdf#106702 PDF export: fix
missing images from Writer headers/footers, 2018-05-22) just this one is
about the size of the output rectangle for JPG content, while the
previous problem was about the position of them.

Also extract PdfExportTest::exportAndParse() from the last two tests to
avoid duplication.

Change-Id: I9812924d505e9fdaca2a95b4990e7aaa5e44fd7f
Reviewed-on: https://gerrit.libreoffice.org/54773
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-25 08:45:24 +02:00
Miklos Vajna
6b1b8ef51b xmlsecurity nss: fix OOXML signing with ECDSA key
Change-Id: Id2b59887fcd69e294a6d9db17ec0446615054ecc
Reviewed-on: https://gerrit.libreoffice.org/54779
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-25 08:44:36 +02:00
László Németh
8628b4aeab tdf#117171 unit test for DOCX export/import of number names
ie. ordinal, ordinalText and cardinalText DOCX numbering styles.

DOCX export/import was added in
commit 1501df419e.

Change-Id: Ica2d63aab3d7c89392e0c72210e6018c288aaec6
Reviewed-on: https://gerrit.libreoffice.org/54776
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2018-05-25 08:41:42 +02:00
Tor Lillqvist
e7cefdfc83 IClassFactoryWrapper can go away now
Change-Id: I7633648dc0398d2c1b6f04e6db9b18638a7451f5
Reviewed-on: https://gerrit.libreoffice.org/54781
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2018-05-25 07:35:17 +02:00
Andrea Gelmini
b32fee8314 Updated core
Project: help  e35e77e62e90d709633304a45bdc0d430595a01a

Fix typos

Change-Id: I50e06c9bc42c1e5529074e944b9f1ed37f0a7385
Reviewed-on: https://gerrit.libreoffice.org/54784
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-25 07:16:16 +02:00
Justin Luth
f7f2d03bd6 NFC SwUnoCursorHelper: add SetModeAttr option to setPropertyValue
The other function, setPropertyValues already has this variable,
so for consistency and flexibility, add it here as well. Plus, this
is prep work for another patch.

Change-Id: I16c5b1cbb9fd99a11be99a59005bd856d787a6ca
Reviewed-on: https://gerrit.libreoffice.org/54510
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
2018-05-25 05:51:48 +02:00
Eike Rathke
c0fbf99e56 ... or not present
Change-Id: I56658a7f6eb277fabf8ff4782c86fabac5f14e81
2018-05-24 21:27:18 +02:00
Eike Rathke
7c0c35b468 Document locale data's use of the Variant element as BCP 47 language tag
Change-Id: I8d2c4bb95ae50e7d23a89db1dd6bb197d3af65c0
2018-05-24 21:25:37 +02:00
Stephan Bergmann
ed22b6b754 Remove presumably unused instsetoo_native/util/pack.lst
Its use has been removed with e161e35f55
"installer: Remove packager.pl" (and changes to the file itself also stopped in
2013).

Change-Id: I3bf18849a80abd5b774f1a6030c514e5891e0350
Reviewed-on: https://gerrit.libreoffice.org/54769
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-24 21:01:17 +02:00
Noel Grandin
2f9dc9f56f include guard should be at the end of the file
and the modeline should be on the last line

Change-Id: I6032fdee6fc29d11cac1e4b8ec9c36e004258e73
Reviewed-on: https://gerrit.libreoffice.org/54752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-24 20:46:18 +02:00
Michael Meeks
a9a15e59d6 Re-enable threading for formula groups for now.
As agreed at the ESC - lets see how this goes for 6.1

This reverts commit 4696d3728f.

Change-Id: Ic2be53c53dd7573972cd54c390443dc136739b6c
Reviewed-on: https://gerrit.libreoffice.org/54774
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-24 20:22:54 +02:00
Tor Lillqvist
db18cec885 Bin ancient AQUA_NATIVE_MENUS=FALSE crack
Using the system ("native") menubar works fine since a long time
surely. No reason to keep a fallback possibility.

Change-Id: I0d9ed86c28b0d832c8123b18980740dbf895ec1c
Reviewed-on: https://gerrit.libreoffice.org/54775
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-05-24 19:39:15 +02:00
Tor Lillqvist
158da8687f tdf#77444: Follow-up fix: Guard against GetSalData()->mpInstance being null
Can happen at least when LibreOffice is started from the command line
using the 'open' command line and passed a file name.

Change-Id: I93145974a56e124550579cae8fd69ccb4a7d3bda
Reviewed-on: https://gerrit.libreoffice.org/54758
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-05-24 19:07:59 +02:00
Christian Lohmaier
b6777968a4 bump product version to 6.2.0.0.alpha0+
Change-Id: Id6f2b9036832e581aa6ccb45fd3f7a56191db980
2018-05-24 18:54:34 +02:00
Luboš Luňák
3a80179953 optimize ScColumn::HandleRefArrayForParallelism()
Change-Id: I53b7f514be2e015445eb9cb0471c22d41c464e4e
Reviewed-on: https://gerrit.libreoffice.org/54767
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-24 17:55:22 +02:00
Luboš Luňák
8f7eb6edfa avoid CELLTYPE_EDIT for calc's threaded calculations
Since ScEditUtils::GetString() requires EditEngine, which is probably not
completely thread-safe.

Change-Id: Ie3d64f56b76a5861fa4b0a1f9cb683cd26806b35
Reviewed-on: https://gerrit.libreoffice.org/54766
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-05-24 17:53:56 +02:00
Mark Hung
e87cc12eaf tdf#106390 Intersect the table borders with upper frames.
Also removes dead code because SwTabFramePainter::Insert()
is always called with a cell frame and IsTabFrame() always
returns false.

Change-Id: I2505d876d20e44ded1faf760bc3b7b1d34b0fd8d
Reviewed-on: https://gerrit.libreoffice.org/54684
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-24 17:30:47 +02:00
Noel Grandin
47d53d6929 this should be a ref
mistake in commit
    commit f6063153db8951ca21ac3a2e36973f1d73eda4d1
    tdf#117706 Multi-select copying rows between sheets broken
noticed by erack

Change-Id: Ia5ed3726c8f02750eec3551f7dd908120edb2553
Reviewed-on: https://gerrit.libreoffice.org/54765
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-24 16:29:12 +02:00
Caolán McNamara
68f182066a ofz#8490 stack exhaustion
a linear loop builds a recursive structure, if it gets too deep then later
processing, e.g. releasing the tree, can exhaust stack

Change-Id: I4421b9bae62ac2b6ffe32531d1167a482103bfde
Reviewed-on: https://gerrit.libreoffice.org/54762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-24 15:54:52 +02:00
Tor Lillqvist
4b42fd7e95 tdf#115284: Unify LibreOffice and system full-screen concepts on macOS
Also tdf#76476, and probably more.

Make it so that when a window is in full-screen mode from
LibreOffice's point of view, it is also full-screen from the system's
point of view, and vice versa.

All three ways to enter and leave full-screen mode can now be used
with the same end result: The Ctrl-Cmd-F shortcut, the "View > Full
Screen" menu entry, and the green bubble on the title bar.

Don't disable/deactivate/etc menus while in full-screen mode. The menu
auto-hides so there is no harm in having it function normally.

Don't display the floating toolbar with a single "Full Screen" button
in it as the way to leave full-screen mode. Instead, the same three
ways that can be used to enter full-screen mode work to leave it, too.

Sadly I could not figure out a way to set a window properly to
full-screen at the point where a document window is created and set to
be the same size as that kind of document window was the previous time
it was open in LibreOffice. Thus don't save state for full-screen
windows as we can't properly restore them. At least not for macOS. It
is not good to just restore them as non-full-screened but still at the
size they had when full-screen.

One irritating glitch remains, and I was unable to fix that properly:
I now prevent closing the document window that is in full-screen mode.
Otherwise, if it is closed, the full-screen mode remains even if no
window is open there; the desktop is completely black. Moving the
cursor to the top edge, the LibreOffice menu is there, though. I tried
to fix that but with no fully satisfying result. (Some attempts even
lead to crashes, so just disabling closing is better than crashing at
least.)

Change-Id: Id909077ef9de9f19d48c8b9ad10d748a65b2417f
Reviewed-on: https://gerrit.libreoffice.org/54760
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-05-24 15:39:30 +02:00
Olivier Hallot
3259f91754 Updated core
Project: help  31d3025c0610319fd545b52f41211f86530eedec

tdf#117752 HID for table background in Writer

Change-Id: Iba29f40457261d833c01c53ca3d9f530887fb0b6
Reviewed-on: https://gerrit.libreoffice.org/54714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-05-24 15:37:58 +02:00
Christian Lohmaier
83963ecdbd Updated core
Project: translations  ed31445a5c607b49bf71cd37055578de6785cb85

update translations for master/6.1 beta1

Change-Id: Ib85491aac55698f0db45945f3fbaa332e8ec25dc
2018-05-24 15:19:19 +02:00
Caolán McNamara
eeaf6dee2d rework custom widget welding to enable inheritence
Change-Id: I0d391b3fe9d2d610ae41e2a03cd2e195a866e103
Reviewed-on: https://gerrit.libreoffice.org/54681
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-24 14:24:06 +02:00
Noel Grandin
c10928e703 tdf#117706 Multi-select copying rows between sheets broken
regression from

   commit 6529cd54c2
   don't use heap for elements in ScRangeList

where I converted some loop variables from pointers to refs, forgetting
to assigning to a ref is quite different from assigning to a pointer

Change-Id: I4a365006317d16a24cbb1b43994906a0d4b4d424
Reviewed-on: https://gerrit.libreoffice.org/54756
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-24 14:08:41 +02:00
Takeshi Abe
b4960947db xmlsecurity: Ask current datetime only once
... and pass it as the sole argument to XMLSignatureHelper::SetDateTime().

Change-Id: I7f3e8dc90bb34ca347a1ad5a79717a338af3bed9
Reviewed-on: https://gerrit.libreoffice.org/54706
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-24 13:28:12 +02:00
Julien Nabet
9082e37400 tdf#117670: migration Firebird, deal with multiword column
by changing parsing process a bit

Change-Id: I77c06ba218e9bc0d241dbff10f76860d0ca5ed44
Reviewed-on: https://gerrit.libreoffice.org/54542
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-24 13:23:13 +02:00
Caolán McNamara
aed4d485df Resolves: tdf#117737 combobox menu misplaced if wrap-width set
so use ellipsize instead and set the height to one single line

Change-Id: Icb124669410c041880ce468f3cf56fdb4bc1c9f1
Reviewed-on: https://gerrit.libreoffice.org/54751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-24 12:52:38 +02:00
Rene Engelhard
2624869b23 revert accidentially committed part
Change-Id: I778feac0b50390f59a3621279636f8b09ed3def2
2018-05-24 11:52:07 +02:00
Rene Engelhard
66597c10af apparmor: allow also /usr/lib{,32,64}/jvm/**/bin/java
since /usr/lib{,32,64}/jvm/**/jre/bin/java doesn't exist since OpenJDK 9

Change-Id: Ic9c052a756ba4a93595595da98148ff22169d333
2018-05-24 11:49:35 +02:00
Tamas Bunth
434ba18afd tdf117333 dbahsql: Chain SQLExceptions
Change-Id: Ic24d79f39d9cc36cf229c7410e1f96c4c3d316f9
Reviewed-on: https://gerrit.libreoffice.org/54671
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
2018-05-24 11:37:29 +02:00
Samuel Thibault
63f5e757a0 libreofficekit: Run gla11y on gtv.ui
Change-Id: I1bb2be7d3636b70018276eb3d6b23ba7ace6e62a
Reviewed-on: https://gerrit.libreoffice.org/53926
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-24 11:09:56 +02:00
Stephan Bergmann
4a89e3fec3 Properly handle language-specific parts of --with-help=html media/ sub-tree
...that previously ended up in language-independent parts of installation sets.

The structure of that media/ tree doesn't allow to directly mis-use the existing
AllLangPackage machinery (which expects the language to be encoded in the first
pathname segment within the tree; and which is already mis-used for the
helpcontent2/AllLangPackage_html_lang.mk parts).

So introduce gb_AllLangPackage_add_files_for_lang that allows to specify the
language explicitly, independent of where it is encoded in the pathname (if at
all).  The underlying gb_AllLangPackage_add_file sets a
gb_AllLangPackage_ALLDIRS that is used by `make packageinfo`, which may need
further fixing by anybody actually using that target; see the mail thread
starting at
<https://lists.freedesktop.org/archives/libreoffice/2018-May/080242.html>
"Broken --with-help=html `make packageinfo`".

All files in $(SRCDIR)/helpcontent2/source/media/ must now explicitly be listed
in either helpcontent2/Package_html_media.mk (for the language-independent
files) or helpcontent2/AllLangPackage_html_media_lang.mk (for the language-
specific files).  Also note the two TODOs in
helpcontent2/AllLangPackage_html_media_lang.mk.

What is not quite right yet is that content from
helpcontent2/AllLangPackage_html_lang.mk and
helpcontent2/AllLangPackage_html_media_lang.mk is ending up in both per-language
helpcontent installation sets (as intended, via the instructions in
helpcontent2/CustomTarget_html.mk) and per-language languagepack installation
sets (which is unintended).  This needs to be fixed with a follow-up commit.

This is the core part of a commit spanning core and helpcontent2.

Change-Id: Ib29e52cf8a3ca7bcd234a8f6919c8eac6157cdbf
2018-05-24 10:50:16 +02:00
Stephan Bergmann
9146dc8850 Updated core
Project: help  33551e7fd85aa327f76bb343a3740bceb162bbfa

Properly handle language-specific parts of --with-help=html media/ sub-tree

...that previously ended up in language-independent parts of installation sets.

The structure of that media/ tree doesn't allow to directly mis-use the existing
AllLangPackage machinery (which expects the language to be encoded in the first
pathname segment within the tree; and which is already mis-used for the
helpcontent2/AllLangPackage_html_lang.mk parts).

So introduce gb_AllLangPackage_add_files_for_lang that allows to specify the
language explicitly, independent of where it is encoded in the pathname (if at
all).  The underlying gb_AllLangPackage_add_file sets a
gb_AllLangPackage_ALLDIRS that is used by `make packageinfo`, which may need
further fixing by anybody actually using that target; see the mail thread
starting at
<https://lists.freedesktop.org/archives/libreoffice/2018-May/080242.html>
"Broken --with-help=html `make packageinfo`".

All files in $(SRCDIR)/helpcontent2/source/media/ must now explicitly be listed
in either helpcontent2/Package_html_media.mk (for the language-independent
files) or helpcontent2/AllLangPackage_html_media_lang.mk (for the language-
specific files).  Also note the two TODOs in
helpcontent2/AllLangPackage_html_media_lang.mk.

What is not quite right yet is that content from
helpcontent2/AllLangPackage_html_lang.mk and
helpcontent2/AllLangPackage_html_media_lang.mk is ending up in both per-language
helpcontent installation sets (as intended, via the instructions in
helpcontent2/CustomTarget_html.mk) and per-language languagepack installation
sets (which is unintended).  This needs to be fixed with a follow-up commit.

This is the helpcontent2 part of a commit spanning core and helpcontent2.

Change-Id: Ie7916b75eee0dde3106e784d19e99fde5bb93195
Reviewed-on: https://gerrit.libreoffice.org/54749
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-24 10:49:58 +02:00
Caolán McNamara
482ac12a74 member can be a ref instead of a pointer
Change-Id: Idb0c27933b42f3aef65f0bce098f9bd7a81dc034
2018-05-24 09:09:10 +01:00
Caolán McNamara
4f75ad5061 ScTabViewShell is never optional
Change-Id: I9f42fd6179c0a64cc14a051ca7c9e2ed9300f5c8
2018-05-24 09:08:38 +01:00
Caolán McNamara
8f1a64bb06 coverity#704702 Dereference after null check
Change-Id: I876ffc1511b2115562039b97961c28d7b30e2c06
Reviewed-on: https://gerrit.libreoffice.org/54730
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-24 10:07:59 +02:00
Caolán McNamara
47c830d2ff coverity#1435749 silence Uncaught exception
and

coverity#1399120 Uncaught exception

Change-Id: If411cd6a392636c6ac99f1ae330b16611b24df93
2018-05-24 09:07:20 +01:00
Caolán McNamara
67a3ad8a66 coverity#1435748 silence Unchecked return value
Change-Id: Iba303276f9c9564eb4afe2a9238b009dc8bbc9d3
2018-05-24 09:06:41 +01:00
Noel Grandin
95e6c264e6 reduce some unnecessary ScRangeList copying
and reduce unnecessary work in ScRangeList

Change-Id: I0ee767fe28571f75f8a2ff980cea27c97c9797dc
Reviewed-on: https://gerrit.libreoffice.org/54705
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-24 09:48:08 +02:00
Gulsah Kose
2a93d2a4af [Pardus] tdf#92685 Add insert page count option to header menu
This patch is sponsored by ULAKBIM/Pardus project.

Change-Id: I5ecca4f58ec0ecf6a639153b52a4424af1966820
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/54687
Tested-by: Jenkins <ci@libreoffice.org>
2018-05-24 09:25:02 +02:00
Gabor Kelemen
23d51ad934 tdf#42949 Fix IWYU warnings in sd/inc/*
Found with bin/find-unneeded-includes
Removal proposals are dealt with here
With fallout management as necessary

Change-Id: Iaef9eec626334c480dd5a2def63bb476350ceebb
Reviewed-on: https://gerrit.libreoffice.org/54617
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-24 09:04:29 +02:00
Miklos Vajna
bb89376797 EPUB export: fix gla11y warnings
Change-Id: I4d2ca93ff01e27ee3400adab230cb8679aacdaa9
Reviewed-on: https://gerrit.libreoffice.org/54727
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-24 08:50:03 +02:00
Andrea Gelmini
451a76ec6f Fix typo
Change-Id: I0635a5f4f02a1de222656133bca1ff2da8ce59f6
Reviewed-on: https://gerrit.libreoffice.org/54711
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-05-24 08:19:45 +02:00
Tor Lillqvist
232103d09e Add FullScreen bit to WindowStateState
FullScreen in this context means a top-level window that is both
full-screen from the desktop environment's perspective (which
depending on the desktop environment might simply mean that it is as
large as possible to fill its screen, leaving any system menus etc
visible), *and* is in LibreOffice's full-screen mode (with no toolbars
or other UI elements except the document contents visible).

Not yet used, will be used in follow-up commits.

Change-Id: Ia6f86e0d2a7c5a621c6f19d897d3b17ba6bfb8b4
Reviewed-on: https://gerrit.libreoffice.org/54733
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-05-24 08:11:57 +02:00
Dennis Francis
25cc0ab3b5 Calc threading : Check for "self" references...
...on indirect dependencies too.

Here a self reference to any formula-group
means if there are any references in a formula
(of the formula-group itself or any of its dependencies)
that points to any element inside the formula-group.
If there are any self-references, then that formula-group
can't be computed in parallel.

For example, with this patch we can detect the following case:-
  Suppose the formula-group that we want to check is:
  "=(F2+G2-10)*10.0" spanning A2:A100. Let the formula-group
  starting at F2 be "=A1*0.1-10". The indirect dependency
  formula-group starting at F2, references back the elements of
  our original formula-group at A2. This makes the F.G at
  A2 unsafe for parallel computation.

Concretly, this patch fixes a recalc crash on tdf#63638/1

Change-Id: I7b999a34571b191d2f70da6a3831f78b24a6b0a7
Reviewed-on: https://gerrit.libreoffice.org/54433
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2018-05-24 07:27:02 +02:00