Commit graph

416071 commits

Author SHA1 Message Date
Winfried Donkers
e78f508997 tdf#97198 Make calc function MID work with Unicode non-BMP characters.
Change-Id: Ic86344495490d6ca942f9fd2752874da22ef531f
Reviewed-on: https://gerrit.libreoffice.org/45040
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2017-11-24 21:10:16 +01:00
Thorsten Behrens
0b202dbdc8 gpgme: fix build
Change-Id: I89170e90ea7fdd5b159a952fb0b2b1b4d0ae9204
2017-11-24 21:02:43 +01:00
Caolán McNamara
2a7fa39bc1 fix attempt to save and rethrow exception
Change-Id: Idff6ffef536d87d85f1092b3316d65da83527711
Reviewed-on: https://gerrit.libreoffice.org/45229
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 20:56:44 +01:00
Noel Grandin
bd43062c98 remove bogus ifdef block
since the define in question is defined at the top of the file

Change-Id: Ife67ad02db4a1a3c9ce4569b94ecf681dec5d2bf
Reviewed-on: https://gerrit.libreoffice.org/45225
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-24 20:12:02 +01:00
jan Iversen
e632cee783 iOS, typo in release mk
removed extra l

Change-Id: I6b01bb25a3e8d1caa5ba04ac09a5fa078bb2d664
2017-11-24 19:19:30 +01:00
jan Iversen
d29439104f iOS, used wrong gbuild get_target macro
Change-Id: Ie23c71faef2b14480b3797dd66bfe9788401ccf4
2017-11-24 19:19:30 +01:00
Jens Carl
befef6ff30 tdf#45904 Move _XSheetAnnotationAnchor Java test to C++
Fixes #i109517 for sc.ScCellObj by adding a note/comment during
the set up of the test in sccellobj.cxx and allows to re-enabled
the test.

Change-Id: Ic7aa6bcb2606f555a76612a6f50c200d738674db
Reviewed-on: https://gerrit.libreoffice.org/44617
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-11-24 18:59:02 +01:00
Christian Lohmaier
4b30570beb add intro-highres.png to list of brandables in configure
Change-Id: I51e8b0739498c5cda9822e5f3879b513fcc47887
2017-11-24 17:47:39 +01:00
heiko tietze
b30bb29ef2 Missing hires images for splash screen
Change-Id: I6642b5e993db58ad32ce0e56056bef4acb7a06e9
Reviewed-on: https://gerrit.libreoffice.org/45246
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-11-24 17:44:35 +01:00
Christian Lohmaier
4ef4d3ed57 Updated core
Project: translations  24c9679f71975ebeb9c8b0922de4ec001883199a

another set of translation updates for 6.0 beta1

Change-Id: I2223c5015644165b24010fb783b516886333581c
2017-11-24 17:13:40 +01:00
Caolán McNamara
eea59fff85 ofz#4414 set new nWwCols after verifying legal size
otherwise we're returning early with the now wrong
nWwCols

Change-Id: I2031c23ca24241fb4946b5a5a62eabc27c2bdcc2
Reviewed-on: https://gerrit.libreoffice.org/45240
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 17:13:06 +01:00
Stephan Bergmann
392e5dfee9 loplugin:unnecessaryparen
Change-Id: I5a1fa919b7fe8c91ac886a796426b5671573dbb6
2017-11-24 17:03:49 +01:00
Michael Stahl
67d1188374 tdf#113938 sw: apply new default vertical orientation only during import
Commit c79467ba95 changed the default
vertical orientation for shapes in Writer; it turns out that at
least one extension assumes the previous default.

Tweak SwXShape so that the new default is used for shapes that are
created during file import, otherwise the old default.

Change-Id: I1dc4d3342dd53ce8e0857984456717b8ffcc97c7
2017-11-24 16:56:11 +01:00
Mike Kaganski
ca6fec87e0 tdf#67207: export MERGEDIELD to DOCX and DOC
Also removed a hack for i119803, because proper solution is
implemented.

This does not export data source information yet.

