summaryrefslogtreecommitdiff
path: root/sc/source/core/inc
AgeCommit message (Collapse)AuthorFilesLines
2012-07-19Initial cut on matrix backend swapping. Still lots of things to fix.Kohei Yoshida1-1/+1
Change-Id: I5262899171029772f53dccc9aea666c4b83aef36
2012-07-12Convert SV_DECL_PTRARR_SORT(ScAddInAsyncs) to std::setNoel Grandin1-8/+10
Change-Id: I08959c0de113264aaa7b1ca8c4f3124b2177d30f
2012-07-12Convert SV_DECL_PTRARR_SORT(ScAddInDocs) to std::setNoel Grandin2-7/+7
Change-Id: If9faa49b3d3fc36f36db4a7cc6ab82f8af54935a
2012-06-24rearranged forward declarations of classTakeshi Abe1-1/+0
so that they locate where their classes appear if needed, otherwise removed Change-Id: I457542ec4c31f9a4b56a562f588b7c190c18776c
2012-06-21re-base on ALv2 code.Michael Meeks4-98/+62
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-15Remove some PCH leftoversThomas Arnhold1-232/+0
There are still some pch headers in use. Simply: find . -name *_pch* Change-Id: Idafcd4f1451877ad9b08c8bbea526266d7414553
2012-06-15Remove obsolete inetdef.hxxThomas Arnhold1-1/+0
Change-Id: I043e226a1cec527c51cbd91075634d5c9ca371d8
2012-06-12fdo#50822 add function XOR to calc as in ODFF1.2Winfried Donkers1-0/+1
Change-Id: I994119c0520658775d07f776237d31a03f53ab52
2012-06-10Bin pointless <vcl/sv.h> headerTor Lillqvist1-1/+0
It only included <tools/solar.h>, so include that directly instead. Change-Id: Ic5db474c16ca33dcdcaabb5b5f00535b4b27dc8f
2012-05-30Create a common struct for interpreter config options.Kohei Yoshida1-9/+4
And use it both in the core interpreter and the configuration UI. Change-Id: Ia2a16fcb53025840d906864b564255cd3c53e8e9
2012-05-30Use the new option when interpreting INDIRECT function.Kohei Yoshida1-0/+12
Change-Id: Ic9ba214e5bbee64287934437fcdb63117a1146f6
2012-05-13fdo#44456 added calc function DATEDIF as in ODF1.2Winfried Donkers1-0/+1
Change-Id: I082ea20d02bf37d515fc33d627281696fc48fcb6
2012-02-06FuncCollection no longer a child of ScSortedCollection.Kohei Yoshida1-7/+6
2012-01-31Remove unsed codeElton Chung1-1/+0
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann1-2/+2
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-07Remove superfluous _ZFORLIST_DECLARE_TABLE definition.Marcel Metz1-2/+0
2012-01-06Removed unnecessary tools/link.hxx includes.Marcel Metz1-1/+0
2012-01-05Removed unnecessary tools includes.Marcel Metz1-1/+0
2012-01-05Removed unnecessary tools includes.Marcel Metz1-1/+0
Hello lo-devs, this patch series removes a lot of unnecessary includes for the various tools header. The patches without suffix should be applied to the core repository, the .binfilter.patch suffix should be applied to the binfilter repository. I've tested the build with the configuration --enable-binfilter --enable-dbgutil --enable-debug, is this sufficient or did I miss another important configuration, that enables some conditional compiled code? I've only build this on linux-x86_64, but the patch also touches some of the mac specific code like fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good idea to test this patch. regards Marcel Metz
2011-12-07fdo#43534: Partially support external refs in CELL function.Kohei Yoshida2-0/+4
For now, only COL and ROW are supported. More on the way. Note that we can't support all the information types that we do for internal references.
2011-11-30sort out Gregorian cut-off date as side effect of validityEike Rathke1-1/+5
2011-11-28dr78: #i111413# new ODFF interpreter functions SEC, SECH, CSC, CSCH; patch ↵Eike Rathke1-0/+4
from <regina>, slightly reworked # HG changeset patch # User Eike Rathke [er] <eike.rathke@oracle.com> # Date 1291394833 -3600 # Node ID ff05fcb4fe392f8c336466982a25fdfda207515a # Parent 4ca136c3f3c8eb330664884c2ff79e2027d8e4eb
2011-11-28dr78: #i115015# proper handling of add-in parameter arrays, merged with ↵Eike Rathke1-3/+0
database functions QueryParam # HG changeset patch # User Niklas Nebel <nn@openoffice.org> # Date 1290620646 -3600 # Node ID 96608d83032e60946c80e0a5185a55843b74eb6f # Parent 427eca1ec1adf81ed3016bde2ef2b010c9fd9ed1
2011-11-22fdo#40990: Compare the wrapped pointer values.Kohei Yoshida1-1/+1
Or else the pTokenMatrixMap would never yield any match. This was the only reason behind the poor performance of resolving jump matrix as exhibited in the aforementioned bug...
2011-11-16Reduced header dependency on dbdata.hxx by better encapsulation.Kohei Yoshida1-0/+1
2011-11-16UniqueIdContainer is only needed by binfilterCaolán McNamara1-1/+0
2011-11-05Moved ScCompare and ScCompareOptions out of the header.Kohei Yoshida1-30/+2
They are only referenced in interpr1.cxx.
2011-11-05Moved ScQueryEntry into its own file set.Kohei Yoshida1-0/+1
Because I'll be modifying this struct in the next few days...
2011-09-07BITxxx functions according to ODF 1.2 OpenFormulaWolfgang Pechlaner1-0/+5
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-01fix warningsGabor Jenei1-1/+1
2011-08-23typo meVolaileType -> meVolatileTypeEike Rathke1-1/+1
2011-08-14sal_Bool -> bool and cosmeticsEike Rathke1-79/+78
2011-05-27Replace DBG_* with OSL_* in sc/source/coreJacek Wolszczak1-1/+0
2011-05-25Adjusted for signature change in DataChanged().Kohei Yoshida1-2/+2
2011-05-24Remove some unneeded #include <tools/unqidx.hxx>Joseph Powers1-1/+0
2011-05-23Remove some extra #incude <tools/pstm.hxx>Joseph Powers1-1/+0
2011-05-18Remove all the #include <tools/ownlist.hxx>Joseph Powers1-1/+0
I'm deleting the header since it's no longer used.
2011-05-13Renamed dbcolect.?xx to dbdata.?xx.Kohei Yoshida1-1/+1
That deliberately mis-spelled header name always bothered me. Now fixed once and for all. For the record, the original file name was inspired by the 8-character rule that some of the old compilers that the Hamburg guys had to use, years and years ago.
2011-05-09fdo#36933: Fixed array comparison with external references.Kohei Yoshida1-0/+1
2011-03-29switch sc to gbuildNorbert Thiebaud1-26/+0
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida9-144/+144
2011-03-02Better fix for fdo#31939.Kohei Yoshida1-7/+0
Turns out that the token array's recalc mode is set to "recalc always" when it contains a volatile token during compilation. We can re-use that to mark the token array volatile before the interpretation starts. The end result is the same, with better performance since we can avoid re-scanning of the token array.
2011-03-02Go through all tokens to look for a volatile one. (fdo#31939)Kohei Yoshida1-1/+7
When a volatile token is inside a conditional function (such as IF), *and* the evaluation of that conditional skips the volatile token it would incorrectly mark the cell non-volatile. The solution is to scan through all tokens in the token array in the beginning of the calculation and mark the cell volatile if one is found.
2011-03-02Move DBG_ERROR to OSL_FAILThomas Arnhold1-1/+1
2011-02-18- Remove deprecated <tools/list.hxx> include.Rafael Dominguez1-1/+0
2011-02-14Remove some extra #include <sot/sotref.hxx>Joseph Powers1-1/+0
2011-02-06port repository calc to boost unordered containersFridrich Štrba2-5/+5
2011-01-31Replaced use of tools/list by std::listThies Pierdola1-2/+1
2011-01-31Cleaned up spacingsThies Pierdola1-34/+34
2011-01-31Replaced deprecated types with sal typesThies Pierdola1-1/+1