Commit graph

183 commits

Author SHA1 Message Date
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Tor Lillqvist
a16d3914c9 WaE: expression result unused 2012-03-05 02:05:17 +02:00
Stephan Bergmann
f50f7368ab More IMPL_LINK_NOARG fixes 2012-03-01 23:55:47 +01:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +01:00
Josh Heidenreich
64e1ae0f55 Added READMEs for modules which used to be in libs-core 2012-02-08 06:37:16 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Caolán McNamara
17ecf0036d callcatcher: update list, remove newly unused methods 2012-01-24 16:53:56 +00:00
Stephan Bergmann
9807566e12 Mempool size args are unused. 2012-01-20 12:14:45 +01:00
Thomas Arnhold
d93536e529 remove unused methods 2012-01-19 19:15:08 +01:00
Thomas Arnhold
3e7151db8d remove unused macros 2012-01-19 19:15:08 +01:00
Marcel Metz
2a566b1775 Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
Caolán McNamara
45b19123a6 simplify CharClass
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-09 13:28:37 +00:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Olivier Hallot
3e4f51f112 Fix for fdo43460 Part XIX getLength() to isEmpty()
Part XIX
Module
formula and fpicker
2011-12-26 14:26:08 +04:00
Takeshi Abe
520891d058 catch exception by constant reference 2011-12-14 01:31:17 +09:00
Eike Rathke
3deb83d7a7 i#106210 store proper ODFF names, accept aliases
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 a9b03bd199)
2011-12-07 23:39:22 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
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