Commit graph

415449 commits

Author SHA1 Message Date
Khaled Hosny
7e56dce9ef tdf#105992: Upload HarfBuzz 1.7.0
This release supports old-style kern table in the code path we are using in
CommonLayout.

Change-Id: Id20e6fe1cfe98ef65b8fa4a5627f6246cbac54a6
Reviewed-on: https://gerrit.libreoffice.org/44693
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2017-11-15 01:19:36 +01:00
Henry Castro
831dca83f0 sd lok: ensure default view
In Tiled rendering case, the only default view is supported

Change-Id: Ia6df85dba28f8ebb41bdc20ae48916b0437ea185
Reviewed-on: https://gerrit.libreoffice.org/44737
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2017-11-15 00:55:40 +01:00
Caolán McNamara
b56479e88e ofz#4211 Integer-overflow
Change-Id: I4e0f2c16d47639362d28d126a399b52d5180f16a
Reviewed-on: https://gerrit.libreoffice.org/44741
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-14 22:15:37 +01:00
Serge Krot
27e4a3c4e3 related tdf#113807: Clean up Links dialog: remove useless hidden button
Change-Id: I0e8f9d7b538dd094d53cda69517e94fbafd0d752
Reviewed-on: https://gerrit.libreoffice.org/44725
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-14 22:09:58 +01:00
Stephan Bergmann
12d75e5fa3 clang-format fix
Change-Id: I09db5eeee5734f980a794e9adee70b6b634dfd99
Reviewed-on: https://gerrit.libreoffice.org/44732
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-14 21:23:19 +01:00
Caolán McNamara
10bcb72a98 ofz: if parsing failed we keep reparsing it
Change-Id: I656eb1144a652addbc4a0b07b5d5dd435b68bf2c
Reviewed-on: https://gerrit.libreoffice.org/44714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-14 21:14:06 +01:00
Johnny_M
425c64fa27 Translate German comments and debug strings
Change-Id: I12c92ecc270e65cb99e38e9179cf354a8c0708aa
Reviewed-on: https://gerrit.libreoffice.org/44633
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-14 20:28:48 +01:00
Andrea Gelmini
7bcb66baec Fix typos
Change-Id: Id2f90d4798ded8f10ef559f434977870e2eab07a
Reviewed-on: https://gerrit.libreoffice.org/44709
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-14 20:26:54 +01:00
Johnny_M
5c1cadfd96 Translate German variable names
Change-Id: I980d9e36c2175b1010a7d020e71d59a79e11dc36
Reviewed-on: https://gerrit.libreoffice.org/44631
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-14 20:26:28 +01:00
Eike Rathke
82b25c2281 Updated core
Project: help  008c845819cd34a02fba16ee89c784d02d6740fa

Related: tdf#113768 VDB change Type parameter opposite to NoSwitch

Change-Id: I9a603cb70f5922c83482da55fa797441bffab93c
2017-11-14 20:02:18 +01:00
Eike Rathke
a6259d1a95 Resolves: tdf#113835 add Fon [fon-BJ] to language list
Change-Id: Iee741421d8f6a9a2b9b14439612890426cdf4712
2017-11-14 19:41:43 +01:00
Martin Hosken
c45b23377b Only do kashida insertion with fonts that have non-zero width kashidas
Change-Id: I54f51432531072a8ec3cde832003369b23cb6eaf
Reviewed-on: https://gerrit.libreoffice.org/44704
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2017-11-14 19:01:29 +01:00
Stephan Bergmann
935f76d0ed Use proper ucontext_t in external/breakpad
SUSv4 merely claims that ucontext_t is defined as a structure type (in
<signal.h>), and at least /usr/include/sys/ucontext.h in
glibc-headers-2.26-15.fc27.x86_64 now defines it as

  typedef struct ucontext_t { ... } ucontext_t;

instead of as

  typedef struct ucontext { ... } ucontext_t;

as was done in older glibc, so referring to it as "struct ucontext" (C/C++) or
"ucontext" (C++) no longer works.

Change-Id: I3d515a4ce7e5a49d0277136cad2b982bdf799ac5
2017-11-14 18:21:22 +01:00
Tor Lillqvist
404f9f5e45 Add clarifying comment about shell scripts in Contents/MacOS
Change-Id: I0f0bda04cc94705e44d78456756905fd6a821561
2017-11-14 18:54:27 +02:00
Eike Rathke
329eeefcbd Distinguish single/multiple cell copy for plain text, tdf#113571 follow-up
A single cell may contain embedded line breaks and tabs,
copy/pasting multiple cells may not.

