395378 Commits

Author SHA1 Message Date
Zdeněk Crhonek
63dae82a18 add AVERAGEIF (wildcards) test case
Change-Id: I3cfcab9eb21107823f256dc2c30afd75c2531ab6
Reviewed-on: https://gerrit.libreoffice.org/27911
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-05 18:39:46 +00:00
Zdeněk Crhonek
2adaba5dd4 add AVERAGEIF test case
Change-Id: Ia8b5cdc375a770a241c3fb5c4e9522b604bf96af
Reviewed-on: https://gerrit.libreoffice.org/27910
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-05 18:38:54 +00:00
Zdeněk Crhonek
2f4a6170e8 add AVERAGEA test case
Change-Id: Id15ec960cd64704faa89498f1935a780bdd714e5
Reviewed-on: https://gerrit.libreoffice.org/27909
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-05 18:37:58 +00:00
Zdeněk Crhonek
86eb33222d add AVERAGE test case
Change-Id: I2ff39941ac36d90797d067776b5e6f9ba0fd565d
Reviewed-on: https://gerrit.libreoffice.org/27908
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-05 18:35:07 +00:00
Markus Mohrhard
dc72abc793 no need to check for nullptr before deleting
Change-Id: I5512ad52c9a0f943b29656e16cceeb08ce164abf
Reviewed-on: https://gerrit.libreoffice.org/27888
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-05 18:27:51 +00:00
Rishabh Kumar
5693ee7a41 [GSoC] Add Transparency tab to background dialog
Change-Id: I33dffe2435c44116842240e4b481947415317b5b
Reviewed-on: https://gerrit.libreoffice.org/27906
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-08-05 18:19:40 +00:00
Giuseppe Castagno
ecba128020 Fix certificate validation interaction
This enables the certificate validation when
StillReadWriteInteraction::StillReadWriteInteraction interaction
handler is used.

Certificate validation is needed for Web/WebDAV files.

Change-Id: I38cba9fc8b586953477d7df02acfcc8347603220
Reviewed-on: https://gerrit.libreoffice.org/27914
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-08-05 18:12:50 +00:00
Eike Rathke
91cad2de12 Compare() and CompareMat(): PopError() to propagate
... an already existing error instead of overriding with
errIllegalParameter.

Change-Id: Iebdbe1fbaba8aa1628eacc2a3ad3d193af7a42bf
2016-08-05 18:32:58 +02:00
James Clarke
3cb45765f2 (initial) sparc64 port
Change-Id: I8ec9bb5415a9e6b9083ba89a7790872d67625de1
2016-08-05 18:09:59 +02:00
Miklos Vajna
9dd8a0dcfd desktop: add undo/redo support to lok::Document::getCommandValues()
Expose the undo/redo stack and the metadata of each item.

Change-Id: I66b81e855a945c97be3d491ed709959f310d4b73
Reviewed-on: https://gerrit.libreoffice.org/27905
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-05 13:25:34 +00:00
Muhammet Kara
e50a95b829 tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in chart2 module

Change-Id: I9c6f2efd59b3796e0e6f5389467fe888f4465586
Reviewed-on: https://gerrit.libreoffice.org/27895
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 12:45:48 +00:00
Tor Lillqvist
36d65037e7 Tell where the colon is missing in the exception message
But sure, it would be surprising if the message was actually displayed
even if the exception is caught and causes some failure
somewhere... (See previous commit.)

Change-Id: I7375b869d08a465d9720a619d5ef49a77c4782e5
2016-08-05 15:26:04 +03:00
Tor Lillqvist
336a9ec1c4 URI-encode spaces in PRODUCTNAME for UserInstallation
Failing to do this caused a mysterious uncaught exception in gengal,
with no explanation printed. This turned out to be caused by the
'CONFIGURATION_LAYERS: missing ":"' exception thrown in configmgr,
which was caused by the unencoded space confusing the parsing of the
CONFIGURATION_LAYERS thing.

