summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)AuthorFilesLines
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
2013-09-17introduced putCopyOpCode() to handle copyFrom()Eike Rathke1-6/+57
... and added bOverrideKnownBad handling Change-Id: I1b669771ec1aa0cdfa1c1bef0bcfccfad96fe727
2013-09-17FILTERXML and WEBSERVICE were missingEike Rathke1-3/+7
... from RID_STRLIST_FUNCTION_NAMES_ENGLISH Change-Id: Ie8ef677ffb415d2a4dc29f703b80723e20e2a21a
2013-09-17better SAL_WARN_IF diagnosticsEike Rathke1-8/+6
Change-Id: I74fe8e145dda41466f21f20369681d6f1e5274df
2013-09-16deuglified for readabilityEike Rathke1-206/+193
Change-Id: I81e09500dd8fe4e3af9fc2e9f623fb519635266d
2013-09-16Revert "get rid of unnecessary warning"Eike Rathke1-2/+2
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 Yoshida1-1/+1
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 Mohrhard1-18/+18
Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
2013-09-06Allow storage of string arrays in vector ref tokens.Kohei Yoshida1-6/+13
Change-Id: Id2bc5a0343afeae387d896a9c369586a13081cd5
2013-09-03Remove more unused methodsMarcos Paulo de Souza1-5/+0
Change-Id: I79548f9dd1b83ef940e7a1302cf7b728610fed4a Reviewed-on: https://gerrit.libreoffice.org/5757 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-08-27get rid of unnecessary warningWinfried Donkers1-2/+2
A value of 0 for Opcode eOp produces a debug assertion that is not in place as opcode with value does exist (ocPush, SC_OPCODE_PUSH). Change-Id: If529cc2ecd8d4d3a5e31f084dfa72e13c9c0fe37 Reviewed-on: https://gerrit.libreoffice.org/5586 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-08-16differentiated warning for symbol/AddIn pair insertion, fdo#59727Eike Rathke1-1/+10
Change-Id: I371bca810c40d4cfab0b9fcd47a070b4e68ee768
2013-08-13XubString->OUStringCaolán McNamara3-3/+3
Change-Id: I1db6254b23c5203c20c168989656d320f86a3bb9
2013-08-12XubString->OUStringCaolán McNamara2-3/+3
Change-Id: Ibcb2dd5861ad14e286596999b757ca5c41137626
2013-08-08tweak comment translationsMichael Stahl2-6/+6
ede5f05c fb3a1bb9 5e04331f fd6089b9 66a1d406 Change-Id: I5077ce5f6182f9193cebaaf63190450d375679dd
2013-07-28reduce use of UniString from ResID ctorCaolán McNamara1-1/+1
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-22fdo#46037: no more comphelper/configurationhelper.hxx in formula moduleJulien Nabet1-1/+0
Change-Id: I6ed4af811d96cb0ddbb2093d6627d4d39836a033
2013-07-02resolved fdo#35411 redefined MAXCODE 512 to FORMULA_MAXTOKENS 8192Eike Rathke2-13/+12
Also renamed MAXJUMPCOUNT to FORMULA_MAXJUMPCOUNT but without changing the value as the runtime array size of ocChose depends on it, should be changed before. Eliminated the duplicated and error causing redefinition of both in sc/inc/compiler.hxx Change-Id: I0e87d1439c9564a4f475fcb2870ab51c3b586942
2013-06-16add initial version of WEBSERVICE functionMarkus Mohrhard1-0/+5
Change-Id: I8a835278c0d1b8f3a463aa5765b145410605aba4
2013-06-16inital work on FILTERXML functionMarkus Mohrhard1-0/+6
Change-Id: Ifb884a52b275df818812f8be6cd7650dcb97849d
2013-06-11Resolves: #i121120 Support RightB(), LeftB(), LenB() and MidB()Wang Lei1-0/+24
Patch by: Zhang Lu Review by: Wang Lei (cherry picked from commit 424079cb8348d77e40f7d3291578bdffbe662f34) Conflicts: formula/inc/formula/compiler.hrc formula/inc/formula/opcode.hxx oox/source/xls/formulabase.cxx sc/inc/helpids.h sc/util/hidother.src sc/util/makefile.mk Change-Id: Ia04aa69aa2764842507b36ba7cc8c99e99a314e9
2013-06-07XubString->OUStringCaolán McNamara2-16/+16
Change-Id: I9404ef0d53a74e09a0db9781d004fcd0c573dd78
2013-05-15String.AppendAscii DropRicardo Montania1-11/+7
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák1-1/+1
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-30Handle range references for group calculation. This is still untested.Kohei Yoshida1-7/+27
Change-Id: I1eb1c217db66615028faa85720838579056dc150
2013-04-30Let's not use VectorArray struct. There is no use for it.Kohei Yoshida1-9/+11
Change-Id: Ic011143206c13fcbc1b3403bf5b7df46c6934899
2013-04-30Let's not forget to check this in...Kohei Yoshida1-0/+10
Curse the sc / formula split... Change-Id: Ib8d17ba63d05eb4df7e6918e0034d91dd82869e3
2013-04-30Add method to allow fetching of double array, and store it in token.Kohei Yoshida1-2/+2
Change-Id: If094dbf139e18ad23c73d6cf5a78ac4844132b14
2013-04-30Initial cut on vector formula ref tokens. Not used yet.Kohei Yoshida2-0/+38
Change-Id: I4b28c269759bc01bfc94cfdd6a1c651d03d829c7
2013-04-24gbuild: drop empty use_packages callsDavid Tardon3-9/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon3-4/+0
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen19-3166/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-132/+24
2013-04-17stash the label widget for shrink mode in the edit, not the buttonCaolán McNamara4-26/+27
because we always have we a refedit, but sometimes not a refbutton, so set the label widget to use for the dialog shrink mode on the refedit instead of the refbutton. This way we get the shrunken dialog title bar updated with the label contents regardless of using the shrink button or clicking in the editbox and dragging the mouse around the spreadsheet triggering the shrink mode Change-Id: Ifdff01a30d5c65aa964d4bf544017a2927757d67
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák15-113/+113
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke2-2/+2
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-29ResMgr with LanguageTagEike Rathke2-3/+2
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-27-Wunused-macrosStephan Bergmann1-1/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed