summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)AuthorFilesLines
2014-12-03remove boolean parameter default from ScDocument::SetDirtyEike Rathke7-11/+11
... and force the caller to make a decision. In fact some needed to include empty cells. Change-Id: I82b6ef72f7ecda6543b3cafc70f475519870b471 (cherry picked from commit 135b8d6466ade1e8724e604f705f95cecf4c4881)
2014-12-03get rid of defaulted boolean parameters in ScColumn::SetDirty()Eike Rathke1-1/+1
Change-Id: Iba030c1a4fd3dad34bdd61377b73fa76a062b5f8 (cherry picked from commit a1a1c4600e6c7ee457b62098128b27471c077908)
2014-12-02Double blank lines...Kohei Yoshida1-1/+0
Change-Id: I826db178ceea4a409ad9e14ff73b5edaf136e435 (cherry picked from commit 975a054cc2eeb04516f1f1ef3c9064b2f3cd9456)
2014-12-02Let's not forget to move the comment too.Kohei Yoshida1-2/+4
Change-Id: I86f2107860cf7e014277abdc14307c444142fea6 (cherry picked from commit 93b809d4c4151a02404308a20ecb20f1d6378e0a)
2014-12-02Put this inside the bulk broadcast scope.Kohei Yoshida1-1/+1
Because setting formula cell dirty may indirectly trigger area broadcast. Change-Id: Id8b500c659119df3637ca9a27481267c140e49d3 (cherry picked from commit 672484e615434f7133cc838442962f5abf1ad225)
2014-12-02Reduce scope level.Kohei Yoshida1-19/+20
Change-Id: Icfa4a81ebab1df943a71869fb8fc6409a8927464 (cherry picked from commit bdbe60051878bda9e9df11cfef032788c8347ba6)
2014-12-02fdo#86762 re-establish listeners on moved broadcastersEike Rathke1-36/+64
... also in SortReorderByColumn() similar to SortReorderByRow() Change-Id: I7665dcc90d70fcf3b08bef0adb9ab6aaff1cdcdf (cherry picked from commit e119f3883513aeaa49f332362620e955dc8b453f)
2014-12-02fdo#86762 broadcast also empty cells after sortEike Rathke4-7/+22
Change-Id: Ie275a754c530d6039ed14304900dd71416f36e46 (cherry picked from commit 08793e08c7e9cefe594c49130f782725e386c463)
2014-12-02fdo#86762 re-establish listeners to move cell broadcastersEike Rathke3-46/+115
... for UpdateReferenceOnSort=false Change-Id: Id90288660e317d6e47ee01ee3b5ff9058cfa18df (cherry picked from commit 6c2111f17089eb667bf526561d7667d17825e822)
2014-12-01fdo#84293 move clipboard functions to the top of context menuYousuf Philips1-60/+60
Change-Id: I3be93178a9b4ba5ecfcb328a8235d2ae2cb17bcd Reviewed-on: https://gerrit.libreoffice.org/13216 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit f1da0cff2f67b0c66ec9e3cc5d9855b591eb8648) Reviewed-on: https://gerrit.libreoffice.org/13248 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2014-12-01For external data sources this variable can be null, fdo#83534Markus Mohrhard1-0/+3
Change-Id: I8c47cf078b4772fcdba0993880740c22114f1b45
2014-12-01avoid modifying range name references that are not affected, fdo#86518Markus Mohrhard1-0/+4
Change-Id: I0822fb96ebcb30326bcdd88f3900e6e01c85bcf5
2014-11-30amended solution to @TERM and @CTERM import from Lotus 1-2-3Andras Timar1-5/+9
Change-Id: If23e0d80585911ea75c2a24f1e59e71f1edb4774 (cherry picked from commit 317b5bc5f801135b027e02d5acfc407cc2d05689)
2014-11-30don't call XLSX methods in XLS export, related fdo#59762Markus Mohrhard1-8/+14
This should fix a huge number of our xls export crashes. I just picked my test document for the commit message. I suppose that nearly all reported XLS export crashes are the same issue. At the same time this should improve the performance of our XLS and XLSX export a bit. Change-Id: Id19e2515e75e10527d3af62d671377bec23f99e8
2014-11-30we need to copy the condition format cell for cell, fdo#86253Markus Mohrhard1-2/+5
Change-Id: Ic090e1b9d13780e7e895a85901d3329cc5703688
2014-11-28set only valid positions from ScExtTabSettings at ScViewDataTableEike Rathke1-4/+13
Some address fields of ScExtTabSettings are initialized invalid and maybe kept invalid, on purpose, so take care of that and use only the valid fields. Change-Id: I37cbf8ff49c6ccf38bfac3e1c8c6492ac7bad61b (cherry picked from commit 8bc56801af0540c0496c1f8ddd335578a8791017)
2014-11-28sanitize viewdata col/row valuesEike Rathke1-7/+4
Change-Id: Iec51b032c96189b20cd43934c477b587da3011a7 (cherry picked from commit d042bef351af4649e656bfb8c60273149e5daeb5)
2014-11-28test rows for validityCaolán McNamara1-0/+3
Change-Id: I501c1c18df96b5b2ad628e86cfb724a541d5c4b6 (cherry picked from commit 1e514c8da8e37fc3cb26af6ddaf95a3ed8093a41) Reviewed-on: https://gerrit.libreoffice.org/13168 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-11-28Put the KernelEnv struct inside the opencl namespace, tooTor Lillqvist1-9/+9
Change-Id: I33d51b0e30445c34c792210e7c656c1d48159019
2014-11-28Clean up confusing OpenCL code a bitTor Lillqvist1-20/+20
Get rid of the silly OpenCLDevice class that had only static members. We can as well just use namespacing. Remove functions only used internally in openclwrapper.cxx from the now public openclwrapper.hxx header. Change-Id: If7336edd262c772564dc13e64113d72d0b52428c
2014-11-28WaE: variable 'bSetOpenCL' set but not usedTor Lillqvist1-1/+3
Change-Id: I897accf5b4259a4a01198118421abaa55465207e
2014-11-28Move more Calc-independent OpenCL stuff from the sc to the opencl moduleTor Lillqvist7-2204/+25
No cleanups yet. Just removed the "sc" namespace parts now when this stuff is no longer Calc-specific. There is still horribly confusing use of the same OpenCLDevice name for both a class and as a namespace, for instance. And the OpenCLDevice class has only public static members even, so effectively it acts as just a namespace anyway... Etc. Change-Id: Idc5f30a721df0101426c676f04a85e02c5dc8443
2014-11-28Fix OpenCL-less build harderTor Lillqvist3-2/+16
Change-Id: I1627f534505c735455c50f9b4f6e4d1c698ab9d2
2014-11-28Fix OpenCL-less buildTor Lillqvist2-17/+18
Change-Id: I8e049a6df5946344110b38887301d186991a475d
2014-11-28Add the "Test" button backTor Lillqvist2-4/+5
This functionality is Calc-specific and will stay in the Calc part of the options. Let's not give the false impression that it would be going away. (How it looks and works now is not final.) Change-Id: Ic2f783a6fd07de89eec7d7e685364dad71243b4b
2014-11-28Work in progress: Move Calc-independend OpenCL configuration out of scTor Lillqvist10-510/+28
Intermediate commit. More changes will follow: The device selection logic needs to be moved, too. (And cleaned up.) Instead of the separate formulacalculationoptions dialog we should simply have a normal options page for those OpenCL-related settings that will remain purely Calc-specific, like the formula opcode subsetting. Change-Id: Id60d95e80d377cbbf5780beb473b221bce06b5e5
2014-11-28Move clew into a library of its ownTor Lillqvist5-1643/+3
Change-Id: Ifb7e86b078bd549506a9cc1b9ce9fc22fffc5eec
2014-11-28Make whether to use OpenCL or not a global optionTor Lillqvist8-75/+28
Add a toggle to the "General" page. Change-Id: If35b1472032706b09a3bc3499c55cbd3ac2e13ac
2014-11-27remove SAL_DEBUGEike Rathke1-1/+0
Change-Id: I08cbc7bab69daa19dfac1a1b27113fb87bc7a272 (cherry picked from commit a02a54f51367f276544f45e67023338a32d22ee6)
2014-11-27fdo#86169 fix completion of function name crashWinfried Donkers1-8/+15
function names with dot or underscore were not completed correctly, leading to incorrect results or even crashes Change-Id: Iacb6af29c609ab39746185c71d4443537bf46b5e Reviewed-on: https://gerrit.libreoffice.org/12380 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 5456abc4d734583664a55c01a0e750e3051b03c9) Reviewed-on: https://gerrit.libreoffice.org/13153
2014-11-27fdo#86687 Avoid deadlock updating progress barMatthew J. Francis1-1/+4
Change-Id: I13f93372fedc67bfd25d36a5bee10a004fe9f8f6 Reviewed-on: https://gerrit.libreoffice.org/13147 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-11-25More efficient way to check & insert listener into ptr_map.Kohei Yoshida1-4/+8
Change-Id: I09ec8ed8f05621b72984a34f47db50d20ebd6c06 (cherry picked from commit 42c8178ce73756f85fa41473bb16f667f7f564e9)
2014-11-25fdo#86615: Track dependent formulas after bulk-broadcasting...Kohei Yoshida1-0/+4
of group area listeners. Change-Id: I3a8d2ceb57462c2c2c4cddb6e34966d2465e149b
2014-11-25fdo#86708 paint after Undo of SortEike Rathke1-0/+3
Regression of 10fc138307afb4b39baddb0d56eb8e986e5d29ea that exchanged the PostPaint with SetDirty, but the paint is also needed. Change-Id: Ic3e81fa106f405568effaed71ab33b575b4c5c5c (cherry picked from commit 5cec4ea827570a5bb0a368025f3733b841107d07)
2014-11-25Adjust ref undo to ensure group area listeners are used.Kohei Yoshida14-62/+259
When undoing row deletion (and possibly other similar undo's). And write test for it. Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33 (cherry picked from commit 0dae7466fff1e742543ef7512b7dd22472c75624)
2014-11-25make sure to check for formula first, fdo#80301Julien Nabet1-8/+10
Cherry-picked from 37ac70c117a7b8b9ac66b583a793096c3ad87a11 Change-Id: Ie822d1a154b7b25437ce7e5d09eb399460823acf Reviewed-on: https://gerrit.libreoffice.org/13081 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-11-25fix fdo#79441 again and keep references to other sheets during sortEike Rathke3-0/+49
... also if other references are not updated. References to other sheets are never to be treated as relative during sort, they are always absolute, even if they have relative row/column part references. Broken again during the big sort mess. Even if there was a unit test, which didn't help as it got disabled / adapted to the change.. Change-Id: Ic0e61c5e1cb0728e20725c29e450ab0eb55c3305 (cherry picked from commit f0e7364603c9566bc158303c515c3274ccba62ca)
2014-11-24Reduce the amount of data by an order of magnitudeTor Lillqvist1-7/+7
Change-Id: I4a1deb2c1a0cfe67faef6a0d2e3d355b475eb9f0
2014-11-24Add AVERAGE testTor Lillqvist1-0/+6
Change-Id: I144858631f229685284622eb9975a168e61ff6c5
2014-11-24Add MIN and MAX testsTor Lillqvist1-0/+12
Change-Id: Ia8d5fdeb1e03009035136edeab991442b7d91c4b
2014-11-24Fix fencepost errorsTor Lillqvist1-13/+19
Change-Id: I4d22d535368569631be9c016f74b7c19b9019955
2014-11-24The initial value for PRODUCT should obviously be one, not zeroTor Lillqvist1-1/+1
Change-Id: Id054d66e716fb5b176b687afc5d4121f3fa13765
2014-11-24cid#1255906: Unchecked return valueTor Lillqvist1-1/+1
Change-Id: I94696b3da73eb74a04b531ee8a93854208cddbec
2014-11-24Add new-style test generation for SUM and PRODUCTTor Lillqvist1-151/+90
Intermediate commit, still a bit buggy. Also, bin the old code that was ifdeffed out. Change-Id: I747c1864e4858672f0fe0512215405885e52c3b5
2014-11-24Some of our supported compilers still don't have 'override' it seemsTor Lillqvist1-6/+6
Change-Id: Ie3ca1636657b90fd5bc193aa7595f95f44d43915
2014-11-24Re-factor the OpenCL quality test spreadsheet generating codeTor Lillqvist1-9/+311
Be more elegant, avoid hardcoding stuff, use more C++ features. (Not complete yet. Only did the math and trig functions and arithmetic ops so far. New style test generation for AVERAGE, SUM etc not yet done. Old code still left in #if 0 for reference.) Change-Id: I50068852eacf7f0212b2a7ea077021713c8e9978
2014-11-24Mark InsertTable SC_DLLPUBLIC, will need it in next commitTor Lillqvist1-1/+1
Change-Id: Ia105bc5348c3745398ea0e90cb142c3282d688f5
2014-11-24import @TERM and @CTERM functions from Lotus 1-2-3 files (related: fdo#86241)Andras Timar1-11/+35
Change-Id: I864ad87aa0455c323a5235fa1230d3f2ac3ffbb4 (cherry picked from commit 70ae5bb4182a99c17da8eb32b36baec3e7a48723)
2014-11-21Use group area listeners when deleting rows.Kohei Yoshida8-22/+101
Change-Id: I9ceb1cabf448349e087e4d5c4c2b1a75af91dd75 (cherry picked from commit 5432e2a5ef7a3e131d2496e19bd0c6a86955319f)
2014-11-21Dump formula group listener info.Kohei Yoshida2-6/+35
Change-Id: Idbad1451393c42c272465907312c64c65eba9525 (cherry picked from commit 5dd60299c668cd36cc5cc5e8bd5b162e1fc9ef13)