Change-Id: I9c91819906c2e0dd434d9f96a04bc14c0e0408ed
2016-08-05 15:25:54 +03:00
Noel Grandin
a402785625 loplugin:countusersofdefaultparams in sfx2..svgio
Change-Id: Ia01f3a9aa21c88df5fe5242ad4a3c0acbe68fda0
Reviewed-on: https://gerrit.libreoffice.org/27903
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 11:56:06 +00:00
Noel Grandin
b4e12269e8 loplugin:countusersofdefaultparams in editeng..fpicker
Change-Id: I6356c95296d81736fc6d66e510cd70606ee55f68
Reviewed-on: https://gerrit.libreoffice.org/27897
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 11:54:17 +00:00
Noel Grandin
dbe0b5aa9d loplugin:countusersofdefaultparams in framework..lotuswordpro
Change-Id: I9833d85eb6543e996b0f357657c53b1c076ecde4
Reviewed-on: https://gerrit.libreoffice.org/27898
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 11:51:28 +00:00
Noel Grandin
f12476f0f6 loplugin:countusersofdefaultparams in oox..sd
Change-Id: I4504939a3957606979c6ac36af6611e1fe072d01
Reviewed-on: https://gerrit.libreoffice.org/27902
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 11:50:45 +00:00
Miklos Vajna
99cb0d3e68 configmgr: fix loplugin:cppunitassertequals warnings
Change-Id: I19e197db4158939875fab0d9e51d903aa1671b37
Reviewed-on: https://gerrit.libreoffice.org/27893
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-05 11:40:14 +00:00
Noel Grandin
7fa183cb1a loplugin:countusersofdefaultparams in chart2..desktop
Change-Id: Iaca94acd6ef91f07ed0c0085390500c418099dee
Reviewed-on: https://gerrit.libreoffice.org/27896
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 10:28:25 +00:00
Rishabh Kumar
755a483805 Don't save the color list
Color list can't be modified, so no need to save the list

Change-Id: Idb11343f7812e1a30df9a5c0d26b6f22bd92c107
Reviewed-on: https://gerrit.libreoffice.org/27899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-08-05 10:14:44 +00:00
Tor Lillqvist
d448733db9 Clarify what --with-macosx-sdk actually does in its help text
Change-Id: I999fe123d71c646d20f108801ca989355bee3855
2016-08-05 12:34:54 +03:00
Miklos Vajna
adbaad5362 tdf#101154 Classification -> TSCP Classification for the toolbar name
Change-Id: Iebca1cfcecb1c498c195be919ed9f50e7eb40400
Reviewed-on: https://gerrit.libreoffice.org/27892
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-05 08:44:45 +00:00
Yousuf Philips
08f3661b5d Breeze: Add svgs to repo
Change-Id: Ia7293b0e28ba484d2bb0c9292a4fd06cc255e1d8
Reviewed-on: https://gerrit.libreoffice.org/27750
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-08-05 08:28:33 +00:00
Tomaž Vajngerl
f3d26af515 opengl: add #version to shaders - minimum 130 which is OpenGL 3.0
Change-Id: I5710ce91e804641d4c997bc3d06970a5ed0cb5b1
Reviewed-on: https://gerrit.libreoffice.org/27890
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-08-05 08:02:28 +00:00
Muhammet Kara
8433d136bc tdf#85110 Add missing space to Untitled document name
When you create a new document, it is named as
"Untitled 1", "Untitled 2" etc. but the properties dialog
of the file is titled as "Untitled1", "Untitled2" etc.
This patch adds the missing space inbetween.

Change-Id: I63c6405f825d17b78fa05bf2b65d0b04d1ee0698
Reviewed-on: https://gerrit.libreoffice.org/27872
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-08-05 07:57:45 +00:00
Noel Grandin
cbf9b547b6 use std::move in a few places
found by
  git grep -n '.reset.*.release'

Change-Id: I498709bd32b21d9dbbaa73603ce21d21c274f8dc
Reviewed-on: https://gerrit.libreoffice.org/27863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 06:29:03 +00:00
Noel Grandin
f22fa99460 loplugin:countusersofdefaultparams in canvas,chart2
Change-Id: Id66a706171b73affeb508812744028d9f30133af
Reviewed-on: https://gerrit.libreoffice.org/27868
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05 06:26:59 +00:00
Takeshi Abe
ce97110f37 starmath: SmBinHorNode's symbol is not always an SmMathSymbolNode
E.g. it is an SmGlyphSpecialNode in the "boper" case.

