summaryrefslogtreecommitdiff
path: root/formula
AgeCommit message (Collapse)AuthorFilesLines
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara6-30/+24
2011-11-29move reconfigure into gbuildBjoern Michaelsen1-1/+1
2011-11-28#i111413# re-added translation relevant strings for SEC, CSC, SECH and CSCH.Eike Rathke1-4/+4
Functions' UI name strings weren't marked for translation, added that now.
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud2-68/+0
2011-11-27remove pch from the include listNorbert Thiebaud2-2/+0
2011-11-27remove include of pch header from formulaNorbert Thiebaud13-20/+0
2011-11-27remove pre-compiled header support in gbuild and gbuildified moduleNorbert Thiebaud2-4/+0
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen1-2/+2
2011-11-19remove [Byte]String::EraseAllCharsCaolán McNamara2-1/+3
2011-11-16tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud1-4/+4
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 Hallot1-2/+2
2011-10-20remove unused methods from formula::FormulaModalDialogFelix Zhang2-87/+0
2011-10-18WaE: unreachable codeTor Lillqvist1-1/+0
2011-10-07cppcheck reduce scope of var in formula/..formula.cxxPierre-André Jacquod1-3/+4
2011-10-07cppcheck reduce scope of var in formula/..formula.cxxPierre-André Jacquod1-2/+2
2011-10-05simplfy dmake to gbuild bridgefileBjoern Michaelsen1-40/+1
2011-09-27Revert "Fixx FormulaCompiler build after the O[U]String[Buffer] changes"Stephan Bergmann1-1/+1
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 Štrba1-1/+1
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann1-1/+1
2011-09-22just silence the auto_ptr deprecations in isolationCaolán McNamara3-0/+13
2011-09-20Get DB range import from xlsx to work once again.Kohei Yoshida2-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.
2011-09-11ensureCapacity doesn't need to be done twiceEike Rathke1-2/+0
2011-09-11fix fdo#40590 stop abusing regular string token for XML importEike Rathke6-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().
2011-09-07BITxxx functions according to ODF 1.2 OpenFormulaWolfgang Pechlaner3-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 ;-)
2011-08-26ensureCapacity on OUStringBufferEike Rathke1-1/+3
2011-08-24fdo#39192 correctly calculate jump matrix; end of path if NULLEike Rathke1-1/+1
2011-08-24replace ScNameToken with proper FormulaIndexTokenEike Rathke2-5/+21
2011-08-24cosmeticsEike Rathke1-15/+15
2011-08-19detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud1-1/+1
2011-08-14sal_Bool -> bool and cosmeticsEike Rathke3-109/+108
2011-08-14fdo#37391 write and read [#REF!] in ODFF for reference errorsEike Rathke2-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
2011-08-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe6-6/+6
2011-08-08fix syntaxCaolán McNamara1-2/+2
2011-08-08callcatcher: ditch some more methodsCaolán McNamara2-14/+1
2011-08-05reflect gmake flavorTakeshi Abe1-1/+1
2011-08-05Emacs mode line compatible with vi's oneTakeshi Abe1-0/+1
2011-07-30Add consistent Emacs and vim mode linesTor Lillqvist6-6/+12
2011-07-21resyncing to masterBjoern Michaelsen7-21/+25
2011-07-12Remove component_getImplementationEnvironment methodsMatúš Kukan1-7/+0
2011-06-23fix for fdo#37880Markus Mohrhard2-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
2011-06-21gnumake4: postmerge fixes in formulaBjoern Michaelsen2-4/+2
2011-06-20ByteString -> rtl::OStringBufferCaolán McNamara1-3/+6
2011-06-20totally pointless intermediate objectCaolán McNamara1-4/+1
2011-06-17remove all traces of offuh from makefilesDavid Tardon2-2/+10
2011-05-31Merge commit 'libreoffice-3.4.0.2'Jan Holesovsky1-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
2011-05-28String to rtl::OUString.Kohei Yoshida1-1/+1
2011-05-27Merge remote-tracking branch 'origin/integration/dev300_m106'Jan Holesovsky6-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
2011-05-18fdo#37252: Don't assume you'll always find a match.Kohei Yoshida1-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>
2011-04-28Merge commit 'ooo/DEV300_m106' into integration/dev300_m106Thorsten Behrens6-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
2011-04-21gbuildize formulaDavid Tardon15-428/+346