Commit graph

382456 commits

Author SHA1 Message Date
Noel Grandin
c4c2c7e427 com::sun::star->css in remotebridges,reportdesign
Change-Id: Id210cbc3481a8a31e6fc0ba2028346fc585c8744
Reviewed-on: https://gerrit.libreoffice.org/19597
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26 06:36:45 +00:00
Tor Lillqvist
cc906ec47e The Android NDK for some reason don't have these math functions in std::
Not even if one includes <cmath> instead of <math.h>. So just use the
C functions then.

Change-Id: Ic8499bc7bcd5c84b6e52e1d5dc799f9f058db816
2015-10-26 08:13:43 +02:00
Tor Lillqvist
cf35dbd17a WaE: loplugin:defaultparams
Change-Id: Ibb93059d4adab6b672cb9122b2dc8fe8af5bbbd6
2015-10-26 08:11:57 +02:00
Jan Holesovsky
5bc759b3ad tdf#94386: Small stylistic change based on gerrit#19371 comments.
Change-Id: If0e97269043addb7a1659e34c0b286d7ac32428a
2015-10-26 07:08:41 +01:00
Noel Grandin
c3acead32e attempted fix for android build
Change-Id: I47e5e3ebbbf55ae1fbbf2df85f9efbdd8bca1322
2015-10-26 08:03:26 +02:00
Mario J. Rugiero
96a6ab886f Remove unneeded boost/bind include from unoxml/source/dom/node.cxx
Change-Id: Ia97d9a24ffd455a135c44bba250fd0c27df7f910
Reviewed-on: https://gerrit.libreoffice.org/19591
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26 05:49:50 +00:00
Mario J. Rugiero
32b54f97d1 Replace boost::bind by lambdas in basegfx tree.
Change-Id: I8f72bec11b5dfd71cc60a18b980629c176d43f49
Reviewed-on: https://gerrit.libreoffice.org/19595
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26 05:49:07 +00:00
Noel Grandin
e6dce26083 cppcheck:noExplicitConstructor
Change-Id: I06f33af242c60e0349417ceab3ca4a6d47cd402d
Reviewed-on: https://gerrit.libreoffice.org/19589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26 05:47:06 +00:00
Julien Nabet
bebc20c62b tdf#90695: In function Wizard Array box cannot be unchecked
Just remove the disabling

Change-Id: Ia03591610ba1b60a66d9962169383c4ab85288ca
Reviewed-on: https://gerrit.libreoffice.org/19590
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-10-26 05:13:33 +00:00
tagezi
4e049fc892 Updated core
Project: help  5d7d8ae940137262e8fd575a2214bf0baf0e9c1f

A description of trigonometric function IM*

In ODFF a phrase was rewrote
in func_imsec.xhp and func_imsinh.xhp typos are corrected
in AllLangHelp_scalc.mk typo is correctedo

Change-Id: Ieecb11deae5a8b1da56cdaadc9f75ef08b211e3c
Reviewed-on: https://gerrit.libreoffice.org/19429
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-10-26 00:12:46 +00:00
Serge Krot
0b018d202d tdf#39440: fix several warnings reported by cppcheck
Change-Id: I560d28b7cc67740c6479494d0e5aa62d2ac6ffae
Reviewed-on: https://gerrit.libreoffice.org/19587
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-10-25 22:31:44 +00:00
Stephan Bergmann
ce463679a5 loplugin:simplifybool
Change-Id: I609e3dffeee6cde33fcbab71c15020434fe1a136
2015-10-25 20:28:16 +01:00
Stephan Bergmann
fb3ca9626f loplugin:defaultparams
Change-Id: I0aefe45eb06ac9d63fa79c33fd63f120c0258470
2015-10-25 20:27:30 +01:00
Stephan Bergmann
4415c9f54d loplugin:simplifybool
Change-Id: Ice6dfc7b8e295f322f38f8bc8f01d6776c742e54
2015-10-25 20:26:37 +01:00
Tor Lillqvist
129f814f6a WaE: Unreferenced function declaration [loplugin:unreffun]
Change-Id: Ia6baf94ada92ecd134587ed1148a2543c8c17614
2015-10-25 19:12:05 +02:00
Tor Lillqvist
aed77f656b WaE: Unreferenced externally visible function definition [loplugin:unreffun]
Change-Id: I4adb1c6f3eb978429768640ca25eff7d8a5ce23e
2015-10-25 19:11:00 +02:00
Markus Mohrhard
d4743045a0 the cells need to be imported before we handle charts, tdf#81396
Change-Id: Ic0dc47b71e76aa4825a867fc171406d126ae0518
Reviewed-on: https://gerrit.libreoffice.org/19568
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-10-25 16:30:00 +00:00
Eike Rathke
5ce6878314 replace implementation of rtl_math_expm1() and rtl_math_log1p()
... with ::std::expm1() and ::std::log1p() of C++11