Unit tests for DOC and DOCX are included. RTF export is already
covered in testFdo80905.

Change-Id: Id4f6d53344edf474add7e885e8ae6f36618e569f
Reviewed-on: https://gerrit.libreoffice.org/45193
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-11-24 16:39:04 +01:00
Caolán McNamara
8453f51fc6 improve scoping and use a ref instead of a pointer
Change-Id: I9b2d7e57495b26c748edfe6bf5d9d04e0c8a388f
Reviewed-on: https://gerrit.libreoffice.org/45239
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 16:38:25 +01:00
jan Iversen
86877f67da iOS, prelink with native linker.
Removed the need for a xcode project to prelink
all LO libraries.

Change-Id: I16d38ae0205e73de59b1cf3abdbbb8d4fea6d24c
2017-11-24 16:15:07 +01:00
Thorsten Behrens
b9c2fac7bc gpg4libre: call libgpg-error subsystem init
Due to a string of unhelpful coincidences, _gpgrt_lock_init never
got called in libgpg-error for Windows; resulting in occasional
crashes.

Change-Id: I95f508e4622777c21f90c76dce5b5ff420c81fa1
Reviewed-on: https://gerrit.libreoffice.org/45191
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-11-24 16:03:38 +01:00
Stephan Bergmann
832584eae5 Clean up loplugin:unnecessaryparen blacklist
* rsc/source/parser/rscyacc.cxx no longer exists

* writerfilter/source/rtftok/rtftokenizer.cxx appears to be just fine nowadays?

* sw/source/filter/html/htmltab.cxx used redundant parentheses around a comma
  operator in a while condition, and I see no reason not to remove them (the
  result requires a---reasonable---tweak to loplugin:commaoperator, though)

Change-Id: I451132c700b0ae5a43b03d704156484df897ad5c
Reviewed-on: https://gerrit.libreoffice.org/45213
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-24 15:54:48 +01:00
Miklos Vajna
4bae4ebd52 writerfilter: fix loplugin:simplifybool warning
Change-Id: I23806d8839bc6227311cb5f5d39c779f23e72e83
2017-11-24 15:38:27 +01:00
Tomaž Vajngerl
12d12fa8fa TSCP: fix oversizing of ListBox-es by defining max lines & chars
Change-Id: I47e8018c5f2c0ea890b5a11ac7cc03fafb7d1eed
Reviewed-on: https://gerrit.libreoffice.org/45205
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-24 14:51:17 +01:00
Christian Lohmaier
0f2f6285f6 Updated core
Project: translations  37566a3b86642db3d952208f574e523e6189ec4e

remove hu-Hung as it doesn't contain any translation in the first place

likely was added to the translations repository by accident.

Change-Id: I70514b9cea35f1230f58d16986f2843f5478e99e
2017-11-24 14:40:04 +01:00
Christian Lohmaier
c475b052fa Updated core
Project: translations  1b5f6fc07a18c8426746d97211a449b85a74a0ca

update sr and sr-Latn to current templates

Serbian seems to be an abandoned translation though...

Change-Id: I6a667687cafae9229831772242555a7cb65267d1
2017-11-24 14:38:19 +01:00
David Tardon
b6d246ea17 fix build with system gpgmepp
Change-Id: If0c81f5095b61d41b90db2e596bf5905b15ab506
Reviewed-on: https://gerrit.libreoffice.org/45210
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-11-24 14:37:16 +01:00
Caolán McNamara
c79afbe1b0 ubsan: runtime error: left shift of 249 by 24 places
pixman-bits-image.c:309:20: runtime error: left shift of 249 by 24 places cannot be represented in type 'int'

Change-Id: I4f67752f7826225cd2175198084a29ac248b873f
Reviewed-on: https://gerrit.libreoffice.org/45226
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 14:34:16 +01:00
Miklos Vajna
8b8aa6bc01 EPUB export: handle total table width
This is important when e.g. the col width are 50-50%, then without
explicit total table width the table width won't be correct.

