summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
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
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-20Resolves: fdo#78838 past-the-end iteratorJulien Nabet
Inserting data in pColumnData invalidated miAutoPosColumn See https://bugs.freedesktop.org/show_bug.cgi?id=78838#c6 Change-Id: Iece423cd8d14f5ae7bf382583c0369895a00f168
2014-05-19Register OpenGL windows to ScGridWindow upon file load.Kohei Yoshida
Change-Id: I6fdce232ef41079f20a983dc72da032196078858
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19ODS load perf: don't allocate temporary strings un-necessarilyMichael Meeks
Of the 53bn cycles consumed loading a large test; this saves up to 30bn parsing tab names, plus ~1bn not copying strings to convert to integers. Change-Id: Ie768ff8c2159dec62418088e643fe468e4cd5d70
2014-05-19WaE: unused variable 'tmpCur'Tor Lillqvist
Change-Id: I328812513691f499871002633b9ac750af86243c
2014-05-19GPU Calc:Fixed compiling warning in opbase.cxx&op_math.cxxhaochen
Change-Id: I885bf77a85f7f479a8a9632e64af306be243cdd0
2014-05-19GPU Calc: Fix bughaochen
For arraybound of slidingwindows parameters in COVAR formula Change-Id: I17a601edfbc720d4e3e40fc31bf6efd73b4ac65b
2014-05-19GPU Calc: Fix bughaochen
For arraybound of slidingwindows parameters in Intercept formula Change-Id: I6c96073e859ef7550033e9a46e6cafb11e8bfe0a
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 5849-9461)haochen
Change-Id: I85f7bdeb153a8bcee0fe9678db93bc43cf2bc659
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 4037-5849)haochen
Change-Id: I5a24bcc91f8c19472aab529e82648d06d13e46d9
2014-05-19GPU Calc: Fixed style&error problem in op_statistical(line 1-4037)haochen
Change-Id: I97f55bffd1e61bc9d3f7f85ab857f82df5475dc4
2014-05-19GPU Calc: Fixed style&error problem in op_math once morehaochen
Change-Id: I768ad4503905b54ef5a7aa54445dbb94ce0493ed
2014-05-19GPU Calc: Fixed style&error problem in op_mathhaochen
Change-Id: I1f177684bdbac76a2f9632bc51482821eb510496
2014-05-19GPU Calc: Support nested formula of string compared in AND formula.haochen
such as AND(MOD($B4, 3)=0, $A4="NQSO") Change-Id: Ie891d4e56eaa39f769f018b6db53ee209dd15540
2014-05-19GPU Calc:Fixed style&error problemhaochen
in op_financial&opbase.cxx&opencl_device.cxx Change-Id: Ic4b8cee77a0a4faec44bcf3650f4f6fa691a9e71
2014-05-19GPU Calc: Fixed style&error problem in formulagroupcl and op_addinhaochen
Change-Id: Id7c6e341eb88f6c8ffdaa7f83b787bb19649afec
2014-05-19add COLOR functionMarkus Mohrhard
This function makes property mapping in charts more user friendly. Change-Id: I01cfb31edd749ee474d5078042fa5c4b4a270f86
2014-05-18fdo#78786: No need to insert entries here for date members.Kohei Yoshida
Data member entries are inserted when they are added in addDateMember(). Change-Id: I6cb2e3629053fe2bb49517c4ef8d5c1fee576446
2014-05-18Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: Icc1e11e173329fd88898a3d13270406fd651eb2b
2014-05-17move boost rng wrapper from sc to comphelperThomas Arnhold
so we can re-use it in other modules Change-Id: I6057b1e955f745019fd48f91a754279df0f2b948 Reviewed-on: https://gerrit.libreoffice.org/9348 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-16fdo#77735: Don't proceed when all cells in the range are empty.Kohei Yoshida
That means there is nothing to delete, and proceeding would cause Calc to freeze. Change-Id: I2a8fb5736870ba459082873c8f864283d8b9c664
2014-05-16I should check for NULL here.Kohei Yoshida
Change-Id: I245f4a26c8fdee8230bb0af2963cae2739413253
2014-05-17FixesJulien Nabet
Change-Id: I5e2c57f4c53147ab4ae58f48059c8020de144f3c
2014-05-17FixesJulien Nabet
Change-Id: Iaecba29cb5958787ec2581198943d373e37a3934
2014-05-17More fixJulien Nabet
Change-Id: Iadb275a3799195a8c2eb57a975315f21d8215b31
2014-05-17Fix previous commitJulien Nabet
Change-Id: I22ded05f328aeb4479c90e79b12729eb3835b3ec
2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part14Julien Nabet
Change-Id: Ibccaa2138426c22cd63d273a1b6cdc927ebe80dc
2014-05-16fdo#77315: When in cell edit mode, use the EditView instance already there.Kohei Yoshida
This prevents creation of a temporary EditView instance which would mess up the cursor state while the mouse pointer is hovering. Change-Id: I7759667b105b4389dd4de2673cd2fbe32082c95d
2014-05-16fdo#75056: Overline attribute needs special treatment as well.Kohei Yoshida
Also fix the export of underline types as well. It was always saved as a single line. Change-Id: I88cb0f3702a6afc14544ecbce8f200b5422fd78f
2014-05-16clean up, remove eof commentsThomas Arnhold
Change-Id: I166e781cb54181a8e5d08021cf5f6dfcd1fde5cb
2014-05-15fdo#77537: Exporting font names in edit text needs special handling.Kohei Yoshida
Change-Id: Ia9c29d37eaf962e0245920e50f534dd779af72dc
2014-05-15fdo#76718 Rounding for "fill > random number.." optionTomaž Vajngerl
Change-Id: Idb4b6442be7ddb08875c6b59f54a887399385be7
2014-05-15sc - statistics dialog: add more space between IDsTomaž Vajngerl
Change-Id: Ie503c2758e809712c99df6e53a02ac6e719dd036
2014-05-15sc ANOVA: add "two factor" and rework "single factor" ANOVATomaž Vajngerl
Change-Id: I8cfaa06019e641e0590065d8f6a3266ff82acb88
2014-05-15Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: I7dc862794f7f0973bd4de7b54f7a1fb15235bc3e