summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
2013-07-25WaE: default constructor could not be generated (because of const member(s))Tor Lillqvist
The aCalculationNameId member doesn't need to be const, the data in the lclCalcDefinitions array (which is the only use for the StatisticCalculation struct) will be const anyway because the array is const. (The aFormula member isn't const, it's a pointer to const chars;)) Change-Id: I8b2549009d72a4b7df992651597247dff2c45be9
2013-07-25WaE: C4510: default constructor could not be generated)Tor Lillqvist
So declare (but don't define) a default constructor so that the compiler doesn't have to attempt to generate one. Thanks to Stephan and Lubos. Change-Id: Ic3dd5add26d774dcbaca65be9a409e766c5f9f9f
2013-07-24These static_cast's are very significant. Don't remove these.Kohei Yoshida
This fixes the shared formula import from xls. Change-Id: I8790e642c3ef1a335694891eb574a68ae5270649
2013-07-24Work on remving direct access to ScSingleRefData's data members.Kohei Yoshida
This broke the shared formula import from xls and xlsx. Disabling the tests for now. Change-Id: I75d802b00947b21083db19b5c07204a0c3d4f369
2013-07-24Add support for double in OpenCL kernel.Haidong Lian
* modified coding style. * merged arithmetic operators together. * added support for double in OpenCL kernel. * added an environment variable named SC_FLOAT, which, when set it to 1, will force to use float in OpenCL kernel. If not set, we will detect GPU, and if GPU supports double, use double for kernel, otherwise use float for kernel. Conflicts: sc/source/core/opencl/openclwrapper.cxx sc/source/core/opencl/openclwrapper.hxx Change-Id: I7cdec458d72837d3b22ba50c6d28f78797ee0d3b
2013-07-24add SC_SOFTWARE tweak to force sw group interpret.Michael Meeks
2013-07-24Prompt the user to delete cached kernels on failureMichael Meeks
also fallback to S/W group calculation if necessary.
2013-07-24add min/max/delta kernels and misc. cleanup / bug fixing.Jing Xian
Conflicts: sc/source/core/opencl/openclwrapper.cxx Change-Id: I4a752dcb407a89f8da19886131c186b44c7e2a8e
2013-07-24There isn't much we have to do for copy.Kohei Yoshida
Change-Id: I4d297f15e8030fdf068c7e3102f9d03aff401cf9
2013-07-24Re-implement adjusting of references on move.Kohei Yoshida
Change-Id: I52a8b78ed072eb6bcd86b4f80936a869046cbc4d
2013-07-24Broadcast on recalc-ref-on-move cells for the other 3 directions.Kohei Yoshida
Change-Id: I7794bd51c5fedb6c6c75f6910b7743df96d156c3
2013-07-24Broadcast on formula cells containing COLUMN functions on column insertion.Kohei Yoshida
To ensure that the change gets propagated properly. This fixes testFuncCOLUMN() cppunit test. Change-Id: Ia1ffc2880b7dae530ceb11c617c3963f7bfaeb00
2013-07-24Make these non-inline.Kohei Yoshida
Change-Id: I99cf45edfe584f69fb6465de84cdcff5842e37a6
2013-07-24CalcRelFromAbs() is no more.Kohei Yoshida
Change-Id: I974d8282eaf49a6c6d56fe209012f5e54170acc2
2013-07-24More on removing use of CalcRelFromAbs().Kohei Yoshida
Some of them were called for all absolute references, which is not necessary. Change-Id: If19ee74731f40ca208e1cc1804c6b6e53073d891
2013-07-24More on removing CalcRelFromAbs().Kohei Yoshida
Change-Id: I6474926d9cd8f9273bae3d8179bd14ee19422357
2013-07-24Work on removing CalcRelFromAbs().Kohei Yoshida
Change-Id: Ieb8b19821d778fa4596e680e73ba583667b5231a
2013-07-24Remove CalcAbsIfRel() since nobody uses this anymore.Kohei Yoshida
Change-Id: Ie52e83b9e476b822e878488e231d60d0ce196cf4
2013-07-24Remove CalcAbsIfRel() from ScComplexRefData::Extend().Kohei Yoshida
Change-Id: I917acbd2d2567542c6388e796fd49fe4bb48f5ae
2013-07-24Modified reference shouldn't make the cell dirty.Kohei Yoshida
The 'value changed' flag is there for that purpose. Modified reference alone doesn't change the value of the cell. Change-Id: I9d7b4c7005603cd7bed8d90901f1fab0e0d49008
2013-07-24Flag cell state modified when a reference points to a different position.Kohei Yoshida
This fixes testStreamValid() test failure. Change-Id: Ife406957a723930efb419ba8c566485f4b089d97
2013-07-24Don't mark all of column, row, and sheet indices to be invalid in toAbs().Kohei Yoshida
When only one of them is invalid. This messes up the displaying of an invalid reference. Change-Id: I2b5a614434417160d605dd889ca4d3b54fcaffc2
2013-07-24Handle reference adjustment in response to sheet deletion.Kohei Yoshida
Change-Id: Ia6039d8a38a73d8d461743f128f01c347a2c51ad
2013-07-24More on removing CalcAbsIfRel(). Almost there...Kohei Yoshida
Change-Id: Ife87377a8f157750c61fc81baa81a3cb4734419b
2013-07-24More on removing use of CalcAbsIfRel().Kohei Yoshida
Change-Id: I7706148d3a7376ca9b0c0d9c907559b384d57f14
2013-07-24Properly handle optional edge expansion of referenced ranges.Kohei Yoshida
Change-Id: I499189f4f76eee4b963f643364d1fad26cf69785
2013-07-24Handle range reference expansion on insertion.Kohei Yoshida
Change-Id: I128ed26b6d6319a7e227885801e0683b517eb439
2013-07-24Handle shrinking of range references on row/column deletion.Kohei Yoshida
Change-Id: Id53de2b24e02f6d8a078dceadf2d8399a0348b72
2013-07-24Remove CalcAbsIfRel() virtual method from ScToken and all its children.Kohei Yoshida
Change-Id: I8d9c869161356a7adad9c57d34b001ebcf8992ce
2013-07-24Handle deleted references.Kohei Yoshida
Change-Id: Ic99d8f154cf487983aa5fce59cde053a9b9d3fb3
2013-07-24Mark formula cells dirty when a referenced range gets partially shifted.Kohei Yoshida
Change-Id: I5d97cb0e325c0168fdae57f8ec39f62c85bec524
2013-07-24Correctly update references on cell insertion/deletion.Kohei Yoshida
Change-Id: Ie7499f1f589cd384c4e2421dc81d3c1f02e4a53e
2013-07-24Revert "old position == current position during cell insertion / deletion."Kohei Yoshida
This reverts commit 58df2af4afd82cb23e29de6623a58da3fb3f53f5. Conflicts: sc/source/core/data/formulacell.cxx Change-Id: I9bb1b3eef426e02dcbe83c850c34e520be381c71
2013-07-24Remove the current shared formula bits.Kohei Yoshida
I'll re-implement this from scratch. Change-Id: Ib3a80266a89afc0dd581fcf1e1c37790498205e4
2013-07-24Use constants from the context object directly.Kohei Yoshida
Change-Id: Ieb2c7c2f795bc1a56197617cf69dd34a04b4beb1
2013-07-24No reference update in clip or undo documents. Make that up front.Kohei Yoshida
Change-Id: Ie2170bc1d183e6840d46c51910a4c150b83961ca
2013-07-24old position == current position during cell insertion / deletion.Kohei Yoshida
Change-Id: I5b4541dc41951cc79572c564bf737160245c4c94
2013-07-24Remove duplicated code blocks.Kohei Yoshida
Change-Id: Id540cf0b2884d4bbff80be11139ff3621bbb8c4d
2013-07-24Split this method into 3.Kohei Yoshida
Apparently too many people have tried to cram their needs into this single function, which ended up making this such a monster full of temporary hacks. Change-Id: If8f7676a60f6017767e68252d173ca9e38b89d99
2013-07-24Extract this code into a local function.Kohei Yoshida
Change-Id: I91bb3cdc31d247004e22bef734374e8a80819c3a
2013-07-24Use RefUpdateContext to stuff all parameters for UpdateReference.Kohei Yoshida
Because I was getting tired of typing all these parameters every time I branch off to a new function. Change-Id: I1ae14f290af5543150694d0bea27c617cccb9db2
2013-07-24Add dumping capability for ScTokenArray (for debugging).Kohei Yoshida
Change-Id: Ib3f6a87936a6c00b503f5d72b16b3e4712d7d762
2013-07-24More on removing CalcAbsIfRel().Kohei Yoshida
One test fails. I'll look into that next. Change-Id: I4a40104187a73953769740fd47d7a917c83bf337
2013-07-24Annotate this function before reworking.Kohei Yoshida
To have a good understanding of the code flow in this function. Change-Id: I6324201b5b0c3871ba0d804a9ac7fa5dc37462a5
2013-07-24Remove CalcRelFromAbs() virtual method from ScToken and all its child classes.Kohei Yoshida
Change-Id: I5def382f6495f332a0309795cbce8ebbd60ff471
2013-07-24InsertMatrixFormula() without CalcRelFromAbs().Kohei Yoshida
Change-Id: I4579a0e467c2ba89790acfedafe5470d16159b40
2013-07-24Same with UpdateGrow().Kohei Yoshida
Change-Id: I1424dedbf8201469da28e60d68787ae5aa7d87f9
2013-07-24UpdateTranspose() without calling CalcAbsIfRel().Kohei Yoshida
Change-Id: Iddef01a82017ba75c50ed82a54f6ee25fe0df901
2013-07-24Remove CalcAbsIfRel() from ScInterpreter::ScIntersect().Kohei Yoshida
Change-Id: Ifa40c454265e9a08e906038896543e99ce8be638
2013-07-24ScColRowNameAuto to avoid calling CalcAbsIfRel.Kohei Yoshida
Change-Id: If0e7797ce33fa183ad95ad539caf7751ce71bad4