Change-Id: I5ccd6dfb5b78c564485d54cda62e12f3d1ca36c1
Reviewed-on: https://gerrit.libreoffice.org/45204
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-24 14:06:22 +01:00
Miklos Vajna
ed0e7262f8 EPUB export: handle row height
By handling row styles.

Change-Id: Ie845cf9abfb4f6260d9401e81acc6864964b67bb
Reviewed-on: https://gerrit.libreoffice.org/45203
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-24 14:02:49 +01:00
Caolán McNamara
a760ed1560 unused header file
Change-Id: I7ee12c4b0b58098e0600d6d56409529a639aa6fd
Reviewed-on: https://gerrit.libreoffice.org/45224
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 13:50:18 +01:00
Caolán McNamara
20d4d543a5 ubsan: runtime error: left shift of 255 by 24 places
pixman-fast-path.c:2839:21: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'

Change-Id: I9afeee371aeef24bfc0c809b142b424c653fea2e
Reviewed-on: https://gerrit.libreoffice.org/45223
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 13:44:31 +01:00
Caolán McNamara
ab58e2e68f ofz#4406: don't increment ScCompressedArray::Iterator past end
Change-Id: I2adc204722a6143384bab8aecd16bed42cb5016a
Reviewed-on: https://gerrit.libreoffice.org/45192
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 13:17:09 +01:00
Caolán McNamara
82c3483b2d ubsan: pixman.c:347:10: runtime error: left shift of negative value -1
with fdo64256-1.docx

Change-Id: I27dc510b1f178d535bc6b2dace34cdae1d9cd62a
Reviewed-on: https://gerrit.libreoffice.org/45222
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 13:16:51 +01:00
Caolán McNamara
eca40d828f ubsan: runtime error: signed integer overflow
Change-Id: I357717d1f7c33842367179a76b2f3b840c8ef758
Reviewed-on: https://gerrit.libreoffice.org/45217
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 13:06:44 +01:00
Michael Stahl
3deee910ab gbuild: handle GENCXXCLROBJECTS in gbuildtojson
Change-Id: Ib5808a715e4ba0e0a5d9eea8260ea72fd85ccda2
2017-11-24 12:53:04 +01:00
Noel Grandin
665d085511 loplugin:countusersofdefaultparams in sw (1)
Change-Id: I0d14f9c375f93079aef21ca4f1132adc4e1fe06c
Reviewed-on: https://gerrit.libreoffice.org/45207
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-24 12:31:35 +01:00
Caolán McNamara
793b69fe73 don't worry about dangling timers at fuzzer exit
Change-Id: I9e18257f7e6e0438c6ce2801c0c2f8885b060870
Reviewed-on: https://gerrit.libreoffice.org/45214
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 12:14:57 +01:00
Caolán McNamara
d26ebaa2d4 pick a default during fuzzing
Change-Id: I98d99465d32b553ae55d76c99125f83e686ea2a1
Reviewed-on: https://gerrit.libreoffice.org/45215
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 12:14:37 +01:00
Eike Rathke
2408a1b1de Don't pass the test when all tests fail
Due to the locale dependent date format used here in strings that
neither matches en-US nor en-GB (in which the tests seem to be
executed) all tests failed, and then with passCount==0 the check
was

    If failCount <> 0 And passCount > 0 Then

instead of

    If failCount <> 0 Or passCount = 0 Then

so the end result was OK.

Also fixed the one case that was commented with
Rem why this fails in excel?
It actually also failed for us, just that because all tests failed
(see above) it never seemed to fail..
Problem seems to be the accuracy of the underlying date+time
double for this specific calculation. Good to know it happens in
Excel as well ;-)
As a workaround, conversion to string does the necessary rounding
internally.

Change-Id: If0302b2feab9e1233d66da4eccff732f61542a69
Reviewed-on: https://gerrit.libreoffice.org/45196
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-24 12:01:41 +01:00
Andrea Gelmini
5c1ec02f03 Fix typos
Change-Id: I384be98fc5336d48e6855a0ed0fe436b63712152
Reviewed-on: https://gerrit.libreoffice.org/45143
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-24 12:01:06 +01:00
Andrea Gelmini
5f62933a16 Fix typos
Change-Id: If511cbcc290488cf05cc078e6674deae2c454315
Reviewed-on: https://gerrit.libreoffice.org/45209
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-24 12:00:27 +01:00
Stephan Bergmann
827de7f419 Clarify that loplugin:unnecessaryparen doesn't want to warn about sizeof
...for whatever reason

