summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2012-07-22show expression for formula condition in manage cond formatsMarkus Mohrhard
Change-Id: I04cda5ba5b248ef7938d36b5af6003ac89642e42
2012-07-22add missing string for "Formula is"Markus Mohrhard
Change-Id: Ie2c3dae7ebe3181cb8bb85869882a4eed4a07c14
2012-07-22use correct source table for cond format paste, fdo#52340Markus Mohrhard
Change-Id: I7c4cb1a5f31ba9e37a280af2243a13c57914cb2f
2012-07-21tubes: small cleaningMatúš Kukan
Change-Id: I15337276f21febba44b84d3618fedfc08013a3da
2012-07-21tubes: remove TelePacket, it's just simple stringMatúš Kukan
Change-Id: Iabfb50454c573ac9c01aba1b309822c4ef6fcc73
2012-07-21Use correct date/datetime format for formula cells and value cells.Daniel Bankston
Change-Id: I37816eba909caa71aca95c5181daeea1751b6c5a
2012-07-21Revert "Distinguish between DATE and DATETIME formats in ODS import"Daniel Bankston
This reverts commit 4e5c55afee36d02bdfe4c0fb09e3b42e9eadb6c5.
2012-07-21Revert "Fix cause of osl warning"Daniel Bankston
This reverts commit 59b32886a48954f9dad96b3329d172ac73aaa065.
2012-07-20It's much faster to pass value array in one go than individually.Kohei Yoshida
Change-Id: Iaf58915ab5c56ef5707f3a90a308c8b57cdc4fe9
2012-07-20second test for ScDocument::FindAreaPosMarkus Mohrhard
Change-Id: I215a33d6a1e38ad3edcb92e160e90f7d04db08f1
2012-07-20first test for ScDocument::FindAreaPosMarkus Mohrhard
This is the first step into fixing the cursor navigation. ScDocument::FindAreaPos contains still bugs in the handling of hidden rows and hidden columns. This test checks only problems with rows and moving downwards. Change-Id: I204064a96a1abdb8ab5f46e395f8f7c391fb4824
2012-07-20tubes: move ScDocFuncRecv::fileReceived to TeleManager_fileReceivedMatúš Kukan
Change-Id: Ie2ab2c2d545f6fcbdc21171868c99b1756c90792
2012-07-20adapt csv parser, don't trim whitespacesMarkus Mohrhard
Change-Id: Iff43b5971bbbd2fd31e7dac5e99f2c94c5d75f4c
2012-07-20enable the csv import testMarkus Mohrhard
Change-Id: I15d5a66bbd6daf91f01bc6c075978aea83e04b9d
2012-07-20don't trim whitespaces in csv parser if not requestedMarkus Mohrhard
Change-Id: Icf8cfec3093651661c0a2b477e955bbc0fac93fe
2012-07-20cache calls to sizeMarkus Mohrhard
Change-Id: I7bb009e1250111f1c05c421ecfb5b62a75ab88d0
2012-07-20fdo#52293 Changed "discreet" to "discrete"Kevin Peng
Change-Id: I305883239dbcd6f46d6ed5614c4968e0b59055ca
2012-07-20tubes: send a file for collaboration when buddy session startsMatúš Kukan
Channels for file and for tube are independent in telepathy, so let sender create UUID and pass it to receiver, who then can bind the document to the channel. UUID for tube channel goes through telepathy. UUID for file channel is encoded in the filename for now. Tubes specific CreateDocFunc is re-introduced, so we could set current UUID after file is received and when the document is being constructed, get channel from TeleManager with this UUID. This is not immune to constructing other documents in the middle of binding proccess. Change-Id: I57c7e57a5d7d3ccd7d94677a8cf2719c78baa2fd
2012-07-20Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: Iba122812b0485f6e8097e1767b64d7ed67f9684e
2012-07-19Display blank cell instead of zero in matrix cells with blank text resultDaniel Bankston
Change-Id: Id9d17403717e42b91b1f45b0a081e2fb5a27c06e
2012-07-19Add test case for matrix reference cells with blank text resultDaniel Bankston
Change-Id: If00d424ebe0d82284c3281c3362f2a9e52ee384e
2012-07-19Revert "Let's see if stripping the const here will fix the clang build..."Kohei Yoshida
It didn't help our clang tinderbox. Reverting. This reverts commit 52022b5f82385b28687bf46424d0d24be1964a4a.
2012-07-19Let's see if stripping the const here will fix the clang build...Kohei Yoshida
Change-Id: Ia019157bd5d2b8ce18550b468de1269b2737ff02
2012-07-19Specify function object as template argument rather than local variable.Kohei Yoshida
Also, replace pointers with references while I'm at it. Change-Id: I7f238650e5b04fe5f691c1260621431c60ff1883
2012-07-19This should be bool.Kohei Yoshida
Change-Id: I20cb39a12b4e50ebb8ef118989252a01f65185e4
2012-07-19Added comment.Kohei Yoshida
Change-Id: Ic9e8a6a970de71647b5436149fbd8c49efece49c
2012-07-19Pass contiguous cell data as an array to matrix. This is faster.Kohei Yoshida
It's generally faster to pass an array of elements to matrix than passing them individually. Change-Id: I4502025d08040327c1d1c09ce1756928be054c25
2012-07-19Less indentations via early bailout.Kohei Yoshida
Change-Id: Iae2b91fc732debe9b5c9cdd7c4717e1ef2fac08e
2012-07-19Slightly more efficient compareMatrix.Kohei Yoshida
Have a separate result matrix and have it initialize with boolean block. This way inserting the result of each element does not cause reallocation of existing blocks. Change-Id: Id89114ed5df40cde80129e4479d9b4e7d2e12cc0
2012-07-19It's now faster to start empty and fill non-empty elements.Kohei Yoshida
The new matrix backend allows to init with empty elements. Let's take advantage of this. Change-Id: Id11a933e50bcd75a5be85a1b3d0bbff0b4041b46
2012-07-19Use macro to define callbacks.Kohei Yoshida
This saves a whole bunch of typings! It's all boilerplate anyways. Change-Id: Ide366a9f5756f9354d95499fa9a6a4c46d5c5b82
2012-07-19Reorganized code to remove redundant calls to get_type().Kohei Yoshida
This makes GetString() a teeny bit faster. Change-Id: Id49df508d45584d529caa4061e77f4ddc4431c67
2012-07-19Some cleanup and comments.Kohei Yoshida
Change-Id: I38e9bbc0a55498e612665e90b5b1452e6c245c21
2012-07-19Turns out that C++03 doesn't support use of static double inside template.Kohei Yoshida
static int works, however. C++11 solves this via constexpr keyword. Change-Id: I86f913129cbc65639ec2bf4b23843a5b25bd9146
2012-07-19It's no longer possible to unionize value and string here...Kohei Yoshida
Thereby leaving a note to discourage use of ScMatrixValue. Incidentally, now all the unit test passes. Change-Id: I5d12f8ab654f985ef43b887a22abb6de45fea1fc
2012-07-19We no longer need density types.Kohei Yoshida
Change-Id: I4a02e9e025b6004806350fc8c78f6080176df8d6
2012-07-19This is no longer true.Kohei Yoshida
Change-Id: Id132c4bb7455acbdaa2287666523f42c20172f37
2012-07-19Support resizing matrix with a default value.Kohei Yoshida
Change-Id: Ibb5cf4d09b67426021f6d158878afd8386f22555
2012-07-19For sum product, the initial accumulator value should be 1, not 0.Kohei Yoshida
Change-Id: I16ce22150627f75eab08cc4d58fc63a76572c010
2012-07-19Don't forget to initialize the flag matrix.Kohei Yoshida
Change-Id: I02ca2b6fbe49530988a81d12b4e38d24c9046cf6
2012-07-19A little cleanup.Kohei Yoshida
Change-Id: Ib0059f921f815a0ddb679f4bc1888eec2270981e
2012-07-19Implement Sum(), SumSquare(), etc...Kohei Yoshida
The unit test still segfaults. Change-Id: Ib1fc78f94776e04ba8cb6ec8a24162b308cc569f
2012-07-19Now, we need to explicitly pass 0.0 as the initial value of a matrix.Kohei Yoshida
The new matrix class allows arbitrary initial values instead of just 0.0 or empty values. With this, the caller now has to explicitly pass zero value to the constructor if it wants to create a matrix filled with zeros. Change-Id: Ie515358b512fdb83ae60f54ab4ab49c92ca5761d
2012-07-19Initial cut on matrix backend swapping. Still lots of things to fix.Kohei Yoshida
Change-Id: I5262899171029772f53dccc9aea666c4b83aef36
2012-07-19resolved fdo#52205 do not force all text cells in CSV importEike Rathke
Do not set ScSetStringParam::mbSetTextCellFormat=true for SetString() that slightly changed behavior, the nColFormat==SC_COL_TEXT case is handled separately anyway. Change-Id: I0a0f9472801dcb02af77d6eaf90170309a41e9a8
2012-07-18unit test fdo#50345 accept empty string as scalar numeric 0 argumentEike Rathke
Change-Id: Ie04cb8d32e9328212d41fedb63cf81b235aa69de
2012-07-18resolved fdo#50345 accept empty string as scalar numeric 0 argumentEike Rathke
For OOo/AOOi interoperability convert an empty string or string containing only spaces to numeric 0 for scalar numeric arguments. Change-Id: I551d10b647c961df08ca8c936ca8fed5de14d99f
2012-07-18Revert "hrc cleanup: Remove unused Strings in sc", fdo#52207Markus Mohrhard
This commit is totally broken and removes a lot of still used strings. Please TEST commits before removing stuff!!!! This reverts commit c1ea4676ba67185a933fce387a66666e87095070. Change-Id: I065c17385ced86857c938e4102b9473d622ac59d
2012-07-17tubes: rearranged some lines for readability of codeEike Rathke
Change-Id: Ifd5b086e687842721247ba893d22a2514710625d
2012-07-17tubes: reintroduced handling of extending formats in ScViewFunc::EnterData()Eike Rathke
In ScDocFunc*::SetNormalString() pass the underlying ScDocument::SetString() return value back to caller. Change-Id: Ie75169af1bd9bc55d1447ee14e1206407d750c73