Commit Graph

406824 Commits

Author SHA1 Message Date
b7324ecbf3 add generic digest class
Change-Id: Ic5d2d8fbb0bb4edc4c966e185be81f6ca673950e
Reviewed-on: https://gerrit.libreoffice.org/36790
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-21 22:43:54 +02:00
6c8fd43cd1 [pt-PT] Autocorrect - Added 25 words
Change-Id: I1b542baf0f78ad90caeffca2456ad0c1eaae8a70
Reviewed-on: https://gerrit.libreoffice.org/36566
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-04-21 22:34:57 +02:00
5479034d5e upgrade to language-subtag-registry-2017-04-19
Change-Id: I2201c5fef55a38938fc3e412d9e3b64457a671a1
2017-04-21 20:42:34 +02:00
74b193e86b Clean up do_msvcr_magic
Change-Id: I932d903d04b03d3a437db3d3c549c21a1a330965
2017-04-21 19:33:31 +02:00
4cd309264d Silence loplugin:unreffun on "FIXME breaks on Windows"
Change-Id: I9b03f56d8d1b45648f9d71fe1e8632fe58079c4f
2017-04-21 19:21:42 +02:00
a49d3b14a6 external/epoxy: Work around missing clang-cl DLL-init CONSTRUCT support
Looks like neither the __GNUC__ specific __attribute__((constructor)) definition
of CONSTRUCT nor the _MSC_VER specific one (if the #ifs were reordered so that
clang-cl would pick the latter) with __declspec(allocate(".CRT$XCU")) are
supported by clang-cl, and both are rather silently ignored.  That means that
library_init is not called, library_initialized remains false, and the first
call to get_dlopen_handle aborts.

