summaryrefslogtreecommitdiff
path: root/sc/inc
AgeCommit message (Collapse)Author
2014-07-10Add get/setPart to ITiledRenderable, and implement for sw/sc.Andrzej Hunt
Change-Id: Iec3d6374f029149cadf8fb9c9b16fec90146c31e
2014-06-25Add tiled rendering outline to Calc.Andrzej Hunt
(No real implementation yet.) Change-Id: I67b84b554dbb29db449d8c190ef816645a8bff07
2014-06-25remove whitespaceMarkus Mohrhard
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-20fdo#71076: Write test for this.Kohei Yoshida
This was actually just one element of all that contributed to this bug. Unfortunately it's a bit hard to test the others. Change-Id: I7a0d88c0b829e7b7859aecfc20df87f6837ecb4a
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-17coverity#1223091 Uncaught exceptionCaolán McNamara
Change-Id: I7aacf97a32360ea3c7e17e19d7f5e51e96fcc070
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-12fdo#77506: More reliable way to determine label strings.Kohei Yoshida
Not beautiful, but doable. Change-Id: I6f3b00d620e7d7d19cc05ec4239deeb14d0d5201
2014-06-10coverity#1187810 Uncaught exceptionCaolán McNamara
Change-Id: Icfd867bbe24ca738ad409001115d1b0470041de4
2014-06-10coverity#706877 Uncaught exceptionCaolán McNamara
Change-Id: I7364afe103f9912b31bde7f4e84baf16633b05f8
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-28update_pchThomas Arnhold
Change-Id: I5316693452427ed76a7738b090de023b110caa40
2014-05-28Related: fdo#79142 make SetName default to ReindexingCaolán McNamara
Change-Id: I408042bc7bf1a5a955203d65d2c68ebf9527b9b5
2014-05-27bin obsolete CLOOK commentsThomas Arnhold
Change-Id: I34f37587284893927463e214f0d7d1c3e914c7b2
2014-05-27resolved fdo#79228 resync ScPatternAttr if changed in GetNeededSize()Eike Rathke
Change-Id: Ida47df6223a20939ad5971dc00b8f3462a92dd3e
2014-05-24sc: constify GetCellGroup.Michael Meeks
Change-Id: I50d47b19391c6b54570bc3982b8ec22563662983
2014-05-24Remove unused headersMatteo Casalin
Change-Id: I67cb5bf14114f9892d2680b7688092cafd9644f1
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-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: 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-20kill some old 16 bit column indicesMarkus Mohrhard
Change-Id: Ie1c3f3b11ed216b53f3fd385614f6fcb2c38220c
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-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-19add COLOR functionMarkus Mohrhard
This function makes property mapping in charts more user friendly. Change-Id: I01cfb31edd749ee474d5078042fa5c4b4a270f86
2014-05-14Update the method comment and add assertion per what the comment says.Kohei Yoshida
Change-Id: I751e33a8bba732e3b7935fc41385ea5e1f8c8704
2014-05-14Use "stop on error" concept rather than "ignore error if true".Kohei Yoshida
Just to keep the pattern of "true" -> "action", "false" -> "no action". Change-Id: I6303bc779cd7048eef2fdc3c2abba8be8f15da6d
2014-05-14Keep only one class for toolbox color controlsMaxim Monastirsky
instead of 5 (mostly identical) classes. Also the following bugs were fixed: * All pickers now use split buttons. (fdo#45671) * Color palette now indicates the current color. (fdo#73891) (Previous changes related to that bug are reverted as part of this commit.) * Selecting a color from a float panel now updates the button. (fdo#77683) * For Font color/background color in Writer, the color that is shown on the button, is always the one that's actually used. (Can be a different color after hiding the toolbar.) * For Font color/background color in Writer, the button now indicates when we're in the format paintbrush mode. (Removed in 085e8a07e61ef2d3a82e11094d8773ab17cfdb3c for some reason.) Change-Id: Idb4829552240c52fb0882aca627c8177bbe2f839
2014-05-13fdo#78402: Write test for this.Kohei Yoshida
Also discovered that when the "precision as shown" option is set, the validity list would only show the first item from the list. Turn that option on in the test. Change-Id: I9aaeeb3358709d965f51e406668c72cb94541cdb
2014-05-13remove dead codeNoel Grandin
Change-Id: Ic4fb478921714429af138ca212bd7f67f408d434
2014-05-12Move this function object to o3tl.Kohei Yoshida
Change-Id: I9d1710fbed3c5753e84ed343c5136ab87909624d
2014-05-11fix-includes.pl: scThomas Arnhold
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-05-09update_pch: add a bunch of pch filesThomas Arnhold
I had to fix some source files because of macro redefinitions and such stuff. Small modules like basic have a great win, too: make basic.clean && time make basic: with w/o pch pch accessibility 23s 1m59s basctl 30s 1m42s basic 56s 1m35s comphelper 23s 51s editeng 48s 2m04s forms 40s 1m40s unotools 19s 38s sd 3m37s 4m33s Change-Id: Id24cdcddbe2ff64820b42266325c25af1355558f Reviewed-on: https://gerrit.libreoffice.org/9293 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-09resolve fdo#77509 memory corruption / crash in ConsolidateEike Rathke
Regression introduced with c81dec478ab0618f2acd2580654a93d3a7185444 memcpy some sizeof(OUString) is doomed to fail. Change-Id: I81dc9cc7eaf02607ed05b4d284a7e5e462eeeb0a
2014-05-07remove uncompiled source filesThomas Arnhold
Maybe this can be completely replaced by SfxEnumItem Change-Id: I049dcd3e5a03f859f8b1dddad801db4ca772ef6a
2014-05-06fdo#77990: Intern strings for hybrid strings during import.Kohei Yoshida
Change-Id: I269497cac645e486ac08bb2b011df1b5b23dc021
2014-05-06Let's make this non-inline...Kohei Yoshida
Change-Id: Ib427cea392c953e6bce121bfe82e9215eb1bb99a
2014-05-05fdo#78054: Initialize drawing layer when the document contains notes.Kohei Yoshida
Don't be fooled even when the document doesn't have a drawing layer initialized. Sometimes a note creates caption on demand later, but if the drawing layer isn't there the caption will not get created, which ultimately causes this crash. Change-Id: I37f4902fa84de91c9f793dc352127d9345a725e3
2014-05-03fdo#78062: Broadcast only on non-empty cells within deleted range.Kohei Yoshida
We don't want to broadcast over the whole selected range, which may be the whole sheet which is well over 1 billion cells ! Change-Id: I7c139ce5efe09312cf824e35f0efe551184032eb