Muthu Subramanian
1543cf5eb6
n#827332: Charts shrink when there are no legends.
2013-07-25 11:28:13 +05:30
Kohei Yoshida
e0e236c49c
These static_cast's are very significant. Don't remove these.
...
This fixes the shared formula import from xls.
Change-Id: I8790e642c3ef1a335694891eb574a68ae5270649
2013-07-24 23:29:43 -04:00
Kohei Yoshida
e481282f57
Work on remving direct access to ScSingleRefData's data members.
...
This broke the shared formula import from xls and xlsx. Disabling the
tests for now.
Change-Id: I75d802b00947b21083db19b5c07204a0c3d4f369
2013-07-24 23:29:43 -04:00
Haidong Lian
69b1caa119
Add support for double in OpenCL kernel.
...
* 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-24 23:29:42 -04:00
Michael Meeks
f81290249d
add SC_SOFTWARE tweak to force sw group interpret.
2013-07-24 23:29:42 -04:00
Michael Meeks
7b87af6862
Prompt the user to delete cached kernels on failure
...
also fallback to S/W group calculation if necessary.
2013-07-24 23:29:41 -04:00
Jing Xian
e8e9f24d91
add min/max/delta kernels and misc. cleanup / bug fixing.
...
Conflicts:
sc/source/core/opencl/openclwrapper.cxx
Change-Id: I4a752dcb407a89f8da19886131c186b44c7e2a8e
2013-07-24 23:29:41 -04:00
Kohei Yoshida
21f9cb6f5f
fdo#67206: Add test for broadcaster relocation on column insertion.
...
Change-Id: I4358d4572df3d3c69012737d299d41ce8af02799
2013-07-24 23:29:41 -04:00
Kohei Yoshida
6e02c49c11
I'm supposed to move it, not shift it.
...
Change-Id: I3fe1f05a57089b42296e5758542772d69119c17a
2013-07-24 23:29:41 -04:00
Kohei Yoshida
f4e048ea1e
There isn't much we have to do for copy.
...
Change-Id: I4d297f15e8030fdf068c7e3102f9d03aff401cf9
2013-07-24 23:29:40 -04:00
Kohei Yoshida
6dda773b8f
Add test for partial move of referenced range.
...
Change-Id: I48d0a3ea631f26b779fd6faddeb30c30a831f493
2013-07-24 23:29:40 -04:00
Kohei Yoshida
46b849a6ea
Re-implement adjusting of references on move.
...
Change-Id: I52a8b78ed072eb6bcd86b4f80936a869046cbc4d
2013-07-24 23:29:40 -04:00
Kohei Yoshida
13941df2e7
Add test for moving the formula cells that reference stationary range.
...
Change-Id: I6f996e4c8535371c57c9d43012baa6118160f834
2013-07-24 23:29:40 -04:00
Kohei Yoshida
cdc9c6d578
Add starter test for reference update on range move.
...
This currently fails.
Change-Id: I83cdcb6ed9620079664ff35375a0457b0c9bcea0
2013-07-24 23:29:40 -04:00
Kohei Yoshida
cc6e83d5ca
Broadcast on recalc-ref-on-move cells for the other 3 directions.
...
Change-Id: I7794bd51c5fedb6c6c75f6910b7743df96d156c3
2013-07-24 23:29:39 -04:00
Kohei Yoshida
37e80db510
Add test for ROW function.
...
Change-Id: Ie918d3b9d635febe40ac974a37da0743830b65eb
2013-07-24 23:29:39 -04:00
Kohei Yoshida
ab24a2c259
Broadcast on formula cells containing COLUMN functions on column insertion.
...
To ensure that the change gets propagated properly. This fixes
testFuncCOLUMN() cppunit test.
Change-Id: Ia1ffc2880b7dae530ceb11c617c3963f7bfaeb00
2013-07-24 23:29:39 -04:00
Kohei Yoshida
a6b0568eca
Make these non-inline.
...
Change-Id: I99cf45edfe584f69fb6465de84cdcff5842e37a6
2013-07-24 23:29:39 -04:00
Kohei Yoshida
7409a57d25
CalcRelFromAbs() is no more.
...
Change-Id: I974d8282eaf49a6c6d56fe209012f5e54170acc2
2013-07-24 23:29:38 -04:00
Kohei Yoshida
0e7f4c9c7d
More on removing use of CalcRelFromAbs().
...
Some of them were called for all absolute references, which is not
necessary.
Change-Id: If19ee74731f40ca208e1cc1804c6b6e53073d891
2013-07-24 23:29:38 -04:00
Kohei Yoshida
4c8f7c0977
More on removing CalcRelFromAbs().
...
Change-Id: I6474926d9cd8f9273bae3d8179bd14ee19422357
2013-07-24 23:29:38 -04:00
Kohei Yoshida
97a640d2a4
Work on removing CalcRelFromAbs().
...
Change-Id: Ieb8b19821d778fa4596e680e73ba583667b5231a
2013-07-24 23:29:38 -04:00
Kohei Yoshida
4ec43284e3
Remove CalcAbsIfRel() since nobody uses this anymore.
...
Change-Id: Ie52e83b9e476b822e878488e231d60d0ce196cf4
2013-07-24 23:29:37 -04:00
Kohei Yoshida
194e9f9bae
Remove CalcAbsIfRel() from ScComplexRefData::Extend().
...
Change-Id: I917acbd2d2567542c6388e796fd49fe4bb48f5ae
2013-07-24 23:29:37 -04:00
Kohei Yoshida
f7b4c1ce8d
Add test for extending range reference.
...
Change-Id: I882f312fd0908d83203da5b48d9c3f4d002e8dd0
2013-07-24 23:29:37 -04:00
Kohei Yoshida
a5890efca5
Add test for cell function COLUMN.
...
This currently fails.
Change-Id: I6a73bc5a3e966542f4dcc88fc644110ec164dcb3
2013-07-24 23:29:37 -04:00
Kohei Yoshida
3911a42566
Modified reference shouldn't make the cell dirty.
...
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-24 23:29:37 -04:00
Kohei Yoshida
c9511b92dc
Flag cell state modified when a reference points to a different position.
...
This fixes testStreamValid() test failure.
Change-Id: Ife406957a723930efb419ba8c566485f4b089d97
2013-07-24 23:29:36 -04:00
Kohei Yoshida
3ed4796949
Don't mark all of column, row, and sheet indices to be invalid in toAbs().
...
When only one of them is invalid. This messes up the displaying of an
invalid reference.
Change-Id: I2b5a614434417160d605dd889ca4d3b54fcaffc2
2013-07-24 23:29:36 -04:00
Kohei Yoshida
fce2abf005
Handle reference adjustment in response to sheet deletion.
...
Change-Id: Ia6039d8a38a73d8d461743f128f01c347a2c51ad
2013-07-24 23:29:36 -04:00
Kohei Yoshida
e61d5814f0
More on removing CalcAbsIfRel(). Almost there...
...
Change-Id: Ife87377a8f157750c61fc81baa81a3cb4734419b
2013-07-24 23:29:36 -04:00
Kohei Yoshida
1e99b8a6f7
Add test for updating reference on sheet change.
...
Change-Id: I5ef6d9ed0fb45ea674d14cca98d3be2f4bfe4345
2013-07-24 23:29:35 -04:00
Kohei Yoshida
7e1edcdf02
More on removing use of CalcAbsIfRel().
...
Change-Id: I7706148d3a7376ca9b0c0d9c907559b384d57f14
2013-07-24 23:29:35 -04:00
Kohei Yoshida
27d02ddc7f
Properly handle optional edge expansion of referenced ranges.
...
Change-Id: I499189f4f76eee4b963f643364d1fad26cf69785
2013-07-24 23:29:35 -04:00
Kohei Yoshida
af4af279a2
Add test for edge-expansion of referenced ranges.
...
Change-Id: I51889235ef1da27e6ecde1e8c7d0b33784c47566
2013-07-24 23:29:35 -04:00
Kohei Yoshida
50c70948d0
Handle range reference expansion on insertion.
...
Change-Id: I128ed26b6d6319a7e227885801e0683b517eb439
2013-07-24 23:29:33 -04:00
Kohei Yoshida
cbd6157666
Add test for range reference expansion on cell insertions.
...
Change-Id: Idd8d37be518cef87ea00633774c3de846b27083a
2013-07-24 23:29:32 -04:00
Kohei Yoshida
656082278b
Add test for shrinking of range references on row/column deletion.
...
Change-Id: I096aa1aa548f0166c02de5b923d0ab8a710cfd98
2013-07-24 23:29:31 -04:00
Kohei Yoshida
473274750d
Handle shrinking of range references on row/column deletion.
...
Change-Id: Id53de2b24e02f6d8a078dceadf2d8399a0348b72
2013-07-24 23:29:31 -04:00
Kohei Yoshida
fef972dac3
Remove CalcAbsIfRel() virtual method from ScToken and all its children.
...
Change-Id: I8d9c869161356a7adad9c57d34b001ebcf8992ce
2013-07-24 23:29:31 -04:00
Kohei Yoshida
c43c3e3c08
Add test for resizing range references. To be expanded later.
...
Change-Id: I886d190dd2533b89185dbc24d0b9043941618802
2013-07-24 23:29:30 -04:00
Kohei Yoshida
3d7976b1ad
Add test for no reference error on reference deletion.
...
Change-Id: I3e6fd2b41c3bbf0ee12769a507fbf484f9ba833b
2013-07-24 23:29:30 -04:00
Kohei Yoshida
673ea63df5
Handle deleted references.
...
Change-Id: Ic99d8f154cf487983aa5fce59cde053a9b9d3fb3
2013-07-24 23:29:30 -04:00
Kohei Yoshida
53e899b563
Mark formula cells dirty when a referenced range gets partially shifted.
...
Change-Id: I5d97cb0e325c0168fdae57f8ec39f62c85bec524
2013-07-24 23:29:30 -04:00
Kohei Yoshida
8e59e77a72
Test for recalculating formula cells on partial shifting of ref range.
...
Change-Id: I63807a0368551c6a38cf98865a877e92810b2a22
2013-07-24 23:29:30 -04:00
Kohei Yoshida
87c187be0a
Correctly update references on cell insertion/deletion.
...
Change-Id: Ie7499f1f589cd384c4e2421dc81d3c1f02e4a53e
2013-07-24 23:29:29 -04:00
Kohei Yoshida
8a459277b4
More test on reference updates.
...
Change-Id: Icf0222ee08157836e3119a2c67b320a14d4be8bd
2013-07-24 23:29:29 -04:00
Kohei Yoshida
6f26c19280
Revert "old position == current position during cell insertion / deletion."
...
This reverts commit 58df2af4afd82cb23e29de6623a58da3fb3f53f5.
Conflicts:
sc/source/core/data/formulacell.cxx
Change-Id: I9bb1b3eef426e02dcbe83c850c34e520be381c71
2013-07-24 23:29:29 -04:00
Kohei Yoshida
32b7b0efa7
Remove the current shared formula bits.
...
I'll re-implement this from scratch.
Change-Id: Ib3a80266a89afc0dd581fcf1e1c37790498205e4
2013-07-24 23:29:29 -04:00
Kohei Yoshida
715e777ac0
Use constants from the context object directly.
...
Change-Id: Ieb2c7c2f795bc1a56197617cf69dd34a04b4beb1
2013-07-24 23:29:28 -04:00