summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)Author
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
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-08fdo#70797 add Excel 2010 functionsWinfried Donkers
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 Yoshida
Change-Id: Id15b3e1a2bfebd2ea795fd412a259f125f5d9bab
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin
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 Donkers
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 Donkers
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 Donkers
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 Souza
Change-Id: I3ab178924cb1c4240511f08625f244dac54e3913 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25fdo#44134 adding Excel 2010 functions STDEV.P and STDEV.SWinfried Donkers
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 Yoshida
Change-Id: I9c48f340a0349e5f1ba772fcd783924c79b07616
2013-10-18More eye-pleasing way of checking for valid vector array...Kohei Yoshida
Change-Id: If2f47a7d98a4cbc9e09dc98c1bb0e11f8f889265
2013-10-18Allow vector array tokens to store both numeric and string values.Kohei Yoshida
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 Donkers
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 McNamara
Change-Id: I16983832e5d12ae55a3db448bcef2550b000d496
2013-10-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-01convert remains of String to OUString in formula moduleNoel Grandin
Change-Id: Ieca67b54535a6e11ba8fc20f6d02c501f6b7affd
2013-09-22gbuild: add gb_Library_use_restargetMichael Stahl
Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
2013-09-17convert the rest of the formula module from String to OUStringNoel Grandin
Change-Id: I27ee0cf3e9f97e94234c5e32080bf102b4cf0dc9
2013-09-17convert formula/source/ui/dlg/funcpage.hxx from String to OUStringNoel Grandin
Change-Id: I024bd11e6326a1641a0e0b71eab3e8521e4d45bd
2013-09-17convert formula/source/ui/dlg/parawin.hxx from String to OUStringNoel Grandin
Change-Id: I301a1e7201f8ad21dfa18f749f0f92eae90c1c36
2013-09-17convert the resust of include/formula/FormulaCompiler.hxx to OUStringNoel Grandin
Change-Id: I7cbc371e90869c481a23450722a1a025b110b235
2013-09-17convert formula::OpCodeHashMap from String to OUStringNoel Grandin
Change-Id: Iabf95a16cc4df3a612b90ed9e07f2216f72bb976
2013-09-17convert aCorrectedFormula in formula::FormulaCompiler to OUStringNoel Grandin
Change-Id: I048ec33effc33e94943f5110d6a9a0937a1dfdfe
2013-09-17convert formula::FormulaCompiler::OpCodeMap from String to OUStringNoel Grandin
..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 Grandin
Change-Id: I426b305fb8befffe0452e280d2097b6560843eef
2013-09-17convert include/formula/IFunctionDescription.hxx from String to OUStringNoel Grandin
Change-Id: Ie3d3a3a55b50fe0dcac6be70fcce01fa544c374f
2013-09-17convert include/formula/formdata.hxx from String to OUStringNoel Grandin
Change-Id: Ic5543744700a47e796178d664a710c1ea4faada0
2013-09-17convert include/formula/formula.hxx from String to OUStringNoel Grandin
Change-Id: Id3c1dfa97805dfa3a1978cd264380d5ef4a2287a
2013-09-17convert include/formula/formulahelper.hxx from String to OUStringNoel Grandin
Change-Id: I4ab7595cecede03b4ad2a4b9dbe373e67c2912f4
2013-09-17introduced putCopyOpCode() to handle copyFrom()Eike Rathke
... and added bOverrideKnownBad handling Change-Id: I1b669771ec1aa0cdfa1c1bef0bcfccfad96fe727
2013-09-17FILTERXML and WEBSERVICE were missingEike Rathke
... from RID_STRLIST_FUNCTION_NAMES_ENGLISH Change-Id: Ie8ef677ffb415d2a4dc29f703b80723e20e2a21a
2013-09-17better SAL_WARN_IF diagnosticsEike Rathke
Change-Id: I74fe8e145dda41466f21f20369681d6f1e5274df
2013-09-16deuglified for readabilityEike Rathke
Change-Id: I81e09500dd8fe4e3af9fc2e9f623fb519635266d
2013-09-16Revert "get rid of unnecessary warning"Eike Rathke
This reverts commit e5321437322fd812b93fee266af309e782479488. OpCode 0 (ocPush) was deliberately included in the assertion as it is never a mapping to a function or operator name.
2013-09-10Correctly handle empty cells for string arrays too.Kohei Yoshida
Because we need to make a distinction between an empty cell and a string cell containing zero-length string, I decided to switch to using rtl_uString* array and use NULL values as empty cells. Change-Id: I5bedb593507f34782e41a8a900602d445e5b1f6f
2013-09-07iString to OUString in some calc core codeMarkus Mohrhard
Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
2013-09-06Allow storage of string arrays in vector ref tokens.Kohei Yoshida
Change-Id: Id2bc5a0343afeae387d896a9c369586a13081cd5
2013-09-03Remove more unused methodsMarcos Paulo de Souza
Change-Id: I79548f9dd1b83ef940e7a1302cf7b728610fed4a Reviewed-on: https://gerrit.libreoffice.org/5757 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>