Change-Id: I0d119958152ea372c136d28705686b44b39015bf
Reviewed-on: https://gerrit.libreoffice.org/19588
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-10-25 16:15:27 +00:00
Caolán McNamara
21679f7e0d coverity#1326344 Infinite loop is deliberate
Change-Id: Ieeae14607127c442b987afc51f2b59692f5334ca
2015-10-25 15:41:03 +00:00
Caolán McNamara
2f9bd9ac4d cid#1326721 to cid#1326726 Dm: Dubious method used
Change-Id: I5578dc3885945c013064cecf2ca86e7ca734368f
2015-10-25 15:41:02 +00:00
Caolán McNamara
1db8bc211f coverity#1326137 Logically dead code
Change-Id: Ib0dcae05793927ecca4e8031e66b6ca1bf4721f7
2015-10-25 15:41:02 +00:00
Caolán McNamara
32ca4302ef coverity#1326136 Logically dead code
Change-Id: I17c0f7e22e63823c16ebcdc1db1e4f618aad22a1
2015-10-25 15:41:02 +00:00
Caolán McNamara
10db9232ea coverity#1326117 Unchecked return value
Change-Id: I448f59fd43d90d3ad42ba55dbadee0664984e53a
2015-10-25 15:41:01 +00:00
Caolán McNamara
d6a3c5786b coverity#1326446 Dereference null return value
Change-Id: I18b3e0cc30e05e9a53a0f7ae9997b9f190f192f4
2015-10-25 15:41:01 +00:00
Caolán McNamara
cd75c25be8 coverity#1328719 SIC: Inner class could be made static
Change-Id: I88188482af59bb94f1869a1ad4fb3c72c71789b7
2015-10-25 15:41:01 +00:00
David Ostrovsky
4e3086da3e Remove Seamonkey based address book driver
Seamonkey based address book driver is based on pre-compiled libraries
and is only used on Windows 32 bit. Remove it in favor of mork driver.

Given that Seamonkey based mozab driver also provides Outlook and
Outlook Express address book integration, that Windows-32-bit--only
feature is lost for now.  If necessary, support for that feature could
be rewritten from scratch, in a way that would also work for Windows 64
bit.

Change-Id: Ie1c125e692598bda999767c328c9e2262a2b82af
Reviewed-on: https://gerrit.libreoffice.org/19560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-25 15:02:44 +00:00
David Tardon
be114fd493 fix typo
Change-Id: I06373679497ffc3472905251327073c878b48342
2015-10-25 14:13:17 +01:00
David Ostrovsky
c2e4e74138 Python3.5: Remove external dependencies: readline and lzma
Change-Id: Ie5cd1c0e186920f3b34d3986aa995a5c3be9c58a
2015-10-25 11:18:08 +01:00
David Ostrovsky
147cb6a2ae Bump python to 3.5
3.5 release is needed for MSVC 14.0 (aka VS 2015) support. Python 3.5
removed build toolchain support for MSVC 2013. Because we still need
to support it, we duplicate the Python directory in externals and
copy old patches and dispatch to this directory for MSVC 2013. Once
the support for MSVC 2013 is dropped on master, this directory can be
removed again.

