summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)Author
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21cid#707865 Uninitialized pointer fieldNoel Grandin
Change-Id: I86c90a95093d6c90cbc733164a3b773468575b5b
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: I3589b3fb44ad57140567338809513b3df7c7eba5
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: Id5cbf2c94e3d3ff27cdb8998e2b7b3b712b537ec
2014-02-19sal_Bool->boolNoel Grandin
Change-Id: Id314bacb8af5c75ecce73a0b7cfee45f36db93da
2014-02-18sal_Bool->boolNoel Grandin
Change-Id: I628c1506573c7d5ec182048a20ed996c9ae879c4
2014-02-09coverity#1169835 Improper use of negative valueCaolán McNamara
Change-Id: I73b9ea3f1da05c8ddfd8e0b2da526b65dc1891bb
2014-01-30fdo#73146 Add Excel 2010 functionsWinfried Donkers
PERCENTILE.EXC, PERCENTILE.INC PERCENTRANK.EXC, PERCENTRANK.INC QUARTILE.EXC, QUARTILE.INC RANK.EQ, RANK.AVG Function ScInterpreter::ScRank() has been rewritten to give the function the same way of computing as the related functions in this patch. Change-Id: If3096b265bd47ca5f4afcab7ff746f7c8511df82 Reviewed-on: https://gerrit.libreoffice.org/7319 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-29coverity#1158192 Improper use of negative valueCaolán McNamara
Change-Id: Ie5b455f3895e9ff53caf773e319d3342642b9945
2014-01-28bool improvementsStephan Bergmann
Change-Id: I9be9755170694a0071720080af4b8f2c9298f916
2014-01-27fdo#72793 Add Excel 2010 functionsWinfried Donkers
T.DIST, T.DIST.2T, T.DIST.RT, T.INV, T.INV.2T, T.TEST Also, fixed some incorrect string assignments in formula/source/core/resource/core_resource.src from previously added Excel 2010 functions. Change-Id: Ia4d13e7597d2a054d345a08b66b878f91c43f872 Reviewed-on: https://gerrit.libreoffice.org/7226 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-01-18Window::PreNotify should return boolStephan Bergmann
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-17Window::Notify should return bool, reduxStephan Bergmann
Change-Id: Ib41ed9ace428081e1948cf109de095ea9e7c45c2
2013-12-20Add internal cell function __DEBUG_VAR to sniff arbitrary internal state.Kohei Yoshida
Useful for debugging in a more flashy way. But never ever document this for end users. If you are an end user reading this, use this at your own risk. You have been warned. Change-Id: Ibbdb45f576287f707106327704754ffaec27ba3c
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-16fdo#72158 Add Excel 2010 functionsWinfried Donkers
LOGNORM.DIST, LOGNORM.INV, NORM.DIST, NORM.INV, NORM.S.DIST, NORM.S.INV Change-Id: I695e0645642af1757a1dd7d7f0f15c9515e21309 Reviewed-on: https://gerrit.libreoffice.org/6883 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-13remove unused code (ancient Calc function ZELLERROR)Winfried Donkers
code has no function, except that calc documents with formula ZELLERROR will not produce an error. But the formula is not interpreted, so remains 'dead code'. Change-Id: I6e7df7040a0273bcd3ebd497055924b7afdd3311 Reviewed-on: https://gerrit.libreoffice.org/7018 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-12-04remove usage of STRING_NOTFOUND in formula.cxxNoel Grandin
and tidy up the method a little Change-Id: I408fd96286749ec9e3743dbdad8cf424a7bb9035
2013-12-04remove condition that cannot be hitNoel Grandin
GetFunctionEnd cannot return STRING_NOTFOUND Change-Id: Ic9abee0ea77789e01acedf57c6c13edb0a5c08d9
2013-12-03convert formula::FormEditData from xub_StrLen->sal_Int32Noel Grandin
Change-Id: I0127079ef3ee6bde8e36f2a83ef1f568b9f15568
2013-12-03convert formula::FormulaDlg_Impl from xub_StrLen->sal_Int32Noel Grandin
Change-Id: Id3229083c1e2ad0cfcb01e9dfa6fa66eb5f5604a
2013-12-03convert FormulaHelper from xub_StrLen to sal_Int32Noel Grandin
Change-Id: Ib866c39b2bb5a3cf81b899dc38ea548e3762fc9e
2013-12-03Convert FormulaHelper::GetNextFunc xub_StrLen->salInt32Noel Grandin
Change-Id: Ief8c4b4699b3f6ffe1cb02d3dae43ad5a0c4c89e
2013-12-03convert getSuppressedArgumentCount from xub_StrLen -> sal_Int32Noel Grandin
convert IFunctionDescription::getSuppressedArgumentCount from xub_StrLen -> sal_Int32 Change-Id: Iee7a094a6f067fa57ee828c434417f7583c0f32b
2013-12-03convert IFormulaEditorHelper::*Selection methods from xub_StrLen to sal_Int32Noel Grandin
Change-Id: Ia7a6241c651106427e636bdc08085b97a2a41407
2013-12-02store internal CONVERT to .xlsx/.xls and distinguish from CONVERT_ADDEike Rathke
Change-Id: Ie9b5f6ade1c25618aa990ce17bd7b2a2b46a250a
2013-12-01Remove useless comments in funcutil.Tomaž Vajngerl
Change-Id: I2a5f70a45e1101c72a9dc973e1a783f716400ad2
2013-11-29our UI DURATION is ODF and Excel PDURATIONEike Rathke
Change-Id: Iaf0e5f8096554b8b5d80265b6dc5296b3294f134
2013-11-29fdo#71936 Add Excel 2010 functions GAMMA.DIST, GAMMA.INV, GAMMALN.PRECISEWinfried Donkers
Change-Id: I96f6beb34c1ce7f7191c6e9d379145ba98320c87 Reviewed-on: https://gerrit.libreoffice.org/6775 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-26Integrate branch of IAccessible2Steve Yin
Change-Id: Id8c4ff1d10eccda2d7279d625822759c1f520a46
2013-11-22fdo#71722 add Excel 2010 functionsWinfried Donkers
EXPON.DIST, HYPGEOM.DIST, POISSON.DIST, WEIBULL.DIST Change-Id: Ib9f648739ec0af90cdf2f576c7f548a6acb7b4a6 Reviewed-on: https://gerrit.libreoffice.org/6748 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-20fdo#71436 add Excel 2010 functions for F-distributionWinfried Donkers
Added F.DIST.RT, F.INV.RT, F.TEST, which are renamed FDIST, FINV and FTEST and handle the right tail F-distribution. Added F.DIST and F.INV, which are new functions and handle the left tail F-distribution. Change-Id: Ia7fa26a25f3188249f280733d6111951e2600704 Reviewed-on: https://gerrit.libreoffice.org/6701 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-18Fix indentation.Kohei Yoshida
Change-Id: I260649aca445e03c52423d8f0a63eb4681d2a876
2013-11-14Remove unused member.Kohei Yoshida
Change-Id: I8331251f77fb202375370a425e01862aa0f6310d
2013-11-14Identify methods that don't modify internal state and mark them const.Kohei Yoshida
Change-Id: Ie63d93d51640bfb80dc02bb226d742c2f9be96d8
2013-11-14fdo#71350 add Excel 2010 function CONFIDENCE.NORM and CONFIDENCE.TWinfried Donkers
Change-Id: I341b0c7a61047627aac1f12bc4653b6f9e65b2e3 Reviewed-on: https://gerrit.libreoffice.org/6625 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-14OOXML FINV is ODFF LEGACY.FINV, _xlfn.FINV is something differentEike Rathke
Change-Id: I5a61298229643c0b0e24d3a30069a95ddda6842f
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-14moved erroneous _xlfn. from ODFF to OOXMLEike Rathke
Change-Id: I58e7d1ba611b4482cfe4ac5f5d37feaf33691a37
2013-11-14all functions new in Excel since OOXML have _xlfn. prefixEike Rathke
Change-Id: Ie22292da1ee79f2693da73cc27944a53b2213150
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-13fixed file format mappings always have RESOURCE_BASE separatorsEike Rathke
Change-Id: I7ac93f742b469156cd8eb3f8171c7e05a98598ad
2013-11-13c++11 we love youCaolán McNamara
Change-Id: I6ff8610f6b31481334d609a0e150285e6eef6096
2013-11-13introduced FormulaGrammar::GRAM_OOXML with FormulaLanguage::OOXMLEike Rathke
FormulaLanguage::XL_ENGLISH is not OOXML, unconditionally using SymbolsEnglishXL with RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML spoils the grammars of FormulaLanguage::XL_ENGLISH that are not OOXML. Change-Id: Id885d1c033cd15dc7b11c6490be3a98500027d37
2013-11-11More Excel functions with _xlfn. prefix.Kohei Yoshida
Change-Id: I49d29fe626ea3079273b4e654a6a3803f7dbd614
2013-11-11Add separate list of function names for OOXML import.Kohei Yoshida
Change-Id: Id6bb9ed65f94a56e82c0c4a6fee241dec4eb9138
2013-11-11Thread-safe way to check for presence of references in formula tokens.Kohei Yoshida
Change-Id: I995668d1e183dc0dae4f354889bc13053e858723