Change-Id: Iae58f5c6b5330b327acfb50a37e9d210e72de7c7
2017-11-14 17:40:15 +01:00
Tor Lillqvist
ed89b432df Don't bother with unoinfo either in the sandboxed app bundle
Note: Only for the ENABLE_MACOSX_SANDBOX case. Does not affect a
regular signed build.

Change-Id: I296ebdd5de075c1efbd198c671a3ec082681deb4
2017-11-14 18:36:02 +02:00
Stephan Bergmann
17cfe6e25d Make checkIdenticalDefaultArguments more precise
...when creating objects of the same derived type

Change-Id: I109b614473a2fb5b08dddd07a4fbe757086141a1
Reviewed-on: https://gerrit.libreoffice.org/44716
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-14 17:28:53 +01:00
Mike Kaganski
2d42c1a8e9 LibreOffice.natvis: update visualizers
Change-Id: I48e13a16deb14869a2fb37822650f44ca7162406
Reviewed-on: https://gerrit.libreoffice.org/44727
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-14 17:17:31 +01:00
Szymon Kłos
a3a9177488 tdf#113037 DOCX Watermark correct ratio
Import and export Watermark with padding like MSO does.
Shape is scaled to save correct ratio.

Change-Id: Iebd8eb5f168e0030320406d4fd6b287e451267bd
Reviewed-on: https://gerrit.libreoffice.org/44319
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-11-14 16:49:30 +01:00
Mike Kaganski
e128d83b5e tdf#113790: skip charfmt grabbag items existing in autofmt grabbag
Change-Id: Icc0065c1da9471cb36bfef0da45e2f67381a1a31
Reviewed-on: https://gerrit.libreoffice.org/44706
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-14 16:41:10 +01:00
Eike Rathke
dee307cbc9 Add comment and @since LibreOffice 5.2
Change-Id: Iee7b0a6cd6f6f83f88b836e4efd7e7d6f17e6197
2017-11-14 15:55:58 +01:00
Stephan Bergmann
20671bcbc5 Adapt solenv/flatpak-manifest.in to recently added Noto fonts
b97e713e76 "tdf#103080 Add Noto fonts into default
installation"

Change-Id: I4e2bb52b533321dc2a9ca32ca548bda5a2ad9a02
2017-11-14 15:24:33 +01:00
Ashod Nakashian
a3f432a687 gtktiledviewer downgrade min gtk+ to 3.16
Change-Id: Ieb964ec1bbdeb632bd771db9b773f64b78107fc5
Reviewed-on: https://gerrit.libreoffice.org/44724
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-11-14 15:21:23 +01:00
Stephan Bergmann
db27a97a21 Adapt solenv/flatpak-manifest.in to recent download.lst changes
Change-Id: Id3b856cce8b6182dfcc433b2b633977b7445703d
2017-11-14 15:11:56 +01:00
Andrea Gelmini
4598e59cfb Fix typos
Change-Id: Id8df807bb96e036f0cef07cd1095b2d3336efe36
Reviewed-on: https://gerrit.libreoffice.org/44711
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-14 14:55:12 +01:00
Andrea Gelmini
e4e4097a95 Changed encoding from cp1252 to UTF-8
In [54]: open("sc/qa/unit/pivottable_filters_test.cxx",'r').readlines()
---------------------------------------------------------------------------
UnicodeDecodeError                        Traceback (most recent call last)
<ipython-input-54-39091a82db4d> in <module>()
----> 1 open("sc/qa/unit/pivottable_filters_test.cxx",'r').readlines()

/usr/lib/python3.6/codecs.py in decode(self, input, final)
    319         # decode input (taking the buffer into account)
    320         data = self.buffer + input
--> 321         (result, consumed) = self._buffer_decode(data, self.errors, final)
    322         # keep undecoded input until the next call
    323         self.buffer = data[consumed:]

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 1648: invalid continuation byte