Change-Id: Idf7bc351239582f583ecbdb53c923cbdcf968089
Reviewed-on: https://gerrit.libreoffice.org/17352
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-25 08:29:39 +00:00
Dennis Francis
1a4fc613e1 Remember the state of "Search formatted display string" checkbox
This checkbox was introduced in the commit
9a85743766
This patch makes Calc persistently remember the option's setting between
invocations of the Find & Replace dialog.

Change-Id: I82c1355e85cd16ce13229d495a6d243e185318ad
Reviewed-on: https://gerrit.libreoffice.org/19574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-25 05:45:05 +00:00
Douglas Mencken
1848581f4f clean-up for sfx2/source/appl/shutdowniconaqua.mm
Change-Id: I459e00ca0b6578be6f7543eb220720b1a48c1ac7
Reviewed-on: https://gerrit.libreoffice.org/19584
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-25 05:42:21 +00:00
Mario J. Rugiero
ed9867be93 Replace boost::bind by lambdas in avmedia tree.
Change-Id: I0072ba9972a6c4d1565b1d3826202ff11f0c335d
Reviewed-on: https://gerrit.libreoffice.org/19582
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-25 05:42:07 +00:00
Eike Rathke
a62bc6a65a replace implementation of rtl_math_erf() and rtl_math_erfc()
... with ::std::erf() and ::std::erfc() of C++11

Change-Id: I8ccc86ec4d6d71a92409770fc119f72e7084073a
Reviewed-on: https://gerrit.libreoffice.org/19583
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-10-24 22:46:03 +00:00
Eike Rathke
14cd70ba5a Revert "crashtestig: infinite recurse in ooo32833-1.sxc"
This reverts commit d2a07cd321.

We now ensure in sal that calling rtl_math_erfc() with NaN actually
works and returns a result as defined.
2015-10-25 00:28:33 +02:00
Christian Lohmaier
4607005c38 fraction assert kills Android viewer when viewing e.g. a ods with just a note
use SAL_WARN_IF instead - getting logged with info is more suitable for
this - useless zoom factors won't cause other problems

Change-Id: I7b8dd6551297eeff8e720ff85702f0049a4b93a2
2015-10-25 00:22:16 +02:00
Vasily Melenchuk
f7c8774b2f tdf#39960 fix saving of GIF images into RTF
Currently in case of RTF export LO converts all unknown graphic into WMF. And some images due to zero prefSize
produce invalid WMF of zero dimensions.

As a workaround for current case we do not convert GIF images to WMF, PNG format looks better here. The code can
be extended to provide suitable converters for other formats.

