summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)Author
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
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-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara
2011-11-29move reconfigure into gbuildBjoern Michaelsen
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 precompiled_xxx.hxx/cxxNorbert Thiebaud
2011-11-27remove pch from the include listNorbert Thiebaud
2011-11-27remove include of pch header from formulaNorbert Thiebaud
2011-11-27remove pre-compiled header support in gbuild and gbuildified moduleNorbert Thiebaud
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen
2011-11-19remove [Byte]String::EraseAllCharsCaolán McNamara
2011-11-16tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud
This allow to run make in a module wihtout the need to source Env.Host.sh.
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-10-05simplfy dmake to gbuild bridgefileBjoern Michaelsen
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-20Get DB range import from xlsx to work once again.Kohei Yoshida
We need to map Excel's database ranges (or in Excel's terminology "tables") to named db ranges because they may be referenced in formula expressions. Also, Excel tables are always of the form Table*[] when used in formulas. Skip the "[]" part then the preceding token is a valid database range.
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-24cosmeticsEike Rathke
2011-08-19detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud
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-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe
2011-08-08fix syntaxCaolán McNamara
2011-08-08callcatcher: ditch some more methodsCaolán McNamara
2011-08-05reflect gmake flavorTakeshi Abe
2011-08-05Emacs mode line compatible with vi's oneTakeshi Abe
2011-07-30Add consistent Emacs and vim mode linesTor Lillqvist