In [55]: open("sc/qa/unit/pivottable_filters_test.cxx",'r',encoding="cp1252").readlines()
Out[55]:
['/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */\n',
 '/*\n',
...

Change-Id: Iad48bdf3502fcb6340e358249781a39d50f80c85
Reviewed-on: https://gerrit.libreoffice.org/44708
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-14 14:49:19 +01:00
Serge Krot
2818280eb4 tdf#113807 Enable clicking on pathfile-names in "Links" dialog
Improved:
* Very long pathfilename now do not overwrite its label on the dialog
* Full pathfilename could be clicked to show attachment/image
with default viewer.

Change-Id: I6e5398ed2a2013aae0d9b51a719e694b3206dcce
Reviewed-on: https://gerrit.libreoffice.org/44689
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-14 14:07:06 +01:00
Caolán McNamara
7d6f8b48ad ofz: stop at min of end of record and end of stream
Change-Id: I61c7cf74ea75ec56b6ccb3661f6fdd54a1ff12e1
Reviewed-on: https://gerrit.libreoffice.org/44705
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-14 13:25:36 +01:00
Stephan Bergmann
36e0acffbe Another workaround for "xargs: environment is too large for exec" errors
...on Windows, similar to df9edbcd28 "Work around
'xargs: environment is too large for exec' errors on Windows"

Change-Id: Ibc23960bbe2b8001eb7e08ed4cff12e4726df01b
2017-11-14 11:59:54 +01:00
Tor Lillqvist
cd4dd4f7c4 Two more functions that are private to vcl and not even VCL_DLLPUBLIC
... and thus don't need to be declared in a public include file.

Change-Id: Ia59040d3ef3ebf73b2372531bef086b0847911ce
2017-11-14 12:54:38 +02:00
Stephan Bergmann
80cbc18c6d Fix ASan "alloc-dealloc-mismatch (operator new [] vs operator delete)"
...e.g. during CppunitTest_smoketest, after
be2d9d3407 "Clean up m_generatedRttis at exit"

Change-Id: Ife4b07927ba11cf5b99e987b3bb9af068652ba62
2017-11-14 11:44:12 +01:00
Stephan Bergmann
34efaa8a75 Adapt Library_vclplug_qt5
...to 8f54136caa "use std::unique_ptr for
SalLayout"

Change-Id: Ibf8962de1b43881c70a1bad1881df61bf4b551a4
2017-11-14 11:40:50 +01:00
Andrea Gelmini
6b56336e23 Fix typos
Change-Id: I53b47cab5cbc603bf11adcda8ac2a8373eef26a8
Reviewed-on: https://gerrit.libreoffice.org/44695
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-14 10:42:08 +01:00
Miklos Vajna
348d8af8a7 RTF import: add odd section break testcase
lcov points out this was not covered so far.

Change-Id: I7c5047b75f6548e7738e6118f8d3c0eb9ed76045
Reviewed-on: https://gerrit.libreoffice.org/44702
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-14 10:38:05 +01:00
Noel Grandin
8f54136caa use std::unique_ptr for SalLayout
to make the ownership passing around more obvious

Change-Id: I147ec6d9cfe7566cf3600685e0730ed741c2d90d
Reviewed-on: https://gerrit.libreoffice.org/43454
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-14 10:19:32 +01:00
Caolán McNamara
b5344daa0c ofz: further limit exttextout to record size is smaller than stream size
Change-Id: I5f59db9e0c32f601537860d7574044b713d1c39d
Reviewed-on: https://gerrit.libreoffice.org/44696
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-14 09:50:29 +01:00
Tor Lillqvist
15fb717539 No need for bestmaxFrameSizeForScreenSize to be declared publicly
It is used only inside vcl, and it should stay that way.

Change-Id: Ia1a14ab13cb7d3580771c880f959abb2b695b032
Reviewed-on: https://gerrit.libreoffice.org/44698
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2017-11-14 09:07:14 +01:00
Johnny_M
97b5b99d71 Translate German debug strings
Change-Id: If4da1df3f7889d2b579fcde4fec5ac3c82026555
Reviewed-on: https://gerrit.libreoffice.org/44627
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-11-14 08:24:32 +01:00
Bartosz Kosiorek
2796b7e298 tdf#113758 EMF+ Add mapping of clipped region to the world space.
OffsetClip record applies a translation transform
    on the current clipping region for the world space.

Change-Id: I5d23f6aac944e4f23ea7c51e47fb551a20166446
Reviewed-on: https://gerrit.libreoffice.org/44699
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-14 08:05:23 +01:00
Noel Grandin
4de9091c62 loplugin:flatten loosen condition
the description in the comment was right, but the code was not

Change-Id: I7c038e7453f4387d33ec6423c0c55446d6d0df47
Reviewed-on: https://gerrit.libreoffice.org/44680
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-14 06:43:21 +01:00
Muhammet Kara
9050854c35 odk: fix broken link to the Developer's Guide
Change-Id: I0ba8a017a0c9178cb185c9a44bcee36caaf145de
Reviewed-on: https://gerrit.libreoffice.org/44692
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-13 21:45:05 +01:00
Andrea Gelmini
2a2d4a5703 Fix typos
Change-Id: I677512213d97d01832bebe162fbf7de2998bf4d0
Reviewed-on: https://gerrit.libreoffice.org/44664
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-13 21:36:23 +01:00
Caolán McNamara
79742eab11 ofz#4202 Null-dereference READ
Change-Id: Ib9beadaea1bc6521faf7d8080d301e4b5451fb1d
Reviewed-on: https://gerrit.libreoffice.org/44685
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-13 21:27:24 +01:00
Caolán McNamara
1243f89c6b ofz: detect short read
Change-Id: I1d394e914c4791a2bc3a8f3dbb1cf200e7d528fe
Reviewed-on: https://gerrit.libreoffice.org/44691
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-13 21:26:07 +01:00
Jens Carl
1c52e61fdc tdf#45904 Move _XLabelRange Java tests to C++
Change-Id: I707631718c30d4503ae675f3679038705371f969
Reviewed-on: https://gerrit.libreoffice.org/44672
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Tested-by: Jens Carl <j.carl43@gmx.de>
2017-11-13 19:43:59 +01:00
Stephan Bergmann
0ea5c91253 Resurrect still relevant part of external/harfbuzz/ubsan.patch
...after 945c10f42f "upload harfbuzz 1.6.3" had
dropped it completely.  Still necessary to e.g. avoid "runtime error: index 3
out of bounds for type 'OT::LongMetric const[1]'" during CppunitTest_emfio_wmf.

Change-Id: Idd93f6224f7e43016a71678bcaf5cc0527f95cee
2017-11-13 19:03:18 +01:00
Olivier Hallot
249c5b2931 Updated core
Project: help  ac105fe860f05e66f574e135fa6fcb738db9347f

Fix script for online version of new help

Change-Id: I9a395dbc88b6c2606b2a7fca1d829b10922e4674
Reviewed-on: https://gerrit.libreoffice.org/44630
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-11-13 18:55:30 +01:00
Eike Rathke
f435cdba5b Resolves: tdf#113571 paste-special "Unformatted text [TSV-Calc]", tdf#32213
For intra-Calc on-cell pastes using the paste special toolbar
button the SotClipboardFormatId::STRING_TSVC format can be used,
which preserves embedded line breaks and tabs by enclosing such
content in double quotes and escaping quotes by doubling them,
similar to CSV. This differs from the IANA
text/tab-separated-values MIME type (see
https://www.iana.org/assignments/media-types/text/tab-separated-values)
that does not allow quoted fields or embedded line breaks or tabs.

The text/plain "Unformatted text" format now again (after the
change with commit cdcd262ea4aa3c3e407b14ed533e514f75de2d3a for
tdf#32213) results in unquoted/unescaped content as expected for
external pastes.

A follow-up commit probably should distinguish whether the source
is one single cell or multiple cells and for multiple cells use a
strict TSV (with embedded line breaks and tabs changed to spaces)
if a simple "Unformatted text" is requested, which always uses
tabs as field separators anyway.

Further enhancement could be to offer strict
text/tab-separated-values and also text/csv at the clipboard if
there are applications that actually handle these MIME types.

Change-Id: Ica60f256e26867d854639823c62eedbf13eb4d4b
Reviewed-on: https://gerrit.libreoffice.org/44686
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-13 18:43:35 +01:00
Johnny_M
971b81b1c0 Translate German variable and function names in Calc (financial)
This follows up on https://gerrit.libreoffice.org/44295

Change-Id: Iac8351161a5e0d79a61fbb06d96985f92db68e3c
Reviewed-on: https://gerrit.libreoffice.org/44626
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-13 18:41:59 +01:00
Winfried Donkers
76c2e3efe7 tdf#113768 Fix opposite argument description for Calc function VDB.
Also, use self-explaining variable name for argument NoSwitch.
Added use of argument NoSwitch to unit test document.

Change-Id: I801d4dbd489898b28543e0eb46f74717671ea03a
Reviewed-on: https://gerrit.libreoffice.org/44647
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-11-13 18:28:10 +01:00