summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-06-14add TIME test caseZdeněk Crhonek
Change-Id: Ica82485f3e86c5b64753f01897210c54eccbd844 Reviewed-on: https://gerrit.libreoffice.org/26230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-14add SECOND test caseZdeněk Crhonek
Change-Id: Ib19f76c0decce64afd70f059670b870cf53a1943 Reviewed-on: https://gerrit.libreoffice.org/26228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-13fix obtaining ScRefCellValue results, tdf#97831 follow-upEike Rathke
ScRefCellValue in interpreter context has to be used with GetCellValue() and GetCellString(), using raw ScRefCellValue getString() and getValue() is not enough. This also changes behavior with referenced empty cells that sc/qa/unit/data/functions/fods/Functions_Excel_2016.fods tests for, but I assume that tested our implementation, not what Excel does in these cases. Needs checking. Change-Id: I16194ad59cce3d15271e7610e8ed90ac1786bcaa
2016-06-13Resolves: tdf#100048 we can rearrange the hidden child to allow tab traversalCaolán McNamara
the problem is the hidden window used to be the temp parent for the ref edit and button when this dialog is in shrink-ed to reference mode from the cell-range option on the criteria page Change-Id: Ic11299aae159b4f58f2158442b0a787fb0607c03
2016-06-13Give unique, comprehensible names to timers tdf#97087emahaldar/em
Change-Id: I9f2be193b995d43d4e3440e55a025629fe5bcaed Reviewed-on: https://gerrit.libreoffice.org/26222 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-13notebookbar: reduced paddingSzymon Kłos
Change-Id: I43df4ba611d7b377829ac3b5f17ff26077e9f13d
2016-06-13Resolves: tdf#90419 diminish precision error in Series FillEike Rathke
There may be more elegant ways to accomplish this, go and find one.. Change-Id: Iceaa0783db9cf3d3e1aa20f075fe7e0618a1feb6
2016-06-13tdf#42949: clean up includes in include/vbahelper with iwyuJorenz Paragas
Change-Id: Iaf93ff58229e9362b03b3e810611e969ef8baf38 Reviewed-on: https://gerrit.libreoffice.org/26206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-06-13coverity#1362685 Uninitialized scalar variable (UNINIT)Eike Rathke
Change-Id: I5da1a04d2fce6583fad0934d06dcba452181f256
2016-06-13coverity#1362684 Uninitialized scalar variable (UNINIT)Eike Rathke
Change-Id: I19ba749ae4cca43602330834f155eca89638c711
2016-06-13fix buildDavid Tardon
Change-Id: I01a111160d43e2f398ff4c560810b737b62b6ba3
2016-06-13Fix typosAndrea Gelmini
Change-Id: Ic3efae53430fbb2c1eb7962c3cf69bf99315e55b Reviewed-on: https://gerrit.libreoffice.org/26202 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-06-12tdf#92218 tweaks to single toolbar mode toolbarsYousuf Philips
Change-Id: Ia8311c48dfa116b4557880a48a7299659a10cb0e Reviewed-on: https://gerrit.libreoffice.org/26131 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-06-12convert DBG_ASSERT(false, to SAL_WARN(Noel Grandin
Change-Id: I400d728c5d99228c5ca52e369037395b4da2af5c Reviewed-on: https://gerrit.libreoffice.org/26187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-12remove some unnecessary castingNoel Grandin
Change-Id: I451df09db58256fed68ce8537b2d8eb4b6ab6942 Reviewed-on: https://gerrit.libreoffice.org/26184 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-11add ISLEAPYEAR test caseZdeněk Crhonek
Change-Id: I439fc530250598b201d99ef20f64604ebbdf7263 Reviewed-on: https://gerrit.libreoffice.org/26126 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-11add EOMONTH test caseZdeněk Crhonek
Change-Id: Ia0dfb7ad1b2aebb604b7ed62a197fdb8dcd9f5ad Reviewed-on: https://gerrit.libreoffice.org/26124 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-11add DAYS test case - repairedZdeněk Crhonek
Change-Id: I84a18d9494e74d70b03885fb66caf527e718b090
2016-06-11add DAYSINYEAR test caseZdeněk Crhonek
Change-Id: I5475b2d77f0db9bddc70ab64c3d191aac12a04f6
2016-06-11add DAYSINMONTH test caseZdeněk Crhonek
Change-Id: I770ced8c1073d6dba99eed46b6b3b5be38e27932
2016-06-11add ISOWEEKNUM test caseZdeněk Crhonek
Change-Id: If881524e0006a32320cccdff944d169e203380f0 Reviewed-on: https://gerrit.libreoffice.org/26176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-11add MINUTE test caseZdeněk Crhonek
Change-Id: I28a4df341a69641735870ead5afbd72bbfbed5b8 Reviewed-on: https://gerrit.libreoffice.org/26175 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-10Clean up uses of Any::getValue() in scStephan Bergmann
Change-Id: Ic272f616533021ee2148adaf28eed68301aa4602
2016-06-10Move accessibility relations to .ui files, Part 8: tdf#87026Muhammet Kara
By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. Change-Id: I04244b360b4bb32ccbbe5bde4756a9166ae1fcaf Reviewed-on: https://gerrit.libreoffice.org/26018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-09sc: eeek, a boost::ptr_vector! take it off! take it off!Michael Stahl
Change-Id: I3fffecd295577cc8eaa521e819b3c922f8c3f56e
2016-06-09tdf#100257 - Data : XML Source does not workNoel Grandin
Revert "sc: boost::ptr_vector->std::vector" This reverts commit 280553e30f4ddc932838f98a9efaac03a988a0df. Change-Id: Ia50c9cf7902e2e830c6e7f7a13c8f04341556e6c Reviewed-on: https://gerrit.libreoffice.org/26106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-09Resolves: tdf#100285 EASTERSUNDAY() check valid year between 1583 and 9956Eike Rathke
Change-Id: I4b25f1eb8e3cf0236b69607bb9ab9b4c57ae918a
2016-06-09change number format for formula results if of different typeEike Rathke
... so =IF(B1,B1) changes from FALSE to the content of B1 instead of TRUE if B1 was empty or 0 on the first run but another value on the next run, with some logic to not override user applied formats. Change-Id: I0207adf0d71844f7bc2bb0f51ff308cca65aec52
2016-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko
This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-06-08make SvNumberFormatter::IsCompatible() staticEike Rathke
Change-Id: Ic40d0852c8e0a8f0957fc782c85c1084c7fe265f
2016-06-08tdf#48140 Remove unused headers from xlsx import to improve build performanceBartosz Kosiorek
Change-Id: Ie22dc56cceddcb91e946083c6bcf4c041545e75b Reviewed-on: https://gerrit.libreoffice.org/26001 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-06-08Let loplugin:passstuffbyref also look at fn defn not preceded by any declStephan Bergmann
Change-Id: I752bc96d2d521d790e919283cabb14b6526626f4
2016-06-08PushCellResultToken() with final FormulaDoubleTokenEike Rathke
Change-Id: I3c628527c3e5bb676be791e3a31d617c4cc917ae
2016-06-08convert the final double result to FormulaDoubleTokenEike Rathke
... if it was a FormulaTypedDoubleToken, and set type information. Change-Id: I2debcda4650d621311d5d7670ffdedecb2e25a04
2016-06-08tdf#96099 Remove various smart pointer typedefsMark Page
Change-Id: I76843139e43ca1c158a977e24d210d5af93e4d0f Reviewed-on: https://gerrit.libreoffice.org/26014 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-08use the new type information we now transport, tdf#35247 relatedEike Rathke
Change-Id: I47e9bf8e7012024f3bf715569ab0192f973d2a2f
2016-06-08use FormulaTypedDoubleToken in PushDouble() for temporary interim resultsEike Rathke
... and extract type information in PopDouble() Change-Id: Ib184a8d893bf1072d051a80259b44f6e28fc9271
2016-06-08ScDPResultTree::ValuesType can be emptyEike Rathke
Change-Id: I1a1213b6d887c1a2f0bfb5c8946e5bd67043cd01
2016-06-08split AddRemoveListener into two methodsNoel Grandin
Change-Id: I247dc8a9033b39d5e49dc06e725f638644fcd02d
2016-06-08remove "object is disposed" warning in OBroadcastHelperVar::removeListenerNoel Grandin
doesn't add anything of value. Change-Id: Ie2dea7c43570640284771c992d0072ab61de425e Reviewed-on: https://gerrit.libreoffice.org/25871 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-08remove some manual refcounting in scNoel Grandin
Change-Id: Ie13b28ffaf861dc85063e5a4b23fef8c929033d9 Reviewed-on: https://gerrit.libreoffice.org/26006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-08sc lok: catch unhandled exceptionPranav Kant
Now, after 432b27ec73940738bb0b4f9d3d749c70a2525700, we do not export newlines when empty range is selected. Trying to get transfer data in such a case throws an exception. Change-Id: If2b16bfa2c1932b0599108b989e62e200c1b3b27
2016-06-07Resolves: tdf#89186 descend into dimension children to obtain leaf resultEike Rathke
Change-Id: Iea6c292c6d7347c4abb221672e583118196e6c1f
2016-06-07attempt to obtain numeric constraint values for GETPIVOTDATA(), tdf#35247Eike Rathke
This helps for a very basic GETPIVOTDATA(A1,A1,"fieldname",DATE(1999,12,23)) to recognize the date value, but still fails for not so simple expressions or if there are more than one constraints, as we don't transport type information in tokens yet. Change-Id: I3dba8959b580e823af2b1352adb147ca9e4b9285
2016-06-07Resolves: tdf#88237 crash without java but with nlp solver installedCaolán McNamara
Change-Id: Ifb451c299e4586a3a38c83a3111f3ac0b46d9315
2016-06-07tdf#97340 : Handle autofilter search for dates correctlyDennis Francis
Change-Id: I5c8413d560789a626ea87eb28a89059960177f1f Reviewed-on: https://gerrit.libreoffice.org/25850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-07Move accessibility relations to .ui files, Part 7: tdf#87026Muhammet Kara
By removing unnecessary variables/strings/funciton calls, and making proper changes in the related .ui files. Change-Id: I059bf02bc6ea29bf1b92d21f5a10a76548ecd1fc Reviewed-on: https://gerrit.libreoffice.org/25973 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-07cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I2bd2fd9c5768128130659213305b7da04686125a Reviewed-on: https://gerrit.libreoffice.org/26000 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-06Resolves: tdf#35247 introduce a locale independent numeric field filterEike Rathke
... that tries to match a locale independent query string. Going via string queries is likely only necessary for the ugly alternative "fieldname[member]" syntax, if it is actually unnecessary for the field1,item1,... syntax needs to be evaluated and if so a distinct GetPivotData() function evaluating numeric contraints as well could be introduced. Change-Id: I2c1fc81c1022b0bba5eef8d86c0c815bb6e31f2d Reviewed-on: https://gerrit.libreoffice.org/25975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-06-06tools: rename SvStream::Read/Write to ReadBytes/WriteBytesMichael Stahl
Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>