summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2014-12-03remove boolean parameter default from ScDocument::SetDirtyEike Rathke8-12/+12
... 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-03remove boolean parameter default from ScTable::SetDirty()Eike Rathke1-1/+1
Change-Id: I37761c07dd72bfa25cc499c8ed41241f1ba56469 (cherry picked from commit ad4b7986c5ca6a5b97d09a7413adf39440eefb93)
2014-12-03get rid of defaulted boolean parameters in ScColumn::SetDirty()Eike Rathke2-2/+2
Change-Id: Iba030c1a4fd3dad34bdd61377b73fa76a062b5f8 (cherry picked from commit a1a1c4600e6c7ee457b62098128b27471c077908)
2014-12-03fdo#85594 enabling date format and rearranging othersYousuf Philips2-8/+8
Change-Id: I839f6a3a01c1a9758b7997858416f15b73dba0bd Reviewed-on: https://gerrit.libreoffice.org/13284 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> (cherry picked from commit ebf31a9b2c98167c2d46e16a19a75c287b0a4c6b) Reviewed-on: https://gerrit.libreoffice.org/13291
2014-12-02unit test for sort with broadcasters, fdo#86762Eike Rathke2-0/+217
Change-Id: Id1040f95a94d1637cafd06cbe0072b5a5a5cb8e0 (cherry picked from commit bbfa317b9cfdbb0c44140e3414d4c2dfba9bcef4)
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 Rathke7-10/+25
Change-Id: Ie275a754c530d6039ed14304900dd71416f36e46 (cherry picked from commit 08793e08c7e9cefe594c49130f782725e386c463)
2014-12-02fdo#86762 re-establish listeners to move cell broadcastersEike Rathke4-47/+132
... for UpdateReferenceOnSort=false Change-Id: Id90288660e317d6e47ee01ee3b5ff9058cfa18df (cherry picked from commit 6c2111f17089eb667bf526561d7667d17825e822)
2014-12-02mark numbers as untranslatableStanislav Horacek4-7/+7
Change-Id: Ieb04f562e94ae4b8f09efbfeeaea7009c22322ff Reviewed-on: https://gerrit.libreoffice.org/13253 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-01Add test to make sure sheet names with '&' get imported correctly.Kohei Yoshida2-0/+18
Change-Id: Iea7bb77cdbd5f3ba3b658c373b7d4156b2ca6337 (cherry picked from commit 3b47c8fda324af275aac9e6d237b6da6c8e5ca00)
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-29fdo#86035 removed uno:InsertDraw and added shapes submenu to writerYousuf Philips1-1/+0
Change-Id: I66a762ac267f48b9866d6ccb0fec9542eec52aaa Reviewed-on: https://gerrit.libreoffice.org/13188 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> (cherry picked from commit ffd18eed1fc5b56fecf83fbff3ce09face16bb7e) Reviewed-on: https://gerrit.libreoffice.org/13190
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-28scui needs the opencl library at least on WindowsTor Lillqvist1-1/+3
Change-Id: I4183b957d59bb81b8df7a5f51418be94c879b3fe
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 Lillqvist8-2206/+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 Lillqvist4-4/+18
Change-Id: I1627f534505c735455c50f9b4f6e4d1c698ab9d2
2014-11-28Fix OpenCL-less buildTor Lillqvist3-18/+24
Change-Id: I8e049a6df5946344110b38887301d186991a475d
2014-11-28Add the "Test" button backTor Lillqvist3-4/+19
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 Lillqvist19-889/+40
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-28Need -lrt for clock_gettime() with older glibc versionsTor Lillqvist1-0/+6
Change-Id: I6ccd990ba71867f0ff96ad06cf5a9e7c98c93657
2014-11-28Need -lrt for clock_gettime() with older glibc versionsTor Lillqvist1-0/+6
Change-Id: Id134b05de3a81dd246baf8743c32fa8eb1e37935
2014-11-28Move clew into a library of its ownTor Lillqvist8-1671/+5
Change-Id: Ifb7e86b078bd549506a9cc1b9ce9fc22fffc5eec
2014-11-28Make whether to use OpenCL or not a global optionTor Lillqvist10-115/+38
Add a toggle to the "General" page. Change-Id: If35b1472032706b09a3bc3499c55cbd3ac2e13ac
2014-11-28Remaining fixes for sc.subsequentcheckMiklos Vajna11-0/+11
Change-Id: I5bca031b4d04c4a2bc2d19fa939cc58a711ab8bd
2014-11-28CppunitTest_sc_databaserangeobj: adapt to now enabled sidebar in CalcMiklos Vajna1-0/+1
Change-Id: I0854290757ace2acf2ed62f91efbd01d880d196f
2014-11-28CppunitTest_sc_annotationobj: adapt to now enabled sidebar in CalcMiklos Vajna1-0/+1
Change-Id: If03be5829cfea7f32ee47447b9d1efebde3c26f2
2014-11-28CppunitTest_sc_styleloaderobj: adapt to now enabled sidebar in CalcMiklos Vajna1-0/+1
Change-Id: I1f4d0caf0e59af43d4c66f933175c9bdb8c974b6
2014-11-28CppunitTest_sc_outlineobj: adapt to now enabled sidebar in CalcMiklos Vajna1-0/+1
Change-Id: Ia38627f1f410e8d729449e5950508131068b0279
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#86615: Write test for this.Kohei Yoshida2-0/+32
Change-Id: I75412790e0afc1dbe3255254ff13fd41c5e9934b
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 Yoshida25-76/+427
When undoing row deletion (and possibly other similar undo's). And write test for it. Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33 (cherry picked from commit 0dae7466fff1e742543ef7512b7dd22472c75624)