summaryrefslogtreecommitdiff
path: root/formula/source
AgeCommit message (Collapse)Author
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-13fdo#44456 added calc function DATEDIF as in ODF1.2Winfried Donkers
Change-Id: I082ea20d02bf37d515fc33d627281696fc48fcb6
2012-05-13callcatcher: update unused code listCaolán McNamara
Change-Id: I2b21cb0b6d9164b18594e2c122ce242062be276d
2012-04-23Unused code removalJavier Silva Sanahuja
2012-04-20Remove unused method ArgInput::GetArgSelectionJaime Navarro
2012-04-02remove static objects from static_initialization_and_destruction chainCaolán McNamara
2012-03-23.hrc files don't need executable bitsMichael Stahl
2012-03-22restructure the code a bit moreMarkus Mohrhard
2012-03-22prevent call to virtual method in destructor, fdo#47589Markus Mohrhard
2012-03-21No FORMULA_DLLPUBLIC needed hereStephan Bergmann
2012-03-21Ensure ResMgr outlives ResourcesStephan Bergmann
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-05WaE: expression result unusedTor Lillqvist
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-01-24callcatcher: update list, remove newly unused methodsCaolán McNamara
2012-01-20Mempool size args are unused.Stephan Bergmann
2012-01-19remove unused methodsThomas Arnhold
2012-01-19remove unused macrosThomas Arnhold
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz
2012-01-09simplify CharClassCaolán McNamara
multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
2012-01-05Removed unnecessary tools includes.Marcel Metz
2011-12-26Fix for fdo43460 Part XIX getLength() to isEmpty()Olivier Hallot
Part XIX Module formula and fpicker
2011-12-14catch exception by constant referenceTakeshi Abe
2011-12-07i#106210 store proper ODFF names, accept aliasesEike Rathke
Older releases stored a few function names not defined by ODFF, namely EASTERSUNDAY instead of ORG.OPENOFFICE.EASTERSUNDAY, TDIST instead of LEGACY.TDIST and B instead of BINOM.DIST.RANGE. Since OOo/LibO 3.3 the proper function names can be read, additionally to the "wrong" names. Now it's time to write the proper names and still accept the incorrect ones. Test cases are attached to AOOo issues: ORG.OPENOFFICE.EASTERSUNDAY https://issues.apache.org/ooo/show_bug.cgi?id=112882 LEGACY.TDIST and BINOM.DIST.RANGE https://issues.apache.org/ooo/show_bug.cgi?id=110229 Note that the FALSE in A2 and A3 is a result of the string comparison of the actual formula, that differs in separators (, vs ;) only. (cherry picked from commit a9b03bd19945a90040fd4346599e281a7813efc2)
2011-11-28#i111413# re-added translation relevant strings for SEC, CSC, SECH and CSCH.Eike Rathke
Functions' UI name strings weren't marked for translation, added that now.
2011-11-27remove include of pch header from formulaNorbert Thiebaud
2011-11-19remove [Byte]String::EraseAllCharsCaolán McNamara
2011-10-21Fix for bug fdo#41997, cleanup vcl enumerationOlivier Hallot
2011-10-20remove unused methods from formula::FormulaModalDialogFelix Zhang
2011-10-18WaE: unreachable codeTor Lillqvist
2011-10-07cppcheck reduce scope of var in formula/..formula.cxxPierre-André Jacquod
2011-10-07cppcheck reduce scope of var in formula/..formula.cxxPierre-André Jacquod
2011-09-27Revert "Fixx FormulaCompiler build after the O[U]String[Buffer] changes"Stephan Bergmann
Obsoleted by the subsequent fix to tools/string.hxx. This reverts commit 928f7a47a15d53817697283ba0a7fa4987ea458f.
2011-09-27Fixx FormulaCompiler build after the O[U]String[Buffer] changesFridrich Štrba
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann
2011-09-22just silence the auto_ptr deprecations in isolationCaolán McNamara
2011-09-11ensureCapacity doesn't need to be done twiceEike Rathke
2011-09-11fix fdo#40590 stop abusing regular string token for XML importEike Rathke
During XML import formulas of defined names and conditional formatting were remembered as regular svString tokens that then later were retrieved without quotes for compilation. This didn't go along with the new ScRangeData::CompileUnresolvedXML() that recreates the formula string from an already tokenized form of the formula. Introduced FormulaToken::AddStringXML() with ocStringXML to sort those out and removed the IsImportingXML() hack from FormulaCompiler::AppendString(), the ocStringXML case is handled in FormulaCompiler::CreateStringFromToken().
2011-09-07BITxxx functions according to ODF 1.2 OpenFormulaWolfgang Pechlaner
Implements BITAND, BITOR, BITXOR, BITLSHIFT and BITRSHIFT as specified by OASIS OpenDocument Format 1.2 OpenFormula / ODFF. Changes made by the committer: * Original submission added the new functions to the Logical group, that group has only functions though that return a logical value 1/0/true/false. ODFF groups them under "Bit operation functions" that currently is not available in Calc. Added the functions to the Mathematical group instead. * Changed descriptions of functions in the Function Wizard. * One sal_uInt64 constant instead of several identical literal 281474976710655 values. * Replaced 'or' operators with || * Don't push two return values, if PushIllegalArgument() was used don't use PushDouble() thereafter. * Treat double values with ::rtl::math::approxFloor() to obtain integer values. * For BITLSHIFT and BITRSHIFT implemented a different algorithm following the ODFF specification that allows larger shift values. * Use our block braces style, respectively don't use block braces for one-line if-statements. * Fixed indentation levels. * Adapted RTL_LOGFILE_CONTEXT_AUTHOR to say "pechlaner". Credit to whom credit is due ;-)
2011-08-26ensureCapacity on OUStringBufferEike Rathke
2011-08-24fdo#39192 correctly calculate jump matrix; end of path if NULLEike Rathke
2011-08-24replace ScNameToken with proper FormulaIndexTokenEike Rathke
2011-08-14sal_Bool -> bool and cosmeticsEike Rathke
2011-08-14fdo#37391 write and read [#REF!] in ODFF for reference errorsEike Rathke
* write [#REF!] to ODFF when any part of the reference is invalid * read [#REF!] as reference error * display #REF! in UI + parse #REF! in UI + implemented error constants defined in ODFF as error tokens + parse error constants from ODFF and in UI * fixed SUM, AVERAGE, SUMSQ, PRODUCT to propagate error
2011-08-08fix syntaxCaolán McNamara
2011-08-08callcatcher: ditch some more methodsCaolán McNamara
2011-07-12Remove component_getImplementationEnvironment methodsMatúš Kukan
2011-06-23fix for fdo#37880Markus Mohrhard
we need to save the information if we have a global range name or a local range name in the uno api too