summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2014-05-24sc: constify GetCellGroup.Michael Meeks
Change-Id: I50d47b19391c6b54570bc3982b8ec22563662983
2014-05-24ODS load perf: remove left-over / debugging getenv.Michael Meeks
Change-Id: I08bae50685ce52b8329b11b8ca3d083648dfc6fc
2014-05-24ODS load perf: accelerate CompileXML for formula by stringify and compare.Michael Meeks
For long columns of repeated formula, it is far faster to convert a formula to a string and compare to see if the next cell in a column matches, than it is to parse the formula string itself (sad but true). This saves 29s of 131s of load time for my (admittedly large) ODS file. Change-Id: I48b613eb7131d6eb3902695aa30a1aa1a9ea5f6a
2014-05-24Remove unused headersMatteo Casalin
Change-Id: I67cb5bf14114f9892d2680b7688092cafd9644f1
2014-05-24cppcheck: catchExceptionByValueThomas Arnhold
Change-Id: Idbb7a68a9517270325fd9ec34c14d663573318ac
2014-05-24remove whitespaceMarkus Mohrhard
Change-Id: Ia8b664f09da0008bde48e55a144e63965dd00609
2014-05-24cppcheck: redundantAssignmentThomas Arnhold
Change-Id: I4c4be0b7eb8957e454ec5fc494cf5f6e29d1dbeb
2014-05-24cppcheck: redundantAssignmentThomas Arnhold
Change-Id: Ia073fff962e53b10a6c65c4898ba2883fa78dbbc
2014-05-24make sure that OpenGL charts are rendered after importMarkus Mohrhard
Change-Id: I3701a7593d7394abc39532a87b9aa50a3c92d457
2014-05-23coverity#1209494 Explicit null dereferencedCaolán McNamara
Change-Id: I9e51f2af30f1e0a38079d76db93bac4fe65d13b2
2014-05-23fdo#76824: Proper way to parse cell address strings.Kohei Yoshida
Be aware of the variable address convention. Change-Id: I37ca38758f055e7799cadefafda61174ea3cbf9c
2014-05-23WaE: private field 'mnId' is not usedTor Lillqvist
Change-Id: I406ebb303b1f36f827c3cbf33f8f4cf3dcaed2f1
2014-05-23we need to map 100th mm to pixel also for the importMarkus Mohrhard
Change-Id: I09084d67283b10e024ed926dc0e8d38030d28713
2014-05-23fdo#79011: Properly implement the search results dialog as modeless.Kohei Yoshida
It's unfortunate that adding a modeless dialog is such a pain. But we still need to implemenet this properly else we'll leak at best, or end up with tons of weird bugs at worst. Change-Id: Ie03260f288fad76f994d0ca6a8b1feeade299ffd
2014-05-23Forgot to remove debug statements.Kohei Yoshida
Change-Id: I7653efc19bf590bb5456128b270dd1d59c974599
2014-05-23coverity#1187682 Dereference null return valueCaolán McNamara
Change-Id: I52740129dc7c6c8d6f47850cf32702ead4643e63
2014-05-23coverity#1187686 Dereference null return valueCaolán McNamara
Change-Id: Ibbebba7bf421bf7f328a940c7f3d5295c975573c
2014-05-23coverity#708104 Uninitialized scalar fieldCaolán McNamara
Change-Id: I3b35046fd10a779b3a0f6efeadf0ea7f4d3132da
2014-05-23coverity#708018 Uninitialized pointer fieldCaolán McNamara
Change-Id: Iea2f47a8a65447ebe9d25cfa1f4704426872c093
2014-05-23coverity#707994 Uninitialized scalar fieldCaolán McNamara
Change-Id: I295cbb23529f614c35f39c756c555dd9eabe8623
2014-05-23coverity#1215280 Unchecked dynamic_castCaolán McNamara
Change-Id: Ie03bb8a870c544eef656594f5ebab35bc61b9030
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23Always use CPPUNIT_ASSERT_DOUBLES_EQUAL when comparing floating point valuesStephan Bergmann
Change-Id: I2ea94a510fd79f6fe3dcc5021d142b7b5f99f67f
2014-05-23Remove dead codeStephan Bergmann
Change-Id: I198fb0193fed891c4dd8a8a92c29e36f6c4d48b9
2014-05-22fdo#78903: Don't broadcast prematurely during cell deletion.Kohei Yoshida
We need to wait until all the affected cells get marked dirty at the end of the deletion process. Change-Id: I49618fcc386ec2209f5f0267d50257ecb8dd21d1
2014-05-22fdo#78903: Write test for this.Kohei Yoshida
Change-Id: If8ed8b74b58efd948772376a14172b52ff588f82
2014-05-22cp#1000077: Set 'modified' document property more consistently.Matúš Kukan
Update document info at one place, so that it works for other formats like .doc, .docx, ... too. Change-Id: If71799b491d2210f0d3bdbdb05f91f26c986a260
2014-05-21Label t-test and F-test for their respective dialogs.Kohei Yoshida
Change-Id: I8afab424c051453005432c5291af49eb208dd22c
2014-05-21Modify these stats dialogs to have OK and Cancel pair.Kohei Yoshida
Change-Id: I5707aea9965e0d288d4a0e742f5d3cccf08107eb
2014-05-21Keep only "Apply" and "Close".Kohei Yoshida
Change-Id: I963419baec24d7599ddb3e481738cbe6ec4e0a69
2014-05-21WaE: overriding virtual function declaration not marked 'SAL_OVERRIDE'Tor Lillqvist
Change-Id: I9251488743ec3801367600455ef9a22ad876d2d3
2014-05-21typo: VarP (Sample) -> VarP (Population)Andras Timar
Change-Id: Iaa80388952ac38a088874629688d9cf8a5fd456d
2014-05-21Avoid unnecessary cloning of ScRawToken during token check.Kohei Yoshida
Change-Id: Ia980054437394ef48f7df655411f81d20b9cfa32
2014-05-21cp#1000072: Skip styles import for external link cache documents.Kohei Yoshida
This reduces external link update time by 10%. Change-Id: Ic14d9ea7530818f839330a2004f6aa67ef1e831e
2014-05-21Finer grained ODS import mode selection.Kohei Yoshida
Change-Id: I18520837f8d25103bf8482a0204b8a7b7740feb1
2014-05-21Let's use constant uno name for these.Kohei Yoshida
Change-Id: I5e34f4d7561ef7f4f7b8b3b4d7d06cca072831c7
2014-05-21Let's not use ScDocument as a convenient "anything goes" storage place.Kohei Yoshida
Change-Id: I0ae2f44b89b0db915e78a9b07835000e843d016f
2014-05-21Turn the mouse cursor to the "wait hand" during the external link update.Kohei Yoshida
Change-Id: I983127828b28c72dd12d4778b88051964e9bceaa
2014-05-21cp#1000072: Populate cache tables when updating all external links.Kohei Yoshida
This way, even after the loaded doc shells get purged due to timeout, we won't reload those external documents from disk again. One caveat is that we currently don't pre-populate empty cells even if they are referenced by the host document. Change-Id: I1de2987836bf2fc5d9d7044b406fb99faa534164
2014-05-21Localize this string.Kohei Yoshida
Change-Id: I88b205d36eede5e63af46f8581896d980b6aa27d
2014-05-21cp#1000072: Purge one document shell at a time, to avoid freeze.Kohei Yoshida
Import especially when we have a whole bunch of large-ish documents open in the background. Change-Id: I614e6daab3481c09dae47c8407497d77aec40480
2014-05-21cp#1000072: Stop the external doc shell timer while mass-updating.Kohei Yoshida
To prevent collision with the timer wanting to purge the doc cache while updating external links. Also, show progress bar, and make the timer interval and the document cache life span longer. Change-Id: I325984c8fa68425a2621cf8f9c016463291afc89
2014-05-21cp#1000072: Load external documents when refreshing caches.Kohei Yoshida
Rather than just clearing the existing caches and loading the external documents on demand as the formula cells gets re-calculated. This has two advantages: 1) when the loading itself fails, we can keep the existing cache rather than turning all affected cells to error cells, and 2) this prevents on-demand loading after the external linkes get refreshed, which can make scrolling very slow & painful. Change-Id: Ie8243f6f94c5e477964413ab83f6b4b746fe3220
2014-05-21ODS load perf: 7% of the time re-creating sheet name strings.Michael Meeks
No need to create cached versions of stringified sheet tokens for a given grammar at great for every formula that we compile; defer until use. Is this a large cost on save ? Change-Id: I8058ed564dbdc00ff45c02cb483c1a20a48af272
2014-05-21ODS load perf: transfer ownership of the ScTokenArray to save cycles.Michael Meeks
Add API to wnsure we don't end up allocating 32k bytes of tokens for each ScFormulaToken, as happens when you Add a token to a new empty ScTokenArray. Change-Id: Ib12a3065eb513243a2146ebb009fbaa650385dd9
2014-05-21ODS load perf: avoid excessive calls to uppercase to compare tab names.Michael Meeks
Change-Id: I37b9e49607c8c51f10bc8ff8fc342b02fdb8b7e1
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-20Following fdo#78838, let's make this part safe tooJulien Nabet
(Thank you Eike) Change-Id: Icc7061c7f7296302d6ed21f0e74a48cbaa82011a
2014-05-20kill some old 16 bit column indicesMarkus Mohrhard
Change-Id: Ie1c3f3b11ed216b53f3fd385614f6fcb2c38220c
2014-05-20simplify and ensure valid miAutoPosColumn in all cases, fdo#78838 relatedEike Rathke
Unconditionally set miAutoPosColumn at the end of all operations so it is also valid in case of pColumnData->clear() and no entries inserted after pDoc->GetDataEntries(). Change-Id: I689632f696091fd9ce8e93c06d7918e5eaf05ab4