Change-Id: I6311e0dca8e71c617d2c4c681b0b049217ec9867
2016-08-05 13:36:45 +09:00
Laurent Balland-Poirier
39e300612c tdf#101147 New approach to fix minute/month detection
Other formats may be differently interpreted
HH YY/MM => Month expected
HH DD/MM => Month expected

Change-Id: Iabb17911bf2907c02b6b898052b6933692f8074a
Reviewed-on: https://gerrit.libreoffice.org/27823
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-08-05 00:06:58 +00:00
Tor Lillqvist
a4e81b7c31 No QuickTime in the 10.12 SDK
Finally. It has been documented as deprecated for years, after all.

Change-Id: Ia7f81639b2e0b313e0a8931f49c3902c5856339d
2016-08-04 23:54:40 +03:00
Tor Lillqvist
aabfbdbd8b Drop unneeded include
There is no <QuickTime/QuickTime.h> in the 10.12 SDK anyway.

Change-Id: I0d937d4b036d118fcb503543a516e55f859a3718
2016-08-04 23:54:40 +03:00
Szymon Kłos
d3c3dcb4d5 GSoC: notebookbar, position of popup menu
Change-Id: Ia4491a8659c8e6532681f7fca83b432e311d79d6
Reviewed-on: https://gerrit.libreoffice.org/27881
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
2016-08-04 20:28:55 +00:00
Tor Lillqvist
55a4fd60b1 Don't use functions introduced in 10.12 when building to run on older
getentropy() and clock_gettime() are new in macOS Sierra (10.12).

Change-Id: I93640bbf20056d925c3116df336aeaebaaffda18
2016-08-04 23:10:58 +03:00
Tor Lillqvist
4c94b91718 Accept also macOS SDK 10.12
Change-Id: I2e654de8af40486ef63146ad42a3f2988f9c3579
2016-08-04 22:48:22 +03:00
Eike Rathke
124eec6779 add unit test for nested array IF with range references as conditions
Change-Id: I37d95ba9d8f84e5a7aeefd67628436545c942da7
2016-08-04 21:29:42 +02:00
Miklos Vajna
3f02b2aa51 LOK init: avoid non-inline function definition in header file
To prevent possible ODR violations.

Change-Id: Ic9538244a0bf3760808904d2bcf608151c53f899
Reviewed-on: https://gerrit.libreoffice.org/27883
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-04 17:50:41 +00:00
Eike Rathke
e85bb29a02 re-enable unit test for tdf#100637 nested array IF with scalar
Change-Id: If2b6d5d8dcbad1472d12753083ba431b59713a7f
2016-08-04 18:58:34 +02:00
Eike Rathke
e5632d9b2f Resolves: tdf#100637 nested array jump condition needs own JumpMatrix context
... even if scalar. For all IF, CHOOSE, IFERROR, IFNA.

Change-Id: If776dbcd7e5991b7a5629fff0b894a6015918572
2016-08-04 18:58:33 +02:00
Eike Rathke
4e2673a546 rename MatrixDoubleRefToMatrix() to MatrixJumpConditionToMatrix()
... because that is actually where and how it is used and functionality is to
be expanded for other stack types as well for tdf#100637.

Change-Id: I29a0f7be6bf3d555ed86ebed06a636eff1d37087
2016-08-04 18:58:33 +02:00
Caolán McNamara
705d759748 Related: tdf#101213 speculative drop of CAIRO_OPERATOR_DIFFERENCE use
for tdf#99446 and rhbz#1283420 there is a hackaround which ended up in 5.1.5,
which is not in 5.1.4, for corrupt glyphs under X. I can still reproduce the
problem if I drop the CAIRO_OPERATOR_DIFFERENCE usage here with master and
gtk2.

This alternative hackaround to force a read of the underlying surface works
just as well (help->license information is the reproducer).

