summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-11-24never push an error instead of the ScJumpMatrixTokenEike Rathke
Change-Id: I52854241a9ab87153635b27cb6a66ef4269b2e76
2015-11-24sc: -Werror=unused-parameterMiklos Vajna
Change-Id: I1d3ad22b3dd304ff7384de1e07af88cd63bd28cd
2015-11-24sc: Implement Software Interpreter subsetting, similarly to openCL one.Jan Holesovsky
And add only the minimum amount of operations we are sure about. Change-Id: I0dd35968206161e31fcd8bfd0b647329c703e0da
2015-11-24sc: Implement ScVectorRefMatrix.Jan Holesovsky
This is a ScMatrix implementation that operates directly on formula::DoubleVectorRefToken, saving tremendous amount of copying data back and forth. Change-Id: I027e6cb668ef40eb474773a0ce8d0eeefc1ab71c
2015-11-24sc: Introduce Abstract Base Class for ScMatrix, for a future rework.Jan Holesovsky
We want to introduce another type of ScMatrix that will directly contain DoubleVectorRefToken and operate on that. The idea is that it is pointless to construct a ScMatrix via lots of copying around, when we already have a nice array of doubles. Change-Id: I3e5d7b9e2e0f9b9bf350336a8582cfd852586b3f
2015-11-24cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-23loplugin:unusedfields in scNoel Grandin
Change-Id: If5123e676a27302f3e11475309bc748977c6f430
2015-11-21tdf#83126: Find All: Don't ignore Search Direction Rows/Col optionJulien Nabet
bAll (ie "Find All") seems a little tricky for GetBackward but not for GetRowDirection method Change-Id: I47d2b378fb493bcdc1ad30902a3a677eedc50789 Reviewed-on: https://gerrit.libreoffice.org/20067 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-11-21unit test testMatrixConditionalBooleanResultEike Rathke
Change-Id: I6531a79b510da18b6799edd32d40cfce7dd2975a
2015-11-21solve 6/8 cases of the dreaded conditional logical format in matrix resultsEike Rathke
So we now have =IF({1,0},TRUE(),42) => {TRUE,42} =IF({0,1},TRUE(),42) => {42,1} =IF({1,0},42,FALSE()) => {42,0} =IF({0,1},42,FALSE()) => {FALSE,42} instead of before =IF({1,0},TRUE(),42) => {TRUE,TRUE} =IF({0,1},TRUE(),42) => {TRUE,TRUE} =IF({1,0},42,FALSE()) => {TRUE,FALSE} =IF({0,1},42,FALSE()) => {FALSE,TRUE} Not perfect but better.. Change-Id: Ib4970f3c4c1bea87130730b956a0a6754879c6e6
2015-11-20sc: One more place needed when one wants to enable the S/W interpreter.Jan Holesovsky
Rename the variable too when I am at that; it may be broken, but the user knows what he/she's doing when using an env. var. Change-Id: Ia457c477e5677e7f89a35b331df0933e2eb3f5b3
2015-11-20Seems more natural to pass a homogenous list by initializer_listStephan Bergmann
...than by template parameter pack (even if that requires using ServiceDecl*, as initializer_list cannot take reference types) Change-Id: Ia986201b52d8daedfe925f132ebc79bc2c0ba378
2015-11-20fix buildNoel Grandin
arguments to SAL_INFO are evaluated even when logging is off Change-Id: Ib0d391c0f080760be83f6e17dc0772b14f41fd4d
2015-11-20Remove last redundant toolbar:style propertiesSamuel Mehrbrodt
Change-Id: I42fa834464fd4cd7f0c1f11e310c1145fb1f071b
2015-11-20Remove redundant toolbar:style="radio" propertySamuel Mehrbrodt
Change-Id: I56969839a93af975466ab6c28f2f87557e4d7f1b Reviewed-on: https://gerrit.libreoffice.org/20074 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-20loplugin:sallogareasStephan Bergmann
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-20Remove redundant toolbar:style definitionsSamuel Mehrbrodt
Change-Id: If255e6bebe501f1b0959613ce091b322af064628
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-19Remove redundant toolbar:style attributesSamuel Mehrbrodt
These have been defined in the widgets Change-Id: If46a6862872286a454804846128bd8658f60af9b
2015-11-19loplugin:sallogareasStephan Bergmann
Change-Id: I2220ab194384fb397716bf3227d38716ba54f537
2015-11-19use comphelper::containerToSequenceNoel Grandin
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-18rename FormulaToken HasForceArray to IsInForceArrayEike Rathke
... to name it was it does and to distinguish from ScParameterClassification::HasForceArray(OpCode) which IS about a function having ForceArray parameters. Change-Id: I8af4e1d0353cdb5ad0a9b837ae0763dc77242734
2015-11-18editeng: wrong default item for EE_PARA_FORBIDDENRULESMichael Stahl
Change-Id: Idad6192fd1e3049913fac3dd906264fde6d1914e
2015-11-18vcl::ITiledRenderable::initializeForTiledRendering: support init. argumentsMiklos Vajna
Change-Id: I9a6a75457078dc6383673f4c1a2012b69b5cefdd
2015-11-18Unify menu-based toolbar controllersMaxim Monastirsky
The new GenericPopupToolbarController takes by default the popup menu controller that registered for the same .uno:Something command, and sets ToolBoxItemBits to ToolBoxItemBits::DROPDOWNONLY. If a different command specified using the "Value" property - takes the popup menu controller that registered for this command, and sets bits to ToolBoxItemBits::DROPDOWN. Change-Id: I75c5300bd27fcc9f618f2ee0df2aa6aefd088239 Reviewed-on: https://gerrit.libreoffice.org/20040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-18Remove redundant toolbar:text labelsSamuel Mehrbrodt
Change-Id: I9ca5739462742a4e3ec3a034918891e53022d6de
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-18use unique_ptr for pImpl in sc/Noel Grandin
Change-Id: I2516c83f8dfca1f1217be7dcb2a28f5dcd2f704e
2015-11-17sc: loplugin:badstaticsMichael Stahl
Not sure if there would be a performance penalty to re-loading these icons every time, so move the static map from ScIconSetFormat::getBitmap() to a member of ScDocument. Change-Id: If560d70cea27e25396dd821d9e77a785e3b79820
2015-11-17Be consistent in using tabs at least hereMatúš Kukan
Change-Id: I961516d92abd693c19efe8a051e35ae5192ef7d2
2015-11-17There is no need for this broken 'if' hereMatúš Kukan
Change-Id: I10f926af9ca19252878b9b6e20365c38c885ce83
2015-11-17Assume this wants to append the numerical representationStephan Bergmann
...not a single sal_Unicode char (aParam.nUserIndex is of type sal_uInt16), just the same as 2211ad695920526e9acf473f342d0732ce1112a8 "First cut on getting ODS import/export of sheet-local anonymous ranges" did in a very similar place in the same file. (And Kohei, author of both places, assumes this is the right thing to do, too.) Change-Id: I12cd8abf1b4aaab7baa54f21d8c5a7ff2e171275
2015-11-17Toolbar: Remove empty attributesSamuel Mehrbrodt
Change-Id: Id78cae55eb89520bd87713f9ea6c009c922f2870
2015-11-17Resolves: tdf#89907 do not modify original ScViewData's ScMarkDataEike Rathke
Change-Id: I2ae5a06f9ffe29de0b1cc5875615010da75f4ae9
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I6125c2abe1dbfd0a5ecf020b8363fc277d195157
2015-11-16tdf#95824: Crash: when opening Function WizardJulien Nabet
Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=ccde2360d5c29bb99008cfae5ab3675bee4ca46c Let's just initialize m_pDoc in ctor Change-Id: I4fe0f8eff5439b3150c90ac14343aaf8e0a4e43e Reviewed-on: https://gerrit.libreoffice.org/20004 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-16sc lok: use client zoom for ViewRowColumnHeadersAndrzej Hunt
Change-Id: I85000851f82ea7cdc4b536683adbc8570de9af7e
2015-11-16-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: I3bb2764b625d44f6e0cecbdde3363440faef63b5
2015-11-16unit test for tdf#95670Eike Rathke
Change-Id: I5874a7fea97311b0e69dbeae8923517a08b63c9a
2015-11-16Resolves: tdf#95670 propagate ForceArray per parameterEike Rathke
Regression of b5cd11b4b02a85a83db77ba9d8d1763f0cd88cb1 It was always wrong to propagate ForceArray already if a function had a ForceArray parameter *somewhere*, we need to do this per parameter instead. Change-Id: If188d45366279d9a7bf641edc7e4dd7095d6d035
2015-11-16sc: add some assertions on ScAccessibleEditLineTextDataMichael Stahl
JunitTest_sc_unoapi crashed when accessing a disposed ScTextWnd from ~ScAccessibleEditLineTextData(), but the ScTextWnd::dispose() would also call ScAccessibleEditLineTextData::Dispose() and clear mpWindow, so it seems impossible to observe a disposed ScTextWnd in the dtor? Change-Id: If571ee61d9a29601acb1de552ec1b9cc36d0d51e
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-14coverity#1339306 Using invalid iteratorCaolán McNamara
Change-Id: I72d9b1a2729d455431583177208597c554945629
2015-11-13sc: replace that boost::ptr_vector<Reference<T>*> abominationMichael Stahl
This looks like dead code anyway? Evidently it didnt' compile like that. Change-Id: Id6500c18d66c6932b24c15b653d992c449e260c4
2015-11-13sc: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I59831588fb7bc7e907fbffb24ddfe068552b6492