summaryrefslogtreecommitdiffstats
path: root/formula
Commit message (Collapse)AuthorAgeFilesLines
* cppcheck reduce scope of var in formula/..formula.cxxPierre-André Jacquod2011-10-071-3/+4
|
* cppcheck reduce scope of var in formula/..formula.cxxPierre-André Jacquod2011-10-071-2/+2
|
* simplfy dmake to gbuild bridgefileBjoern Michaelsen2011-10-051-40/+1
|
* Revert "Fixx FormulaCompiler build after the O[U]String[Buffer] changes"Stephan Bergmann2011-09-271-1/+1
| | | | | Obsoleted by the subsequent fix to tools/string.hxx. This reverts commit 928f7a47a15d53817697283ba0a7fa4987ea458f.
* Fixx FormulaCompiler build after the O[U]String[Buffer] changesFridrich Štrba2011-09-271-1/+1
|
* Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann2011-09-271-1/+1
|
* just silence the auto_ptr deprecations in isolationCaolán McNamara2011-09-223-0/+13
|
* Get DB range import from xlsx to work once again.Kohei Yoshida2011-09-202-0/+2
| | | | | | | | 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.
* ensureCapacity doesn't need to be done twiceEike Rathke2011-09-111-2/+0
|
* fix fdo#40590 stop abusing regular string token for XML importEike Rathke2011-09-116-30/+29
| | | | | | | | | | | | | 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().
* BITxxx functions according to ODF 1.2 OpenFormulaWolfgang Pechlaner2011-09-073-5/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 ;-)
* ensureCapacity on OUStringBufferEike Rathke2011-08-261-1/+3
|
* fdo#39192 correctly calculate jump matrix; end of path if NULLEike Rathke2011-08-241-1/+1
|
* replace ScNameToken with proper FormulaIndexTokenEike Rathke2011-08-242-5/+21
|
* cosmeticsEike Rathke2011-08-241-15/+15
|
* detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud2011-08-191-1/+1
|
* sal_Bool -> bool and cosmeticsEike Rathke2011-08-143-109/+108
|
* fdo#37391 write and read [#REF!] in ODFF for reference errorsEike Rathke2011-08-142-0/+81
| | | | | | | | | | * 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
* prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe2011-08-106-6/+6
|
* fix syntaxCaolán McNamara2011-08-081-2/+2
|
* callcatcher: ditch some more methodsCaolán McNamara2011-08-082-14/+1
|
* reflect gmake flavorTakeshi Abe2011-08-051-1/+1
|
* Emacs mode line compatible with vi's oneTakeshi Abe2011-08-051-0/+1
|
* Add consistent Emacs and vim mode linesTor Lillqvist2011-07-306-6/+12
|
* resyncing to masterBjoern Michaelsen2011-07-217-21/+25
|\
| * Remove component_getImplementationEnvironment methodsMatúš Kukan2011-07-121-7/+0
| |
| * fix for fdo#37880Markus Mohrhard2011-06-232-5/+8
| | | | | | | | | | we need to save the information if we have a global range name or a local range name in the uno api too
| * ByteString -> rtl::OStringBufferCaolán McNamara2011-06-201-3/+6
| |
| * totally pointless intermediate objectCaolán McNamara2011-06-201-4/+1
| |
| * remove all traces of offuh from makefilesDavid Tardon2011-06-172-2/+10
| |
* | gnumake4: postmerge fixes in formulaBjoern Michaelsen2011-06-212-4/+2
|/
* Merge commit 'libreoffice-3.4.0.2'Jan Holesovsky2011-05-311-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: basic/source/app/app.cxx basic/source/runtime/iosys.cxx desktop/unx/source/start.c sfx2/source/appl/appdata.cxx sfx2/source/appl/appinit.cxx sfx2/source/inc/appdata.hxx svx/AllLangResTarget_svx.mk sysui/desktop/productversion.mk sysui/desktop/share/makefile.mk
| * fdo#37252: Don't assume you'll always find a match.Kohei Yoshida2011-05-181-1/+5
| | | | | | | | | | | | | | | | | | | | The original code assumed that the find call always returns a match. Apparently that assumption is not always true. Signed-off-by: Norbert Thiebaud <nthiebaud@gmail.com> Signed-off-by: Michael Meeks <michael.meeks@novell.com> Signed-off-by: Tor Lillqvist <tlillqvist@novell.com> Signed-off-by: Katarina Machalkova <kmachalkova@suse.cz>
* | String to rtl::OUString.Kohei Yoshida2011-05-281-1/+1
| |
* | Merge remote-tracking branch 'origin/integration/dev300_m106'Jan Holesovsky2011-05-276-76/+169
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: basic/source/classes/sbunoobj.cxx basic/source/inc/runtime.hxx basic/source/runtime/step1.cxx desktop/source/deployment/dp_services.cxx drawinglayer/prj/d.lst drawinglayer/source/primitive2d/makefile.mk sfx2/source/appl/appinit.cxx sfx2/source/appl/appquit.cxx sfx2/source/inc/appdata.hxx sfx2/source/view/viewfrm.cxx svx/source/fmcomp/gridctrl.cxx vbahelper/source/vbahelper/vbahelper.cxx
| * \ Merge commit 'ooo/DEV300_m106' into integration/dev300_m106Thorsten Behrens2011-04-286-76/+169
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: avmedia/source/gstreamer/gstframegrabber.cxx avmedia/source/gstreamer/gstplayer.cxx avmedia/source/gstreamer/gstplayer.hxx basic/inc/basic/sbxdef.hxx basic/source/classes/sbxmod.cxx basic/source/comp/makefile.mk basic/source/comp/sbcomp.cxx basic/source/inc/namecont.hxx basic/source/inc/scriptcont.hxx basic/source/runtime/methods.cxx basic/source/runtime/runtime.cxx basic/source/runtime/stdobj.cxx basic/source/runtime/step1.cxx basic/source/uno/namecont.cxx basic/util/makefile.mk connectivity/source/commontools/predicateinput.cxx connectivity/source/drivers/dbase/DNoException.cxx connectivity/source/drivers/dbase/DTable.cxx connectivity/source/drivers/file/fcomp.cxx connectivity/source/drivers/jdbc/JConnection.cxx connectivity/source/drivers/odbcbase/OResultSet.cxx connectivity/source/drivers/odbcbase/OStatement.cxx connectivity/source/parse/sqlnode.cxx desktop/source/app/app.cxx drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx drawinglayer/source/processor2d/vclprocessor2d.cxx formula/inc/formula/token.hxx formula/source/core/api/token.cxx fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx fpicker/source/win32/filepicker/platform_vista.h framework/source/helper/persistentwindowstate.cxx framework/source/uielement/menubarmanager.cxx oovbaapi/ooo/vba/XFoundFiles.idl oovbaapi/ooo/vba/excel/XApplication.idl oovbaapi/ooo/vba/msforms/XCheckBox.idl oovbaapi/ooo/vba/msforms/XComboBox.idl oovbaapi/ooo/vba/msforms/XControl.idl oovbaapi/ooo/vba/msforms/XGroupBox.idl oovbaapi/ooo/vba/msforms/XLabel.idl oovbaapi/ooo/vba/msforms/XListBox.idl oovbaapi/ooo/vba/msforms/XNewFont.idl oovbaapi/ooo/vba/msforms/XRadioButton.idl oovbaapi/ooo/vba/msforms/XTextBox.idl oovbaapi/ooo/vba/msforms/XToggleButton.idl scripting/source/dlgprov/dlgevtatt.cxx sfx2/source/control/unoctitm.cxx sfx2/source/doc/objstor.cxx sfx2/source/doc/objxtor.cxx svx/inc/svx/svdograf.hxx svx/source/form/fmpage.cxx svx/source/form/fmpgeimp.cxx svx/source/svdraw/svdedtv.cxx svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdograf.cxx svx/source/svdraw/svdouno.cxx svx/source/xml/xmlgrhlp.cxx uui/source/iahndl-ssl.cxx vbahelper/Library_msforms.mk vbahelper/Library_vbahelper.mk vbahelper/inc/vbahelper/vbahelper.hxx vbahelper/prj/build.lst vbahelper/source/msforms/vbacombobox.cxx vbahelper/source/msforms/vbacontrol.cxx vbahelper/source/msforms/vbacontrols.cxx vbahelper/source/msforms/vbaframe.cxx vbahelper/source/msforms/vbaframe.hxx vbahelper/source/msforms/vbalabel.cxx vbahelper/source/msforms/vbalabel.hxx vbahelper/source/msforms/vbalistbox.cxx vbahelper/source/msforms/vbalistbox.hxx vbahelper/source/msforms/vbamultipage.cxx vbahelper/source/msforms/vbatogglebutton.cxx vbahelper/source/msforms/vbauserform.cxx vbahelper/source/vbahelper/vbacommandbar.cxx vbahelper/source/vbahelper/vbacommandbarcontrol.cxx vbahelper/source/vbahelper/vbacommandbarcontrols.hxx vbahelper/source/vbahelper/vbahelper.cxx vbahelper/source/vbahelper/vbawindowbase.cxx xmloff/source/meta/xmlmetai.cxx xmloff/source/style/PageMasterExportPropMapper.cxx xmloff/source/style/PageMasterStyleMap.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprmap.cxx
| | * CWS-TOOLING: integrate CWS calc66Ivo Hinkelmann2011-03-283-15/+75
| | |\
| | | * calc66: mergeNiklas Nebel2011-03-043-25/+30
| | | |\
| | | * | calc66: #i103331# make OFFSET with external references work againEike Rathke [er]2011-03-043-15/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Introduced FormulaSubroutineToken to hold a FormulaTokenArray. * INDIRECT in case of external reference returns FormulaSubroutineToken instead of directly pushing the token array to code and signalling its presence to ScInterpreter::Interpret(). * ScInterpreter::ScExternalRef() checks if an external reference is used with OFFSET and if so does not resolve it but pushes it so it can be handled within OFFSET. + OFFSET recognizes external reference and creates an external reference of the new area and returns that as subroutine to be resolved by ScExternalRef(). * Interpret() pushes the subroutine to code and rememberes the token and array for late destruction.
| | * | | dr78: #i111413# removed all translation relevant strings from SEC, CSC, SECH ↵Eike Rathke [er]2011-03-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and CSCH. As CWS dr78 didn't make it before translation freeze, string changes would pollute translation data. The core feature is still available, documents containing the functions can be loaded and saved, but the UI function names are non-translatable English names and function wizard resource is not available. TODO: undo this change for the next release.
| | * | | dr78: rebase to DEV300_m101Daniel Rentz [dr]2011-02-2824-658/+663
| | |\ \ \ | | | | |/ | | | |/|
| | * | | dr78: rebase to DEV300m96Daniel Rentz [dr]2010-12-292-2/+2
| | |\ \ \
| | * | | | dr78: #i111413# new ODFF interpreter functions SEC, SECH, CSC, CSCH; patch ↵Eike Rathke [er]2010-12-033-61/+93
| | | | | | | | | | | | | | | | | | | | | | | | from <regina>, slightly reworked
* | | | | | gbuildize formulaDavid Tardon2011-04-2115-428/+346
| | | | | |
* | | | | | dont' assert for changing seperators, common thing to doCaolán McNamara2011-04-131-1/+3
| | | | | |
* | | | | | WaE: various compiler warningsCaolán McNamara2011-04-122-4/+14
|/ / / / /
* | | | | drop bogus executable flag from idl/build/src and config filesFrancisco Saito2011-03-296-0/+0
| | | | |
* | | | | drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito2011-03-2935-0/+0
| | | | |
* | | | | Remove commented code in libs-core/formulaXisco Fauli2011-03-2810-67/+3
| | | | |
* | | | | sligh mis-merge, and favor bool over sal_Bool for internal stuffNorbert Thiebaud2011-03-124-50/+51
| | | | |