Commit graph

161 commits

Author SHA1 Message Date
Eike Rathke
0afc3190de #i111413# re-added translation relevant strings for SEC, CSC, SECH and CSCH.
Functions' UI name strings weren't marked for translation, added that now.
2011-11-28 15:25:34 +01:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
e084744818 remove include of pch header from formula 2011-11-27 13:10:04 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Caolán McNamara
ca02d72808 remove [Byte]String::EraseAllChars 2011-11-19 21:11:02 +00:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Olivier Hallot
b0224f8050 Fix for bug fdo#41997, cleanup vcl enumeration 2011-10-21 20:48:03 +01:00
Felix Zhang
9f562a82c6 remove unused methods from formula::FormulaModalDialog 2011-10-20 10:24:18 +02:00
Tor Lillqvist
ab988bf055 WaE: unreachable code 2011-10-18 18:26:54 +03:00
Pierre-André Jacquod
faeb15dd32 cppcheck reduce scope of var in formula/..formula.cxx 2011-10-07 15:57:55 +02:00
Pierre-André Jacquod
ff5899f188 cppcheck reduce scope of var in formula/..formula.cxx 2011-10-07 15:57:38 +02:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Stephan Bergmann
59af654b80 Revert "Fixx FormulaCompiler build after the O[U]String[Buffer] changes"
Obsoleted by the subsequent fix to tools/string.hxx.
This reverts commit 928f7a47a1.
2011-09-27 23:28:58 +02:00
Fridrich Štrba
928f7a47a1 Fixx FormulaCompiler build after the O[U]String[Buffer] changes 2011-09-27 23:11:16 +02:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Kohei Yoshida
665d101195 Get DB range import from xlsx to work once again.
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-20 17:12:46 -04:00
Eike Rathke
795662c587 ensureCapacity doesn't need to be done twice 2011-09-11 18:13:49 +02:00
Eike Rathke
34c9a01b07 fix fdo#40590 stop abusing regular string token for XML import
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-11 15:21:03 +02:00
Wolfgang Pechlaner
c6b49f9098 BITxxx functions according to ODF 1.2 OpenFormula
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-09-07 12:27:27 +02:00
Eike Rathke
0e735d61b2 ensureCapacity on OUStringBuffer 2011-08-26 13:34:58 +02:00
Eike Rathke
22a821239e fdo#39192 correctly calculate jump matrix; end of path if NULL 2011-08-24 21:43:18 +02:00
Eike Rathke
fcac4e3eb4 replace ScNameToken with proper FormulaIndexToken 2011-08-24 01:39:43 +02:00
Eike Rathke
9f6b7cde54 cosmetics 2011-08-24 00:17:08 +02:00
Norbert Thiebaud
d64bbd6bf8 detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly set 2011-08-19 18:29:07 -05:00
Eike Rathke
b5cd7f10b8 sal_Bool -> bool and cosmetics 2011-08-14 16:46:18 +02:00
Eike Rathke
baca363286 fdo#37391 write and read [#REF!] in ODFF for reference errors
* 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-14 00:12:45 +02:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Caolán McNamara
1c074d078b fix syntax 2011-08-08 13:04:46 +01:00
Caolán McNamara
5298b1b32d callcatcher: ditch some more methods 2011-08-08 13:04:46 +01:00
Takeshi Abe
88825599e8 reflect gmake flavor 2011-08-05 10:47:13 +09:00
Takeshi Abe
9e2800793a Emacs mode line compatible with vi's one 2011-08-05 01:14:05 +09:00
Tor Lillqvist
4122c3b9d5 Add consistent Emacs and vim mode lines 2011-07-30 23:02:30 +03:00
Bjoern Michaelsen
200bc6c582 resyncing to master 2011-07-21 18:51:11 +02:00
Matúš Kukan
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00
Markus Mohrhard
9b1dbe7729 fix for fdo#37880
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-23 15:21:12 +02:00
Bjoern Michaelsen
1565f386d4 gnumake4: postmerge fixes in formula 2011-06-21 13:18:04 +02:00
Caolán McNamara
5f2880cb23 ByteString -> rtl::OStringBuffer 2011-06-20 11:01:54 +01:00
Caolán McNamara
67b392a062 totally pointless intermediate object 2011-06-20 11:01:54 +01:00
David Tardon
68e8a84043 remove all traces of offuh from makefiles 2011-06-17 16:41:13 +02:00
Jan Holesovsky
ca39c0ee5f Merge commit 'libreoffice-3.4.0.2'
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-31 10:45:50 +02:00
Kohei Yoshida
3e3b5dc8e9 String to rtl::OUString. 2011-05-28 15:16:04 -04:00
Jan Holesovsky
9df8682ced Merge remote-tracking branch 'origin/integration/dev300_m106'
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-27 20:46:20 +02:00
Kohei Yoshida
f99a75ada5 fdo#37252: Don't assume you'll always find a match.
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-05-18 09:44:58 -04:00
Thorsten Behrens
f51c3f66b1 Merge commit 'ooo/DEV300_m106' into integration/dev300_m106
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-28 00:12:58 +02:00
David Tardon
a29706246e gbuildize formula 2011-04-21 20:56:44 +02:00
Caolán McNamara
efdf9eff81 dont' assert for changing seperators, common thing to do 2011-04-13 15:23:53 +01:00
Caolán McNamara
d283eadbc5 WaE: various compiler warnings 2011-04-12 21:23:29 +01:00