Change-Id: Iaae919dc6c636c4846c548914e593cb8bd94fe8b
2017-11-24 11:43:30 +01:00
Miklos Vajna
af72d1b9d1 EPUB export: handle cell width
By handling relative column widths in libepubgen (since LO may only know
that one, when layout is not available) and parsing column properties in
writerperfect.

Change-Id: I8fae5f1a3c970b97c2b452f3c20eff0911a56ba8
Reviewed-on: https://gerrit.libreoffice.org/45202
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-24 11:15:01 +01:00
Miklos Vajna
de523ce9b8 EPUB export: handle cell border size/style/color
By adding support for automatic cell styles.

Change-Id: I31ff2bb6fed3391f571705505ccbbd89087e5972
Reviewed-on: https://gerrit.libreoffice.org/45201
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-24 11:14:21 +01:00
Miklos Vajna
0baecd418e EPUB export: implement row span for tables
By turning <table:table-cell> attributes into librevenge properties.
Also make sure that row/cell styles are inline at a libepubgen level.

Change-Id: Ic23058748d241209845f76d8edc548bab8212c5f
2017-11-24 11:13:42 +01:00
Noel Grandin
7b355976ab drop unused ATTR items
the table autoformat stuff does not use these values at all, it just
writes the internal details of PoolItems in a pre-determined order

Change-Id: Id6d8ae7508a8d19f5fd1e70f9a428d324082d3bf
Reviewed-on: https://gerrit.libreoffice.org/45199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-24 10:12:51 +01:00
Zdeněk Crhonek
ee64bf1005 uitest - writer Go to page dialog
Change-Id: I3088bb4b802b533db46dc3ab1d9d2fd241aa1fb0
Reviewed-on: https://gerrit.libreoffice.org/45009
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-24 10:05:14 +01:00
Caolán McNamara
6f31670783 set new document window as parent for dialogs during load
and exit typedetection early and completely if application quits
while detecting

During typedetection, before loading proper, we have the hidden window as
parent so warnings are not modal to existing windows and they are cancelled on
exit.

Once we do have a window, then reinit interaction handler to have that window
as the parent for any further dialogs.

Change-Id: I5c6711557266bf7d1eb9291f1c454cbfaf766886
Reviewed-on: https://gerrit.libreoffice.org/45148
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-24 09:55:17 +01:00
jan Iversen
99534540df iOS, added IOS_DEPLOYMENT_VERSION
Change-Id: Ie72c8303011df8a4e0e489ab505e619bd7a40e12
2017-11-24 09:10:22 +01:00
jan Iversen
944da4b735 iOS .mk naming conventions.
Updated target names, to allow cross references.

Change-Id: Ie0959876df58657a2303ca2b0865e91a7f5a0eea
2017-11-24 09:10:22 +01:00
Miklos Vajna
79101c50a7 sw: remove temporary debug code in txtfrm
Change-Id: Ia1183da8c3382c8b81a2d2154215d45e4847f460
Reviewed-on: https://gerrit.libreoffice.org/45194
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-24 09:04:01 +01:00
Miklos Vajna
ccd2888110 EPUB export: implement character properties of links from named styles
ODF allows text properties on hyperlinks directly, librevenge wants an
inner span instead.

Change-Id: I903045a688bf318e7ac7f8cac83bb4d537259969
Reviewed-on: https://gerrit.libreoffice.org/45161
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-11-24 09:03:39 +01:00
Stephan Bergmann
e8e5bd65d3 Pass $(MAKE) into external/libassuan
Change-Id: I82d775645018b6ce92e4cbc1c8cd67af958bfa21
Reviewed-on: https://gerrit.libreoffice.org/45165
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-11-24 08:50:52 +01:00