summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)AuthorFilesLines
2013-12-31Add internal cell function __DEBUG_VAR to sniff arbitrary internal state.Kohei Yoshida1-1/+3
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.
2013-12-02store internal CONVERT to .xlsx/.xls and distinguish from CONVERT_ADDEike Rathke1-1/+1
Change-Id: Ie9b5f6ade1c25618aa990ce17bd7b2a2b46a250a (cherry picked from commit 8302495a219e869f194f4b585c6f2b996eee0a5c)
2013-11-29our UI DURATION is ODF and Excel PDURATIONEike Rathke1-1/+1
Change-Id: Iaf0e5f8096554b8b5d80265b6dc5296b3294f134 (cherry picked from commit 62e1a27dc757637223f5f18b1a340ba138e0cb82)
2013-11-22fdo#71722 add Excel 2010 functionsWinfried Donkers1-0/+28
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> (cherry picked from commit e434c1ce0557454ef4cdd98435c5c0b1d5181bcf)
2013-11-20fdo#71436 add Excel 2010 functions for F-distributionWinfried Donkers1-0/+35
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 Grandin1-1/+1
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-18Fix indentation.Kohei Yoshida1-3/+3
Change-Id: I260649aca445e03c52423d8f0a63eb4681d2a876
2013-11-14Remove unused member.Kohei Yoshida1-2/+0
Change-Id: I8331251f77fb202375370a425e01862aa0f6310d
2013-11-14Identify methods that don't modify internal state and mark them const.Kohei Yoshida1-10/+10
Change-Id: Ie63d93d51640bfb80dc02bb226d742c2f9be96d8
2013-11-14fdo#71350 add Excel 2010 function CONFIDENCE.NORM and CONFIDENCE.TWinfried Donkers1-0/+14
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 Rathke1-1/+1
Change-Id: I5a61298229643c0b0e24d3a30069a95ddda6842f
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-2/+5
- 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 Rathke1-8/+8
Change-Id: I58e7d1ba611b4482cfe4ac5f5d37feaf33691a37
2013-11-14all functions new in Excel since OOXML have _xlfn. prefixEike Rathke1-36/+36
Change-Id: Ie22292da1ee79f2693da73cc27944a53b2213150
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin1-6/+6
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-13fixed file format mappings always have RESOURCE_BASE separatorsEike Rathke1-27/+31
Change-Id: I7ac93f742b469156cd8eb3f8171c7e05a98598ad
2013-11-13c++11 we love youCaolán McNamara1-2/+2
Change-Id: I6ff8610f6b31481334d609a0e150285e6eef6096
2013-11-13introduced FormulaGrammar::GRAM_OOXML with FormulaLanguage::OOXMLEike Rathke1-10/+27
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 Yoshida1-9/+14
Change-Id: I49d29fe626ea3079273b4e654a6a3803f7dbd614
2013-11-11Add separate list of function names for OOXML import.Kohei Yoshida3-3/+360
Change-Id: Id6bb9ed65f94a56e82c0c4a6fee241dec4eb9138
2013-11-11Thread-safe way to check for presence of references in formula tokens.Kohei Yoshida1-0/+27
Change-Id: I995668d1e183dc0dae4f354889bc13053e858723
2013-11-11remove unnecessary use of OUString constructorNoel Grandin2-15/+15
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-08fdo#70797 add Excel 2010 functionsWinfried Donkers1-0/+30
CHISQ.DIST, CHISQ.INV, CHISQ.TEST, CHISQ.DIST.RT, CHISQ.INV.RT Change-Id: If32530a82b2e5fa1aa30a8c80090742be5acf3eb Reviewed-on: https://gerrit.libreoffice.org/6611 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-06Protect those global symbols containers with mutex during initialization.Kohei Yoshida1-25/+41
Change-Id: Id15b3e1a2bfebd2ea795fd412a259f125f5d9bab
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin1-3/+3
Convert code like: xub_StrLen nLen = aStr.getLength(); into sal_Int32 nLen = aStr.getLength(); Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
2013-11-04fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INVWinfried Donkers1-0/+12
Change-Id: Iaecccd9ec6ab6a08c6c7ee8c024a3eba48ca1682 Reviewed-on: https://gerrit.libreoffice.org/6521 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-31fdo#71008 add Excel 2010 functions BETA.DEST and BETA.INVWinfried Donkers1-0/+12
Change-Id: I65863031cc2795713bf80c17dfc787e2700a556a Reviewed-on: https://gerrit.libreoffice.org/6505 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-30fdo#61002 add Excel 2010 functions VAR.P and VAR.SWinfried Donkers1-0/+12
Change-Id: I23f286eaaef79d196a65e8079b62cf577539e9f1 Reviewed-on: https://gerrit.libreoffice.org/6477 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-30fdo#54938: Convert svx to use cppu::supportsServiceMarcos Paulo de Souza1-8/+3
Change-Id: I3ab178924cb1c4240511f08625f244dac54e3913 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25fdo#44134 adding Excel 2010 functions STDEV.P and STDEV.SWinfried Donkers1-0/+12
Change-Id: If7b2767a69285ac72fa7120b1149a66f118cce8f Reviewed-on: https://gerrit.libreoffice.org/6354 Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com>
2013-10-18New constructor that takes both numeric and string arrays.Kohei Yoshida1-0/+2
Change-Id: I9c48f340a0349e5f1ba772fcd783924c79b07616
2013-10-18More eye-pleasing way of checking for valid vector array...Kohei Yoshida1-0/+5
Change-Id: If2f47a7d98a4cbc9e09dc98c1bb0e11f8f889265
2013-10-18Allow vector array tokens to store both numeric and string values.Kohei Yoshida1-3/+3
This is achieved by storing two physical arrays in each vector reference array. Change-Id: Iafb9e57b86e57e75eed8ff692a6d882c2049f710
2013-10-18fdo#70000 add support for COVARIANCE.P and COVARIANCE.S functionsWinfried Donkers1-0/+12
These functions have been introduced with Excel 2010, but were not supported yet in calc. COVARIANCE.P (population) replaces the COVAR function, but the COVAR function remains present (in Excel as well as in calc). COVARIANCE.S (sample) is a new function. Change-Id: If5501b4090fb716adfb3d121c7898528fd1b7ad4 Reviewed-on: https://gerrit.libreoffice.org/6135 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-10-14CID#736176 aArgInput is only 4 items, what's with the loop over 5 elementsCaolán McNamara1-4/+4
Change-Id: I16983832e5d12ae55a3db448bcef2550b000d496
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida2-12/+39
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-01convert remains of String to OUString in formula moduleNoel Grandin2-16/+9
Change-Id: Ieca67b54535a6e11ba8fc20f6d02c501f6b7affd
2013-09-22gbuild: add gb_Library_use_restargetMichael Stahl1-2/+1
Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
2013-09-17convert the rest of the formula module from String to OUStringNoel Grandin5-99/+98
Change-Id: I27ee0cf3e9f97e94234c5e32080bf102b4cf0dc9
2013-09-17convert formula/source/ui/dlg/funcpage.hxx from String to OUStringNoel Grandin2-2/+2
Change-Id: I024bd11e6326a1641a0e0b71eab3e8521e4d45bd
2013-09-17convert formula/source/ui/dlg/parawin.hxx from String to OUStringNoel Grandin3-34/+33
Change-Id: I301a1e7201f8ad21dfa18f749f0f92eae90c1c36
2013-09-17convert the resust of include/formula/FormulaCompiler.hxx to OUStringNoel Grandin1-22/+16
Change-Id: I7cbc371e90869c481a23450722a1a025b110b235
2013-09-17convert formula::OpCodeHashMap from String to OUStringNoel Grandin1-4/+4
Change-Id: Iabf95a16cc4df3a612b90ed9e07f2216f72bb976
2013-09-17convert aCorrectedFormula in formula::FormulaCompiler to OUStringNoel Grandin1-16/+16
Change-Id: I048ec33effc33e94943f5110d6a9a0937a1dfdfe
2013-09-17convert formula::FormulaCompiler::OpCodeMap from String to OUStringNoel Grandin1-18/+23
..and add some convenience methods sal_Unicode getSymbolChar sal_Unicode GetNativeSymbolChar since most call sites are only interested in the first char of the symbol. Change-Id: I6aeb43b055b849e71cb1f62c3efe79d6a4cc10bd
2013-09-17convert aCorrectedSymbol in formula::FormulaCompiler from String to OUStringNoel Grandin1-11/+18
Change-Id: I426b305fb8befffe0452e280d2097b6560843eef
2013-09-17convert include/formula/IFunctionDescription.hxx from String to OUStringNoel Grandin3-17/+17
Change-Id: Ie3d3a3a55b50fe0dcac6be70fcce01fa544c374f
2013-09-17convert include/formula/formdata.hxx from String to OUStringNoel Grandin1-1/+1
Change-Id: Ic5543744700a47e796178d664a710c1ea4faada0
2013-09-17convert include/formula/formula.hxx from String to OUStringNoel Grandin1-17/+16
Change-Id: Id3c1dfa97805dfa3a1978cd264380d5ef4a2287a
2013-09-17convert include/formula/formulahelper.hxx from String to OUStringNoel Grandin1-33/+34
Change-Id: I4ab7595cecede03b4ad2a4b9dbe373e67c2912f4