Change-Id: Ie3c5b07409537a1734226b4ce034620351297e25
2016-08-04 17:27:49 +01:00
Szymon Kłos
f13b2af50e GSoC notebookbar: updated .ui files
Change-Id: Ibc79cb49ed85ba3d96811bc5790faa16ea488472
2016-08-04 18:05:56 +02:00
Jochen Nitschke
0d8f433144 remove unused enum
last user of BiffFontPortionMode was removed with
commit 18825a4d596f69793ee11e643f6ea34317a880c9

Change-Id: Ia352008ae9ac17966e952dd0ecad53cf7fb4424a
Reviewed-on: https://gerrit.libreoffice.org/27880
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-08-04 15:06:01 +00:00
Caolán McNamara
628a21e7e4 like listbox put margins on both sides of an edit too
Change-Id: I425b1005297b20ace85181edce72ab5829006a0e
2016-08-04 15:48:49 +01:00
Caolán McNamara
cc62d87d5f use same scheme in Edit and ListBox for rendering text in ::Draw
Change-Id: I5b17103e838f221cf3815002979c6b8c9c443300
2016-08-04 15:48:49 +01:00
Tor Lillqvist
97746e61ff Update to match what has been used for the products in the Mac App Store
Hopefully will not break building for a dmg-stye distribution.

Change-Id: Ibf32bb8e43fe4745461eb78e9e7e60d37163934f
2016-08-04 17:44:40 +03:00
Tor Lillqvist
9ae4892a33 We don't build regmerge when ENABLE_MACOSX_SANDBOX
So skip CustomTarget_regcompare_test. But maybe we should build it and
just drop it from the app bundle we package?

Change-Id: Ibd8556ef686d2e9b7d4004110bf8beb93faf8202
2016-08-04 17:44:40 +03:00
Tor Lillqvist
f4425dd17b CppunitTest_desktop_app needs the Foundation framework when sandboxed
Because cmdlineargs.cxx uses NSTemporaryDirectory when
HAVE_FEATURE_MACOSX_SANDBOX.

Change-Id: I120a1f69bc94be161b76a9b813623103adc5fbe7
2016-08-04 17:44:40 +03:00
Tor Lillqvist
b640a1343b Introduce --with-product-name superseding --with-macosx-app-name
The new option thoroughly replaces the product name mentioned in the
AC_INIT() call. Work in progress.

Also take care of spaces in the product name in a more systematic
fashion.

This should affect mainly OS X where the final app bundle that is
installed should use the product name as such, including spaces, if
any. However, our build system does not cope that well with having an
app bundle with spaces in it in instdir. So in instdir, and also in
test-install, spaces are stripped away from the product name when used
as part of the app bundle name.

Change-Id: Ic16b5039f23c96a4f39387a1869faeb25e05aafb
2016-08-04 17:44:40 +03:00
Miklos Vajna
33a5ab1eb7 svl: track creation time of SfxUndoAction instances
It's not yet clear how to expose this on the UI, though.

Change-Id: Iee6737922d36e896653b4fae557442747dda1b8b
Reviewed-on: https://gerrit.libreoffice.org/27878
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-04 14:36:43 +00:00
Caolán McNamara
5a5db03acc Resolves: tdf#97120 printing controls uses wrong font and font sizes
regression apparently since

commit 825b3df7f1d987021ec4a08ff8e7ed78e5772c97
Date:   Thu Oct 22 19:03:01 2015 +0200

    tdf#94138 fix printing of edit form fields

revert the GetDrawPixelFont part of that so the font is pulled
from the control and not the device its printed to, this makes
tdf#97120 and tdf#97120 work properly again

then revert

commit 6c41727484a04ab89005ffb052937dae5d7dc223
Date:   Tue Dec 1 17:44:23 2015 +0100

    tdf#94138 Use correct fonts for multiline edit when printing

because that replicates the original GetDrawPixelFont behaviour
so its not needed after the other revert.

Then, to solve the original tdf#94138, in the edit StateChanged handler call
ApplySettings(*this); like FixedText::StateChanged does to merge in the
controlfont setting to the underlying OutputDevice of the control, which
presumably is what is then retrieved from GetDrawPixelFont

Change-Id: I992a0e2011ffce7748d39f7f2bc49fbf6b8eaa79
2016-08-04 15:00:37 +01:00