But this whole "verify that get_dlopen_handle isn't called too early" business
is somewhat pointless here (and that's the only use of the CONSTRUCT macro, and
DESTRUCT isn't used at all), so just short-circuit it for clang-cl for now.

Change-Id: I5d50df3574d350f9591e807ef0fb6a1b02dc34ec
2017-04-21 18:34:46 +02:00
de030cd7a2 gbuild: Remove MSVC 2013 legacy code
Uwinapi is discontinued.

Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01
Reviewed-on: https://gerrit.libreoffice.org/23198
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21 18:18:44 +02:00
489414f239 nss: try to remove nss.windowbuild.patch.0
It's not obvious to me what problem this solves.  Maybe the problem no
longer exsists in the new upstream release?

Change-Id: I16762e0024536afb821eac70c6ba3929d5b8927a
Reviewed-on: https://gerrit.libreoffice.org/36798
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-21 17:52:56 +02:00
5751291e8c LOK - Calc: changed the way header is updated on row/col insert/remove
This patch introduce a new LOK callback for informing the client that
the row/col header is no more valid and needs to be updated.

Change-Id: I21a3a41d69bd1a3c11c9ffaf1d7d53dbc3b9681d
Reviewed-on: https://gerrit.libreoffice.org/36733
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-04-21 15:35:22 +02:00
f0340e3dca Disable this test temporarily, breaks on Windows from some reason.
Change-Id: I47998d5844901b8090cd47f55a49c872550e2e38
2017-04-21 15:30:11 +02:00
6d61720907 Avoid un-necessary dynamic_cast slowing plain-text import significantly.
Change-Id: I5f3ff80b36220c80e777946f5f75354c4b6e4ab9
Reviewed-on: https://gerrit.libreoffice.org/36789
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-04-21 15:12:31 +02:00
0cdf41419a nss: upgrade to release 3.29.5
- fixes CVE-2017-5461 and CVE-2017-5462
- drop ubsan-alignment.patch.0, there is apparently now some
  NO_SANITIZE_ALIGNMENT macro upstream to get this effect
- drop some hunks to prevent hard-coding CC/CCC vars, upstream now
  respects environment vars (but doesn't quote them...)
- drop first hunk of ubsan.patch.0, fixed upstream
- drop hunk for gtest-internal.h, header looks much newer anyway

Change-Id: I5c484c02c1235e185af1ef5166b069303d3378e1
Reviewed-on: https://gerrit.libreoffice.org/36756
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-21 14:15:17 +02:00
87dc77ba52 Make HASHID work whenever there is std::hash<pthread_t>
Change-Id: I78aecfc7c0ea4ad4467417015bf41b809dbcda83
2017-04-21 13:44:37 +02:00
151a0cec29 ofz#1202 fix oom
Change-Id: I9b7b318af112fb9226bf8d2b54ea2a306eee4251
2017-04-21 12:11:36 +01:00
d581ef6ee2 restore copy/paste menu entries
Change-Id: Ie1dab6857dd6efdb816a11997ef32f0cc3497047
2017-04-21 12:11:35 +01:00
26930dfffe related tdf#68604: Unit test for writing the plaintext annotations in DOCX.
Change-Id: I8c747e72ca96ffd097c92326210c39740102ec79
2017-04-21 12:28:10 +02:00
24fee4879c related tdf#68604: Write the plaintext version of the annotation...
...if the TextObject is not available.  This is perfectly valid situation in
the case when the SwPostItField was created via the .uno:InsertAnnotation API.

Change-Id: I3ae2a529ba7cc13cf5b04d57aa299d79e2044f37
2017-04-21 12:28:10 +02:00
1570132192 tdf#107211 sw: ODF import: add a horrible hack to import "Default"
... character style for hyperlinks and index-entry-templates.

The problem is that the "Default" character style doesn't actually
exist, it is just displayed in the UI so you can remove a character
style that is set.  So for the most part there is no need to store
"Default" in ODF files, except that for hyperlinks the default isn't
"Default" but "Internet Link"/"Visited Internet Link".

Hence it was not really a good idea to rename "Default" to "Default
Style", because when importing existing documents the
text:style-name="Default" is not found, and for new documents
text:style-name="Default_20_Style" is not found either because
there is no style:style element that sets up the mapping between the
encoded style-name and the unencoded display-style-name.

Add some hack in SwXMLBodyContext_Impl::SwXMLBodyContext_Impl(), when
all style:style elements have been read (so we don't override what's
in the document) to create the mapping for "Default", "Default_20_Style"
and whatever the translation of that is.

(regression from 783d13a9276931e274a90b9b53de2c92dc8c055e)

Change-Id: I8a80847571f194204c5df267cb48e826a82328b2
2017-04-21 12:06:31 +02:00
4e3d14deb7 xmloff: fix typo
Change-Id: I0f354b37afa2492894c1d3ee6a83633c04e1c87a
2017-04-21 12:06:30 +02:00
00aeabb61d treat ParaShape like CharShape
Change-Id: I7870fdeee6bd097c94d7ae58b67506c4ab2a6fb5
2017-04-21 10:54:36 +01:00
76a3df733e loplugin:mergeclasses RscConst with RscEnum
Change-Id: I7bd35df0751c9ffce076848edd5373e00815dbc5
Reviewed-on: https://gerrit.libreoffice.org/36772
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 11:45:59 +02:00
dc2598b7b4 loplugin:unnecessaryvirtual
Change-Id: Ibf396e5431d30cb62f086fa723b88c330c18961b
Reviewed-on: https://gerrit.libreoffice.org/36771
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 11:42:24 +02:00
c7de8233d1 add ICU changeset-39671 fix for CVE-2017-7867 CVE-2017-7868
http://bugs.icu-project.org/trac/changeset/39671
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=213
https://bugzilla.redhat.com/show_bug.cgi?id=1444101

Change-Id: I4e776ad4fe63c77057b0c823f8672a2b6703346f
Reviewed-on: https://gerrit.libreoffice.org/36754
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-04-21 11:25:04 +02:00
34ebf9d230 Fix an apparent copy/paste error
Change-Id: Icc327dba2fe73c171d49811ee8d4d35a333f3178
2017-04-21 03:59:01 -05:00
db3683b43f xmlsecurity: remove no longer needed ImplXMLSignatureListener
The only remaining task it did was StartVerifySignatureElement() in
startElement(), but that can be done in OOXMLSecParser / XSecParser
easily, no need to have separate class for that.

Change-Id: I0863019d3a92a911df0d60bf872dd0978eac03d5
Reviewed-on: https://gerrit.libreoffice.org/36770
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-04-21 10:55:18 +02:00
9cb2e1b1be add CVE-2017-0199 testcase
Change-Id: I07cac2ffac85093761dbdd7c50c52483bfbb5754
2017-04-21 09:44:56 +01:00
59cf94fac8 tdf#107027 Remove language specific tags in templates
For all templates:
 Modify XML code to:
  Remove Configuration2 directory
  Remove lang specific tags in:
   - settings.xml
   - styles.xml
  Remove printer and grid parameters

Alizarin.otp
 Change names of master slides
 Remove hard coded texts tdf#104087

BrightBlue.otp

DNA.otp
 Remove hard coded texts

Focus.otp
 Remove hard coded texts
 Change text "Your logo here" to "Logo" to be less lang specific

Impress.otp

Inspiration.otp

LushGreen.otp

Metropolis.otp
 Remove hard coded texts

Midnightblue.otp
 Remove Outline frame on page 3

Pencil.otp
 Remove hard coded texts
 Resize title to not overlap picture

Sunset.otp
 Remove hard coded texts
 Set title in bold
 Resize outline text zone to fit in page

Vintage.otp

Vivid.otp
 Remove texts in Notes page
 Remove hard coded texts

Change-Id: If16c6c65e6650c1b6600e6324c0f931009023074
Reviewed-on: https://gerrit.libreoffice.org/36752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-04-21 10:23:15 +02:00
577ae613e0 tdf#103872 Localize "Export as image" window title
In Calc select Export as image from the local menu
of a chart to see this

Change-Id: I9753f4750bd619f161c52f9e067290743ad2f2ec
Reviewed-on: https://gerrit.libreoffice.org/36758
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-04-21 09:56:47 +02:00
c48ad62924 convert HTML_OPTION_IDS to scoped enum
Change-Id: Ia766dc58a571e5853005fd394283d7b53f02e4a6
Reviewed-on: https://gerrit.libreoffice.org/36748
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 09:20:50 +02:00
42b2c0042b pass RndStdIds around instead of sal_uInt16
Change-Id: I28c85b8a5370faa06043ad93412897778ed1a619
Reviewed-on: https://gerrit.libreoffice.org/36731
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 09:15:49 +02:00
8c8f2a5285 remove unnecessary explicit linefeeds from end of SAL and OSL log calls
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf
Reviewed-on: https://gerrit.libreoffice.org/36727
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 09:15:11 +02:00
841e1a6f36 remove some old MSVC workarounds
Change-Id: I6abd8aaffb27b3c85df7c0518f7f576be4e32222
Reviewed-on: https://gerrit.libreoffice.org/36660
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 09:14:45 +02:00
4354f0e9ef tdf#68604: Commit the data from the postit to the model before docx save.
Change-Id: I74f4adad5f142b35ff8819577b1dbd6e5c45db96
Reviewed-on: https://gerrit.libreoffice.org/36757
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-04-21 08:06:43 +02:00
d862741423 tdf#101627 add unit test
unit test for the patch 80b9b6761e8cb974e0cdc0c7be0eb95f8745d86f

Change-Id: I68b7eb686fa52f1851455160e1196f0748935c4c
Reviewed-on: https://gerrit.libreoffice.org/36747
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-20 20:40:35 +02:00
df69f1c4aa tdf#107071 remove "Data Range" from context menu in a pivot chart
Change-Id: Idb0087941e64af3b3373fd9a041ac04b96705934
Reviewed-on: https://gerrit.libreoffice.org/36737
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-20 16:10:35 +02:00
f44fb845f2 tdf#107067 remove data buttons as they don't have any action
Change-Id: I91751cfc32a75ecd72dc711821d918b6a5d9f83f
Reviewed-on: https://gerrit.libreoffice.org/36736
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-20 16:10:10 +02:00
d30d50e2fd tdf#107069 don't show "move" cursor on field buttons
Change-Id: I332cc7522eb98345d34cb411642189262d97744c
Reviewed-on: https://gerrit.libreoffice.org/36735
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-04-20 16:09:40 +02:00
38ba5bfa21 tdf#107143 Add delete all comments command.
Change-Id: I1375375543172146a27ed4225f584121f9945a8c
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/36623
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-04-20 15:59:19 +02:00
e981f360c2 renumber string IDs and close 40 gaps of resident empty strings
With the help of sc/util/number-defines-consecutively.awk

Change-Id: I1d2656ee8527cde6d6464b423a332401946f82a1
2017-04-20 15:48:55 +02:00
b15c9ed2c2 keep list sorted by alphabetical opcode
Change-Id: I8eafa00cadd6196e4e9dd87a00fd530c3945af2c
2017-04-20 15:33:07 +02:00
16e4d8004f tdf87700 Hide rotate 180 in image toolbar
Change-Id: I2c956542735909f2a2eab2e261f248fec85b7211
Reviewed-on: https://gerrit.libreoffice.org/36741
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2017-04-20 15:08:55 +02:00
e3cfb75352 tdf#106781 Style-focused formatting toolbar for writer
Change-Id: I941c49aa502fa2757bb7f6a1d0cba4d02f00e686
Reviewed-on: https://gerrit.libreoffice.org/36717
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2017-04-20 15:04:20 +02:00
f0fef88b74 Resolves: tdf#99625 add parameter classification for TEXTJOIN and CONCAT
So in array context the functions return a single string instead of an array of
identical strings.

Change-Id: Ia6ada10be4912745b60e281fac1736c560162d3a
2017-04-20 14:08:51 +02:00
5a155bb75b Simplify PTHREAD_VALUE
The distinction between MACOSX and other had been introduced with
ed8110e101db5a8ea4dde43a3ec38fe40e6fe7e2 "Avoid reinterpret_cast to same type"
to work around a GCC 4.6 bug that is fixed since GCC 4.7.

Change-Id: I7948721d311de2622c1e08e2ee17b5ccc304b51b
2017-04-20 13:54:01 +02:00
b2764a9b66 convert EDynamicMenuType to scoped enum
and drop unused E_HELPBOOKMARKS

Change-Id: I5756ea326bdc1a99f7d6f1ba43baf6aca9f7f2fc
Reviewed-on: https://gerrit.libreoffice.org/36728
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20 12:55:51 +02:00
2373babc68 sc lok: Notify when comment is added to destination doc
This can happen, for example, when undoing a deleted comment.

Change-Id: I4aff244f1263b650457a70334f5f4d2c75ad3b64
2017-04-20 16:08:25 +05:30
8411f48bfb loplugin:unusedfields
Change-Id: I0026e0a1890b984675e82ab7be5cdbc56e142a87
Reviewed-on: https://gerrit.libreoffice.org/36722
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20 12:35:18 +02:00
41bc9d4d46 Related: tdf#106690 DOCX import: don't reduce auto-space accross cells
As suggested at <https://gerrit.libreoffice.org/#/c/36142/>, and it
indeed matches the Word behavior.

Change-Id: I1ba5b70fc5a7acab52fa4baf816e9f6cd2f913ba
Reviewed-on: https://gerrit.libreoffice.org/36719
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-04-20 10:43:42 +02:00
7bcea5c8ba Updated core
Project: help  1b5413f89863008ab15c2233506298e1a657f421

HID bookmark is not localizable

Change-Id: Iae1909e7afc7504fb53f8fa3d861419a3415ea25
2017-04-20 10:14:58 +02:00
1c5cae479b loplugin:unusedmethods
Change-Id: Ib7a9b1b0802ca751da258065e89b412b090bb672
Reviewed-on: https://gerrit.libreoffice.org/36718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20 10:07:10 +02:00