Change-Id: I0c98111a4496250874aa4f664dd2f70134c1bdd1
Reviewed-on: https://gerrit.libreoffice.org/19581
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-10-24 21:27:27 +00:00
Eike Rathke
70a50e8390 add delta for double comparison
Change-Id: I008438a6b1651068165e6a07b16ea0b2e447074f
2015-10-24 23:25:37 +02:00
Eike Rathke
5f7bc190b0 test oddness of rtl_math_erf() and rtl_math_erfc()
Change-Id: I12f38d29d1d0b02b8a99977a232646c213ef20e9
2015-10-24 22:26:41 +02:00
Douglas Mencken
157420cf07 vcl.osx.print: bin >>vintage<< implementation
Change-Id: I09958e48846962aa5ad29e3e6cc0ce2450973f74
Reviewed-on: https://gerrit.libreoffice.org/19516
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-24 20:14:21 +00:00
Eike Rathke
34abbb53f3 unit tests for rtl_math_expm1() and rtl_math_log1p()
Change-Id: I1b573365d55f6455e892b4b5b98a7090de5caf4c
2015-10-24 22:07:40 +02:00
Eike Rathke
04967cba8e implement Inf and NaN handling for rtl_math_expm1() and rtl_math_log1p()
Change-Id: Ie424a6f038107ef8b574d0422efaf49b441c110f
2015-10-24 22:07:08 +02:00
Eike Rathke
9846b6ab3d unit tests for rtl_math_erf() and rtl_math_erfc()
Change-Id: Ia6b025ba9980f0a7b333b2dc4ae708c3a63fca21
2015-10-24 21:34:53 +02:00
Eike Rathke
5f2db274db implement proper Inf and NaN handling in rtl_math_erf() and rtl_math_erfc()
Change-Id: Ib96d7123a3c483e9a1c78666bf042396510d733f
2015-10-24 21:34:51 +02:00
Douglas Mencken
0d4f422300 vcl.osx.print: convert to use modern API for print dialog
Change-Id: Icc7d7ad95d1ffbf55f1cd704148f3ceb58618e6c
Reviewed-on: https://gerrit.libreoffice.org/19432
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-24 19:06:44 +00:00
Eike Rathke
caf093e56f prevent endless recursion through rtl_math_erf* for Inf or NaN
Change-Id: If6eb273bc4d76f85da0844caea4bd697c6263013
2015-10-24 20:57:40 +02:00
David Ostrovsky
11fc708e71 Remove left over references to SYSTEM_MOZILLA
In a0c53a961a SYSTEM_MOZILLA was removed.

Change-Id: I421a293c7611dd5ed0d810c9c8a80f19faf1689a
Reviewed-on: https://gerrit.libreoffice.org/19580
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-24 18:57:04 +00:00
Mike Kaganski
4fc31c1569 tdf#95220: Check if DrawingLayer is not nullptr
bool ScDocShell::isTiledRendering() const crashed without this check

Change-Id: Idb7ace05eb1aa37cbc3d956503c046b0e9b9d0e5
Reviewed-on: https://gerrit.libreoffice.org/19570
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-10-24 16:45:45 +00:00
Dennis Francis
c43442dfef unit test for MDETERM() tdf#32834
Change-Id: Icc55931f5bc64fcc2745ca68f62851ee2c59f711
Reviewed-on: https://gerrit.libreoffice.org/19569
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-10-24 14:33:52 +00:00
Dennis Francis
e1e73a97b2 tdf#32834 : improve the precision of MDETERM calculation
MDETERM uses lcl_LUP_decompose() which as the name suggests does LUP decomposition.
This patch allows additive cancellations to occur in a cleaner way while doing the *only*
additive operation in LUP decomposition, that is while computing Shur complement.
This patch does not change the high level semantics of the algorithm.
Also note that this change makes improvement only in the case where matrix elements entered
by the user are *integers*. The change allows MDETERM to evaluate to exact 0.0 for
singular integer matrices.

The steps to calculate Shur complement are :

for i = k+1 to n
  aik = aik / akk;
  for j = k+1 to n
    aij = aij - akj*aik

This is now modified as :

for i = k+1 to n
  for j = k+1 to n
    aij = ( aij*akk - akj*aik ) / akk

Without this change MDETERM() for certain singular matrices used to evaluate to a tiny non zero value,
which also caused MINVERSE() to generate a wrong output.
An example of such a matrix is :
1 2 3
4 5 6
7 8 9

Change-Id: Idd4211ddceab1b758fd05bfd57f7eecd5d4fd1a0
Reviewed-on: https://gerrit.libreoffice.org/19534
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-10-24 14:33:25 +00:00
Caolán McNamara
5f64aba978 cppcheck: invalidPrintfArgType_sint
Change-Id: I4103c8e1549db44055fbfcb8ced6ec36d27fc126
2015-10-24 13:06:49 +01:00