summaryrefslogtreecommitdiff
path: root/sc/source/core/inc/bcaslot.hxx
AgeCommit message (Collapse)AuthorFilesLines
2014-12-06Fix incorrect adjustment of range references during sort.Kohei Yoshida1-2/+4
... as a result of the introduction of range-based area listeners. With this change, the insertRangeData() function for ucalc no longer needs the additional bGroupListening flag. All tests pass with group listening enabled at all times. Conflicts: sc/inc/listenerquery.hxx Change-Id: I9b9fb9443c727ff62badbd60ec9cd94094eb5a45
2014-11-25Adjust ref undo to ensure group area listeners are used.Kohei Yoshida1-0/+5
When undoing row deletion (and possibly other similar undo's). And write test for it. Change-Id: I04b4fd9932f4236f124dcd25967355c6055dec33 (cherry picked from commit 0dae7466fff1e742543ef7512b7dd22472c75624)
2014-11-18WaE: implicit conversion (IntegralCast) from bool to 'unsigned long'Tor Lillqvist1-1/+1
Change-Id: Icff8f89f64f335d8601ced11c83d4d30c2abac18
2014-11-18Send broadcast range to the area broadcast slot machine.Kohei Yoshida1-0/+2
Rather than iterating through cells in the range and broadcasting by cells individually. This way we can take advantage of the new group based area listeners and it's much faster this way. Change-Id: I8a4b49bce69d89b5b4698790befe4390871c755d
2014-11-18Dedicated listener type tailored for formula groups.Kohei Yoshida1-20/+37
Right now, it's only used when loading an xlsx file. But eventually this one should be used everywhere. Change-Id: I216c3a9a33c4b8040e8284d59299e0637471fb50
2014-11-18Add a means to dump the state of the area broadcaster slot machine.Kohei Yoshida1-0/+8
Change-Id: I158307de667dbe621376dfc01adeef89aa12faaa
2014-11-18Unindent.Kohei Yoshida1-18/+18
Change-Id: I3c644b6ff9916f6ec99ff6208ea073dd1612b4b3
2014-11-18Optimize area broadcast iteration ...Kohei Yoshida1-0/+9
for cases where no areas are marked for removal, which I believe is mor common use case than others. Change-Id: I3f53fb5e6ab4a9172e358bec0c71289d1e92ac19
2014-07-31fdo#78555: Retain formula results when moving a range of cells.Kohei Yoshida1-2/+4
* No need to re-compile RPN token array on reference change alone. We do that when the formula contains one or more names that have been updated. * Adjust undo code to get it to work without relying on ref undo document, which would cause the token arrays to be unnecessarily recompiled. * Whatever else need to be changed in order to pass all unit tests. Change-Id: I99e86d23320aca8900fef011da23a9d34e42751e
2014-06-25remove whitespaceMarkus Mohrhard1-3/+0
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-04-19fixincludeguards.sh: scThomas Arnhold1-2/+2
sorry, huge one...
2014-04-06whitespace cleanup in scMarkus Mohrhard1-6/+0
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
2014-03-15Use listener's listening range when re-activating area listeners.Kohei Yoshida1-2/+12
Otherwise listeners may end up listening to larger areas than their original listening areas after the relocation. Change-Id: I12a7f49aec1c78611db5c31ba2d18574e91a5416
2014-03-15fdo#71491: Adjust reference during undo of drag-n-drop of cell range.Kohei Yoshida1-0/+4
Also with this commit, the signature of SvtListener::Notify() changes, by dropping the first argument which nobody uses. This change was necessary in order to call it directly without needing to pass any broadcaster instance. Change-Id: I6a1e97f0fb1e070d1d8f7db614690b04c9e8024e
2014-03-03Remove visual noise from scAlexander Wilms1-3/+3
Conflicts: sc/source/ui/inc/docfunc.hxx Change-Id: I9314437ed3dd60e84d28c08ac0a2d1ed7bd1daf8 Reviewed-on: https://gerrit.libreoffice.org/8301 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-01sal_Bool to bool in bcaslot.[ch]xxMarkus Mohrhard1-10/+10
Change-Id: Ic38f5421da373a68eeee8fe7863450dd5025e312
2013-05-28Related: #i122208# const SC containers cannot provide non-const iteratorsHerbert Dürr1-1/+1
(cherry picked from commit c6f4bbfa54bd0fbef6bbc048cbd930c2781b2137) Conflicts: sc/source/core/data/bcaslot.cxx Change-Id: I774235d445192833031f99211639f23116e37bb4
2012-12-12reworked solution for i#118012 crash during deletion of rowsEike Rathke1-8/+45
commit 16155fdc39c004dc924a3b6919eb7c86da23c119 introduced a bottleneck in area broadcasts with the change from http://svn.apache.org/viewvc?view=revision&revision=1297916 That for each broadcast copied all areas in the affected slot(s) before broadcasting, just in case that during Notify() an area would be removed from the same slot invalidating the iterator, and attempted to find the area again in the original set. For documents with lots of areas in a slot and/or lots of slots that would be a major performance penalty. Reworked such that to-be-erased area entries are marked and remembered instead and cleaned up after iteration. Change-Id: Ia485941746f435f8410d2084868263e84f25ffcb
2012-12-04re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara1-1/+0
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida1-15/+15
2011-02-06port repository calc to boost unordered containersFridrich Štrba1-3/+3
2011-01-17removetooltypes01: #i112600# remove tooltypes from scMikhail Voytenko1-15/+15
2010-10-28add modelines to .hxx files as wellCaolán McNamara1-0/+3
2010-06-23koheirowlimitperf: #i109369# #i109373# #i109384# #i109385# #i109386# ↵obo1-5/+2
#i109387# #i109388# #i109389# #i109391# #i109934# #i109935# #i110116# #i111531# #i111887# #i112190# #i30215# increased the row limit to 1 million, and integrated lots of speed optimization and bug fixes to ensure Calc remains usable after the row limit increase.
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-11-01merge commit for DEV300_m63Mathias Bauer1-0/+1
2009-10-21CWS-TOOLING: integrate CWS calc32stopper3Vladimir Glazounov1-0/+1
2009-10-12 14:26:09 +0200 er r276833 : disable dump again 2009-10-12 13:46:57 +0200 er r276832 : #i102294# setValue: yet another DST glitch 2009-10-12 13:21:48 +0200 iha r276828 : #i105767# Y axis vanishes in case of zero rotated axis title 2009-10-08 01:49:20 +0200 er r276772 : NextSymbol: actually do reset ODF reference detection on file/sheet separator 2009-10-08 00:18:58 +0200 er r276771 : #i101639# use TabIDs in cached RangeArrays, not RefData Tabs 2009-10-07 19:25:47 +0200 er r276767 : #i105200# UpdateBroadcastAreas: hash key changes, remove area from all slots and reinsert 2009-10-05 17:20:44 +0200 er r276690 : #i105365# SI prefixes for ang, ang3, m/h, m/hr 2009-10-05 16:21:29 +0200 er r276686 : #i105161 intersection has higher precedence than union
2009-10-16#i103496#: split svtools; improve ConfitItemsMathias Bauer1-2/+2
2009-06-02CWS-TOOLING: integrate CWS calcperf04Kurt Zenker1-27/+109
2009-04-23 12:47:25 +0200 er r271155 : CWS-TOOLING: rebase CWS calcperf04 to trunk@270723 (milestone: DEV300:m46) 2009-04-22 13:49:45 +0200 er r271104 : #i101254# performance area broadcasters: replace ::std::set with ::std::hash_set; have broadcaster slots per sheet instead of document wide lumps 2009-04-16 15:04:58 +0200 nn r270886 : #i101126# ScFormatRangeStyles::GetStyleNameIndex: pass row before which to remove 2009-04-16 11:26:33 +0200 nn r270874 : #i101126# ScUniqueCellFormatsObj: collect ranges without ScRangeList::Join 2009-04-15 15:07:34 +0200 er r270846 : merged #i95967# changesets 263482,263483 for performance testcases 2009-03-06 12:48:52 +0100 nn r268996 : #i99960# don't get null date from the model repeatedly 2009-03-06 12:47:21 +0100 nn r268995 : #i99959# don't use GetInputString in ScXMLExport::WriteCell 2009-03-03 17:30:25 +0100 er r268772 : #i99828# NextNewToken: some string handling optimization, i.e. less toUpper calls
2008-07-02INTEGRATION: CWS dr61 (1.7.16); FILE MERGEDRüdiger Timm1-3/+3
2008/05/26 16:47:58 dr 1.7.16.1: remove remaining include guards
2008-04-10INTEGRATION: CWS changefileheader (1.6.176); FILE MERGEDRüdiger Timm1-28/+18
2008/04/01 15:29:57 thb 1.6.176.2: #i85898# Stripping all external header guards 2008/03/31 17:14:04 rt 1.6.176.1: #i87441# Change license header to LPGL v3.
2007-09-27INTEGRATION: CWS calc44 (1.5.70); FILE MERGEDJens-Heiner Rechtien1-2/+4
2007/09/06 14:44:05 er 1.5.70.1: #i81332# #b6582756# bulk broadcast in DeleteArea
2007-07-03INTEGRATION: CWS dr54 (1.4.422); FILE MERGEDRüdiger Timm1-2/+55
2007/05/14 17:32:48 er 1.4.422.1: #b6534390# performance bottleneck if multiple changes are broadcasted to a bulk of listeners listening to identical ranges
2005-09-08INTEGRATION: CWS ooo19126 (1.3.452); FILE MERGEDRüdiger Timm1-47/+21
2005/09/05 15:01:47 rt 1.3.452.1: #i54170# Change license header: remove SISSL
2004-06-04INTEGRATION: CWS rowlimit (1.2.302); FILE MERGEDOliver Bolte1-43/+55
2004/05/24 12:02:36 er 1.2.302.6: #i1967# replace the multiset equalness attempt with a unique set 2004/04/19 14:18:25 er 1.2.302.5: #i1967# get rid of SV_PTRARR_SORT, use STL multiset 2004/04/07 14:44:17 er 1.2.302.4: #i1967# #i5062# replace Sfx(Broadcaster|Listener) with Svt(Broadcaster|Listener) for mass objects like formula cells 2004/03/11 12:07:44 er 1.2.302.3: #i1967# type correctness 2004/03/08 08:50:56 jmarmion 1.2.302.2: #i1967# step 5 changes. 2004/01/13 13:38:05 er 1.2.302.1: #i1967# SCCOL,SCROW,SCTAB replace USHORT; SCsCOL,SCsROW,SCsTAB replace short
2002-11-27#90279# performance: AreaBroadcast() methods take one hint instead of ↵Eike Rathke1-6/+7
multiple arguments; add AreaBroadcastInRange()
2000-09-18initial importJens-Heiner Rechtien1-0/+197